From 2e56027910ee9d9c6e54db55454fb30021e027d2 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 25 Jan 2001 13:07:41 +0000 Subject: [PATCH] avoid using echo -n since that fails on system v-infected systems, instead using string concatenation git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9498 ec53bebd-3082-4978-b11e-865c3cabbd6b --- tools/krb5-config.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tools/krb5-config.in b/tools/krb5-config.in index ac8220fd4..997c80f64 100755 --- a/tools/krb5-config.in +++ b/tools/krb5-config.in @@ -87,19 +87,21 @@ if test "$print_exec_prefix" = "yes"; then fi if test "$do_libs" = "yes"; then - echo -n "-L${libdir}" + lib_flags="-L${libdir}" case $library in gssapi) - echo -n " -lgssapi" + lib_flags="$lib_flags -lgssapi" ;; kadm-client) - echo -n " -lkadm5clnt" + lib_flags="$lib_flags -lkadm5clnt" ;; kadm-server) - echo -n " -lkadm5srv" + lib_flags="$lib_flags -lkadm5srv" ;; esac - echo " -lkrb5 -lasn1 -ldes -lroken @LIB_crypt@ @LIB_dbopen@ @LIBS@" + lib_flags="$lib_flags -lkrb5 -lasn1 -ldes -lroken" + lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@" + echo $lib_flags fi if test "$do_cflags" = "yes"; then echo "-I${includedir}"