Finished BuildBot "console error scan" stuff.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15128 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
5b244ffdd0
commit
b400444adb
34
configure
vendored
34
configure
vendored
@ -1404,6 +1404,28 @@ else
|
||||
|
||||
fi;
|
||||
|
||||
#
|
||||
# debug
|
||||
#
|
||||
# Check whether --enable-debug or --disable-debug was given.
|
||||
if test "${enable_buildbot+set}" = set; then
|
||||
enableval="$enable_buildbot"
|
||||
|
||||
enable_buildbot="$enableval"
|
||||
case $enableval in
|
||||
"no");;
|
||||
"yes");;
|
||||
*) { { echo "$as_me:$LINENO: error: invalid argument --enable-buildbot=$enableval... stopping" >&5
|
||||
echo "$as_me: error: invalid argument --enable-debug=$enableval... stopping" >&2;}
|
||||
{ (exit 1); exit 1; }; };;
|
||||
esac
|
||||
|
||||
else
|
||||
enable_debug="no"
|
||||
|
||||
fi;
|
||||
|
||||
|
||||
#
|
||||
# RDTSC as Tick Source
|
||||
#
|
||||
@ -4469,6 +4491,18 @@ case $enable_debug in
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Buildbot
|
||||
#
|
||||
case $enable_buildbot in
|
||||
"no")
|
||||
#default value
|
||||
;;
|
||||
"yes")
|
||||
CFLAGS="$CFLAGS -g -DBUILDBOT"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
#
|
||||
# RDTSC
|
||||
|
@ -29,7 +29,7 @@
|
||||
void (*shutdown_callback)(void) = NULL;
|
||||
|
||||
#if defined(BUILDBOT)
|
||||
bool buildbotflag;
|
||||
int buildbotflag = 0;
|
||||
#endif
|
||||
|
||||
int runflag = CORE_ST_RUN;
|
||||
|
@ -8,7 +8,7 @@ extern int arg_c;
|
||||
extern char **arg_v;
|
||||
|
||||
#if defined(BUILDBOT)
|
||||
extern bool buildbotflag;
|
||||
extern int buildbotflag;
|
||||
#endif
|
||||
|
||||
/// @see E_CORE_ST
|
||||
|
@ -694,7 +694,7 @@ int _vShowMessage(enum msg_type flag, const char *string, va_list ap)
|
||||
if( flag == MSG_WARNING ||
|
||||
flag == MSG_ERROR ||
|
||||
flag == MSG_SQL ) {
|
||||
buildbotflag = true;
|
||||
buildbotflag = 1;
|
||||
}
|
||||
#endif
|
||||
if(
|
||||
|
Loading…
x
Reference in New Issue
Block a user