Changeset 4866

Show
Ignore:
Timestamp:
06/30/09 14:43:36 (5 months ago)
Author:
balaji
Message:

--enable-strict=posix is really a superset of --enable-strict=all, so

changed all|yes|posix to mean the same. Added an option called
noposix, if someone cares about not allowing for POSIX.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mpich2/trunk/confdb/aclocal_cc.m4

    r4864 r4866  
    10971097    pac_cc_strict_flags="" 
    10981098    case "$1" in  
    1099         yes|all) 
     1099        yes|all|posix) 
     1100                enable_strict_done="yes" 
     1101                pac_cc_strict_flags="$pac_common_strict_flags -D_POSIX_C_SOURCE=199506L" 
     1102        ;; 
     1103 
     1104        noposix) 
    11001105                enable_strict_done="yes" 
    11011106                pac_cc_strict_flags="$pac_common_strict_flags" 
    1102         ;; 
    1103  
    1104         posix) 
    1105                 enable_strict_done="yes" 
    1106                 pac_cc_strict_flags="$pac_common_strict_flags -D_POSIX_C_SOURCE=199506L" 
    11071107        ;; 
    11081108