From a4839df70cb736268db6826998ec56463773db12 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 8 Mar 2007 11:33:03 +0000 Subject: [PATCH] more extractable config info that might be of use to the user --- configure.ac | 2 ++ pkg-config/quakeforge.pc.in | 5 +++++ 2 files changed, 7 insertions(+) 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@