Small fix to SMB_LIBRARY macro
authorTimur I. Bakeyev <timur@com.bat.ru>
Sun, 7 Jun 2009 14:16:51 +0000 (14:16 +0000)
committerStefan Metzmacher <metze@samba.org>
Mon, 8 Jun 2009 11:20:53 +0000 (13:20 +0200)
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.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/m4/aclocal.m4

index dedf6fbf50b4ce521d88bae42d29dd37dcc23aa7..3b120e25643ebbe8a44e7040b07d6423ca978252 100644 (file)
@@ -99,14 +99,14 @@ case "$withval" in
                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
 ]
 )