Hello, Jeff!
> Is there a way to add -fsigned-char to the gcc flags on systems with
> unsigned char types? I know I can detect that with autoconf, but I
> don't want to change the code I'm compiling.
If the code assumes "char" == "signed char" the code is broken.
> I've started compiling on AIX, but find that I need to edit the
> Makefile, or always pass -fsigned-char even on platforms that don't
> need it. The latter works, but seems ugly.
It is not uglier that the code you are compiling. In fact, I would prefer
to specify -fsigned-char on all platforms if the code assumes signedness
of char. No need to test anything in Autoconf.
Regards,
Pavel Roskin