libtool-patches
[Top][All Lists]
Advanced

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

Re: Patch libtool for m4 cvs in mingw/msys


From: heromyth
Subject: Re: Patch libtool for m4 cvs in mingw/msys
Date: Fri, 17 Jun 2005 23:06:05 +0800
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

heromyth wrote:
Recently I use Libtool CVS to compile M4 CVS in mingw/msys.I have configureed M4 like this:
    ../m4/configure -C --prefix=/usr --disable-nls --disable-shared




I trace into libtool, and found it is because of $global_symbol_pipe which is always empty. I don't konw where I am wrong.

Shit! I think I have found the answer to my question. I configure M4 use this:

../m4/configure -C --prefix=/mingw --disable-nls --disable-shared

And get the $global_symbol_pipe not empty. Its value is that:

global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\\{0,1\\}\$/\\1 _\\2 \\2/p'"

What's wrong?? Exactly, there is a file named config.site in /etc. I don't know why it exists. But after I deleted it, the firt command :

../m4/configure -C --prefix=/usr --disable-nls --disable-shared

works. So there is no need to do this patch, just delete /etc/config.site. On the other side, we still can do some works, although the $global_symbol_pipe is empty. If like, you can do this patch.

Now I recompile Libtool CVS, and get the correct Libtool.





reply via email to

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