diff --git a/configure.ac b/configure.ac index 1420ca2cb..f33cdd8b2 100644 --- a/configure.ac +++ b/configure.ac @@ -1344,6 +1344,7 @@ if test "x$globalconf" = "xauto" || test "x$globalconf" = "xyes" || \ globalconf="$default_globalconf" fi AC_DEFINE_UNQUOTED(FS_GLOBALCFG, "$globalconf", [Define this to the location of the global config file]) +AC_SUBST(globalconf) AC_ARG_WITH(user-cfg, [ --with-user-cfg=FILE If set will change the name and location of the @@ -1355,6 +1356,7 @@ if test "x$userconf" = "xauto" || test "x$userconf" = "xyes" || \ userconf="$default_userconf" fi AC_DEFINE_UNQUOTED(FS_USERCFG, "$userconf", [Define this to the location of the user config file]) +AC_SUBST(userconf) AC_ARG_WITH(sharepath, [ --with-sharepath=DIR Use DIR for shared game data, defaults to diff --git a/pkg-config/quakeforge.pc.in b/pkg-config/quakeforge.pc.in index 40f7ea3d0..3c71ed077 100644 --- a/pkg-config/quakeforge.pc.in +++ b/pkg-config/quakeforge.pc.in @@ -3,7 +3,12 @@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ +#fs_dirconf= +#fs_fraglog= +fs_globalcfg=@globalconf@ +fs_pluginpath=@plugindir@ fs_sharepath=@sharepath@ +fs_usercfg=@userconf@ fs_userpath=@userpath@ Name: @PROGRAM@