summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-01-21 12:40:18 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-01-21 12:40:18 +0100
commit25c5bc64217bce570afc36e57b0e838f54f08465 (patch)
treee034874dcaf7cef94c918f3a5413b997e207925a /src
parent4cdcb11415187164025a8d39370bec8152b108c9 (diff)
downloadweechat-25c5bc64217bce570afc36e57b0e838f54f08465.zip
Removed use of config.h file in script plugins, not needed
Diffstat (limited to 'src')
-rw-r--r--src/plugins/scripts/lua/weechat-lua-api.c4
-rw-r--r--src/plugins/scripts/lua/weechat-lua.c4
-rw-r--r--src/plugins/scripts/perl/weechat-perl-api.c4
-rw-r--r--src/plugins/scripts/perl/weechat-perl.c4
-rw-r--r--src/plugins/scripts/python/weechat-python-api.c4
-rw-r--r--src/plugins/scripts/python/weechat-python.c4
-rw-r--r--src/plugins/scripts/ruby/weechat-ruby-api.c9
-rw-r--r--src/plugins/scripts/ruby/weechat-ruby.c9
8 files changed, 0 insertions, 42 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua-api.c b/src/plugins/scripts/lua/weechat-lua-api.c
index d593f489b..e72f0a88a 100644
--- a/src/plugins/scripts/lua/weechat-lua-api.c
+++ b/src/plugins/scripts/lua/weechat-lua-api.c
@@ -20,10 +20,6 @@
#undef _
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
diff --git a/src/plugins/scripts/lua/weechat-lua.c b/src/plugins/scripts/lua/weechat-lua.c
index 90a4c92c8..00b77283b 100644
--- a/src/plugins/scripts/lua/weechat-lua.c
+++ b/src/plugins/scripts/lua/weechat-lua.c
@@ -20,10 +20,6 @@
#undef _
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
diff --git a/src/plugins/scripts/perl/weechat-perl-api.c b/src/plugins/scripts/perl/weechat-perl-api.c
index 6a7d5d755..f300719b7 100644
--- a/src/plugins/scripts/perl/weechat-perl-api.c
+++ b/src/plugins/scripts/perl/weechat-perl-api.c
@@ -20,10 +20,6 @@
#undef _
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>
diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c
index 19cfa95eb..03862048a 100644
--- a/src/plugins/scripts/perl/weechat-perl.c
+++ b/src/plugins/scripts/perl/weechat-perl.c
@@ -20,10 +20,6 @@
#undef _
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>
diff --git a/src/plugins/scripts/python/weechat-python-api.c b/src/plugins/scripts/python/weechat-python-api.c
index d9b27bb86..260dae1b5 100644
--- a/src/plugins/scripts/python/weechat-python-api.c
+++ b/src/plugins/scripts/python/weechat-python-api.c
@@ -20,10 +20,6 @@
#undef _
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include <Python.h>
#include "../../weechat-plugin.h"
diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c
index 045a10ec5..4d3919725 100644
--- a/src/plugins/scripts/python/weechat-python.c
+++ b/src/plugins/scripts/python/weechat-python.c
@@ -20,10 +20,6 @@
#undef _
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include <Python.h>
#include "../../weechat-plugin.h"
diff --git a/src/plugins/scripts/ruby/weechat-ruby-api.c b/src/plugins/scripts/ruby/weechat-ruby-api.c
index dc99704e7..b77d16ed5 100644
--- a/src/plugins/scripts/ruby/weechat-ruby-api.c
+++ b/src/plugins/scripts/ruby/weechat-ruby-api.c
@@ -22,15 +22,6 @@
#include <ruby.h>
-#undef PACKAGE_BUGREPORT
-#undef PACKAGE_NAME
-#undef PACKAGE_STRING
-#undef PACKAGE_TARNAME
-#undef PACKAGE_VERSION
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "../../weechat-plugin.h"
#include "../script.h"
#include "../script-api.h"
diff --git a/src/plugins/scripts/ruby/weechat-ruby.c b/src/plugins/scripts/ruby/weechat-ruby.c
index ad420c0ca..bdbd62f7e 100644
--- a/src/plugins/scripts/ruby/weechat-ruby.c
+++ b/src/plugins/scripts/ruby/weechat-ruby.c
@@ -25,15 +25,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#undef PACKAGE_BUGREPORT
-#undef PACKAGE_NAME
-#undef PACKAGE_STRING
-#undef PACKAGE_TARNAME
-#undef PACKAGE_VERSION
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "../../weechat-plugin.h"
#include "../script.h"
#include "weechat-ruby.h"