Move check for -lresolv',
-lsocket' and `-lnsl' after X11 checks.
* configure.in: Move check for `-lresolv', `-lsocket' and `-lnsl' after X11 checks.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
1998-09-27 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
|
* configure.in: Move check for `-lresolv', `-lsocket' and `-lnsl'
|
||||||
|
after X11 checks.
|
||||||
|
|
||||||
1998-09-27 Martin Baulig <martin@home-of-linux.org>
|
1998-09-27 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
* configure.in: Do not even check for guile if it is disabled.
|
* configure.in: Do not even check for guile if it is disabled.
|
||||||
|
13
configure.in
13
configure.in
@@ -1,5 +1,5 @@
|
|||||||
dnl
|
dnl
|
||||||
Mnl Configure script for the Gnome library
|
dnl Configure script for the Gnome library
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_INIT(copyright.txt)
|
AC_INIT(copyright.txt)
|
||||||
@@ -72,11 +72,6 @@ fi
|
|||||||
GNOME_LIBGTOP_SYSDEPS
|
GNOME_LIBGTOP_SYSDEPS
|
||||||
GNOME_LIBGTOP_TYPES
|
GNOME_LIBGTOP_TYPES
|
||||||
|
|
||||||
dnl For Solaris
|
|
||||||
AC_CHECK_LIB(resolv, _getnetbyaddr)
|
|
||||||
AC_CHECK_LIB(socket, socket)
|
|
||||||
AC_CHECK_LIB(nsl, gethostbyname)
|
|
||||||
|
|
||||||
AC_ARG_WITH(libgtop-guile,
|
AC_ARG_WITH(libgtop-guile,
|
||||||
[ --with-libgtop-guile Build the libgtop guile interface (default=no)],
|
[ --with-libgtop-guile Build the libgtop guile interface (default=no)],
|
||||||
[build_guile="$withval"], [build_guile=no])
|
[build_guile="$withval"], [build_guile=no])
|
||||||
@@ -181,6 +176,12 @@ AM_GNU_GETTEXT
|
|||||||
|
|
||||||
AC_PATH_XTRA
|
AC_PATH_XTRA
|
||||||
|
|
||||||
|
dnl For Solaris
|
||||||
|
dnl Please don't move this before AC_PATH_XTRA
|
||||||
|
AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
|
||||||
|
AC_CHECK_FUNC(connect,,[AC_CHECK_LIB(socket,connect)])
|
||||||
|
AC_CHECK_FUNC(inet_aton,,[AC_CHECK_LIB(resolv,inet_aton)])
|
||||||
|
|
||||||
dnl The construct foo=`echo $w1 $w2 $w3` fails on some systems if $w1 = -e or -n
|
dnl The construct foo=`echo $w1 $w2 $w3` fails on some systems if $w1 = -e or -n
|
||||||
dnl So we use the following instead.
|
dnl So we use the following instead.
|
||||||
dnl XE_SPACE(var, words)
|
dnl XE_SPACE(var, words)
|
||||||
|
Reference in New Issue
Block a user