2
0
mirror of https://github.com/mariusgreuel/avrdude.git synced 2025-09-27 14:35:27 +00:00
Files
doc
windows
.cvsignore
AUTHORS
COPYING
ChangeLog
ChangeLog-2001
ChangeLog-2002
Makefile.am
NEWS
README
avr.c
avr.h
avrdude.1
avrdude.conf.in
avrdude.pdf
avrdude.spec.in
avrpart.h
bootstrap
config.c
config.h
config_gram.y
configure.ac
confwin.c
confwin.h
fileio.c
fileio.h
lexer.l
linux_ppdev.h
lists.c
lists.h
main.c
par.c
par.h
pgm.c
pgm.h
pindefs.h
ppi.c
ppi.h
ppiwin.c
stk500.c
stk500.h
stk500_private.h
term.c
term.h
avrdude/bootstrap
joerg_wunsch 01eb71651c Export all the AUTO* variables. Hopefully, that way the generated
Makefile might get them correctly.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@272 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-10 21:25:13 +00:00

45 lines
959 B
Bash
Executable File

#! /bin/sh
# autoconf-2.57 is required
: ${AUTOHEADER="autoheader${AC_VER}"}
: ${AUTOCONF="autoconf${AC_VER}"}
# automake-1.7.x is required
: ${ACLOCAL="aclocal${AM_VER}"}
: ${AUTOMAKE="automake${AM_VER}"}
# Verify autoconf version
AUTOCONF_VER=`(${AUTOCONF} --version 2>/dev/null | head -n 1 | \
cut -d ' ' -f 4) 2>/dev/null`
if [ "$AUTOCONF_VER" != "2.57" ]
then
echo "You need to use autoconf version 2.57."
echo "You are using `${AUTOCONF} --version | head -n 1`."
exit 1
fi
# Verify automake version
AUTOMAKE_VER=`(${AUTOMAKE} --version | head -n 1 | \
cut -d ' ' -f 4 | cut -d '.' -f -2) 2>/dev/null`
if [ "$AUTOMAKE_VER" != "1.7" ]
then
echo "You need to use automake version 1.7 (preferrably 1.7.3)."
echo "You are using `${AUTOMAKE} --version | head -n 1`."
exit 1
fi
export ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE
# Bootstrap the build system.
set -x
${ACLOCAL}
${AUTOHEADER}
${AUTOCONF}
${AUTOMAKE} -a -c