Author: jerry
Date: 2005-10-12 16:52:08 +0000 (Wed, 12 Oct 2005)
New Revision: 10927

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10927

Log:
bug 1473 & 3090: quota compile fixes on Solaris
Modified:
   branches/SAMBA_3_0/source/configure.in
   trunk/source/configure.in


Changeset:
Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in      2005-10-12 16:49:10 UTC (rev 
10926)
+++ branches/SAMBA_3_0/source/configure.in      2005-10-12 16:52:08 UTC (rev 
10927)
@@ -3717,6 +3717,10 @@
            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 @@
 
 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

Modified: trunk/source/configure.in
===================================================================
--- trunk/source/configure.in   2005-10-12 16:49:10 UTC (rev 10926)
+++ trunk/source/configure.in   2005-10-12 16:52:08 UTC (rev 10927)
@@ -3717,6 +3717,10 @@
            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 @@
 
 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

Reply via email to