X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=21ce6818b285bd145d2f05b164f542ef9af697cf;hp=a889bdb99a2a7e61d8d85d40d4f6a77ca53fe117;hb=5d536c8cf5400b1e4da91061cf736a9ab53e5bd1;hpb=2944029372eb5f9ac0bceecda98ffab3617400dc diff --git a/buildconf.sh b/buildconf.sh index a889bdb..21ce681 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -4,6 +4,7 @@ automake=automake aclocal=aclocal autoconf=autoconf libtoolize=libtoolize +autoheader=autoheader test -d config || mkdir config if [ -d .git ]; then @@ -17,6 +18,7 @@ if [ "`uname -s`" = FreeBSD ]; then aclocal="aclocal19 -I /usr/local/share/aclocal" autoconf=autoconf259 libtoolize=libtoolize15 + autoheader=autoheader259 fi if [ "`uname -s`" = Darwin ]; then @@ -35,6 +37,9 @@ fi set -x $aclocal -I m4 +if grep AC_CONFIG_HEADERS configure.ac >/dev/null; then + $autoheader +fi $libtoolize --automake --force $automake --add-missing $autoconf @@ -98,12 +103,10 @@ Or just build the Debian packages without configuring dpkg-buildpackage -rfakeroot When building from Git, you need these Debian packages: - autoconf, automake, libtool, gcc, bison, any tcl, - xsltproc, docbook, docbook-xml, docbook-xsl, - libxslt1-dev, libssl-dev, libreadline5-dev, libwrap0-dev, - libpcap0.8-dev - -Also perhaps: libgnutls-dev libicu-dev + autoconf automake libtool gcc tcl8.4 + xsltproc docbook docbook-xml docbook-xsl inkscape + libxslt1-dev libgnutls-dev libreadline5-dev libexpat1-dev + pkg-config libexpat1-dev And if you want to make a Debian package: dpkg-dev fakeroot debhelper (Then run "dpkg-buildpackage -rfakeroot" in this directory.)