aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
new file mode 100644
index 0000000..0a2a0fc
--- /dev/null
+++ b/aclocal.m4
@@ -0,0 +1,17 @@
+dnl $Id$
+
+dnl --------------------------------------------------------------------------
+dnl AF_PATH_INCLUDE:
+dnl
+dnl Like AC_PATH_PROGS, but add to the .h file as well
+dnl --------------------------------------------------------------------------
+AC_DEFUN(AF_PATH_INCLUDE,
+[AC_PATH_PROGS($1,$2)
+if test -n "$$1"; then
+ AC_DEFINE(HAVE_$1)
+ AC_DEFINE_UNQUOTED(PATH_$1, "$$1")
+ HAVE_$1=1
+else
+ HAVE_$1=0
+fi
+AC_SUBST(HAVE_$1)])