- if test @includedir@ != /usr/include ; then
- if test @includedir@ != /usr/include/c++ ; then
- includes=-I@includedir@
- fi
+ if test "@includedir@" != "/usr/include" \
+ -a "@includedir@" != "/usr/include/c++" \
+ -a \( "${cross_compiling}" != "yes" \
+ -o "@includedir@" != "/usr/${target}/include" \) ;
+ then
+ includes=-I@includedir@