summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-10-09 20:55:38 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-10-09 20:55:38 +0000
commitf18551dcbb5568da7d94adcf2d41798e90e3e6a0 (patch)
tree5fa1b8038b5381a272b9a85160e0dede0d1d160e /source3/configure.in
parentbf2226c217046a1c8b2df2a607d650e31cdfe674 (diff)
downloadsamba-f18551dcbb5568da7d94adcf2d41798e90e3e6a0.tar.gz
samba-f18551dcbb5568da7d94adcf2d41798e90e3e6a0.tar.bz2
samba-f18551dcbb5568da7d94adcf2d41798e90e3e6a0.zip
Refuse to configure if --with-expsam=$BACKEND was specified, but
the libraries for $BACKEND were not found (This used to be commit 46a5575f1944d79ca3887bf3e9391ddee87ef8ce)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 394bf2fb3e..1bddba0adc 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2695,12 +2695,12 @@ AC_ARG_WITH(expsam,
case "$i" in
xml)
## pdb_xml
- AM_PATH_XML2([2.0.0],[default_shared_modules="$default_shared_modules pdb_xml"],[])
+ AM_PATH_XML2([2.0.0],[default_shared_modules="$default_shared_modules pdb_xml"],[AC_MSG_ERROR([Can't find XML libraries while XML support is requested])])
CFLAGS="$CFLAGS $XML_CFLAGS"
;;
mysql)
## pdb_mysql
- AM_PATH_MYSQL([default_shared_modules="$default_shared_modules pdb_mysql"],[])
+ AM_PATH_MYSQL([default_shared_modules="$default_shared_modules pdb_mysql"],[AC_MSG_ERROR([Can't find MySQL libraries while MySQL support is requested])])
CFLAGS="$CFLAGS $MYSQL_CFLAGS"
;;
no)