#!@SHELL@
-# $Id: gen-pkgconfig.in,v 1.12 2011/12/10 18:39:20 tom Exp $
+# $Id: gen-pkgconfig.in,v 1.14 2012/01/01 01:48:23 tom Exp $
##############################################################################
# Copyright (c) 2009-2010,2011 Free Software Foundation, Inc. #
# #
for name in @PC_MODULES_TO_MAKE@
do
- name="${name}@DFT_ARG_SUFFIX@"
+ name="${name}"
desc="ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@"
reqs=
desc="$desc add-on library"
fi
- if test $name != $SUB_LIBRARY ; then
+ if test $name != $SUB_LIBRARY && test $SUB_LIBRARY != $MAIN_LIBRARY ; then
if test $name != $TINFO_NAME ; then
test -n "$reqs" && reqs="$reqs, "
reqs="${reqs}${SUB_LIBRARY}"