[libgda] 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] Corrected M4 file to handle C test code with square brackets
- Date: Wed, 6 Jul 2011 14:40:53 +0000 (UTC)
commit 9e4ba808e68f4242927028fee384a179919a3783
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]