emacs-pretest-bug
[Top][All Lists]
Advanced

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

xfns.c uses GTK function from 2.2, configure requires 2.0.1


From: Tim Van Holder
Subject: xfns.c uses GTK function from 2.2, configure requires 2.0.1
Date: Wed, 16 Jul 2003 08:56:25 +0200

[originally sent July 14th; resending now, as my past two bug
reports have bounced]

Emacs does not at the moment build for me; there is an undefined
reference:

> xfns.o: In function `xg_set_icon':
> /home/tim/gnu/emacs/src/xfns.c:1111: undefined reference to
`gtk_window_set_icon_from_file'

This function was introduced in GTK+ 2.2, but the configure script still
checks for 2.0.1 or higher.
The obvious patch is below.

--- configure.in.~1.343.~       2003-07-14 08:39:49.000000000 +0200
+++ configure.in        2003-07-14 09:30:39.000000000 +0200
@@ -1881,7 +1881,7 @@ if test "${with_gtk}" = "yes" || test "$
     AC_MSG_ERROR([Conflicting options, --with-gtk is incompatible with
--with-x-toolkit=${with_x_toolkit}]);
   fi
   GLIB_REQUIRED=2.0.1
-  GTK_REQUIRED=2.0.1
+  GTK_REQUIRED=2.2
   GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
 
   dnl Check if --with-pkg-config-prog has been given.


-- 
Tim Van Holder <mailto:address@hidden>
Anubex         <http://www.anubex.com>

-- This e-mail was scanned by RAV Antivirus --





reply via email to

[Prev in Thread] Current Thread [Next in Thread]