--- configure.ac.org 2007-12-14 11:00:41.000000000 +0100 +++ configure.ac 2007-12-14 11:03:00.000000000 +0100 @@ -66,7 +66,8 @@ AC_CONFIG_FILES([Makefile src/Makefile - test/Makefile]) + test/Makefile + libwiimote.pc]) AC_OUTPUT echo echo $PACKAGE v$VERSION --- Makefile.am.org 2007-12-14 11:00:41.000000000 +0100 +++ Makefile.am 2007-12-14 11:04:00.000000000 +0100 @@ -4,10 +4,13 @@ AUTHORS NEWS INSTALL COPYING README \ ChangeLog \ autogen.sh \ - configure.ac + configure.ac \ + libwiimote.pc +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libwiimote.pc LIBTOOL_DEPS = @LIBTOOL_DEPS@ $(OBJECTS): libtool libtool: $(LIBTOOL_DEPS) - $(SHELL) ./config.status --recheck \ Kein Zeilenumbruch am Dateiende. + $(SHELL) ./config.status --recheck --- /dev/null 2007-12-14 10:05:16.408251005 +0100 +++ libwiimote.pc.in 2007-12-14 11:01:21.000000000 +0100 @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ +plugindir=@libdir@/@PACKAGE@ + +Name: libwiimote +Description: Library to connect to the Nintendo Wii remote +Version: @VERSION@ +Libs: -L${libdir} -lwiimote +Cflags: -I${includedir} -I${includedir}/@PACKAGE@