esac; \
fi; \
am__skip_next=no; \
+ am__strip_trailopt () \
+ { \
+ am__flg=`printf '%s\n' "$$am__flg" | sed "s/$$1.*$$//"`; \
+ }; \
for am__flg in $$am__flags; do \
if test $$am__skip_next = yes; then \
am__skip_next=no; \
continue; \
fi; \
case $$am__flg in \
- *=*|--*) ;; \
+ *=*|--*) continue;; \
## GNU make 3.83 has changed the format of $MFLAGS, and removed the space
## between an option and its argument (e.g., from "-I dir" to "-Idir").
## So we need to handle both formats.
## TODO: we might need to handle similar other cases as well; but let's
-## wait until the need arises.
- -I) am__skip_next=yes;; \
- -I*) continue;; \
+## wait until the need arises.
+ -*I) am__strip_trailopt 'I'; am__skip_next=yes;; \
+ -*I?*) am__strip_trailopt 'I';; \
+ esac; \
+ case $$am__flg in \
*$$am__target_option*) am__has_opt=yes; break;; \
esac; \
done;\