X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=Ada95%2Fgen%2Fadacurses-config.in;fp=Ada95%2Fgen%2Fadacurses-config.in;h=a5394170d752a73ca2501b329f9da18049517eec;hp=2b055dc53f118a90f400c83a47ab4b5363e95b0f;hb=67ea6645053c80c6eea47a4ff6d9153da83ac2ac;hpb=3f57ad09dfcb62c8ad444e13fa4d450c05e878ba diff --git a/Ada95/gen/adacurses-config.in b/Ada95/gen/adacurses-config.in index 2b055dc5..a5394170 100644 --- a/Ada95/gen/adacurses-config.in +++ b/Ada95/gen/adacurses-config.in @@ -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