[PATCH] [FreeBSD 16] Small fix to SMB_LIBRARY macro

Timur I. Bakeyev timur at com.bat.ru
Sun Jun 7 14:16:51 GMT 2009


It seems, that SMB_LIBRARY macro has small bug in the logic, when showing
if shall the SHARED version of the library be build.

If the default value is given as a parameter, it reports "yes" when library
is going to be build(?).

This small patch makes report consistent.

With regards,
Timur Bakeyev.
-------------- next part --------------
--- ./source3/m4/aclocal.m4.orig	2009-04-30 07:53:01.000000000 +0000
+++ ./source3/m4/aclocal.m4	2009-06-01 11:49:40.000000000 +0000
@@ -99,14 +99,14 @@
 		build_lib=yes
 		;;
 	*)
-		AC_MSG_RESULT(yes)
+		AC_MSG_RESULT(no)
 		build_lib=no
 		;;
 esac
 ],
 [
 # if unspecified, default is not to build
-AC_MSG_RESULT(yes)
+AC_MSG_RESULT(no)
 build_lib=no
 ]
 )


More information about the samba-technical mailing list