View | Details | Raw Unified | Return to bug 45691
Collapse All | Expand All

(-)samba/Makefile (+4 lines)
Lines 21-26 Link Here
21
USE_GMAKE=	YES
19
USE_GMAKE=	YES
22
USE_LIBTOOL=	YES
20
USE_LIBTOOL=	YES
23
USE_AUTOCONF=	YES
21
USE_AUTOCONF=	YES
22
USE_REINPLACE=	YES
24
23
25
# directories
24
# directories
26
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
25
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
Lines 172-177 Link Here
172
.endif
171
.endif
173
172
174
pre-build:
173
pre-build:
174
.if defined(WITHOUT_OPTIMIZATION)
175
	${REINPLACE_CMD} -e 's!-O!!g' ${WRKSRC}/Makefile
176
.endif
175
	${RM} -fr ${WRKSRC}/include/proto.h
177
	${RM} -fr ${WRKSRC}/include/proto.h
176
	(cd ${WRKSRC} && make proto)
178
	(cd ${WRKSRC} && make proto)
177
179
(-)samba/files/patch-configure.in (+11 lines)
Line 0 Link Here
1
--- source/configure.in.orig	Thu Nov  7 17:52:42 2002
2
+++ source/configure.in	Thu Nov  7 17:53:09 2002
3
@@ -168,7 +168,7 @@
4
 AC_SUBST(LIBSMBCLIENT)
5
 
6
 # compile with optimization and without debugging by default
7
-CFLAGS="-O ${CFLAGS}"
8
+CFLAGS="${CFLAGS}"
9
 
10
 AC_ARG_ENABLE(debug, 
11
 [  --enable-debug          Turn on compiler debugging information (default=no)],
(-)samba/scripts/configure.samba (-1 / +5 lines)
Lines 13-19 Link Here
13
else
13
else
14
	/usr/bin/dialog --title "configuration options" --clear \
14
	/usr/bin/dialog --title "configuration options" --clear \
15
		--checklist "\n\
15
		--checklist "\n\
16
Please select desired options:" -1 -1 12 \
16
Please select desired options:" -1 -1 13 \
17
syslog		"With syslog support" OFF \
17
syslog		"With syslog support" OFF \
18
ssl		"With ssl support" OFF \
18
ssl		"With ssl support" OFF \
19
ldap		"With LDAP2 support" OFF \
19
ldap		"With LDAP2 support" OFF \
Lines 26-31 Link Here
26
audit		"With Audit" OFF \
26
audit		"With Audit" OFF \
27
winbind		"With Winbind" OFF \
27
winbind		"With Winbind" OFF \
28
wbauth		"With Winbind Auth Challenge" OFF \
28
wbauth		"With Winbind Auth Challenge" OFF \
29
nooptimize	"Without optimization" OFF \
29
2> $tempfile
30
2> $tempfile
30
31
31
	retval=$?
32
	retval=$?
Lines 86-91 Link Here
86
			;;
87
			;;
87
		\"wbauth\")
88
		\"wbauth\")
88
			echo "WITH_WINBIND_AUTH_CHALLENGE=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
89
			echo "WITH_WINBIND_AUTH_CHALLENGE=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
90
			;;
91
		\"nooptimize\")
92
			echo "WITHOUT_OPTIMIZATION=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
89
			;;
93
			;;
90
		*)
94
		*)
91
			echo "Invalid option: $1"
95
			echo "Invalid option: $1"

Return to bug 45691