mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 10:27:02 +00:00
a8d9789a7a
is in ${srcdir}/autoconf because that is only true if the project is LLVM. For other projects (e.g. sample), we don't want to have to distribute the mkinstalldirs or install-sh programs because it opens a window of breakage for projects. So, this change requires that the llvm_src variable be set up via another AC_CONFIG_COMMANDS call. For LLVM this is done in the configure.ac. For projects its done in the LLVM_CONFIG_PROJECT macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20304 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
293 B
Plaintext
10 lines
293 B
Plaintext
#
|
|
# 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,
|
|
[${llvm_src}/autoconf/mkinstalldirs `dirname $1`
|
|
${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/$1 $1])
|
|
])
|