diff options
-rw-r--r-- | macros/gnome-ghttp-check.m4 | 6 |
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 0000000000..ac32acaf56 --- /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]) +]) |