aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Koning <pkoning@xedia.com>1997-10-16 08:02:09 +0000
committerJeff Law <law@gcc.gnu.org>1997-10-16 02:02:09 -0600
commit022abf9081128cf821b4953d81fee765121061b4 (patch)
tree8d46e41fea0f164721bc9dcae26ea91908578692
parenta6e74b833cd13b0dfcdc18642b38ad78ccc96d11 (diff)
downloadgcc-022abf9081128cf821b4953d81fee765121061b4.zip
gcc-022abf9081128cf821b4953d81fee765121061b4.tar.gz
gcc-022abf9081128cf821b4953d81fee765121061b4.tar.bz2
Make-lang.in (stmp-f2c.h): Don't configure the runtime directory if LANGUAGES does not include f77.
* Make-lang.in (stmp-f2c.h): Don't configure the runtime directory if LANGUAGES does not include f77. From-SVN: r15930
-rw-r--r--gcc/f/ChangeLog.egcs5
-rw-r--r--gcc/f/Make-lang.in12
2 files changed, 13 insertions, 4 deletions
diff --git a/gcc/f/ChangeLog.egcs b/gcc/f/ChangeLog.egcs
index 2c7d5c2..0af5944 100644
--- a/gcc/f/ChangeLog.egcs
+++ b/gcc/f/ChangeLog.egcs
@@ -1,3 +1,8 @@
+Thu Oct 16 02:04:08 1997 Paul Koning <pkoning@xedia.com>
+
+ * Make-lang.in (stmp-f2c.h): Don't configure the runtime
+ directory if LANGUAGES does not include f77.
+
Mon Oct 13 12:12:41 1997 Richard Henderson <rth@cygnus.com>
* Make-lang.in (g77*): Copied from cp/Make-lang.in g++*.
diff --git a/gcc/f/Make-lang.in b/gcc/f/Make-lang.in
index 972151f..225c397 100644
--- a/gcc/f/Make-lang.in
+++ b/gcc/f/Make-lang.in
@@ -286,22 +286,26 @@ stmp-f2c.h: \
$(GCC_PARTS)
# The make "stage?" in compiler spec. is fully qualified as above
rm -f stmp-f2c.h
- top=`pwd`; \
+ case "$(LANGUAGES)" in \
+ *f77*) top=`pwd`; \
src=`cd $(srcdir); pwd`; \
cd f/runtime; \
CC="`case '$(GCC_FOR_TARGET)' in \
'./xgcc -B./') echo $${top}/xgcc -B$${top}/;; \
*) echo '$(GCC_FOR_TARGET)';; esac`" \
$(F77_FLAGS_TO_PASS) CONFIG_SITE=/dev/null $(SHELL) \
- $${src}/f/runtime/configure --srcdir=$${src}/f/runtime
- top=`pwd`; \
+ $${src}/f/runtime/configure --srcdir=$${src}/f/runtime ;; \
+ esac
+ case "$(LANGUAGES)" in \
+ *f77*) top=`pwd`; \
src=`cd $(srcdir); pwd`; \
cd f/runtime/libU77; \
CC="`case '$(GCC_FOR_TARGET)' in \
'./xgcc -B./') echo $${top}/xgcc -B$${top}/;; \
*) echo '$(GCC_FOR_TARGET)';; esac`" \
$(F77_FLAGS_TO_PASS) CONFIG_SITE=/dev/null $(SHELL) \
- $${src}/f/runtime/libU77/configure --srcdir=$${src}/f/runtime/libU77
+ $${src}/f/runtime/libU77/configure --srcdir=$${src}/f/runtime/libU77 ;; \
+ esac
touch stmp-f2c.h
# Support parallel build.