Changeset 2828
- Timestamp:
- Sep 12, 2012, 9:25:35 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build_support/yat-config.in
r2542 r2828 73 73 --version print @PACKAGE@'s version 74 74 --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 77 77 --help print this help 78 78 … … 120 120 if test "x$includedir" = "x/usr/include"; then 121 121 : # ignore standard include 122 elif (test "$CXX" = "g++" && 122 elif (test "$CXX" = "g++" && 123 123 test "x$includedir" = "x/usr/local/include"); then 124 124 : # ignore /usr/local/include if we use g++ … … 126 126 flags="$flags -I$includedir" 127 127 fi 128 else 128 else 129 129 # For VPATH build we need to add path to some generated files 130 130 # The second part is to allow header files in `yat/utility' to … … 150 150 if test "x$libdir" = "x/usr/lib"; then 151 151 : # ignore standard '/usr/lib' 152 elif (test "$CXX" = "g++" && 152 elif (test "$CXX" = "g++" && 153 153 test "x$libdir" = "x/usr/local/lib"); then 154 154 : # ignore '/usr/local/lib' if we use g++ … … 178 178 fi 179 179 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" 181 181 exit 255 182 182 fi 183 183 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" 186 186 exit 255 187 187 fi … … 191 191 ( test $min_minor -eq @YAT_MINOR_VERSION@ && \ 192 192 ( test $min_patch -gt @YAT_PATCH_VERSION@ || 193 (test $min_patch -eq @YAT_PATCH_VERSION@ && 193 (test $min_patch -eq @YAT_PATCH_VERSION@ && 194 194 test "@YAT_DEV_BUILD@" = "true" )))))) ; then 195 195 exit 1; … … 230 230 if test -n "$flags"; then 231 231 reversed_flags= 232 for opt in $flags; do 232 for opt in $flags; do 233 233 reversed_flags="$opt $reversed_flags" 234 234 done 235 235 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 241 241 fi 242 242 done
Note: See TracChangeset
for help on using the changeset viewer.