Changeset 560b453


Ignore:
Timestamp:
May 28, 2015 2:17:05 PM (4 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
1d5066d
Parents:
2034d0d
Message:

Fine tune header-guard check (and add messages)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    ra8617e0 r560b453  
    6464AC_TYPE_UINT8_T
    6565AC_CHECK_TYPES([ptrdiff_t])
     66AC_MSG_CHECKING([checking for header-guard])
    6667HOLD_CFLAGS=$CFLAGS
    67 CFLAGS="$CFLAGS -Wno-error=header-guard"
    68 AC_COMPILE_IFELSE([[]],,CFLAGS=$HOLD_CFLAGS)
     68CFLAGS="$CFLAGS -Werror -Wno-error=header-guard"
     69AC_COMPILE_IFELSE([[]],AC_MSG_RESULT([yes]),CFLAGS=$HOLD_CFLAGS;AC_MSG_RESULT([no]))
    6970
    7071AC_CHECK_DECL([_PATH_TTY],[],AC_DEFINE_UNQUOTED([_PATH_TTY],"/dev/tty",[Define to tty device node path]),[
Note: See TracChangeset for help on using the changeset viewer.