From 45fe66ebfb99d815e3da4380abd5c4c236533a75 Mon Sep 17 00:00:00 2001 From: rufustfirefly Date: Wed, 14 Feb 2001 16:34:58 +0000 Subject: [PATCH] added support for Solaris kernel module build --- configure.in | 3 +++ sys/Makefile.am | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 46572f74..1600d830 100644 --- a/configure.in +++ b/configure.in @@ -414,6 +414,8 @@ if test x"$this_os" = "xsolaris"; then AC_DEFINE(SOLARIS) CFLAGS="-I\$(top_srcdir)/sys/generic $CFLAGS" need_dash_r=yes + AC_MSG_RESULT([enabling Solaris kernel module build]) + solaris_module=yes fi dnl ----- Tru64 specific ----- @@ -472,6 +474,7 @@ dnl --------------------- last minute substitutions AC_SUBST(LIBS) AC_SUBST(CFLAGS) AC_SUBST(LDSHAREDFLAGS) +AM_CONDITIONAL(SOLARIS_MODULE, test x$solaris_module = xyes) AM_CONDITIONAL(USE_DHX, test x$compile_dhx = xyes) AM_CONDITIONAL(USE_PAM_SO, test x$use_pam_so = xyes) AM_CONDITIONAL(USE_PAM, test x$compile_pam = xyes) diff --git a/sys/Makefile.am b/sys/Makefile.am index 2ab0355d..853e7000 100644 --- a/sys/Makefile.am +++ b/sys/Makefile.am @@ -1,3 +1,7 @@ # Makefile.am for sys/ -SUBDIRS = netatalk +if SOLARIS_MODULE +solaris_directory = solaris +endif + +SUBDIRS = netatalk $(solaris_directory) -- 2.39.2