Branch: Tag:

1998-10-20

1998-10-20 20:29:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some minor changes.

Rev: src/modules/Mysql/configure.in:1.8

1:   # - # $Id: configure.in,v 1.7 1998/09/25 21:07:35 grubba Exp $ + # $Id: configure.in,v 1.8 1998/10/20 20:29:08 grubba Exp $   #   # Configure script for the mysql-module   #
29:      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
50:    LDFLAGS="-R$pike_cv_mysql_lib_dir -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
209:    # Note: mysql_port and mysql_unix_port aren't functions, but that shouldn't matter    AC_CHECK_FUNCS(mysql_real_query mysql_fetch_lengths mysql_port mysql_unix_port)    fi - else -  : +    fi      AC_SUBST(MYSQL_LIBS)      AC_OUTPUT(Makefile,echo FOO >stamp-h )