I took out
m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1.3 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.1.3)
from the configure.ac
and so a ./autogen.sh, now autogen.sh is happy!!
I proceeded with "make"
and I have the surprise here
Making all in ch7017
make[3]: Entering directory `/root/xf86-video-intel/src/ch7017'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT ch7017.lo -MD -MP -MF ".deps/ch7017.Tpo" -c -o ch7017.lo ch7017.c; \
then mv -f ".deps/ch7017.Tpo" ".deps/ch7017.Plo"; else rm -f ".deps/ch7017.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT ch7017.lo -MD -MP -MF .deps/ch7017.Tpo -c ch7017.c -fPIC -DPIC -o .libs/ch7017.o
In file included from /usr/include/xorg/xf86Crtc.h:26,
from ch7017.c:40:
/usr/include/xorg/randrstr.h:64: error: 'RRNumberRequests' undeclared here (not in a function)
/usr/include/xorg/randrstr.h:80: error: expected specifier-qualifier-list before 'xRRModeInfo'
/usr/include/xorg/randrstr.h:441: error: expected ')' before '*' token
/usr/include/xorg/randrstr.h:611: error: expected ')' before '*' token
make[3]: *** [ch7017.lo] Error 1
make[3]: Leaving directory `/root/xf86-video-intel/src/ch7017'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/xf86-video-intel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xf86-video-intel'
make: *** [all] Error 2
Okay. I gave up for now.. (all I want to do is to get 1280x800 resolution
for my Mobile Intel GM 965 Express Chipset on CentosOS5.1 !!!)