comparison: src/test/resources/golden-sample/configure2
src/test/resources/golden-sample/configure2
- changeset 67
- e43d30273f74
- parent 66
- dc758dcd4645
- child 68
- c997c0978665
equal
deleted
inserted
replaced
197 |
197 |
198 # |
198 # |
199 # DEPENDENCIES |
199 # DEPENDENCIES |
200 # |
200 # |
201 |
201 |
|
202 # check languages |
|
203 lang_c= |
|
204 lang_cpp= |
|
205 if detect_c_compiler ; then |
|
206 lang_c=1 |
|
207 fi |
|
208 |
202 # create buffer for make variables required by dependencies |
209 # create buffer for make variables required by dependencies |
203 echo > "$TEMP_DIR/make.mk" |
210 echo > "$TEMP_DIR/make.mk" |
204 |
211 |
205 test_pkg_config() |
212 test_pkg_config() |
206 { |
213 { |
421 |
428 |
422 echo no |
429 echo no |
423 return 0 |
430 return 0 |
424 } |
431 } |
425 |
432 |
|
433 |
|
434 |
|
435 |
426 # start collecting dependency information |
436 # start collecting dependency information |
427 echo > "$TEMP_DIR/flags.mk" |
437 echo > "$TEMP_DIR/flags.mk" |
428 |
438 |
429 DEPENDENCIES_FAILED= |
439 DEPENDENCIES_FAILED= |
430 ERROR=0 |
440 ERROR=0 |
434 TEMP_LDFLAGS= |
444 TEMP_LDFLAGS= |
435 while true |
445 while true |
436 do |
446 do |
437 while true |
447 while true |
438 do |
448 do |
439 if detect_c_compiler ; then |
449 if [ -z "$lang_c" ] ; then |
440 : |
|
441 else |
|
442 ERROR=1 |
450 ERROR=1 |
443 break |
451 break |
444 fi |
452 fi |
445 |
453 |
446 cat >> "$TEMP_DIR/make.mk" << __EOF__ |
454 cat >> "$TEMP_DIR/make.mk" << __EOF__ |