summaryrefslogtreecommitdiff
path: root/autoconf/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf/aclocal.m4')
-rw-r--r--autoconf/aclocal.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4
index f25fea8e7e..c708300254 100644
--- a/autoconf/aclocal.m4
+++ b/autoconf/aclocal.m4
@@ -6156,3 +6156,14 @@ if test "$ac_cv_header_mmap_anon" = yes; then
fi
])
+#
+# Configure a Makefile without clobbering it if it exists and is not out of
+# date. This is modified from:
+# http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_have_ext_slist.html
+#[AC_CONFIG_COMMANDS($1,${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/$1 $1)
+#
+AC_DEFUN([AC_CONFIG_MAKEFILE],
+[AC_CONFIG_COMMANDS($1,${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/$1 $1,${srcdir}/autoconf/mkinstalldirs `dirname $1`)
+])
+
+