configure: clean unused _FOR_BUILD variables
Change-Id: Ie236bbe4122fa5686a8d4c6050b5e14f354a5bb3
This commit is contained in:
26
configure.ac
26
configure.ac
@@ -4065,10 +4065,9 @@ if test "$cross_compiling" = "yes"; then
|
||||
cp config.log ../config.Build.log
|
||||
mkdir -p ../config_build
|
||||
cp config_host/*.h ../config_build
|
||||
. ./bin/get_config_variables COM GUI OS PATH CPU CPUNAME CC CXX MACOSX_DEPLOYMENT_TARGET INPATH OUTPATH SYSTEM_LIBXSLT OUTDIR WORKDIR
|
||||
. ./bin/get_config_variables OS PATH CC CXX INPATH SYSTEM_LIBXSLT OUTDIR WORKDIR
|
||||
|
||||
for V in COM GUI OS CPU CPUNAME CC CXX MACOSX_DEPLOYMENT_TARGET INPATH OUTPATH \
|
||||
SYSTEM_LIBXSLT; do
|
||||
for V in OS CC CXX INPATH SYSTEM_LIBXSLT; do
|
||||
VV='$'$V
|
||||
VV=`eval "echo $VV"`
|
||||
if test -n "$VV"; then
|
||||
@@ -4098,32 +4097,17 @@ if test "$cross_compiling" = "yes"; then
|
||||
AC_MSG_RESULT([checking for BUILD platform configuration... done])
|
||||
rm -rf CONF-FOR-BUILD
|
||||
else
|
||||
CC_FOR_BUILD="$CC"
|
||||
CXX_FOR_BUILD="$CXX"
|
||||
CC_FOR_BUILD="$CC"
|
||||
COM_FOR_BUILD="$COM"
|
||||
CPUNAME_FOR_BUILD="$CPUNAME"
|
||||
CPU_FOR_BUILD="$CPU"
|
||||
CXX_FOR_BUILD="$CXX"
|
||||
GUI_FOR_BUILD="$GUI"
|
||||
INPATH_FOR_BUILD="$INPATH"
|
||||
MACOSX_DEPLOYMENT_TARGET_FOR_BUILD="$MACOSX_DEPLOYMENT_TARGET"
|
||||
OS_FOR_BUILD="$OS"
|
||||
CC_FOR_BUILD="$CC"
|
||||
CXX_FOR_BUILD="$CXX"
|
||||
INPATH_FOR_BUILD="$INPATH"
|
||||
OUTDIR_FOR_BUILD="$OUTDIR"
|
||||
OUTPATH_FOR_BUILD="$OUTPATH"
|
||||
WORKDIR_FOR_BUILD="$WORKDIR"
|
||||
fi
|
||||
AC_SUBST(COM_FOR_BUILD)
|
||||
AC_SUBST(GUI_FOR_BUILD)
|
||||
AC_SUBST(OS_FOR_BUILD)
|
||||
AC_SUBST(CPU_FOR_BUILD)
|
||||
AC_SUBST(CPUNAME_FOR_BUILD)
|
||||
AC_SUBST(CC_FOR_BUILD)
|
||||
AC_SUBST(CXX_FOR_BUILD)
|
||||
AC_SUBST(INPATH_FOR_BUILD)
|
||||
AC_SUBST(OUTPATH_FOR_BUILD)
|
||||
AC_SUBST(MACOSX_DEPLOYMENT_TARGET_FOR_BUILD)
|
||||
|
||||
AC_SUBST(OUTDIR_FOR_BUILD)
|
||||
AC_SUBST(WORKDIR_FOR_BUILD)
|
||||
|
||||
|
Reference in New Issue
Block a user