comparison configure @ 138:ee56e3e9eeb5

Add -Werror in debug mode, and fix errors resulting from it
author Chris Cannam
date Mon, 13 Oct 2014 11:42:54 +0100
parents 5fe1f2efd407
children 795d67a5e266
comparison
equal deleted inserted replaced
135:caf05503bf42 138:ee56e3e9eeb5
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Sonic Annotator 1.0. 3 # Generated by GNU Autoconf 2.69 for Sonic Annotator 1.1-hg.
4 # 4 #
5 # Report bugs to <cannam@all-day-breakfast.com>. 5 # Report bugs to <cannam@all-day-breakfast.com>.
6 # 6 #
7 # 7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
578 MAKEFLAGS= 578 MAKEFLAGS=
579 579
580 # Identity of this package. 580 # Identity of this package.
581 PACKAGE_NAME='Sonic Annotator' 581 PACKAGE_NAME='Sonic Annotator'
582 PACKAGE_TARNAME='sonic-annotator' 582 PACKAGE_TARNAME='sonic-annotator'
583 PACKAGE_VERSION='1.0' 583 PACKAGE_VERSION='1.1-hg'
584 PACKAGE_STRING='Sonic Annotator 1.0' 584 PACKAGE_STRING='Sonic Annotator 1.1-hg'
585 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com' 585 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com'
586 PACKAGE_URL='' 586 PACKAGE_URL=''
587 587
588 ac_unique_file="runner/main.cpp" 588 ac_unique_file="runner/main.cpp"
589 # Factoring default headers for most tests. 589 # Factoring default headers for most tests.
1311 # 1311 #
1312 if test "$ac_init_help" = "long"; then 1312 if test "$ac_init_help" = "long"; then
1313 # Omit some internal or obsolete options to make the list less imposing. 1313 # Omit some internal or obsolete options to make the list less imposing.
1314 # This message is too long to be a string in the A/UX 3.1 sh. 1314 # This message is too long to be a string in the A/UX 3.1 sh.
1315 cat <<_ACEOF 1315 cat <<_ACEOF
1316 \`configure' configures Sonic Annotator 1.0 to adapt to many kinds of systems. 1316 \`configure' configures Sonic Annotator 1.1-hg to adapt to many kinds of systems.
1317 1317
1318 Usage: $0 [OPTION]... [VAR=VALUE]... 1318 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 1319
1320 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1320 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1321 VAR=VALUE. See below for descriptions of some of the useful variables. 1321 VAR=VALUE. See below for descriptions of some of the useful variables.
1372 _ACEOF 1372 _ACEOF
1373 fi 1373 fi
1374 1374
1375 if test -n "$ac_init_help"; then 1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in 1376 case $ac_init_help in
1377 short | recursive ) echo "Configuration of Sonic Annotator 1.0:";; 1377 short | recursive ) echo "Configuration of Sonic Annotator 1.1-hg:";;
1378 esac 1378 esac
1379 cat <<\_ACEOF 1379 cat <<\_ACEOF
1380 1380
1381 Optional Features: 1381 Optional Features:
1382 --disable-option-checking ignore unrecognized --enable/--with options 1382 --disable-option-checking ignore unrecognized --enable/--with options
1507 fi 1507 fi
1508 1508
1509 test -n "$ac_init_help" && exit $ac_status 1509 test -n "$ac_init_help" && exit $ac_status
1510 if $ac_init_version; then 1510 if $ac_init_version; then
1511 cat <<\_ACEOF 1511 cat <<\_ACEOF
1512 Sonic Annotator configure 1.0 1512 Sonic Annotator configure 1.1-hg
1513 generated by GNU Autoconf 2.69 1513 generated by GNU Autoconf 2.69
1514 1514
1515 Copyright (C) 2012 Free Software Foundation, Inc. 1515 Copyright (C) 2012 Free Software Foundation, Inc.
1516 This configure script is free software; the Free Software Foundation 1516 This configure script is free software; the Free Software Foundation
1517 gives unlimited permission to copy, distribute and modify it. 1517 gives unlimited permission to copy, distribute and modify it.
1847 } # ac_fn_cxx_try_link 1847 } # ac_fn_cxx_try_link
1848 cat >config.log <<_ACEOF 1848 cat >config.log <<_ACEOF
1849 This file contains any messages produced by compilers while 1849 This file contains any messages produced by compilers while
1850 running configure, to aid debugging if configure makes a mistake. 1850 running configure, to aid debugging if configure makes a mistake.
1851 1851
1852 It was created by Sonic Annotator $as_me 1.0, which was 1852 It was created by Sonic Annotator $as_me 1.1-hg, which was
1853 generated by GNU Autoconf 2.69. Invocation command line was 1853 generated by GNU Autoconf 2.69. Invocation command line was
1854 1854
1855 $ $0 $@ 1855 $ $0 $@
1856 1856
1857 _ACEOF 1857 _ACEOF
4184 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" 4184 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS"
4185 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" 4185 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS"
4186 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" 4186 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS"
4187 4187
4188 if test "x$GCC" = "xyes"; then 4188 if test "x$GCC" = "xyes"; then
4189 CXXFLAGS_DEBUG="-Wall -Woverloaded-virtual -Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" 4189 CXXFLAGS_DEBUG="-Wall -Werror -Woverloaded-virtual -Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe"
4190 CXXFLAGS_RELEASE="-g0 -O2 -Wall -pipe" 4190 CXXFLAGS_RELEASE="-g0 -O2 -Wall -pipe"
4191 CXXFLAGS_MINIMAL="-g0 -O0" 4191 CXXFLAGS_MINIMAL="-g0 -O0"
4192 fi 4192 fi
4193 4193
4194 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" 4194 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE"
7090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7091 # Save the log message, to keep $0 and so on meaningful, and to 7091 # Save the log message, to keep $0 and so on meaningful, and to
7092 # report actual input values of CONFIG_FILES etc. instead of their 7092 # report actual input values of CONFIG_FILES etc. instead of their
7093 # values after options handling. 7093 # values after options handling.
7094 ac_log=" 7094 ac_log="
7095 This file was extended by Sonic Annotator $as_me 1.0, which was 7095 This file was extended by Sonic Annotator $as_me 1.1-hg, which was
7096 generated by GNU Autoconf 2.69. Invocation command line was 7096 generated by GNU Autoconf 2.69. Invocation command line was
7097 7097
7098 CONFIG_FILES = $CONFIG_FILES 7098 CONFIG_FILES = $CONFIG_FILES
7099 CONFIG_HEADERS = $CONFIG_HEADERS 7099 CONFIG_HEADERS = $CONFIG_HEADERS
7100 CONFIG_LINKS = $CONFIG_LINKS 7100 CONFIG_LINKS = $CONFIG_LINKS
7143 7143
7144 _ACEOF 7144 _ACEOF
7145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7146 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7146 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7147 ac_cs_version="\\ 7147 ac_cs_version="\\
7148 Sonic Annotator config.status 1.0 7148 Sonic Annotator config.status 1.1-hg
7149 configured by $0, generated by GNU Autoconf 2.69, 7149 configured by $0, generated by GNU Autoconf 2.69,
7150 with options \\"\$ac_cs_config\\" 7150 with options \\"\$ac_cs_config\\"
7151 7151
7152 Copyright (C) 2012 Free Software Foundation, Inc. 7152 Copyright (C) 2012 Free Software Foundation, Inc.
7153 This config.status script is free software; the Free Software Foundation 7153 This config.status script is free software; the Free Software Foundation