Append to LIBTOOL_EXTRA_FLAGS in case it is not empty

This commit is contained in:
Frank Denis 2014-02-17 01:23:23 -08:00
parent afcba42802
commit 0e6723c83c

View File

@ -151,7 +151,7 @@ AX_CHECK_COMPILE_FLAG([-fwrapv], [CFLAGS="$CFLAGS -fwrapv"])
AX_CHECK_COMPILE_FLAG([-fno-strict-aliasing], [CFLAGS="$CFLAGS -fno-strict-aliasing"]) AX_CHECK_COMPILE_FLAG([-fno-strict-aliasing], [CFLAGS="$CFLAGS -fno-strict-aliasing"])
AX_CHECK_COMPILE_FLAG([-fno-strict-overflow], [CFLAGS="$CFLAGS -fno-strict-overflow"]) AX_CHECK_COMPILE_FLAG([-fno-strict-overflow], [CFLAGS="$CFLAGS -fno-strict-overflow"])
LIBTOOL_EXTRA_FLAGS="-version-info $SODIUM_LIBRARY_VERSION" LIBTOOL_EXTRA_FLAGS="$LIBTOOL_EXTRA_FLAGS -version-info $SODIUM_LIBRARY_VERSION"
AS_CASE([$host_os], AS_CASE([$host_os],
[cygwin* | mingw* | pw32* | cegcc*], [ [cygwin* | mingw* | pw32* | cegcc*], [