Mercurial > hg > octave-kai > gnulib-hg
changeset 15025:5cec5df6b606
linkat: Move AC_LIBOBJ invocations to module description.
* m4/linkat.m4 (gl_FUNC_LINKAT): Move AC_LIBOBJ invocations from
here...
* modules/linkat (configure.ac): ... to here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 21 May 2011 13:44:22 +0200 |
parents | ff4e14f9c0be |
children | a5ed10e5034d |
files | ChangeLog m4/linkat.m4 modules/linkat |
diffstat | 3 files changed, 14 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-21 Bruno Haible <bruno@clisp.org> + + linkat: Move AC_LIBOBJ invocations to module description. + * m4/linkat.m4 (gl_FUNC_LINKAT): Move AC_LIBOBJ invocations from + here... + * modules/linkat (configure.ac): ... to here. + 2011-05-21 Bruno Haible <bruno@clisp.org> link: Respect rules for use of AC_LIBOBJ.
--- a/m4/linkat.m4 +++ b/m4/linkat.m4 @@ -1,4 +1,4 @@ -# serial 5 +# serial 6 # See if we need to provide linkat replacement. dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. @@ -19,8 +19,6 @@ AC_CHECK_HEADERS_ONCE([sys/param.h]) if test $ac_cv_func_linkat = no; then HAVE_LINKAT=0 - AC_LIBOBJ([linkat]) - AC_LIBOBJ([at-func2]) else AC_CACHE_CHECK([whether linkat(,AT_SYMLINK_FOLLOW) works], [gl_cv_func_linkat_follow], @@ -90,7 +88,6 @@ if test "$gl_cv_func_linkat_follow" != yes \ || test $gl_linkat_slash_bug = 1; then REPLACE_LINKAT=1 - AC_LIBOBJ([linkat]) AC_DEFINE_UNQUOTED([LINKAT_TRAILING_SLASH_BUG], [$gl_linkat_slash_bug], [Define to 1 if linkat fails to recognize a trailing slash.]) fi