X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=f2e9e8fb23e04706f750c7ff7d19851758afc898;hb=aa37cb49b40b16c31b8da25d5dbf251ef2b3209c;hp=adf06f3f00e3f57c8eee3def2c6a846fd785aafb;hpb=782458a90679f6b3cf04c7a2090d45bff6adfc3b;p=virt-tools.git diff --git a/configure.ac b/configure.ac index adf06f3..f2e9e8f 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -AC_INIT([libguestfs],0.1.0) +AC_INIT([virt-tools],0.1.0) AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_MACRO_DIR([m4]) @@ -25,11 +25,12 @@ if test "x$PERL" = "xno"; then AC_MSG_FAILURE([Perl must be installed]) fi -dnl Check for Perl modules that must be present to compile and -dnl test the Perl bindings. +AM_PROG_MKDIR_P + +dnl Check for required and optional Perl modules. missing_perl_modules=no -required_perl_modules="Test::More Test::Pod Test::Pod::Coverage ExtUtils::MakeMaker Sys::Virt" -optional_perl_modules="Sys::Guestfs" +required_perl_modules="Test::More Test::Pod Test::Pod::Coverage ExtUtils::MakeMaker Sys::Virt Sys::Guestfs Locale::TextDomain" +optional_perl_modules="" for pm in $required_perl_modules; do AC_MSG_CHECKING([for $pm]) @@ -60,6 +61,9 @@ AC_CHECK_PROG([POD2TEXT],[pod2text],[pod2text],[no]) test "x$POD2TEXT" = "xno" && AC_MSG_ERROR([pod2text must be installed]) +AC_CONFIG_FILES([linux/50-virt-tools:linux/50-virt-tools.in], + [chmod +x linux/50-virt-tools]) + AC_CONFIG_FILES([tools/virt-tools-get-key:tools/virt-tools-get-key.pl], [chmod +x tools/virt-tools-get-key]) AC_CONFIG_FILES([tools/virt-tools-get-transport:tools/virt-tools-get-transport.pl], @@ -68,6 +72,8 @@ AC_CONFIG_FILES([tools/virt-uname:tools/virt-uname.pl], [chmod +x tools/virt-uname]) AC_CONFIG_FILES([tools/virt-ifconfig:tools/virt-ifconfig.pl], [chmod +x tools/virt-ifconfig]) + AC_CONFIG_FILES([Makefile - daemon/Makefile docs/Makefile linux/Makefile tools/Makefile]) + virt-tools.spec + daemon/Makefile linux/Makefile tools/Makefile]) AC_OUTPUT