diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2007-02-14 11:07:17 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2007-02-14 11:07:17 +0000 |
commit | 5f34ed87f7203307efbcfc802c812b7c1c0b947d (patch) | |
tree | 96e376e29d24c7f98c08a23e067eabe303ecc5ee /libstdc++-v3/configure.ac | |
parent | 8225879cc7662cc31a278720cca63633ed9e6471 (diff) | |
download | gcc-5f34ed87f7203307efbcfc802c812b7c1c0b947d.zip gcc-5f34ed87f7203307efbcfc802c812b7c1c0b947d.tar.gz gcc-5f34ed87f7203307efbcfc802c812b7c1c0b947d.tar.bz2 |
configure.ac: Move AM_ICONV to native-only, add HAVE_ICONV for newlib.
2007-02-14 Benjamin Kosnik <bkoz@redhat.com>
* configure.ac: Move AM_ICONV to native-only, add HAVE_ICONV for
newlib.
* configure: Regenerate.
From-SVN: r121947
Diffstat (limited to 'libstdc++-v3/configure.ac')
-rw-r--r-- | libstdc++-v3/configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index a1e4a37..7bebae9 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -86,7 +86,6 @@ AC_LIBTOOL_DLOPEN AM_PROG_LIBTOOL AC_SUBST(enable_shared) AC_SUBST(enable_static) -AM_ICONV # Possibly disable most of the library. ## TODO: Consider skipping unncessary tests altogether in this case, rather @@ -182,6 +181,9 @@ if $GLIBCXX_IS_NATIVE; then AC_FUNC_MMAP + # For iconv support. + AM_ICONV + else # This lets us hard-code the functionality we know we'll have in the cross @@ -251,6 +253,8 @@ else AC_DEFINE(HAVE_S_ISREG) AC_DEFINE(HAVE_S_IFREG) + + AC_DEFINE(HAVE_ICONV) else GLIBCXX_CROSSCONFIG fi |