--- configure.in_ORIG 2009-02-08 02:42:51.000000000 +0100 +++ configure.in 2009-02-08 02:43:26.000000000 +0100 @@ -80,6 +80,7 @@ dnl Check for SDL SDL_VERSION=1.2.10 +AC_SUBST(SDL_VERSION) AM_PATH_SDL($SDL_VERSION, :, AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) @@ -293,4 +294,5 @@ Makefile SDL_image.spec SDL_image.qpg +SDL_image.pc ]) --- Makefile.am_ORIG 2009-02-08 02:41:16.000000000 +0100 +++ Makefile.am 2009-02-08 02:42:11.000000000 +0100 @@ -49,6 +49,9 @@ libSDL_image_la_LIBADD = $(IMG_LIBS) endif +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = SDL_image.pc + %.o : %.rc $(WINDRES) $< $@ --- SDL_image.pc.in_ORIG 2009-02-08 02:37:46.000000000 +0100 +++ SDL_image.pc.in 2009-02-08 02:40:35.000000000 +0100 @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: SDL_image +Description: image loading library for Simple DirectMedia Layer +Version: @VERSION@ +Requires: sdl >= @SDL_VERSION@ +Libs: -L${libdir} -lSDL_image +Cflags: -I${includedir}/SDL +