[PATCH xrandr-utils 2/6] Import xrandr.c and its test as implementation examples.

Bryce Harrington bryce at canonical.com
Thu Dec 22 17:44:40 PST 2011


On Thu, Dec 22, 2011 at 07:36:06PM -0500, Gaetan Nadon wrote:
> On 11-12-22 10:11 AM, Gaetan Nadon wrote:
> >>diff --git a/examples/Makefile.am b/examples/Makefile.am
> >>new file mode 100644
> >>index 0000000..86e9943
> >>--- /dev/null
> >>+++ b/examples/Makefile.am
> >>@@ -0,0 +1,13 @@
> >>+bin_PROGRAMS = xrandr
> >>+
> >>+AM_CFLAGS = \
> >>+	$(RANDUTILS_CFLAGS) \
> >Typo, should be RANDRUTILS.
> >Even after fixing that I still get:
> >../../examples/xrandr.c:29:22: fatal error: X11/Xlib.h: No such
> >file or directory
> >
> It works with the typo fixed. I made a typo of my own. Perhaps
> RANDR_UTILS_CFLAGS would be less error prone.

Thanks, good suggestion.  I've corrected the typo in git and added the
rename to RANDR_UTILS_* in the conf files.

Bryce


More information about the xorg-devel mailing list