yazpp-config: quote some RHS values (that might include blanks)
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 7 Feb 2014 12:12:30 +0000 (13:12 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 7 Feb 2014 12:12:30 +0000 (13:12 +0100)
yazpp-config.in

index c32146c..d66d4c1 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/sh
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
+prefix="@prefix@"
+exec_prefix="@exec_prefix@"
+libdir="@libdir@"
+includedir="@includedir@"
 echo_cflags=no
 echo_libs=no
 echo_help=no
@@ -10,8 +10,8 @@ echo_tabs=no
 echo_source=yes
 echo_lalibs=no
 echo_zoom=no
-src_root=@abs_top_srcdir@
-build_root=@abs_top_builddir@
+src_root="@abs_top_srcdir@"
+build_root="@abs_top_builddir@"
 yazlibs="@YAZLIB@ @LIBS@"
 yazlalibs="@YAZLALIB@ @LIBS@"
 VERSION=@VERSION@
@@ -97,7 +97,7 @@ else
     else
        YAZPPLIB="-L${libdir} ${libs_short} $YAZPPLIB"
     fi
-    YAZPPLALIB=$YAZPPLIB
+    YAZPPLALIB="$YAZPPLIB"
     if test "$prefix" != "/usr"; then
        YAZPPINC="$YAZPPINC -I${includedir}"
     fi