diff options
-rw-r--r-- | configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 4ef153d5..cb075f2b 100644 --- a/configure.in +++ b/configure.in @@ -27,9 +27,9 @@ AC_CONFIG_HEADER(ragel/config.h) dnl Choose defaults for the build_parsers and build_manual vars. If the dist dnl file is present in the root then default to no, otherwise go for it. -AC_CHECK_FILES( $srcdir/DIST, - [ . $srcdir/DIST; ], - [ build_parsers=yes; build_manual=yes; ] ) + +AS_IF([test -r $srcdir/DIST], [. $srcdir/DIST], [build_parsers=yes; + build_manual=yes]) dnl dnl Enable arg to explicitly control the building of the manual |