X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=77cafe7e23ea5bed843512ecdde183810f55e95a;hb=refs%2Ftags%2Fv1.2.0;hp=56a2980f6c2283ec4ba240fd35da6b1b08cb3069;hpb=b52dcb81203bd74223f63a26c1c393ab777fbdb7;p=techtalk-pse.git diff --git a/configure.ac b/configure.ac index 56a2980..77cafe7 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ dnl NOTE: 1.x where x is odd = development dnl 1.x where x is even = stable -AC_INIT([techtalk-pse],[1.1.0]) +AC_INIT([techtalk-pse],[1.2.0]) AM_INIT_AUTOMAKE([foreign]) dnl Check for pod2man and pod2text. @@ -30,7 +30,7 @@ test "x$POD2TEXT" = "xno" && dnl Check for required Perl modules. missing_perl_modules=no -for pm in Pod::Usage Getopt::Long Glib Gtk2 Gtk2::Gdk::Keysyms Gtk2::WebKit Gnome2::Vte; do +for pm in Pod::Usage Getopt::Long Glib Gtk3 Glib::Object::Introspection Gtk3::WebKit; do AC_MSG_CHECKING([for $pm]) if ! perl -M$pm -e1 >/dev/null 2>&1; then AC_MSG_RESULT([no]) @@ -43,6 +43,15 @@ if test "x$missing_perl_modules" = "xyes"; then AC_MSG_FAILURE([some Perl modules required to run the program are missing]) fi +AC_MSG_CHECKING([for Vte 2.91]) +perl -e 'use Glib::Object::Introspection; Glib::Object::Introspection->setup(basename => "Vte", version => "2.91", package => "Vte");' +if test $? == 0; then + AC_MSG_RESULT([yes]) +else + AC_MSG_RESULT([no]) + AC_MSG_FAILURE(["Vte 2.91 required"]) +fi + AC_CONFIG_FILES([techtalk-pse:techtalk-pse.pl], [chmod 0555 techtalk-pse]) AC_CONFIG_FILES([Makefile])