mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 14:35:27 +00:00
These changes add basic support for a autoconf/automake based build system.
* .cvsignore: Ignore autoconf files. * AUTHORS: New file. * ChangeLog: New file. * Makefile: Removed file. * Makefile.am: New file. * NEWS: New file. * README: New file. * bootstrap: New file. * configure.ac: New file. * avr.c: Include ac_cfg.h (generated by autoconf). * config.c: Include ac_cfg.h. Include config_gram.h instead of y.tab.h. * config.h: If HAS_YYSTYPE is not defined, define YYSTYPE. * config_gram.y: Include ac_cfg.h. * fileio.c: Include ac_cfg.h. * lexer.l: Include config_gram.h instead of y.tab.h. * lists.c: Include ac_cfg.h. * main.c: Include ac_cfg.h. * par.c: Include ac_cfg.h. * pgm.c: Include ac_cfg.h. * ppi.c: Include ac_cfg.h. * stk500.c: Include ac_cfg.h. * term.c: Include ac_cfg.h. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@192 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
30
bootstrap
Executable file
30
bootstrap
Executable file
@@ -0,0 +1,30 @@
|
||||
#! /bin/sh
|
||||
|
||||
# autoconf-2.57 is preferred, but >= 2.53 should be ok
|
||||
|
||||
if [ "x${AUTOHEADER}" = "x" ]; then
|
||||
AUTOHEADER="autoheader-2.57"
|
||||
fi
|
||||
|
||||
if [ "x${AUTOCONF}" = "x" ]; then
|
||||
AUTOCONF="autoconf-2.57"
|
||||
fi
|
||||
|
||||
# automake-1.7 is preferred, but >= 1.6 should be ok
|
||||
|
||||
if [ "x${ACLOCAL}" = "x" ]; then
|
||||
ACLOCAL="aclocal-1.7"
|
||||
fi
|
||||
|
||||
if [ "x${AUTOMAKE}" = "x" ]; then
|
||||
AUTOMAKE="automake-1.7"
|
||||
fi
|
||||
|
||||
# Bootstrap the build system.
|
||||
|
||||
set -x
|
||||
|
||||
${ACLOCAL}
|
||||
${AUTOHEADER}
|
||||
${AUTOCONF}
|
||||
${AUTOMAKE} -a -c
|
Reference in New Issue
Block a user