summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-10-09 20:20:18 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-10-09 20:20:18 +0000
commited0721787be864e00db04c91818f80384d14de12 (patch)
tree1eff8bf9e3cff46a3faaec6022b07c6570cb86cf
parente74b6f41cffcb134e77edb75346af3148262401b (diff)
downloadsamba-ed0721787be864e00db04c91818f80384d14de12.tar.gz
samba-ed0721787be864e00db04c91818f80384d14de12.tar.bz2
samba-ed0721787be864e00db04c91818f80384d14de12.zip
Refuse to configure if --with-expsam=$BACKEND was used but no libraries
were found for $BACKEND (This used to be commit 76229085dbc76942b9b83604ea820a433fad4b0f)
-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)