Page MenuHomePhabricator

configure.ac
No OneTemporary

Size
1 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.3.4], [bugs@pinguin.lu])
AM_INIT_AUTOMAKE(@PACKAGE_NAME@, @PACKAGE_VERSION@)
AC_CONFIG_SRCDIR([xmount.c])
AC_CONFIG_HEADER([config.h])
# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
# Checks for libraries using pkg-config
PKG_CHECK_MODULES([fuse],[fuse],,AC_MSG_ERROR([No FUSE library found! Get it from http://fuse.sourceforge.net/]))
# Checks for libraries.
AC_CHECK_LIB([ewf],[libewf_open],,AC_MSG_WARN([No EWF library found! EWF 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_ERROR([No linux/fs.h header file found!]))
AC_CHECK_HEADER([pthread.h],,AC_MSG_ERROR([No pthread.h header file found!]))
AC_CHECK_HEADER([libewf.h],,AC_MSG_WARN([No libewf.h header file found! EWF 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
Tue, Sep 16, 11:09 AM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1318949
Default Alt Text
configure.ac (1 KB)

Event Timeline