summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-10-12 16:52:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:56 -0500
commit11d36ab3a4c2a2d93605754502148bdbbd5e5928 (patch)
tree257579a71aa9fd33b9bbab0e4254ca3a3e6da6d5 /source3/configure.in
parent111f8e59955775620789a75c513d994f53ece3fe (diff)
downloadsamba-11d36ab3a4c2a2d93605754502148bdbbd5e5928.tar.gz
samba-11d36ab3a4c2a2d93605754502148bdbbd5e5928.tar.bz2
samba-11d36ab3a4c2a2d93605754502148bdbbd5e5928.zip
r10927: bug 1473 & 3090: quota compile fixes on Solaris
(This used to be commit b70b888699fd02b6ac567fcef3b1d2832a0b4719)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in6
1 files changed, 5 insertions, 1 deletions
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