* m4/pty.m4 (gl_FUNC_FORKPTY): Move AC_LIBOBJ invocations from here...
* modules/forkpty (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ forkpty: Move AC_LIBOBJ invocations to module description.
+ * m4/pty.m4 (gl_FUNC_FORKPTY): Move AC_LIBOBJ invocations from here...
+ * modules/forkpty (configure.ac): ... to here.
+
2011-05-21 Bruno Haible <bruno@clisp.org>
ptsname: Move AC_LIBOBJ invocations to module description.
-# pty.m4 serial 9
+# pty.m4 serial 10
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,
])
if test $gl_cv_func_forkpty_const != yes; then
REPLACE_FORKPTY=1
- AC_LIBOBJ([forkpty])
fi
else
dnl The system does not have forkpty.
HAVE_FORKPTY=0
- AC_LIBOBJ([forkpty])
fi
])
configure.ac:
gl_FUNC_FORKPTY
+if test $HAVE_FORKPTY = 0 || test $REPLACE_FORKPTY = 1; then
+ AC_LIBOBJ([forkpty])
+fi
gl_PTY_MODULE_INDICATOR([forkpty])
Makefile.am: