aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-02-12 08:52:57 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-02-12 08:52:57 +0000
commit63edcab4158da6e75cf77d5fe21639115e41bfd6 (patch)
tree41da29598402d2db24e253b5faf6da03e870b842 /configure
parent* [w3m-dev 03036] (diff)
downloadw3m-63edcab4158da6e75cf77d5fe21639115e41bfd6.tar.gz
w3m-63edcab4158da6e75cf77d5fe21639115e41bfd6.zip
* [w3m-dev 03038] LDFLAGS
* XMakefile: refer to LDFLAGS when linking * configure: add -ldflags=* From: Katsumi Yamaoka <yamaoka@jpl.org>
Diffstat (limited to '')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 52a7b3d..61bc2fb 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.61 2002/02/04 15:18:41 ukai Exp $
+# $Id: configure,v 1.62 2002/02/12 08:52:58 ukai Exp $
# Configuration.
#
@@ -97,6 +97,9 @@ do
-cflags=*|--cflags=*)
dcflags=`echo $1 | sed -e 's/-*cflags=//'`
;;
+ -ldflags=*|--ldflags=*)
+ dldflags=`echo $1 | sed -e 's/-*ldflags=//'`
+ ;;
--ssl-includedir=*)
ssl_includedir=`expr "$1" : "--ssl-includedir=\(.*\)"`
;;
@@ -126,6 +129,7 @@ do
echo "-code=(S|E|j|N|n|m)"
echo " Specify default kanji code"
echo "-cflags=FLAGS Specify C flags"
+ echo "-ldflags=FLAGS Specify LD flags"
echo "--ssl-includedir=DIR specify OpenSSL include dir"
echo "--ssl-libdir=DIR specify OpenSSL lib dir"
echo "--gc-includedir=DIR specify Boehm-GC include dir"
@@ -2071,6 +2075,7 @@ SYS_LIBRARIES = $gpmlib $termlib $ssllib $v6lib
LOCAL_LIBRARIES = $extlib
CC = $cc
MYCFLAGS = $cflags $bsdinclude $sslinclude
+LDFLAGS = $ldflags
GCCFLAGS = $cflags -I./\$(srcdir)/include -DATOMIC_UNCOLLECTABLE -DNO_SIGNALS -DNO_EXECUTE_PERMISSION -DSILENT -DALL_INTERIOR_POINTERS
KEYBIND_SRC = $keymap_file.c
KEYBIND_OBJ = $keymap_file.o