diff options
author | 2012-02-22 11:18:59 +0100 | |
---|---|---|
committer | 2012-02-22 12:28:27 +0100 | |
commit | 2b38e59bd8273f9635e63968c2040860e3be2972 (patch) | |
tree | 6b3cf5c6a402328e61559876dc00570d3263e79b /configure.ac | |
parent | util: Fix virFileAccessibleAs return path from parent (diff) | |
download | libvirt-2b38e59bd8273f9635e63968c2040860e3be2972.tar.gz libvirt-2b38e59bd8273f9635e63968c2040860e3be2972.tar.bz2 libvirt-2b38e59bd8273f9635e63968c2040860e3be2972.zip |
configure: Define program name if not found
AC_CHECK_PROG checks for program in given path. However, if it doesn't
exists, [variable] is set to [value-if-not-found]. We don't want this
to be the empty string in case of 'modprobe' and 'scrub' as we want to
fallback to runtime detection.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 4493b94ac..732f4fe72 100644 --- a/configure.ac +++ b/configure.ac @@ -211,11 +211,11 @@ AC_PATH_PROG([UDEVADM], [udevadm], [], [/sbin:/usr/sbin:/usr/local/sbin:$PATH]) AC_PATH_PROG([UDEVSETTLE], [udevsettle], [], [/sbin:/usr/sbin:/usr/local/sbin:$PATH]) -AC_PATH_PROG([MODPROBE], [modprobe], [], +AC_PATH_PROG([MODPROBE], [modprobe], [modprobe], [/sbin:/usr/sbin:/usr/local/sbin:$PATH]) AC_PATH_PROG([OVSVSCTL], [ovs-vsctl], [ovs-vsctl], [/sbin:/usr/sbin:/usr/local/sbin:$PATH]) -AC_PATH_PROG([SCRUB], [scrub], [], +AC_PATH_PROG([SCRUB], [scrub], [scrub], [/sbin:/usr/sbin:/usr/local/sbin:$PATH]) AC_DEFINE_UNQUOTED([DNSMASQ],["$DNSMASQ"], |