From 986d928ce2a561b04fda7730de6a94f9b1e703d6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 18 Sep 2000 14:35:34 +0000 Subject: See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner Koch --- acinclude.m4 | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'acinclude.m4') diff --git a/acinclude.m4 b/acinclude.m4 index 9f8bfd01d..7291c1dff 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 -- cgit v1.2.3