-SUB_LIBRARY_REQ=${SUB_LIBRARY}
-TINFO_NAME_REQ=${TINFO_NAME}
-if test $TINFO_NAME = $LIB_NAME ; then
- SUB_LIBRARY_REQ=
- TINFO_NAME_REQ=
+CFLAGS="@PKG_CFLAGS@"
+if test "$includedir" != "/usr/include" ; then
+ includetop=`echo "$includedir" | sed -e 's,/include/[^/]*$,/include,'`
+ test "$includetop" = "/usr/include" && includetop="$includedir"
+ if test "x$includetop" != "x$includedir"
+ then
+ CFLAGS="$CFLAGS -I${includetop}"
+ fi
+ CFLAGS="$CFLAGS -I\${includedir}"