diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7ba1d27a7..2bc9d0f2a 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -935,6 +935,22 @@ AC_ARG_WITH([mysql], | |||
935 | AC_SUBST(MYSQL_LDFLAGS) | 935 | AC_SUBST(MYSQL_LDFLAGS) |
936 | AC_SUBST(MYSQL_CPPFLAGS) | 936 | AC_SUBST(MYSQL_CPPFLAGS) |
937 | 937 | ||
938 | mysql_bool="bool" | ||
939 | # check for my_bool | ||
940 | AS_IF([test "x$mysql" = "xtrue"], | ||
941 | [AC_MSG_CHECKING([for my_bool]) | ||
942 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM( | ||
943 | [[#include <mysql/mysql.h>]], | ||
944 | [[#ifndef my_bool | ||
945 | #no my_bool found | ||
946 | #endif]])], | ||
947 | [AC_MSG_RESULT([yes]) | ||
948 | mysql_bool="my_bool"], | ||
949 | [AC_MSG_RESULT([no]) | ||
950 | mysql_bool="bool"])]) | ||
951 | |||
952 | AC_SUBST([mysql_bool]) | ||
953 | |||
938 | # additional version checks for mysql | 954 | # additional version checks for mysql |
939 | AS_IF([test "x$mysql" = "xtrue"], | 955 | AS_IF([test "x$mysql" = "xtrue"], |
940 | [AC_MSG_CHECKING([for mysql version]) | 956 | [AC_MSG_CHECKING([for mysql version]) |
@@ -1329,6 +1345,7 @@ src/identity/Makefile | |||
1329 | src/identity/identity.conf | 1345 | src/identity/identity.conf |
1330 | src/include/Makefile | 1346 | src/include/Makefile |
1331 | src/include/gnunet_config.h | 1347 | src/include/gnunet_config.h |
1348 | src/include/gnunet_mysql_compat.h | ||
1332 | src/integration-tests/Makefile | 1349 | src/integration-tests/Makefile |
1333 | src/json/Makefile | 1350 | src/json/Makefile |
1334 | src/hostlist/Makefile | 1351 | src/hostlist/Makefile |
@@ -1410,6 +1427,7 @@ pkgconfig/gnunetfs.pc | |||
1410 | pkgconfig/gnunetgns.pc | 1427 | pkgconfig/gnunetgns.pc |
1411 | pkgconfig/gnunethello.pc | 1428 | pkgconfig/gnunethello.pc |
1412 | pkgconfig/gnunetidentity.pc | 1429 | pkgconfig/gnunetidentity.pc |
1430 | pkgconfig/gnunetmessenger.pc | ||
1413 | pkgconfig/gnunetmicrophone.pc | 1431 | pkgconfig/gnunetmicrophone.pc |
1414 | pkgconfig/gnunetmysql.pc | 1432 | pkgconfig/gnunetmysql.pc |
1415 | pkgconfig/gnunetnamestore.pc | 1433 | pkgconfig/gnunetnamestore.pc |