X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=autoconf%2Faclocal.m4;h=c70830025438d5e13fe402c03ad387e9e1a1bcd7;hb=2d53308447bdb3da94547109bc1403e7a3c815c4;hp=f25fea8e7e0dfd60996d8d24f928079f044e1002;hpb=7f33695eac684bac5e925cf2039c8f9b001ceb7f;p=oota-llvm.git diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4 index f25fea8e7e0..c7083002543 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`) +]) + +