Simplify code by moving duplicate assignment to common place.
authorMichael Adam <obnox@samba.org>
Tue, 12 Feb 2008 13:43:20 +0000 (14:43 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 13 Feb 2008 08:25:31 +0000 (09:25 +0100)
Michael
(This used to be commit dddfdee90ee30d225e08d7f1685409f62fabf7c1)

source3/configure.in

index eab8645b37ffeed4e2fb02a8653c43c02a5a73e3..34fac655c46348af9d25e28593b470710ed241c8 100644 (file)
@@ -5191,7 +5191,6 @@ samba_cv_with_libtalloc=yes
 
 if test x"$samba_cv_with_libtalloc" = "xyes" -a $BLDSHARED = true; then
        LIBTALLOC_SHARED=bin/libtalloc.$SHLIBEXT
-       LIBTALLOC=libtalloc
        AC_MSG_RESULT(yes)
        if test x"$LIB_TALLOC" = "xSTATIC" ; then
                LIBTALLOC_STATIC=bin/libtalloc.a
@@ -5203,9 +5202,9 @@ else
        AC_MSG_RESULT(no shared library support -- will supply static library)
 fi
 if test $enable_static = yes; then
-       LIBTALLOC=libtalloc
        LIBTALLOC_STATIC=bin/libtalloc.a
 fi
+LIBTALLOC=libtalloc
 INSTALL_LIBTALLOC=installlibtalloc
 UNINSTALL_LIBTALLOC=uninstalllibtalloc