* m4/strtoull.m4 (gl_FUNC_STRTOULL): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRTOULL invocations
from here...
* modules/strtoull (configure.ac): ... to here.
+2011-05-22 Bruno Haible <bruno@clisp.org>
+
+ strtoull: Move AC_LIBOBJ invocations to module description.
+ * m4/strtoull.m4 (gl_FUNC_STRTOULL): Call AC_CHECK_FUNCS instead of
+ AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRTOULL invocations
+ from here...
+ * modules/strtoull (configure.ac): ... to here.
+
2011-05-22 Bruno Haible <bruno@clisp.org>
strtoll: Move AC_LIBOBJ invocations to module description.
2011-05-22 Bruno Haible <bruno@clisp.org>
strtoll: Move AC_LIBOBJ invocations to module description.
dnl Copyright (C) 2002, 2004, 2006, 2008-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,
dnl Copyright (C) 2002, 2004, 2006, 2008-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,
dnl unless the type 'unsigned long long int' exists.
AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
if test "$ac_cv_type_unsigned_long_long_int" = yes; then
dnl unless the type 'unsigned long long int' exists.
AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
if test "$ac_cv_type_unsigned_long_long_int" = yes; then
- AC_REPLACE_FUNCS([strtoull])
+ AC_CHECK_FUNCS([strtoull])
if test $ac_cv_func_strtoull = no; then
HAVE_STRTOULL=0
if test $ac_cv_func_strtoull = no; then
HAVE_STRTOULL=0
configure.ac:
gl_FUNC_STRTOULL
configure.ac:
gl_FUNC_STRTOULL
+if test $HAVE_STRTOULL = 0; then
+ AC_LIBOBJ([strtoull])
+ gl_PREREQ_STRTOULL
+fi
gl_STDLIB_MODULE_INDICATOR([strtoull])
Makefile.am:
gl_STDLIB_MODULE_INDICATOR([strtoull])
Makefile.am: