-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
31 lines (23 loc) · 846 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
AC_INIT(SQLsmith, 1.2.1, seltenreich@gmx.de, sqlsmith, https://github.com/anse1/sqlsmith/)
AC_LANG(C++)
AM_INIT_AUTOMAKE(-Wall -Werror foreign)
AC_PROG_CXX
AC_PROG_RANLIB
AX_CXX_COMPILE_STDCXX_11(noext,mandatory)
AX_BOOST_BASE()
AX_BOOST_REGEX
AC_SUBST(CONFIG_GIT_REVISION,
[m4_esyscmd_s([git describe --dirty --tags --always])])
AC_CHECK_LIB(mysqlclient, mysql_init)
AM_CONDITIONAL([DUT_TIDB], [test x$ac_cv_lib_mysqlclient_mysql_init = xyes])
AC_CHECK_LIB(mysqlclient, mysql_real_query_start)
AM_CONDITIONAL([DUT_MARIADB], [test x$ac_cv_lib_mysqlclient_mysql_real_query_start = xyes])
AC_CHECK_LIB(mysqlclient, mysql_real_query_nonblocking)
AM_CONDITIONAL([DUT_MYSQL], [test x$ac_cv_lib_mysqlclient_mysql_real_query_nonblocking = xyes])
AC_SUBST(REVISION)
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([
Makefile
Doxyfile
])
AC_OUTPUT