]> granicus.if.org Git - flex/commitdiff
When we use AC_PATH_PROG, value-if-not-found is the name of the
authorWill Estes <wlestes@users.sourceforge.net>
Tue, 22 Oct 2002 12:32:31 +0000 (12:32 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Tue, 22 Oct 2002 12:32:31 +0000 (12:32 +0000)
program we wanted to find; this will generate more helpful error messages

configure.in

index a9aca3ea074697178da62f79c28dcbb4dca593cc..7d29cc019bf72f080a6712766e875d08d27181ce 100644 (file)
@@ -42,11 +42,12 @@ AC_PROG_CXX
 AC_PROG_LN_S
 AC_PROG_RANLIB
 
-AC_PATH_PROG(BISON, bison, $srcdir/missing)
-AC_PATH_PROG(HELP2MAN, help2man, $srcdir/missing)
-AC_PATH_PROG(M4, m4, $srcdir/missing)
-AC_PATH_PROG(INDENT, indent, $srcdir/missing)
-if test "$INDENT" != $srcdir/missing ; then
+AC_PATH_PROG(BISON, bison,bison)
+AC_PATH_PROG(HELP2MAN, help2man, help2man)
+AC_PATH_PROG(M4, m4, m4)
+AC_PATH_PROG(INDENT, indent, indent)
+dnl if INDENT is set to 'indent' then we didn't find indent
+if test "$INDENT" != indent ; then
    AC_MSG_CHECKING(if $INDENT is GNU indent)
    if $INDENT --version 2>/dev/null | head -1|grep "GNU indent" > /dev/null ; then
       AC_MSG_RESULT(yes)