summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-06-29 18:40:00 +0200
committerRichard Jones <rjones@trick.home.annexia.org>2009-06-30 09:18:49 +0100
commitb4fade6392ccb2961f0d7e2bf45dfc2e20333aed (patch)
treed04e8d91c8c8e47842ff337ba6e4870d929557ff /configure.ac
parent3155a268151d70a669517a1f1ea8563a7d91cdb8 (diff)
downloadlibguestfs-b4fade6392ccb2961f0d7e2bf45dfc2e20333aed.tar.gz
libguestfs-b4fade6392ccb2961f0d7e2bf45dfc2e20333aed.tar.xz
libguestfs-b4fade6392ccb2961f0d7e2bf45dfc2e20333aed.zip
define REDHAT and DEBIAN
so we can preprocess packagelist.in
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e9e36643..16253279 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,6 +144,7 @@ if test "x$FEBOOTSTRAP" != "xno"; then
AC_MSG_ERROR([fakechroot version must be >= 2.9])
fi
fi
+ DIST="REDHAT"
else
# check for debootstrap and debirf
AC_CHECK_PROG([DEBOOTSTRAP],
@@ -153,7 +154,9 @@ else
AC_CHECK_PROG([DEBIRF],[debirf],[debirf],[no])
test "x$DEBIRF" = "xno" &&
AC_MSG_ERROR([debirf must be installed])
+ DIST="DEBIAN"
fi
+AC_SUBST(DIST)
dnl --with-repo to specify a Fedora repository.