Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates-src > by-pkgid > f1e3b1468a8f74a3e1cd031ee673e19f > files > 19

samba4-4.0.0-60alpha18.fc17.src.rpm

commit b6880efe1ad8fbc3fe24919ae84edf46d31bd984
Author:     Andreas Schneider <asn@samba.org>
AuthorDate: Thu Mar 15 17:04:00 2012 +0100
Commit:     Andreas Schneider <asn@samba.org>
CommitDate: Thu Mar 15 17:08:58 2012 +0100

    waf: Add autoconf --target support.

    This is needed on some platforms so that you can set it and it is not
    automagically transformed into --targets. The --target option is
    normally set by the RPM %configure macro.
---
 buildtools/wafsamba/wscript |    3 +++
 1 file changed, 3 insertions(+)

Index: samba-4.0.0alpha18/buildtools/wafsamba/wscript
===================================================================
--- samba-4.0.0alpha18.orig/buildtools/wafsamba/wscript
+++ samba-4.0.0alpha18/buildtools/wafsamba/wscript
@@ -156,6 +156,9 @@ def set_options(opt):
     opt.add_option('--host',
 		   help=SUPPRESS_HELP,
 		   action='store', dest='AUTOCONF_HOST', default='')
+    opt.add_option('--target',
+		   help=SUPPRESS_HELP,
+		   action='store', dest='AUTOCONF_TARGET', default='')
     opt.add_option('--program-prefix',
 		   help=SUPPRESS_HELP,
 		   action='store', dest='AUTOCONF_PROGRAM_PREFIX', default='')