Mercurial > hg > octave-nkf > gnulib-hg
changeset 12543:62393c457544
times: Update after sys_times changed.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 31 Dec 2009 21:31:35 +0100 |
parents | ea823743f290 |
children | 3e1610fee875 |
files | ChangeLog m4/times.m4 modules/times |
diffstat | 3 files changed, 24 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-12-31 Bruno Haible <bruno@clisp.org> + + times: Update after sys_times changed. + * m4/times.m4: New file, extracted from modules/times. Set HAVE_TIMES. + * modules/times (Files): Add it. + (configure.ac): Invoke gl_FUNC_TIMES. + 2009-12-31 Bruno Haible <bruno@clisp.org> Use AC_C_INLINE where necessary.
new file mode 100644 --- /dev/null +++ b/m4/times.m4 @@ -0,0 +1,15 @@ +# times.m4 serial 1 +dnl Copyright (C) 2009 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_FUNC_TIMES], +[ + AC_REQUIRE([gl_SYS_TIMES_H_DEFAULTS]) + AC_CHECK_FUNCS_ONCE([times]) + if test $ac_cv_func_times = no; then + HAVE_TIMES=0 + AC_LIBOBJ([times]) + fi +])