aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac36
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
102AC_PROG_LN_S 102AC_PROG_LN_S
103 103
104 104
105# check for common functions
106AC_FUNC_FORK
107AC_FUNC_MALLOC
108AC_FUNC_REALLOC
109AC_FUNC_STRERROR_R
110
111# Type checks
112AC_TYPE_INT8_T
113AC_TYPE_INT16_T
114AC_TYPE_INT32_T
115AC_TYPE_INT64_T
116AC_TYPE_OFF_T
117AC_TYPE_SIZE_T
118AC_TYPE_SSIZE_T
119AC_TYPE_UID_T
120AC_TYPE_UINT8_T
121AC_TYPE_UINT16_T
122AC_TYPE_UINT32_T
123AC_TYPE_UINT64_T
124
125# check for required functions
126AC_CHECK_FUNCS([bzero], [], [AC_MSG_ERROR([missing required functions])])
127AC_CHECK_FUNCS([memset], [], [AC_MSG_ERROR([missing required functions])])
128AC_CHECK_FUNCS([rmdir], [], [AC_MSG_ERROR([missing required functions])])
129AC_CHECK_FUNCS([strcasecmp], [], [AC_MSG_ERROR([missing required functions])])
130AC_CHECK_FUNCS([strdup], [], [AC_MSG_ERROR([missing required functions])])
131AC_CHECK_FUNCS([strerror], [], [AC_MSG_ERROR([missing required functions])])
132
133# check for headers
134AC_CHECK_HEADERS([fcntl.h], [], [AC_MSG_ERROR([missing required headers])])
135AC_CHECK_HEADERS([limits.h], [], [AC_MSG_ERROR([missing required headers])])
136
105# GNU Libtool Support 137# GNU Libtool Support
106LT_INIT(dlopen disable-fast-install win32-dll) 138LT_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
118AC_BINDLE_ENABLE_WARNINGS 150AC_BINDLE_ENABLE_WARNINGS
151AC_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([ ])
132AC_MSG_NOTICE([ Secure Core Utilities $GIT_PACKAGE_VERSION ($GIT_PACKAGE_BUILD)]) 165AC_MSG_NOTICE([ Secure Core Utilities $GIT_PACKAGE_VERSION ($GIT_PACKAGE_BUILD)])
133AC_MSG_NOTICE([ ]) 166AC_MSG_NOTICE([ ])
134AC_MSG_NOTICE([ Features:]) 167AC_MSG_NOTICE([ Features:])
168AC_MSG_NOTICE([ zlib support: $USE_ZLIB])
169AC_MSG_NOTICE([ bzip2 support: $USE_BZIP2])
170AC_MSG_NOTICE([ xz support: $USE_XZ])
135AC_MSG_NOTICE([ ]) 171AC_MSG_NOTICE([ ])
136AC_MSG_NOTICE([ Please send suggestions to: $PACKAGE_BUGREPORT]) 172AC_MSG_NOTICE([ Please send suggestions to: $PACKAGE_BUGREPORT])
137AC_MSG_NOTICE([ ]) 173AC_MSG_NOTICE([ ])