urbackup_backend/fuseplugin/configure.ac
2014-10-13 22:46:43 +02:00

43 lines
1004 B
Plaintext

# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT([urbackupserver_fuseplugin], [0.1], [martin@urbackup.org])
AC_CONFIG_SRCDIR([dllmain.cpp])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_DISABLE_STATIC
AM_INIT_AUTOMAKE
AC_ARG_ENABLE([fortify],
AS_HELP_STRING([--disable-fortify], [Disable GCC/runtime fortification]))
AM_CONDITIONAL(WITH_FORTIFY, test "x$enable_fortify" != xno)
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_LIBTOOL
# Checks for libraries.
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_TYPE_SIZE_T
# Checks for library functions.
PKG_CHECK_MODULES([FUSE], [fuse >= 2.8.0], [
AC_SUBST([FUSE_CFLAGS])
AC_SUBST([FUSE_LIBS])
])
AC_SUBST([FUSE_CFLAGS])
AC_SUBST([FUSE_LIBS])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT