mirror of
https://github.com/KDE/krfb
synced 2026-07-01 15:51:18 -07:00
Remove not necessary files (port to cmake check)
svn path=/trunk/KDE/kdenetwork/krfb/; revision=626121
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
KDE_CHECK_HEADER(X11/extensions/XTest.h,
|
||||
[],
|
||||
AC_MSG_ERROR([XTest extension header not found / no xlib headers]))
|
||||
|
||||
#check for getifaddrs(3) (as in glibc >= 2.3 and newer bsds)
|
||||
AC_MSG_CHECKING(for getifaddrs support)
|
||||
AC_TRY_LINK( [
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <ifaddrs.h>
|
||||
],[
|
||||
getifaddrs(0);
|
||||
],[
|
||||
AC_DEFINE(HAVE_GETIFADDRS,1,[Define if getifaddrs is available])
|
||||
AC_MSG_RESULT(yes)
|
||||
COMPILE_GETIFADDRS=""
|
||||
],[
|
||||
AC_MSG_RESULT(no)
|
||||
COMPILE_GETIFADDRS="getifaddrs.cpp"
|
||||
])
|
||||
AC_SUBST(COMPILE_GETIFADDRS)
|
||||
Reference in New Issue
Block a user