Added configure message about SDL presence.

Sat, 07 Nov 2015 22:42:47 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 07 Nov 2015 22:42:47 +0100
changeset 411
ae85e91dcc58
parent 410
e3f8a51b566a
child 412
f1a042a59b61

Added configure message about SDL presence.

configure file | annotate | diff | comparison | revisions
configure.ac file | annotate | diff | comparison | revisions
--- 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'
--- 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'

mercurial