mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-29 06:00:29 +08:00
aclocal.m4: Work around a bug in AC_PATH_PROGS when its last argument is empty.
* aclocal.m4: Work around a bug in AC_PATH_PROGS when its last argument is empty. * configure: Regenerate. From-SVN: r101664
This commit is contained in:
parent
6dfb90cf55
commit
c42adccb1a
@ -1,3 +1,9 @@
|
|||||||
|
2005-07-06 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* aclocal.m4: Work around a bug in AC_PATH_PROGS when its last
|
||||||
|
argument is empty.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2005-07-06 J"orn Rennecke <joern.rennecke@st.com>
|
2005-07-06 J"orn Rennecke <joern.rennecke@st.com>
|
||||||
|
|
||||||
* sh.c (final_prescan_insn): Undo bogus change from 2005-05-09.
|
* sh.c (final_prescan_insn): Undo bogus change from 2005-05-09.
|
||||||
|
8
gcc/aclocal.m4
vendored
8
gcc/aclocal.m4
vendored
@ -711,7 +711,13 @@ dnl shut up useless "checking for..." messages
|
|||||||
dnl we can still read them in config.log
|
dnl we can still read them in config.log
|
||||||
exec AS_MESSAGE_FD([])>/dev/null
|
exec AS_MESSAGE_FD([])>/dev/null
|
||||||
if test "x[$]$1" = x; then
|
if test "x[$]$1" = x; then
|
||||||
AC_PATH_PROGS($1, $2, , $gcc_cv_tool_dirs)
|
# The AC_PATH_PROGS macro doesn't work properly when its 4th argument
|
||||||
|
# is empty.
|
||||||
|
if test "x$gcc_cv_tool_dirs" = x; then
|
||||||
|
$1=
|
||||||
|
else
|
||||||
|
AC_PATH_PROGS($1, $2, , $gcc_cv_tool_dirs)
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x[$]$1" = x; then
|
if test "x[$]$1" = x; then
|
||||||
# If the loop above did not find a tool, then use whatever
|
# If the loop above did not find a tool, then use whatever
|
||||||
|
24
gcc/configure
vendored
24
gcc/configure
vendored
@ -12896,7 +12896,12 @@ fi
|
|||||||
|
|
||||||
exec 6>/dev/null
|
exec 6>/dev/null
|
||||||
if test "x$gcc_cv_as" = x; then
|
if test "x$gcc_cv_as" = x; then
|
||||||
for ac_prog in as
|
# The AC_PATH_PROGS macro doesn't work properly when its 4th argument
|
||||||
|
# is empty.
|
||||||
|
if test "x$gcc_cv_tool_dirs" = x; then
|
||||||
|
gcc_cv_as=
|
||||||
|
else
|
||||||
|
for ac_prog in as
|
||||||
do
|
do
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
@ -12940,6 +12945,7 @@ fi
|
|||||||
test -n "$gcc_cv_as" && break
|
test -n "$gcc_cv_as" && break
|
||||||
done
|
done
|
||||||
|
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$gcc_cv_as" = x; then
|
if test "x$gcc_cv_as" = x; then
|
||||||
# If the loop above did not find a tool, then use whatever
|
# If the loop above did not find a tool, then use whatever
|
||||||
@ -13068,7 +13074,12 @@ fi
|
|||||||
|
|
||||||
exec 6>/dev/null
|
exec 6>/dev/null
|
||||||
if test "x$gcc_cv_ld" = x; then
|
if test "x$gcc_cv_ld" = x; then
|
||||||
for ac_prog in ld
|
# The AC_PATH_PROGS macro doesn't work properly when its 4th argument
|
||||||
|
# is empty.
|
||||||
|
if test "x$gcc_cv_tool_dirs" = x; then
|
||||||
|
gcc_cv_ld=
|
||||||
|
else
|
||||||
|
for ac_prog in ld
|
||||||
do
|
do
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
@ -13112,6 +13123,7 @@ fi
|
|||||||
test -n "$gcc_cv_ld" && break
|
test -n "$gcc_cv_ld" && break
|
||||||
done
|
done
|
||||||
|
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$gcc_cv_ld" = x; then
|
if test "x$gcc_cv_ld" = x; then
|
||||||
# If the loop above did not find a tool, then use whatever
|
# If the loop above did not find a tool, then use whatever
|
||||||
@ -13206,7 +13218,12 @@ fi
|
|||||||
|
|
||||||
exec 6>/dev/null
|
exec 6>/dev/null
|
||||||
if test "x$gcc_cv_nm" = x; then
|
if test "x$gcc_cv_nm" = x; then
|
||||||
for ac_prog in nm
|
# The AC_PATH_PROGS macro doesn't work properly when its 4th argument
|
||||||
|
# is empty.
|
||||||
|
if test "x$gcc_cv_tool_dirs" = x; then
|
||||||
|
gcc_cv_nm=
|
||||||
|
else
|
||||||
|
for ac_prog in nm
|
||||||
do
|
do
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
@ -13250,6 +13267,7 @@ fi
|
|||||||
test -n "$gcc_cv_nm" && break
|
test -n "$gcc_cv_nm" && break
|
||||||
done
|
done
|
||||||
|
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$gcc_cv_nm" = x; then
|
if test "x$gcc_cv_nm" = x; then
|
||||||
# If the loop above did not find a tool, then use whatever
|
# If the loop above did not find a tool, then use whatever
|
||||||
|
Loading…
x
Reference in New Issue
Block a user