mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.61)
|
|
AC_INIT([urbackup-server], [0.25.1], [martin@urbackup.org])
|
|
AC_CONFIG_SRCDIR([AcceptThread.cpp])
|
|
AC_CONFIG_HEADER([config.h])
|
|
AM_INIT_AUTOMAKE
|
|
|
|
# Checks for programs.
|
|
AC_PROG_CXX
|
|
AC_PROG_CC
|
|
|
|
#AX_BOOST_BASE([1.38.0])
|
|
#AX_BOOST_THREAD
|
|
|
|
#if !($HAVE_BOOST_THREAD)
|
|
#then
|
|
# echo "Sorry, you need the Thread-Lib from Boost."
|
|
# echo "Please install from http://www.boost.org"
|
|
# exit 1
|
|
#fi
|
|
|
|
AX_PTHREAD
|
|
if !($HAVE_PTHREAD)
|
|
then
|
|
echo "Sorry, your system needs the pthread library."
|
|
echo "Either install it or give up."
|
|
exit 1
|
|
fi
|
|
|
|
# Checks for libraries.
|
|
|
|
# Checks for header files.
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS([pthread.h arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h sys/socket.h sys/time.h unistd.h])
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
AC_HEADER_STDBOOL
|
|
AC_C_CONST
|
|
AC_C_INLINE
|
|
AC_TYPE_SIZE_T
|
|
AC_HEADER_TIME
|
|
AC_STRUCT_TM
|
|
|
|
AX_LIB_SOCKET_NSL
|
|
|
|
# Checks for library functions.
|
|
AC_FUNC_SELECT_ARGTYPES
|
|
AC_FUNC_STRFTIME
|
|
AC_CHECK_FUNCS([gettimeofday memset select socket strstr])
|
|
|
|
AC_CONFIG_SUBDIRS([pychart urlplugin downloadplugin fsimageplugin httpserver urbackup])
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|