]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/gen/adacurses-config.in
ncurses 6.3 - patch 20220716
[ncurses.git] / Ada95 / gen / adacurses-config.in
index 2b055dc53f118a90f400c83a47ab4b5363e95b0f..a5394170d752a73ca2501b329f9da18049517eec 100644 (file)
@@ -1,7 +1,7 @@
 #! /bin/sh
-# $Id: adacurses-config.in,v 1.14 2020/02/02 23:34:34 tom Exp $
+# $Id: adacurses-config.in,v 1.15 2022/07/16 21:16:43 tom Exp $
 ##############################################################################
-# Copyright 2019,2020 Thomas E. Dickey                                       #
+# Copyright 2019-2020,2022 Thomas E. Dickey                                  #
 # Copyright 2007-2014,2016 Free Software Foundation, Inc.                    #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
@@ -45,17 +45,17 @@ CFLAGS="-aI$ADA_INCLUDE -aO$ADA_OBJECTS"
 LIBS="-L$ADA_OBJECTS -l@ADA_LIBNAME@"
 
 THIS="@ADA_LIBNAME@"
-THIS_CFG="$THIS@DFT_ARG_SUFFIX@-config"
+THIS_CFG="${THIS}@DFT_ARG_SUFFIX@-config"
 
 case "x$1" in
        x--version)
                echo @ADA_LIBNAME@ $VERSION
                ;;
        x--cflags)
-               echo $CFLAGS
+               echo "$CFLAGS"
                ;;
        x--libs)
-               echo $LIBS
+               echo "$LIBS"
                ;;
        x)
                # if no parameter is given, give what gnatmake needs
@@ -77,7 +77,7 @@ If no options are given, echos the full set of flags needed by gnatmake.
 ENDHELP
                ;;
        *)
-               echo 'Usage: $THIS_CFG [--version | --cflags | --libs]' >&2
+               echo "Usage: ${THIS_CFG} [--version | --cflags | --libs]" >&2
                exit 1
                ;;
 esac