From: David Levine Date: Sun, 8 Dec 2013 19:27:33 +0000 (-0600) Subject: Removed temporary diagnostic to determine gcc version on Solaris X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/6d0283b19a1f20ce21e31f45ce9a08ef5fbc847c?ds=sidebyside Removed temporary diagnostic to determine gcc version on Solaris buildbot host. It's 4.5.2. 4.6.0 and later return an error status with an unrecognized option, which we rely on for the test for -Qunused-arguments. 4.5.2 doesn't. But that option doesn't produce any errors, just warnings that don't contain "warning". So ignore it. --- diff --git a/configure.ac b/configure.ac index 7f653dc3..520c8d42 100644 --- a/configure.ac +++ b/configure.ac @@ -131,9 +131,6 @@ if test "$GCC" = yes; then nmh_cv_has_q_unused_arguments=no) LDFLAGS="$nmh_saved_ldflags"]) - dnl TEMPORARY - echo gcc `gcc -dumpversion` - if test "$nmh_cv_has_q_unused_arguments" = "yes"; then test -z "$LDFLAGS" && LDFLAGS=-Qunused-arguments \ || LDFLAGS="$LDFLAGS -Qunused-arguments"