diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-11-08 12:46:31 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-11-08 12:46:31 +0000 |
commit | 4e656a61d40ff51e63aa06d857c40c14ff31ddb9 (patch) | |
tree | e0466b437d29cdd9aab17e071dac8bcc9f1c7fbc /configure.ac | |
parent | 2c4a7ef92a4583a1217213573ad406eb5d745990 (diff) | |
download | libguestfs-4e656a61d40ff51e63aa06d857c40c14ff31ddb9.tar.gz libguestfs-4e656a61d40ff51e63aa06d857c40c14ff31ddb9.tar.xz libguestfs-4e656a61d40ff51e63aa06d857c40c14ff31ddb9.zip |
supermin: If disabled, don't compile in supermin code or check for supermin.
If supermin is disabled at compile time and the user just wants to
use the ordinary appliance, there is no need to compile in all
the supermin code, and in particular there is no need to check
for the supermin appliance (which involves running
febootstrap-supermin-helper that probably doesn't exist).
This fixes a warning message observed under Debian w/o supermin:
sh: febootstrap-supermin-helper: command not found
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c42a8558..b42429e0 100644 --- a/configure.ac +++ b/configure.ac @@ -404,7 +404,7 @@ dnl enabling this option. AC_ARG_ENABLE([supermin], [AS_HELP_STRING([--enable-supermin], [enable supermin appliance (see README) @<:@default=no@:>@])], - [], + [AC_DEFINE([ENABLE_SUPERMIN],[1],[Supermin appliance enabled.])], [enable_supermin=no]) AM_CONDITIONAL([SUPERMIN],[test "x$enable_supermin" = "xyes"]) |