llvm.org GIT mirror llvm / 9993a3a projects / sample / autoconf / m4 / config_makefile.m4
9993a3a

Tree @9993a3a (Download .tar.gz)

config_makefile.m4 @9993a3araw · history · blame

1
2
3
4
5
6
7
8
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])
])