X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fsys_select_h.m4;h=f1671186f335b474ccc590c6cd72d4f629f9d2d4;hb=2f0357585d836b7349192ea4276b78adfd551cbc;hp=e521a90df008fbaba3b043312a15feae222d2b68;hpb=dd7d0aad525f1d9708957741cf1302197ead59f7;p=gnulib.git diff --git a/m4/sys_select_h.m4 b/m4/sys_select_h.m4 index e521a90df..f1671186f 100644 --- a/m4/sys_select_h.m4 +++ b/m4/sys_select_h.m4 @@ -1,5 +1,5 @@ -# sys_select_h.m4 serial 13 -dnl Copyright (C) 2006-2010 Free Software Foundation, Inc. +# sys_select_h.m4 serial 16 +dnl Copyright (C) 2006-2011 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. @@ -45,7 +45,6 @@ AC_DEFUN([gl_HEADER_SYS_SELECT], ]) fi ]) - AC_CHECK_HEADERS_ONCE([sys/select.h]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([sys/select.h]) if test $ac_cv_header_sys_select_h = yes; then @@ -61,7 +60,7 @@ AC_DEFUN([gl_HEADER_SYS_SELECT], gl_WARN_ON_USE_PREPARE([[ /* Some systems require prerequisite headers. */ #include -#if !defined __GLIBC__ && HAVE_SYS_TIME_H +#if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H # include #endif #include @@ -72,9 +71,9 @@ AC_DEFUN([gl_SYS_SELECT_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SYS_SELECT_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_SYS_SELECT_H_DEFAULTS],