blob: e953a1aeeeefa049bb7bd9aefd8a1a5949e30273 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
https://bugs.gentoo.org/473970
already sent upstream
patch by Jungshik Shin
--- ragel-6.7/configure.in
+++ ragel-6.7/configure.in
@@ -27,9 +27,9 @@
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
|