mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
* configure.in: Recognize --without-newlib.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Fri Aug 26 11:19:08 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
||||||
|
|
||||||
|
* configure.in: Recognize --without-newlib.
|
||||||
|
|
||||||
Wed Aug 24 12:36:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
Wed Aug 24 12:36:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
||||||
|
|
||||||
* configure.in: Change i[34]86 to i[345]86.
|
* configure.in: Change i[34]86 to i[345]86.
|
||||||
|
14
configure.in
14
configure.in
@ -173,7 +173,10 @@ case ${with_x} in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Recognize --without-newlib.
|
||||||
|
if [ x${with_newlib} = xno ]; then
|
||||||
|
configdirs=`echo " ${configdirs} " | sed -e 's/ newlib / /'`
|
||||||
|
fi
|
||||||
|
|
||||||
# Some tools are only suitable for building in a "native" situation.
|
# Some tools are only suitable for building in a "native" situation.
|
||||||
# Those are added when we have a host==target configuration. For cross
|
# Those are added when we have a host==target configuration. For cross
|
||||||
@ -224,9 +227,6 @@ case "${host}" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
alpha-dec-osf1*)
|
alpha-dec-osf1*)
|
||||||
noconfigdirs="$noconfigdirs emacs emacs19 fileutils grep newlib"
|
noconfigdirs="$noconfigdirs emacs emacs19 fileutils grep newlib"
|
||||||
@ -337,9 +337,11 @@ case "${target}" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Remove the entries in $noconfigdirs from $configdirs. If we have the
|
||||||
|
# source for them, add them to $notsupp.
|
||||||
notsupp=""
|
notsupp=""
|
||||||
for dir in . $noconfigdirs ; do
|
for dir in . $noconfigdirs ; do
|
||||||
if [ $dir != . ] && echo "# ${configdirs} #" | grep "${dir} " >/dev/null 2>&1 ; then
|
if [ $dir != . ] && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
|
||||||
configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
|
configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
|
||||||
if [ -r $srcdir/$dir/configure ] || [ -r $srcdir/$dir/configure.in ]; then
|
if [ -r $srcdir/$dir/configure ] || [ -r $srcdir/$dir/configure.in ]; then
|
||||||
notsupp="$notsupp $dir"
|
notsupp="$notsupp $dir"
|
||||||
@ -359,7 +361,7 @@ if [ -n "${notsupp}" ] && [ -z "${norecursion}" ]; then
|
|||||||
# pretend that all is well.)
|
# pretend that all is well.)
|
||||||
if [ -n "$appdirs" ]; then
|
if [ -n "$appdirs" ]; then
|
||||||
for dir in $appdirs ; do
|
for dir in $appdirs ; do
|
||||||
if [ -r $dir/Makefile.in ] && echo "# ${configdirs} #" | grep "${dir} " >/dev/null 2>&1 ; then
|
if [ -r $dir/Makefile.in ] && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1 ; then
|
||||||
appdirs=""
|
appdirs=""
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user