X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=116c3fa55ecd769b11eeba4de763b2151500bf78;hb=8f60935cc161eb79dec63b5f791e732920ba5696;hp=30aa8cf4d66535174757e9bef91c3fa74055efc5;hpb=18185ede3d228470be73550e279a3899d80c856a;p=netatalk.git diff --git a/configure.ac b/configure.ac index 30aa8cf4..116c3fa5 100644 --- a/configure.ac +++ b/configure.ac @@ -80,11 +80,7 @@ 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_SEARCH_LIBS(pthread_sigmask, pthread,,[AC_MSG_ERROR([missing pthread_sigmask])]) -if test x"$ac_cv_search_pthread_sigmask" != x"none required" ; then - PTHREAD_LIBS=$ac_cv_search_pthread_sigmask -fi -AC_SUBST(PTHREAD_LIBS) +AX_PTHREAD(, [AC_MSG_ERROR([missing pthread_sigmask])]) AC_DEFINE(OPEN_NOFOLLOW_ERRNO, ELOOP, errno returned by open with O_NOFOLLOW) @@ -175,9 +171,6 @@ AC_NETATALK_ACL dnl Check for Extended Attributes support AC_NETATALK_EXTENDED_ATTRIBUTES -dnl Check for libsmbsharemodes from Samba for Samba/Netatalk access/deny/share modes interop -AC_NETATALK_SMB_SHAREMODES - dnl Check if realpath() takes NULL AC_NETATALK_REALPATH @@ -190,6 +183,8 @@ AC_NETATALK_LIBEVENT dnl FHS stuff has to be done last because it overrides other defaults AC_NETATALK_FHS +AC_DEVELOPER + CFLAGS="-I\$(top_srcdir)/include -I\$(top_srcdir)/sys $CFLAGS" UAMS_PATH="${uams_path}" @@ -212,6 +207,7 @@ AM_CONDITIONAL(USE_PGP, test x$compile_pgp = xyes) AM_CONDITIONAL(DEFAULT_HOOK, test x$neta_cv_have_libgcrypt != xyes && test x$neta_cv_have_openssl != xyes) AM_CONDITIONAL(USE_BDB, test x$bdb_required = xyes) AM_CONDITIONAL(HAVE_ATFUNCS, test x"$ac_neta_haveatfuncs" = x"yes") +AM_CONDITIONAL(USE_SHADOWPW, test x$shadowpw = xyes) dnl Enable silent Automake rules if present m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])