Hello,
I've put AC_CHECK_FUNCS(stricmp) to configure.in and it always
succeeds on AIX with both IBM compiler and gcc. The test looks something
like this:
char strncasecmp ();
char (*f) () = strncasecmp;
int main () {
return 0;
}
When this is compiled and linked, no error is reported. But when test
from Autoconf 2.52 is used, everything works (i.e. reports error since
stricmp is not available):
char stricmp ();
char (*f) ();
int main () {
f = stricmp;
return 0;
}
It looks like the first test is somehow "optimized" by compiler and
thus is linkable. What about putting back the original test? Why was it
changed?
My configuration:
AIX 4.3.3
IBM C/C++ 3.6.6
gcc 3.1.1
Thanks
Martin Frydl
- Re: AC_CHECK_FUNCS always succeeds on AIX with Autoconf 2.56 Martin Frydl
- Re: AC_CHECK_FUNCS always succeeds on AIX with Autoconf ... Martin Frydl
- Re: AC_CHECK_FUNCS always succeeds on AIX with Autoc... Paul Eggert
- Re: AC_CHECK_FUNCS always succeeds on AIX with A... Paul Eggert
- Re: AC_CHECK_FUNCS always succeeds on AIX wi... Martin Frydl
- Re: AC_CHECK_FUNCS always succeeds on AIX with Autoconf ... Bruno Haible
