summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2012-04-25 13:51:05 +0200
committerChristian Beier <dontmind@freeshell.org>2012-04-25 13:51:05 +0200
commitb5a91ab2317e197553b2d3fb70807757757abdf6 (patch)
tree7b109c50a41c38618543ec9fc47832f63c875c51
parent7f063f8efeeabfbb063802bd01027d588eb68175 (diff)
downloadlibtdevnc-b5a91ab2317e197553b2d3fb70807757757abdf6.tar.gz
libtdevnc-b5a91ab2317e197553b2d3fb70807757757abdf6.zip
Better check for Linux build.
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c12feed..9906712 100644
--- a/configure.ac
+++ b/configure.ac
@@ -930,8 +930,8 @@ fi
AC_CHECK_LIB(cygipc,shmget)
AM_CONDITIONAL(CYGIPC, test "$HAVE_CYGIPC" = "true")
-# Check if /dev/vcsa1 exists, if so, define LINUX
-AM_CONDITIONAL(LINUX, test -c /dev/vcsa1)
+# Check if /usr/include/linux exists, if so, define LINUX
+AM_CONDITIONAL(LINUX, test -d /usr/include/linux)
# Check for OS X specific header
AC_CHECK_HEADER(ApplicationServices/ApplicationServices.h, HAVE_OSX="true")