speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/1] rename src/server/config.c and src/server/config.h to fix an


From: Andrei Kholodnyi
Subject: [PATCH 1/1] rename src/server/config.c and src/server/config.h to fix an autotools conflict
Date: Sun, 19 Sep 2010 19:37:04 +0200

From: William Hubbs <address@hidden>
To: address@hidden

renamed src/server/config.c and src/server/config.h so there is not a
conflict with config.h which is generated by autoconf.
---
 src/server/Makefile.am                   |    2 +-
 src/server/{config.c => configuration.c} |    2 +-
 src/server/{config.h => configuration.h} |    0
 src/server/speechd.c                     |    2 +-
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename src/server/{config.c => configuration.c} (99%)
 rename src/server/{config.h => configuration.h} (100%)

diff --git a/src/server/Makefile.am b/src/server/Makefile.am
index ea939c8..c455b4d 100644
--- a/src/server/Makefile.am
+++ b/src/server/Makefile.am
@@ -4,7 +4,7 @@ INCLUDES = -I$(top_srcdir)/include/
 lib_common = $(top_builddir)/src/common/libcommon.la
 
 bin_PROGRAMS = speech-dispatcher
-speech_dispatcher_SOURCES = speechd.c speechd.h server.c server.h history.c 
history.h module.c module.h config.c config.h parse.c parse.h set.c set.h msg.h 
alloc.c alloc.h compare.c compare.h speaking.c speaking.h options.c options.h 
output.c output.h sem_functions.c sem_functions.h index_marking.c 
index_marking.h
+speech_dispatcher_SOURCES = speechd.c speechd.h server.c server.h history.c 
history.h module.c module.h configuration.c configuration.h parse.c parse.h 
set.c set.h msg.h alloc.c alloc.h compare.c compare.h speaking.c speaking.h 
options.c options.h output.c output.h sem_functions.c sem_functions.h 
index_marking.c index_marking.h
 speech_dispatcher_CFLAGS = $(ERROR_CFLAGS)
 speech_dispatcher_CPPFLAGS = $(DOTCONF_CFLAGS) $(GLIB_CFLAGS) 
$(GMODULE_CFLAGS) $(GTHREAD_CFLAGS) -DSYS_CONF=\"$(spdconfdir)\" 
-DSND_DATA=\"$(snddatadir)\" -DMODULEBINDIR=\"$(modulebindir)\" 
-DVERSION=\"$(VERSION)\" -DPACKAGE=\"$(PACKAGE)\" -D_GNU_SOURCE
 speech_dispatcher_LDFLAGS = $(RDYNAMIC)
diff --git a/src/server/config.c b/src/server/configuration.c
similarity index 99%
rename from src/server/config.c
rename to src/server/configuration.c
index 4fa0f10..14376a4 100644
--- a/src/server/config.c
+++ b/src/server/configuration.c
@@ -25,7 +25,7 @@
 #include <dotconf.h>
 
 #include "speechd.h"
-#include "config.h"
+#include "configuration.h"
 #include <fdsetconv.h>
 
 static TFDSetClientSpecific *cl_spec_section;
diff --git a/src/server/config.h b/src/server/configuration.h
similarity index 100%
rename from src/server/config.h
rename to src/server/configuration.h
diff --git a/src/server/speechd.c b/src/server/speechd.c
index b0fe736..2b7d76d 100644
--- a/src/server/speechd.c
+++ b/src/server/speechd.c
@@ -31,7 +31,7 @@
 #include "speechd.h"
 
 /* Declare dotconf functions and data structures*/
-#include "config.h"
+#include "configuration.h"
 
 /* Declare functions to allocate and create important data
  * structures */
-- 
1.6.0.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]