diff options
author | Michael Meissner <meissner@linux.vnet.ibm.com> | 2010-11-19 17:27:18 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2010-11-19 17:27:18 +0000 |
commit | fd438373cdd2a5b12d2c17b77922ee8fb8d43847 (patch) | |
tree | 331042dabc400c80ac08ddae1835f9a3e6300ccc /gcc/configure | |
parent | 69ccdddbb807489bdc6f25871532b6f8e236f82f (diff) | |
download | gcc-fd438373cdd2a5b12d2c17b77922ee8fb8d43847.zip gcc-fd438373cdd2a5b12d2c17b77922ee8fb8d43847.tar.gz gcc-fd438373cdd2a5b12d2c17b77922ee8fb8d43847.tar.bz2 |
Add PowerPC target attribute/pragma support
From-SVN: r166947
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 c8d81d4..ec4ba8e 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 + |