mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
Merge recent misc fixes from 'pre-0.77'.
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
#cmakedefine01 HAVE_DWMAPI_H
|
||||
|
||||
#cmakedefine NOT_X_WINDOWS
|
||||
#cmakedefine OMIT_UTMP
|
||||
|
||||
#cmakedefine01 HAVE_ASM_HWCAP_H
|
||||
#cmakedefine01 HAVE_SYS_AUXV_H
|
||||
@ -29,6 +30,7 @@
|
||||
#cmakedefine01 HAVE_POSIX_OPENPT
|
||||
#cmakedefine01 HAVE_PTSNAME
|
||||
#cmakedefine01 HAVE_SETRESUID
|
||||
#cmakedefine01 HAVE_SETRESGID
|
||||
#cmakedefine01 HAVE_STRSIGNAL
|
||||
#cmakedefine01 HAVE_UPDWTMPX
|
||||
#cmakedefine01 HAVE_FSTATAT
|
||||
|
@ -19,6 +19,7 @@ check_include_file(sys/sysctl.h HAVE_SYS_SYSCTL_H)
|
||||
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
|
||||
check_include_file(glob.h HAVE_GLOB_H)
|
||||
check_include_file(utmp.h HAVE_UTMP_H)
|
||||
check_include_file(utmpx.h HAVE_UTMPX_H)
|
||||
|
||||
check_symbol_exists(futimes "sys/time.h" HAVE_FUTIMES)
|
||||
check_symbol_exists(getaddrinfo "sys/types.h;sys/socket.h;netdb.h"
|
||||
@ -56,6 +57,12 @@ else()
|
||||
set(NO_IPV6 ON)
|
||||
endif()
|
||||
|
||||
if(HAVE_UTMPX_H)
|
||||
set(OMIT_UTMP OFF)
|
||||
else()
|
||||
set(OMIT_UTMP ON)
|
||||
endif()
|
||||
|
||||
include(cmake/gtk.cmake)
|
||||
|
||||
# See if we have X11 available. This requires libX11 itself, and also
|
||||
|
@ -4,6 +4,8 @@
|
||||
# give a #error if this manoeuvre doesn't do what it needs to.
|
||||
string(REPLACE "/DNDEBUG" "" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
|
||||
string(REPLACE "-DNDEBUG" "" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
|
||||
string(REPLACE "/DNDEBUG" "" CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELEASE}")
|
||||
string(REPLACE "-DNDEBUG" "" CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELEASE}")
|
||||
|
||||
set(PUTTY_IPV6 ON
|
||||
CACHE BOOL "Build PuTTY with IPv6 support if possible")
|
||||
|
Reference in New Issue
Block a user