Skip to content

Commit

Permalink
Merge branch 'master' of github.com:phaag/nfdump
Browse files Browse the repository at this point in the history
sync local
  • Loading branch information
phaag committed Nov 18, 2023
2 parents cc1073a + cbc617f commit 469dd81
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions m4/c17.m4
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ AC_DEFUN([AX_CHECK_C17],
[AX_APPEND_FLAG([-std=gnu17])],
[AX_CHECK_COMPILE_FLAG([-std=c17],
[AX_APPEND_FLAG([-std=c17])],
[AX_CHECK_COMPILE_FLAG([-std=c99],
[AX_APPEND_FLAG([-std=c99])],
[AC_MSG_ERROR([C compiled does not support at least C99!])])
[AX_CHECK_COMPILE_FLAG([-std=gnu11],
[AX_APPEND_FLAG([-std=gnu11])],
[AX_CHECK_COMPILE_FLAG([-std=c11],
[AX_APPEND_FLAG([-std=c11])],
[AX_CHECK_COMPILE_FLAG([-std=c99],
[AX_APPEND_FLAG([-std=c99])],
[AC_MSG_ERROR([C compiled does not support at least C99!])])
])
])
])
])
])

0 comments on commit 469dd81

Please sign in to comment.