FreeBSD Bugzilla – Attachment 26831 Details for
Bug 45691
Add option to disable samba optimization.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.00 KB, created by
Clive Lin
on 2002-11-24 21:10:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Clive Lin
Created:
2002-11-24 21:10:03 UTC
Size:
2.00 KB
patch
obsolete
>diff -ruN samba.orig/Makefile samba/Makefile >--- samba.orig/Makefile Mon Nov 25 04:20:17 2002 >+++ samba/Makefile Mon Nov 25 03:39:50 2002 >@@ -21,6 +19,7 @@ > USE_GMAKE= YES > USE_LIBTOOL= YES > USE_AUTOCONF= YES >+USE_REINPLACE= YES > > # directories > .if !defined(BATCH) && !defined(PACKAGE_BUILDING) >@@ -172,6 +171,9 @@ > .endif > > pre-build: >+.if defined(WITHOUT_OPTIMIZATION) >+ ${REINPLACE_CMD} -e 's!-O!!g' ${WRKSRC}/Makefile >+.endif > ${RM} -fr ${WRKSRC}/include/proto.h > (cd ${WRKSRC} && make proto) > >diff -ruN samba.orig/files/patch-configure.in samba/files/patch-configure.in >--- samba.orig/files/patch-configure.in Thu Jan 1 08:00:00 1970 >+++ samba/files/patch-configure.in Thu Nov 7 17:53:30 2002 >@@ -0,0 +1,11 @@ >+--- source/configure.in.orig Thu Nov 7 17:52:42 2002 >++++ source/configure.in Thu Nov 7 17:53:09 2002 >+@@ -168,7 +168,7 @@ >+ AC_SUBST(LIBSMBCLIENT) >+ >+ # compile with optimization and without debugging by default >+-CFLAGS="-O ${CFLAGS}" >++CFLAGS="${CFLAGS}" >+ >+ AC_ARG_ENABLE(debug, >+ [ --enable-debug Turn on compiler debugging information (default=no)], >diff -ruN samba.orig/scripts/configure.samba samba/scripts/configure.samba >--- samba.orig/scripts/configure.samba Thu Jul 11 21:32:55 2002 >+++ samba/scripts/configure.samba Mon Nov 25 03:23:12 2002 >@@ -13,7 +13,7 @@ > else > /usr/bin/dialog --title "configuration options" --clear \ > --checklist "\n\ >-Please select desired options:" -1 -1 12 \ >+Please select desired options:" -1 -1 13 \ > syslog "With syslog support" OFF \ > ssl "With ssl support" OFF \ > ldap "With LDAP2 support" OFF \ >@@ -26,6 +26,7 @@ > audit "With Audit" OFF \ > winbind "With Winbind" OFF \ > wbauth "With Winbind Auth Challenge" OFF \ >+nooptimize "Without optimization" OFF \ > 2> $tempfile > > retval=$? >@@ -86,6 +87,9 @@ > ;; > \"wbauth\") > echo "WITH_WINBIND_AUTH_CHALLENGE=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc >+ ;; >+ \"nooptimize\") >+ echo "WITHOUT_OPTIMIZATION=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc > ;; > *) > echo "Invalid option: $1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45691
: 26831