summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2000-09-18 14:35:32 +0000
committerWerner Koch <wk@gnupg.org>2000-09-18 14:35:32 +0000
commitc6b6080aabd9cbaf5dbc77e9d23536a7c2de37ed (patch)
treef1f89875d6c28d0ef37a77ea07d531dd754f5e29 /acinclude.m4
parent21d40ec6a29956238c8d9d52562d6038c3dac6bb (diff)
downloadlibgcrypt-c6b6080aabd9cbaf5dbc77e9d23536a7c2de37ed.tar.gz
See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner Koch
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m428
1 files changed, 27 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 9f8bfd01..7291c1df 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -67,6 +67,32 @@ AC_DEFUN(GNUPG_CHECK_GNUMAKE,
fi
])
+dnl GNUPG_CHECK_FAQPROG
+dnl
+AC_DEFUN(GNUPG_CHECK_FAQPROG,
+ [ AC_MSG_CHECKING(for faqprog.pl)
+ if faqprog.pl -V 2>/dev/null | grep '^faqprog.pl ' >/dev/null 2>&1; then
+ working_faqprog=yes
+ FAQPROG="faqprog.pl"
+ else
+ working_faqprog=no
+ FAQPROG=": "
+ fi
+ AC_MSG_RESULT($working_faqprog)
+ AC_SUBST(FAQPROG)
+ AM_CONDITIONAL(WORKING_FAQPROG, test "$working_faqprog" = "yes" )
+
+ if test $working_faqprog = no; then
+ AC_MSG_WARN([[
+***
+*** It seems that the faqprog.pl program is not installed.
+*** Unless you do not change the source of the FAQs it is not required.
+*** The working version of this utility should be available at:
+*** ftp://ftp.gnupg.org/pub/gcrypt/contrib/faqprog.pl
+***]])
+ fi
+ ])
+
dnl GNUPG_LINK_FILES( SRC, DEST )
@@ -358,7 +384,7 @@ define(GNUPG_CHECK_MLOCK,
#endif
], [
int i;
- mkdir ("foo", 0);
+
/* glibc defines this for functions which it implements
* to always fail with ENOSYS. Some functions are actually
* named something starting with __ and the normal name