X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fprintf.m4;h=fdabf1b354454c1f40e1b21743c4e4b2dfe79d17;hb=f1b890314f08c4ff827fc8ae904dec02be654c65;hp=841f91a8b8318718e788f54f39d363770adf91b4;hpb=073b7bef988ab7003040467df6a4710c0c656abe;p=gnulib.git diff --git a/m4/printf.m4 b/m4/printf.m4 index 841f91a8b..fdabf1b35 100644 --- a/m4/printf.m4 +++ b/m4/printf.m4 @@ -192,10 +192,23 @@ int main () return 0; }], [gl_cv_func_printf_directive_f=yes], [gl_cv_func_printf_directive_f=no], [ +changequote(,)dnl case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_printf_directive_f="guessing yes";; + # Guess yes on FreeBSD >= 6. + freebsd[1-5]*) gl_cv_func_printf_directive_f="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";; + darwin*) gl_cv_func_printf_directive_f="guessing yes";; + # Guess yes on Solaris >= 2.10. + solaris2.[0-9]*) gl_cv_func_printf_directive_f="guessing no";; + solaris*) gl_cv_func_printf_directive_f="guessing yes";; # If we don't know, assume the worst. *) gl_cv_func_printf_directive_f="guessing no";; esac +changequote([,])dnl ]) ]) ]) @@ -492,8 +505,8 @@ dnl glibc 2.3.6 . # . . . . . . . dnl FreeBSD 5.4, 6.1 . ? . . . . . . . dnl MacOS X 10.3.9 . # . . . . . . . dnl OpenBSD 3.9, 4.0 . # ? . . . . . ? -dnl Cygwin 2007 . # # . . . . . ? -dnl Cygwin 2006 # # # . . . . . ? +dnl Cygwin 2007 . # # . . . . . . +dnl Cygwin 2006 # # # . . . . . . dnl Solaris 10 . # . . . . . . . dnl Solaris 2.6 ... 9 # # # . . . . . . dnl Solaris 2.5.1 # # # . . # # # # @@ -505,6 +518,6 @@ dnl IRIX 6.5 # # # . . . . # . dnl OSF/1 5.1 # # # . . . . # . dnl OSF/1 4.0d # # # . . # # # # dnl NetBSD 4.0 . ? ? . . . . . ? -dnl NetBSD 3.0 . # ? . # . . . . -dnl BeOS # # ? . # . . . . +dnl NetBSD 3.0 . # # . # . . . . +dnl BeOS # # # . # . . . . dnl mingw # # # . # . # # #