Looks like something that hasn't been merged over to trunk yet, because I haven't seen the issue there.

This is for an "almost stock" Mountain Lion install.  I have some stuff built by hand, no macports installed though.  No Xquartz stuff.

Also looks like ./configure --disable-tecplot *does not* work around the error

Making all in contrib/tecplot/tecio
In file included from tecsrc/alloc.cpp:2:0:
tecsrc/MASTER.h:508:31: fatal error: X11/Intrinsic.h: No such file or directoryIn file included from tecsrc/TranslatedString.cpp:2:0:
tecsrc/MASTER.h:508:31: fatal error: X11/Intrinsic.h: No such file or directoryIn file included from tecsrc/auxdata.cpp:2:0:
tecsrc/MASTER.h:508:31: fatal error: X11/Intrinsic.h: No such file or directoryIn file included from tecsrc/arrlist.cpp:2:0:
tecsrc/MASTER.h:508:31: fatal error: X11/Intrinsic.h: No such file or directory


--
John