mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
configure: fix timezone/tm checks to work on Linux (time.h is needed)
This commit is contained in:
parent
18e6813b3c
commit
9ca0cf7545
1 changed files with 4 additions and 2 deletions
|
@ -404,8 +404,10 @@ AC_CHECK_SIZEOF([long long])
|
|||
AC_CHECK_SIZEOF([time_t])
|
||||
|
||||
AC_STRUCT_TIMEZONE
|
||||
AC_CHECK_DECLS([timezone])
|
||||
AC_CHECK_MEMBERS([struct tm.tm_gmtoff])
|
||||
AC_CHECK_DECLS([timezone],,,
|
||||
[#include <time.h>])
|
||||
AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,
|
||||
[#include <time.h>])
|
||||
|
||||
dnl jpeg
|
||||
AC_CHECK_LIB(jpeg, jpeg_read_header, [JPEGLIB="-ljpeg"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue