Hi! whenever I do a xmkmf to get a Makefile from an Imakefile I have to do manual editing of the Makefile before I can use it. All the comment lines start with XCOMM instead of #
I don't have this problem at other unix machines (at work), so I suppose it could be a debian misconfiguration. Also, I found a reference to this problem in /usr/X11R6/lib/X11/config/Imake.rules: /* * Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM * to cpp, because that trick does not work on all ANSI C preprocessors. * Also delete line numbers from the cpp output (-P is not portable, I guess). */ #ifndef CppSedMagic #define CppSedMagic sed -e '/^# *[0-9][0-9]* *.*$$/d' -e '/^XCOMM$$/s//#/' \ -e '/^XCOMM[a-zA-Z0-9_]/s/^XCOMM/#/' #endif /* CppSedMagic */ But I have no idea how to make use of this. Anyone? Thanks, Andy. -- Andy Spiegl, University of Technology, Muenchen, Germany E-Mail: [EMAIL PROTECTED] OR: [EMAIL PROTECTED] URL: http://www.appl-math.tu-muenchen.de/~spiegl PGP fingerprint: B8 48 24 7B DB 96 6F 1C D9 6D 8E 6C DB C2 E7 E9 o _ _ _ --------- __o __o /\_ _ \\o (_)\__/o (_) ------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ ------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~