mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-28 23:15:19 +00:00
15 lines
467 B
Plaintext
15 lines
467 B
Plaintext
|
# Check whether LC_MESSAGES is available in <locale.h>.
|
||
|
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||
|
|
||
|
# serial 1
|
||
|
|
||
|
AC_DEFUN(AM_LC_MESSAGES,
|
||
|
[if test $ac_cv_header_locale_h = yes; then
|
||
|
AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
|
||
|
[AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
|
||
|
am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
|
||
|
if test $am_cv_val_LC_MESSAGES = yes; then
|
||
|
AC_DEFINE(HAVE_LC_MESSAGES)
|
||
|
fi
|
||
|
fi])
|