Commit 722577d8 authored by dscho's avatar dscho

trying again to support OS X

parent 23f45bc7
......@@ -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"
......
......@@ -2,10 +2,14 @@ if HAVE_LIBPTHREAD
BACKGROUND_TEST=blooptest
endif
if OSX
MAC=mac
endif
noinst_HEADERS=radon.h
noinst_PROGRAMS=example pnmshow regiontest pnmshow24 fontsel \
vncev storepasswd $(BACKGROUND_TEST)
vncev storepasswd $(BACKGROUND_TEST) $(MAC)
LDADD = -L.. -lvncserver
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment