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

version» Context lines:

pike.git/src/modules/Mysql/configure.in:1:   # - # $Id: configure.in,v 1.33 2003/03/28 11:45:10 marcus Exp $ + # $Id: configure.in,v 1.34 2003/03/28 15:20:58 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)       # Mysql libs       pike_cv_mysql="unknown"          AC_CHECK_LIB(mysqlclient, bchange, [    LIBS="-lmysqlclient $LIBS"    MYSQL_LIBS="-lmysqlclient"    pike_cv_mysql="post3.20"
pike.git/src/modules/Mysql/configure.in:349:    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 )