diff options
author | Manfred Hollstein <manfred@s-direktnet.de> | 1998-11-26 01:48:34 +0000 |
---|---|---|
committer | Manfred Hollstein <manfred@gcc.gnu.org> | 1998-11-26 01:48:34 +0000 |
commit | 71205e0b3f0acbe5124fa85e07794042ac1864f6 (patch) | |
tree | 8132d140e021d94b415dd3e6ce388ed3c8e5d04e /libchill/configure.in | |
parent | 7240472a0138a3748eed0bec065de61d8c2c2ae5 (diff) | |
download | gcc-71205e0b3f0acbe5124fa85e07794042ac1864f6.tar.gz |
configure (skip-this-dir): Add handling for new shell script...
./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.
From-SVN: r23892
Diffstat (limited to 'libchill/configure.in')
-rw-r--r-- | libchill/configure.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libchill/configure.in b/libchill/configure.in index 0f6f8cb1bdf..afb9f67464e 100644 --- a/libchill/configure.in +++ b/libchill/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=cc1chill +rm -f skip-this-dir +AC_MSG_CHECKING(if compiler $compiler_name has been built) +AC_CACHE_VAL(chill_cv_compiler_exists, + [chill_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 + chill_cv_compiler_exists=no + echo "rm -f config.cache config.log multilib.out" > skip-this-dir + fi + fi + fi + ]) +AC_MSG_RESULT($chill_cv_compiler_exists) +if test x$chill_cv_compiler_exists = xno +then + rm -f Makefile conftest* confdefs* core + exit 0 +fi + dnl Checks for programs. # For chill we'll set CC to point at the built gcc, but this will get it into # the makefiles |