]> git.pld-linux.org Git - packages/partysip.git/blob - partysip-config_location.patch
- 0.6.0
[packages/partysip.git] / partysip-config_location.patch
1 --- ./src/main.c.org    Thu Jan  2 11:10:38 2003
2 +++ ./src/main.c        Thu Jan  2 11:09:38 2003
3 @@ -381,7 +381,7 @@
4    ppl_getopt_t *opt;
5    ppl_status_t rv;
6  #ifdef WIN32
7 -  const char *cf_config_file = PSP_SERVER_INSTALL_DIR "partysip.conf";
8 +  const char *cf_config_file = CONFIG_DIR "/partysip.conf";
9  #ifdef HAVE_NT_SERVICE_MANAGER
10    int interactive_mode = 2;
11  #else
12 @@ -389,7 +389,7 @@
13  #endif
14  #else
15    const char *cf_config_file =
16 -    PSP_SERVER_INSTALL_DIR "/etc/partysip/partysip.conf";
17 +    CONFIG_DIR "/partysip.conf";
18    int interactive_mode = 0;
19  #endif
20    int cf_debug_level = 0;
21 --- ./src/Makefile.am.org       Thu Jan  2 11:10:57 2003
22 +++ ./src/Makefile.am   Thu Jan  2 11:09:08 2003
23 @@ -20,7 +20,7 @@
24  INCLUDES =  -I$(top_srcdir)/partysip -I$(top_srcdir)/ppl/unix/ \
25  -I$(top_srcdir) -I$(prefix)/include
26  
27 -AM_CFLAGS = -Wall $(PARTYSIP_FLAGS) -DPSP_SERVER_PREFIX="\"$(prefix)\"" $(PTHREAD_CFLAGS)
28 +AM_CFLAGS = -Wall $(PARTYSIP_FLAGS) -DPSP_SERVER_PREFIX="\"$(prefix)\"" -DCONFIG_DIR="\"@sysconfdir@\"" $(PTHREAD_CFLAGS)
29  
30  install-exec-local:
31         echo "Installing script file for plugin: partysip-config";
This page took 0.59848 seconds and 3 git commands to generate.