mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
This macro cannot assume that the location of install-sh and mkinstalldirs
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. llvm-svn: 20304
This commit is contained in:
parent
cb402c429a
commit
b48ff21894
@ -3,5 +3,7 @@
|
||||
# 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`)
|
||||
[AC_CONFIG_COMMANDS($1,
|
||||
[${llvm_src}/autoconf/mkinstalldirs `dirname $1`
|
||||
${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/$1 $1])
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user