forked from Imagelibrary/binutils-gdb
* configure.ac: Non-default multilibs can be cross compilations.
* configure: Regenerate
This commit is contained in:
24
libiberty/configure
vendored
24
libiberty/configure
vendored
@@ -847,6 +847,7 @@ Optional Features:
|
||||
--enable-maintainer-mode
|
||||
enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer
|
||||
--enable-multilib build many library versions (default)
|
||||
--enable-install-libiberty Install headers for end users
|
||||
|
||||
Optional Packages:
|
||||
@@ -1727,6 +1728,29 @@ else
|
||||
fi
|
||||
|
||||
|
||||
# Add --enable-multilib to configure.
|
||||
# Default to --enable-multilib
|
||||
# Check whether --enable-multilib or --disable-multilib was given.
|
||||
if test "${enable_multilib+set}" = set; then
|
||||
enableval="$enable_multilib"
|
||||
case "$enableval" in
|
||||
yes) multilib=yes ;;
|
||||
no) multilib=no ;;
|
||||
*) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
|
||||
echo "$as_me: error: bad value $enableval for multilib option" >&2;}
|
||||
{ (exit 1); exit 1; }; } ;;
|
||||
esac
|
||||
else
|
||||
multilib=yes
|
||||
fi;
|
||||
|
||||
# Even if the default multilib is not a cross compilation,
|
||||
# it may be that some of the other multilibs are.
|
||||
if test $cross_compiling = no && test $multilib = yes \
|
||||
&& test "x${with_multisubdir}" != x ; then
|
||||
cross_compiling=maybe
|
||||
fi
|
||||
|
||||
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
|
||||
Reference in New Issue
Block a user