#!/bin/sh
-# $Id: buildconf.sh,v 1.5 2001-02-28 09:01:41 adam Exp $
+# $Id: buildconf.sh,v 1.12 2004-09-27 10:44:47 adam Exp $
+set -x
dir=`aclocal --print-ac-dir`
-if [ -f $dir/yaz.m4 ]; then
- aclocal || exit 1
-else
- aclocal -I . || exit 1
-fi
-test -d isamc || mkdir isamc
-test -d isamb || mkdir isamb
-test -d isam || mkdir isam
-automake -a >/dev/null 2>&1 || exit 2
-autoconf || exit 3
+aclocal -I .
+libtoolize --automake --force
+automake -a
+automake -a
+autoconf
if [ -f config.cache ]; then
rm config.cache
fi