AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.09.08 12:59 "[Tiff] autotools", by Patrick Welche
2005.09.08 16:12 "Re: [Tiff] autotools", by Joris
2005.09.08 18:11 "Re: [Tiff] autotools", by Patrick Welche
2005.09.12 13:35 "Re: [Tiff] autotools", by Andrey Kiselev

2005.09.08 12:59 "[Tiff] autotools", by Patrick Welche

As you require autoconf 2.59, which came out on 2003-11-06, you could future proof libtiff by making use of the AC_CONFIG_MACRO_DIR, which came out on 2003-10-08, i.e., exists in the autoconf which you require.

This is actually necessary for cutting-edge libtool...

I would suggest

--- configure.ac.orig   2005-09-06 15:38:59.000000000 +0100
+++ configure.ac        2005-09-06 16:40:18.000000000 +0100

@@ -26,13 +26,14 @@

 AC_PREREQ(2.59)
 AC_INIT([LibTIFF Software], 3.7.3, [tiff@remotesensing.org], tiff)
+AC_CONFIG_AUX_DIR(config)
+AC_CONFIG_MACRO_DIR(m4)
 AC_LANG(C)

 dnl Compute the canonical target-system type variable
 AC_CANONICAL_TARGET

 AM_INIT_AUTOMAKE
-AM_PROG_CC_C_O
 dnl Do not rebuild generated files every time
 AM_MAINTAINER_MODE

@@ -69,6 +70,7 @@

 dnl Checks for programs.
 AC_PROG_CC
+AM_PROG_CC_C_O

 dnl We want warnings. As many warnings as possible.
 VL_PROG_CC_WARNINGS()

(Do you really need AM_PROG_CC_C_O ?)

and

mkdir config m4

mv compile config.sub install-sh missing config.guess depcomp ltmain.sh config mv libtool.4 m4

Also, add

ACLOCAL_AMFLAGS = -I m4 -I.

to Makefile.am, and change autogen.sh to

aclocal -I. -I m4

You get the idea...

Cheers,

Patrick

P.S.: according to www.libtiff.org:

   Anonymous CVS:
        export CVSROOT=:pserver:anonymous@remotesensing.org:/cvsroot
        cvs login # use password "anonymous"
        cvs checkout libtiff
        cvs checkout libtiff-lzw-compression-kit

but:

% cvs -d:pserver:anonymous@remotesensing.org:/cvsroot login Logging in to :pserver:anonymous@remotesensing.org:2401/cvsroot CVS password:

/cvsroot: no such repository