diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/lftp/lftp-3.0.1/pty.patch | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/lftp/lftp-3.0.1/pty.patch')
-rw-r--r-- | packages/lftp/lftp-3.0.1/pty.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/lftp/lftp-3.0.1/pty.patch b/packages/lftp/lftp-3.0.1/pty.patch index e69de29bb2..166b665f3f 100644 --- a/packages/lftp/lftp-3.0.1/pty.patch +++ b/packages/lftp/lftp-3.0.1/pty.patch @@ -0,0 +1,31 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- lftp-2.6.11/m4/pty.m4~pty ++++ lftp-2.6.11/m4/pty.m4 +@@ -4,14 +4,20 @@ + *-*-sco3.2v4*) no_dev_ptmx=1;; + *-*-sco3.2v5*) no_dev_ptmx=1;; + esac ++AC_SEARCH_LIBS(openpty,util, ++ [ ++ AC_DEFINE(HAVE_OPENPTY,1,[define if you have openpty function]) ++ no_dev_ptc=yes ++ no_dev_ptmx=yes ++ ]) ++AC_CHECK_FUNCS([_getpty]) + if test -z "$no_dev_ptmx" ; then + AC_CHECK_FILE("/dev/ptmx", [ + AC_DEFINE(HAVE_DEV_PTMX,1,[define if you have /dev/ptmx device])]) + fi ++if test -z "$no_dev_ptc" ; then + AC_CHECK_FILE("/dev/ptc", [ + AC_DEFINE(HAVE_DEV_PTS_AND_PTC,1,[define if you have /dev/ptc device])]) ++fi + AC_CHECK_HEADERS([util.h sys/stropts.h pty.h]) +-AC_SEARCH_LIBS(openpty,util, +- [AC_DEFINE(HAVE_OPENPTY,1,[define if you have openpty function])]) +-AC_CHECK_FUNCS([_getpty]) + ]) |