[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: autogen.sh
From: |
Mark Wielaard |
Subject: |
Re: Patch: autogen.sh |
Date: |
Fri, 09 Apr 2004 15:02:26 +0200 |
Hi,
What do you think about the attached version?
It works out of the box on my system (Debian comes with automake set to
1.4, you need automake-1.x for automake 1.x, same for aclocal). Could
this be made more general for other systems?
Cheers,
Mark
#!/bin/sh
set -e
LIBTOOLIZE=libtoolize
${LIBTOOLIZE} --version | head -1
echo "libtoolize: minimum version required: 1.4.2"
AUTOCONF=autoconf
${AUTOCONF} --version | head -1
echo "autoconf: minimum version required: 2.59"
# Autoheader is part of autoconf
AUTOHEADER=autoheader
${AUTOHEADER} --version | head -1
echo "autoheader: minimum version required: 2.59"
AUTOMAKE=automake
if test -x /usr/bin/automake-1.7; then
AUTOMAKE=/usr/bin/automake-1.7
fi
${AUTOMAKE} --version | head -1
echo "automake: minimum version required: 1.7.0"
# Aclocal is part of automake
ACLOCAL=aclocal
if test -x /usr/bin/aclocal-1.7; then
ACLOCAL=/usr/bin/aclocal-1.7
fi
${ACLOCAL} --version | head -1
echo "aclocal: minimum version required: 1.7.0"
echo "libtoolize ..."
${LIBTOOLIZE} --force --copy
echo "aclocal ..."
${ACLOCAL}
echo "autoheader ..."
${AUTOHEADER} --force
echo "automake ..."
${AUTOMAKE} --add-missing --copy
echo "autoconf ..."
${AUTOCONF} --force
echo "Finished"
signature.asc
Description: This is a digitally signed message part
- Patch: autogen.sh, Michael Koch, 2004/04/08
- Re: Patch: autogen.sh, Thomas Fitzsimmons, 2004/04/08
- Re: Patch: autogen.sh, Michael Koch, 2004/04/08
- Re: Patch: autogen.sh,
Mark Wielaard <=
- Re: Patch: autogen.sh, Mark Wielaard, 2004/04/09
- Re: Patch: autogen.sh, Michael Koch, 2004/04/09
- Re: Patch: autogen.sh, Dalibor Topic, 2004/04/09
- Re: Patch: autogen.sh, Mark Wielaard, 2004/04/09
- Re: Patch: autogen.sh, Archie Cobbs, 2004/04/09