timed tail for logfiles. Display loglines given a minimum date and/or a maximum date.
c
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ax_check_cflags.m4 510B

123456789101112131415161718
  1. # AX_CHECK_CFLAGS(ADDITIONAL-CFLAGS, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
  2. #
  3. # checks whether the $(CC) compiler accepts the ADDITIONAL-CFLAGS
  4. # if so, they are added to the CXXFLAGS
  5. AC_DEFUN([AX_CHECK_CFLAGS],
  6. [
  7. AC_MSG_CHECKING([whether compiler accepts "$1"])
  8. echo "int main(int argc, char** argv){ return 0; }" > conftest.c
  9. if $CC $CFLAGS -o conftest.o conftest.c [$1] > /dev/null 2>&1
  10. then
  11. AC_MSG_RESULT([yes])
  12. CFLAGS="${CFLAGS} [$1]"
  13. [$2]
  14. else
  15. AC_MSG_RESULT([no])
  16. [$3]
  17. fi
  18. ])dnl AX_CHECK_CFLAGS