]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/stunnel/stunnel-4.09/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / stunnel / stunnel-4.09 / configure.patch
1 Index: stunnel-4.09/configure.ac
2 ===================================================================
3 --- stunnel-4.09.orig/configure.ac      2005-02-28 11:24:17.000000000 -0500
4 +++ stunnel-4.09/configure.ac   2005-04-01 22:12:06.007494464 -0500
5 @@ -35,8 +35,30 @@
6  AC_CHECK_SIZEOF(unsigned long)
7  
8  AC_MSG_NOTICE([**************************************** PTY device files])
9 -AC_CHECK_FILE("/dev/ptmx", AC_DEFINE(HAVE_DEV_PTMX))
10 -AC_CHECK_FILE("/dev/ptc", AC_DEFINE(HAVE_DEV_PTS_AND_PTC))
11 +AC_ARG_WITH(ptmx,
12 +    [  --with-ptmx      /dev/ptmx exists (default: check for existance)],
13 +    [
14 +        if test x"$withval" = "xyes"; then
15 +           AC_DEFINE(HAVE_DEV_PTMX)
16 +        fi
17 +    ],
18 +    [
19 +        # Check for ptmx device
20 +        AC_CHECK_FILE("/dev/ptmx", AC_DEFINE(HAVE_DEV_PTMX))
21 +    ]
22 +)
23 +AC_ARG_WITH(ptc,
24 +    [  --with-ptc      /dev/ptc exists (default: check for existance)],
25 +    [
26 +        if test x"$withval" = "xyes"; then
27 +           AC_DEFINE(HAVE_DEV_PTS_AND_PTC)
28 +        fi
29 +    ],
30 +    [
31 +        # Check for ptc device
32 +        AC_CHECK_FILE("/dev/ptc", AC_DEFINE(HAVE_DEV_PTS_AND_PTC))
33 +    ]
34 +)
35  
36  AC_MSG_NOTICE([**************************************** SSL and entropy])
37  checkssldir() { :