]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/gen-pkgconfig.in
ncurses 5.7 - patch 20090124
[ncurses.git] / misc / gen-pkgconfig.in
index 12bf11ce55f07715f0cbc3fc49e869b2c09d3133..75e95b3bfbf3dfd0d9347c91b7a9354cf1e4c1b8 100644 (file)
@@ -1,5 +1,5 @@
 #!@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.                          #
 #                                                                            #
@@ -41,7 +41,6 @@ LIB_NAME=@LIB_NAME@
 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@"
@@ -60,9 +59,9 @@ for lib in ../lib/*
 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
@@ -96,9 +95,7 @@ do
 
        # 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"