1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

Small fix to SMB_LIBRARY macro

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>
This commit is contained in:
Timur I. Bakeyev 2009-06-07 14:16:51 +00:00 committed by Stefan Metzmacher
parent 96eaa412e6
commit a7cd66728b

View 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
]
)