Re: Problems building gtk+-1.3.5



On Tue, May 22, 2001 at 12:41:27PM -0700, Mike Castle wrote:
> The contrib/gdk-pixbuf-xlib Makefile failed to have -I/usr/X11R6/include on
> it's INCLUDES line.

The following patch appears to fix the above issue.  I'm certain it's not
the best solution, but hopefully it demonstrates the problem.

Please not that, without this patch, $x_cflags is NEVER set before it's
used in configure.


--- gtk+-1.3.5.orig/configure.in	Fri May  4 11:16:27 2001
+++ gtk+-1.3.5/configure.in	Tue May 22 19:10:36 2001
@@ -674,6 +674,9 @@
         $x_libs)
   fi
 
+  x_cflags="$X_CFLAGS"
+  x_ldflags="$X_LDFLAGS"
+
   GDK_PIXBUF_XLIB_EXTRA_CFLAGS="$x_cflags"
   GDK_PIXBUF_XLIB_EXTRA_LIBS="$x_ldflags $x_libs"
 
@@ -774,9 +777,6 @@
   else
         AC_MSG_WARN(XKB support explicitly disabled)
   fi
-
-  x_cflags="$X_CFLAGS"
-  x_ldflags="$X_LDFLAGS"
 
   # set up things for XInput
 
-- 
       Mike Castle       Life is like a clock:  You can work constantly
  dalgoda ix netcom com  and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen




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