diff --git a/configure.ac b/configure.ac index 0ff6ed870..4a79f680b 100644 --- a/configure.ac +++ b/configure.ac @@ -2289,7 +2289,7 @@ QF_DEPS(WAV, AC_DEFINE_UNQUOTED(PATH_SEPARATOR, '/', [Define this to your operating system's path separator character]) AC_DEFINE_UNQUOTED(CPP_NAME, "$CPP_NAME", [Define this to the command line for the C preprocessor]) AC_DEFINE_UNQUOTED(QFCC_INCLUDE_PATH, "$prefix/include/QF/ruamoko", [Define this to where qfcc should look for header files]) -AC_DEFINE_UNQUOTED(QFCC_LIB_PATH, "$prefix/lib/ruamoko", [Define this to where qfcc should look for lib files]) +AC_DEFINE_UNQUOTED(QFCC_LIB_PATH, "$libdir/ruamoko", [Define this to where qfcc should look for lib files]) AM_CONDITIONAL(BUILD_GL, test "$BUILD_GL" = "yes") AM_CONDITIONAL(BUILD_SW, test "$BUILD_SW" = "yes") @@ -2393,6 +2393,7 @@ AC_OUTPUT( ruamoko/scheme/Makefile pkg-config/Makefile + pkg-config/qfcc.pc pkg-config/quakeforge.pc doc/Makefile diff --git a/pkg-config/Makefile.am b/pkg-config/Makefile.am index 71b23fd4e..48f4005f1 100644 --- a/pkg-config/Makefile.am +++ b/pkg-config/Makefile.am @@ -1,5 +1,5 @@ pkgdatadir=@libdir@/pkgconfig -pkgdata_DATA=quakeforge.pc +pkgdata_DATA=quakeforge.pc qfcc.pc -EXTRA_DIST=quakeforge.pc.in +EXTRA_DIST=quakeforge.pc.in qfcc.pc.in diff --git a/pkg-config/qfcc.pc.in b/pkg-config/qfcc.pc.in new file mode 100644 index 000000000..2afb36f97 --- /dev/null +++ b/pkg-config/qfcc.pc.in @@ -0,0 +1,9 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@/ruamoko +includedir=@prefix@/include/QF/ruamoko + +Name: qfcc +Description: Ruamoko/QuakeC compiler/linker +Version: @VERSION@ +URL: http://quakeforge.net/