Changeset 1391 for branches/GNU/src/gcc/config-ml.in
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/config-ml.in
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 65 65 # libraries as desired. 66 66 67 # We have to handle being invoked by both Cygnus configure and Autoconf.68 #69 # Cygnus configure incoming variables:70 # srcdir, subdir, host, arguments71 #72 67 # Autoconf incoming variables: 73 68 # srcdir, host, ac_configure_args … … 79 74 # configured for a particular host. 80 75 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 76 Makefile=${ac_file-Makefile} 77 ml_config_shell=${CONFIG_SHELL-/bin/sh} 78 ml_arguments="${ac_configure_args}" 79 ml_realsrcdir=${srcdir} 96 80 97 81 # Scan all the arguments and set all the ones we need. … … 528 512 cat > Multi.tem <<\EOF 529 513 514 PWD_COMMAND=$${PWDCMD-pwd} 515 530 516 # FIXME: There should be an @-sign in front of the `if'. 531 517 # Leave out until this is tested a bit more. … … 534 520 true; \ 535 521 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; \ 538 524 lib=`echo $${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$$,\1,'`; \ 539 525 compiler="$(CC)"; \ … … 554 540 LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \ 555 541 LDFLAGS="$(LDFLAGS) $${flags}" \ 542 DESTDIR="$(DESTDIR)" \ 543 INSTALL="$(INSTALL)" \ 544 INSTALL_DATA="$(INSTALL_DATA)" \ 545 INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \ 546 INSTALL_SCRIPT="$(INSTALL_SCRIPT)" \ 556 547 $(DO)); then \ 557 548 true; \ … … 571 562 true; \ 572 563 else \ 573 lib=` pwd| sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \564 lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \ 574 565 for dir in Makefile $(MULTIDIRS); do \ 575 566 if [ -f ../$${dir}/$${lib}/Makefile ]; then \ … … 678 669 if [ "${ml_verbose}" = --verbose ]; then 679 670 echo "Running configure in multilib subdirs ${multidirs}" 680 echo "pwd: ` pwd`"671 echo "pwd: `${PWDCMD-pwd}`" 681 672 fi 682 673 683 ml_origdir=` pwd`674 ml_origdir=`${PWDCMD-pwd}` 684 675 ml_libdir=`echo $ml_origdir | sed -e 's,^.*/,,'` 685 676 # cd to top-level-build-dir/${with_target_subdir} … … 690 681 if [ "${ml_verbose}" = --verbose ]; then 691 682 echo "Running configure in multilib subdir ${ml_dir}" 692 echo "pwd: ` pwd`"683 echo "pwd: `${PWDCMD-pwd}`" 693 684 fi 694 685 … … 718 709 case ${srcdir} in 719 710 ".") 720 echo Building symlink tree in ` pwd`/${ml_dir}/${ml_libdir}711 echo Building symlink tree in `${PWDCMD-pwd}`/${ml_dir}/${ml_libdir} 721 712 if [ "${with_target_subdir}" != "." ]; then 722 713 ml_unsubdir="../" … … 757 748 758 749 # FIXME: POPDIR=${PWD=`pwd`} doesn't work here. 759 ML_POPDIR=` pwd`750 ML_POPDIR=`${PWDCMD-pwd}` 760 751 cd ${ml_dir}/${ml_libdir} 761 752 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.