mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 14:35:27 +00:00
doc
tools
windows
.cvsignore
AUTHORS
COPYING
ChangeLog
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004-2006
Makefile.am
NEWS
README
avr.c
avr.h
avr910.c
avr910.h
avrdude.1
avrdude.conf.in
avrdude.h
avrdude.spec.in
avrpart.c
avrpart.h
bitbang.c
bitbang.h
bootstrap
butterfly.c
butterfly.h
config.c
config.h
config_gram.y
configure.ac
confwin.c
confwin.h
crc16.c
crc16.h
fileio.c
fileio.h
freebsd_ppi.h
jtagmkI.c
jtagmkI.h
jtagmkII.c
jtagmkII.h
jtagmkII_private.h
jtagmkI_private.h
lexer.l
linux_ppdev.h
lists.c
lists.h
main.c
my_ddk_hidsdi.h
par.c
par.h
pgm.c
pgm.h
pindefs.h
ppi.c
ppi.h
ppiwin.c
safemode.c
safemode.h
ser_avrdoper.c
ser_posix.c
ser_win32.c
serbb.h
serbb_posix.c
serbb_win32.c
serial.h
solaris_ecpp.h
stk500.c
stk500.h
stk500_private.h
stk500generic.c
stk500generic.h
stk500v2.c
stk500v2.h
stk500v2_private.h
term.c
term.h
update.c
update.h
usb_libusb.c
usbasp.c
usbasp.h
usbdevs.h
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@465 81a1dc3b-b13d-400b-aceb-764788c761c2
47 lines
962 B
Bash
Executable File
47 lines
962 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# autoconf-2.59 is required
|
|
|
|
: ${AUTOHEADER="autoheader${AC_VER}"}
|
|
: ${AUTOCONF="autoconf${AC_VER}"}
|
|
|
|
# automake-1.9.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.59" ]
|
|
then
|
|
echo "You need to use autoconf version 2.59."
|
|
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.9" ]
|
|
then
|
|
echo "You need to use automake version 1.9."
|
|
echo "You are using `${AUTOMAKE} --version | head -n 1`."
|
|
exit 1
|
|
fi
|
|
|
|
export ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE
|
|
|
|
# Bootstrap the build system.
|
|
|
|
set -x
|
|
|
|
rm -rf autom4te.cache
|
|
|
|
${ACLOCAL}
|
|
${AUTOHEADER}
|
|
${AUTOCONF}
|
|
${AUTOMAKE} -a -c
|