summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-09 23:01:36 +0000
committerJim Meyering <jim@meyering.net>2005-03-09 23:01:36 +0000
commit2c60c397c89c3c77b0025c733c011969aa94ba28 (patch)
tree30531e7ddcf2c88b6d579118c310d08a8f0bb5c7
parent541acb39f756de4425654f0f5827362dccfcc07e (diff)
downloadcoreutils-2c60c397c89c3c77b0025c733c011969aa94ba28.tar.xz
(gl_XSTRTOL): Use AC_LIBSOURCES and AC_LIBOBJ to list the required files.
-rw-r--r--m4/xstrtol.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/m4/xstrtol.m4 b/m4/xstrtol.m4
index 2d76d2ff9..9fddbfa00 100644
--- a/m4/xstrtol.m4
+++ b/m4/xstrtol.m4
@@ -1,11 +1,14 @@
-# xstrtol.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+#serial 6
+dnl Copyright (C) 2002, 2003, 2004, 2005 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 with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_XSTRTOL],
[
+ AC_LIBSOURCES([xstrtol.c, xstrtol.h, intprops.h])
+ AC_LIBOBJ([xstrtol])
+
AC_REQUIRE([gl_PREREQ_XSTRTOL])
AC_REQUIRE([gl_PREREQ_XSTRTOUL])
])