[ --with-admin-group=grp enable and set administrative group],
admin_grp="$withval"
AC_DEFINE_UNQUOTED(ADMIN_GRP, "$admin_grp")
- AC_MSG_RESULT([enabling administrative group "$admin_grp".]),
+ AC_MSG_RESULT([enabling administrative group "$admin_grp"]),
)
AC_ARG_WITH(auth-printing-dir,
cap_dir="$withval"
AC_DEFINE_UNQUOTED(CAPDIR, "$cap_dir")
AC_DEFINE(USE_CAP)
- AC_MSG_RESULT([enabling authenticated printing support.]),
+ AC_MSG_RESULT([enabling authenticated printing support]),
)
AC_ARG_WITH(config-dir,
AC_CHECK_LIB(crack, main,
AC_DEFINE(USE_CRACKLIB)
LIBS="$LIBS -lcrack"
- AC_MSG_RESULT([enabling cracklib support.])
+ AC_MSG_RESULT([enabling cracklib support])
if test x"$crackdict" = "x"; then
crackdict="$prefix/lib/cracklib_dict"
fi
AC_ARG_ENABLE(ddp,
[ --disable-ddp disable DDP],,
AC_DEFINE(NO_DDP, 1)
+ AC_MSG_RESULT([disabling DDP])
)
AC_ARG_ENABLE(debug,
[ --enable-debug enable debug code],
AC_DEFINE(DEBUG, 1)
- AC_MSG_RESULT([Enabling debugging code.]),
+ AC_MSG_RESULT([enabling debugging code]),
AC_DEFINE(DEBUG, 0)
)
AC_CHECK_LIB(pam, main,
AC_DEFINE(USE_PAM)
LIBS="$LIBS -lpam"
- AC_MSG_RESULT([Enabling shadow password support.])
+ AC_MSG_RESULT([enabling pam modules support])
)
)
AC_ARG_WITH(shadow,
[ --with-shadow enable shadow password support],
- AC_MSG_RESULT([Enabling shadow password support.])
+ AC_MSG_RESULT([enabling shadow password support])
AC_DEFINE(SHADOWPW)
)
AC_ARG_WITH(flock-locks,
[ --with-flock-locks enable flock locks support],
- AC_MSG_RESULT([Enabling flock locks.])
+ AC_MSG_RESULT([enabling flock locks])
AC_DEFINE(USE_FLOCK_LOCKS)
)
AC_CHECK_LIB(wrap, main,
AC_DEFINE(TCPWRAP)
LIBS="$LIBS -lwrap"
- AC_MSG_RESULT([Enabling TCP wrappers support.])
+ AC_MSG_RESULT([enabling TCP wrappers support])
)
)
UAMS_PATH="$uams_path"
AC_SUBST(UAMS_PATH)
+dnl --------------------------------------------------------------------------
+dnl drop in includes for top level directory structures here...
+dnl --------------------------------------------------------------------------
+LIBS="$LIBS -L\$(top_srcdir)/libatalk/"
+CFLAGS="$CFLAGS -I\$(top_srcdir)/include -I\$(top_srcdir)/sys"
+AC_SUBST(LIBS)
+AC_SUBST(CFLAGS)
+
dnl --------------------------------------------------------------------------
dnl specific configuration comes in here:
dnl --------------------------------------------------------------------------
contrib/Makefile
contrib/nu/Makefile
contrib/printing/Makefile
+ distrib/Makefile
+ distrib/config/Makefile
+ distrib/config/netatalk-config
+ distrib/initscripts/Makefile
+ distrib/initscripts/rc.atalk.redhat
+ distrib/m4/Makefile
etc/Makefile
etc/afpd/Makefile
etc/afpd/nls/Makefile
man/man8/Makefile
sys/Makefile
sys/netatalk/Makefile
-])
+ ],
+ [chmod a+x distrib/config/netatalk-config]
+)