diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ca5de358..e5f3b142 100644 --- a/configure.ac +++ b/configure.ac @@ -3,9 +3,19 @@ AC_INIT([TMW Server], [0.0.1], [b_lindeijer@users.sourceforge.net]) AC_CONFIG_HEADERS([config.h:config.h.in]) AM_INIT_AUTOMAKE +# Check with pkg-config +PKG_CHECK_MODULES(SQLITE, [sqlite3 >= 3.0.6], + [], + [AC_MSG_ERROR([Cannot find SQLite 3])] +) + +AC_SUBST(SQLITE_CFLAGS) +AC_SUBST(SQLITE_LIBS) + # Checks for programs. AC_PROG_CXX AC_PROG_CC +AC_PROG_RANLIB # Checks for libraries. AC_CHECK_LIB([physfs], [PHYSFS_init]) |