diff options
Diffstat (limited to 'gl/m4/printf-posix.m4')
-rw-r--r-- | gl/m4/printf-posix.m4 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gl/m4/printf-posix.m4 b/gl/m4/printf-posix.m4 index 14ba6128..5922d278 100644 --- a/gl/m4/printf-posix.m4 +++ b/gl/m4/printf-posix.m4 | |||
@@ -1,5 +1,5 @@ | |||
1 | # printf-posix.m4 serial 3 (gettext-0.17) | 1 | # printf-posix.m4 serial 5 (gettext-0.18) |
2 | dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2003, 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, |
5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
@@ -27,17 +27,18 @@ int main () | |||
27 | return (strcmp (buf, "55 33") != 0); | 27 | return (strcmp (buf, "55 33") != 0); |
28 | }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no, | 28 | }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no, |
29 | [ | 29 | [ |
30 | AC_EGREP_CPP(notposix, [ | 30 | AC_EGREP_CPP([notposix], [ |
31 | #if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ | 31 | #if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ |
32 | notposix | 32 | notposix |
33 | #endif | 33 | #endif |
34 | ], gt_cv_func_printf_posix="guessing no", | 34 | ], |
35 | gt_cv_func_printf_posix="guessing yes") | 35 | [gt_cv_func_printf_posix="guessing no"], |
36 | [gt_cv_func_printf_posix="guessing yes"]) | ||
36 | ]) | 37 | ]) |
37 | ]) | 38 | ]) |
38 | case $gt_cv_func_printf_posix in | 39 | case $gt_cv_func_printf_posix in |
39 | *yes) | 40 | *yes) |
40 | AC_DEFINE(HAVE_POSIX_PRINTF, 1, | 41 | AC_DEFINE([HAVE_POSIX_PRINTF], [1], |
41 | [Define if your printf() function supports format strings with positions.]) | 42 | [Define if your printf() function supports format strings with positions.]) |
42 | ;; | 43 | ;; |
43 | esac | 44 | esac |