source cleanups; fix finding scripts
[deliverable/binutils-gdb.git] / configure
index dd63ab3b32f076aef7efc60ca62616a6014d44b3..0ed2039cebf2c0214ebe667f44f1100bc81cad94 100755 (executable)
--- a/configure
+++ b/configure
@@ -323,11 +323,9 @@ case "${fatal}" in
                 echo '***' Can only configure for one host and one target at a time.  1>&2
                 fatal=yes
         elif [ -z "${host_alias}" -a -z "${undefs}" ] ; then
-                echo '- You did not tell me what kind of host system you want to configure.
-- I will attempt to guess the kind of system this is.' 1>&2
                 guesssys=`echo ${progname} | sed 's/configure$/config.guess/'`
                 if tmp_alias=`${guesssys}` ; then
-                        echo "- Looks like this is a ${tmp_alias}" 1>&2
+                        echo "Configuring for a ${tmp_alias} host." 1>&2
                         host_alias=${tmp_alias}
                        case "${target_alias}" in
                        "") target_alias=${tmp_alias} ;;
@@ -335,7 +333,7 @@ case "${fatal}" in
                        esac
                        arguments="--host=${host_alias} ${arguments}"
                 else
-                        echo '- Failed to guess the system type.  You need to tell me.' 1>&2
+                        echo 'Config.guess failed to determine the host type.  You need to specify one.' 1>&2
                         fatal=yes
                 fi
         else
@@ -772,18 +770,6 @@ EOF
                 echo site_makefile_frag = ${invsubdir}${site_makefile_frag} >>${Makefile}
             fi 
 
-            # fixme: this shouldn't be in configure.
-            # Define macro CROSS_COMPILE in compilation if this is a cross-compiler.
-            case "${host_alias}" in
-              "${target_alias}")
-                      echo "ALL=all.internal" >> ${Makefile}
-                      ;;
-              *)
-                      echo "CROSS=-DCROSS_COMPILE" >> ${Makefile}
-                      echo "ALL=all.cross" >> ${Makefile}
-                      ;;
-            esac
-
             # reset prefix, exec_prefix, srcdir, SUBDIRS, NONSUBDIRS,
             # remove any form feeds.
             if [ -z "${subdirs}" ]; then
@@ -800,13 +786,13 @@ EOF
                     -e "s/\f//" \
                     -e "s:^program_prefix[     ]*=.*$:program_prefix = ${program_prefix}:" \
                     -e "s:^program_suffix[     ]*=.*$:program_suffix = ${program_suffix}:" \
-                    -e "s:^program_transform_name[     ]*=.*$:program_transform_name = \"${program_transform_name}\":" \
+                    -e "s:^program_transform_name[     ]*=.*$:program_transform_name = ${program_transform_name}:" \
                     -e "s:^tooldir[    ]*=.*$:tooldir = ${tooldir}:" \
                     ${subdir}/Makefile.tem >> ${Makefile}
             # final copy now in ${Makefile}
 
         else
-           echo "No Makefile.in found in ${srcdir}, unable to configure" 1>&2
+           echo "No Makefile.in found in ${srcdir}/${subdir}, unable to configure" 1>&2
         fi
 
         rm -f ${subdir}/Makefile.tem
This page took 0.025863 seconds and 4 git commands to generate.