comparison configure.in @ 1386:4da6d326919c

Add debug versions of path_to_utf8() and path_from_utf8() which allows to report the caller file and line, this is enabled with --enable-debug-flags (and developer mode too).
author zas_
date Fri, 06 Mar 2009 15:04:35 +0000
parents 8b89e3ff286b
children fbd02e4d709e
comparison
equal deleted inserted replaced
1385:b4e6fee484f7 1386:4da6d326919c
71 if test "x${enable_developer}" == "xyes" 71 if test "x${enable_developer}" == "xyes"
72 then 72 then
73 CXXFLAGS="${CXXFLAGS} -Wall" 73 CXXFLAGS="${CXXFLAGS} -Wall"
74 CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall" 74 CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall"
75 fi 75 fi
76 __COMMONFLAGS="-g -O0 -Wextra -Wunused-value -Wunused-variable -Wunused-function -Wunused-label -Wcomment -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -Wno-unused-parameter -Wformat -Wformat-security" 76 __COMMONFLAGS="-g -O0 -Wextra -Wunused-value -Wunused-variable -Wunused-function -Wunused-label -Wcomment -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -Wno-unused-parameter -Wformat -Wformat-security -DGQ_DEBUG_PATH_UTF8=1"
77 CXXFLAGS="${CXXFLAGS} ${__COMMONFLAGS}" 77 CXXFLAGS="${CXXFLAGS} ${__COMMONFLAGS}"
78 CFLAGS="${CFLAGS} ${__COMMONFLAGS} -Wimplicit-int -Werror-implicit-function-declaration" 78 CFLAGS="${CFLAGS} ${__COMMONFLAGS} -Wimplicit-int -Werror-implicit-function-declaration"
79 __IS_DEBUG_FLAGS=yes 79 __IS_DEBUG_FLAGS=yes
80 else 80 else
81 __IS_DEBUG_FLAGS=no 81 __IS_DEBUG_FLAGS=no