[pkg-firebird-general] proposed libtool changes

marius popa mapopa at gmail.com
Mon Nov 3 15:00:11 UTC 2008


seems that the new way for building firebird 2.x on ubuntu intrepid
needs some patching
because of the libtool changes see th related bug
https://bugs.edge.launchpad.net/ubuntu/+source/firebird2.1/+bug/271919

so for the moment i have created the m4 dir

$mkdir m4

added in configure.in

AC_CONFIG_MACRO_DIR([m4])

git diff configure.in
diff --git a/configure.in b/configure.in
index c7a8698..5a37807 100644
--- a/configure.in
+++ b/configure.in
@@ -4,6 +4,7 @@ AC_PREREQ(2.56)
 AC_INIT(src)
 AC_CONFIG_AUX_DIR(builds/make.new/config)
 AC_CACHE_VAL(ac_cv_prog_make_set, [AC_PROG_MAKE_SET])
+AC_CONFIG_MACRO_DIR([m4])
 AC_PREFIX_DEFAULT(/usr/local/firebird)

 AC_CONFIG_HEADER(src/include/gen/autoconfig.h:builds/make.new/config/config.h.in)


added autoreconf to autogen

git diff autogen.sh
diff --git a/autogen.sh b/autogen.sh
index 744d0ad..0320b34 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -74,6 +74,9 @@ if test "x$LIBTOOL_M4" != "x"; then
 fi
 $LIBTOOLIZE --copy --force || exit 1

+echo "Running autoreconf ..."
+autoreconf -if
+
 echo "Running autoheader ..."
 $AUTOHEADER || exit 1




added an new file Makefile.am
with this content
ACLOCAL_AMFLAGS = -I m4


now the autoconf script works and it was tested on intrepid , i will
test it on debian and other systems (centos)

-- 
developer flamerobin.org



More information about the pkg-firebird-general mailing list