#!@SHELL@
-# $Id: gen-pkgconfig.in,v 1.3 2009/01/03 22:26:47 tom Exp $
+# $Id: gen-pkgconfig.in,v 1.5 2009/01/24 21:06:36 tom Exp $
##############################################################################
# Copyright (c) 2009 Free Software Foundation, Inc. #
# #
TINFO_NAME=@TINFO_NAME@
DFT_DEP_SUFFIX=@DFT_DEP_SUFFIX@
CXX_LIB_SUFFIX=@CXX_LIB_SUFFIX@
-LD_RPATH_OPT=@LD_RPATH_OPT@
prefix="@prefix@"
exec_prefix="@exec_prefix@"
do
name=`basename $lib`
root=`basename $name "$DFT_DEP_SUFFIX"`
- if test "$name" == "$root" ; then
+ if test "$name" = "$root" ; then
root=`basename $name "$CXX_LIB_SUFFIX"`
- if test "$name" == "$root" ; then
+ if test "$name" = "$root" ; then
continue
fi
fi
# add dependencies that pkg-config cannot guess about
if test -z "$reqs" ; then
- if test -z "$LD_RPATH_OPT" ; then
- libs="$libs @LIBS@"
- fi
+ libs="$libs @LIBS@"
fi
echo "** creating ${name}.pc"