projects
/
yazproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2faeba3
)
Issue warning/error if Libxslt is not found
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 18 May 2005 20:29:18 +0000
(20:29 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 18 May 2005 20:29:18 +0000
(20:29 +0000)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
47954e9
..
2892d90
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-21,9
+21,9
@@
dnl
dnl ----- libXSLT
AC_SUBST(XSLT_LIBS)
AC_SUBST(XSLT_CFLAGS)
dnl ----- libXSLT
AC_SUBST(XSLT_LIBS)
AC_SUBST(XSLT_CFLAGS)
-xsltdir=yes
+xsltdir=default
AC_ARG_WITH(xslt,[[ --with-xslt[=PREFIX] use libxslt in PREFIX]],xsltdir=$withval)
AC_ARG_WITH(xslt,[[ --with-xslt[=PREFIX] use libxslt in PREFIX]],xsltdir=$withval)
-if test "$xsltdir" = "yes"; then
+if test "$xsltdir" = "yes" -o "$xsltdir" = "default"; then
for d in /usr /usr/local; do
if test -x $d/bin/xslt-config; then
xsltdir=$d
for d in /usr /usr/local; do
if test -x $d/bin/xslt-config; then
xsltdir=$d
@@
-40,6
+40,10
@@
if test "$xsltdir" != "no"; then
AC_DEFINE(HAVE_XSLT)
else
AC_MSG_RESULT(Not found)
AC_DEFINE(HAVE_XSLT)
else
AC_MSG_RESULT(Not found)
+ if test "$xsltdir" = "default"; then
+ AC_MSG_WARN([Libxslt development libraries not found.])
+ else
+ AC_MSG_ERROR([libxslt development libraries not found.]) fi
fi
fi
fi
fi