diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-04 16:00:09 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-04 16:00:09 +0000 |
commit | f50e7e4849f6b8fdf261c3ebafd017e650ff0fc1 (patch) | |
tree | 3cd0aee41b4eee4440bfda88608c70632a9980ca /acinclude.m4 | |
parent | fix indent (diff) | |
download | w3m-f50e7e4849f6b8fdf261c3ebafd017e650ff0fc1.tar.gz w3m-f50e7e4849f6b8fdf261c3ebafd017e650ff0fc1.zip |
[w3m-dev 03838] W3M_LIBS splitted from LIBS
* Makefile.in (W3M_LIBS): added
* acinclude.m4 (AC_W3M_TERMLIB): use W3M_LIB
(AC_W3M_SSL): ditto
* configure.in (W3M_LIBS): added
From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 56d9700..661eaf3 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -336,7 +336,7 @@ AC_ARG_WITH(termlib, AC_MSG_RESULT($with_termlib) test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap ncurses curses" for lib in $with_termlib; do - AC_CHECK_LIB($lib, tgetent, [LIBS="$LIBS -l$lib"; break]) + AC_CHECK_LIB($lib, tgetent, [W3M_LIBS="$W3M_LIBS -l$lib"; break]) done ]) # @@ -420,11 +420,11 @@ if test x"$with_ssl" != xno; then CFLAGS="$CFLAGS -I$dir/include" fi if test "$dir" != "/usr" -a -f "$dir/lib/libssl.a"; then - LIBS="$LIBS -L$dir/lib" + W3M_LIBS="$W3M_LIBS -L$dir/lib" fi done AC_CHECK_LIB(ssl, SSL_new, - [w3m_ssl="found"; LIBS="$LIBS -lssl -lcrypto"], + [w3m_ssl="found"; W3M_LIBS="$W3M_LIBS -lssl -lcrypto"], [w3m_ssl="not found"], [-lcrypto]) @@ -634,11 +634,11 @@ if test x"$enable_ipv6" = xyes; then do if test -f $dir/libinet6.a; then if test $dir != "/usr/lib"; then - LIBS="$LIBS -L$dir" + W3M_LIBS="$W3M_LIBS -L$dir" fi AC_CHECK_LIB(inet6, getaddrinfo, [enable_ipv6="yes"; AC_DEFINE(INET6) - use_libinet6="found"; LIBS="$LIBS -linet6"; break], + use_libinet6="found"; W3M_LIBS="$W3M_LIBS -linet6"; break], [use_libinet6="not found"]) fi done |