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

version» Context lines:

pike.git/src/modules/Mysql/configure.in:1:   # - # $Id: configure.in,v 1.37 2003/03/28 11:45:16 marcus Exp $ + # $Id: configure.in,v 1.38 2003/03/28 15:21:02 marcus 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:79:       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="${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) +  AC_CHECK_HEADERS(winsock.h windows.h mysql.h mysql/mysql.h errmsg.h mysql/errmsg.h)       # Defines within headerfile   define([AC_CHECK_MYSQL_OPTIONS],   [   AC_MSG_CHECKING(for $1)   AC_TRY_COMPILE([   #ifdef HAVE_MYSQL_H   #include <mysql.h>   #else   #ifdef HAVE_MYSQL_MYSQL_H
pike.git/src/modules/Mysql/configure.in:387:    if test "X$pike_cv_mysql_fetch_lengths_ret_type" = "X"; then    AC_MSG_RESULT(Unknown -- Defaulting to unsigned long)    AC_DEFINE(FETCH_LENGTHS_TYPE, unsigned long)    else    AC_MSG_RESULT($pike_cv_mysql_fetch_lengths_ret_type)    AC_DEFINE_UNQUOTED(FETCH_LENGTHS_TYPE,    $pike_cv_mysql_fetch_lengths_ret_type)    fi    else :; fi    +  AC_MSG_CHECKING(for CreateSemaphoreA) +  AC_CACHE_VAL(ac_cv_func_CreateSemaphoreA,[ +  AC_TRY_LINK([ + #ifdef HAVE_WINDOWS_H + #include <windows.h> + #endif +  ],[ +  CreateSemaphoreA(0, 0, 0, 0); +  ],[ac_cv_func_CreateSemaphoreA=yes],[ac_cv_func_CreateSemaphoreA=no]) +  ]) +  if test "x$ac_cv_func_CreateSemaphoreA" = xyes; then +  AC_MSG_RESULT(yes) +  AC_DEFINE(HAVE_CREATESEMAPHOREA) +  else +  AC_MSG_RESULT(no) +  fi    AC_CHECK_FUNCS(CreateSemaphoreA)       fi   fi      AC_SUBST(MYSQL_LIBS)      AC_OUTPUT(Makefile,echo FOO >stamp-h )