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 <jim@xxxxxxxx>
---
Makefile.cvs | 6 +-----
src/Makefile.am | 4 ++--
2 files changed, 3 insertions(+), 7 deletions(-)
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
--
1.6.0.6
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|