* Implemented Mora Enchants.
* Updated Episode 14.1 item database entries. * Removed party size check for Malangdo Culverts, as there is none on official servers. * Added THA map_msg translation - thanks, boneskung, for translating! * Updated IDN map_msg translation. (credits: Cydh) * Code by Lighta: -- Updated configure, add enable-warn [yes/no] and remove wno-parentheses, wno-unused from default compilation -- Cleanup small warnings * Crash fix for bugreport:7688 (code by Akinari). git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17342 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
39
configure.in
39
configure.in
@@ -76,6 +76,29 @@ AC_ARG_ENABLE(
|
||||
[enable_debug="no"]
|
||||
)
|
||||
|
||||
#
|
||||
# warn
|
||||
#
|
||||
AC_ARG_ENABLE(
|
||||
[warn],
|
||||
AC_HELP_STRING(
|
||||
[--enable-warn@<:@=ARG@:>@],
|
||||
[
|
||||
Compiles with warnings. (disabled by default)
|
||||
(available options: yes, no)
|
||||
]
|
||||
),
|
||||
[
|
||||
enable_warn="$enableval"
|
||||
case $enableval in
|
||||
"no");;
|
||||
"yes");;
|
||||
*) AC_MSG_ERROR([[invalid argument --enable-warn=$enableval... stopping]]);;
|
||||
esac
|
||||
],
|
||||
[enable_warn="no"]
|
||||
)
|
||||
|
||||
#
|
||||
# Buildbot
|
||||
#
|
||||
@@ -605,16 +628,28 @@ fi
|
||||
case $enable_debug in
|
||||
"no")
|
||||
# default value
|
||||
CFLAGS="$CFLAGS -Wno-unused -Wno-parentheses $PROD_WARN"
|
||||
CFLAGS="$CFLAGS"
|
||||
;;
|
||||
"yes")
|
||||
CFLAGS="$CFLAGS -g -DDEBUG -Wconversion"
|
||||
CFLAGS="$CFLAGS -g -DDEBUG"
|
||||
;;
|
||||
"gdb")
|
||||
CFLAGS="$CFLAGS -ggdb -DDEBUG"
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Warnings
|
||||
#
|
||||
case $enable_warn in
|
||||
"no") #default
|
||||
CFLAGS="$CFLAGS $PROD_WARN"
|
||||
;;
|
||||
"yes")
|
||||
CFLAGS="$CFLAGS"
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Buildbot
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user