]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/gen/adacurses-config.in
ncurses 6.2 - patch 20200907
[ncurses.git] / Ada95 / gen / adacurses-config.in
index 03f8100240358c963f3cea372a581a5b7c52584f..2b055dc53f118a90f400c83a47ab4b5363e95b0f 100644 (file)
@@ -1,7 +1,8 @@
 #! /bin/sh
-# $Id: adacurses-config.in,v 1.11 2016/11/05 20:48:35 tom Exp $
+# $Id: adacurses-config.in,v 1.14 2020/02/02 23:34:34 tom Exp $
 ##############################################################################
-# Copyright (c) 2007-2012,2016 Free Software Foundation, Inc.                #
+# Copyright 2019,2020 Thomas E. Dickey                                       #
+# Copyright 2007-2014,2016 Free Software Foundation, Inc.                    #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
@@ -41,14 +42,14 @@ ADA_OBJECTS=@ADA_OBJECTS@
 VERSION=@NCURSES_MAJOR@.@NCURSES_MINOR@.@NCURSES_PATCH@
 
 CFLAGS="-aI$ADA_INCLUDE -aO$ADA_OBJECTS"
-LIBS="-L$ADA_OBJECTS -lAdaCurses"
+LIBS="-L$ADA_OBJECTS -l@ADA_LIBNAME@"
 
-THIS="adacurses"
+THIS="@ADA_LIBNAME@"
 THIS_CFG="$THIS@DFT_ARG_SUFFIX@-config"
 
 case "x$1" in
        x--version)
-               echo AdaCurses $VERSION
+               echo @ADA_LIBNAME@ $VERSION
                ;;
        x--cflags)
                echo $CFLAGS