[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>
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -1,3 +1,11 @@
|
||||
2003-04-05 ABE Yuji <cbo46560@pop12.odn.ne.jp>
|
||||
|
||||
* [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
|
||||
|
||||
2003-04-04 Hiroyuki Ito <hito@crl.go.jp>
|
||||
|
||||
* [w3m-dev 03837] Re: gif animation with no delay_time
|
||||
@@ -7637,4 +7645,4 @@ a * [w3m-dev 03276] compile error on EWS4800
|
||||
* release-0-2-1
|
||||
* import w3m-0.2.1
|
||||
|
||||
$Id: ChangeLog,v 1.809 2003/04/03 16:35:42 ukai Exp $
|
||||
$Id: ChangeLog,v 1.810 2003/04/04 16:00:09 ukai Exp $
|
||||
|
@@ -36,6 +36,7 @@ DEFS = @DEFS@ -I. -I$(top_srcdir) -DAUXBIN_DIR=\"$(AUXBIN_DIR)\" \
|
||||
-DETC_DIR=\"$(sysconfdir)\" -DRC_DIR=\"$(RC_DIR)\"
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = -L. -lindep @LIBS@
|
||||
W3M_LIBS = @W3M_LIBS@
|
||||
|
||||
MAKE_ARGS = PERL='$(PERL)' MKDIR='$(MKDIR)' INSTALL='$(INSTALL)' \
|
||||
BIN_DIR='$(bindir)' AUXBIN_DIR='$(AUXBIN_DIR)' \
|
||||
@@ -107,7 +108,7 @@ SUBDIRS = $(SCRIPTSUBDIRS)
|
||||
all: $(TARGETS) all-scripts
|
||||
|
||||
$(TARGET): $(ALLOBJS) $(ALIB)
|
||||
$(CC) $(CFLAGS) -o $(TARGET) $(ALLOBJS) $(LDFLAGS) $(LIBS)
|
||||
$(CC) $(CFLAGS) -o $(TARGET) $(ALLOBJS) $(LDFLAGS) $(LIBS) $(W3M_LIBS)
|
||||
|
||||
$(ALIB): $(ALIBOBJS)
|
||||
$(AR) rv $(ALIB) $(ALIBOBJS)
|
||||
|
10
acinclude.m4
10
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
|
||||
|
10
aclocal.m4
vendored
10
aclocal.m4
vendored
@@ -348,7 +348,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
|
||||
])
|
||||
#
|
||||
@@ -432,11 +432,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])
|
||||
|
||||
@@ -646,11 +646,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
|
||||
|
@@ -21,6 +21,7 @@ AC_EXEEXT
|
||||
AC_SUBST(EXEEXT)
|
||||
|
||||
AC_SUBST(W3M_TARGET)
|
||||
AC_SUBST(W3M_LIBS)
|
||||
W3M_TARGET=$target
|
||||
AC_DEFINE_UNQUOTED(W3M_TARGET, $W3M_TARGET)
|
||||
|
||||
@@ -63,7 +64,7 @@ AC_CHECK_FUNC(sqrt,,[AC_CHECK_LIB(m, sqrt)])
|
||||
if test x"$enable_mouse" = xyes; then
|
||||
AC_SUBST(USE_W3M)
|
||||
AC_CHECK_LIB(gpm, Gpm_Open, [AC_DEFINE(USE_GPM)
|
||||
LIBS="$LIBS -lgpm"])
|
||||
W3M_LIBS="$W3M_LIBS -lgpm"])
|
||||
AC_SUBST(USE_SYSMOUSE)
|
||||
AC_TRY_CPP([#include <machine/console.h>
|
||||
MOUSE_GETINFO], [AC_DEFINE(USE_SYSMOUSE)])
|
||||
|
Reference in New Issue
Block a user