Skip to content
Snippets Groups Projects
Commit 1bae2d8a authored by Marek Habersack's avatar Marek Habersack
Browse files

gettext detection fix - it can be also in glibc. Using AC_CHECK_FUNCS actually...

gettext detection fix - it can be also in glibc. Using AC_CHECK_FUNCS actually defines HAVE_FUNCTION, too

Rev: src/modules/Gettext/configure.in:1.5
parent d43eb546
Branches
Tags
No related merge requests found
# $Id: configure.in,v 1.4 2005/08/24 00:27:49 nilsson Exp $ # $Id: configure.in,v 1.5 2005/12/02 08:53:44 grendel Exp $
AC_INIT(gettext.c) AC_INIT(gettext.c)
AC_CONFIG_HEADER(config.h) AC_CONFIG_HEADER(config.h)
...@@ -10,10 +10,9 @@ AC_HAVE_HEADERS(locale.h libintl.h) ...@@ -10,10 +10,9 @@ AC_HAVE_HEADERS(locale.h libintl.h)
# gettext checking (localization) # gettext checking (localization)
######################################################################## ########################################################################
AC_CHECK_FUNCS(setlocale) AC_CHECK_LIB(libiconv, iconv)
AC_CHECK_LIB(iconv, libiconv)
AC_CHECK_LIB(intl, gettext) AC_CHECK_LIB(intl, gettext)
AC_CHECK_FUNC(gettext) AC_CHECK_FUNCS(setlocale gettext iconv)
AC_ARG_WITH(nlsdir, AC_ARG_WITH(nlsdir,
[ --with-nlsdir=PATH specify where the locale stuff should go ]) [ --with-nlsdir=PATH specify where the locale stuff should go ])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment