-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
+if test "$includedir" = "/usr/include" ; then
+ CFLAGS=
+else
+ includetop=`echo "$includedir" | sed -e 's,/include/[^/]*$,/include/,'`
+ test "$includetop" = "/usr/include" && includetop="$includedir"
+ if test "x$includetop" != "$includedir"
+ then
+ CFLAGS="-I${includetop} -I\${includedir}"
+ else
+ CFLAGS="-I\${includedir}"