We've modified libtool.m4 to perfer shl_load on HP-UX *even* if dlopen
is available. The rationale for this is because dlopen() requires a
patch which all users might not have (we're running into this problem
now). Unfortunately, ltdl calls AC_LTDL_DLLIB which searches for
*every* possible loader
>From HEAD:
...
checking how to run the C++ preprocessor... aCC -E
checking the maximum length of command line arguments... 393217
checking command to parse /usr/ccs/bin/nm -p output from cc object... failed
...
Problem is, with HP C++, A.03.30 (A.03.31 is the latest):
$ aCC -o conftest conftes
>From libtool.m4 in HEAD branch:
#if defined (__STDC__) && __STDC__
# define lt_ptr_t void *
#else
# define lt_ptr_t char *
# define const
#endif
Why? Some C compilers define __STDC__ but don't define it to 1. How
about:
#ifdef __STDC__
--
albert chin ([EMAIL PROTECTED])
___