buteo daemon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

52 lines
1.3 KiB

AC_INIT([buteod], [0.0.0], [stefan@debxwoody.de])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/main.cpp])
AC_CONFIG_HEADERS([src/config.hpp])
AC_CONFIG_FILES([Makefile])
AM_INIT_AUTOMAKE([foreign subdir-objects])
# Status of Package
# - release - release version
# - development - development only
#PACKAGE_STATUS="release"
PACKAGE_STATUS="development"
# Checking programs
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_SYS_LARGEFILE
# Checking platform
AC_CANONICAL_HOST
PLATFORM="unknown"
AS_CASE([$host_os],
[freebsd*], [PLATFORM="freebsd"],
[openbsd*], [PLATFORM="openbsd"],
[darwin*], [PLATFORM="osx"],
[cygwin], [PLATFORM="cygwin"],
[PLATFORM="nix"])
# format-sources - clang-format
AM_EXTRA_RECURSIVE_TARGETS([format-sources])
AC_CHECK_PROG([SOURCE_FORMATTER], [clang-format], [clang-format])
AM_CONDITIONAL([HAVE_SOURCE_FORMATTER], [test x$SOURCE_FORMATTER = xclang-format])
#AC_SUBST(AM_LDFLAGS)
#AC_SUBST(AM_CFLAGS)
#AC_SUBST(AM_CPPFLAGS)
#AC_CHECK_FUNCS([strdup])
AC_OUTPUT
echo ""
echo "PLATFORM : $host_os"
echo "PACKAGE_STATUS : $PACKAGE_STATUS"
echo "CFLAGS : $CFLAGS"
echo "AM_CFLAGS : $AM_CFLAGS"
echo "AM_CPPFLAGS : $AM_CPPFLAGS"
echo "AM_LDFLAGS : $AM_LDFLAGS"
echo "LIBS : $LIBS"