summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 5772ead..c28141c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -112,28 +112,28 @@ AC_CHECK_HEADER([expat.h],[
112 ]) 112 ])
113],[ 113],[
114 AC_MSG_ERROR([no required expat library. get one from http://expat.sourceforge.net/]) 114 AC_MSG_ERROR([no required expat library. get one from http://expat.sourceforge.net/])
115]) 115])
116 116
117AC_CHECK_HEADER([tidy.h],[ 117AC_CHECK_HEADER([tidy.h],[
118 AC_CHECK_LIB([tidy],[tidyParseBuffer],[ 118 AC_CHECK_LIB([tidy],[tidyParseBuffer],[
119 TIDY_LIBS=-ltidy 119 TIDY_LIBS=-ltidy
120 TIDY_CFLAGS= 120 TIDY_CFLAGS=
121 AC_SUBST([TIDY_LIBS]) 121 AC_SUBST([TIDY_LIBS])
122 AC_SUBST([TIDY_CFLAGS]) 122 AC_SUBST([TIDY_CFLAGS])
123 ],[ 123 ],[
124 AC_MSG_ERROR([no required htmltidy library found. get one from http://tidy.sourceforge.nt/]) 124 AC_MSG_ERROR([no required htmltidy library found. get one from http://tidy.sourceforge.net/])
125 ]) 125 ])
126],[ 126],[
127 AC_MSG_ERROR([no required htmltidy library found. get one from http://tidy.sourceforge.nt/]) 127 AC_MSG_ERROR([no required htmltidy library found. get one from http://tidy.sourceforge.net/])
128]) 128])
129 129
130if test -n "$PCRE_LIBS" -a -n "$PCRE_CFLAGS" ; then 130if test -n "$PCRE_LIBS" -a -n "$PCRE_CFLAGS" ; then
131 AC_SUBST([PCRE_CFLAGS]) 131 AC_SUBST([PCRE_CFLAGS])
132 AC_SUBST([PCRE_LIBS]) 132 AC_SUBST([PCRE_LIBS])
133 : 133 :
134else 134else
135 PKG_CHECK_MODULES([PCRE],[libpcre],,[ 135 PKG_CHECK_MODULES([PCRE],[libpcre],,[
136 AC_MSG_ERROR([no libpcre found, go get it at http://www.pcre.org/]) 136 AC_MSG_ERROR([no libpcre found, go get it at http://www.pcre.org/])
137 ]) 137 ])
138fi 138fi
139 139