Hey All,
I've just upgraded my one of the boxes I work on and found that
CrossCompile is now being defined in imake. In the version I was
running previously (which I have on another machine) it was not defined
is there any reason for this change?
Ta,
dg
xutils versions:
current: xutils 4.3.0-7
previous: xutils 4.2.1-12.1
The test I used to find was:
Test.tmpl
----------------------------------------------------
#include <Imake.cf>
#include <Test.cf>
----------------------------------------------------
Test.cf
----------------------------------------------------
#ifdef CrossCompiling
CROSS_COMPILE = DODAH
#else
#define CrossCompiling NO
CROSS_COMPILE =
#endif /* CrossCompiling */
----------------------------------------------------
Imakefile
----------------------------------------------------
----------------------------------------------------
and ran the command, with the new version of imake:
/usr/bin/X11/imake -I/usr/X11R6/lib/X11/config -I. -TTest.tmpl
which gave the result
Makefile
----------------------------------------------------
# Makefile generated by imake - do not edit!
# $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
# $XFree86: xc/config/cf/Imake.cf,v 3.81 2003/02/18 16:51:45 tsi Exp $
# Keep cpp from replacing path elements containing i486/i586/i686
CROSS_COMPILE = DODAH
----------------------------------------------------
copying imake from the other machine and doing as above gave:
Makefile
----------------------------------------------------
# Makefile generated by imake - do not edit!
# $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
# $XFree86: xc/config/cf/Imake.cf,v 3.81 2003/02/18 16:51:45 tsi Exp $
# Keep cpp from replacing path elements containing i486/i586/i686
CROSS_COMPILE =
----------------------------------------------------