Branch: Tag:

2001-02-06

2001-02-06 17:23:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved PIKE_CHECK_MYSQL_FUNC.

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

1:   # - # $Id: configure.in,v 1.20 2001/02/06 16:39:53 grubba Exp $ + # $Id: configure.in,v 1.21 2001/02/06 17:23:21 grubba Exp $   #   # Configure script for the mysql-module   #
261:   #define STDCALL   #endif /* STDCALL */    -  ], [ $1(); ], [$AC_CV_NAME="yes"], [$AC_CV_NAME="no"]) +  ], [ +  void (*foo__)() = (void (*)())&$1; +  ], [$AC_CV_NAME="yes"], [$AC_CV_NAME="no"])    ])    if test "$AC_CV_NAME" = "yes"; then    AC_DEFINE(translit(HAVE_$1,[a-z],[A-Z]))
272:    PIKE_CHECK_MYSQL_FUNC(mysql_real_query)    PIKE_CHECK_MYSQL_FUNC(mysql_fetch_lengths)    -  # The following two are variables. -  AC_CHECK_FUNCS(mysql_port mysql_unix_port) +  # Note: The following two are variables: +  PIKE_CHECK_MYSQL_FUNC(mysql_port) +  PIKE_CHECK_MYSQL_FUNC(mysql_unix_port)       if test "$ac_cv_func_mysql_fetch_lengths" = "yes"; then    #