Mercurial > gftp.yaz
comparison autogen.sh @ 171:c4d4a788c31b
2003-6-8 Brian Masney <masneyb@gftp.org>
* aclocal.m4 - removed, this file is automatically generated
* autogen.sh - just call automake and aclocal, instead of automake-1.4
and aclocal-1.4 (from Nathan Robertson <nathanr@nathanr.net>)
author | masneyb |
---|---|
date | Sun, 08 Jun 2003 16:01:39 +0000 |
parents | a4bf947e9e22 |
children | 3fa7b4f4ab78 |
comparison
equal
deleted
inserted
replaced
170:14a41b1a3ac0 | 171:c4d4a788c31b |
---|---|
19 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" | 19 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" |
20 DIE=1 | 20 DIE=1 |
21 } | 21 } |
22 | 22 |
23 have_automake=false | 23 have_automake=false |
24 if automake-1.4 --version < /dev/null > /dev/null 2>&1 ; then | 24 if automake --version < /dev/null > /dev/null 2>&1 ; then |
25 automake_version=`automake-1.4 --version | grep 'automake (GNU automake)' | sed 's/^[^0-9]*\(.*\)/\1/'` | 25 automake_version=`automake --version | grep 'automake (GNU automake)' | sed 's/^[^0-9]*\(.*\)/\1/'` |
26 case $automake_version in | 26 case $automake_version in |
27 1.2*|1.3*|1.4) | 27 1.2*|1.3*|1.4) |
28 ;; | 28 ;; |
29 *) | 29 *) |
30 have_automake=true | 30 have_automake=true |
71 *xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;; | 71 *xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;; |
72 esac | 72 esac |
73 | 73 |
74 gettextize -f -c --intl | 74 gettextize -f -c --intl |
75 | 75 |
76 aclocal-1.4 $ACLOCAL_FLAGS | 76 aclocal $ACLOCAL_FLAGS |
77 | 77 |
78 # optionally feature autoheader | 78 # optionally feature autoheader |
79 (autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader | 79 (autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader |
80 | 80 |
81 automake-1.4 -a -c $am_opt | 81 automake -a -c $am_opt |
82 autoconf | 82 autoconf |
83 cd $ORIGDIR | 83 cd $ORIGDIR |
84 | 84 |
85 if test -z "$AUTOGEN_SUBDIR_MODE"; then | 85 if test -z "$AUTOGEN_SUBDIR_MODE"; then |
86 CFLAGS="-Wall -ansi -D_GNU_SOURCE -O -g" $srcdir/configure --enable-maintainer-mode "$@" | 86 CFLAGS="-Wall -ansi -D_GNU_SOURCE -O -g" $srcdir/configure --enable-maintainer-mode "$@" |