]> git.draconx.ca Git - rrace.git/commit
Fix build on older Motif without XmPIXMAP_AND_STRING.
authorNick Bowler <nbowler@draconx.ca>
Wed, 16 Nov 2022 03:25:18 +0000 (22:25 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 16 Nov 2022 03:25:18 +0000 (22:25 -0500)
commitee68c7cd53763caeb44de97f1036ebaf014a7292
tree7d2fe9b36bdcc6cc37777aca000eee6721319447
parent63ba37205516e54b2c237819029d5046e69f58ce
Fix build on older Motif without XmPIXMAP_AND_STRING.

It seems that not all versions of Motif support labels with a labelType
of XmPIXMAP_AND_STRING.  This mode is used in the about dialog to
display the program's icon, but it's silly to fail compilation over
this.

Add a configure test to check if this feature is available, and fall
back to XmSTRING (which will render without the icon).
configure.ac
src/motif_ui.c