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
This commit is contained in:
Benjamin Kosnik 2007-02-14 11:07:17 +00:00 committed by Benjamin Kosnik
parent 8225879cc7
commit 5f34ed87f7
3 changed files with 822 additions and 804 deletions

View File

@ -1,3 +1,9 @@
2007-02-14 Benjamin Kosnik <bkoz@redhat.com>
* configure.ac: Move AM_ICONV to native-only, add HAVE_ICONV for
newlib.
* configure: Regenerate.
2007-02-13 Dirk Mueller <dmueller@suse.de>
* include/bits/locale_facets.tcc (num_get<>::do_get): Avoid

1614
libstdc++-v3/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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