diff options
author | Hugh McMaster <hugh.mcmaster@outlook.com> | 2019-07-29 21:46:47 +1000 |
---|---|---|
committer | Hugh McMaster <hugh.mcmaster@outlook.com> | 2019-07-29 21:52:41 +1000 |
commit | a7481f3d816944d7f6f9a11ced4e7213557bb609 (patch) | |
tree | 0f05345501e06a38019f3580038c7c9ecf811cef | |
parent | cc1b0b4b686c371059cec2b90a8a7aa7cd16c873 (diff) | |
download | libxslt-a7481f3d816944d7f6f9a11ced4e7213557bb609.tar.gz |
xslt-config.in: Simply handling of $all_flags
-rw-r--r-- | xslt-config.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xslt-config.in b/xslt-config.in index 8b72e1df..5b885854 100644 --- a/xslt-config.in +++ b/xslt-config.in @@ -76,7 +76,6 @@ while test $# -gt 0; do if test "$includedir" != "/usr/include"; then cflags="$cflags @XSLT_INCLUDEDIR@" fi - all_flags="$cflags $all_flags" ;; --libs) @@ -91,7 +90,7 @@ while test $# -gt 0; do libs="@XSLT_LIBDIR@ $libs" fi - all_flags="$all_flags $libs @EXTRA_LIBS@" + libs="$libs @EXTRA_LIBS@" ;; *) @@ -102,6 +101,8 @@ while test $# -gt 0; do shift done +all_flags="$cflags $libs" + if test -z "$all_flags" || test "x$all_flags" = "x "; then exit 1 fi |