diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-14 11:07:17 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-14 11:07:17 +0000 |
commit | 5b0d05cbe6910cca891273f45804339d781a3614 (patch) | |
tree | 96e376e29d24c7f98c08a23e067eabe303ecc5ee /libstdc++-v3/configure.ac | |
parent | 24ede95f1569a5d46abefe34afccb9167853c575 (diff) | |
download | gcc-5b0d05cbe6910cca891273f45804339d781a3614.tar.gz |
2007-02-14 Benjamin Kosnik <bkoz@redhat.com>
* configure.ac: Move AM_ICONV to native-only, add HAVE_ICONV for
newlib.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121947 138bc75d-0d04-0410-961f-82ee72b054a4
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 a1e4a37e909..7bebae9229d 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 |