Re: problem compiling 2.96.0.20040321
Stefan Ulrich <[email protected]>
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Message-ID | <[email protected]> |
Harald Koenig <[email protected]> wrote : > the motif-1 story goes on... :-( > > tetex-src-beta-2.96.1.20040322 xdvi does't link with motif-1! > reason is upper/lower case spelling of XmVERSION: > > > irix65 koenig > egrep -i 'xmversion|xmrevision' /usr/include/X11/Xm/Xm.h > ==> #define XmVERSION 1 > #define XmREVISION 2 > ==> #define XmVersion (XmVERSION * 1000 + XmREVISION) > #define XmVERSION_STRING "@(#)OSF/Motif Version 1.2.4" > > XmVersion is (almost -- if motif-0 ever existed:) always >=2 > XmVERSION isn't. Silly me. Please use: #if XmVersion >= 2000 XtSetArg(scale_args[scale_n], XmNshowArrows, XmEACH_SIDE); scale_n++; /* XmVersion < 2000 only had `True' which was the default anyway */ #endif We have XmVERSION and XmVersion at a few other places, I'll switch to XmVersion everywhere. Sorry, Stefan