3152
3152
dnl But only when making dependencies, cproto and lint don't take "-isystem".
3153
3153
dnl Mac gcc returns "powerpc-apple-darwin8-gcc-4.0.1 (GCC)...", need to allow
3154
3154
dnl the number before the version number.
3157
3156
if test "$GCC" = yes; then
3158
3158
gccmajor=`echo "$gccversion" | sed -e 's/^\([[1-9]]\)\..*$/\1/g'`
3159
3159
if test "$gccmajor" -gt "2"; then
3160
3160
DEPEND_CFLAGS_FILTER="| sed 's+-I */+-isystem /+g'"
3168
3175
AC_SUBST(DEPEND_CFLAGS_FILTER)