libtool m4 file problem report

Olivier Langlois Olivier.Langlois@streamtheworld.com
Thu Apr 2 14:09:00 GMT 2009


I have encountered problems by reexecuting autoconf on a project that used to work fine with a previous version of cygwin. I cannot give details about on which versions it worked and since when it broke as the last successful configuration is many months old. However, I wanted to give the list of tweaks that I have performed to the file libtool.m4 to fix my problems:

1.

By running aclocal-1.6 -I m4, the tool returned messages saying that macros

_LT_PREPARE_SED_QUOTE_VARS
_LT_PROG_ECHO_BACKSLASH

were required but not defined. By doing a search on Internet, I have found the following

http://www.mail-archive.com/libtool-patches@gnu.org/msg03162.html

and by replacing "m4_defun" for "AC_DEFUN" for these 2 macros, it fixed the first problem.

2. The second problem (and not sure which tool was returning the error, sorry) was complaining about a circular dependency on AC_LANG_COMPILER(C++) inside the macro " AC_COMPILE_IFELSE " used in my configure.in file.

The recursive use has been found in

a) _LT_LANG_CXX_CONFIG inside the case for aix4-9 in the first switch case
b) _LT_SYS_DYNAMIC_LINKER inside the case for linux (using AC_CACHE_VAL) in a switch case.

To fix the problem, I just removed these 2 irrelevent cases in the cygwin environment.

I hope this e-mail will help the libtool maintainer.

Olivier Langlois
Senior C++ Programmer

STREAMTHEWORLD

t. 1 866 448 4037 ext. 675
t. 1 514 448 4037 ext. 675
f. 1 514 807 1861

olivier.langlois@streamtheworld.com
streamtheworld.com
 
NAB Show 2009: See our iPhone application demo and more at booth C755
 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 33621 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090402/273e75b5/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list