--- configure.in_ORIG 2009-02-08 01:47:51.000000000 +0100 +++ configure.in 2009-02-08 02:10:52.000000000 +0100 @@ -126,6 +126,7 @@ dnl Check for SDL SDL_VERSION=1.2.4 +AC_SUBST(SDL_VERSION) AM_PATH_SDL($SDL_VERSION, :, AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) @@ -189,4 +190,5 @@ AC_OUTPUT([ Makefile SDL_ttf.spec +SDL_ttf.pc ]) --- Makefile.am_ORIG 2009-02-08 01:48:38.000000000 +0100 +++ Makefile.am 2009-02-08 01:50:41.000000000 +0100 @@ -34,6 +34,9 @@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) endif +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = SDL_ttf.pc + %.o : %.rc $(WINDRES) $< $@ --- SDL_ttf.pc.in_ORIG 2009-02-08 01:47:43.000000000 +0100 +++ SDL_ttf.pc.in 2009-02-08 02:08:40.000000000 +0100 @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: SDL_ttf +Description: ttf library for Simple DirectMedia Layer with FreeType 2 support +Version: @VERSION@ +Requires: sdl >= @SDL_VERSION@ +Libs: -L${libdir} -lSDL_ttf +Cflags: -I${includedir}/SDL +