summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authordscho <dscho>2003-02-09 18:14:11 +0000
committerdscho <dscho>2003-02-09 18:14:11 +0000
commit722577d8bac9562bec5a0e632e7d7ccab2470a05 (patch)
treeadb4faf16a438ae6eafec0cb71cd33ea6e1a63e1 /configure.ac
parent23f45bc7641dbe9b87ba281cf54ba844fe7edcee (diff)
downloadlibtdevnc-722577d8bac9562bec5a0e632e7d7ccab2470a05.tar.gz
libtdevnc-722577d8bac9562bec5a0e632e7d7ccab2470a05.zip
trying again to support OS X
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index afac118..b34506d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,6 +90,10 @@ AC_CHECK_FUNCS([ftime gethostbyname gethostname gettimeofday inet_ntoa memmove m
# Check if /dev/vcsa1 exists, if so, define LINUX
AM_CONDITIONAL(LINUX, test -c /dev/vcsa1)
+# Check for OS X specific header
+AC_CHECK_HEADER(ApplicationServices/ApplicationServices.h, HAVE_OSX="true")
+AM_CONDITIONAL(OSX, test "$HAVE_OSX" = "true")
+
# Check for rpm SOURCES path
echo -n "checking for rpm sources path... "
RPMSOURCEDIR="NOT-FOUND"