This problem happened on Fedora Core Development tree, and when I'm building the
package, which uses xmkmf, gcc grumbles me due to unquoted XVENDORNAME.
Here is a log what happened:
onfigure:1671: gcc -O2 -fno-strength-reduce -fno-strict-aliasing
-I/usr/X11R6/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE
-DFUNCPROTO=15 -DNARROWPROTO -DXVENDORNAME=The X.Org Foundation
-DXVENDORNAMESHORT=X.Org conftest.c >&5
gcc: X.Org: No such file or directory
gcc: Foundation: No such file or directory
I'm not sure but this problem is complex a bit because it happened on configure,
which was given CFLAGS as environment variable, included XVENDORNAME. BTW that
configure script is called from Makefile, which was generated by xmkmf.
I'm guessing your reply is:
1) XVENDORNAME is actually quoted. but configure script just ignores it. file a
bug to autotools, close this then.
2) generated Makefile seems not comfortable. X11.tmpl needs to be fixed.
BTW if you want to reproduce this problem, please get the rpm packages from
sed -i -e '/VENDORNAME/s/= \(.*\)$/= "\1"/g' Makefile
We hit the same problem on Gentoo (http://bugs.gentoo.org/show_bug.cgi?id=48229).
VENDOR_DEFINES is no longer in ALLDEFINES in CVS imake.