Changeset 3328 in vbox
- Timestamp:
- Jun 28, 2007 7:57:55 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/configure (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r3263 r3328 94 94 if [ -n "$1" ]; then echo -n "$1, "; fi 95 95 echo "OK." 96 echo -e "$1\n\n" >> $LOG 96 echo "$1" >> $LOG 97 echo >> $LOG 98 echo >> $LOG 97 99 } 98 100 99 101 log_failure() 100 102 { 101 echo -e "\n ** $1!" 102 echo -e "** $1!\n" >> $LOG 103 echo 104 echo " ** $1!" 105 echo "** $1!" >> $LOG 106 echo >> $LOG 103 107 } 104 108 … … 174 178 if [ $? -ne 0 ]; then 175 179 if [ -z "$4" ]; then 176 echo -e "\n $2 not found at $1 or $3 headers not found" 177 echo " Check the file $LOG for detailed error information." 180 echo 181 echo " $2 not found at $1 or $3 headers not found" 182 echo " Check the file $LOG for detailed error information." 178 183 fail 179 184 else 180 185 echo "not found." 181 echo -e "\n" >> $LOG 186 echo >> $LOG 187 echo >> $LOG 182 188 fi 183 189 return 1 … … 197 203 return 1 198 204 fi 199 echo -e "\n\n" >> $LOG 205 echo >> $LOG 206 echo >> $LOG 200 207 return 0 201 208 } … … 267 274 log_failure "gcc version $cc_ver does not match g++ version $cxx_ver" 268 275 fail really 276 elif [ $cc_maj -eq 4 -a $cc_min -eq 0 ]; then 277 log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with x>0" 278 fail really 269 279 elif [ $cc_maj -gt 3 ]; then 270 280 log_success "found version $cc_ver" 271 281 elif [ $cc_maj -lt 3 -o $cc_min -lt 2 ]; then 272 log_failure "gcc version $cc_ver found, expected at least gcc version 3.2"282 log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with x>0" 273 283 fail really 274 284 else … … 466 476 else 467 477 echo "Building xalan from shipped sources." 468 echo -e "Building xalan from shipped sources.\n\n" >> $LOG 478 echo "Building xalan from shipped sources." >> $LOG 479 echo >> $LOG 480 echo >> $LOG 469 481 fi 470 482 } … … 501 513 else 502 514 echo "Building xerces from shipped sources." 503 echo -e "Building xerces from shipped sources.\n\n" >> $LOG 515 echo "Building xerces from shipped sources." >> $LOG 516 echo >> $LOG 517 echo >> $LOG 504 518 fi 505 519 } … … 913 927 done 914 928 if [ $found_qt -ne 1 ]; then 915 echo -e "\n Qt not found at \"$QTDIR\" or Qt headers not found" 916 echo " Check the file $LOG for detailed error information." 929 echo 930 echo " Qt not found at \"$QTDIR\" or Qt headers not found" 931 echo " Check the file $LOG for detailed error information." 917 932 fail 918 933 return 1 … … 959 974 $CC -O -Wall -o .tmp_out .tmp_src.c -nostdinc -I$LINUX/include >> $LOG 2>&1 960 975 if [ $? -ne 0 ]; then 961 echo -e "\n Linux kernel headers not found at $LINUX" 962 echo " Check the file $LOG for detailed error information." 976 echo 977 echo " Linux kernel headers not found at $LINUX" 978 echo " Check the file $LOG for detailed error information." 963 979 fail 964 980 else
Note:
See TracChangeset
for help on using the changeset viewer.

