summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Blizzard <blizzard@src.gnome.org>1998-08-23 21:05:13 +0000
committerChristopher Blizzard <blizzard@src.gnome.org>1998-08-23 21:05:13 +0000
commit7db8b1395d9709b6e1c0fe38a06b00bdd5196f30 (patch)
treece8fd3c1d80afdbef557a91c826e9f04e97d9bc1
parentac3fbeaf3c8eecea5d3a2795bad83e531e7b73f0 (diff)
downloadgnome-common-7db8b1395d9709b6e1c0fe38a06b00bdd5196f30.tar.gz
macro for checking for gnome-http
* macro for checking for gnome-http svn path=/trunk/; revision=346
-rw-r--r--macros/gnome-ghttp-check.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/gnome-ghttp-check.m4 b/macros/gnome-ghttp-check.m4
new file mode 100644
index 0000000..ac32aca
--- /dev/null
+++ b/macros/gnome-ghttp-check.m4
@@ -0,0 +1,6 @@
+AC_DEFUN([GNOME_GHTTP_CHECK],[
+ GHTTP_LIB=""
+ AC_CHECK_LIB(ghttp, ghttp_request_new, GHTTP_LIB="-lghttp")
+ AC_SUBST(GHTTP_LIB)
+ AC_PROVIDE([GNOME_GHTTP_CHECK])
+])