sim-card
/
sam7-util
Archived
9
0
Fork 0

build: update autotools to modern standards.

This includes removing AC_CANONICAL_BUILD/AC_CANONICAL_TARGET (weren't
used), renaming configure.in to configure.ac (required for automake
1.13 coming up), moving automake options to configure.ac (removes use
of AM_INIT_AUTOMAKE with two parameters, which is also gone with
automake 1.13).

Also remove empty files and declare the system foreign, not gnu (NEWS
and AUTHORS are not used), avoid re-declaring in the distributed files
the conditional sources (automake takes care of that), and don't use
-Werror (as it would fail to build with GCC 4.6 and 4.7).

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
master
Diego Elio Pettenò 11 years ago committed by Holger Hans Peter Freyther
parent 201a024b67
commit 432e5a6c2f
  1. 0
      AUTHORS
  2. 7
      Makefile.am
  3. 0
      NEWS
  4. 5
      configure.ac

@ -1,6 +1,4 @@
AM_CFLAGS = -Wall -Werror
AUTOMAKE_OPTIONS = gnu
AM_CFLAGS = -Wall
bin_PROGRAMS = sam7
@ -22,6 +20,5 @@ endif
noinst_HEADERS = io.h samba.h cmd.h loader128_data.h loader256_data.h
EXTRA_DIST = driver/Makefile driver/at91.c \
io_win32.c io_posix.c io_iokit.c io_libusb.c\
loader/Makefile loader/at91.h loader/bin2c.c loader/crt0.S \
loader/loader.c loader/loader.lds
loader/loader.c loader/loader.lds

@ -1,13 +1,10 @@
AC_INIT([sam7utils], [0.2.1], [konkers@konkers.net])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(sam7utils,0.2.1)
AM_INIT_AUTOMAKE(foreign)
AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET