diff options
author | wtc%netscape.com <devnull@localhost> | 2003-08-30 00:18:18 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2003-08-30 00:18:18 +0000 |
commit | 20e7115a85d8f4f30be1001ff28a2184785dd03f (patch) | |
tree | 68c7d68e64caedcc8cbd57162f20470b161cf284 | |
parent | 8c5a942180b5c0e6d1235ac30d37822d0697dd08 (diff) | |
download | nspr-hg-20e7115a85d8f4f30be1001ff28a2184785dd03f.tar.gz |
Bugzilla bug 217501: specify the standard AIX libpath (/usr/lib:/lib) when
building NSPR libraries, otherwise the path passed to the -L linker flag
is added to the head the libpath. The patch is contributed by Philip K.
Warren <pkw@us.ibm.com>. r=wtc. a=asa for checkin to Mozilla 1.5.
Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rwxr-xr-x | configure | 8 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 5 insertions, 5 deletions
@@ -2823,7 +2823,7 @@ EOF #define SYSV 1 EOF - DSO_LDOPTS='-brtl -bM:SRE -bnoentry -bexpall' + DSO_LDOPTS='-brtl -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib' ac_safe=`echo "sys/atomic_op.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/atomic_op.h""... $ac_c" 1>&6 echo "configure:2830: checking for sys/atomic_op.h" >&5 @@ -4724,9 +4724,9 @@ if test -z "$SKIP_LIBRARY_CHECKS"; then case $target in *-darwin*) - ;; + ;; *) - echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 + echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 echo "configure:4731: checking for dlopen in -ldl" >&5 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@ -4798,7 +4798,7 @@ else echo "$ac_t""no" 1>&6 fi - ;; + ;; esac diff --git a/configure.in b/configure.in index f4cc9e0e..0411debe 100644 --- a/configure.in +++ b/configure.in @@ -697,7 +697,7 @@ case "$target" in AC_DEFINE(XP_UNIX) AC_DEFINE(AIX) AC_DEFINE(SYSV) - DSO_LDOPTS='-brtl -bM:SRE -bnoentry -bexpall' + DSO_LDOPTS='-brtl -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib' AC_CHECK_HEADER(sys/atomic_op.h, AC_DEFINE(AIX_HAVE_ATOMIC_OP_H)) case "${target_os}" in aix3.2*) |