pike.git / src / modules / Mysql / configure.in

version» Context lines:

pike.git/src/modules/Mysql/configure.in:1:   # - # $Id: configure.in,v 1.18 2001/02/08 12:12:39 tomas Exp $ + # $Id: configure.in,v 1.19 2001/03/02 14:04:54 grubba Exp $   #   # Configure script for the mysql-module   #   # Henrik Grubbström   #      #   # NOTE:   # Prior to 3.20.0 After 3.20.0   # --------------------------------------------------------------
pike.git/src/modules/Mysql/configure.in:27:   OLD_CPPFLAGS=$CPPFLAGS   MYSQL_LIBS=""      AC_ARG_WITH(mysql, [ --without-mysql no support for the Mysql database],[],[with_mysql=yes])      if test x$with_mysql = xno; then    :   else    AC_MSG_CHECKING(for Mysql lib-directory)    -  libdirs="/usr/local/lib/mysql /usr/local/mysql/lib/mysql /opt/lib/mysql /opt/mysql/lib/mysql /usr/gnu/lib/mysql /usr/lib/mysql /lib/mysql /usr/local/mysql/lib /usr/local/mysql/mach-lib-thread no" -  incdirs="/usr/local/include/mysql /usr/local/mysql/include/mysql /opt/include/mysql /opt/mysql/include/mysql /usr/gnu/include/mysql /usr/include/mysql /include/mysql /usr/local/mysql/include no" +  libdirs="$with_root/usr/local/lib/mysql $with_root/usr/local/mysql/lib/mysql $with_root/opt/lib/mysql $with_root/opt/mysql/lib/mysql $with_root/usr/gnu/lib/mysql $with_root/usr/lib/mysql $with_root/lib/mysql $with_root/usr/local/mysql/lib $with_root/usr/local/mysql/mach-lib-thread no" +  incdirs="$with_root/usr/local/include/mysql $with_root/usr/local/mysql/include/mysql $with_root/opt/include/mysql $with_root/opt/mysql/include/mysql $with_root/usr/gnu/include/mysql $with_root/usr/include/mysql $with_root/include/mysql $with_root/usr/local/mysql/include no"       if test x$with_mysql = xyes; then :; else    # Mysql installation directory specified.       libdirs="$with_mysql/lib/mysql $with_mysql/lib $libdirs"    incdirs="$with_mysql/include/mysql $with_mysql/include $incdirs"    fi       AC_CACHE_VAL(pike_cv_mysql_lib_dir, [    for pike_cv_mysql_lib_dir in $libdirs; do
pike.git/src/modules/Mysql/configure.in:51:    else    :    fi    done    ])       AC_MSG_RESULT($pike_cv_mysql_lib_dir)       if test x$pike_cv_mysql_lib_dir = xno; then :; else    echo Adding $pike_cv_mysql_lib_dir to the library search path. -  LDFLAGS="-R$pike_cv_mysql_lib_dir -L$pike_cv_mysql_lib_dir ${LDFLAGS}" +  LDFLAGS="${LDFLAGS} -R$pike_cv_mysql_lib_dir -L$pike_cv_mysql_lib_dir"    fi       AC_MSG_CHECKING(for Mysql include-directory)       AC_CACHE_VAL(pike_cv_mysql_include_dir, [    for pike_cv_mysql_include_dir in $incdirs; do    if test -d $pike_cv_mysql_include_dir/.; then    break    else    :    fi    done    ])       AC_MSG_RESULT($pike_cv_mysql_include_dir)       if test x$pike_cv_mysql_include_dir = xno; then :; else    echo Adding $pike_cv_mysql_include_dir to the include search path. -  CPPFLAGS="-I$pike_cv_mysql_include_dir ${CPPFLAGS}" +  CPPFLAGS="${CPPFLAGS} -I$pike_cv_mysql_include_dir"    fi       # Header file       AC_CHECK_HEADERS(winsock.h mysql.h mysql/mysql.h errmsg.h mysql/errmsg.h)       # Mysql libs       pike_cv_mysql="unknown"