-for lib in ../lib/*
-do
- name=`basename $lib`
- root=`basename $name "$DFT_DEP_SUFFIX"`
- if test "$name" == "$root" ; then
- root=`basename $name "$CXX_LIB_SUFFIX"`
- if test "$name" == "$root" ; then
- continue
- fi
+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}"