[gedit] Added check for gio-unix-2.0 on unix systems



commit a6cc228f4801d0d27b7bc28d892a373dc645b1fe
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Sat May 15 16:26:08 2010 +0200

    Added check for gio-unix-2.0 on unix systems

 configure.ac |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 200898c..e09dd43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -297,8 +297,17 @@ else
 	X11_LIBS=
 fi
 
-GEDIT_CFLAGS="$GEDIT_CFLAGS $X11_CFLAGS"
-GEDIT_LIBS="$GEDIT_LIBS $X11_LIBS"
+if test "$platform_win32" = "no"; then
+	PKG_CHECK_MODULES(UNIX, [
+		gio-unix-2.0 >= 2.25.5
+	])
+else
+	UNIX_CFLAGS=
+	UNIX_LIBS=
+fi
+
+GEDIT_CFLAGS="$GEDIT_CFLAGS $X11_CFLAGS $UNIX_CFLAGS"
+GEDIT_LIBS="$GEDIT_LIBS $X11_LIBS $UNIX_LIBS"
 
 AC_SUBST(GEDIT_CFLAGS)
 AC_SUBST(GEDIT_LIBS)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]