configure: Undefine __STRICT_ANSI__ for mingw's benefit
mingw makes a bunch of prototypes unavailable if __STRICT_ANSI__ is defined. However, they are still detected by configure, which causes us pain.
This commit is contained in:
parent
684f98b636
commit
8088815922
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ PA_ADD_CFLAGS([-W])
|
|||
PA_ADD_CFLAGS([-Wall])
|
||||
PA_ADD_CFLAGS([-std=c99])
|
||||
PA_ADD_CFLAGS([-pedantic])
|
||||
dnl mingw disables a bunch of features if __STRICT_ANSI__ is defined,
|
||||
dnl and -std=c99 defines __STRICT_ANSI__
|
||||
PA_ADD_CFLAGS([-U__STRICT_ANSI__])
|
||||
|
||||
dnl Look for "nroff" or "groff"
|
||||
AC_CHECK_PROGS(NROFF, nroff, echo)
|
||||
|
|
Loading…
Reference in a new issue