[Xfce4-commits] r27211 - xarchiver/trunk
Giuseppe Torelli
colossus at xfce.org
Sat Jul 5 07:23:11 CEST 2008
Author: colossus
Date: 2008-07-05 05:23:11 +0000 (Sat, 05 Jul 2008)
New Revision: 27211
Modified:
xarchiver/trunk/configure.in.in
Log:
Made configure script to detect xdg-open in /usr/bin
Modified: xarchiver/trunk/configure.in.in
===================================================================
--- xarchiver/trunk/configure.in.in 2008-07-04 11:51:35 UTC (rev 27210)
+++ xarchiver/trunk/configure.in.in 2008-07-05 05:23:11 UTC (rev 27211)
@@ -57,6 +57,7 @@
AC_DISABLE_STATIC()
AC_PROG_LIBTOOL()
+xdg_open=yes
dnl ***********************************
dnl *** Enable new features provided by libmime-type ***
@@ -72,6 +73,13 @@
fi
AM_CONDITIONAL(USE_LIBMIMETYPE, test x"$use_libmimetype" = x"yes")
+dnl **************************
+dnl *** Check for xdg-open ***
+dnl **************************
+AC_CHECK_FILE("/usr/bin/xdg-open",
+ AC_DEFINE([XDG_OPEN], [1], [Define to 1 if xdg-open is available.]),
+ xdg_open="no")
+
dnl ***********************************************
dnl *** Work-around system-specific limitations ***
dnl ***********************************************
@@ -97,6 +105,7 @@
dnl ***********************************
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.10.0])
XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.10.0])
+GTK_VERSION=`$PKG_CONFIG --modversion gtk+-2.0`
dnl ***********************************
dnl *** Check for debugging support ***
@@ -118,12 +127,13 @@
pixmaps/Makefile
])
-dnl *********************
-dnl *** Print summary ***
-dnl *********************
-echo "----------------------------------------"
-echo "$PACKAGE_TARNAME $PACKAGE_VERSION"
-echo ""
-echo "The binary will be installed in $prefix/bin"
-echo ""
-echo "Configure finished, type 'make' to build."
+echo "
+
+Xarchiver configuration:
+------------------------
+
+ Binary : $PACKAGE_TARNAME $PACKAGE_VERSION
+ GTK version : ${GTK_VERSION}
+ Use xdg-open: ${xdg_open}
+
+"
More information about the Xfce4-commits
mailing list