diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2005-04-07 07:18:15 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2005-04-07 07:18:15 +0000 |
commit | 827e4a0309d13f4107635a6b98e5e55b72f54261 (patch) | |
tree | 3009b54243951323b5b9ed2f5bdc1ff623646b1f /autogen.sh | |
parent | 6ce5e3197aff991ee9a3c5b9bbc35c75703e6d69 (diff) | |
download | canutils-827e4a0309d13f4107635a6b98e5e55b72f54261.tar.gz canutils-827e4a0309d13f4107635a6b98e5e55b72f54261.tar.xz |
added pkg-config file
git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-1.0-trunk@20 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
Diffstat (limited to 'autogen.sh')
-rw-r--r-- | autogen.sh | 29 |
1 files changed, 19 insertions, 10 deletions
@@ -1,16 +1,25 @@ #!/bin/sh +ACLOCAL=${ACLOCAL:=aclocal} +AUTOHEADER=${AUTOHEADER:=autoheader} +AUTOMAKE=${AUTOMAKE:=automake} +AUTOCONF=${AUTOCONF:=autoconf} -echo "running aclocal (tested with 1.7.9)..." -aclocal -I config/m4 +echo use aclocal: $ACLOCAL +echo use autoheader: $AUTOHEADER +echo use automake: $AUTOMAKE +echo use autoconf: $AUTOCONF -echo "running libtoolize (tested with 1.5.6)..." -libtoolize --force +$ACLOCAL --version | \ + awk -vPROG="aclocal" -vVERS=1.7\ + '{if ($1 == PROG) {gsub ("-.*","",$4); if ($4 < VERS) print PROG" < version "VERS"\nThis may result in errors\n"}}' -echo "running autoheader" -autoheader +$AUTOMAKE --version | \ + awk -vPROG="automake" -vVERS=1.7\ + '{if ($1 == PROG) {gsub ("-.*","",$4); if ($4 < VERS) print PROG" < version "VERS"\nThis may result in errors\n"}}' -echo "running automake (tested with 1.7.9)..." -automake --add-missing --gnu -Wall +$ACLOCAL -I config/m4 && \ +libtoolize --force && \ +$AUTOHEADER && \ +$AUTOMAKE --gnu --add-missing -Wall && \ +$AUTOCONF -Wall -echo "running autoconf (tested with 2.59)..." -autoconf
\ No newline at end of file |