summaryrefslogtreecommitdiff
path: root/modules/strtol
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-22 14:05:58 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:55 +0200
commitd883d21093429a7826bf42556d4db32dd2d3975c (patch)
tree5309b5e58c4272c5c5bf258f07ddd1624745ebd3 /modules/strtol
parent355f1de54abe6f4ac302c35fa68ba0cbe4038ac6 (diff)
downloadgnulib-d883d21093429a7826bf42556d4db32dd2d3975c.tar.gz
strtol: Move AC_LIBOBJ invocations to module description.
* m4/strtol.m4 (gl_FUNC_STRTOL): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ invocation from here... * modules/strtol (configure.ac): ... to here.
Diffstat (limited to 'modules/strtol')
-rw-r--r--modules/strtol3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/strtol b/modules/strtol
index 654b2f77f3..65b6946390 100644
--- a/modules/strtol
+++ b/modules/strtol
@@ -15,6 +15,9 @@ Depends-on:
configure.ac:
gl_FUNC_STRTOL
+if test $ac_cv_func_strtol = no; then
+ AC_LIBOBJ([strtol])
+fi
Makefile.am: