diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | bcb704366cb5e333a626c18c308c7e0448a8e69f (patch) | |
tree | f0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /krfb/configure.in.in | |
download | tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krfb/configure.in.in')
-rw-r--r-- | krfb/configure.in.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/krfb/configure.in.in b/krfb/configure.in.in new file mode 100644 index 00000000..d3715c31 --- /dev/null +++ b/krfb/configure.in.in @@ -0,0 +1,21 @@ +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) |