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

Top Page
Delete this message
Author: Craig Silverstein
Date:  
To: 664
CC: pcre-dev
Subject: Re: [pcre-dev] [Bug 664] ABI breakage in PCRE 7.6
} 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