Page MenuHomePhabricator

configure.ac
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

configure.ac

# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT([xmount], [0.7.0], [bugs@pinguin.lu])
AC_CONFIG_SRCDIR([xmount.c])
AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE
# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
# Checks for libraries.
##AC_CHECK_LIB([fuse],[fuse_main],,AC_MSG_ERROR([No FUSE library found! Get it from http://fuse.sourceforge.net/]))
#AC_CHECK_LIB([crypto],[SHA1_Init],,AC_MSG_ERROR([No CRYPTO library found! Get it from http://www.openssl.org/]))
AC_CHECK_LIB([ewf],[libewf_handle_open],,AC_MSG_WARN([No EWF library found! EWF input support will be disabled.]))
AC_CHECK_LIB([afflib],[af_open],,AC_MSG_WARN([No AFF library found! AFF input support will be disabled.]))
AC_CHECK_LIB([z],[uncompress],,AC_MSG_WARN([No ZLib library found! AEWF input support will be disabled.]))
# Checks for header files.
AC_CHECK_HEADER([stdio.h],,AC_MSG_ERROR([No stdio.h header file found!]))
AC_CHECK_HEADER([string.h],,AC_MSG_ERROR([No string.h header file found!]))
AC_CHECK_HEADER([fcntl.h],,AC_MSG_ERROR([No fcntl.h header file found!]))
AC_CHECK_HEADER([errno.h],,AC_MSG_ERROR([No errno.h header file found!]))
#AC_CHECK_HEADER([inttypes.h],,AC_MSG_ERROR([No inttypes.h header file found!]))
AC_CHECK_HEADER([stdint.h],,AC_MSG_ERROR([No stdint.h header file found!]))
AC_CHECK_HEADER([unistd.h],,AC_MSG_ERROR([No unistd.h header file found!]))
AC_CHECK_HEADER([sys/ioctl.h],,AC_MSG_ERROR([No sys/ioctl.h header file found!]))
AC_CHECK_HEADER([linux/fs.h],,AC_MSG_WARN([No linux/fs.h header file found! If not building on Linux this can be ignored.]))
AC_CHECK_HEADER([pthread.h],,AC_MSG_ERROR([No pthread.h header file found!]))
AC_CHECK_HEADER([time.h],,AC_MSG_ERROR([No time.h header file found!]))
AC_CHECK_HEADER([zlib.h],,AC_MSG_ERROR([No zlib.h header file found!]))
AC_CHECK_HEADER([byteswap.h],,AC_MSG_WARN([No byteswap.h header file found! If not building on Linux this can be ignored.]))
AC_CHECK_HEADER([endian.h],,AC_MSG_WARN([No endian.h header file found! If not building on Linux this can be ignored.]))
##AC_CHECK_HEADER([fuse/fuse.h],,AC_MSG_WARN([No fuse.h header file found! This could be a false positive!]))
PKG_CHECK_MODULES([fuse],[fuse])
AC_CHECK_HEADER([libewf.h],,AC_MSG_WARN([No libewf.h header file found! EWF input support will be disabled.]))
AC_CHECK_HEADER([afflib/afflib.h],,AC_MSG_WARN([No afflib.h header file found! AFF input support will be disabled.]))
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_INT64_T
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
# Checks for library functions.
AC_FUNC_FSEEKO
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([memset strrchr])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 24, 1:44 PM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1141237
Default Alt Text
configure.ac (2 KB)

Event Timeline