Changeset d1d68e0


Ignore:
Timestamp:
Jun 19, 2011, 12:07:25 AM (13 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
fe73d0c
Parents:
4f5e38f
git-author:
David Benjamin <davidben@mit.edu> (04/05/11 12:39:06)
git-committer:
David Benjamin <davidben@mit.edu> (06/19/11 00:07:25)
Message:
Build with C99

This allows (and even requires) us to use -D_XOPEN_SOURCE=600 on
Solaris. It also makes the Solaris stdbool.h actually work.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rf97c1a6 rd1d68e0  
    88
    99AC_PROG_CC
     10AC_PROG_CC_C99
    1011
    1112AC_ARG_WITH([stack-protector],
     
    143144                                 test "$HAVE_DES_ECB_ENCRYPT"])
    144145
    145 AM_CFLAGS="$AM_CFLAGS -D_XOPEN_SOURCE=500"
     146AM_CFLAGS="$AM_CFLAGS -D_XOPEN_SOURCE=600"
    146147dnl Define _BSD_SOURCE because zephyr needs caddr_t.
    147148AM_CFLAGS="$AM_CFLAGS -D_BSD_SOURCE"
Note: See TracChangeset for help on using the changeset viewer.