chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] CVS update


From: beckford
Subject: [Chicken-users] CVS update
Date: Tue, 4 Mar 2003 12:03:22 -0700 (MST)

The minimum versions of the GNU auto tools are:

autoconf 2.50
automake 1.4-p3
libtool 1.3

The configure.in and Makefile.am have been changed to work with this
minimum configuration.  How I got to there follows:

***********
Started with:

autoconf 2.12
automake 1.4
libtool 1.2

Added acconfig.h (with #undef HAVE_DLFCN_H, etc. in it) to fix autoheader,
but gives warnings for autoconf 2.5:
/usr/local/regress/bin/autoheader: Symbol `HAVE_DLFCN_H' is not covered by
/usr/local/regress/share/autoconf/acconfig.h
/usr/local/regress/bin/autoheader: Symbol `HAVE_DL_H' is not covered by
/usr/local/regress/share/autoconf/acconfig.h
/usr/local/regress/bin/autoheader: Symbol `HAVE_SYSEXITS_H' is not covered
by /usr/local/regress/share/autoconf/acconfig.h
/usr/local/regress/bin/autoheader: Symbol `HAVE_WINDOWS_H' is not covered
by /usr/local/regress/share/autoconf/acconfig.h
/usr/local/regress/bin/autoheader: Symbol `PACKAGE' is not covered by
/usr/local/regress/share/autoconf/acconfig.h
/usr/local/regress/bin/autoheader: Symbol `VERSION' is not covered by
/usr/local/regress/share/autoconf/acconfig.h

And then after autoheader problem was fixed, got (using autocvs):
autoconf: Undefined macros:
configure.in:165:AC_CHECK_DECL([_POSIX_VERSION], [posix_system=1])
configure.in:17:AC_LIBTOOL_WIN32_DLL
configure.in:44:AC_CHECK_DECL([__MINGW32__], [mingw_system=1])
configure.in:49:  AC_CHECK_FILE(${mingw_libdir}/libws2_32.a, [mingw_ws2=1])
configure.in:68:AC_CHECK_HEADER(sysexits.h, [AC_DEFINE(HAVE_SYSEXITS_H, 1,
[Needs exit codes])])
configure.in:69:AC_CHECK_HEADER(dlfcn.h, [AC_DEFINE(HAVE_DLFCN_H, 1,
[Needs this header])])
configure.in:70:AC_CHECK_HEADER(dl.h, [AC_DEFINE(HAVE_DL_H, 1, [Needs
another])])
configure.in:72:AC_CHECK_HEADER(windows.h,
[AC_DEFINE(HAVE_WINDOWS_H,1,[Define if windows.h is useable])])
configure.in:78:AC_EXEEXT
configure.in:79:AC_OBJEXT
configure.in:90:AC_CHECK_DECL(LoadLibrary,
[AC_DEFINE(HAVE_LOADLIBRARY,1,[Define if windows.h declares
LoadLibrary])],,[#include <windows.h>])
configure.in:91:AC_CHECK_DECL(GetProcAddress,
[AC_DEFINE(HAVE_GETPROCADDRESS,1,[Define if windows.h declares
GetProcAddress])],,[#include <windows.h>])

Was about to put in AC_PREREQ(2.13) after consulting the ChangeLog of GNU
autoconf, but decided against it after looking at
http://sunland.gsfc.nasa.gov/info/autoconf/Versions.html.

So moved to autoconf 2.13 and checked again.

Got (using autocvs):
configure.in:49: warning: Cannot check for file existence when cross
compiling
configure.in:49: warning: Cannot check for file existence when cross
compiling
autoconf: Undefined macros:
configure.in:165:AC_CHECK_DECL([_POSIX_VERSION], [posix_system=1])
configure.in:17:AC_LIBTOOL_WIN32_DLL
configure.in:44:AC_CHECK_DECL([__MINGW32__], [mingw_system=1])
configure.in:68:AC_CHECK_HEADER(sysexits.h, [AC_DEFINE(HAVE_SYSEXITS_H, 1,
[Needs exit codes])])
configure.in:69:AC_CHECK_HEADER(dlfcn.h, [AC_DEFINE(HAVE_DLFCN_H, 1,
[Needs this header])])
configure.in:70:AC_CHECK_HEADER(dl.h, [AC_DEFINE(HAVE_DL_H, 1, [Needs
another])])
configure.in:72:AC_CHECK_HEADER(windows.h,
[AC_DEFINE(HAVE_WINDOWS_H,1,[Define if windows.h is useable])])
configure.in:90:AC_CHECK_DECL(LoadLibrary,
[AC_DEFINE(HAVE_LOADLIBRARY,1,[Define if windows.h declares
LoadLibrary])],,[#include <windows.h>])
configure.in:91:AC_CHECK_DECL(GetProcAddress,
[AC_DEFINE(HAVE_GETPROCADDRESS,1,[Define if windows.h declares
GetProcAddress])],,[#include <windows.h>])


The macros AC_CHECK_DECL and AC_CHECK_HEADER are rather important, so I do
not think that autoconf 2.13 is a viable version of autoconf to use.

So moved to autoconf 2.50 (the next version after 2.13) and checked again.
 Quite a bit more tempted to put AC_PREREQ(2.50) in ...

Got (using autocvs):
configure.in:17: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL

So moved to next version of libtool (1.3).
Also, changed my mind and put in AC_PREREQ(2.50) and then ran autoupdate.

Got (using autocvs):
automake: no `Makefile.am' found or specified

Hmm ... not sure which automake version belongs to which autoconf version ...

So moved to next version of automake (1.4-p1), and it still didn't work. 
1.4-p2 had installation problems on my cygwin box, but 1.4-p3 did work.

Then checked against automake 1.7.2, and got:
Makefile.am:22: LIBS was already defined in condition TRUE, which implies
condition IS_MINGW_TRUE ...
configure.in:5: ... `LIBS' previously defined here.
Makefile.am:24: LIBS was already defined in condition TRUE, which implies
condition IS_MINGW_FALSE ...
Makefile.am:22: ... `LIBS' previously defined here.
Makefile.am:42: automake does not support conditional definition of LIBS
in chicken_LDADD
Makefile.am:46: automake does not support conditional definition of LIBS
in chicken_static_LDADD
Makefile.am:128: automake does not support conditional definition of LIBS
in foocsi
Makefile.am:137: automake does not support conditional definition of LIBS
in foocsistatic

Youch, looks like LIBS in Makefile.am is conflicting with a standard
declaration of LIBS.  Changed the name LIBS to MORE_LIBS and that fixed
the problem.

So ended up with the following for my minimum GNU autoxxx versions:

autoconf 2.50
automake 1.4-p3
libtool 1.3
*************







reply via email to

[Prev in Thread] Current Thread [Next in Thread]