>>>> "MB" == Martin Buchholz
<martin(a)xemacs.org> writes:
MB> checking for X defines extracted by xmkmf
MB> Defining NARROWPROTO
MB> Defining linux
MB> Defining __i386__
MB> Defining _POSIX_SOURCE
MB> Defining _BSD_SOURCE
MB> Defining _SVID_SOURCE
MB> However, in xc/config/cf/linux.cf, I see:
MB> #if LinuxCLibMajorVersion >= 6
MB> #define LinuxSourceDefines -D_POSIX_C_SOURCE=199309L \
MB> -D_POSIX_SOURCE -D_XOPEN_SOURCE \
MB> -D_BSD_SOURCE -D_SVID_SOURCE \
MB> LinuxAdditionalIncludes LinuxGnuSourceDefines \
MB> LinuxLocaleDefines
MB> #else
MB> #define LinuxSourceDefines -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 \
MB> -D_BSD_SOURCE -D_SVID_SOURCE \
MB> LinuxGnuSourceDefines LinuxLocaleDefines
MB> This doesn't make sense to me, because I also have libc6
Now I understand. I was being an idiot. To build with a test version
of X11 on Linux, you have to change FOUR things, i.e.
PATH=$X11_dir/bin:$PATH configure \
--x-libraries=$X11_dir/lib \
--site-runtime-libraries=$X11_dir/lib \
--x-includes=$X11_dir/include
I forgot the PATH part.