Changeset df2e3105cd06d3cc051c0f09fdc00044eeccccd1

Show
Ignore:
Timestamp:
07/28/11 16:56:11 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1311872171 -0400
git-parent:

[2b12c5312cd197672c24b0c6838e93504d95a3dd]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1311872171 -0400
Message:

only use -errwarn=%all if the compiler reports as 'Sun C'

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.in

    r952cfed rdf2e310  
    691691AC_SUBST(ETC_DIR) 
    692692 
    693 if test "x$CC" = "xgcc" ; then 
     693if test -n "`$CC -V 2>&1 | grep 'Sun C'`"; then 
     694  CFLAGS="$CFLAGS -errwarn=%all" 
     695else 
    694696  CFLAGS="$CFLAGS -Werror -Wall" 
    695 else 
    696   CFLAGS="$CFLAGS -errwarn=%all" 
    697697fi 
    698698