diff options
Diffstat (limited to 'Tests/X11/X11.c')
-rw-r--r-- | Tests/X11/X11.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Tests/X11/X11.c b/Tests/X11/X11.c new file mode 100644 index 000000000..b802ed8b9 --- /dev/null +++ b/Tests/X11/X11.c @@ -0,0 +1,21 @@ +#include "stdio.h" +#ifdef CMAKE_HAS_X + +#include <X11/Xlib.h> +#include <X11/Xutil.h> + +int main() +{ + printf("There is X on this computer\n"); + return 0; +} + +#else + +int main() +{ + printf("No X on this computer\n"); + return 0; +} + +#endif |