This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: * configure.in: Test for libintl.h.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]