diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-01-05 00:57:53 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2004-01-05 00:57:53 +0000 |
commit | b397269f1b981df735bb98eec94adb142de0a868 (patch) | |
tree | 5d433a2628fc39b28ca701acfc212ae9937c3bd9 /source3/configure.in | |
parent | 612a97f84535c2d2b397f7a1b3941f7f6f602b27 (diff) | |
download | samba-b397269f1b981df735bb98eec94adb142de0a868.tar.gz samba-b397269f1b981df735bb98eec94adb142de0a868.tar.bz2 samba-b397269f1b981df735bb98eec94adb142de0a868.zip |
Merge commit to 3_0: add pdb_pgsql
(This used to be commit 61cbd5c9be1962d0c33c28ff472a2f82d3aa2a80)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/source3/configure.in b/source3/configure.in index c692569e36..9b87aa6296 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2760,30 +2760,35 @@ fi ######################################################## # Compile experimental passdb backends? -# (pdb_xml, pdb_mysql) +# (pdb_xml, pdb_mysql, pdb_pgsql) AC_MSG_CHECKING(whether to build experimental passdb libraries) AC_ARG_WITH(expsam, [ --with-expsam=<list> Include experimental passdb libraries (default=no)] [ Valid choices include (comma separated list): ] -[ xml & mysql], +[ xml, mysql & pgsql], [ expsam_pdb_modules=`echo "$withval" | sed 's/,/ /g'` if test "z$expsam_pdb_modules" = "zyes"; then - expsam_pdb_modules="xml mysql" + expsam_pdb_modules="xml mysql pgsql" fi AC_MSG_RESULT($expsam_pdb_modules) for i in $expsam_pdb_modules do case "$i" in - xml) + xml|all|yes) ## 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) + mysql|all|yes) ## 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" ;; + pgsql|all|yes) + ## pdb_pgsql + AM_PATH_PGSQL([default_shared_modules="$default_shared_modules pdb_pgsql"],[]) + CFLAGS="$CFLAGS $PGSQL_CFLAGS" + ;; no) ;; *) @@ -4180,6 +4185,8 @@ SMB_MODULE(pdb_xml, passdb/pdb_xml.o, "bin/xml.$SHLIBEXT", PDB, [ PASSDB_LIBS="$PASSDB_LIBS $XML_LIBS" ] ) SMB_MODULE(pdb_mysql, passdb/pdb_mysql.o, "bin/mysql.$SHLIBEXT", PDB, [ PASSDB_LIBS="$PASSDB_LIBS $MYSQL_LIBS" ] ) +SMB_MODULE(pdb_pgsql, passdb/pdb_pgsql.o, "bin/pgsql.$SHLIBEXT", PDB, + [ PASSDB_LIBS="$PASSDB_LIBS $PGSQL_LIBS" ] ) ## end of contributed pdb_modules ########################################################################### |