Add info about NetBSD 4, which has now borrowed the printf implementation
authorBruno Haible <bruno@clisp.org>
Mon, 5 Mar 2007 23:34:36 +0000 (23:34 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 5 Mar 2007 23:34:36 +0000 (23:34 +0000)
from FreeBSD.

ChangeLog
m4/printf.m4

index 45a18d9..9a54c39 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 2007-03-05  Bruno Haible  <bruno@clisp.org>
 
        * m4/printf.m4: Update with info about OpenBSD 3.9, HP-UX 10.20,
-       from Ralf Wildenhues.
+       NetBSD 4, from Ralf Wildenhues.
 
 2007-03-04  Bruno Haible  <bruno@clisp.org>
 
index 30f75c1..c61f4a8 100644 (file)
@@ -152,6 +152,9 @@ changequote(,)dnl
                                dnl Guess yes on FreeBSD >= 5.
          freebsd[1-4]*)        gl_cv_func_printf_directive_a="guessing no";;
          freebsd* | kfreebsd*) gl_cv_func_printf_directive_a="guessing yes";;
+                               dnl Guess yes on NetBSD >= 4.
+         netbsd[1-3]*)         gl_cv_func_printf_directive_a="guessing no";;
+         netbsd*)              gl_cv_func_printf_directive_a="guessing yes";;
                                dnl If we don't know, assume the worst.
          *)                    gl_cv_func_printf_directive_a="guessing no";;
        esac
@@ -220,7 +223,7 @@ int main ()
       [
 changequote(,)dnl
        case "$host_os" in
-         netbsd*)      gl_cv_func_printf_positions="guessing no";;
+         netbsd[1-3]*) gl_cv_func_printf_positions="guessing no";;
          beos*)        gl_cv_func_printf_positions="guessing no";;
          mingw* | pw*) gl_cv_func_printf_positions="guessing no";;
          *)            gl_cv_func_printf_positions="guessing yes";;
@@ -292,7 +295,7 @@ changequote(,)dnl
          osf*)                 gl_cv_func_snprintf_truncation_c99="guessing yes";;
                                dnl Guess yes on NetBSD >= 3.
          netbsd[1-2]*)         gl_cv_func_snprintf_truncation_c99="guessing no";;
-         netbsd*)              gl_cv_func_snprintf_truncation_c99="guessing yes";;
+         netbsd*           )   gl_cv_func_snprintf_truncation_c99="guessing yes";;
                                dnl Guess yes on BeOS.
          beos*)                gl_cv_func_snprintf_truncation_c99="guessing yes";;
                                dnl If we don't know, assume the worst.
@@ -396,6 +399,7 @@ dnl   HP-UX 10.20, 11.00, 11.11, 11.23     #  #  .  .  .  .  #
 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   mingw                                #  #  .  #  .  #  #