[Opalvoip-svn] SF.net SVN: opalvoip:[34774] ptlib/trunk
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2016-04-17 18:01:45
|
Revision: 34774 http://sourceforge.net/p/opalvoip/code/34774 Author: rjongbloed Date: 2016-04-17 18:01:43 +0000 (Sun, 17 Apr 2016) Log Message: ----------- Removed bogus warnings on GCC 4.4.x compiler. Modified Paths: -------------- ptlib/trunk/configure ptlib/trunk/configure.ac Modified: ptlib/trunk/configure =================================================================== --- ptlib/trunk/configure 2016-04-17 17:25:31 UTC (rev 34773) +++ ptlib/trunk/configure 2016-04-17 18:01:43 UTC (rev 34774) @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for PTLib 2.17alpha0x10001. +# Generated by GNU Autoconf 2.69 for PTLib 2.17alpha1. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ # Identity of this package. PACKAGE_NAME='PTLib' PACKAGE_TARNAME='ptlib' -PACKAGE_VERSION='2.17alpha0x10001' -PACKAGE_STRING='PTLib 2.17alpha0x10001' +PACKAGE_VERSION='2.17alpha1' +PACKAGE_STRING='PTLib 2.17alpha1' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1608,7 +1608,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures PTLib 2.17alpha0x10001 to adapt to many kinds of systems. +\`configure' configures PTLib 2.17alpha1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1674,7 +1674,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of PTLib 2.17alpha0x10001:";; + short | recursive ) echo "Configuration of PTLib 2.17alpha1:";; esac cat <<\_ACEOF @@ -1924,7 +1924,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -PTLib configure 2.17alpha0x10001 +PTLib configure 2.17alpha1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2850,7 +2850,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by PTLib $as_me 2.17alpha0x10001, which was +It was created by PTLib $as_me 2.17alpha1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -7396,11 +7396,13 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking checking if pragma implementation should be used" >&5 -$as_echo_n "checking checking if pragma implementation should be used... " >&6; } - gcc_version=`$CC -dumpversion` if test "x$gcc_version" != "x" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $CC version is $gcc_version" >&5 +$as_echo "$as_me: $CC version is $gcc_version" >&6;}; + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking if pragma implementation should be used" >&5 +$as_echo_n "checking checking if pragma implementation should be used... " >&6; } if test `echo $gcc_version | sed 's/\..*$//'` -lt 4 ; then CPPFLAGS="$CPPFLAGS -DP_USE_PRAGMA" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 @@ -7408,9 +7410,18 @@ else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking if bogus warning on strict aliasing" >&5 +$as_echo_n "checking checking if bogus warning on strict aliasing... " >&6; } + if test `echo $gcc_version | sed -e 's/^4\.//' -e 's/\..*$//'` -le 4 ; then + CPPFLAGS="$CPPFLAGS -Wno-strict-aliasing" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: $CC version is $gcc_version" >&5 -$as_echo "$as_me: $CC version is $gcc_version" >&6;}; fi @@ -20187,7 +20198,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by PTLib $as_me 2.17alpha0x10001, which was +This file was extended by PTLib $as_me 2.17alpha1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20253,7 +20264,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -PTLib config.status 2.17alpha0x10001 +PTLib config.status 2.17alpha1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Modified: ptlib/trunk/configure.ac =================================================================== --- ptlib/trunk/configure.ac 2016-04-17 17:25:31 UTC (rev 34773) +++ ptlib/trunk/configure.ac 2016-04-17 18:01:43 UTC (rev 34774) @@ -241,19 +241,27 @@ dnl ######################################################################## -dnl check for old gcc version +dnl check for old gcc versions -AC_MSG_CHECKING(checking if pragma implementation should be used) - gcc_version=`$CC -dumpversion` if test "x$gcc_version" != "x" ; then + AC_MSG_NOTICE($CC version is $gcc_version); + + AC_MSG_CHECKING(checking if pragma implementation should be used) if test `echo $gcc_version | sed 's/\..*$//'` -lt 4 ; then CPPFLAGS="$CPPFLAGS -DP_USE_PRAGMA" AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) + + AC_MSG_CHECKING(checking if bogus warning on strict aliasing) + if test `echo $gcc_version | sed -e 's/^4\.//' -e 's/\..*$//'` -le 4 ; then + CPPFLAGS="$CPPFLAGS -Wno-strict-aliasing" + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + fi fi - AC_MSG_NOTICE($CC version is $gcc_version); fi dnl ######################################################################## This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |