diff options
author | wchang0222%aol.com <devnull@localhost> | 2004-01-29 22:38:48 +0000 |
---|---|---|
committer | wchang0222%aol.com <devnull@localhost> | 2004-01-29 22:38:48 +0000 |
commit | 1206cb2d4a5e52a38eb5240b30da7dfea47ffe90 (patch) | |
tree | 184b2efd1dc417287aa6e07cf925c7ada952523b | |
parent | 74e1268394b7a504185a16bde4eb35e3539ea2d1 (diff) | |
download | nspr-hg-1206cb2d4a5e52a38eb5240b30da7dfea47ffe90.tar.gz |
Bugzilla bug 231504: made --disable-strip work. r=bryner.
-rwxr-xr-x | configure | 18 | ||||
-rw-r--r-- | configure.in | 6 |
2 files changed, 14 insertions, 10 deletions
@@ -4922,7 +4922,9 @@ done # Check whether --enable-strip or --disable-strip was given. if test "${enable_strip+set}" = set; then enableval="$enable_strip" - ENABLE_STRIP=1 + if test "$enableval" = "yes"; then + ENABLE_STRIP=1 + fi fi @@ -4931,7 +4933,7 @@ hpux*) if test -z "$GNU_CC"; then echo $ac_n "checking for +Olit support""... $ac_c" 1>&6 -echo "configure:4935: checking for +Olit support" >&5 +echo "configure:4937: checking for +Olit support" >&5 if eval "test \"`echo '$''{'ac_cv_hpux_usable_olit_option'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4965,7 +4967,7 @@ esac echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6 -echo "configure:4969: checking for pthread_create in -lpthreads" >&5 +echo "configure:4971: checking for pthread_create in -lpthreads" >&5 echo " #include <pthread.h> void *foo(void *v) { return v; } @@ -4987,7 +4989,7 @@ echo " echo "$ac_t""no" 1>&6 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 -echo "configure:4991: checking for pthread_create in -lpthread" >&5 +echo "configure:4993: checking for pthread_create in -lpthread" >&5 echo " #include <pthread.h> void *foo(void *v) { return v; } @@ -5009,7 +5011,7 @@ echo " echo "$ac_t""no" 1>&6 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6 -echo "configure:5013: checking for pthread_create in -lc_r" >&5 +echo "configure:5015: checking for pthread_create in -lc_r" >&5 echo " #include <pthread.h> void *foo(void *v) { return v; } @@ -5031,7 +5033,7 @@ echo " echo "$ac_t""no" 1>&6 echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6 -echo "configure:5035: checking for pthread_create in -lc" >&5 +echo "configure:5037: checking for pthread_create in -lc" >&5 echo " #include <pthread.h> void *foo(void *v) { return v; } @@ -5183,7 +5185,7 @@ if test -n "$USE_PTHREADS"; then rm -f conftest* ac_cv_have_dash_pthread=no echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6 -echo "configure:5187: checking whether ${CC-cc} accepts -pthread" >&5 +echo "configure:5189: checking whether ${CC-cc} accepts -pthread" >&5 echo 'int main() { return 0; }' | cat > conftest.c ${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1 if test $? -eq 0; then @@ -5206,7 +5208,7 @@ echo "configure:5187: checking whether ${CC-cc} accepts -pthread" >&5 ac_cv_have_dash_pthreads=no if test "$ac_cv_have_dash_pthread" = "no"; then echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6 -echo "configure:5210: checking whether ${CC-cc} accepts -pthreads" >&5 +echo "configure:5212: checking whether ${CC-cc} accepts -pthreads" >&5 echo 'int main() { return 0; }' | cat > conftest.c ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1 if test $? -eq 0; then diff --git a/configure.in b/configure.in index 30e22dfe..bcb47e8e 100644 --- a/configure.in +++ b/configure.in @@ -1963,8 +1963,10 @@ dnl = Enable stripping of libs and executables dnl = dnl ======================================================== AC_ARG_ENABLE(strip, -[ --enable-strip Enable stripping of shared libs and programs], - [ ENABLE_STRIP=1 ]) + [ --enable-strip Enable stripping of shared libs and programs], + [ if test "$enableval" = "yes"; then + ENABLE_STRIP=1 + fi ]) dnl Check for hpux options case "${target_os}" in |