repo.or.cz
/
CMakeLuaTailorHgBridge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Resync
[CMakeLuaTailorHgBridge.git]
/
CMakeLua
/
Tests
/
X11
/
X11.c
blob
b802ed8b9bf4fdcce808479ff8e3e132bbb5ce31
1
#include
"stdio.h"
2
#ifdef CMAKE_HAS_X
3
4
#include <X11/Xlib.h>
5
#include <X11/Xutil.h>
6
7
int
main
()
8
{
9
printf
(
"There is X on this computer
\n
"
);
10
return
0
;
11
}
12
13
#else
14
15
int
main
()
16
{
17
printf
(
"No X on this computer
\n
"
);
18
return
0
;
19
}
20
21
#endif