+
+if test "x$AVIFILE_CONFIG" '!=' "x";then
+ OLDCPPFLAGS="$CPPFLAGS"
+ #OLDLDFLAGS="$LDFLAGS"
+ CPPFLAGS="$CPPFLAGS $CXXFLAGS "`$AVIFILE_CONFIG --cflags`
+ #LDFLAGS="$LDFLAGS `$AVIFILE_CONFIG --libs`"
+ AC_CHECK_HEADERS(avifile/version.h version.h)
+ #LDFLAGS="$OLDLDFLAGS"
+ CPPFLAGS="$OLDCPPFLAGS"
+fi
+