added option --[en|dis]able-vte to disable vte support and some status output at the end

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@18 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2005-11-27 20:44:06 +00:00
parent 8d6f7ae264
commit f3c8b08f16

View File

@ -58,6 +58,15 @@ PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)
want_vte=yes
AC_ARG_ENABLE(vte, [ --enable-vte enable if you want virtual termninal support [[default=yes]]],
[want_vte="$enableval"])
if test "$want_vte" = "yes"; then
AC_DEFINE(HAVE_VTE, 1, [Define if you want VTE support])
fi
GTK_VERSION=`$PKG_CONFIG gtk+-2.0 --modversion`
GETTEXT_PACKAGE=geany
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
@ -79,5 +88,8 @@ geany.spec
])
echo "----------------------------------------"
echo "Install Geany in : ${prefix}"
echo "Using GTK version : $GTK_VERSION"
echo "Use virtual terminal support : ${want_vte}"
echo "Configuration is done OK."
echo ""