diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-01 13:43:39 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-01 13:43:39 +0000 |
commit | c36c585e1bdcec69ac4f9d3397e3a6de81bb2680 (patch) | |
tree | 752eb5465276f1f5d472fc56630b3d5d8131ebb6 /configure | |
parent | 93faf308ec5825f9dfadf5acfecb0f69158495c5 (diff) | |
download | ppe42-gcc-c36c585e1bdcec69ac4f9d3397e3a6de81bb2680.tar.gz ppe42-gcc-c36c585e1bdcec69ac4f9d3397e3a6de81bb2680.zip |
* configure.ac: Remove code setting CONFIG_SHELL, config_shell and
moveifchange.
* configure: Regenerate.
* Makefile.tpl: Use @SHELL@ not @config_shell@.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171830 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/configure b/configure index 46e9caeffc6..fea4aa70e09 100755 --- a/configure +++ b/configure @@ -604,7 +604,6 @@ LEX M4 BISON YACC -config_shell WINDRES_FOR_BUILD WINDMC_FOR_BUILD RANLIB_FOR_BUILD @@ -2608,42 +2607,6 @@ fi done -### we might need to use some other shell than /bin/sh for running subshells -### If we are on Windows, search for the shell. This will permit people -### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure -### without also having to set CONFIG_SHELL. This code will work when -### using bash, which sets OSTYPE. -case "${OSTYPE}" in -*win32*) - if test x${CONFIG_SHELL} = x ; then - if test ! -f /bin/sh ; then - if test x${SHELL} != x && test -f ${SHELL} ; then - CONFIG_SHELL=${SHELL} - export CONFIG_SHELL - else - for prog in sh sh.exe bash bash.exe; do - IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:" - for dir in $PATH; do - test -z "$dir" && dir=. - if test -f $dir/$prog; then - CONFIG_SHELL=$dir/$prog - export CONFIG_SHELL - break - fi - done - IFS="$save_ifs" - test -n "${CONFIG_SHELL}" && break - done - fi - fi - fi - ;; -esac - -config_shell=${CONFIG_SHELL-/bin/sh} - -moveifchange=${srcdir}/move-if-change - srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}` # We pass INSTALL explicitly to sub-makes. Make sure that it is not @@ -7507,7 +7470,6 @@ done - # Generate default definitions for YACC, M4, LEX and other programs that run # on the build machine. These are used if the Makefile can't locate these # programs in objdir. |