diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-22 17:46:30 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:07:04 +0200 |
commit | 41d7a701b4d32af0f1a858ab633e598d8c0f1229 (patch) | |
tree | fbc642c2691107123d09a147957de56bf4cef235 | |
parent | 269b74bfc8dac28d8a9c6c3e7232c2641433e073 (diff) | |
download | gnulib-41d7a701b4d32af0f1a858ab633e598d8c0f1229.tar.gz |
utimensat: Move AC_LIBOBJ invocations to module description.
* m4/utimensat.m4 (gl_FUNC_UTIMENSAT): Move AC_LIBOBJ invocations from
here...
* modules/utimensat (configure.ac): ... to here.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | m4/utimensat.m4 | 4 | ||||
-rw-r--r-- | modules/utimensat | 3 |
3 files changed, 11 insertions, 3 deletions
@@ -1,5 +1,12 @@ 2011-05-22 Bruno Haible <bruno@clisp.org> + utimensat: Move AC_LIBOBJ invocations to module description. + * m4/utimensat.m4 (gl_FUNC_UTIMENSAT): Move AC_LIBOBJ invocations from + here... + * modules/utimensat (configure.ac): ... to here. + +2011-05-22 Bruno Haible <bruno@clisp.org> + usleep: Move AC_LIBOBJ invocations to module description. * m4/usleep.m4 (gl_FUNC_USLEEP): Move AC_LIBOBJ invocations from here... diff --git a/m4/utimensat.m4 b/m4/utimensat.m4 index 78472a5fbd..ddba726071 100644 --- a/m4/utimensat.m4 +++ b/m4/utimensat.m4 @@ -1,4 +1,4 @@ -# serial 4 +# serial 5 # See if we need to provide utimensat replacement. dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. @@ -15,7 +15,6 @@ AC_DEFUN([gl_FUNC_UTIMENSAT], AC_CHECK_FUNCS_ONCE([utimensat]) if test $ac_cv_func_utimensat = no; then HAVE_UTIMENSAT=0 - AC_LIBOBJ([utimensat]) else AC_CACHE_CHECK([whether utimensat works], [gl_cv_func_utimensat_works], @@ -67,7 +66,6 @@ choke me [gl_cv_func_utimensat_works="guessing no"])]) if test "$gl_cv_func_utimensat_works" != yes; then REPLACE_UTIMENSAT=1 - AC_LIBOBJ([utimensat]) fi fi ]) diff --git a/modules/utimensat b/modules/utimensat index 858fee18b7..a70ca8cbb2 100644 --- a/modules/utimensat +++ b/modules/utimensat @@ -13,6 +13,9 @@ utimens [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] configure.ac: gl_FUNC_UTIMENSAT +if test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1; then + AC_LIBOBJ([utimensat]) +fi gl_SYS_STAT_MODULE_INDICATOR([utimensat]) Makefile.am: |