diff options
Diffstat (limited to 'kbstateapplet/configure.in.in')
-rw-r--r-- | kbstateapplet/configure.in.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kbstateapplet/configure.in.in b/kbstateapplet/configure.in.in new file mode 100644 index 0000000..3989388 --- /dev/null +++ b/kbstateapplet/configure.in.in @@ -0,0 +1,23 @@ +# add this here so the test programs below compile +KDE_CHECK_HEADER(X11/Xlib.h) +KDE_CHECK_HEADER(X11/extensions/XKBstr.h, , + DO_NOT_COMPILE="$DO_NOT_COMPILE kbstateapplet", +[ +#include <X11/Xlib.h> +]) + +dnl Solaris lacks this file, so we should skip kbstateapplet here +KDE_CHECK_HEADER(X11/XKBlib.h, , + DO_NOT_COMPILE="$DO_NOT_COMPILE kbstateapplet", +[ +#include <X11/Xlib.h> +]) + +dnl Solaris lacks this file, so we should skip kbstateapplet here +KDE_CHECK_HEADER(X11/extensions/XKB.h, , + DO_NOT_COMPILE="$DO_NOT_COMPILE kbstateapplet", +[ +#include <stdio.h> +#include <X11/Xlib.h> +#include <X11/XKBlib.h> +]) |