summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index bc72d7d..87d8062 100644
--- a/configure.in
+++ b/configure.in
@@ -6,8 +6,6 @@ AC_INIT(vpath.c)dnl dnl A distinctive file to look for in srcdir.
AM_INIT_AUTOMAKE(make, 3.77.90)
AM_CONFIG_HEADER(config.h)
-AM_CONDITIONAL(MAINT_MAKEFILE, test -r $srcdir/maintMakefile)
-
dnl Regular configure stuff
AC_PROG_MAKE_SET
@@ -174,6 +172,15 @@ case "$make_cv_sys_gnu_glob" in
CPPFLAGS="$CPPFLAGS -I$srcdir/glob" ;;
esac
+
+MAINT_MAKEFILE=/dev/null
+if test -r $srcdir/maintMakefile; then
+ MAINT_MAKEFILE="$srcdir/maintMakefile"
+fi
+AC_SUBST_FILE(MAINT_MAKEFILE)
+
+dnl AM_CONDITIONAL(MAINT_MAKEFILE, test -r $srcdir/maintMakefile)
+
AC_OUTPUT(Makefile glob/Makefile build.sh)
case "$make_badcust" in