X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fmbchar.m4;h=b18ecef131c30b5eb46e83bd3c882f662f46a7b9;hb=6b24f60dad0f97704ae07d9688de7f31c1923bf7;hp=ec4cbab11469db962df313b738f637dbc2494993;hpb=6589d0566178283e0b68c7bd872317566ea955a4;p=gnulib.git diff --git a/m4/mbchar.m4 b/m4/mbchar.m4 index ec4cbab11..b18ecef13 100644 --- a/m4/mbchar.m4 +++ b/m4/mbchar.m4 @@ -1,5 +1,5 @@ -# mbchar.m4 serial 3 -dnl Copyright (C) 2005-2006 Free Software Foundation, Inc. +# mbchar.m4 serial 9 +dnl Copyright (C) 2005-2007, 2009-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -9,14 +9,5 @@ dnl From Bruno Haible. AC_DEFUN([gl_MBCHAR], [ - AC_REQUIRE([AC_GNU_SOURCE]) - dnl The following line is that so the user can test - dnl HAVE_WCHAR_H && HAVE_WCTYPE_H before #include "mbchar.h". - AC_CHECK_HEADERS_ONCE(wchar.h wctype.h) - dnl Compile mbchar.c only if HAVE_WCHAR_H && HAVE_WCTYPE_H. - if test $ac_cv_header_wchar_h = yes && test $ac_cv_header_wctype_h = yes; then - AC_LIBOBJ([mbchar]) - dnl Prerequisites of mbchar.h and mbchar.c. - AC_CHECK_FUNCS([iswcntrl]) - fi + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ])