diff options
Diffstat (limited to 'projects/sample/autoconf/m4/config_makefile.m4')
-rw-r--r-- | projects/sample/autoconf/m4/config_makefile.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/projects/sample/autoconf/m4/config_makefile.m4 b/projects/sample/autoconf/m4/config_makefile.m4 new file mode 100644 index 0000000000..d9bfcb8528 --- /dev/null +++ b/projects/sample/autoconf/m4/config_makefile.m4 @@ -0,0 +1,9 @@ +# +# 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, + [${srcdir}/autoconf/mkinstalldirs `dirname $1` + ${SHELL} ${srcdir}/autoconf/install-sh -m 0644 -c ${srcdir}/$1 $1]) +]) |