root/branches/append/server/autogen.sh

Revision 550, 0.7 kB (checked in by plindner, 3 years ago)

fix for freebsd 6.x (and perhaps others)

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1#!/bin/sh
2#
3# This is hacky, because there are so many damn versions
4# of autoconf/automake.  It works with Debian woody, at least.
5#
6# Debian sarge:
7#    apt-get install automake1.7 autoconf
8#
9
10echo "aclocal..."
11ACLOCAL=`which aclocal-1.9 || which aclocal19 || which aclocal-1.7 || which aclocal17 || which aclocal-1.5 || which aclocal15 || which aclocal || exit 1`
12$ACLOCAL || exit 1
13
14echo "autoheader..."
15AUTOHEADER=${AUTOHEADER:-autoheader}
16$AUTOHEADER || exit 1
17
18echo "automake..."
19AUTOMAKE=${AUTOMAKE:-automake-1.7}
20$AUTOMAKE --foreign --add-missing || automake --gnu --add-missing || exit 1
21
22echo "autoconf..."
23AUTOCONF=${AUTOCONF:-autoconf}
24$AUTOCONF || exit 1
25
Note: See TracBrowser for help on using the browser.