Commit 0f5610c0 authored by Bruno Haible's avatar Bruno Haible

waitpid: Move AC_LIBOBJ invocations to module description.

* m4/waitpid.m4 (gl_FUNC_WAITPID): Set HAVE_WAITPID. Move AC_LIBOBJ
invocation from here...
* modules/waitpid (configure.ac): ... to here.
parent 41d7a701
2011-05-22 Bruno Haible <bruno@clisp.org>
waitpid: Move AC_LIBOBJ invocations to module description.
* m4/waitpid.m4 (gl_FUNC_WAITPID): Set HAVE_WAITPID. Move AC_LIBOBJ
invocation from here...
* modules/waitpid (configure.ac): ... to here.
2011-05-22 Bruno Haible <bruno@clisp.org>
utimensat: Move AC_LIBOBJ invocations to module description.
# waitpid.m4 serial 1
# waitpid.m4 serial 2
dnl Copyright (C) 2010-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
......@@ -7,9 +7,8 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_WAITPID],
[
AC_REQUIRE([AC_CANONICAL_HOST])
HAVE_WAITPID=1
case $host_os in
mingw*)
AC_LIBOBJ([waitpid])
;;
mingw*) HAVE_WAITPID=0 ;;
esac
])
......@@ -10,6 +10,9 @@ sys_wait
configure.ac:
gl_FUNC_WAITPID
if test $HAVE_WAITPID = 0; then
AC_LIBOBJ([waitpid])
fi
gl_SYS_WAIT_MODULE_INDICATOR([waitpid])
Makefile.am:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment