diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-09-07 06:56:14 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-09-07 06:56:14 +0000 |
commit | 491f6812ef173989612d987fa8706fd38e2e673f (patch) | |
tree | 0ba6404a9be355d9bbd5e526efe32e3b0bc29afa /autoconf/m4/config_makefile.m4 | |
parent | 10c0a2e7f955cbe6cc8c842e6d8aebc10ac91f4c (diff) | |
download | llvm-491f6812ef173989612d987fa8706fd38e2e673f.tar.gz llvm-491f6812ef173989612d987fa8706fd38e2e673f.tar.bz2 llvm-491f6812ef173989612d987fa8706fd38e2e673f.tar.xz |
Individual autoconf function broken out of acincludes.m4. This change
per the recommended style guide for autoconf and so that individual
autoconf functions can more easily be shared across projects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/m4/config_makefile.m4')
-rw-r--r-- | autoconf/m4/config_makefile.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/autoconf/m4/config_makefile.m4 b/autoconf/m4/config_makefile.m4 new file mode 100644 index 0000000000..e30f187620 --- /dev/null +++ b/autoconf/m4/config_makefile.m4 @@ -0,0 +1,7 @@ +# +# Configure a Makefile without clobbering it if it exists and is not out of +# date. This macro is unique to LLVM. +# +AC_DEFUN([AC_CONFIG_MAKEFILE], +[AC_CONFIG_COMMANDS($1,${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/$1 $1,${srcdir}/autoconf/mkinstalldirs `dirname $1`) +]) |