Changeset eeab49c


Ignore:
Timestamp:
Apr 5, 2011, 3:44:57 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Children:
28da2da
Parents:
f216307
git-author:
David Benjamin <davidben@mit.edu> (04/05/11 12:39:06)
git-committer:
David Benjamin <davidben@mit.edu> (04/05/11 15:44:57)
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

    r4479497 reeab49c  
    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.