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

version» Context lines:

pike.git/src/modules/Mysql/configure.in:1:   # - # $Id: configure.in,v 1.3 1998/03/08 13:24:54 grubba Exp $ + # $Id: configure.in,v 1.4 1998/10/20 20:29:22 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:22:      sinclude(../module_configure.in)      OLD_LIBS=$LIBS   OLD_LDFLAGS=$LDFLAGS   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 = xyes; then + if test x$with_mysql = xno; then +  : + else +  AC_MSG_CHECKING(for Mysql lib-directory)    -  AC_MSG_CHECKING(Checking for Mysql lib-directory) -  +     AC_CACHE_VAL(pike_cv_mysql_lib_dir, [    for pike_cv_mysql_lib_dir in /usr/local/lib/mysql /usr/local/mysql/lib/mysql /usr/gnu/lib/mysql /usr/lib/mysql /lib/mysql /usr/local/mysql/lib /usr/local/mysql/mach-lib-thread no; do    if test -d $pike_cv_mysql_lib_dir/.; then    break    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="-L$pike_cv_mysql_lib_dir ${LDFLAGS}"    fi    -  AC_MSG_CHECKING(Checking for Mysql include-directory) +  AC_MSG_CHECKING(for Mysql include-directory)       AC_CACHE_VAL(pike_cv_mysql_include_dir, [    for pike_cv_mysql_include_dir in /usr/local/include/mysql /usr/local/mysql/include/mysql /usr/gnu/include/mysql /usr/include/mysql /include/mysql /usr/local/mysql/include no; do    if test -d $pike_cv_mysql_include_dir/.; then    break    else    :    fi    done    ])
pike.git/src/modules/Mysql/configure.in:166:       LIBS=$OLD_LIBS    CPPFLAGS=$OLD_CPPFLAGS    LDFLAGS=$OLD_LDFLAGS    MYSQL_LIBS=""    else    AC_DEFINE(HAVE_MYSQL)       AC_CHECK_FUNCS(mysql_real_query mysql_fetch_lengths mysql_port)    fi - else -  : +    fi      AC_SUBST(MYSQL_LIBS)      AC_OUTPUT(Makefile,echo FOO >stamp-h )