From: Jim Paris Date: Fri, 22 May 2009 18:48:56 +0000 (-0400) Subject: ftdi_eeprom: Fix git build problems by using autoreconf X-Git-Url: http://developer.intra2net.com/git/?p=ftdi_eeprom;a=commitdiff_plain;h=2ede4aac4fd0726e86e88fe7bbfef2da2c29afd5 ftdi_eeprom: Fix git build problems by using autoreconf For recent versions of automake, the autotools steps in Makefile.cvs don't work: $ make -f Makefile.cvs aclocal autoheader automake configure.in: required file `./install-sh' not found configure.in: required file `./mkinstalldirs' not found configure.in: required file `./missing' not found src/Makefile.am: required file `./depcomp' not found make: *** [all] Error 1 This is because automake no longer calls libtoolize, as described in: http://www.gnu.org/software/automake/manual/html_node/Error-required-file-ltmain_002esh-not-found.html The recommended workaround there is to use autoreconf rather than calling individual autotools programs. This patch also removes the use of all_includes and all_libraries, as they are undefined and cause automake errors. Signed-off-by: Jim Paris --- diff --git a/Makefile.cvs b/Makefile.cvs index d160702..5f31aa2 100644 --- a/Makefile.cvs +++ b/Makefile.cvs @@ -1,8 +1,4 @@ default: all all: - aclocal - autoheader - automake - autoconf - + autoreconf --install diff --git a/src/Makefile.am b/src/Makefile.am index 2216570..7966720 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,10 +1,10 @@ bin_PROGRAMS = ftdi_eeprom # set the include path found by configure -INCLUDES = @LIBFTDI_CFLAGS@ $(all_includes) +INCLUDES = @LIBFTDI_CFLAGS@ # the library search path. -ftdi_eeprom_LDFLAGS = $(all_libraries) +ftdi_eeprom_LDFLAGS = ftdi_eeprom_SOURCES = main.c noinst_DATA = example.conf