diff options
Diffstat (limited to 'libio')
-rw-r--r-- | libio/ChangeLog | 5 | ||||
-rw-r--r-- | libio/configure.in | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog index d11aafe35ed..bb3722cc4e5 100644 --- a/libio/ChangeLog +++ b/libio/ChangeLog @@ -1,3 +1,8 @@ +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. + 1998-10-12 Alexandre Oliva <oliva@dcc.unicamp.br> * config.shared (depend.new): delete libc-lock.h from diff --git a/libio/configure.in b/libio/configure.in index 5ffca6cb57e..1726e2372d2 100644 --- a/libio/configure.in +++ b/libio/configure.in @@ -2,6 +2,20 @@ # necessary for a configure script to process the program in # this directory. For more information, look at ../configure. +# 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=cc1plus +rm -f skip-this-dir +if test -n "$r"; then + if test -d "$r"/gcc; then + if test -f "$r"/gcc/$compiler_name; then + true + else + echo "rm -f multilib.out" > skip-this-dir + fi + fi +fi + if [ "${srcdir}" = "." ] ; then if [ "${with_target_subdir}" != "." ] ; then topsrcdir=${with_multisrctop}../.. |