Bugzilla bug 231504: made --disable-strip work. r=bryner.

This commit is contained in:
wchang0222%aol.com 2004-01-29 22:41:50 +00:00
Родитель 825b0d7eae
Коммит 674d0a62b5
2 изменённых файлов: 14 добавлений и 10 удалений

16
nsprpub/configure поставляемый
Просмотреть файл

@ -4922,8 +4922,10 @@ done
# Check whether --enable-strip or --disable-strip was given.
if test "${enable_strip+set}" = set; then
enableval="$enable_strip"
if test "$enableval" = "yes"; then
ENABLE_STRIP=1
fi
fi
case "${target_os}" in
@ -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

Просмотреть файл

@ -1964,7 +1964,9 @@ dnl =
dnl ========================================================
AC_ARG_ENABLE(strip,
[ --enable-strip Enable stripping of shared libs and programs],
[ ENABLE_STRIP=1 ])
[ if test "$enableval" = "yes"; then
ENABLE_STRIP=1
fi ])
dnl Check for hpux options
case "${target_os}" in