Displaying 3 results from an estimated 3 matches for "have_dev_ptc".
Did you mean:
have_dev_ptmx
2002 Apr 03
2
cross compilation?
...[ true ], [ AC_DEFINE(BROKEN_SNPRINTF) ]
+
],
+
[ true ],
+
[ AC_DEFINE(BROKEN_SNPRINTF) ],
+
[ AC_DEFINE(BROKEN_SNPRINTF) ]
)
fi
AC_SUBST(NO_SFTP)
@@ -1776,12 +1779,11 @@
]
)
fi
-AC_CHECK_FILE("/dev/ptc",
-
[
-
AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC)
-
have_dev_ptc=1
-
]
-)
+
+if test -f "/dev/ptc" ; then
+
AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC)
+
have_dev_ptc=1
+fi
# Options from here on. Some of these are preset by platform above
AC_ARG_WITH(mantype,
--- sftp-glob.c.orig Tue Feb 12 19:10:33 2002
+++ sftp-glob.c Wed Mar 27 14:27:30 2002...
2002 Jun 29
0
[Bug 321] New: configure does not work when cross compiling
...;/dev/ptmx",
-
[
-
AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX)
-
have_dev_ptmx=1
-
]
-
)
+
if test -f "/dev/ptc" ; then
+
AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX)
+
have_dev_ptmx=1
+
fi
fi
fi
-AC_CHECK_FILE("/dev/ptc",
-
[
-
AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC)
-
have_dev_ptc=1
-
]
-)
+
+if test -f "/dev/ptc" ; then
+
AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC)
+
have_dev_ptc=1
+fi
# Options from here on. Some of these are preset by platform above
AC_ARG_WITH(mantype,
--- openssh-3.4p1/sftp-glob.c Tue Feb 12 19:10:33 2002
+++ openssh-3.4p1.ayr/sftp-glob.c F...
2004 Dec 27
0
[patch] some buildsystem fixes for crosscompiling
...control_in_msghdr="yes" ]
)
])
if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
@@ -2115,13 +2153,14 @@
)
fi
fi
+if test "$cross_compiling" != yes; then
AC_CHECK_FILE("/dev/ptc",
[
AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC)
have_dev_ptc=1
]
)
-
+fi
# Options from here on. Some of these are preset by platform above
AC_ARG_WITH(mantype,
[ --with-mantype=man|cat|doc Set man page type],
@@ -2215,15 +2254,18 @@
fi
# check for /etc/default/login and use it if present.
+#if test "$cross_compiling" != yes; then
AC_...