410:e3f8a51b566a | 411:ae85e91dcc58 |
---|---|
82 fi | 82 fi |
83 | 83 |
84 # Check for SDL | 84 # Check for SDL |
85 SDL_CFLAGS="" | 85 SDL_CFLAGS="" |
86 SDL_LIBS="" | 86 SDL_LIBS="" |
87 SDL="No" | |
87 AC_MSG_CHECKING(SDL library) | 88 AC_MSG_CHECKING(SDL library) |
88 pkg-config --exists sdl | 89 pkg-config --exists sdl |
89 if test "$?" = "0"; then | 90 if test "$?" = "0"; then |
90 AC_MSG_RESULT(yes) | 91 AC_MSG_RESULT(yes) |
91 AC_MSG_CHECKING(sdl library v1.2.0 or newer) | 92 AC_MSG_CHECKING(sdl library v1.2.0 or newer) |
96 AC_MSG_ERROR(not found) | 97 AC_MSG_ERROR(not found) |
97 fi | 98 fi |
98 SDL_CFLAGS="$(pkg-config --cflags sdl)" | 99 SDL_CFLAGS="$(pkg-config --cflags sdl)" |
99 SDL_LIBS="$(pkg-config --libs sdl)" | 100 SDL_LIBS="$(pkg-config --libs sdl)" |
100 AC_CHECK_HEADERS(SDL/SDL.h) | 101 AC_CHECK_HEADERS(SDL/SDL.h) |
102 SDL="Yes" | |
101 else | 103 else |
102 AC_MSG_RESULT(no) | 104 AC_MSG_RESULT(no) |
103 fi | 105 fi |
104 | 106 |
105 # Check for SDL_ttf | 107 # Check for SDL_ttf |
138 Configuration summary : | 140 Configuration summary : |
139 | 141 |
140 Version : ............ ${VERSION} | 142 Version : ............ ${VERSION} |
141 Main directory : ..... ${prefix} | 143 Main directory : ..... ${prefix} |
142 WiringPi : ........... ${WIRINGPI} | 144 WiringPi : ........... ${WIRINGPI} |
145 SDL library : ........ ${SDL} | |
143 Simulator : .......... ${SIMULATOR} | 146 Simulator : .......... ${SIMULATOR} |
144 | 147 |
145 Now type 'make' and 'sudo make install' | 148 Now type 'make' and 'sudo make install' |
146 ]) | 149 ]) |
147 | 150 |