* configure.in: Test for libintl.h.

Ulrich Drepper drepper@redhat.com
Tue Apr 29 19:32:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Phil Edwards wrote:

> +  # A standalone libintl (e.g., GNU libintl) may be in use.
> +  if test $USE_NLS = yes; then
> +    AC_CHECK_LIB(intl, libintl_gettext)
> +  fi
> +

Tests like this are wrong.  You first have to check whether the function
is available without any further library.  Only if the answer is no you
search in a separate library.  There are Linux systems which for some
reason have a libintl installed but of course it's not needed.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+rtMb2ijCOnn/RHQRAib5AJwIseLchiojTXMt1hCkQywcdPzUugCeP0CH
89ZWRUfRHSUIJR4qjl23WbA=
=N7tn
-----END PGP SIGNATURE-----



More information about the Libstdc++ mailing list