blob: d145b625f6bca718736b5a7d5db931ee0a98dcc6 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001Index: gegl-0.2.0/configure.ac
2===================================================================
3--- gegl-0.2.0.orig/configure.ac 2012-04-02 21:56:49.000000000 +0000
4+++ gegl-0.2.0/configure.ac 2014-07-17 21:34:15.312546602 +0000
5@@ -765,15 +765,7 @@
6
7 have_sdl="no"
8 if test "x$with_sdl" != "xno"; then
9- AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
10- if test "$SDL_CONFIG" = "no"; then
11- have_sdl="no (SDL library not found)"
12- AC_MSG_RESULT([*** Check for SDL library failed.])
13- else
14- have_sdl="yes"
15- SDL_CFLAGS=`$SDL_CONFIG --cflags`
16- SDL_LIBS=`$SDL_CONFIG --libs`
17- fi
18+ PKG_CHECK_MODULES([SDL], [sdl], [have_sdl="yes"], [have_sdl="no (SDL library not found)"])
19 fi
20
21 AM_CONDITIONAL(HAVE_SDL, test "$have_sdl" = "yes")