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

Gaetan Nadon memsize at videotron.ca
Thu Dec 22 16:36:06 PST 2011


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.


More information about the xorg-devel mailing list