mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
m4: Drop needless string checks
We provide default values for both MODPROBE and RMMOD and thus there is no way that their paths can be empty strings. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
523b799d3c
commit
3c8d5762a9
@ -67,14 +67,10 @@ AC_DEFUN([LIBVIRT_CHECK_EXTERNAL_PROGRAMS], [
|
||||
[Location or name of the ovs-vsctl program])
|
||||
AC_DEFINE_UNQUOTED([UDEVADM], ["$UDEVADM"],
|
||||
[Location or name of the udevadm program])
|
||||
if test -n "$MODPROBE"; then
|
||||
AC_DEFINE_UNQUOTED([MODPROBE], ["$MODPROBE"],
|
||||
[Location or name of the modprobe program])
|
||||
fi
|
||||
if test -n "$RMMOD"; then
|
||||
AC_DEFINE_UNQUOTED([RMMOD], ["$RMMOD"],
|
||||
[Location or name of the rmmod program])
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED([MODPROBE], ["$MODPROBE"],
|
||||
[Location or name of the modprobe program])
|
||||
AC_DEFINE_UNQUOTED([RMMOD], ["$RMMOD"],
|
||||
[Location or name of the rmmod program])
|
||||
AC_DEFINE_UNQUOTED([SCRUB], ["$SCRUB"],
|
||||
[Location or name of the scrub program (for wiping algorithms)])
|
||||
AC_DEFINE_UNQUOTED([ADDR2LINE], ["$ADDR2LINE"],
|
||||
|
Loading…
Reference in New Issue
Block a user