diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-21 14:38:12 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-21 14:38:12 +0100 |
commit | 28bce4792198bc832e6ac0027a57091daa4c91c7 (patch) | |
tree | 75ba8aab63ff65d2da953172e929efc064a65773 /configure.ac | |
parent | f087927c5c9ef891ba6c943ce887ae9f40258a83 (diff) | |
download | libguestfs-28bce4792198bc832e6ac0027a57091daa4c91c7.tar.gz libguestfs-28bce4792198bc832e6ac0027a57091daa4c91c7.tar.xz libguestfs-28bce4792198bc832e6ac0027a57091daa4c91c7.zip |
Add summary message, fix libruby detection.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 68b716b9..5270a67c 100644 --- a/configure.ac +++ b/configure.ac @@ -191,9 +191,7 @@ AM_CONDITIONAL([HAVE_PYTHON], [test "x$PYTHON_INCLUDEDIR" != "x" -a "x$PYTHON_SITE_PACKAGES" != "x"]) dnl Check for Ruby and rake (optional, for Ruby bindings). -old_libs="$LIBS" -AC_CHECK_LIB([ruby],[ruby_init]) -LIBS="$old_libs" +AC_CHECK_LIB([ruby],[ruby_init],[HAVE_LIBRUBY=1],[HAVE_LIBRUBY=0]) AC_CHECK_PROG([RAKE],[rake],[rake],[no]) AM_CONDITIONAL([HAVE_RUBY], @@ -324,3 +322,32 @@ AC_OUTPUT dnl WTF? chmod +x make-initramfs.sh update-initramfs.sh + +dnl Produce summary. +echo +echo +echo "------------------------------------------------------------" +echo "Thank you for downloading $PACKAGE_STRING" +echo +echo "This is how we have configured the optional components for you today:" +echo +echo -n "OCaml bindings ...................... " +if test "x$HAVE_OCAML_TRUE" = "x"; then echo "yes"; else echo "no"; fi +echo -n "Perl bindings ....................... " +if test "x$HAVE_PERL_TRUE" = "x"; then echo "yes"; else echo "no"; fi +echo -n "Python bindings ..................... " +if test "x$HAVE_PYTHON_TRUE" = "x"; then echo "yes"; else echo "no"; fi +echo -n "Ruby bindings ....................... " +if test "x$HAVE_RUBY_TRUE" = "x"; then echo "yes"; else echo "no"; fi +echo -n "Java bindings ....................... " +if test "x$HAVE_JAVA_TRUE" = "x"; then echo "yes"; else echo "no"; fi +echo +echo "If any optional component is configured 'no' when you expected 'yes'" +echo "then you should check the preceeding messages." +echo +echo "Please report bugs back to the fedora-virt mailing list:" +echo "http://www.redhat.com/mailman/listinfo/fedora-virt" +echo +echo "Next you should type 'make' to build the package," +echo "then 'make check' to run the tests." +echo "------------------------------------------------------------" |