-rw-r--r-- | configure.ac | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index 5fb6bec..7fa2f85 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -161,26 +161,16 @@ AC_CHECK_HEADERS([tidy.h tidy/tidy.h],[ | |||
161 | ],[ | 161 | ],[ |
162 | AC_MSG_ERROR([no required htmltidy library found. get one from http://tidy.sourceforge.net/]) | 162 | AC_MSG_ERROR([no required htmltidy library found. get one from http://tidy.sourceforge.net/]) |
163 | ]) | 163 | ]) |
164 | ],[ | 164 | ],[ |
165 | test -z "$TIDY_LIBS" -a "$ac_header" = "tidy/tidy.h" \ | 165 | test -z "$TIDY_LIBS" -a "$ac_header" = "tidy/tidy.h" \ |
166 | && AC_MSG_ERROR([no required htmltidy library found. get one from http://tidy.sourceforge.net/]) | 166 | && AC_MSG_ERROR([no required htmltidy library found. get one from http://tidy.sourceforge.net/]) |
167 | ]) | 167 | ]) |
168 | 168 | ||
169 | if test -n "$PCRE_LIBS" -a -n "$PCRE_CFLAGS" ; then | ||
170 | AC_SUBST([PCRE_CFLAGS]) | ||
171 | AC_SUBST([PCRE_LIBS]) | ||
172 | : | ||
173 | else | ||
174 | PKG_CHECK_MODULES([PCRE],[libpcre],,[ | ||
175 | AC_MSG_ERROR([no libpcre found, go get it at http://www.pcre.org/]) | ||
176 | ]) | ||
177 | fi | ||
178 | |||
179 | PKG_CHECK_MODULES([SQLITE3],[sqlite3],[have_sqlite3=true],[have_sqlite3=false]) | 169 | PKG_CHECK_MODULES([SQLITE3],[sqlite3],[have_sqlite3=true],[have_sqlite3=false]) |
180 | AM_CONDITIONAL([HAVE_SQLITE3],[$have_sqlite3]) | 170 | AM_CONDITIONAL([HAVE_SQLITE3],[$have_sqlite3]) |
181 | PKG_CHECK_MODULES([KINGATE],[kingate-plaincgi],[have_kingate=true],[have_kingate=false]) | 171 | PKG_CHECK_MODULES([KINGATE],[kingate-plaincgi],[have_kingate=true],[have_kingate=false]) |
182 | AM_CONDITIONAL([HAVE_KINGATE],[$have_kingate]) | 172 | AM_CONDITIONAL([HAVE_KINGATE],[$have_kingate]) |
183 | PKG_CHECK_MODULES([UUID],[uuid],[have_uuid=true],[have_uuid=false]) | 173 | PKG_CHECK_MODULES([UUID],[uuid],[have_uuid=true],[have_uuid=false]) |
184 | AM_CONDITIONAL([HAVE_UUID],[$have_uuid]) | 174 | AM_CONDITIONAL([HAVE_UUID],[$have_uuid]) |
185 | if $have_uuid ; then | 175 | if $have_uuid ; then |
186 | AC_DEFINE([HAVE_LIBUUID],,[defined in presence of libuuid]) | 176 | AC_DEFINE([HAVE_LIBUUID],,[defined in presence of libuuid]) |