* m4/strtoumax.m4 (gl_FUNC_STRTOUMAX): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRTOUMAX invocations
from here...
* modules/strtoumax (configure.ac): ... to here.
+2011-05-22 Bruno Haible <bruno@clisp.org>
+
+ strtoumax: Move AC_LIBOBJ invocations to module description.
+ * m4/strtoumax.m4 (gl_FUNC_STRTOUMAX): Call AC_CHECK_FUNCS instead of
+ AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRTOUMAX invocations
+ from here...
+ * modules/strtoumax (configure.ac): ... to here.
+
2011-05-22 Bruno Haible <bruno@clisp.org>
strtoimax: Move AC_LIBOBJ invocations to module description.
-# strtoumax.m4 serial 9
+# strtoumax.m4 serial 10
dnl Copyright (C) 2002-2004, 2006, 2009-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
if test "$ac_cv_have_decl_strtoumax" != yes; then
HAVE_DECL_STRTOUMAX=0
- AC_REPLACE_FUNCS([strtoumax])
- if test $ac_cv_func_strtoumax = no; then
- gl_PREREQ_STRTOUMAX
- fi
+ AC_CHECK_FUNCS([strtoumax])
fi
])
configure.ac:
gl_FUNC_STRTOUMAX
+if test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no; then
+ AC_LIBOBJ([strtoumax])
+ gl_PREREQ_STRTOUMAX
+fi
gl_INTTYPES_MODULE_INDICATOR([strtoumax])
Makefile.am: