if $AM_LDFLAGS is empty then libs output shifted with white-spaces according to other prints. Also line up ld and clfags.
Signed-off-by: Maxim Uvarov <[email protected]> --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 2f27261..f792a68 100644 --- a/configure.ac +++ b/configure.ac @@ -112,8 +112,8 @@ AX_PTHREAD([CC="$PTHREAD_CC"], [ exit -1 ]) LIBS="$PTHREAD_LIBS $LIBS" -AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS" -AM_LDFLAGS="$AM_LDFLAGS $PTHREAD_LDFLAGS" +AM_CFLAGS="$PTHREAD_CFLAGS $AM_CFLAGS" +AM_LDFLAGS="$PTHREAD_LDFLAGS $AM_LDFLAGS" ########################################################################## # Check for doxygen availability @@ -209,7 +209,7 @@ AC_SEARCH_LIBS([timer_create],[rt posix4]) ########################################################################## # distribute the changed variables among the Makefiles -AM_LDFLAGS="$AM_LDFLAGS -pthread -lrt" +AM_LDFLAGS="-pthread -lrt $AM_LDFLAGS" AC_SUBST([LIBS]) AC_SUBST([AM_CFLAGS]) -- 1.8.5.1.163.gd7aced9 _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
