X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=configure.ac;h=2f89f8cc23206b391e07e575fb9c3f57ecce99a1;hp=ade3cf6c94f71e3a9f015c8f4ede2c4dbf3ee941;hb=refs%2Fheads%2Fv3.1.6-alex;hpb=078278ce973d8513474e9505095a04f3a6db04c0 diff --git a/configure.ac b/configure.ac index ade3cf6c..2f89f8cc 100644 --- a/configure.ac +++ b/configure.ac @@ -25,6 +25,8 @@ AC_PROG_PS AM_PROG_CC_C_O AC_C_BIGENDIAN AC_C_INLINE +AC_PROG_LEX +AC_PROG_YACC dnl Check if we can use attribute unused (gcc only) from ethereal AC_MSG_CHECKING(to see if we can add '__attribute__((unused))' to CFLAGS) @@ -74,12 +76,14 @@ AC_CHECK_MEMBERS(struct tm.tm_gmtoff,,, [#include ]) dnl these tests have been comfirmed to be needed in 2011 AC_CHECK_FUNCS(backtrace_symbols dirfd getusershell pread pwrite pselect) -AC_CHECK_FUNCS(setlinebuf strlcat strlcpy strnlen mempcpy) +AC_CHECK_FUNCS(setlinebuf strlcat strlcpy strnlen mempcpy vasprintf asprintf) AC_CHECK_FUNCS(mmap utime getpagesize) dnl needed by tbd dnl search for necessary libraries AC_SEARCH_LIBS(gethostbyname, nsl) AC_SEARCH_LIBS(connect, socket) +AC_CHECK_FUNCS(getifaddrs) dnl comes after gethostbyname and connect so it picks up the libs + AX_PTHREAD(, [AC_MSG_ERROR([missing pthread_sigmask])]) AC_DEFINE(OPEN_NOFOLLOW_ERRNO, ELOOP, errno returned by open with O_NOFOLLOW) @@ -176,10 +180,17 @@ AC_NETATALK_REALPATH dnl Check for sendfile() AC_NETATALK_SENDFILE +AC_NETATALK_RECVFILE dnl Check whether bundled libevent shall not be used AC_NETATALK_LIBEVENT +dnl Check whether bundled tdb shall be used +AC_NETATALK_TDB + +dnl Check for Tracker +AC_NETATALK_SPOTLIGHT + dnl libatalk API checks AC_DEVELOPER @@ -198,7 +209,7 @@ AC_NETATALK_LOCKFILE dnl Check for Docbook and build documentation if found AX_CHECK_DOCBOOK -CFLAGS="-I\$(top_srcdir)/include -I\$(top_builddir)/include $CFLAGS" +CPPFLAGS="-I\$(top_srcdir)/include -I\$(top_builddir)/include -I\$(top_srcdir) $CPPFLAGS" UAMS_PATH="${uams_path}" AC_SUBST(LIBS) @@ -208,7 +219,7 @@ AC_SUBST(UAMS_PATH) AM_CONDITIONAL(SOLARIS_MODULE, test x$solaris_module = xyes) AM_CONDITIONAL(HAVE_LIBGCRYPT, test x$neta_cv_have_libgcrypt = xyes) AM_CONDITIONAL(HAVE_OPENSSL, test x$neta_cv_have_openssl = xyes) -AM_CONDITIONAL(HAVE_ACLS, test x"$with_acl_support" = x"yes") +AM_CONDITIONAL(HAVE_ACLS, test x"$ac_cv_have_acls" = x"yes") AM_CONDITIONAL(HAVE_LDAP, test x"$netatalk_cv_ldap" = x"yes") AM_CONDITIONAL(USE_DHX, test x$neta_cv_compile_dhx = xyes) AM_CONDITIONAL(USE_DHX2, test x$neta_cv_compile_dhx2 = xyes) @@ -234,7 +245,6 @@ AC_OUTPUT([Makefile bin/cnid/cnid2_create bin/megatron/Makefile bin/misc/Makefile - bin/uniconv/Makefile config/Makefile config/pam/Makefile contrib/Makefile @@ -251,14 +261,17 @@ AC_OUTPUT([Makefile doc/Makefile doc/html.xsl doc/man.xsl + doc/manual/Makefile doc/manual/manual.xml doc/manpages/Makefile doc/manpages/man1/Makefile + doc/manpages/man5/Makefile doc/manpages/man8/Makefile etc/Makefile etc/afpd/Makefile etc/cnid_dbd/Makefile etc/netatalk/Makefile + etc/spotlight/Makefile etc/uams/Makefile include/Makefile include/atalk/Makefile @@ -271,9 +284,11 @@ AC_OUTPUT([Makefile libatalk/cnid/last/Makefile libatalk/cnid/dbd/Makefile libatalk/cnid/tdb/Makefile + libatalk/cnid/mysql/Makefile libatalk/compat/Makefile libatalk/dsi/Makefile libatalk/iniparser/Makefile + libatalk/talloc/Makefile libatalk/tdb/Makefile libatalk/unicode/Makefile libatalk/unicode/charsets/Makefile