diff options
author | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-19 17:27:18 +0000 |
---|---|---|
committer | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-19 17:27:18 +0000 |
commit | 755fa783e823d11a964be88b24eab1bf7666368c (patch) | |
tree | 331042dabc400c80ac08ddae1835f9a3e6300ccc /gcc/configure | |
parent | d7175aeff80486d3421f38002845779158ce107b (diff) | |
download | gcc-755fa783e823d11a964be88b24eab1bf7666368c.tar.gz |
Add PowerPC target attribute/pragma support
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166947 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/gcc/configure b/gcc/configure index c8d81d4ba50..ec4ba8e7fdd 100755 --- a/gcc/configure +++ b/gcc/configure @@ -849,7 +849,8 @@ PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' -ac_subst_files='language_hooks' +ac_subst_files='option_includes +language_hooks' ac_user_opts=' enable_option_checking with_build_libsubdir @@ -10638,8 +10639,10 @@ fi # Convert extra_options into a form suitable for Makefile use. extra_opt_files= +all_opt_files= for f in $extra_options; do extra_opt_files="$extra_opt_files \$(srcdir)/config/$f" + all_opt_files="$all_opt_files $srcdir/config/$f" done @@ -17283,7 +17286,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 17286 "configure" +#line 17289 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -17389,7 +17392,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 17392 "configure" +#line 17395 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -25672,6 +25675,7 @@ do all_lang_makefrags="$all_lang_makefrags \$(srcdir)/$gcc_subdir/Make-lang.in" if test -f $srcdir/$gcc_subdir/lang.opt; then lang_opt_files="$lang_opt_files $srcdir/$gcc_subdir/lang.opt" + all_opt_files="$all_opt_files $srcdir/$gcc_subdir/lang.opt" fi if test -f $srcdir/$gcc_subdir/$subdir-tree.def; then lang_tree_files="$lang_tree_files $srcdir/$gcc_subdir/$subdir-tree.def" @@ -25724,6 +25728,14 @@ do done # -------- +# Option include files +# -------- + +${AWK} -f $srcdir/opt-include.awk $all_opt_files > option-includes.mk +option_includes="option-includes.mk" + + +# -------- # UNSORTED # -------- @@ -27389,3 +27401,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi + |