pike.git/
src/
modules/
Mysql/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2000-03-22
2000-03-22 23:39:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>
359c3887e80d239d4aa29df8e3fea02fd27ec6d9 (
17
lines) (+
11
/-
6
)
[
Show
|
Annotate
]
Branch:
7.9
Now the FETCH_LENGTHS_TYPE test actually works.
Rev: src/modules/Mysql/configure.in:1.14
1:
#
-
# $Id: configure.in,v 1.
13
2000/03/22 23:
25
:
41
grubba Exp $
+
# $Id: configure.in,v 1.
14
2000/03/22 23:
39
:
10
grubba Exp $
# # Configure script for the mysql-module #
-
# Henrik
Grubbström
+
# Henrik
Grubbstrm
# #
227:
# AC_MSG_CHECKING([if mysql_fetch_lengths() returns an uint or an ulong]) AC_CACHE_VAL(pike_cv_mysql_fetch_lengths_ret_type, [
-
for ret_type in "unsigned long" "unsigned int" "long" "int"; do
+
for ret_type in "unsigned long
long
" "unsigned
long" "unsigned
int" "long
long
" "
long" "
int"; do
AC_TRY_COMPILE([ #ifdef HAVE_MYSQL_H #include <mysql.h>
238:
#error Need mysql.h headerfile! #endif #endif
-
], [
-
$ret_type *mysql_fetch_lengths(MYSQL_RES *mysql)
+
+
#ifndef
STDCALL
+
#define
STDCALL
+
#endif
/*
STDCALL
*/
+
+
$ret_type *
STDCALL
mysql_fetch_lengths(MYSQL_RES *mysql)
{ return 0; }
-
], [ pike_cv_mysql_fetch_lengths_ret_type="$ret_type"; break; ])
+
], [
],
[
pike_cv_mysql_fetch_lengths_ret_type="$ret_type"; break; ])
done ]) if test "X$pike_cv_mysql_fetch_lengths_ret_type" = "X"; then