X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fnl_langinfo.m4;h=ad456a264ce925faa0c181e9a8dc4f28517af663;hb=14b6d70139486b63e66257aad1abe2a9615f4d96;hp=076435f3aba800f6ac5080f057333e7b6470fe97;hpb=7a29e0093f4a87478cdf7b7c87786272d6f37dfe;p=gnulib.git diff --git a/m4/nl_langinfo.m4 b/m4/nl_langinfo.m4 index 076435f3a..ad456a264 100644 --- a/m4/nl_langinfo.m4 +++ b/m4/nl_langinfo.m4 @@ -1,4 +1,4 @@ -# nl_langinfo.m4 serial 2 +# nl_langinfo.m4 serial 3 dnl Copyright (C) 2009, 2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -8,12 +8,7 @@ AC_DEFUN([gl_FUNC_NL_LANGINFO], [ AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) AC_REQUIRE([gl_LANGINFO_H]) - if test $HAVE_LANGINFO_H = 1; then - AC_CHECK_FUNCS_ONCE([nl_langinfo]) - : # in case AC_CHECK_FUNCS_ONCE expands to nothing - else - ac_cv_func_nl_langinfo=no - fi + AC_CHECK_FUNCS_ONCE([nl_langinfo]) if test $ac_cv_func_nl_langinfo = yes; then if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1; then :