summaryrefslogtreecommitdiff
path: root/m4/open.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-12-21 12:54:21 +0100
committerBruno Haible <bruno@clisp.org>2010-12-21 12:54:21 +0100
commita4f38ec6be21630e9640cf8ead742c3a8d733fc2 (patch)
tree95a9c03697bd0f77afb761713aa54b5e4741c521 /m4/open.m4
parent5ab02c057ac6c4039991e48fdf957449b7254eb4 (diff)
downloadgnulib-a4f38ec6be21630e9640cf8ead742c3a8d733fc2.tar.gz
Fix cross-compilation guesses on Solaris.
* m4/fopen.m4 (gl_FUNC_FOPEN): Correct shell pattern so that it does not match "solaris2.10". * m4/open.m4 (gl_FUNC_OPEN): Likewise. * m4/printf.m4 (gl_SNPRINTF_TRUNCATION_C99, gl_SNPRINTF_DIRECTIVE_N, gl_VSNPRINTF_ZEROSIZE_C99): Likewise.
Diffstat (limited to 'm4/open.m4')
-rw-r--r--m4/open.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/open.m4 b/m4/open.m4
index 6e79614e54..9b22e9d3a9 100644
--- a/m4/open.m4
+++ b/m4/open.m4
@@ -1,4 +1,4 @@
-# open.m4 serial 10
+# open.m4 serial 11
dnl Copyright (C) 2007-2010 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -44,7 +44,7 @@ int main ()
[
changequote(,)dnl
case "$host_os" in
- freebsd* | aix* | hpux* | solaris2.[0-9]*)
+ freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
gl_cv_func_open_slash="guessing no" ;;
*)
gl_cv_func_open_slash="guessing yes" ;;