seabios=n
case $withval in
no) seabios_path= ;;
- *) seabios_path=$withval ;;
+ /*) seabios_path=$withval ;;
+ *) as_fn_error $? "Seabios specified, but is not an absolute path" "$LINENO" 5 ;;
esac
fi
ovmf=n
case $withval in
no) ovmf_path= ;;
- *) ovmf_path=$withval ;;
+ /*) ovmf_path=$withval ;;
+ *) as_fn_error $? "OVMF specified, but is not an absolute path" "$LINENO" 5 ;;
esac
fi
ipxe=n
case $withval in
no) ipxe_path= ;;
- *) ipxe_path=$withval ;;
+ /*) ipxe_path=$withval ;;
+ *) as_fn_error $? "IPXE specified, but is not an absolute path" "$LINENO" 5 ;;
esac
# IPXE depends on Rombios
seabios=n
case $withval in
no) seabios_path= ;;
- *) seabios_path=$withval ;;
+ /*) seabios_path=$withval ;;
+ *) AC_MSG_ERROR([Seabios specified, but is not an absolute path]) ;;
esac
],[])
AS_IF([test "x$seabios" = "xy" -o -n "$seabios_path" ], [
ovmf=n
case $withval in
no) ovmf_path= ;;
- *) ovmf_path=$withval ;;
+ /*) ovmf_path=$withval ;;
+ *) AC_MSG_ERROR([OVMF specified, but is not an absolute path]) ;;
esac
],[])
AS_IF([test "x$ovmf" = "xy" -o -n "$ovmf_path" ], [
ipxe=n
case $withval in
no) ipxe_path= ;;
- *) ipxe_path=$withval ;;
+ /*) ipxe_path=$withval ;;
+ *) AC_MSG_ERROR([IPXE specified, but is not an absolute path]) ;;
esac
# IPXE depends on Rombios