summaryrefslogtreecommitdiff
path: root/net/samba/files/patch-configure.in
blob: 02f346dac92ce38d4239de64b754c6bfacdb73f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
*** source/configure.in.orig	Wed Apr 16 20:59:48 2003
--- source/configure.in	Wed Apr 16 21:00:36 2003
***************
*** 170,176 ****
  AC_SUBST(LIBSMBCLIENT)
  
  # compile with optimization and without debugging by default
! CFLAGS="-O ${CFLAGS}"
  
  AC_ARG_ENABLE(debug, 
  [  --enable-debug          Turn on compiler debugging information (default=no)],
--- 170,176 ----
  AC_SUBST(LIBSMBCLIENT)
  
  # compile with optimization and without debugging by default
! CFLAGS="${CFLAGS}"
  
  AC_ARG_ENABLE(debug, 
  [  --enable-debug          Turn on compiler debugging information (default=no)],
***************
*** 2954,2959 ****
--- 2954,2963 ----
          *linux*|*irix*)
  		HAVE_WINBIND=yes
                  ;;
+ 	*freebsd5*)
+ 		HAVE_WINBIND=yes
+ 		WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_bsd.o"
+                ;;
  	*solaris*)
  		HAVE_WINBIND=yes
  		WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o"