test/make/configure.vm

changeset 3
9d60baefa4ed
parent 2
14a4b7f0bc74
child 6
d4363f69fd97
equal deleted inserted replaced
2:14a4b7f0bc74 3:9d60baefa4ed
255 #if( $sub.platform ) 255 #if( $sub.platform )
256 if ! isplatform "${sub.platform}"; then 256 if ! isplatform "${sub.platform}"; then
257 break 257 break
258 fi 258 fi
259 #end 259 #end
260 #foreach( $not in $sub.getNotList() )
261 if isplatform "${not}"; then
262 break
263 fi
264 #end
260 #if( $sub.pkgconfig.size() > 0 ) 265 #if( $sub.pkgconfig.size() > 0 )
261 if [ -z "PKG_CONFIG" ]; then 266 if [ -z "PKG_CONFIG" ]; then
262 break 267 break
263 fi 268 fi
264 #end 269 #end
285 $test > /dev/null 290 $test > /dev/null
286 if [ $? -ne 0 ]; then 291 if [ $? -ne 0 ]; then
287 break 292 break
288 fi 293 fi
289 #end 294 #end
295 #if ( $sub.make.length() > 0 )
290 cat >> $TEMP_DIR/make.mk << __EOF__ 296 cat >> $TEMP_DIR/make.mk << __EOF__
297 # Dependency: $dependency.name
291 $sub.make 298 $sub.make
292 __EOF__ 299 __EOF__
293 echo yes 300 #end
301 echo yes
294 return 0 302 return 0
295 done 303 done
296 304
297 #end 305 #end
298 echo no 306 echo no
312 #if( $dependency.platform ) 320 #if( $dependency.platform )
313 if ! isplatform "${dependency.platform}"; then 321 if ! isplatform "${dependency.platform}"; then
314 break 322 break
315 fi 323 fi
316 #end 324 #end
325 #foreach( $not in $dependency.getNotList() )
326 if isplatform "${not}"; then
327 break
328 fi
329 #end
317 while true 330 while true
318 do 331 do
319 #if( $dependency.pkgconfig.size() > 0 ) 332 #if( $dependency.pkgconfig.size() > 0 )
320 if [ -z "PKG_CONFIG" ]; then 333 if [ -z "PKG_CONFIG" ]; then
321 ERROR=1 334 ERROR=1
345 fi 358 fi
346 #else 359 #else
347 $flags.varName+="$flags.value" 360 $flags.varName+="$flags.value"
348 #end 361 #end
349 #end 362 #end
363 #if ( $sub.make.length() > 0 )
350 cat >> $TEMP_DIR/make.mk << __EOF__ 364 cat >> $TEMP_DIR/make.mk << __EOF__
351 $dependency.make 365 $sub.make
352 __EOF__ 366 __EOF__
367 #end
353 368
354 break 369 break
355 done 370 done
356 371
357 break 372 break

mercurial