diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-10-12 13:00:38 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-10-12 13:00:38 -0700 |
commit | 46e5e833d91758f31fbbea3c894cd0c90e78c484 (patch) | |
tree | ada8756fe35e7b4c60b77a3344e3ec7beaecf11e /m4/strtoimax.m4 | |
parent | 2f4586ad044ba5deedadbccd4ad913c565ca3367 (diff) |
Merge from gnulib.
This incorporates:
2013-10-10 strtoumax: port to Solaris 8
2013-10-09 strtoimax, strtoumax: port to HP-UX 11.11
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* lib/inttypes.in.h, lib/strtoimax.c, m4/inttypes.m4, m4/strtoimax.m4:
* m4/strtoumax.m4:
Update from gnulib.
Diffstat (limited to 'm4/strtoimax.m4')
-rw-r--r-- | m4/strtoimax.m4 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4 index bee93b21e8..20454dc029 100644 --- a/m4/strtoimax.m4 +++ b/m4/strtoimax.m4 @@ -1,4 +1,4 @@ -# strtoimax.m4 serial 13 +# strtoimax.m4 serial 14 dnl Copyright (C) 2002-2004, 2006, 2009-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -15,7 +15,7 @@ AC_DEFUN([gl_FUNC_STRTOIMAX], HAVE_DECL_STRTOIMAX=0 fi - if test $ac_cv_func_strtoimax = yes; then + if test "$ac_cv_func_strtoimax" = yes; then HAVE_STRTOIMAX=1 dnl On AIX 5.1, strtoimax() fails for values outside the 'int' range. AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles @@ -72,6 +72,10 @@ int main () *no) REPLACE_STRTOIMAX=1 ;; esac else + if test "$ac_cv_have_decl_strtoimax" = yes; then + # HP-UX 11.11 has "#define strtoimax(...) ..." but no function. + REPLACE_STRTOIMAX=1 + fi HAVE_STRTOIMAX=0 fi ]) |