aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/ChangeLog1
-rw-r--r--macros/gnome-ghttp-check.m44
2 files changed, 4 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index ba58d65023..57d72ed412 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -2,6 +2,7 @@
* gnome-ghttp-check.m4: Umm...I think this works better. Doesn't
break anything anyway.
+ Oooo...it actually works now. Forgot a ,
1998-08-26 Martin Baulig <martin@home-of-linux.org>
diff --git a/macros/gnome-ghttp-check.m4 b/macros/gnome-ghttp-check.m4
index 2cf1efbf19..230c20a1bf 100644
--- a/macros/gnome-ghttp-check.m4
+++ b/macros/gnome-ghttp-check.m4
@@ -1,6 +1,8 @@
AC_DEFUN([GNOME_GHTTP_CHECK],[
GHTTP_LIB=""
- AC_CHECK_LIB(ghttp, ghttp_request_new, [GHTTP_LIB="-lghttp"])
+ AC_REQUIRE([GNOME_INIT_HOOK])
+ AC_CHECK_LIB(ghttp, ghttp_request_new, GHTTP_LIB="-lghttp",
+ ,-L$gnome_prefix)
AC_SUBST(GHTTP_LIB)
AC_PROVIDE([GNOME_GHTTP_CHECK])
])