mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 16:23:14 +02:00
Fix compilation of aspell with autotools
Sources are renamed with prefix "weechat-", to prevent conflict between two files called "aspell.h".
This commit is contained in:
+6
-6
@@ -83,12 +83,12 @@
|
||||
./src/plugins/alias/alias.h
|
||||
./src/plugins/alias/alias-info.c
|
||||
./src/plugins/alias/alias-info.h
|
||||
./src/plugins/aspell/aspell.c
|
||||
./src/plugins/aspell/aspell.h
|
||||
./src/plugins/aspell/aspell-config.c
|
||||
./src/plugins/aspell/aspell-config.h
|
||||
./src/plugins/aspell/aspell-speller.c
|
||||
./src/plugins/aspell/aspell-speller.h
|
||||
./src/plugins/aspell/weechat-aspell.c
|
||||
./src/plugins/aspell/weechat-aspell.h
|
||||
./src/plugins/aspell/weechat-aspell-config.c
|
||||
./src/plugins/aspell/weechat-aspell-config.h
|
||||
./src/plugins/aspell/weechat-aspell-speller.c
|
||||
./src/plugins/aspell/weechat-aspell-speller.h
|
||||
./src/plugins/charset/charset.c
|
||||
./src/plugins/debug/debug.c
|
||||
./src/plugins/demo/demo.c
|
||||
|
||||
+6
-6
@@ -84,12 +84,12 @@ SET(WEECHAT_SOURCES
|
||||
./src/plugins/alias/alias.h
|
||||
./src/plugins/alias/alias-info.c
|
||||
./src/plugins/alias/alias-info.h
|
||||
./src/plugins/aspell/aspell.c
|
||||
./src/plugins/aspell/aspell.h
|
||||
./src/plugins/aspell/aspell-config.c
|
||||
./src/plugins/aspell/aspell-config.h
|
||||
./src/plugins/aspell/aspell-speller.c
|
||||
./src/plugins/aspell/aspell-speller.h
|
||||
./src/plugins/aspell/weechat-aspell.c
|
||||
./src/plugins/aspell/weechat-aspell.h
|
||||
./src/plugins/aspell/weechat-aspell-config.c
|
||||
./src/plugins/aspell/weechat-aspell-config.h
|
||||
./src/plugins/aspell/weechat-aspell-speller.c
|
||||
./src/plugins/aspell/weechat-aspell-speller.h
|
||||
./src/plugins/charset/charset.c
|
||||
./src/plugins/debug/debug.c
|
||||
./src/plugins/demo/demo.c
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
#
|
||||
|
||||
ADD_LIBRARY(aspell MODULE
|
||||
aspell.c aspell.h
|
||||
aspell-config.c aspell-config.h
|
||||
aspell-speller.c aspell-speller.h)
|
||||
weechat-aspell.c weechat-aspell.h
|
||||
weechat-aspell-config.c weechat-aspell-config.h
|
||||
weechat-aspell-speller.c weechat-aspell-speller.h)
|
||||
SET_TARGET_PROPERTIES(aspell PROPERTIES PREFIX "")
|
||||
|
||||
IF(ASPELL_FOUND)
|
||||
|
||||
@@ -20,11 +20,11 @@ libdir = ${weechat_libdir}/plugins
|
||||
|
||||
lib_LTLIBRARIES = aspell.la
|
||||
|
||||
aspell_la_SOURCES = aspell.c \
|
||||
aspell.h \
|
||||
aspell-config.c \
|
||||
aspell-config.h \
|
||||
aspell-speller.c \
|
||||
aspell-speller.h
|
||||
aspell_la_SOURCES = weechat-aspell.c \
|
||||
weechat-aspell.h \
|
||||
weechat-aspell-config.c \
|
||||
weechat-aspell-config.h \
|
||||
weechat-aspell-speller.c \
|
||||
weechat-aspell-speller.h
|
||||
aspell_la_LDFLAGS = -module
|
||||
aspell_la_LIBADD = $(ASPELL_LFLAGS)
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
#include <limits.h>
|
||||
|
||||
#include "../weechat-plugin.h"
|
||||
#include "aspell.h"
|
||||
#include "aspell-config.h"
|
||||
#include "aspell-speller.h"
|
||||
#include "weechat-aspell.h"
|
||||
#include "weechat-aspell-config.h"
|
||||
#include "weechat-aspell-speller.h"
|
||||
|
||||
|
||||
struct t_config_file *weechat_aspell_config_file = NULL;
|
||||
@@ -23,8 +23,8 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "../weechat-plugin.h"
|
||||
#include "aspell.h"
|
||||
#include "aspell-speller.h"
|
||||
#include "weechat-aspell.h"
|
||||
#include "weechat-aspell-speller.h"
|
||||
|
||||
|
||||
struct t_aspell_speller *weechat_aspell_spellers = NULL;
|
||||
@@ -26,9 +26,9 @@
|
||||
#include <ctype.h>
|
||||
|
||||
#include "../weechat-plugin.h"
|
||||
#include "aspell.h"
|
||||
#include "aspell-config.h"
|
||||
#include "aspell-speller.h"
|
||||
#include "weechat-aspell.h"
|
||||
#include "weechat-aspell-config.h"
|
||||
#include "weechat-aspell-speller.h"
|
||||
|
||||
|
||||
WEECHAT_PLUGIN_NAME(ASPELL_PLUGIN_NAME);
|
||||
Reference in New Issue
Block a user