[Top][All Lists]

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

[patch #10317] ax_cc_tentdef.m4

From: David Stes
Subject: [patch #10317] ax_cc_tentdef.m4
Date: Sat, 4 Mar 2023 04:38:29 -0500 (EST)


                 Summary: ax_cc_tentdef.m4
                   Group: GNU Autoconf Archive
               Submitter: stes
               Submitted: Sat 04 Mar 2023 09:38:27 AM UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any


Follow-up Comments:

Date: Sat 04 Mar 2023 09:38:27 AM UTC By: David Stes <stes>


I'm submitting an old test that I wrote back in 1996 for configure tests to
see whether the C compiler supports "tentative definitions".

This topic is again relevant because gcc (the C compiler) switched model as
discussed in 

The configure script can test with 



Determine whether the C compiler supports C tentative defintions.
See K&R book Appendix A10.2 on extern and tentative definitions.

A second test checks whether the $CC compiler understands __attribute__

In both cases the configure script can take action depending on the tests and
results (outcome of the tests) to change the Makefile accordingly, which
involves both changes to the C code and to the Makefile on how object files
are being compiled and linked.

David Stes

File Attachments:

Date: Sat 04 Mar 2023 09:38:27 AM UTC  Name: ax_cc_tentdef.m4  Size: 3KiB  
By: stes

Date: Sat 04 Mar 2023 09:38:27 AM UTC  Name: ax_cc_attrcommon.m4  Size: 2KiB  
By: stes



Reply to this item at:


Message sent via Savannah

reply via email to

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