aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlukka <lukka@src.gnome.org>1999-06-11 15:42:06 +0800
committerlukka <lukka@src.gnome.org>1999-06-11 15:42:06 +0800
commitd66280f75ef1c4f45e03e3b0409e86cfc85d682b (patch)
treecf0e770df898662d4a0c73d3898dd92b22be576c
parent74bdf9af06c0b143ca48ca46cc0115cfccaa175c (diff)
downloadgsoc2013-evolution-d66280f75ef1c4f45e03e3b0409e86cfc85d682b.tar
gsoc2013-evolution-d66280f75ef1c4f45e03e3b0409e86cfc85d682b.tar.gz
gsoc2013-evolution-d66280f75ef1c4f45e03e3b0409e86cfc85d682b.tar.bz2
gsoc2013-evolution-d66280f75ef1c4f45e03e3b0409e86cfc85d682b.tar.lz
gsoc2013-evolution-d66280f75ef1c4f45e03e3b0409e86cfc85d682b.tar.xz
gsoc2013-evolution-d66280f75ef1c4f45e03e3b0409e86cfc85d682b.tar.zst
gsoc2013-evolution-d66280f75ef1c4f45e03e3b0409e86cfc85d682b.zip
Make -lqthreads be detected by qt_null, not main - now works on Debian
svn path=/trunk/; revision=973
-rw-r--r--macros/ChangeLog6
-rw-r--r--macros/gnome-guile-checks.m44
2 files changed, 8 insertions, 2 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 8f978ebc58..38150d5ccf 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,9 @@
+1999-06-11 Tuomas J. Lukka <lukka@iki.fi>
+
+ * gnome-guile-checks.m4: Debian has qt_null in -lqthreads but
+ no main. Changed both checks for 'main' to qt_null.
+ I hope this is correct - it shouldn't break anything.
+
1999-05-11 Raja R Harinath <harinath@cs.umn.edu>
* Makefile.am (MACROS): Add `gnome-bonobo-check.m4'.
diff --git a/macros/gnome-guile-checks.m4 b/macros/gnome-guile-checks.m4
index f858f65e5e..1086d30a4e 100644
--- a/macros/gnome-guile-checks.m4
+++ b/macros/gnome-guile-checks.m4
@@ -10,7 +10,7 @@ AC_DEFUN([GNOME_CHECK_GUILE],
saved_cppflags="$CPPFLAGS"
LDFLAGS="$LDFLAGS $GNOME_LIBDIR"
- AC_CHECK_LIB(qthreads,main,[
+ AC_CHECK_LIB(qthreads,qt_null,[
QTTHREADS_LIB="-lqthreads"
],[
AC_CHECK_LIB(qt, qt_null, QTTHREADS_LIB="-lqt")
@@ -71,7 +71,7 @@ AC_DEFUN([GNOME_CHECK_GUILE],
GUILE_LIBS="$GNOME_LIBDIR"
GUILE_INCS="$GNOME_INCLUDEDIR"
AC_CHECK_LIB(rx, main, GUILE_LIBS="-lrx $GUILE_LIBS")
- AC_CHECK_LIB(qt, main, GUILE_LIBS="-lqt $GUILE_LIBS")
+ AC_CHECK_LIB(qt, qt_null, 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")