Added check for -lnsl' and -lsocket' if `build-guile' cannot be found.

1998-08-22  Martin Baulig  <martin@home-of-linux.org>

	* gnome-guile-checks.m4: Added check for `-lnsl' and `-lsocket'
	if `build-guile' cannot be found.

svn path=/trunk/; revision=329
This commit is contained in:
Martin Baulig
1998-08-21 23:52:38 +00:00
committed by Martin Baulig
parent 2e0a88042f
commit ea96ac1a82
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1998-08-22 Martin Baulig <martin@home-of-linux.org>
* gnome-guile-checks.m4: Added check for `-lnsl' and `-lsocket'
if `build-guile' cannot be found.
1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
* compiler-flags.m4: New file. Defines the

View File

@ -55,6 +55,8 @@ AC_DEFUN([GNOME_CHECK_GUILE],
AC_CHECK_LIB(rx, main, GUILE_LIBS="-lrx $GUILE_LIBS")
AC_CHECK_LIB(qt, main, GUILE_LIBS="-lqt $GUILE_LIBS")
AC_CHECK_LIB(dl, dlopen, GUILE_LIBS="-ldl $GUILE_LIBS")
AC_CHECK_LIB(nsl, t_accept, GUILE_LIBS="$GUILE_LIBS -lnsl")
AC_CHECK_LIB(socket, socket, GUILE_LIBS="$GUILE_LIBS -lsocket")
GUILE_LIBS="-lguile $GUILE_LIBS $QTTHREADS_LIB $READLINE_LIB $TERMCAP_LIB"
fi