/[public]/psiconv/trunk/autogen.sh
ViewVC logotype

Diff of /psiconv/trunk/autogen.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 137 Revision 152
1#!/bin/sh 1#!/bin/sh
2# 2#
3# Run this before configure 3# Run this before configure
4# 4#
5# This file blatantly ripped off from subversion and Abiword 5# This file blatantly ripped off from subversion and Abiword
6
7# To run this file, you need:
8# automake >= 1.6 (tested with 1.6.3, 1.7.8; older will probably not work)
9# libtool >= 1.5 (tested with 1.5; older will probably not work)
10# autoconf >= 2.50 (tested with 2.50, 2.57; older will not work)
11
12# Set this to a specific version if you want to use a non-standard automake
13#AUTOMAKE_VERSION=-1.6
14# Set this to a specific version if you want to use a non-standard autoconf
15AUTOCONF_VERSION=2.50
6 16
7set -e 17set -e
8 18
9echo "Libtool..." 19echo "Libtool..."
10libtoolize --copy --force 20libtoolize --copy --force
11 21
12# Produce aclocal.m4, so autoconf gets the automake macros it needs 22# Produce aclocal.m4, so autoconf gets the automake macros it needs
13echo "Creating aclocal.m4..." 23echo "Creating aclocal.m4..."
14aclocal 24aclocal$AUTOMAKE_VERSION
15 25
16autoheader 26autoheader$AUTOCONF_VERSION
17 27
18# Produce all the `Makefile.in's, verbosely, and create neat missing things 28# Produce all the `Makefile.in's, verbosely, and create neat missing things
19# like `libtool', `install-sh', etc. 29# like `libtool', `install-sh', etc.
20automake --add-missing --verbose --gnu --copy --force-missing 30automake$AUTOMAKE_VERSION --add-missing --verbose --gnu --copy --force-missing
21 31
22# If there's a config.cache file, we may need to delete it. 32# If there's a config.cache file, we may need to delete it.
23# If we have an existing configure script, save a copy for comparison. 33# If we have an existing configure script, save a copy for comparison.
24if [ -f config.cache ] && [ -f configure ]; then 34if [ -f config.cache ] && [ -f configure ]; then
25 cp configure configure.$$.tmp 35 cp configure configure.$$.tmp
26fi 36fi
27 37
28# Produce ./configure 38# Produce ./configure
29echo "Creating configure..." 39echo "Creating configure..."
30autoconf 40autoconf$AUTOCONF_VERSION
31 41
32echo "" 42echo ""
33echo "You can run ./configure now." 43echo "You can run ./configure now."
34echo "" 44echo ""
35 45

Legend:
Removed from v.137  
changed lines
  Added in v.152

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26