Changeset 2828


Ignore:
Timestamp:
Sep 12, 2012, 9:25:35 AM (11 years ago)
Author:
Peter
Message:

fix identation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build_support/yat-config.in

    r2542 r2828  
    7373  --version                   print @PACKAGE@'s version
    7474  --version-major             print @PACKAGE@'s MAJOR version
    75   --version-minor             print @PACKAGE@'s MINOR version 
    76   --version-patch             print @PACKAGE@'s PATCH version 
     75  --version-minor             print @PACKAGE@'s MINOR version
     76  --version-patch             print @PACKAGE@'s PATCH version
    7777  --help                      print this help
    7878
     
    120120       if test "x$includedir" = "x/usr/include"; then
    121121         : # ignore standard include
    122        elif (test "$CXX" = "g++" && 
     122       elif (test "$CXX" = "g++" &&
    123123             test "x$includedir" = "x/usr/local/include"); then
    124124         : # ignore /usr/local/include if we use g++
     
    126126         flags="$flags -I$includedir"
    127127       fi
    128     else 
     128    else
    129129       # For VPATH build we need to add path to some generated files
    130130       # The second part is to allow header files in `yat/utility' to
     
    150150    if test "x$libdir" = "x/usr/lib"; then
    151151      : # ignore standard '/usr/lib'
    152     elif (test "$CXX" = "g++" && 
     152    elif (test "$CXX" = "g++" &&
    153153          test "x$libdir" = "x/usr/local/lib"); then
    154154      : # ignore '/usr/local/lib' if we use g++
     
    178178      fi
    179179      if test "$optarg" = "$min_patch"; then
    180         echo "yat-config: \`$optarg' is not a valid VERSION" 
     180        echo "yat-config: \`$optarg' is not a valid VERSION"
    181181        exit 255
    182182      fi
    183183      if !(test -n "$min_major" && test -n "$min_minor" \
    184            && test -n "$min_patch"); then 
    185         echo "yat-config: \`$optarg' is not a valid VERSION" 
     184           && test -n "$min_patch"); then
     185        echo "yat-config: \`$optarg' is not a valid VERSION"
    186186        exit 255
    187187      fi
     
    191191               ( test $min_minor -eq @YAT_MINOR_VERSION@ && \
    192192                 ( test $min_patch -gt @YAT_PATCH_VERSION@ ||
    193                    (test $min_patch -eq @YAT_PATCH_VERSION@ && 
     193                   (test $min_patch -eq @YAT_PATCH_VERSION@ &&
    194194                    test "@YAT_DEV_BUILD@" = "true" )))))) ; then
    195195      exit 1;
     
    230230if test -n "$flags"; then
    231231   reversed_flags=
    232    for opt in $flags; do
     232   for opt in $flags; do
    233233     reversed_flags="$opt $reversed_flags"
    234234   done
    235235   unique_flags=
    236    for opt in $reversed_flags; do
    237      unique=1;       
    238      for opt2 in $unique_flags; do 
    239        if test $opt = $opt2; then 
    240          unique=0 
     236   for opt in $reversed_flags; do
     237     unique=1;
     238     for opt2 in $unique_flags; do
     239       if test $opt = $opt2; then
     240         unique=0
    241241       fi
    242242     done
Note: See TracChangeset for help on using the changeset viewer.