trying again to support OS X

pull/1/head
dscho 22 years ago
parent 23f45bc764
commit 722577d8ba

@ -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

Loading…
Cancel
Save