Fix tdeioslaves FTBFS when compiled in standalone.

This resolves bug report 1617.

Cmake doesn't define HAVE_BACKTRACE.
This resolves bug report 1614.
(cherry picked from commit 1297639788)
v3.5.13-sru
Alexander Golubev 11 years ago committed by Slávek Banko
parent 0ffdced1e7
commit 49035a61b3

@ -262,6 +262,7 @@ check_symbol_exists( gethostbyname2_r "netdb.h" HAVE_GETHOSTBYNAME2_R )
check_symbol_exists( gethostbyname_r "netdb.h" HAVE_GETHOSTBYNAME_R ) check_symbol_exists( gethostbyname_r "netdb.h" HAVE_GETHOSTBYNAME_R )
check_symbol_exists( gai_strerror "sys/types.h;sys/socket.h;netdb.h" HAVE_GAI_STRERROR ) check_symbol_exists( gai_strerror "sys/types.h;sys/socket.h;netdb.h" HAVE_GAI_STRERROR )
check_symbol_exists( getaddrinfo "sys/types.h;sys/socket.h;netdb.h" HAVE_GETADDRINFO ) check_symbol_exists( getaddrinfo "sys/types.h;sys/socket.h;netdb.h" HAVE_GETADDRINFO )
check_symbol_exists( backtrace "execinfo.h" HAVE_BACKTRACE )
check_function_exists( usleep HAVE_USLEEP ) check_function_exists( usleep HAVE_USLEEP )
check_symbol_exists( usleep "unistd.h" HAVE_USLEEP_PROTO ) check_symbol_exists( usleep "unistd.h" HAVE_USLEEP_PROTO )

@ -48,7 +48,7 @@
#cmakedefine HAVE_AWE_VOICE_H 1 #cmakedefine HAVE_AWE_VOICE_H 1
/* Define if execinfo.h exists and defines backtrace (GLIBC >= 2.1) */ /* Define if execinfo.h exists and defines backtrace (GLIBC >= 2.1) */
#undef HAVE_BACKTRACE #cmakedefine HAVE_BACKTRACE 1
/* Define to 1 if you have the `bcopy' function. */ /* Define to 1 if you have the `bcopy' function. */
#cmakedefine HAVE_BCOPY 1 #cmakedefine HAVE_BCOPY 1

Loading…
Cancel
Save