From: handa Date: Wed, 27 Oct 2004 07:48:29 +0000 (+0000) Subject: Pay attention to HAVE_X11_XAW_COMMAND_H. X-Git-Tag: REL-0-9-5~103 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f6c88037abf5d0b207592938db528ece9e1b35d0;p=m17n%2Flibotf.git Pay attention to HAVE_X11_XAW_COMMAND_H. --- diff --git a/example/otfview.c b/example/otfview.c index 809b69c..531f549 100644 --- a/example/otfview.c +++ b/example/otfview.c @@ -28,6 +28,8 @@ write to the Free Software Foundation, Inc., 59 Temple Place, Suite #include #include +#ifdef HAVE_X11_XAW_COMMAND_H + #include #include #include @@ -1349,3 +1351,16 @@ main (int argc, char **argv) exit (0); } + +#else /* not HAVE_X11_XAW_COMMAND_H */ + +int +main (int argc, char **argv) +{ + fprintf (stderr, + "Building of this program failed (lack of some header files)\n", + argv[0]); + exit (1); +} + +#endif