[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-154-g434b616

Jelmer Vernooij jelmer at samba.org
Tue Apr 15 02:09:21 GMT 2008


The branch, v4-0-test has been updated
       via  434b61623ecfd846f043ee92c833e92cf905e7b4 (commit)
      from  8710087728cc44761ae85f66c541ab1650e1b952 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 434b61623ecfd846f043ee92c833e92cf905e7b4
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Apr 15 04:08:28 2008 +0200

    Work around 'test' quirks - use make's string comparison instead.

-----------------------------------------------------------------------

Summary of changes:
 source/build/smb_build/makefile.pm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/build/smb_build/makefile.pm b/source/build/smb_build/makefile.pm
index 81aac2f..8f3f170 100644
--- a/source/build/smb_build/makefile.pm
+++ b/source/build/smb_build/makefile.pm
@@ -244,7 +244,9 @@ $ctx->{RESULT_SHARED_LIBRARY}: \$($ctx->{NAME}_DEPEND_LIST) \$($ctx->{NAME}_FULL
 __EOD__
 );
 	if ($ctx->{LIBRARY_REALNAME} ne $ctx->{LIBRARY_SONAME}) {
-		$self->output("\t\@test \$($ctx->{NAME}_VERSION) = \$($ctx->{NAME}_SOVERSION) || ln -fs $ctx->{LIBRARY_REALNAME} $ctx->{SHAREDDIR}/$ctx->{LIBRARY_SONAME}\n");
+		$self->output("ifneq (\$($ctx->{NAME}_VERSION),\$($ctx->{NAME}_SOVERSION))\n");
+		$self->output("\t\@ln -fs $ctx->{LIBRARY_REALNAME} $ctx->{SHAREDDIR}/$ctx->{LIBRARY_SONAME}\n");
+		$self->output("endif\n");
 	}
 	$self->output("ifdef $ctx->{NAME}_SOVERSION\n");
 	$self->output("\t\@ln -fs $ctx->{LIBRARY_REALNAME} $ctx->{SHAREDDIR}/$ctx->{LIBRARY_DEBUGNAME}\n");


-- 
Samba Shared Repository


More information about the samba-cvs mailing list