~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/misc.m4

  • Committer: Monty Taylor
  • Date: 2008-12-02 20:44:18 UTC
  • mto: This revision was merged to the branch mainline in revision 639.
  • Revision ID: mordred@solanthus.local-20081202204418-0fc9p9znor5zg5xg
Cleaned up compiler version checking.

Show diffs side-by-side

added added

removed removed

Lines of Context:
471
471
    CC_VERSION=`$CC --version | sed 1q`
472
472
  elif test "$SUNCC" = "yes"
473
473
  then
474
 
    CC_VERSION=`$CC -V`
 
474
    CC_VERSION=`$CC -V 2>&1 | sed 1q`
475
475
  else
476
476
    CC_VERSION=""
477
477
  fi
488
488
    CXX_VERSION=`$CXX --version | sed 1q`
489
489
  elif test "$SUNCC" = "yes"
490
490
  then
491
 
    CXX_VERSION=`$CXX -V`
 
491
    CXX_VERSION=`$CXX -V 2>&1 | sed 1q`
492
492
  else
493
493
    CXX_VERSION=""
494
494
  fi