Fix compilation on systems where Libxml2 does not exist
[yaz-moved-to-github.git] / buildconf.sh
index 69a942a..acb37df 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: buildconf.sh,v 1.35 2006-05-24 16:21:02 adam Exp $
+# $Id: buildconf.sh,v 1.39 2006-06-27 12:23:11 adam Exp $
 
 automake=automake
 aclocal=aclocal
@@ -56,7 +56,7 @@ esac
 
 if $enable_configure; then
     if test -n "$sh_flags"; then
-       CFLAGS="$sh_flags" ./configure $*
+       CFLAGS="$sh_flags" ./configure --disable-shared --enable-static $*
     else
        ./configure $*
     fi
@@ -97,7 +97,7 @@ EOF
         cat <<EOF
 When building from a CVS checkout, you need these FreeBSD Ports:
   autoconf259, automake19, libtool15, bison, tcl84,
-  docbook-xsl, libxml2, libxslt
+  docbook-xsl, libxml2, libxslt, g++-4.0, make
 EOF
     fi
 fi