Branch: Tag:

2001-02-27

2001-02-27 18:52:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved support for --with-root.

Rev: src/aclocal.m4:1.29
Rev: src/modules/Gz/configure.in:1.22
Rev: src/modules/Msql/configure.in:1.6
Rev: src/modules/Mysql/configure.in:1.27
Rev: src/modules/Odbc/configure.in:1.25
Rev: src/modules/Oracle/configure.in:1.32
Rev: src/modules/Postgres/configure.in:1.12
Rev: src/modules/Ssleay/configure.in:1.7
Rev: src/modules/_Crypto/configure.in:1.14
Rev: src/modules/sybase/configure.in:1.5

1: - # $Id: configure.in,v 1.6 2001/02/14 21:20:41 mirar Exp $ + # $Id: configure.in,v 1.7 2001/02/27 18:52:25 grubba Exp $   AC_INIT(ssleay.c)      AC_CONFIG_HEADER(config.h)
20:       AC_CACHE_VAL(pike_cv_ssleay_exists,    [ -  if test -d /usr/local/ssl ; then +  if test -d $with_root/usr/local/ssl ; then    pike_cv_ssleay_exists="yes"    else    pike_cv_ssleay_exists="no"
31:       if test x$pike_cv_ssleay_exists = xyes; then    -  if test -d /usr/local/ssl/lib ; then -  echo Added /usr/local/ssl/lib to the library search path. -  LDFLAGS="-L/usr/local/ssl/lib ${LDFLAGS}" +  if test -d $with_root/usr/local/ssl/lib ; then +  echo Added $with_root/usr/local/ssl/lib to the library search path. +  LDFLAGS="-L$with_root/usr/local/ssl/lib ${LDFLAGS}"    # link with libc first, so we get the right definition    # of crypt()    LDFLAGS="-lc ${LDFLAGS}"    fi    -  if test -d /usr/local/ssl/include ; then -  echo Added /usr/local/ssl/include to the include search path. -  CPPFLAGS="-I/usr/local/ssl/include ${CPPFLAGS}" +  if test -d $with_root/usr/local/ssl/include ; then +  echo Added $with_root/usr/local/ssl/include to the include search path. +  CPPFLAGS="-I$with_root/usr/local/ssl/include ${CPPFLAGS}"    fi       pike_cv_ssleay="yes"