I had 'configure' keel over with:
...
checking for AIX... no
checking for a working inclusion macro... configure: error: Cannot define a proper
SMART_INCLUDE macro. Please report.
The config.log (below) suggests that the problem is because
I happen to have 'sparc' (a CPP symbol) as part of the
pathname of my build dir. Thanks,
Will
=================
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:833: checking whether ln -s works
configure:1098: checking host system type
configure:1593: checking for gcc
configure:1697: checking whether the C compiler (/ark/bin/gcc -I/ark/include -O2
-fstrict-aliasing -L/ark/lib) works
configure:1715: /ark/bin/gcc -o conftest -I/ark/include -O2 -fstrict-aliasing
-I/ark/include -L/ark/lib conftest.c 1>&5
configure:1743: checking whether the C compiler (/ark/bin/gcc -I/ark/include -O2
-fstrict-aliasing -L/ark/lib) is a cross-compiler
configure:1748: checking whether we are using GNU C
configure:1755: /ark/bin/gcc -E conftest.c
configure:1773: checking whether /ark/bin/gcc accepts -g
configure:2236: checking how to run the C preprocessor
configure:2255: /ark/bin/gcc -E -I/ark/include conftest.c >/dev/null
2>conftest.out
configure:2315: checking for AIX
configure:2346: checking for a working inclusion macro
configure:2360: /ark/bin/gcc -c -I/ark/include -O2 -fstrict-aliasing -I/ark/include
conftest.c 1>&5
configure:2355: /item/ark-builds/xemacs--21.2.34/1-solaris2.6/conffoo.h: No such file or
directory
configure: failed program was:
#line 2348 "configure"
#include "confdefs.h"
int main() {
#define SMART_INCLUDE(path,file) <path/file>
#define CONFFOO_H_PATH /item/ark-builds/xemacs--21.2.34/sparc-solaris2.6
#define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file)
#include CONFFOO_INCLUDE(conffoo.h)
; return 0; }
configure:2388: /ark/bin/gcc -c -I/ark/include -O2 -fstrict-aliasing -I/ark/include
conftest.c 1>&5
configure:2383: /item/ark-builds/xemacs--21.2.34/1-solaris2.6/conffoo.h: No such file or
directory
configure: failed program was:
#line 2375 "configure"
#include "confdefs.h"
int main() {
#define GLUE_INCLUDE(path,file) <##path##/##file##>
#define SMART_INCLUDE(path,file) GLUE_INCLUDE(path,file)
#define CONFFOO_H_PATH /item/ark-builds/xemacs--21.2.34/sparc-solaris2.6
#define CONFFOO_INCLUDE(file) SMART_INCLUDE(CONFFOO_H_PATH,file)
#include CONFFOO_INCLUDE(conffoo.h)
; return 0; }
configure:2417: /ark/bin/gcc -c -I/ark/include -O2 -fstrict-aliasing -I/ark/include
conftest.c 1>&5
configure:2412: /item/ark-builds/xemacs--21.2.34/1-solaris2.6/conffoo.h: No such file or
directory
configure: failed program was:
#line 2403 "configure"
#include "confdefs.h"
int main() {
#define GLUE_INCLUDE_2(path,file) <##path##/##file##>
#define GLUE_INCLUDE_1(path,file) GLUE_INCLUDE_2(path,file)
#define SMART_INCLUDE(path,file) GLUE_INCLUDE_1(path,file)
#define CONFFOO_H_PATH /item/ark-builds/xemacs--21.2.34/sparc-solaris2.6
#define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file)
#include CONFFOO_INCLUDE(conffoo.h)
; return 0; }