aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-02-03 06:23:37 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-02-03 06:23:37 +0000
commit00c93900ffe3e94649032d69a3e5cf0d30bfce04 (patch)
tree0d8769097a042df08456230abafd2462ebc09d6d /configure
parent[w3m-dev 02964] Print data of forms when halfdump option is set (diff)
downloadw3m-00c93900ffe3e94649032d69a3e5cf0d30bfce04.tar.gz
w3m-00c93900ffe3e94649032d69a3e5cf0d30bfce04.zip
[w3m-dev 02970] multiple -lnsl -lsocket
* configure: merge bsdlib and extlib detection, use extlib only add ldflags to extlib (SYS_LIBRARIES): remove extlib (LOCAL_LIBRARIES): exlib only From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rwxr-xr-xconfigure20
1 files changed, 4 insertions, 16 deletions
diff --git a/configure b/configure
index 3276eab..31bafb2 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.59 2002/01/31 17:54:49 ukai Exp $
+# $Id: configure,v 1.60 2002/02/03 06:23:37 ukai Exp $
# Configuration.
#
@@ -946,19 +946,6 @@ do
for tlibdir in /lib /usr/lib /usr/local/lib /usr/ucblib /usr/ccslib /usr/ccs/lib $prefix/lib
do
if [ -f $tlibdir/lib$lib.a -o -f $tlibdir/lib$lib.$so_ext ] ; then
- bsdlib="$bsdlib -l$lib"
- break
- fi
- done
-done
-extlib=''
-
-searchlibs="socket nsl"
-for lib in $searchlibs
-do
- for tlibdir in /lib /usr/lib /usr/local/lib /usr/ucblib /usr/ccslib /usr/ccs/lib $prefix/lib
- do
- if [ -f $tlibdir/lib$lib.a -o -f $tlibdir/lib$lib.$so_ext ] ; then
extlib="$extlib -l$lib"
break
fi
@@ -970,6 +957,7 @@ fi
if [ -n "$extlib" ]; then
echo "additional library found: $extlib"
fi
+extlib="$extlib $ldflags"
## Search zlib
zlib=
@@ -2042,8 +2030,8 @@ LIB_DIR = $libdir
ETC_DIR = $sysconfdir
RC_DIR = ~/.w3m
HELP_FILE = $helpfile
-SYS_LIBRARIES = $gpmlib $extlib $termlib $ssllib $v6lib
-LOCAL_LIBRARIES = $bsdlib $ldflags
+SYS_LIBRARIES = $gpmlib $termlib $ssllib $v6lib
+LOCAL_LIBRARIES = $extlib
CC = $cc
MYCFLAGS = $cflags $bsdinclude $sslinclude
GCCFLAGS = $cflags -I./\$(srcdir)/include -DATOMIC_UNCOLLECTABLE -DNO_SIGNALS -DNO_EXECUTE_PERMISSION -DSILENT -DALL_INTERIOR_POINTERS