# HG changeset patch # User Michiel Broek # Date 1446932567 -3600 # Node ID ae85e91dcc58b212460d6b410ea451c1f06a86ad # Parent e3f8a51b566af178e502f164d4ae47d0ef49fd48 Added configure message about SDL presence. diff -r e3f8a51b566a -r ae85e91dcc58 configure --- a/configure Sat Nov 07 22:34:28 2015 +0100 +++ b/configure Sat Nov 07 22:42:47 2015 +0100 @@ -3678,6 +3678,7 @@ # Check for SDL SDL_CFLAGS="" SDL_LIBS="" +SDL="No" { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL library" >&5 $as_echo_n "checking SDL library... " >&6; } pkg-config --exists sdl @@ -3707,6 +3708,7 @@ done + SDL="Yes" else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } @@ -5136,6 +5138,7 @@ Version : ............ ${VERSION} Main directory : ..... ${prefix} WiringPi : ........... ${WIRINGPI} + SDL library : ........ ${SDL} Simulator : .......... ${SIMULATOR} Now type 'make' and 'sudo make install' @@ -5148,6 +5151,7 @@ Version : ............ ${VERSION} Main directory : ..... ${prefix} WiringPi : ........... ${WIRINGPI} + SDL library : ........ ${SDL} Simulator : .......... ${SIMULATOR} Now type 'make' and 'sudo make install' diff -r e3f8a51b566a -r ae85e91dcc58 configure.ac --- a/configure.ac Sat Nov 07 22:34:28 2015 +0100 +++ b/configure.ac Sat Nov 07 22:42:47 2015 +0100 @@ -84,6 +84,7 @@ # Check for SDL SDL_CFLAGS="" SDL_LIBS="" +SDL="No" AC_MSG_CHECKING(SDL library) pkg-config --exists sdl if test "$?" = "0"; then @@ -98,6 +99,7 @@ SDL_CFLAGS="$(pkg-config --cflags sdl)" SDL_LIBS="$(pkg-config --libs sdl)" AC_CHECK_HEADERS(SDL/SDL.h) + SDL="Yes" else AC_MSG_RESULT(no) fi @@ -140,6 +142,7 @@ Version : ............ ${VERSION} Main directory : ..... ${prefix} WiringPi : ........... ${WIRINGPI} + SDL library : ........ ${SDL} Simulator : .......... ${SIMULATOR} Now type 'make' and 'sudo make install'