X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=2d80ecf6474e8d271b8e9d9081a4f249050e7db5;hb=6720ad28eddbcd671032c151f7219a35ba615b1b;hp=d1b334dbf1de77ae957b55b5d260a9382ad41370;hpb=66a9d53e48f14d7fe1d9f4b801a1c5582d83efa6;p=febootstrap.git diff --git a/configure.ac b/configure.ac index d1b334d..2d80ecf 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl febootstrap configure.ac -dnl (C) Copyright 2009-2010 Red Hat Inc. +dnl (C) Copyright 2009-2011 Red Hat Inc. dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. dnl dnl Written by Richard W.M. Jones -AC_INIT(febootstrap,3.0) +AC_INIT(febootstrap,3.4) AM_INIT_AUTOMAKE dnl Check for basic C environment. @@ -64,7 +64,24 @@ dnl For Debian handler. AC_CHECK_PROG(APTITUDE,[aptitude],[aptitude],[no]) AC_CHECK_PROG(DPKG,[dpkg],[dpkg],[no]) -dnl Required e2fsprogs, libs. +dnl For ArchLinux handler. +AC_CHECK_PROG(PACMAN,[pacman],[pacman],[no]) + +dnl Required programs, libraries. +AC_PATH_PROG([INSMODSTATIC],[insmod.static],[no]) +if test "x$INSMODSTATIC" = "xno" ; then + AC_MSG_FAILURE([insmod.static program not found + +Is /sbin in your current path? + +Note that Debian/Ubuntu do not package this file from module-init-tools. +Sorry, please fix your distribution. In the meantime you can copy +/sbin/insmod.static from a Fedora machine. +]) +fi +AC_DEFINE_UNQUOTED([INSMODSTATIC],["$INSMODSTATIC"], + [Full path to the insmod.static program.]) + AC_PATH_PROG([MKE2FS],[mke2fs],[no]) if test "x$MKE2FS" = "xno" ; then AC_MSG_FAILURE([mke2fs program not found (is /sbin in your current path?)]) @@ -89,5 +106,9 @@ AC_CHECK_HEADER([ext2fs/ext2fs.h],[],[ ]) AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_FILES([config.ml Makefile lib/Makefile helper/Makefile]) +AC_CONFIG_FILES([config.ml + debian/changelog + Makefile + lib/Makefile + helper/Makefile]) AC_OUTPUT