Commit Graph

13 Commits

Author SHA1 Message Date
Rainer Müller c79ce843f4 build: Reorder includes to avoid installed plugin header
When hexchat is already installed into a non-default prefix, a new build
could pick up ${prefix}/include/hexchat-plugin.h from the installed
version instead of the local header, as configuration variables such as
$(GLIB_CFLAGS) would point to -I${prefix}/include.

Reordering the includes and moving -I arguments to CPPFLAGS prevents
this, as it ensures the local directories are always searched first.

This was no problem when compiling for /usr or /usr/local as these
directories in the compiler search path are always searched last.

Closes #1822
2016-09-26 19:16:42 -04:00
TingPing 5263887ac3 configure: Simplify perl tests 2015-04-22 23:14:42 -04:00
TingPing 3f855f07f5 Use glib for allocations in all plugins
Continuation of 83032b1aa
2014-12-28 06:47:07 -05:00
TingPing 0e4164ad0c configure: Improve various build flags
- Store openssl flags in own vars
- Share some common flags for plugins
- Fix building plugins on win32
- Store all glib flags in one var
- Don't link against every lib for each plugin
- Don't hardcode ldflags for sysinfo
2014-12-15 11:07:46 -05:00
TingPing 7a4a0243bd Fix out of source builds
Fixes #1018
2014-09-14 17:43:44 -04:00
TingPing 681e14b3b8 Remove unused perl files
- old example scripts
- outdated docs
- mingw build script
2014-01-20 01:14:10 -05:00
Farow 075cc61c94 Rebrand Perl plugin to HexChat,
Add /pl and plugin_pref

Add help messages
2013-10-07 22:58:38 +02:00
Christoph J. Thompson 77cad8e716 Don't hardcode "plugins" as the subdirectory for plugins in many
places.

	modified:   config-win32.h
	modified:   configure.ac
	modified:   plugins/checksum/Makefile.am
	modified:   plugins/doat/Makefile.am
	modified:   plugins/fishlim/Makefile.am
	modified:   plugins/perl/Makefile.am
	modified:   plugins/python/Makefile.am
	modified:   plugins/sysinfo/Makefile.am
	modified:   plugins/xdcc/Makefile.am
	modified:   src/common/plugin.c
	modified:   src/fe-text/fe-text.c
2013-04-28 16:42:48 +02:00
Berke Viktor a51a69134b Nah, even more rebranding 2012-10-30 11:35:39 +01:00
Berke Viktor fc98a6d79d Remove hexchat-plugin.h duplicate 2012-10-30 04:07:33 +01:00
Berke Viktor 84c536e4ea Compatibility for Automake 1.12.4+ 2012-10-13 22:26:35 +02:00
TingPing a19fc013a5 fixed plugins using correct libdir 2012-07-14 02:22:24 -05:00
berkeviktor@aol.com 4a6ceffb98 add xchat r1489 2011-02-24 04:14:30 +01:00