diff options
author | Nathanael Nerode <neroden@gcc.gnu.org> | 2002-12-28 09:13:56 +0000 |
---|---|---|
committer | Nathanael Nerode <neroden@gcc.gnu.org> | 2002-12-28 09:13:56 +0000 |
commit | d18f1c9f81daddfe8f0fe55e21a10c1c5f1cb428 (patch) | |
tree | d16680071b73af8b1f4746a2b08e4b6afa1ea143 /configure.in | |
parent | 5212e868c844e1897baeadca42b70d5621c6cd48 (diff) | |
download | gdb-d18f1c9f81daddfe8f0fe55e21a10c1c5f1cb428.zip gdb-d18f1c9f81daddfe8f0fe55e21a10c1c5f1cb428.tar.gz gdb-d18f1c9f81daddfe8f0fe55e21a10c1c5f1cb428.tar.bz2 |
* Makefile.tpl: Fix dramatic bustage due to change in
program_transform_name.
* Makefile.in: Regenerate.
* configure.in: Remove unnecessary PATH setting.
* configure: Regnerate.
* configure.in: Don't default to unprefixed tools unless
the native tools will work.
* configure: Regenerate.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/configure.in b/configure.in index 6d73ebd..9193db2 100644 --- a/configure.in +++ b/configure.in @@ -80,14 +80,6 @@ progname=$0 # if PWD already has a value, it is probably wrong. if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi -case "${progname}" in -/* | [[A-Za-z]]:[[\\/]]* ) ;; -*/*) ;; -*) - PATH=$PATH:${PWD=`${PWDCMD-pwd}`} ; export PATH - ;; -esac - # Export original configure arguments for use by sub-configures. TOPLEVEL_CONFIGURE_ARGUMENTS="$progname $@" export TOPLEVEL_CONFIGURE_ARGUMENTS @@ -2008,15 +2000,15 @@ AC_SUBST(YACC) AC_SUBST(config_shell) # Host tools. -AC_CHECK_TOOL(AR, ar) -AC_CHECK_TOOL(AS, as) -AC_CHECK_TOOL(DLLTOOL, dlltool) -AC_CHECK_TOOL(LD, ld) -AC_CHECK_TOOL(NM, nm) -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(WINDRES, windres) -AC_CHECK_TOOL(OBJCOPY, objcopy) -AC_CHECK_TOOL(OBJDUMP, objdump) +NCN_STRICT_CHECK_TOOL(AR, ar) +NCN_STRICT_CHECK_TOOL(AS, as) +NCN_STRICT_CHECK_TOOL(DLLTOOL, dlltool) +NCN_STRICT_CHECK_TOOL(LD, ld) +NCN_STRICT_CHECK_TOOL(NM, nm) +NCN_STRICT_CHECK_TOOL(RANLIB, ranlib, :) +NCN_STRICT_CHECK_TOOL(WINDRES, windres) +NCN_STRICT_CHECK_TOOL(OBJCOPY, objcopy) +NCN_STRICT_CHECK_TOOL(OBJDUMP, objdump) AC_SUBST(CC) AC_SUBST(CXX) AC_SUBST(CFLAGS) @@ -2026,13 +2018,13 @@ AC_SUBST(DEFAULT_LEX) AC_SUBST(DEFAULT_M4) # Target tools. -NCN_CHECK_TARGET_TOOL(AR_FOR_TARGET, ar) -NCN_CHECK_TARGET_TOOL(AS_FOR_TARGET, as) -NCN_CHECK_TARGET_TOOL(DLLTOOL_FOR_TARGET, dlltool) -NCN_CHECK_TARGET_TOOL(LD_FOR_TARGET, ld) -NCN_CHECK_TARGET_TOOL(NM_FOR_TARGET, nm) -NCN_CHECK_TARGET_TOOL(RANLIB_FOR_TARGET, ranlib, :) -NCN_CHECK_TARGET_TOOL(WINDRES_FOR_TARGET, windres) +NCN_STRICT_CHECK_TARGET_TOOL(AR_FOR_TARGET, ar) +NCN_STRICT_CHECK_TARGET_TOOL(AS_FOR_TARGET, as) +NCN_STRICT_CHECK_TARGET_TOOL(DLLTOOL_FOR_TARGET, dlltool) +NCN_STRICT_CHECK_TARGET_TOOL(LD_FOR_TARGET, ld) +NCN_STRICT_CHECK_TARGET_TOOL(NM_FOR_TARGET, nm) +NCN_STRICT_CHECK_TARGET_TOOL(RANLIB_FOR_TARGET, ranlib, :) +NCN_STRICT_CHECK_TARGET_TOOL(WINDRES_FOR_TARGET, windres) AC_SUBST(GCC_FOR_TARGET) AC_SUBST(FLAGS_FOR_TARGET) |