diff options
author | manfred <manfred@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-11-26 01:48:34 +0000 |
---|---|---|
committer | manfred <manfred@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-11-26 01:48:34 +0000 |
commit | 76103b2ce1350dac82139b7846d206b696a57b72 (patch) | |
tree | 8132d140e021d94b415dd3e6ce388ed3c8e5d04e /libf2c/configure.in | |
parent | 37876ed840b01334851b1dd90a501858b591c4d0 (diff) | |
download | gcc-76103b2ce1350dac82139b7846d206b696a57b72.tar.gz |
./ChangeLog:
1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
* configure (skip-this-dir): Add handling for new shell script, which
might be created by a sub-directory's configure to indicate, this particular
directory is "unwanted".
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Likewise.
./gcc/ChangeLog:
1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in (CONFIG_LANGUAGES): New macro taking all languages
which can be configured.
(LANGUAGES): Use $(CONFIG_LANGUAGES) instead of @all_languages@
(Makefile): Pass actual LANGUAGES through the environment when
re-configuring.
(cstamp-h): Likewise.
(config.status): Likewise.
* configure.in (enable_languages): Add new configuration parameter
"--enable-languages=lang1,lang2,...".
(${srcdir}/*/config-lang.in): Change handling to configure only
those directories, that the user might have enabled; default to
"all" existing languages.
* configure: Regenerate.
./libchill/ChangeLog:
1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
* configure.in (compiler_name): Add check to detect if this
language's compiler has been built.
* configure: Regenerate.
./libf2c/ChangeLog:
1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
* configure.in (compiler_name): Add check to detect if this
language's compiler has been built.
* configure: Regenerate.
./libio/ChangeLog:
1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
* configure.in (compiler_name): Add check to detect if this
language's compiler has been built.
./libobjc/ChangeLog:
1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
* configure.in (compiler_name): Add check to detect if this
language's compiler has been built.
* configure: Regenerate.
./libstdc++/ChangeLog:
1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
* configure.in (compiler_name): Add check to detect if this
language's compiler has been built.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23892 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libf2c/configure.in')
-rw-r--r-- | libf2c/configure.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libf2c/configure.in b/libf2c/configure.in index 1362431bbca..1e4a2ad70a7 100644 --- a/libf2c/configure.in +++ b/libf2c/configure.in @@ -35,6 +35,31 @@ dnl This is needed for a multilibbed build in the source tree so dnl that install-sh and config.sub get found. AC_CONFIG_AUX_DIR($topsrcdir) +# If the language specific compiler does not exist, but the "gcc" directory does, +# we do not build anything. Note, $r is set by the top-level Makefile. +compiler_name=f771 +rm -f skip-this-dir +AC_MSG_CHECKING(if compiler $compiler_name has been built) +AC_CACHE_VAL(f77_cv_compiler_exists, + [f77_cv_compiler_exists=yes + if test -n "$r"; then + if test -d "$r"/gcc; then + if test -f "$r"/gcc/$compiler_name; then + true + else + f77_cv_compiler_exists=no + echo "rm -f config.cache config.log multilib.out" > skip-this-dir + fi + fi + fi + ]) +AC_MSG_RESULT($f77_cv_compiler_exists) +if test x$f77_cv_compiler_exists = xno +then + rm -f Makefile conftest* confdefs* core + exit 0 +fi + dnl Checks for programs. # For g77 we'll set CC to point at the built gcc, but this will get it into # the makefiles |