Hmm. I'm still trying to build xrn.

$ xmkmf
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:1845,
                 from Imakefile.c:9:
/tmp/IIf.576279:312: unterminated `#ifdef' conditional
imake: Exit code 1.
  Stop.
  
However:
$ cat -n /usr/X11R6/lib/X11/config/Imake.tmpl
[snip]
  1843  XCOMM ----------------------------------------------------------------------
  1844  XCOMM start of Imakefile
  1845  #include INCLUDE_IMAKEFILE
[snip]

$ cat -n Imakefile
[snip]
   312  #ifdef MOTIF
   313  TKSED=  -e 's/MOTIF//' -e '/XAW/d' -e 's/notify()/Activate()/' \
   314          -e 's/unset()/Disarm()/' -e 's/set()/Arm()/' \
   315          -e 's/\([*.]\)label:/\1labelString:/' \
   316          -e 's/no-op(RingBell/beep(/' \
   317          -e 's/\.\([^.]*\)\.baseTranslations/*\1*translations/' \
   318          -e 's/baseTranslations/translations/' \
   319          -e 's/>Down/>osfDown/' -e 's/>Up/>osfUp/' \
   320          -e 's/>Left/>osfLeft/' -e 's/>Right/>osfRight/'
   321  #else
   322  TKSED=  -e 's/XAW//' -e '/MOTIF/d'
   323  #endif
[snip]

IOW, it looks like there /is/ a terminating #endif so what's likely to be
wrong? If I comment out th entire #ifdef block I then get a complaint that
there is an "unterminated '#if' conditional" at line 247 (again, the
terminator seems to be there okay).

Reply via email to