2004-07-29 Rodney Dawes <dobey@novell.com>
* configure.in: Check for libgnomeui_serverdir with pkgconfig, and
AC_DEFINE it so we know where to find gnome_segv2
* src/server.c (gnome_segv_handler): Use GNOMEUI_SERVERDIR that we
now define at configure time to find the path to gnome_segv2
Fixes #62021
+2004-07-29 Rodney Dawes <dobey@novell.com>
+
+ * configure.in: Check for libgnomeui_serverdir with pkgconfig, and
+ AC_DEFINE it so we know where to find gnome_segv2
+
+ * src/server.c (gnome_segv_handler): Use GNOMEUI_SERVERDIR that we
+ now define at configure time to find the path to gnome_segv2
+
+ Fixes #62021
+
2004-07-19 JP Rosevear <jpr@novell.com>
* configure.in: bump version, libtool numbers, soup requirement
AC_MSG_RESULT($IDL_INCLUDES)
AC_SUBST(IDL_INCLUDES)
+AC_MSG_CHECKING(for libgnomeui server directory)
+GNOMEUI_SERVERDIR="`$PKG_CONFIG --variable=libgnomeui_serverdir libgnomeui-2.0`"
+AC_MSG_RESULT($GNOMEUI_SERVERDIR)
+AC_DEFINE_UNQUOTED(GNOMEUI_SERVERDIR, "$GNOMEUI_SERVERDIR", [Path where we can find gnome_segv2])
+
dnl Utility macro to set compiler flags for a specific lib.
AC_DEFUN(EVO_SET_COMPILE_FLAGS, [
deps="$2"
_exit (1);
}
- if (!(gnome_segv_path = g_find_program_in_path ("gnome_segv2")))
- gnome_segv_path = PREFIX "/libexec/gnome_segv2";
+ gnome_segv_path = GNOMEUI_SERVERDIR "/gnome_segv2";
exec = g_strdup_printf ("%s \"" PACKAGE "\" %d \"" VERSION "\"", gnome_segv_path, signo);
system (exec);