From 11d36ab3a4c2a2d93605754502148bdbbd5e5928 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 12 Oct 2005 16:52:08 +0000 Subject: r10927: bug 1473 & 3090: quota compile fixes on Solaris (This used to be commit b70b888699fd02b6ac567fcef3b1d2832a0b4719) --- source3/configure.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index deeab5886f..b331387a3f 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3717,6 +3717,10 @@ case "$host_os" in AC_MSG_CHECKING(whether to use the lib/sysquotas_xfs.c builtin support) AC_MSG_RESULT(yes) ;; + *solaris*) + # need to set this define when using static linking (BUG 1473) + CPPFLAGS="$CPPFLAGS -DSUNOS5" + ;; *) ;; esac @@ -3896,7 +3900,7 @@ fi AC_CACHE_CHECK([whether the old quota support works],samba_cv_QUOTA_WORKS,[ SAVE_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="$CPPFLAGS -I${srcdir-.}/ -I. -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/popt -I${srcdir-.}/nsswitch" +CPPFLAGS="$CPPFLAGS -I${srcdir-.}/ -I. -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/popt -I${srcdir-.}/nsswitch -I${srcdir-.}/smbwrapper" AC_TRY_COMPILE([ #include "confdefs.h" #define NO_PROTO_H 1 -- cgit