add missing definition:

- HAVE_STDINT_H   (needed for kiten)
- TIMEZONE_IS_INT (needed for kstars)

Signed-off-by: gregory guy <g-gregory@gmx.fr>
(cherry picked from commit 644ddeda08)
pull/9/head
gregory guy 5 years ago committed by Slávek Banko
parent 1a708a1c5d
commit 6c44ae51f9
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -81,3 +81,22 @@ if( BUILD_KIG OR BUILD_KBRUCH )
endif( NOT Boost_FOUND )
endif( BUILD_KIG OR BUILD_KBRUCH )
##### check for headers
check_include_file( stdint.h HAVE_STDINT_H )
##### check for TIMEZONE_IS_INT
check_cxx_source_compiles("
#include <time.h>
int main()
{
daylight = 0;
timezone = 0;
return 0;
}"
TIMEZONE_IS_INT)

@ -21,3 +21,9 @@
// Defined to 1 if you have <linux/videodev2.h> header file.
#cmakedefine HAVE_LINUX_VIDEODEV2_H 1
// Defined to 1 if you have <stdint.h> header file
#cmakedefine HAVE_STDINT_H 1
// Defined to 1 if timezone is available as a variable
#cmakedefine TIMEZONE_IS_INT 1

Loading…
Cancel
Save