Checkin of autoconf-style object root.
[oota-llvm.git] / autoconf / aclocal.m4
index f25fea8e7e0dfd60996d8d24f928079f044e1002..c70830025438d5e13fe402c03ad387e9e1a1bcd7 100644 (file)
@@ -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`)
+])
+
+