Skip to content
Snippets Groups Projects
Commit 2e77c2aa authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Don't use the $(wildcard ...) GNU extension

parent b8ebfeeb
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ demo-tarball: $(DEMO).tar.gz
$(DEMO).tar.gz: $(DEMO)
$(TAR_PROGRAM) cf - $(DEMO) | $(GZIP_PROGRAM) -9 > $@
demo: $(wildcard $(srcdir)/demo/src/Common/*.[ch]) $(top_builddir)/config.status
demo: @DEMOSOURCES@ $(top_builddir)/config.status
echo $?
@case '$?' in \
*config.status*) \
......
......@@ -43,6 +43,10 @@ AC_CONFIG_COMMANDS([demo],
find demo -exec chmod u+rwX \{\} \;
fi])
# Collect the demo programs
DEMOSOURCES=`find ${srcdir}/demo/src -name "*.\[ch\]"`
AC_SUBST(DEMOSOURCES)
#
# A special command that checks whether alberta_util_inlines.h exists
# and is identical to alberta_util_inlines.h.in. Then do nothing. If
......@@ -66,7 +70,7 @@ fi])
# ALBERT_DIMENSION_ENABLE/DISABLE() macros
#
AM_INIT_AUTOMAKE([1.7 dist-bzip2])
AM_INIT_AUTOMAKE([1.10 dist-bzip2])
AM_CONFIG_HEADER([config.h])
# change the installation directory. This could surely be done more elegantly...
......@@ -544,7 +548,6 @@ if test "z${EXPERIMENTAL}" = "z1"; then
AC_MSG_RESULT([])
fi
#
# flush everything to disk
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment