Branch: Tag:

2001-02-07

2001-02-07 01:51:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for NT.

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

1:   # - # $Id: configure.in,v 1.23 2001/02/06 22:59:25 grubba Exp $ + # $Id: configure.in,v 1.24 2001/02/07 01:51:27 grubba Exp $   #   # Configure script for the mysql-module   #
246:    changequote([, ])dnl    AC_MSG_CHECKING(for $1)    AC_CACHE_VAL(AC_CV_NAME, [ -  AC_TRY_COMPILE([ +  AC_TRY_LINK([ + #ifdef HAVE_WINSOCK_H + #include <winsock.h> + #endif +    #ifdef HAVE_MYSQL_H   #include <mysql.h>   #else
256:   #error Need mysql.h headerfile!   #endif   #endif -  - #ifndef STDCALL - #define STDCALL - #endif /* STDCALL */ -  +     ], [    void (*foo__)() = (void (*)())&$1;    ], [AC_CV_NAME="yes"], [AC_CV_NAME="no"])