[libgda/LIBGDA_4.2] Corrected M4 file to handle C test code with square brackets
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_4.2] Corrected M4 file to handle C test code with square brackets
- Date: Tue, 12 Jul 2011 20:34:04 +0000 (UTC)
commit 6090ddfd009b29d9512646aa4ed9516ec073484f
Author: Vivien Malerba <malerba gnome-db org>
Date: Wed Jul 6 16:08:48 2011 +0200
Corrected M4 file to handle C test code with square brackets
m4/mdbtools.m4 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/m4/mdbtools.m4 b/m4/mdbtools.m4
index cef6562..fa771bc 100644
--- a/m4/mdbtools.m4
+++ b/m4/mdbtools.m4
@@ -193,7 +193,7 @@ int main() {
fi
AC_MSG_CHECKING([whether mdb_bind_column takes three or four arguments])
- AC_COMPILE_IFELSE([AC_LANG_SOURCE([
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
#include <mdbtools.h>
int main() {
MdbHandle *mdb;
@@ -203,7 +203,7 @@ int main() {
mdb_bind_column(mdb, c, bound_data[c], &len);
return 0;
}
-])],
+]])],
mdb_bind_column_args=four, mdb_bind_column_args=three)
AC_MSG_RESULT($mdb_bind_column_args)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]