X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fmbchar.m4;h=e250ca83c6e9583ef59457100111a62bb9d78fc6;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=f95e9267c32af80f3106c8d1e29340036dd05012;hpb=09cc2e4029b6e1601a44a05688449b9834918fae;p=gnulib.git diff --git a/m4/mbchar.m4 b/m4/mbchar.m4 index f95e9267c..e250ca83c 100644 --- a/m4/mbchar.m4 +++ b/m4/mbchar.m4 @@ -1,5 +1,5 @@ -# mbchar.m4 serial 4 -dnl Copyright (C) 2005-2006 Free Software Foundation, Inc. +# mbchar.m4 serial 9 +dnl Copyright (C) 2005-2007, 2009-2014 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,15 +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 HAVE_WCHAR_H - dnl before #include "mbchar.h". - AC_CHECK_HEADERS_ONCE([wchar.h]) - dnl Compile mbchar.c only if HAVE_WCHAR_H. - if test $ac_cv_header_wchar_h = yes; then - AC_LIBOBJ([mbchar]) - dnl Prerequisites of mbchar.h and mbchar.c. - AC_CHECK_HEADERS_ONCE([wctype.h]) - AC_CHECK_FUNCS([iswcntrl]) - fi + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ])