summaryrefslogblamecommitdiffstats
path: root/x11/gnome-terminal3/files/patch-configure.ac
blob: 5e3a59f604e87227629b1cdb6032ea50aaf2980b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                                     
--- configure.ac.orig   2011-01-11 19:41:06.000000000 +0000
+++ configure.ac    2011-01-13 04:07:54.000000000 +0000
@@ -136,6 +136,10 @@
   3.0) AC_PATH_PROGS([GTK_BUILDER_CONVERT],[gtk-builder-convert gtk-builder-convert-3.0],[false]) ;;
 esac
 
+AC_CHECK_LIB(util, kinfo_getfile,
+  [LIBS="${LIBS} -lutil"
+  AC_DEFINE(HAVE_KINFO_GETFILE, 1, [Define if you have the kinfo_getfile function])], [:])
+
 if test "$GTK_BUILDER_CONVERT" = "false"; then
   AC_MSG_ERROR([gtk-builder-convert not found])
 fi