projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
extern-inline: make safe for -Wundef usage
[gnulib.git]
/
modules
/
openpty
diff --git
a/modules/openpty
b/modules/openpty
index
bfe427d
..
8d174da
100644
(file)
--- a/
modules/openpty
+++ b/
modules/openpty
@@
-8,11
+8,15
@@
m4/pty.m4
Depends-on:
pty
extensions
Depends-on:
pty
extensions
-fcntl-h
-ioctl
+fcntl-h [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1]
+posix_openpt [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1]
+ioctl [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1]
configure.ac:
configure.ac:
-gl_OPENPTY
+gl_FUNC_OPENPTY
+if test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1; then
+ AC_LIBOBJ([openpty])
+fi
gl_PTY_MODULE_INDICATOR([openpty])
Makefile.am:
gl_PTY_MODULE_INDICATOR([openpty])
Makefile.am:
@@
-24,7
+28,7
@@
Link:
$(PTY_LIB)
License:
$(PTY_LIB)
License:
-LGPL
+LGPL
v2+
Maintainer:
Simon Josefsson
Maintainer:
Simon Josefsson