]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Abort if perl not found
authorTom Tromey <tromey@redhat.com>
Mon, 27 Nov 1995 19:09:34 +0000 (19:09 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 27 Nov 1995 19:09:34 +0000 (19:09 +0000)
configure.in

index a3dcfb37ee17811de4a95eef086677cd132928fc..7d9a4ddc41c8b4b959ad2e9994c9befa571a145f 100644 (file)
@@ -14,9 +14,11 @@ ALL_LINGUAS=
 AC_ARG_PROGRAM
 fp_PROG_INSTALL
 
-AC_PATH_PROG(PERL, perl,
-echo "Perl not found; aborting"
-exit 1)
+AC_PATH_PROG(PERL, perl)
+if test -z "$PERL"; then
+   echo "fatal error: perl not found" 1>&2
+   exit 1
+fi
 
 dnl
 dnl NLS configuration.