summaryrefslogtreecommitdiff
path: root/m4/ax_lib_sqlite3.m4
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-08-29 12:08:47 +0200
committerPeter Simons <simons@cryp.to>2011-08-29 12:09:06 +0200
commit600c85a5bcf2eb9677bec12a2b6a6a3c5256424f (patch)
tree92858523fa738d63f2506b76f89b86a5f9954116 /m4/ax_lib_sqlite3.m4
parent732c413b44ae9404399174f0277183e283393ca6 (diff)
downloadautoconf-archive-600c85a5bcf2eb9677bec12a2b6a6a3c5256424f.tar.gz
AX_LIB_SQLITE3: find the library with the C compiler
Diffstat (limited to 'm4/ax_lib_sqlite3.m4')
-rw-r--r--m4/ax_lib_sqlite3.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_lib_sqlite3.m4 b/m4/ax_lib_sqlite3.m4
index 2702fce..82f01f7 100644
--- a/m4/ax_lib_sqlite3.m4
+++ b/m4/ax_lib_sqlite3.m4
@@ -102,7 +102,7 @@ AC_DEFUN([AX_LIB_SQLITE3],
saved_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $ac_sqlite3_cppflags"
- AC_LANG_PUSH(C++)
+ AC_LANG_PUSH(C)
AC_COMPILE_IFELSE(
[
AC_LANG_PROGRAM([[@%:@include <sqlite3.h>]],
@@ -124,7 +124,7 @@ AC_DEFUN([AX_LIB_SQLITE3],
success="no"
]
)
- AC_LANG_POP([C++])
+ AC_LANG_POP(C)
CPPFLAGS="$saved_CPPFLAGS"