mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Make sure to default ${prefix} to /usr/local if the user didn't specify it.
This assists with getting around configure's late binding values so that our LLVM variables don't end up with a "NONE" prefix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28325 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
069287d460
commit
0582887de4
@ -632,6 +632,9 @@ AC_SUBST(SHLIBEXT,$libltdl_cv_shlibext)
|
||||
# Translate the various configuration directories and other basic
|
||||
# information into substitutions that will end up in Makefile.config.in
|
||||
# that these configured values can be used by the makefiles
|
||||
if test "${prefix}" == "NONE" ; then
|
||||
prefix="/usr/local"
|
||||
fi
|
||||
eval LLVM_PREFIX="${prefix}";
|
||||
eval LLVM_BINDIR="${prefix}/bin";
|
||||
eval LLVM_LIBDIR="${prefix}/lib";
|
||||
|
3
configure
vendored
3
configure
vendored
@ -30739,6 +30739,9 @@ SHLIBEXT=$libltdl_cv_shlibext
|
||||
# Translate the various configuration directories and other basic
|
||||
# information into substitutions that will end up in Makefile.config.in
|
||||
# that these configured values can be used by the makefiles
|
||||
if test "${prefix}" == "NONE" ; then
|
||||
prefix="/usr/local"
|
||||
fi
|
||||
eval LLVM_PREFIX="${prefix}";
|
||||
eval LLVM_BINDIR="${prefix}/bin";
|
||||
eval LLVM_LIBDIR="${prefix}/lib";
|
||||
|
Loading…
Reference in New Issue
Block a user