Re: checking for gdk/gdkx.h
- From: "A. Walton" <awalton gnome org>
- To: "Dr. Michael J. Chudobiak" <mjc avtechpulse com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: checking for gdk/gdkx.h
- Date: Wed, 12 Nov 2008 13:14:38 -0500
On Wed, Nov 12, 2008 at 1:02 PM, Dr. Michael J. Chudobiak
<mjc avtechpulse com> wrote:
What is the correct way to check for the presence of gdkx.h on a system?
This doesn't work for me:
+# Checks for GDK X11 support; GDK & GTK on Mac OS X do not provide X11
+# extensions if compiled to use the Quartz backend.
+#
+HAVE_GDKX=no
+AC_CHECK_HEADER(gdk/gdkx.h,
+ [HAVE_GDKX=yes]
+ [AC_MSG_WARN(Disabling GDK/X11-dependent features.)])
It always returns "no", even on systems where it is present.
My understanding of autotools and makefiles is pretty limited...
Seems like you could just check pkg-config for gdk-x11-2.0 instead of
gdk-2.0 for the X11-specific support, and fallback to the regular
gdk-2.0 if it's not found.
Admittedly my autotools knowledge is just as limited if not more so
though, so if that doesn't work, I haven't a clue.
-A. Walton.
- Mike
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]