diff options
author | Toni Uhlig <Toni.Uhlig@tq-group.com> | 2017-11-30 16:45:49 +0100 |
---|---|---|
committer | Toni Uhlig <Toni.Uhlig@tq-group.com> | 2017-11-30 16:45:49 +0100 |
commit | bd16ac240833c43be888c47eb29bdbeca74f04b4 (patch) | |
tree | c9454d5bda7b30a1c757138860d391535d24ffbd /configure.ac | |
parent | abaf6fd3437dbbb079eec9bbba05e1098e1fd2ec (diff) |
autoconf: added C++11 check
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8bab124..c09f5d2 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,6 @@ AC_PREREQ(2.58) AC_INIT([UpdateTool], [1.0.0], [], [], [https://dl-website.tld/utool.exe]) +AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([src/config.h.in]) AC_CONFIG_FILES([Makefile src/Makefile]) @@ -28,6 +29,7 @@ AC_FUNC_VPRINTF AC_FUNC_STAT AC_CHECK_FUNCS([malloc calloc realloc free memcmp memchr memcpy memmove memset putc putwc raise rand signal sprintf strchr strcmp strcoll strcpy strerror strftime strlen strncmp strncpy strpbrk strspn strstr strtol strtoul tolower toupper towlower towupper ungetc ungetwc vfprintf wcschr wcscmp wcscoll wcscpy wcspbrk wcsspn wcsstr wcstol wcstoul fopen fgets fprintf fputs fread fwrite getc fputc isalnum isalpha isupper time mktime gmtime close fclose feof exit],, [AC_MSG_ERROR([Missing essential std functions.])]) +AX_CXX_COMPILE_STDCXX_11(, [mandatory]) utool_major_version_number=1 utool_minor_version_number=0 |