-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
23 lines (18 loc) · 897 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
AC_INIT([cplanet],[0.11],[https://fossil.etoilebsd.net/cplanet],[cplanet])
AC_CONFIG_SRCDIR([configure.ac])
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([1.11 foreign subdir-objects no-dist-gzip dist-xz])
AM_SILENT_RULES([yes])
PKG_CHECK_MODULES([SQLITE3],[sqlite3])
PKG_CHECK_MODULES([CURL],[libcurl])
PKG_CHECK_MODULES([EXPAT],[expat])
AC_CHECK_HEADER([ClearSilver.h], [
AC_CHECK_LIB([neo_utl], [hdf_init], [], [AC_MSG_ERROR([libneo_utl is needed but not found])])
AC_CHECK_LIB([neo_cs], [cs_init], [], [AC_MSG_ERROR([libneo_cs is needed but not found])])
AC_CHECK_LIB([z], [deflate], [], [AC_MSG_ERROR([libz is needed but not found])])
AC_CHECK_LIB([neo_cgi], [cgi_register_strfuncs], [], [AC_MSG_ERROR([libneo_cgi is needed but not found])])
],[AC_MSG_ERROR([ClearSilver is needed but not found])])
AC_PROG_CC_STDC
AC_CONFIG_FILES([Makefile])
AC_CONFIG_HEADERS(cplanet_config.h)
AC_OUTPUT