Changeset 4e118a0 for configure.ac


Ignore:
Timestamp:
Nov 6, 2010, 6:34:03 PM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
79d05d9
Parents:
9fc473a
git-author:
Anders Kaseorg <andersk@mit.edu> (09/13/10 14:40:42)
git-committer:
Anders Kaseorg <andersk@mit.edu> (11/06/10 18:34:03)
Message:
Don’t use AX_CFLAGS_STRICT_PROTOTYPES

gcc errors on the obsolete -fstrict-prototypes option, but clang just
warns, so AX_CFLAGS_STRICT_PROTOTYPES decides to use it and we got a
warning with every compilation unit.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r9fc473a r4e118a0  
    129129
    130130AX_CFLAGS_WARN_ALL([AM_CFLAGS])
    131 AX_CFLAGS_STRICT_PROTOTYPES([AM_CFLAGS])
     131AX_C_CHECK_FLAG([-Wstrict-prototypes],[],[],[AM_CFLAGS="$AM_CFLAGS -Wstrict-prototypes"])
    132132
    133133m4_foreach([myflag],
Note: See TracChangeset for help on using the changeset viewer.