git.annexia.org
/
virt-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More documentation.
[virt-tools.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
adf06f3
..
f2e9e8f
100644
(file)
--- 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.
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-AC_INIT([
libguestf
s],0.1.0)
+AC_INIT([
virt-tool
s],0.1.0)
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_MACRO_DIR([m4])
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
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
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])
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])
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],
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])
[chmod +x tools/virt-uname])
AC_CONFIG_FILES([tools/virt-ifconfig:tools/virt-ifconfig.pl],
[chmod +x tools/virt-ifconfig])
+
AC_CONFIG_FILES([Makefile
AC_CONFIG_FILES([Makefile
- daemon/Makefile docs/Makefile linux/Makefile tools/Makefile])
+ virt-tools.spec
+ daemon/Makefile linux/Makefile tools/Makefile])
AC_OUTPUT
AC_OUTPUT