This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: config.h/m68k-macintosh-linux/sys_siglist
- To: niles at axp745 dot gsfc dot nasa dot gov
- Subject: Re: config.h/m68k-macintosh-linux/sys_siglist
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 22 Feb 1998 15:32:24 -0700
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <9802200252.AA18669@axp745.gsfc.nasa.gov>you write:
>
> Using egcs-1.0.1 on a Macintosh IIsi running Linux 2.0.29:
>
> I had to manually define SYS_SIGLIST_DECLARED in gcc/config.h. I
> don't know why the configure didn't automagically set this.
> Perhaps this is fixed in the latest snapshot?
>From the gcc manual:
@vindex sys_siglist
Some systems do provide this variable, but with a different name such
as @code{_sys_siglist}. On these systems, you can define
@code{sys_siglist} as a macro which expands into the name actually
provided.
Autoconf normally defines @code{SYS_SIGLIST_DECLARED} when it finds a
declaration of @code{sys_siglist} in the system header files.
However, when you define @code{sys_siglist} to a different name
autoconf will not automatically define @code{SYS_SIGLIST_DECLARED}.
Therefore, if you define @code{sys_siglist}, you should also define
@code{SYS_SIGLIST_DECLARED}.
@findex USE_PROTOTYPES
So this would most likely mean the your config file has defined
sys_siglist without defining SYS_SIGLIST_DECLARED.
jeff