diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-05-19 22:32:10 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-05-19 22:32:10 (GMT) |
commit | 50b3ff7b91e78a61aca93247bee586d6d7eb27c8 (patch) | |
tree | db4c7eee24479ac7ee6888ce1562facf60159b71 /gl/m4/mktime.m4 | |
parent | 2701ccd500e60537a8c2977a81549ff33eeaef3f (diff) | |
download | monitoring-plugins-50b3ff7b91e78a61aca93247bee586d6d7eb27c8.tar.gz |
Sync with the latest Gnulib code (cb75dc5)
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
Diffstat (limited to 'gl/m4/mktime.m4')
-rw-r--r-- | gl/m4/mktime.m4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gl/m4/mktime.m4 b/gl/m4/mktime.m4 index 223b9f1..1e926e8 100644 --- a/gl/m4/mktime.m4 +++ b/gl/m4/mktime.m4 | |||
@@ -1,4 +1,4 @@ | |||
1 | # serial 14 | 1 | # serial 15 |
2 | dnl Copyright (C) 2002-2003, 2005-2007, 2009 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2002-2003, 2005-2007, 2009 Free Software Foundation, Inc. |
3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
@@ -15,6 +15,13 @@ dnl From Jim Meyering. | |||
15 | AC_DEFUN([AC_FUNC_MKTIME], | 15 | AC_DEFUN([AC_FUNC_MKTIME], |
16 | [AC_CHECK_HEADERS_ONCE([unistd.h]) | 16 | [AC_CHECK_HEADERS_ONCE([unistd.h]) |
17 | AC_CHECK_FUNCS_ONCE([alarm]) | 17 | AC_CHECK_FUNCS_ONCE([alarm]) |
18 | AC_REQUIRE([gl_MULTIARCH]) | ||
19 | if test $APPLE_UNIVERSAL_BUILD = 1; then | ||
20 | # A universal build on Apple MacOS X platforms. | ||
21 | # The test result would be 'yes' in 32-bit mode and 'no' in 64-bit mode. | ||
22 | # But we need a configuration result that is valid in both modes. | ||
23 | ac_cv_func_working_mktime=no | ||
24 | fi | ||
18 | AC_CACHE_CHECK([for working mktime], [ac_cv_func_working_mktime], | 25 | AC_CACHE_CHECK([for working mktime], [ac_cv_func_working_mktime], |
19 | [AC_RUN_IFELSE([AC_LANG_SOURCE( | 26 | [AC_RUN_IFELSE([AC_LANG_SOURCE( |
20 | [[/* Test program from Paul Eggert and Tony Leneis. */ | 27 | [[/* Test program from Paul Eggert and Tony Leneis. */ |