diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b8f64bb..6429221 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -102,6 +102,38 @@ AM_PROG_LEX | |||
| 102 | AC_PROG_LN_S | 102 | AC_PROG_LN_S |
| 103 | 103 | ||
| 104 | 104 | ||
| 105 | # check for common functions | ||
| 106 | AC_FUNC_FORK | ||
| 107 | AC_FUNC_MALLOC | ||
| 108 | AC_FUNC_REALLOC | ||
| 109 | AC_FUNC_STRERROR_R | ||
| 110 | |||
| 111 | # Type checks | ||
| 112 | AC_TYPE_INT8_T | ||
| 113 | AC_TYPE_INT16_T | ||
| 114 | AC_TYPE_INT32_T | ||
| 115 | AC_TYPE_INT64_T | ||
| 116 | AC_TYPE_OFF_T | ||
| 117 | AC_TYPE_SIZE_T | ||
| 118 | AC_TYPE_SSIZE_T | ||
| 119 | AC_TYPE_UID_T | ||
| 120 | AC_TYPE_UINT8_T | ||
| 121 | AC_TYPE_UINT16_T | ||
| 122 | AC_TYPE_UINT32_T | ||
| 123 | AC_TYPE_UINT64_T | ||
| 124 | |||
| 125 | # check for required functions | ||
| 126 | AC_CHECK_FUNCS([bzero], [], [AC_MSG_ERROR([missing required functions])]) | ||
| 127 | AC_CHECK_FUNCS([memset], [], [AC_MSG_ERROR([missing required functions])]) | ||
| 128 | AC_CHECK_FUNCS([rmdir], [], [AC_MSG_ERROR([missing required functions])]) | ||
| 129 | AC_CHECK_FUNCS([strcasecmp], [], [AC_MSG_ERROR([missing required functions])]) | ||
| 130 | AC_CHECK_FUNCS([strdup], [], [AC_MSG_ERROR([missing required functions])]) | ||
| 131 | AC_CHECK_FUNCS([strerror], [], [AC_MSG_ERROR([missing required functions])]) | ||
| 132 | |||
| 133 | # check for headers | ||
| 134 | AC_CHECK_HEADERS([fcntl.h], [], [AC_MSG_ERROR([missing required headers])]) | ||
| 135 | AC_CHECK_HEADERS([limits.h], [], [AC_MSG_ERROR([missing required headers])]) | ||
| 136 | |||
| 105 | # GNU Libtool Support | 137 | # GNU Libtool Support |
| 106 | LT_INIT(dlopen disable-fast-install win32-dll) | 138 | LT_INIT(dlopen disable-fast-install win32-dll) |
| 107 | 139 | ||
| @@ -116,6 +148,7 @@ AC_BINDLE_GIT_PACKAGE_VERSION([contrib/bindletools/build-aux/git-package-version | |||
| 116 | 148 | ||
| 117 | # custom configure options | 149 | # custom configure options |
| 118 | AC_BINDLE_ENABLE_WARNINGS | 150 | AC_BINDLE_ENABLE_WARNINGS |
| 151 | AC_SCU_ZCAT_DEPS | ||
| 119 | 152 | ||
| 120 | 153 | ||
| 121 | # enables getopt_long if header and functions were found | 154 | # enables getopt_long if header and functions were found |
| @@ -132,6 +165,9 @@ AC_MSG_NOTICE([ ]) | |||
| 132 | AC_MSG_NOTICE([ Secure Core Utilities $GIT_PACKAGE_VERSION ($GIT_PACKAGE_BUILD)]) | 165 | AC_MSG_NOTICE([ Secure Core Utilities $GIT_PACKAGE_VERSION ($GIT_PACKAGE_BUILD)]) |
| 133 | AC_MSG_NOTICE([ ]) | 166 | AC_MSG_NOTICE([ ]) |
| 134 | AC_MSG_NOTICE([ Features:]) | 167 | AC_MSG_NOTICE([ Features:]) |
| 168 | AC_MSG_NOTICE([ zlib support: $USE_ZLIB]) | ||
| 169 | AC_MSG_NOTICE([ bzip2 support: $USE_BZIP2]) | ||
| 170 | AC_MSG_NOTICE([ xz support: $USE_XZ]) | ||
| 135 | AC_MSG_NOTICE([ ]) | 171 | AC_MSG_NOTICE([ ]) |
| 136 | AC_MSG_NOTICE([ Please send suggestions to: $PACKAGE_BUGREPORT]) | 172 | AC_MSG_NOTICE([ Please send suggestions to: $PACKAGE_BUGREPORT]) |
| 137 | AC_MSG_NOTICE([ ]) | 173 | AC_MSG_NOTICE([ ]) |
