* configure.in : Remove --srcdir argument from targargs and buildargs
(it's always overridden in the Makefile anyway). Rearrange a bit.
This commit is contained in:
parent
48d91b4a37
commit
1a2d174831
@ -1,7 +1,10 @@
|
|||||||
2002-05-13 Nathanael Nerode <neroden@twcny.rr.com>
|
2002-05-13 Nathanael Nerode <neroden@twcny.rr.com>
|
||||||
|
|
||||||
* configure: move some logic to configure.in
|
* configure.in : Remove --srcdir argument from targargs and buildargs
|
||||||
* configure.in: move some logic from configure
|
(it's always overridden in the Makefile anyway). Rearrange a bit.
|
||||||
|
|
||||||
|
* configure: Move some logic to configure.in.
|
||||||
|
* configure.in: Move some logic from configure.
|
||||||
|
|
||||||
2002-05-07 Jeff Johnston <jjohnstn@redhat.com>
|
2002-05-07 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
|
15
configure.in
15
configure.in
@ -1401,12 +1401,12 @@ if test "${shared}" = "yes" ; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Record target_configdirs and the configure arguments for target and
|
# Base args. Strip norecursion, cache-file, srcdir, host, build, target.
|
||||||
# build configuration in Makefile.
|
# These are the ones we might not want to pass down to subconfigures.
|
||||||
target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
|
baseargs=`echo "${arguments}" | \
|
||||||
targargs=`echo "${arguments}" | \
|
|
||||||
sed -e 's/--no[^ ]*//' \
|
sed -e 's/--no[^ ]*//' \
|
||||||
-e 's/--cache[a-z-]*=[^ ]*//' \
|
-e 's/--cache[a-z-]*=[^ ]*//' \
|
||||||
|
-e 's/--sr[a-z-]*=[^ ]*//' \
|
||||||
-e 's/--ho[a-z-]*=[^ ]*//' \
|
-e 's/--ho[a-z-]*=[^ ]*//' \
|
||||||
-e 's/--bu[a-z-]*=[^ ]*//' \
|
-e 's/--bu[a-z-]*=[^ ]*//' \
|
||||||
-e 's/--ta[a-z-]*=[^ ]*//'`
|
-e 's/--ta[a-z-]*=[^ ]*//'`
|
||||||
@ -1414,7 +1414,12 @@ targargs=`echo "${arguments}" | \
|
|||||||
# For the build-side libraries, we just need to pretend we're native,
|
# For the build-side libraries, we just need to pretend we're native,
|
||||||
# and not use the same cache file. Multilibs are neither needed nor
|
# and not use the same cache file. Multilibs are neither needed nor
|
||||||
# desired.
|
# desired.
|
||||||
buildargs="--cache-file=../config.cache --build=${build_alias} --host=${build_alias} ${targargs}"
|
buildargs="--cache-file=../config.cache --build=${build_alias} --host=${build_alias} ${baseargs}"
|
||||||
|
|
||||||
|
# Record target_configdirs and the configure arguments for target and
|
||||||
|
# build configuration in Makefile.
|
||||||
|
target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
|
||||||
|
targargs=${baseargs}
|
||||||
|
|
||||||
# Passing a --with-cross-host argument lets the target libraries know
|
# Passing a --with-cross-host argument lets the target libraries know
|
||||||
# whether they are being built with a cross-compiler or being built
|
# whether they are being built with a cross-compiler or being built
|
||||||
|
Loading…
x
Reference in New Issue
Block a user