aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2007-07-13 06:12:51 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2007-07-13 06:12:51 +0000
commit1617e5eedcc094ee8eb18dc3d3b0df3f2cbd546b (patch)
tree5725393fda59464c6afb4405cdb5de32243d799e /gcc/configure.ac
parent192c543cd420fb63220f72759ce76c0477cee984 (diff)
downloadgcc-1617e5eedcc094ee8eb18dc3d3b0df3f2cbd546b.zip
gcc-1617e5eedcc094ee8eb18dc3d3b0df3f2cbd546b.tar.gz
gcc-1617e5eedcc094ee8eb18dc3d3b0df3f2cbd546b.tar.bz2
Index: gcc/ChangeLog
2007-07-12 Geoffrey Keating <geoffk@apple.com> * ginclude/tgmath.h: New. * config.gcc: Use GCC's tgmath.h on non-glibc systems. * doc/sourcebuild.texi (Headers): Document use_gcc_tgmath. * configure.ac (STMP_FIXPROTO): Honor use_gcc_tgmath. * configure: Regenerate. Index: gcc/testsuite/ChangeLog 2007-07-11 Geoffrey Keating <geoffk@apple.com> * gcc.dg/c99-tgmath-1.c: New. * gcc.dg/c99-tgmath-2.c: New. * gcc.dg/c99-tgmath-3.c: New. * gcc.dg/c99-tgmath-4.c: New. From-SVN: r126613
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 5a65f89..33d9518 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1739,6 +1739,11 @@ for file in ${extra_headers} ; do
extra_headers_list="${extra_headers_list} \$(srcdir)/config/${cpu_type}/${file}"
done
+# If use_gcc_tgmath is set, append ginclude/tgmath.h.
+if test x"$use_gcc_tgmath" = xyes
+then extra_headers_list="${extra_headers_list} \$(srcdir)/ginclude/tgmath.h"
+fi
+
# Define collect2 in Makefile.
case $host_can_use_collect2 in
no) collect2= ;;