diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2017-12-20 23:17:48 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2017-12-20 23:17:48 +0100 |
commit | 9d955556d315c729cbf308de9487ebc938ee91e1 (patch) | |
tree | 26bce1acdc29fb35ed41be627ac53a5e42ccaf2c | |
parent | 85e6e4d586229f0d36575b96675d1ea6f0bbaee6 (diff) |
md readme for travis build status, -std=gnu99 autoconf check
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | configure.ac | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..9e3aadf --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +<img src="https://travis-ci.org/lnslbrty/ptunnel-ng.svg?branch=master"> + +PingTunnel-[N]ew[G]eneration +====== + +see README diff --git a/configure.ac b/configure.ac index 54285fc..0b449b1 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,8 @@ esac AM_SILENT_RULES([yes]) AM_INIT_AUTOMAKE AC_PROG_INSTALL +AC_PROG_CC +AC_PROG_CC_STDC AC_USE_SYSTEM_EXTENSIONS AC_C_CONST AC_C_INLINE @@ -34,6 +36,11 @@ AC_CHECK_HEADER_STDBOOL AC_FUNC_VPRINTF AC_FUNC_MEMCMP +dnl Check for -std=gnu99 +if test x"${ac_cv_prog_cc_stdc}" = x"no"; then + AC_MSG_ERROR([Your compiler does not support \`-std=gnu99\`. This is fatal.]) +fi + dnl Check for std includes. AC_CHECK_HEADERS([stdarg.h stdio.h unistd.h stdlib.h string.h stdint.h time.h signal.h assert.h],, [AC_MSG_ERROR([Missing essential std headers.])]) |