aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.vnet.ibm.com>2010-11-19 17:27:18 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2010-11-19 17:27:18 +0000
commitfd438373cdd2a5b12d2c17b77922ee8fb8d43847 (patch)
tree331042dabc400c80ac08ddae1835f9a3e6300ccc /gcc/configure.ac
parent69ccdddbb807489bdc6f25871532b6f8e236f82f (diff)
downloadgcc-fd438373cdd2a5b12d2c17b77922ee8fb8d43847.zip
gcc-fd438373cdd2a5b12d2c17b77922ee8fb8d43847.tar.gz
gcc-fd438373cdd2a5b12d2c17b77922ee8fb8d43847.tar.bz2
Add PowerPC target attribute/pragma support
From-SVN: r166947
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index a61e5f1..0eb2d8b 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1382,8 +1382,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
AC_SUBST(extra_opt_files)
@@ -4458,6 +4460,7 @@ changequote([,])dnl
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"
@@ -4508,6 +4511,14 @@ do
done
# --------
+# Option include files
+# --------
+
+${AWK} -f $srcdir/opt-include.awk $all_opt_files > option-includes.mk
+option_includes="option-includes.mk"
+AC_SUBST_FILE(option_includes)
+
+# --------
# UNSORTED
# --------
@@ -4769,3 +4780,4 @@ done
],
[subdirs='$subdirs'])
AC_OUTPUT
+