autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hp cc +O3 and AC_CHECK_FUNCS


From: Akim Demaille
Subject: Re: hp cc +O3 and AC_CHECK_FUNCS
Date: 13 Nov 2002 16:21:04 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

| > From: Akim Demaille <address@hidden>
| > Date: 12 Nov 2002 12:09:09 +0100
| > 
| > But Paul's opinion is, as always, valuable here.
| 
| Why not bypass all that stuff, and replace these external declarations:
| 
|   char $1 ();
|   char (*f) ();
| 
| with these:
| 
|   /* The GNU C library defines this for functions which it implements
|       to always fail with ENOSYS.  Some functions are actually named
|       something starting with __ and the normal name is an alias.  */
|   #if defined (__stub_$1) || defined (__stub___$1)
|   choke me
|   #else
|   char $1 ();
|   char (*f) () = $1;
|   #endif
| 
| Then we can remove the contents of 'main', and not worry about the
| HP-UX compiler's problems.

Kevin, would you install the updated patch?  Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]