summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-08-21 23:52:38 +0000
committerMartin Baulig <martin@src.gnome.org>1998-08-21 23:52:38 +0000
commit55f8d2bb895e8f09478ffe7567dce27c4ecadf72 (patch)
treea1ab620d69946ac26bd3cb43cbc57e6e71e913cf
parent356f1eb9a590caae4af0cd40c11c0e66cb939108 (diff)
downloadgnome-common-55f8d2bb895e8f09478ffe7567dce27c4ecadf72.tar.gz
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=342
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-guile-checks.m42
2 files changed, 7 insertions, 0 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 789dec8..5cdeb0c 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -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
diff --git a/macros/gnome-guile-checks.m4 b/macros/gnome-guile-checks.m4
index d62c9f5..3414e6a 100644
--- a/macros/gnome-guile-checks.m4
+++ b/macros/gnome-guile-checks.m4
@@ -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