diff options
author | Damien Miller <djm@mindrot.org> | 2000-03-14 13:44:01 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-03-14 13:44:01 +1100 |
commit | db819595d35cbf23eb4eeba2ad0ac54ef7e19036 (patch) | |
tree | 874e3b7f0a289c76aa08e631ee3f87cb095179b1 /configure.in | |
parent | 1c67c9969c80dbc1fcbbc381f1554e45745622eb (diff) |
- Include /usr/local/include and /usr/local/lib for systems that don't
do it themselves
- -R/usr/local/lib for Solaris
- Fix RSAref detection
- Fix IN6_IS_ADDR_V4MAPPED macro
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 4f1e4796..1463748a 100644 --- a/configure.in +++ b/configure.in @@ -20,6 +20,8 @@ AC_SUBST(PERL) case "$host" in *-*-aix*) AFS_LIBS="-lld" + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" AC_DEFINE(BROKEN_GETADDRINFO) ;; *-*-hpux10*) @@ -27,6 +29,8 @@ case "$host" in CFLAGS="$CFLAGS -Aa" fi CFLAGS="$CFLAGS -D_HPUX_SOURCE" + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" AC_DEFINE(IPADDR_IN_DISPLAY) AC_DEFINE(USE_UTMPX) AC_MSG_CHECKING(for HPUX trusted system password database) @@ -43,11 +47,15 @@ case "$host" in mansubdir=cat ;; *-*-irix5*) + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" MANTYPE='$(CATMAN)' no_libsocket=1 no_libnsl=1 ;; *-*-irix6*) + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" MANTYPE='$(CATMAN)' AC_MSG_WARN([*** Irix 6.x is not tested, please report you experiences *** ]) no_libsocket=1 @@ -62,11 +70,15 @@ case "$host" in need_dash_r=1 ;; *-*-solaris*) + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib" need_dash_r=1 - LDFLAGS="-L/usr/ucblib" + LDFLAGS="-L/usr/ucblib -R/usr/ucblib" AC_DEFINE(USE_UTMPX) ;; *-*-sysv*) + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" AC_DEFINE(USE_UTMPX) MANTYPE='$(CATMAN)' mansubdir=cat @@ -220,7 +232,7 @@ else fi fi LIBS="$saved_LIBS -lcrypto" -if test ! -z $WANTS_RSAREF ; then +if test ! -z "$WANTS_RSAREF" ; then LIBS="$LIBS -lRSAglue -lrsaref" fi AC_MSG_RESULT($ssldir) |