From d6c95a2b1105b0ff1258ff72f0d326ae92646003 Mon Sep 17 00:00:00 2001 From: gardners Date: Thu, 19 Apr 2012 08:35:16 +0930 Subject: [PATCH] Added autoconf magic to detect SDL on mac for VoMP audio testing when we get that far. --- configure.in | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.in b/configure.in index f3ffc5a7..89196548 100644 --- a/configure.in +++ b/configure.in @@ -22,5 +22,6 @@ AC_CHECK_LIB(nsl,callrpc,[LDFLAGS="$LDFLAGS -lnsl"]) AC_CHECK_LIB(socket,socket,[LDFLAGS="$LDFLAGS -lsocket"]) AC_CHECK_LIB(dl,dlopen,[LDFLAGS="$LDFLAGS -ldl"]) AC_CHECK_LIB(pthread,pthread_create,[LDFLAGS="$LDFLAGS -lpthread"]) +AC_CHECK_FILE(/Library/Frameworks/SDL.framework,[LDFLAGS="$LDFLAGS -F SDL -F SDL_main"; CFLAGS="$CFLAGS -DWITH_SDL";]) AC_OUTPUT(Makefile)