diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 16 | ||||
-rw-r--r-- | defines.h | 4 |
3 files changed, 21 insertions, 4 deletions
@@ -1,6 +1,11 @@ | |||
1 | 20000314 | 1 | 20000314 |
2 | - Include macro for IN6_IS_ADDR_V4MAPPED. Report from | 2 | - Include macro for IN6_IS_ADDR_V4MAPPED. Report from |
3 | peter@frontierflying.com | 3 | peter@frontierflying.com |
4 | - Include /usr/local/include and /usr/local/lib for systems that don't | ||
5 | do it themselves | ||
6 | - -R/usr/local/lib for Solaris | ||
7 | - Fix RSAref detection | ||
8 | - Fix IN6_IS_ADDR_V4MAPPED macro | ||
4 | 9 | ||
5 | 20000311 | 10 | 20000311 |
6 | - Detect RSAref | 11 | - Detect RSAref |
diff --git a/configure.in b/configure.in index 4f1e4796e..1463748af 100644 --- a/configure.in +++ b/configure.in | |||
@@ -20,6 +20,8 @@ AC_SUBST(PERL) | |||
20 | case "$host" in | 20 | case "$host" in |
21 | *-*-aix*) | 21 | *-*-aix*) |
22 | AFS_LIBS="-lld" | 22 | AFS_LIBS="-lld" |
23 | CFLAGS="$CFLAGS -I/usr/local/include" | ||
24 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
23 | AC_DEFINE(BROKEN_GETADDRINFO) | 25 | AC_DEFINE(BROKEN_GETADDRINFO) |
24 | ;; | 26 | ;; |
25 | *-*-hpux10*) | 27 | *-*-hpux10*) |
@@ -27,6 +29,8 @@ case "$host" in | |||
27 | CFLAGS="$CFLAGS -Aa" | 29 | CFLAGS="$CFLAGS -Aa" |
28 | fi | 30 | fi |
29 | CFLAGS="$CFLAGS -D_HPUX_SOURCE" | 31 | CFLAGS="$CFLAGS -D_HPUX_SOURCE" |
32 | CFLAGS="$CFLAGS -I/usr/local/include" | ||
33 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
30 | AC_DEFINE(IPADDR_IN_DISPLAY) | 34 | AC_DEFINE(IPADDR_IN_DISPLAY) |
31 | AC_DEFINE(USE_UTMPX) | 35 | AC_DEFINE(USE_UTMPX) |
32 | AC_MSG_CHECKING(for HPUX trusted system password database) | 36 | AC_MSG_CHECKING(for HPUX trusted system password database) |
@@ -43,11 +47,15 @@ case "$host" in | |||
43 | mansubdir=cat | 47 | mansubdir=cat |
44 | ;; | 48 | ;; |
45 | *-*-irix5*) | 49 | *-*-irix5*) |
50 | CFLAGS="$CFLAGS -I/usr/local/include" | ||
51 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
46 | MANTYPE='$(CATMAN)' | 52 | MANTYPE='$(CATMAN)' |
47 | no_libsocket=1 | 53 | no_libsocket=1 |
48 | no_libnsl=1 | 54 | no_libnsl=1 |
49 | ;; | 55 | ;; |
50 | *-*-irix6*) | 56 | *-*-irix6*) |
57 | CFLAGS="$CFLAGS -I/usr/local/include" | ||
58 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
51 | MANTYPE='$(CATMAN)' | 59 | MANTYPE='$(CATMAN)' |
52 | AC_MSG_WARN([*** Irix 6.x is not tested, please report you experiences *** ]) | 60 | AC_MSG_WARN([*** Irix 6.x is not tested, please report you experiences *** ]) |
53 | no_libsocket=1 | 61 | no_libsocket=1 |
@@ -62,11 +70,15 @@ case "$host" in | |||
62 | need_dash_r=1 | 70 | need_dash_r=1 |
63 | ;; | 71 | ;; |
64 | *-*-solaris*) | 72 | *-*-solaris*) |
73 | CFLAGS="$CFLAGS -I/usr/local/include" | ||
74 | LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib" | ||
65 | need_dash_r=1 | 75 | need_dash_r=1 |
66 | LDFLAGS="-L/usr/ucblib" | 76 | LDFLAGS="-L/usr/ucblib -R/usr/ucblib" |
67 | AC_DEFINE(USE_UTMPX) | 77 | AC_DEFINE(USE_UTMPX) |
68 | ;; | 78 | ;; |
69 | *-*-sysv*) | 79 | *-*-sysv*) |
80 | CFLAGS="$CFLAGS -I/usr/local/include" | ||
81 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
70 | AC_DEFINE(USE_UTMPX) | 82 | AC_DEFINE(USE_UTMPX) |
71 | MANTYPE='$(CATMAN)' | 83 | MANTYPE='$(CATMAN)' |
72 | mansubdir=cat | 84 | mansubdir=cat |
@@ -220,7 +232,7 @@ else | |||
220 | fi | 232 | fi |
221 | fi | 233 | fi |
222 | LIBS="$saved_LIBS -lcrypto" | 234 | LIBS="$saved_LIBS -lcrypto" |
223 | if test ! -z $WANTS_RSAREF ; then | 235 | if test ! -z "$WANTS_RSAREF" ; then |
224 | LIBS="$LIBS -lRSAglue -lrsaref" | 236 | LIBS="$LIBS -lRSAglue -lrsaref" |
225 | fi | 237 | fi |
226 | AC_MSG_RESULT($ssldir) | 238 | AC_MSG_RESULT($ssldir) |
@@ -239,8 +239,8 @@ typedef unsigned int size_t; | |||
239 | 239 | ||
240 | #if !defined(IN6_IS_ADDR_V4MAPPED) | 240 | #if !defined(IN6_IS_ADDR_V4MAPPED) |
241 | # define IN6_IS_ADDR_V4MAPPED(a) \ | 241 | # define IN6_IS_ADDR_V4MAPPED(a) \ |
242 | ((((uint32_t *) (a))[0] == 0) && (((uint32_t *) (a))[1] == 0) && \ | 242 | ((((u_int32_t *) (a))[0] == 0) && (((u_int32_t *) (a))[1] == 0) && \ |
243 | (((uint32_t *) (a))[2] == htonl (0xffff))) | 243 | (((u_int32_t *) (a))[2] == htonl (0xffff))) |
244 | #endif /* !defined(IN6_IS_ADDR_V4MAPPED) */ | 244 | #endif /* !defined(IN6_IS_ADDR_V4MAPPED) */ |
245 | 245 | ||
246 | #if !defined(__GNUC__) || (__GNUC__ < 2) | 246 | #if !defined(__GNUC__) || (__GNUC__ < 2) |