[pcre-dev] [Bug 664] ABI breakage in PCRE 7.6

Top Page
Delete this message
Author: Craig Silverstein
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 664] ABI breakage in PCRE 7.6
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=664




--- Comment #20 from Craig Silverstein <csilvers@???> 2008-03-24 21:49:39 ---
} Libtool supplies an autoconf macro AC_LTDL_SYMBOL_USCORE, documented
} as "does the compiler prefix global symbols with an
} underscore?". Use the $ac_cv_sys_symbol_underscore result to decide
} what to do.

I added this macro to configure.ac, but autoconf -f says
---
configure.ac:307: error: possibly undefined macro: AC_LTDL_SYMBOL_USCORE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
---


It looks like AC_LTDL_SYMBOL_USCORE is defined in ltdl.m4, which is
not installed on my system. I don't know libtool very well so I don't
know if it's a configuration error of some sort or if I'm just trying
to use this macro incorrectly.

I agree the macro is strictly better than the #ifdef I have in my
patch, but that is also strictly better than the status quo, so my
suggestion is to apply my patch, and then move to the autoconf macro
once we can figure out how to apply it.

craig


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email