Hello,
I noticed that the Fconfoptstryset doesn't recognize if an option is
available for some configure scripts, in fact seems that grepping the option
in the file returns nothing (i.e. the package lensfun, it does support the
--prefix option, but the function fails to recognize that).
I'd suggest to add further a check also on the ./configure -h (in wich seems
that all the options are listed), somethin like that:
diff --git a/source/include/util.sh b/source/include/util.sh
index edec799..f8d35a3 100644
--- a/source/include/util.sh
+++ b/source/include/util.sh
@@ -771,7 +771,7 @@ Fconfoptstryset() {
fi
# check if $_F_conf_configure supports it
- if ! grep -q -- "--$1=" $_F_conf_configure; then
+ if ! grep -q -- "--$1=" $_F_conf_configure && ! $_F_conf_configure
-h | grep -q -- "--$1="; then
return 1
fi
Melko
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel