DG/UX
Matthias Andree
matthias.andree at gmx.de
Fri Dec 12 00:47:17 CET 2003
David Relson <relson at osagesoftware.com> writes:
> +#ifdef __DGUX__
> +/* Compare S1 and S2, ignoring case. */
> +extern int strcasecmp (__const char *__s1, __const char *__s2);
> +
Why the double underscore? We don't want these, quoting the manual
"(autoconf.info)C Compiler":
- Macro: AC_C_CONST
If the C compiler does not fully support the ANSI C qualifier
`const', define `const' to be empty. Some C compilers that do not
define `__STDC__' do support `const'; some compilers that define
`__STDC__' do not completely support `const'. Programs can simply
use `const' as if every C compiler supported it; for those that
don't, the `Makefile' or configuration header file will define it
as empty.
> --- Makefile~ 2003-12-10 18:49:41.000000000 -0500
> +++ Makefile 2003-12-11 17:03:40.000000000 -0500
> @@ -369,7 +369,7 @@
> EXE_EXT =
> GSL_CFLAGS = -I/usr/include
> GSL_CONFIG = /usr/bin/gsl-config
> -GSL_LIBS = -L/usr/lib -lgsl -lgslcblas -lm
> +GSL_LIBS = -L/usr/lib -lgsl -lgslcblas -lm -ldgc
These aren't our problem. If some system chooses to provide
implementations but no declarations, its users are on their own. It will
complain and work nonetheless, why bother. The .L_E123 issue is
serious, and I have no other idea than to request "nm" information.
--
Matthias Andree
Encrypt your mail: my GnuPG key ID is 0x052E7D95
More information about the Bogofilter
mailing list