Various cygwin fixes and europa plugin fix
This commit is contained in:
12
Makefile.in
12
Makefile.in
@@ -198,15 +198,15 @@ $(_VERSION_): .config.h
|
||||
|
||||
dll/dummy:
|
||||
|
||||
dll: .config.h $(srcdir)/Makefile dll/Makefile dll/dummy
|
||||
dll: .config.h Makefile dll/Makefile dll/dummy
|
||||
cd dll \
|
||||
&& $(MAKE) all
|
||||
|
||||
installdll: $(srcdir)/Makefile dll/Makefile installdirs dll
|
||||
installdll: Makefile dll/Makefile installdirs dll
|
||||
cd dll \
|
||||
&& $(MAKE) 'DESTDIR=$(DESTDIR)' install
|
||||
|
||||
installdll_local: $(srcdir)/Makefile dll/Makefile
|
||||
installdll_local: Makefile dll/Makefile
|
||||
cd dll \
|
||||
&& $(MAKE) 'PLUGINDIR=$(local_dir)/.BitchX/plugins'
|
||||
|
||||
@@ -237,11 +237,11 @@ install_local: all local_installdirs installdll_local
|
||||
$(INSTALL_DATA) $(top_srcdir)/BitchX.quit $(DEFAULT_CTOOLZ_DIR)/$(DEFAULT_BITCHX_QUIT_FILE)
|
||||
$(INSTALL_DATA) $(top_srcdir)/BitchX.reasons $(DEFAULT_CTOOLZ_DIR)/$(DEFAULT_BITCHX_KICK_FILE)
|
||||
|
||||
wserv: .config.h $(srcdir)/source/wserv.c $(srcdir)/source/term.c $(srcdir)/Makefile
|
||||
wserv: .config.h $(srcdir)/source/wserv.c $(srcdir)/source/term.c Makefile
|
||||
cd source \
|
||||
&& $(MAKE) wserv
|
||||
|
||||
scr-bx: .config.h $(srcdir)/source/scr-bx.c $(srcdir)/source/term.c $(srcdir)/Makefile
|
||||
scr-bx: .config.h $(srcdir)/source/scr-bx.c $(srcdir)/source/term.c Makefile
|
||||
cd source \
|
||||
&& $(MAKE) scr-bx
|
||||
|
||||
@@ -297,7 +297,7 @@ local_installdirs:
|
||||
|
||||
config: bxconf
|
||||
|
||||
bxconf: $(srcdir)/Makefile $(srcdir)/bx-conf/Makefile.in
|
||||
bxconf: Makefile $(srcdir)/bx-conf/Makefile.in
|
||||
cd bx-conf \
|
||||
&& $(MAKE) all
|
||||
$(topdir)/bxconfigure || :
|
||||
|
||||
@@ -1013,7 +1013,7 @@ GZIP_ENV="--best"
|
||||
BZIP2="-9 --repetitive-best"
|
||||
|
||||
dnl Should I keep this or not?
|
||||
if test -n "$CYGWIN" -o -n "$EMXOS2" -o -n "$MINGWIN32"; then
|
||||
if test -n "$EMXOS2" -o -n "$MINGWIN32"; then
|
||||
bindir="\$(IRCLIB)"
|
||||
INSTALL_IRC="\$(IRCLIB)/\$(_VERSION_)\$(EXEEXT)"
|
||||
IRCLIB="\${prefix}/BitchX"
|
||||
|
||||
11
configure.in.rej
Normal file
11
configure.in.rej
Normal file
@@ -0,0 +1,11 @@
|
||||
--- /BitchX1.3/configure.in 2012-12-31 22:55:05.000000000 -0600
|
||||
+++ BitchX1.3/configure.in 2013-01-09 04:55:24.729164000 -0600
|
||||
@@ -1013,7 +1013,7 @@
|
||||
BZIP2="-9 --repetitive-best"
|
||||
|
||||
dnl Should I keep this or not?
|
||||
-if test -n "$CYGWIN" -o -n "$EMXOS2" -o -n "$MINGWIN32"; then
|
||||
+if test -n "$EMXOS2" -o -n "$MINGWIN32"; then
|
||||
bindir="\$(IRCLIB)"
|
||||
INSTALL_IRC="\$(IRCLIB)/\$(_VERSION_)\$(EXEEXT)"
|
||||
IRCLIB="\${prefix}/BitchX"
|
||||
@@ -357,7 +357,7 @@ int Europa_Init(IrcCommandDll **intp, Function_ptr *global_table) {
|
||||
put_it("** Europa v%s connecting to database backend...", MOD_VERSION);
|
||||
|
||||
/* connect to the database server */
|
||||
if(!(mysql_connect(&mysql, DBHOST, DBUSER, DBPASSWD))) {
|
||||
if(!(mysql_real_connect(&mysql, DBHOST, DBUSER, DBPASSWD, NULL, 0, NULL, 0))) {
|
||||
put_it("** Server refused login/password.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@ AC_DEFUN(AC_CHECK_PLUGIN_SUPPORT,
|
||||
;;
|
||||
CYGWIN*)
|
||||
SHLIB_SUFFIX=".dll"
|
||||
SHLIB_LD="dllwrap --export-all --output-def \$(PLUGIN_NAME).def --implib lib\$(PLUGIN_NAME).a --driver-name \$(CC)"
|
||||
SHLIB_LD="$CC -shared"
|
||||
;;
|
||||
OS/2*)
|
||||
SHLIB_SUFFIX=".dll"
|
||||
|
||||
Reference in New Issue
Block a user