X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fsearch_h.m4;h=11afde507a5e23771f1e33993919162dd6b1fa99;hb=53a617f5e118ec5642daa3da45fcef0bf5593b12;hp=c86819019327fb120f4c6fbee6bdab91e34eed3e;hpb=b442a1e23d3619c52ab98a514c2a405da04f091f;p=gnulib.git diff --git a/m4/search_h.m4 b/m4/search_h.m4 index c86819019..11afde507 100644 --- a/m4/search_h.m4 +++ b/m4/search_h.m4 @@ -1,5 +1,5 @@ -# search_h.m4 serial 6 -dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. +# search_h.m4 serial 8 +dnl Copyright (C) 2007-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. @@ -7,7 +7,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_SEARCH_H], [ AC_REQUIRE([gl_SEARCH_H_DEFAULTS]) - AC_CHECK_HEADERS_ONCE([search.h]) gl_CHECK_NEXT_HEADERS([search.h]) if test $ac_cv_header_search_h = yes; then HAVE_SEARCH_H=1 @@ -26,9 +25,9 @@ AC_DEFUN([gl_SEARCH_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SEARCH_H_DEFAULTS]) - GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. - gl_MODULE_INDICATOR([$1]) + gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SEARCH_H_DEFAULTS],