Use AC_LIBSOURCES and AC_LIBOBJ.

This commit is contained in:
Jim Meyering committed 2005-06-23 16:24:06 +00:00
1 parent d8ff99062d
commit 47237c979f
1 file changed
+5 -2
+5 -2
View File
@@ -1,11 +1,14 @@
# xreadlink.m4 serial 5
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
#serial 6
dnl Copyright (C) 2002, 2003, 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_XREADLINK],
[
AC_LIBSOURCES([xreadlink.c, xreadlink.h])
AC_LIBOBJ([xreadlink])
dnl Prerequisites of lib/xreadlink.c.
AC_REQUIRE([gt_TYPE_SSIZE_T])
AC_CHECK_HEADERS_ONCE(unistd.h)