diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1997-07-29 15:03:06 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1997-07-29 15:03:06 -0700 |
commit | 0280cf849faca5fbe60d6440e64956bbbcf713a8 (patch) | |
tree | 7bf401505c13f87f593a1df1d54b0b9fb3ed588e | |
parent | 788af388c95fe1916a8268a9d4f515e95c8e0cf7 (diff) | |
download | gcc-0280cf849faca5fbe60d6440e64956bbbcf713a8.zip gcc-0280cf849faca5fbe60d6440e64956bbbcf713a8.tar.gz gcc-0280cf849faca5fbe60d6440e64956bbbcf713a8.tar.bz2 |
Add hooks for using autconf-style Makefile.in in language subdirs.
* configure.in (all_outputs, oldstyle_subdirs): New variables.
Pass all_outputs to AC_OUTPUT.
From-SVN: r14554
-rw-r--r-- | gcc/configure.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index f18d230..65a95fc 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2923,6 +2923,7 @@ all_boot_languages= all_compilers= all_stagestuff= all_diff_excludes= +all_outputs=Makefile # List of language makefile fragments. all_lang_makefiles= all_headers= @@ -2937,6 +2938,7 @@ all_lib2funcs= language_fragments="Make-lang" language_hooks="Make-hooks" +oldstyle_subdirs= for s in .. $subdirs do @@ -2948,6 +2950,7 @@ do stagestuff= diff_excludes= headers= + outputs= lib2funcs= . ${srcdir}/$s/config-lang.in if [[ "x$language" = x ]] @@ -2965,6 +2968,11 @@ do all_stagestuff="$all_stagestuff $stagestuff" all_diff_excludes="$all_diff_excludes $diff_excludes" all_headers="$all_headers $headers" + all_outputs="$all_outputs $outputs" + if [[ x$outputs = x ]] + then + oldstyle_subdirs="$oldstyle_subdirs $s" + fi all_lib2funcs="$all_lib2funcs $lib2funcs" fi done @@ -3073,7 +3081,7 @@ fi # Create the Makefile # and configure language subdirectories -AC_OUTPUT(Makefile, +AC_OUTPUT($all_outputs, [ . $srcdir/configure.lang case x$CONFIG_HEADERS in |