mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 19:14:46 +02:00
Fixed a compile bug regarding TRE
This commit is contained in:
@@ -2696,3 +2696,4 @@ seen. gmtime warning still there
|
||||
- Cleaned up the /kick code to make it a bit faster
|
||||
- Reactivated TRE compile
|
||||
- Finally made Unreal use TRE under *nix
|
||||
- Fixed a compile problem reported by ace (#0001474)
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ IRCDLIBS=@IRCDLIBS@ -L../extras/regexp/lib -ltre
|
||||
CRYPTOLIB=@CRYPTOLIB@
|
||||
OPENSSLINCLUDES=
|
||||
|
||||
XCFLAGS=@CFLAGS@
|
||||
XCFLAGS=-I@TREINCDIR@ @CFLAGS@
|
||||
#
|
||||
# use the following on MIPS:
|
||||
#CFLAGS= -systype bsd43 -DSYSTYPE_BSD43 -I$(INCLUDEDIR)
|
||||
|
||||
@@ -371,6 +371,8 @@ AC_MSG_RESULT(compiling TRE regex library)
|
||||
make
|
||||
AC_MSG_RESULT(installing TRE regex library)
|
||||
make install
|
||||
TREINCDIR="$cur_dir/extras/regexp/include"
|
||||
AC_SUBST(TREINCDIR)
|
||||
cd $cur_dir
|
||||
AC_OUTPUT(Makefile src/modules/Makefile unreal ircdcron/ircdchk)
|
||||
chmod 0700 unreal
|
||||
|
||||
@@ -9881,6 +9881,8 @@ make
|
||||
echo "$as_me:$LINENO: result: installing TRE regex library" >&5
|
||||
echo "${ECHO_T}installing TRE regex library" >&6
|
||||
make install
|
||||
TREINCDIR="$cur_dir/extras/regexp/include"
|
||||
|
||||
cd $cur_dir
|
||||
ac_config_files="$ac_config_files Makefile src/modules/Makefile unreal ircdcron/ircdchk"
|
||||
cat >confcache <<\_ACEOF
|
||||
@@ -10462,6 +10464,7 @@ s,@URL@,$URL,;t t
|
||||
s,@IRCDDIR@,$IRCDDIR,;t t
|
||||
s,@BINDIR@,$BINDIR,;t t
|
||||
s,@FD_SETSIZE@,$FD_SETSIZE,;t t
|
||||
s,@TREINCDIR@,$TREINCDIR,;t t
|
||||
CEOF
|
||||
|
||||
_ACEOF
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "../extras/regexp/include/tre/regex.h"
|
||||
#include "tre/regex.h"
|
||||
|
||||
#define MAX_MATCH 1
|
||||
#define MAX_WORDLEN 64
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@
|
||||
#include "zip.h"
|
||||
#endif
|
||||
#include "auth.h"
|
||||
#include "../extras/regexp/include/tre/regex.h"
|
||||
#include "tre/regex.h"
|
||||
extern int sendanyways;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user