Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (21 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28dir.info
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/config-ml.in

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    6565# libraries as desired.
    6666
    67 # We have to handle being invoked by both Cygnus configure and Autoconf.
    68 #
    69 # Cygnus configure incoming variables:
    70 # srcdir, subdir, host, arguments
    71 #
    7267# Autoconf incoming variables:
    7368# srcdir, host, ac_configure_args
     
    7974# configured for a particular host.
    8075
    81 if [ -n "${ac_configure_args}" ]; then
    82   Makefile=${ac_file-Makefile}
    83   ml_config_shell=${CONFIG_SHELL-/bin/sh}
    84   ml_arguments="${ac_configure_args}"
    85   ml_realsrcdir=${srcdir}
    86 else
    87   Makefile=${Makefile-Makefile}
    88   ml_config_shell=${config_shell-/bin/sh}
    89   ml_arguments="${arguments}"
    90   if [ -n "${subdir}" -a "${subdir}" != "." ] ; then
    91     ml_realsrcdir=${srcdir}/${subdir}
    92   else
    93     ml_realsrcdir=${srcdir}
    94   fi
    95 fi
     76Makefile=${ac_file-Makefile}
     77ml_config_shell=${CONFIG_SHELL-/bin/sh}
     78ml_arguments="${ac_configure_args}"
     79ml_realsrcdir=${srcdir}
    9680
    9781# Scan all the arguments and set all the ones we need.
     
    528512cat > Multi.tem <<\EOF
    529513
     514PWD_COMMAND=$${PWDCMD-pwd}
     515
    530516# FIXME: There should be an @-sign in front of the `if'.
    531517# Leave out until this is tested a bit more.
     
    534520          true; \
    535521        else \
    536           rootpre=`pwd`/; export rootpre; \
    537           srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
     522          rootpre=`${PWD_COMMAND}`/; export rootpre; \
     523          srcrootpre=`cd $(srcdir); ${PWD_COMMAND}`/; export srcrootpre; \
    538524          lib=`echo $${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$$,\1,'`; \
    539525          compiler="$(CC)"; \
     
    554540                                LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \
    555541                                LDFLAGS="$(LDFLAGS) $${flags}" \
     542                                DESTDIR="$(DESTDIR)" \
     543                                INSTALL="$(INSTALL)" \
     544                                INSTALL_DATA="$(INSTALL_DATA)" \
     545                                INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \
     546                                INSTALL_SCRIPT="$(INSTALL_SCRIPT)" \
    556547                                $(DO)); then \
    557548                  true; \
     
    571562          true; \
    572563        else \
    573           lib=`pwd | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
     564          lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
    574565          for dir in Makefile $(MULTIDIRS); do \
    575566            if [ -f ../$${dir}/$${lib}/Makefile ]; then \
     
    678669  if [ "${ml_verbose}" = --verbose ]; then
    679670    echo "Running configure in multilib subdirs ${multidirs}"
    680     echo "pwd: `pwd`"
     671    echo "pwd: `${PWDCMD-pwd}`"
    681672  fi
    682673
    683   ml_origdir=`pwd`
     674  ml_origdir=`${PWDCMD-pwd}`
    684675  ml_libdir=`echo $ml_origdir | sed -e 's,^.*/,,'`
    685676  # cd to top-level-build-dir/${with_target_subdir}
     
    690681    if [ "${ml_verbose}" = --verbose ]; then
    691682      echo "Running configure in multilib subdir ${ml_dir}"
    692       echo "pwd: `pwd`"
     683      echo "pwd: `${PWDCMD-pwd}`"
    693684    fi
    694685
     
    718709    case ${srcdir} in
    719710    ".")
    720       echo Building symlink tree in `pwd`/${ml_dir}/${ml_libdir}
     711      echo Building symlink tree in `${PWDCMD-pwd}`/${ml_dir}/${ml_libdir}
    721712      if [ "${with_target_subdir}" != "." ]; then
    722713        ml_unsubdir="../"
     
    757748
    758749    # FIXME: POPDIR=${PWD=`pwd`} doesn't work here.
    759     ML_POPDIR=`pwd`
     750    ML_POPDIR=`${PWDCMD-pwd}`
    760751    cd ${ml_dir}/${ml_libdir}
    761752
Note: See TracChangeset for help on using the changeset viewer.