mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 15:46:17 +01:00
Use AC_CACHE_CHECK for the nl_langinfo check. (#304517, Lőrinczy
2006-12-27 Matthias Clasen <mclasen@redhat.com> * configure.in: Use AC_CACHE_CHECK for the nl_langinfo check. (#304517, Lőrinczy Zsigmond)
This commit is contained in:
parent
700b6c4b87
commit
f678ea9725
@ -1,3 +1,8 @@
|
||||
2006-12-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Use AC_CACHE_CHECK for the nl_langinfo
|
||||
check. (#304517, Lőrinczy Zsigmond)
|
||||
|
||||
2006-12-27 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gwin32.h
|
||||
|
13
configure.in
13
configure.in
@ -1013,15 +1013,14 @@ if test x$glib_cv_sane_realloc = xyes; then
|
||||
fi
|
||||
|
||||
dnl Check for nl_langinfo and CODESET
|
||||
|
||||
AC_MSG_CHECKING([for nl_langinfo (CODESET)])
|
||||
AC_TRY_COMPILE([#include <langinfo.h>],
|
||||
AC_CACHE_CHECK([for nl_langinfo (CODESET)],glib_cv_langinfo_codeset,[
|
||||
AC_TRY_COMPILE([#include <langinfo.h>],
|
||||
[char *codeset = nl_langinfo (CODESET);],
|
||||
[glib_cv_langinfo_codeset=yes],
|
||||
[glib_cv_langinfo_codeset=no])])
|
||||
if test x$glib_cv_langinfo_codeset = xyes; then
|
||||
AC_DEFINE(HAVE_CODESET,1,[Have nl_langinfo (CODESET)])
|
||||
have_codeset=yes,
|
||||
have_codeset=no)
|
||||
AC_MSG_RESULT($have_codeset)
|
||||
|
||||
fi
|
||||
|
||||
dnl ****************************************
|
||||
dnl *** posix_memalign ***
|
||||
|
Loading…
Reference in New Issue
Block a user