more extractable config info that might be of use to the user

This commit is contained in:
Bill Currie 2007-03-08 11:33:03 +00:00 committed by Jeff Teunissen
parent b0c1294f8a
commit a4839df70c
2 changed files with 7 additions and 0 deletions

View file

@ -1344,6 +1344,7 @@ if test "x$globalconf" = "xauto" || test "x$globalconf" = "xyes" || \
globalconf="$default_globalconf" globalconf="$default_globalconf"
fi fi
AC_DEFINE_UNQUOTED(FS_GLOBALCFG, "$globalconf", [Define this to the location of the global config file]) AC_DEFINE_UNQUOTED(FS_GLOBALCFG, "$globalconf", [Define this to the location of the global config file])
AC_SUBST(globalconf)
AC_ARG_WITH(user-cfg, AC_ARG_WITH(user-cfg,
[ --with-user-cfg=FILE If set will change the name and location of the [ --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" userconf="$default_userconf"
fi fi
AC_DEFINE_UNQUOTED(FS_USERCFG, "$userconf", [Define this to the location of the user config file]) AC_DEFINE_UNQUOTED(FS_USERCFG, "$userconf", [Define this to the location of the user config file])
AC_SUBST(userconf)
AC_ARG_WITH(sharepath, AC_ARG_WITH(sharepath,
[ --with-sharepath=DIR Use DIR for shared game data, defaults to [ --with-sharepath=DIR Use DIR for shared game data, defaults to

View file

@ -3,7 +3,12 @@ exec_prefix=@exec_prefix@
libdir=@libdir@ libdir=@libdir@
includedir=@includedir@ includedir=@includedir@
#fs_dirconf=
#fs_fraglog=
fs_globalcfg=@globalconf@
fs_pluginpath=@plugindir@
fs_sharepath=@sharepath@ fs_sharepath=@sharepath@
fs_usercfg=@userconf@
fs_userpath=@userpath@ fs_userpath=@userpath@
Name: @PROGRAM@ Name: @PROGRAM@