Imported Upstream version 1.0.0c
Bas Couwenberg
9 years ago
9 | 9 | pkgconfig_DATA = readosm.pc |
10 | 10 | |
11 | 11 | coverage-init: |
12 | lcov --directory . --capture --initial --output-file readosm_cov.info | |
12 | lcov --directory src --capture --initial --output-file readosm_cov.info | |
13 | 13 | |
14 | 14 | coverage:: |
15 | lcov --directory . --output-file readosm_cov.info --capture | |
15 | lcov --directory src --output-file readosm_cov.info --capture | |
16 | 16 | genhtml -o covresults readosm_cov.info |
17 | 17 | |
18 | 18 | MOSTLYCLEANFILES = readosm_cov.info |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.13.4 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
15 | 14 | @SET_MAKE@ |
16 | 15 | |
17 | 16 | VPATH = @srcdir@ |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
21 | 30 | case $$MAKEFLAGS in \ |
22 | 31 | *\\[\ \ ]*) \ |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
32 | 35 | esac; \ |
33 | test $$am__dry = yes; \ | |
34 | } | |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
35 | 62 | pkgdatadir = $(datadir)/@PACKAGE@ |
36 | 63 | pkgincludedir = $(includedir)/@PACKAGE@ |
37 | 64 | pkglibdir = $(libdir)/@PACKAGE@ |
51 | 78 | build_triplet = @build@ |
52 | 79 | host_triplet = @host@ |
53 | 80 | subdir = . |
54 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Doxyfile.in \ | |
55 | $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ | |
56 | $(srcdir)/config.h.in $(srcdir)/readosm.pc.in \ | |
57 | $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ | |
58 | config.guess config.sub depcomp install-sh ltmain.sh missing | |
81 | DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ | |
82 | $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
83 | $(top_srcdir)/configure $(am__configure_deps) \ | |
84 | $(srcdir)/config.h.in $(srcdir)/Doxyfile.in \ | |
85 | $(srcdir)/readosm.pc.in COPYING config.guess config.sub \ | |
86 | depcomp install-sh missing ltmain.sh | |
59 | 87 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
60 | 88 | am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ |
61 | 89 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
69 | 97 | CONFIG_HEADER = config.h |
70 | 98 | CONFIG_CLEAN_FILES = Doxyfile readosm.pc |
71 | 99 | CONFIG_CLEAN_VPATH_FILES = |
100 | AM_V_P = $(am__v_P_@AM_V@) | |
101 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
102 | am__v_P_0 = false | |
103 | am__v_P_1 = : | |
104 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
105 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
106 | am__v_GEN_0 = @echo " GEN " $@; | |
107 | am__v_GEN_1 = | |
108 | AM_V_at = $(am__v_at_@AM_V@) | |
109 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
110 | am__v_at_0 = @ | |
111 | am__v_at_1 = | |
72 | 112 | SOURCES = |
73 | 113 | DIST_SOURCES = |
74 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
75 | html-recursive info-recursive install-data-recursive \ | |
76 | install-dvi-recursive install-exec-recursive \ | |
77 | install-html-recursive install-info-recursive \ | |
78 | install-pdf-recursive install-ps-recursive install-recursive \ | |
79 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
80 | ps-recursive uninstall-recursive | |
114 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ | |
115 | ctags-recursive dvi-recursive html-recursive info-recursive \ | |
116 | install-data-recursive install-dvi-recursive \ | |
117 | install-exec-recursive install-html-recursive \ | |
118 | install-info-recursive install-pdf-recursive \ | |
119 | install-ps-recursive install-recursive installcheck-recursive \ | |
120 | installdirs-recursive pdf-recursive ps-recursive \ | |
121 | tags-recursive uninstall-recursive | |
81 | 122 | am__can_run_installinfo = \ |
82 | 123 | case $$AM_UPDATE_INFO_DIR in \ |
83 | 124 | n|no|NO) false;; \ |
114 | 155 | DATA = $(pkgconfig_DATA) |
115 | 156 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
116 | 157 | distclean-recursive maintainer-clean-recursive |
117 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | |
118 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | |
119 | distdir dist dist-all distcheck | |
158 | am__recursive_targets = \ | |
159 | $(RECURSIVE_TARGETS) \ | |
160 | $(RECURSIVE_CLEAN_TARGETS) \ | |
161 | $(am__extra_recursive_targets) | |
162 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | |
163 | cscope distdir dist dist-all distcheck | |
164 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ | |
165 | $(LISP)config.h.in | |
166 | # Read a list of newline-separated strings from the standard input, | |
167 | # and print each of them once, without duplicates. Input order is | |
168 | # *not* preserved. | |
169 | am__uniquify_input = $(AWK) '\ | |
170 | BEGIN { nonempty = 0; } \ | |
171 | { items[$$0] = 1; nonempty = 1; } \ | |
172 | END { if (nonempty) { for (i in items) print i; }; } \ | |
173 | ' | |
174 | # Make sure the list of sources is unique. This is necessary because, | |
175 | # e.g., the same source file might be shared among _SOURCES variables | |
176 | # for different programs/libraries. | |
177 | am__define_uniq_tagged_files = \ | |
178 | list='$(am__tagged_files)'; \ | |
179 | unique=`for i in $$list; do \ | |
180 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
181 | done | $(am__uniquify_input)` | |
120 | 182 | ETAGS = etags |
121 | 183 | CTAGS = ctags |
184 | CSCOPE = cscope | |
122 | 185 | DIST_SUBDIRS = $(SUBDIRS) |
123 | 186 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
124 | 187 | distdir = $(PACKAGE)-$(VERSION) |
129 | 192 | && rm -rf "$(distdir)" \ |
130 | 193 | || { sleep 5 && rm -rf "$(distdir)"; }; \ |
131 | 194 | else :; fi |
195 | am__post_remove_distdir = $(am__remove_distdir) | |
132 | 196 | am__relativize = \ |
133 | 197 | dir0=`pwd`; \ |
134 | 198 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
156 | 220 | reldir="$$dir2" |
157 | 221 | DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip |
158 | 222 | GZIP_ENV = --best |
223 | DIST_TARGETS = dist-gzip dist-zip | |
159 | 224 | distuninstallcheck_listfiles = find . -type f -print |
160 | 225 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
161 | 226 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
162 | 227 | distcleancheck_listfiles = find . -type f -print |
163 | 228 | ACLOCAL = @ACLOCAL@ |
164 | 229 | AMTAR = @AMTAR@ |
230 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
165 | 231 | AR = @AR@ |
166 | 232 | AS = @AS@ |
167 | 233 | AUTOCONF = @AUTOCONF@ |
376 | 442 | dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) |
377 | 443 | |
378 | 444 | # This directory's subdirectories are mostly independent; you can cd |
379 | # into them and run `make' without going through this Makefile. | |
380 | # To change the values of `make' variables: instead of editing Makefiles, | |
381 | # (1) if the variable is set in `config.status', edit `config.status' | |
382 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
383 | # (2) otherwise, pass the desired values on the `make' command line. | |
384 | $(RECURSIVE_TARGETS): | |
385 | @fail= failcom='exit 1'; \ | |
386 | for f in x $$MAKEFLAGS; do \ | |
387 | case $$f in \ | |
388 | *=* | --[!k]*);; \ | |
389 | *k*) failcom='fail=yes';; \ | |
390 | esac; \ | |
391 | done; \ | |
445 | # into them and run 'make' without going through this Makefile. | |
446 | # To change the values of 'make' variables: instead of editing Makefiles, | |
447 | # (1) if the variable is set in 'config.status', edit 'config.status' | |
448 | # (which will cause the Makefiles to be regenerated when you run 'make'); | |
449 | # (2) otherwise, pass the desired values on the 'make' command line. | |
450 | $(am__recursive_targets): | |
451 | @fail=; \ | |
452 | if $(am__make_keepgoing); then \ | |
453 | failcom='fail=yes'; \ | |
454 | else \ | |
455 | failcom='exit 1'; \ | |
456 | fi; \ | |
392 | 457 | dot_seen=no; \ |
393 | 458 | target=`echo $@ | sed s/-recursive//`; \ |
394 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
459 | case "$@" in \ | |
460 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
461 | *) list='$(SUBDIRS)' ;; \ | |
462 | esac; \ | |
463 | for subdir in $$list; do \ | |
395 | 464 | echo "Making $$target in $$subdir"; \ |
396 | 465 | if test "$$subdir" = "."; then \ |
397 | 466 | dot_seen=yes; \ |
406 | 475 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
407 | 476 | fi; test -z "$$fail" |
408 | 477 | |
409 | $(RECURSIVE_CLEAN_TARGETS): | |
410 | @fail= failcom='exit 1'; \ | |
411 | for f in x $$MAKEFLAGS; do \ | |
412 | case $$f in \ | |
413 | *=* | --[!k]*);; \ | |
414 | *k*) failcom='fail=yes';; \ | |
415 | esac; \ | |
416 | done; \ | |
417 | dot_seen=no; \ | |
418 | case "$@" in \ | |
419 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
420 | *) list='$(SUBDIRS)' ;; \ | |
421 | esac; \ | |
422 | rev=''; for subdir in $$list; do \ | |
423 | if test "$$subdir" = "."; then :; else \ | |
424 | rev="$$subdir $$rev"; \ | |
425 | fi; \ | |
426 | done; \ | |
427 | rev="$$rev ."; \ | |
428 | target=`echo $@ | sed s/-recursive//`; \ | |
429 | for subdir in $$rev; do \ | |
430 | echo "Making $$target in $$subdir"; \ | |
431 | if test "$$subdir" = "."; then \ | |
432 | local_target="$$target-am"; \ | |
433 | else \ | |
434 | local_target="$$target"; \ | |
435 | fi; \ | |
436 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
437 | || eval $$failcom; \ | |
438 | done && test -z "$$fail" | |
439 | tags-recursive: | |
440 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
441 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
442 | done | |
443 | ctags-recursive: | |
444 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
445 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | |
446 | done | |
447 | ||
448 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
449 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
450 | unique=`for i in $$list; do \ | |
451 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
452 | done | \ | |
453 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
454 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
455 | mkid -fID $$unique | |
456 | tags: TAGS | |
457 | ||
458 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
459 | $(TAGS_FILES) $(LISP) | |
478 | ID: $(am__tagged_files) | |
479 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
480 | tags: tags-recursive | |
481 | TAGS: tags | |
482 | ||
483 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
460 | 484 | set x; \ |
461 | 485 | here=`pwd`; \ |
462 | 486 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
472 | 496 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
473 | 497 | fi; \ |
474 | 498 | done; \ |
475 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
476 | unique=`for i in $$list; do \ | |
477 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
478 | done | \ | |
479 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
480 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
499 | $(am__define_uniq_tagged_files); \ | |
481 | 500 | shift; \ |
482 | 501 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
483 | 502 | test -n "$$unique" || unique=$$empty_fix; \ |
489 | 508 | $$unique; \ |
490 | 509 | fi; \ |
491 | 510 | fi |
492 | ctags: CTAGS | |
493 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
494 | $(TAGS_FILES) $(LISP) | |
495 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
496 | unique=`for i in $$list; do \ | |
497 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
498 | done | \ | |
499 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
500 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
511 | ctags: ctags-recursive | |
512 | ||
513 | CTAGS: ctags | |
514 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
515 | $(am__define_uniq_tagged_files); \ | |
501 | 516 | test -z "$(CTAGS_ARGS)$$unique" \ |
502 | 517 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
503 | 518 | $$unique |
506 | 521 | here=`$(am__cd) $(top_builddir) && pwd` \ |
507 | 522 | && $(am__cd) $(top_srcdir) \ |
508 | 523 | && gtags -i $(GTAGS_ARGS) "$$here" |
524 | cscope: cscope.files | |
525 | test ! -s cscope.files \ | |
526 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | |
527 | clean-cscope: | |
528 | -rm -f cscope.files | |
529 | cscope.files: clean-cscope cscopelist | |
530 | cscopelist: cscopelist-recursive | |
531 | ||
532 | cscopelist-am: $(am__tagged_files) | |
533 | list='$(am__tagged_files)'; \ | |
534 | case "$(srcdir)" in \ | |
535 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
536 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
537 | esac; \ | |
538 | for i in $$list; do \ | |
539 | if test -f "$$i"; then \ | |
540 | echo "$(subdir)/$$i"; \ | |
541 | else \ | |
542 | echo "$$sdir/$$i"; \ | |
543 | fi; \ | |
544 | done >> $(top_builddir)/cscope.files | |
509 | 545 | |
510 | 546 | distclean-tags: |
511 | 547 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
548 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | |
512 | 549 | |
513 | 550 | distdir: $(DISTFILES) |
514 | 551 | $(am__remove_distdir) |
576 | 613 | || chmod -R a+r "$(distdir)" |
577 | 614 | dist-gzip: distdir |
578 | 615 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
579 | $(am__remove_distdir) | |
616 | $(am__post_remove_distdir) | |
580 | 617 | |
581 | 618 | dist-bzip2: distdir |
582 | 619 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
583 | $(am__remove_distdir) | |
620 | $(am__post_remove_distdir) | |
584 | 621 | |
585 | 622 | dist-lzip: distdir |
586 | 623 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
587 | $(am__remove_distdir) | |
588 | ||
589 | dist-lzma: distdir | |
590 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
591 | $(am__remove_distdir) | |
624 | $(am__post_remove_distdir) | |
592 | 625 | |
593 | 626 | dist-xz: distdir |
594 | 627 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
595 | $(am__remove_distdir) | |
628 | $(am__post_remove_distdir) | |
596 | 629 | |
597 | 630 | dist-tarZ: distdir |
598 | 631 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
599 | $(am__remove_distdir) | |
632 | $(am__post_remove_distdir) | |
600 | 633 | |
601 | 634 | dist-shar: distdir |
602 | 635 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
603 | $(am__remove_distdir) | |
636 | $(am__post_remove_distdir) | |
604 | 637 | dist-zip: distdir |
605 | 638 | -rm -f $(distdir).zip |
606 | 639 | zip -rq $(distdir).zip $(distdir) |
607 | $(am__remove_distdir) | |
608 | ||
609 | dist dist-all: distdir | |
610 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
611 | -rm -f $(distdir).zip | |
612 | zip -rq $(distdir).zip $(distdir) | |
613 | $(am__remove_distdir) | |
640 | $(am__post_remove_distdir) | |
641 | ||
642 | dist dist-all: | |
643 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' | |
644 | $(am__post_remove_distdir) | |
614 | 645 | |
615 | 646 | # This target untars the dist file and tries a VPATH configuration. Then |
616 | 647 | # it guarantees that the distribution is self-contained by making another |
621 | 652 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
622 | 653 | *.tar.bz2*) \ |
623 | 654 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
624 | *.tar.lzma*) \ | |
625 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | |
626 | 655 | *.tar.lz*) \ |
627 | 656 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
628 | 657 | *.tar.xz*) \ |
634 | 663 | *.zip*) \ |
635 | 664 | unzip $(distdir).zip ;;\ |
636 | 665 | esac |
637 | chmod -R a-w $(distdir); chmod u+w $(distdir) | |
638 | mkdir $(distdir)/_build | |
639 | mkdir $(distdir)/_inst | |
666 | chmod -R a-w $(distdir) | |
667 | chmod u+w $(distdir) | |
668 | mkdir $(distdir)/_build $(distdir)/_inst | |
640 | 669 | chmod a-w $(distdir) |
641 | 670 | test -d $(distdir)/_build || exit 0; \ |
642 | 671 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
668 | 697 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
669 | 698 | && cd "$$am__cwd" \ |
670 | 699 | || exit 1 |
671 | $(am__remove_distdir) | |
700 | $(am__post_remove_distdir) | |
672 | 701 | @(echo "$(distdir) archives ready for distribution: "; \ |
673 | 702 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
674 | 703 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
807 | 836 | |
808 | 837 | uninstall-am: uninstall-pkgconfigDATA |
809 | 838 | |
810 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ | |
811 | ctags-recursive install-am install-strip tags-recursive | |
812 | ||
813 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | |
814 | all all-am am--refresh check check-am clean clean-generic \ | |
815 | clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ | |
816 | dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \ | |
817 | dist-zip distcheck distclean distclean-generic distclean-hdr \ | |
818 | distclean-libtool distclean-tags distcleancheck distdir \ | |
819 | distuninstallcheck dvi dvi-am html html-am info info-am \ | |
820 | install install-am install-data install-data-am install-dvi \ | |
821 | install-dvi-am install-exec install-exec-am install-html \ | |
822 | install-html-am install-info install-info-am install-man \ | |
823 | install-pdf install-pdf-am install-pkgconfigDATA install-ps \ | |
824 | install-ps-am install-strip installcheck installcheck-am \ | |
825 | installdirs installdirs-am maintainer-clean \ | |
839 | .MAKE: $(am__recursive_targets) all install-am install-strip | |
840 | ||
841 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ | |
842 | am--refresh check check-am clean clean-cscope clean-generic \ | |
843 | clean-libtool cscope cscopelist-am ctags ctags-am dist \ | |
844 | dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ | |
845 | dist-xz dist-zip distcheck distclean distclean-generic \ | |
846 | distclean-hdr distclean-libtool distclean-tags distcleancheck \ | |
847 | distdir distuninstallcheck dvi dvi-am html html-am info \ | |
848 | info-am install install-am install-data install-data-am \ | |
849 | install-dvi install-dvi-am install-exec install-exec-am \ | |
850 | install-html install-html-am install-info install-info-am \ | |
851 | install-man install-pdf install-pdf-am install-pkgconfigDATA \ | |
852 | install-ps install-ps-am install-strip installcheck \ | |
853 | installcheck-am installdirs installdirs-am maintainer-clean \ | |
826 | 854 | maintainer-clean-generic mostlyclean mostlyclean-generic \ |
827 | mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ | |
828 | uninstall uninstall-am uninstall-pkgconfigDATA | |
855 | mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ | |
856 | uninstall-am uninstall-pkgconfigDATA | |
829 | 857 | |
830 | 858 | |
831 | 859 | coverage-init: |
832 | lcov --directory . --capture --initial --output-file readosm_cov.info | |
860 | lcov --directory src --capture --initial --output-file readosm_cov.info | |
833 | 861 | |
834 | 862 | coverage:: |
835 | lcov --directory . --output-file readosm_cov.info --capture | |
863 | lcov --directory src --output-file readosm_cov.info --capture | |
836 | 864 | genhtml -o covresults readosm_cov.info |
837 | 865 | |
838 | 866 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
0 | # generated automatically by aclocal 1.11.6 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
3 | # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, | |
4 | # Inc. | |
0 | # generated automatically by aclocal 1.13.4 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
3 | ||
5 | 4 | # This file is free software; the Free Software Foundation |
6 | 5 | # gives unlimited permission to copy and/or distribute it, |
7 | 6 | # with or without modifications, as long as this notice is preserved. |
11 | 10 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
12 | 11 | # PARTICULAR PURPOSE. |
13 | 12 | |
13 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) | |
14 | 14 | m4_ifndef([AC_AUTOCONF_VERSION], |
15 | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, | |
17 | [m4_warning([this file was generated for autoconf 2.68. | |
16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, | |
17 | [m4_warning([this file was generated for autoconf 2.69. | |
18 | 18 | You have another version of autoconf. It may work, but is not guaranteed to. |
19 | 19 | If you have problems, you may need to regenerate the build system entirely. |
20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | |
21 | ||
22 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software | |
23 | # Foundation, Inc. | |
24 | # | |
25 | # This file is free software; the Free Software Foundation | |
26 | # gives unlimited permission to copy and/or distribute it, | |
27 | # with or without modifications, as long as this notice is preserved. | |
28 | ||
29 | # serial 1 | |
20 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) | |
21 | ||
22 | # Copyright (C) 2002-2013 Free Software Foundation, Inc. | |
23 | # | |
24 | # This file is free software; the Free Software Foundation | |
25 | # gives unlimited permission to copy and/or distribute it, | |
26 | # with or without modifications, as long as this notice is preserved. | |
30 | 27 | |
31 | 28 | # AM_AUTOMAKE_VERSION(VERSION) |
32 | 29 | # ---------------------------- |
34 | 31 | # generated from the m4 files accompanying Automake X.Y. |
35 | 32 | # (This private macro should not be called outside this file.) |
36 | 33 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
37 | [am__api_version='1.11' | |
34 | [am__api_version='1.13' | |
38 | 35 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
39 | 36 | dnl require some minimum version. Point them to the right macro. |
40 | m4_if([$1], [1.11.6], [], | |
37 | m4_if([$1], [1.13.4], [], | |
41 | 38 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
42 | 39 | ]) |
43 | 40 | |
53 | 50 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
54 | 51 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
55 | 52 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
56 | [AM_AUTOMAKE_VERSION([1.11.6])dnl | |
53 | [AM_AUTOMAKE_VERSION([1.13.4])dnl | |
57 | 54 | m4_ifndef([AC_AUTOCONF_VERSION], |
58 | 55 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
59 | 56 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
60 | 57 | |
61 | 58 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
62 | 59 | |
63 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
64 | # | |
65 | # This file is free software; the Free Software Foundation | |
66 | # gives unlimited permission to copy and/or distribute it, | |
67 | # with or without modifications, as long as this notice is preserved. | |
68 | ||
69 | # serial 1 | |
60 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
61 | # | |
62 | # This file is free software; the Free Software Foundation | |
63 | # gives unlimited permission to copy and/or distribute it, | |
64 | # with or without modifications, as long as this notice is preserved. | |
70 | 65 | |
71 | 66 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
72 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
73 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
67 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to | |
68 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | |
74 | 69 | # |
75 | 70 | # Of course, Automake must honor this variable whenever it calls a |
76 | 71 | # tool from the auxiliary directory. The problem is that $srcdir (and |
89 | 84 | # |
90 | 85 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
91 | 86 | # are both prefixed by $srcdir. In an in-source build this is usually |
92 | # harmless because $srcdir is `.', but things will broke when you | |
87 | # harmless because $srcdir is '.', but things will broke when you | |
93 | 88 | # start a VPATH build or use an absolute $srcdir. |
94 | 89 | # |
95 | 90 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
115 | 110 | |
116 | 111 | # AM_CONDITIONAL -*- Autoconf -*- |
117 | 112 | |
118 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
119 | # Free Software Foundation, Inc. | |
120 | # | |
121 | # This file is free software; the Free Software Foundation | |
122 | # gives unlimited permission to copy and/or distribute it, | |
123 | # with or without modifications, as long as this notice is preserved. | |
124 | ||
125 | # serial 9 | |
113 | # Copyright (C) 1997-2013 Free Software Foundation, Inc. | |
114 | # | |
115 | # This file is free software; the Free Software Foundation | |
116 | # gives unlimited permission to copy and/or distribute it, | |
117 | # with or without modifications, as long as this notice is preserved. | |
126 | 118 | |
127 | 119 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
128 | 120 | # ------------------------------------- |
129 | 121 | # Define a conditional. |
130 | 122 | AC_DEFUN([AM_CONDITIONAL], |
131 | [AC_PREREQ(2.52)dnl | |
132 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
133 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
123 | [AC_PREREQ([2.52])dnl | |
124 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
125 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
134 | 126 | AC_SUBST([$1_TRUE])dnl |
135 | 127 | AC_SUBST([$1_FALSE])dnl |
136 | 128 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
149 | 141 | Usually this means the macro was only invoked conditionally.]]) |
150 | 142 | fi])]) |
151 | 143 | |
152 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, | |
153 | # 2010, 2011 Free Software Foundation, Inc. | |
154 | # | |
155 | # This file is free software; the Free Software Foundation | |
156 | # gives unlimited permission to copy and/or distribute it, | |
157 | # with or without modifications, as long as this notice is preserved. | |
158 | ||
159 | # serial 12 | |
160 | ||
161 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | |
144 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
145 | # | |
146 | # This file is free software; the Free Software Foundation | |
147 | # gives unlimited permission to copy and/or distribute it, | |
148 | # with or without modifications, as long as this notice is preserved. | |
149 | ||
150 | ||
151 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | |
162 | 152 | # written in clear, in which case automake, when reading aclocal.m4, |
163 | 153 | # will think it sees a *use*, and therefore will trigger all it's |
164 | 154 | # C support machinery. Also note that it means that autoscan, seeing |
168 | 158 | # _AM_DEPENDENCIES(NAME) |
169 | 159 | # ---------------------- |
170 | 160 | # See how the compiler implements dependency checking. |
171 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
161 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | |
172 | 162 | # We try a few techniques and use that to set a single cache variable. |
173 | 163 | # |
174 | 164 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
181 | 171 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
182 | 172 | AC_REQUIRE([AM_DEP_TRACK])dnl |
183 | 173 | |
184 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
185 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
186 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
187 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
188 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
189 | [depcc="$$1" am_compiler_list=]) | |
174 | m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], | |
175 | [$1], [CXX], [depcc="$CXX" am_compiler_list=], | |
176 | [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
177 | [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | |
178 | [$1], [UPC], [depcc="$UPC" am_compiler_list=], | |
179 | [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
180 | [depcc="$$1" am_compiler_list=]) | |
190 | 181 | |
191 | 182 | AC_CACHE_CHECK([dependency style of $depcc], |
192 | 183 | [am_cv_$1_dependencies_compiler_type], |
194 | 185 | # We make a subdir and do the tests there. Otherwise we can end up |
195 | 186 | # making bogus files that we don't know about and never remove. For |
196 | 187 | # instance it was reported that on HP-UX the gcc test will end up |
197 | # making a dummy file named `D' -- because `-MD' means `put the output | |
198 | # in D'. | |
188 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
189 | # in D". | |
199 | 190 | rm -rf conftest.dir |
200 | 191 | mkdir conftest.dir |
201 | 192 | # Copy depcomp to subdir because otherwise we won't find it if we're |
235 | 226 | : > sub/conftest.c |
236 | 227 | for i in 1 2 3 4 5 6; do |
237 | 228 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
238 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
239 | # Solaris 8's {/usr,}/bin/sh. | |
240 | touch sub/conftst$i.h | |
229 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
230 | # Solaris 10 /bin/sh. | |
231 | echo '/* dummy */' > sub/conftst$i.h | |
241 | 232 | done |
242 | 233 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
243 | 234 | |
244 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
235 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
245 | 236 | # mode. It turns out that the SunPro C++ compiler does not properly |
246 | # handle `-M -o', and we need to detect this. Also, some Intel | |
247 | # versions had trouble with output in subdirs | |
237 | # handle '-M -o', and we need to detect this. Also, some Intel | |
238 | # versions had trouble with output in subdirs. | |
248 | 239 | am__obj=sub/conftest.${OBJEXT-o} |
249 | 240 | am__minus_obj="-o $am__obj" |
250 | 241 | case $depmode in |
253 | 244 | test "$am__universal" = false || continue |
254 | 245 | ;; |
255 | 246 | nosideeffect) |
256 | # after this tag, mechanisms are not by side-effect, so they'll | |
257 | # only be used when explicitly requested | |
247 | # After this tag, mechanisms are not by side-effect, so they'll | |
248 | # only be used when explicitly requested. | |
258 | 249 | if test "x$enable_dependency_tracking" = xyes; then |
259 | 250 | continue |
260 | 251 | else |
262 | 253 | fi |
263 | 254 | ;; |
264 | 255 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
265 | # This compiler won't grok `-c -o', but also, the minuso test has | |
256 | # This compiler won't grok '-c -o', but also, the minuso test has | |
266 | 257 | # not run yet. These depmodes are late enough in the game, and |
267 | 258 | # so weak that their functioning should not be impacted. |
268 | 259 | am__obj=conftest.${OBJEXT-o} |
310 | 301 | # AM_SET_DEPDIR |
311 | 302 | # ------------- |
312 | 303 | # Choose a directory name for dependency files. |
313 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
304 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | |
314 | 305 | AC_DEFUN([AM_SET_DEPDIR], |
315 | 306 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
316 | 307 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
320 | 311 | # AM_DEP_TRACK |
321 | 312 | # ------------ |
322 | 313 | AC_DEFUN([AM_DEP_TRACK], |
323 | [AC_ARG_ENABLE(dependency-tracking, | |
324 | [ --disable-dependency-tracking speeds up one-time build | |
325 | --enable-dependency-tracking do not reject slow dependency extractors]) | |
314 | [AC_ARG_ENABLE([dependency-tracking], [dnl | |
315 | AS_HELP_STRING( | |
316 | [--enable-dependency-tracking], | |
317 | [do not reject slow dependency extractors]) | |
318 | AS_HELP_STRING( | |
319 | [--disable-dependency-tracking], | |
320 | [speeds up one-time build])]) | |
326 | 321 | if test "x$enable_dependency_tracking" != xno; then |
327 | 322 | am_depcomp="$ac_aux_dir/depcomp" |
328 | 323 | AMDEPBACKSLASH='\' |
337 | 332 | |
338 | 333 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
339 | 334 | |
340 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
341 | # Free Software Foundation, Inc. | |
342 | # | |
343 | # This file is free software; the Free Software Foundation | |
344 | # gives unlimited permission to copy and/or distribute it, | |
345 | # with or without modifications, as long as this notice is preserved. | |
346 | ||
347 | #serial 5 | |
335 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
336 | # | |
337 | # This file is free software; the Free Software Foundation | |
338 | # gives unlimited permission to copy and/or distribute it, | |
339 | # with or without modifications, as long as this notice is preserved. | |
340 | ||
348 | 341 | |
349 | 342 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
350 | 343 | # ------------------------------ |
351 | 344 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
352 | 345 | [{ |
353 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
346 | # Older Autoconf quotes --file arguments for eval, but not when files | |
354 | 347 | # are listed without --file. Let's play safe and only enable the eval |
355 | 348 | # if we detect the quoting. |
356 | 349 | case $CONFIG_FILES in |
363 | 356 | # Strip MF so we end up with the name of the file. |
364 | 357 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
365 | 358 | # Check whether this is an Automake generated Makefile or not. |
366 | # We used to match only the files named `Makefile.in', but | |
359 | # We used to match only the files named 'Makefile.in', but | |
367 | 360 | # some people rename them; so instead we look at the file content. |
368 | 361 | # Grep'ing the first line is not enough: some people post-process |
369 | 362 | # each Makefile.in and add a new line on top of each file to say so. |
375 | 368 | continue |
376 | 369 | fi |
377 | 370 | # Extract the definition of DEPDIR, am__include, and am__quote |
378 | # from the Makefile without running `make'. | |
371 | # from the Makefile without running 'make'. | |
379 | 372 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
380 | 373 | test -z "$DEPDIR" && continue |
381 | 374 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
382 | test -z "am__include" && continue | |
375 | test -z "$am__include" && continue | |
383 | 376 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
384 | # When using ansi2knr, U may be empty or an underscore; expand it | |
385 | U=`sed -n 's/^U = //p' < "$mf"` | |
386 | 377 | # Find all dependency output files, they are included files with |
387 | 378 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
388 | 379 | # simplest approach to changing $(DEPDIR) to its actual value in the |
389 | 380 | # expansion. |
390 | 381 | for file in `sed -n " |
391 | 382 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
392 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
383 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
393 | 384 | # Make sure the directory exists. |
394 | 385 | test -f "$dirpart/$file" && continue |
395 | 386 | fdir=`AS_DIRNAME(["$file"])` |
407 | 398 | # This macro should only be invoked once -- use via AC_REQUIRE. |
408 | 399 | # |
409 | 400 | # This code is only required when automatic dependency tracking |
410 | # is enabled. FIXME. This creates each `.P' file that we will | |
401 | # is enabled. FIXME. This creates each '.P' file that we will | |
411 | 402 | # need in order to bootstrap the dependency handling code. |
412 | 403 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
413 | 404 | [AC_CONFIG_COMMANDS([depfiles], |
415 | 406 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
416 | 407 | ]) |
417 | 408 | |
418 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 | |
419 | # Free Software Foundation, Inc. | |
420 | # | |
421 | # This file is free software; the Free Software Foundation | |
422 | # gives unlimited permission to copy and/or distribute it, | |
423 | # with or without modifications, as long as this notice is preserved. | |
424 | ||
425 | # serial 8 | |
426 | ||
427 | # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. | |
428 | AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) | |
429 | ||
430 | 409 | # Do all the work for Automake. -*- Autoconf -*- |
431 | 410 | |
432 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
433 | # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | |
434 | # | |
435 | # This file is free software; the Free Software Foundation | |
436 | # gives unlimited permission to copy and/or distribute it, | |
437 | # with or without modifications, as long as this notice is preserved. | |
438 | ||
439 | # serial 16 | |
411 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
412 | # | |
413 | # This file is free software; the Free Software Foundation | |
414 | # gives unlimited permission to copy and/or distribute it, | |
415 | # with or without modifications, as long as this notice is preserved. | |
440 | 416 | |
441 | 417 | # This macro actually does too much. Some checks are only needed if |
442 | 418 | # your package does certain things. But this isn't really a big deal. |
453 | 429 | # arguments mandatory, and then we can depend on a new Autoconf |
454 | 430 | # release and drop the old call support. |
455 | 431 | AC_DEFUN([AM_INIT_AUTOMAKE], |
456 | [AC_PREREQ([2.62])dnl | |
432 | [AC_PREREQ([2.65])dnl | |
457 | 433 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
458 | 434 | dnl the ones we care about. |
459 | 435 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
482 | 458 | # Define the identity of the package. |
483 | 459 | dnl Distinguish between old-style and new-style calls. |
484 | 460 | m4_ifval([$2], |
485 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
461 | [AC_DIAGNOSE([obsolete], | |
462 | [$0: two- and three-arguments forms are deprecated.]) | |
463 | m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
486 | 464 | AC_SUBST([PACKAGE], [$1])dnl |
487 | 465 | AC_SUBST([VERSION], [$2])], |
488 | 466 | [_AM_SET_OPTIONS([$1])dnl |
489 | 467 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
490 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
468 | m4_if( | |
469 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | |
470 | [ok:ok],, | |
491 | 471 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
492 | 472 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
493 | 473 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
494 | 474 | |
495 | 475 | _AM_IF_OPTION([no-define],, |
496 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
497 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
476 | [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) | |
477 | AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl | |
498 | 478 | |
499 | 479 | # Some tools Automake needs. |
500 | 480 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
501 | 481 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
502 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
503 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
504 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
505 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
506 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
482 | AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | |
483 | AM_MISSING_PROG([AUTOCONF], [autoconf]) | |
484 | AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | |
485 | AM_MISSING_PROG([AUTOHEADER], [autoheader]) | |
486 | AM_MISSING_PROG([MAKEINFO], [makeinfo]) | |
507 | 487 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
508 | 488 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
509 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
489 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
490 | # For better backward compatibility. To be removed once Automake 1.9.x | |
491 | # dies out for good. For more background, see: | |
492 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
493 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
494 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) | |
510 | 495 | # We need awk for the "check" target. The system "awk" is bad on |
511 | 496 | # some platforms. |
512 | 497 | AC_REQUIRE([AC_PROG_AWK])dnl |
517 | 502 | [_AM_PROG_TAR([v7])])]) |
518 | 503 | _AM_IF_OPTION([no-dependencies],, |
519 | 504 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
520 | [_AM_DEPENDENCIES(CC)], | |
521 | [define([AC_PROG_CC], | |
522 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
505 | [_AM_DEPENDENCIES([CC])], | |
506 | [m4_define([AC_PROG_CC], | |
507 | m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl | |
523 | 508 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
524 | [_AM_DEPENDENCIES(CXX)], | |
525 | [define([AC_PROG_CXX], | |
526 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
509 | [_AM_DEPENDENCIES([CXX])], | |
510 | [m4_define([AC_PROG_CXX], | |
511 | m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl | |
527 | 512 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
528 | [_AM_DEPENDENCIES(OBJC)], | |
529 | [define([AC_PROG_OBJC], | |
530 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
531 | ]) | |
532 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl | |
533 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | |
534 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
535 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
513 | [_AM_DEPENDENCIES([OBJC])], | |
514 | [m4_define([AC_PROG_OBJC], | |
515 | m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl | |
516 | AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | |
517 | [_AM_DEPENDENCIES([OBJCXX])], | |
518 | [m4_define([AC_PROG_OBJCXX], | |
519 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl | |
520 | ]) | |
521 | AC_REQUIRE([AM_SILENT_RULES])dnl | |
522 | dnl The testsuite driver may need to know about EXEEXT, so add the | |
523 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This | |
524 | dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
536 | 525 | AC_CONFIG_COMMANDS_PRE(dnl |
537 | 526 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
538 | 527 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
539 | 528 | ]) |
540 | 529 | |
541 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
530 | dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
542 | 531 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
543 | 532 | dnl mangled by Autoconf and run in a shell conditional statement. |
544 | 533 | m4_define([_AC_COMPILER_EXEEXT], |
566 | 555 | done |
567 | 556 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
568 | 557 | |
569 | # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, | |
570 | # Inc. | |
571 | # | |
572 | # This file is free software; the Free Software Foundation | |
573 | # gives unlimited permission to copy and/or distribute it, | |
574 | # with or without modifications, as long as this notice is preserved. | |
575 | ||
576 | # serial 1 | |
558 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
559 | # | |
560 | # This file is free software; the Free Software Foundation | |
561 | # gives unlimited permission to copy and/or distribute it, | |
562 | # with or without modifications, as long as this notice is preserved. | |
577 | 563 | |
578 | 564 | # AM_PROG_INSTALL_SH |
579 | 565 | # ------------------ |
588 | 574 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
589 | 575 | esac |
590 | 576 | fi |
591 | AC_SUBST(install_sh)]) | |
592 | ||
593 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
594 | # | |
595 | # This file is free software; the Free Software Foundation | |
596 | # gives unlimited permission to copy and/or distribute it, | |
597 | # with or without modifications, as long as this notice is preserved. | |
598 | ||
599 | # serial 2 | |
577 | AC_SUBST([install_sh])]) | |
578 | ||
579 | # Copyright (C) 2003-2013 Free Software Foundation, Inc. | |
580 | # | |
581 | # This file is free software; the Free Software Foundation | |
582 | # gives unlimited permission to copy and/or distribute it, | |
583 | # with or without modifications, as long as this notice is preserved. | |
600 | 584 | |
601 | 585 | # Check whether the underlying file-system supports filenames |
602 | 586 | # with a leading dot. For instance MS-DOS doesn't. |
614 | 598 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
615 | 599 | # From Jim Meyering |
616 | 600 | |
617 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, | |
618 | # 2011 Free Software Foundation, Inc. | |
619 | # | |
620 | # This file is free software; the Free Software Foundation | |
621 | # gives unlimited permission to copy and/or distribute it, | |
622 | # with or without modifications, as long as this notice is preserved. | |
623 | ||
624 | # serial 5 | |
601 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
602 | # | |
603 | # This file is free software; the Free Software Foundation | |
604 | # gives unlimited permission to copy and/or distribute it, | |
605 | # with or without modifications, as long as this notice is preserved. | |
625 | 606 | |
626 | 607 | # AM_MAINTAINER_MODE([DEFAULT-MODE]) |
627 | 608 | # ---------------------------------- |
628 | 609 | # Control maintainer-specific portions of Makefiles. |
629 | # Default is to disable them, unless `enable' is passed literally. | |
630 | # For symmetry, `disable' may be passed as well. Anyway, the user | |
610 | # Default is to disable them, unless 'enable' is passed literally. | |
611 | # For symmetry, 'disable' may be passed as well. Anyway, the user | |
631 | 612 | # can override the default with the --enable/--disable switch. |
632 | 613 | AC_DEFUN([AM_MAINTAINER_MODE], |
633 | 614 | [m4_case(m4_default([$1], [disable]), |
638 | 619 | AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
639 | 620 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
640 | 621 | AC_ARG_ENABLE([maintainer-mode], |
641 | [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful | |
642 | (and sometimes confusing) to the casual installer], | |
643 | [USE_MAINTAINER_MODE=$enableval], | |
644 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
622 | [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], | |
623 | am_maintainer_other[ make rules and dependencies not useful | |
624 | (and sometimes confusing) to the casual installer])], | |
625 | [USE_MAINTAINER_MODE=$enableval], | |
626 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
645 | 627 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
646 | 628 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
647 | 629 | MAINT=$MAINTAINER_MODE_TRUE |
649 | 631 | ] |
650 | 632 | ) |
651 | 633 | |
652 | AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) | |
653 | ||
654 | 634 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
655 | 635 | |
656 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | |
657 | # | |
658 | # This file is free software; the Free Software Foundation | |
659 | # gives unlimited permission to copy and/or distribute it, | |
660 | # with or without modifications, as long as this notice is preserved. | |
661 | ||
662 | # serial 4 | |
636 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
637 | # | |
638 | # This file is free software; the Free Software Foundation | |
639 | # gives unlimited permission to copy and/or distribute it, | |
640 | # with or without modifications, as long as this notice is preserved. | |
663 | 641 | |
664 | 642 | # AM_MAKE_INCLUDE() |
665 | 643 | # ----------------- |
678 | 656 | _am_result=none |
679 | 657 | # First try GNU make style include. |
680 | 658 | echo "include confinc" > confmf |
681 | # Ignore all kinds of additional output from `make'. | |
659 | # Ignore all kinds of additional output from 'make'. | |
682 | 660 | case `$am_make -s -f confmf 2> /dev/null` in #( |
683 | 661 | *the\ am__doit\ target*) |
684 | 662 | am__include=include |
705 | 683 | |
706 | 684 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
707 | 685 | |
708 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
709 | # Free Software Foundation, Inc. | |
710 | # | |
711 | # This file is free software; the Free Software Foundation | |
712 | # gives unlimited permission to copy and/or distribute it, | |
713 | # with or without modifications, as long as this notice is preserved. | |
714 | ||
715 | # serial 6 | |
686 | # Copyright (C) 1997-2013 Free Software Foundation, Inc. | |
687 | # | |
688 | # This file is free software; the Free Software Foundation | |
689 | # gives unlimited permission to copy and/or distribute it, | |
690 | # with or without modifications, as long as this notice is preserved. | |
716 | 691 | |
717 | 692 | # AM_MISSING_PROG(NAME, PROGRAM) |
718 | 693 | # ------------------------------ |
721 | 696 | $1=${$1-"${am_missing_run}$2"} |
722 | 697 | AC_SUBST($1)]) |
723 | 698 | |
724 | ||
725 | 699 | # AM_MISSING_HAS_RUN |
726 | 700 | # ------------------ |
727 | # Define MISSING if not defined so far and test if it supports --run. | |
728 | # If it does, set am_missing_run to use it, otherwise, to nothing. | |
701 | # Define MISSING if not defined so far and test if it is modern enough. | |
702 | # If it is, set am_missing_run to use it, otherwise, to nothing. | |
729 | 703 | AC_DEFUN([AM_MISSING_HAS_RUN], |
730 | 704 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
731 | 705 | AC_REQUIRE_AUX_FILE([missing])dnl |
738 | 712 | esac |
739 | 713 | fi |
740 | 714 | # Use eval to expand $SHELL |
741 | if eval "$MISSING --run true"; then | |
742 | am_missing_run="$MISSING --run " | |
715 | if eval "$MISSING --is-lightweight"; then | |
716 | am_missing_run="$MISSING " | |
743 | 717 | else |
744 | 718 | am_missing_run= |
745 | AC_MSG_WARN([`missing' script is too old or missing]) | |
746 | fi | |
747 | ]) | |
748 | ||
749 | # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, | |
750 | # Inc. | |
751 | # | |
752 | # This file is free software; the Free Software Foundation | |
753 | # gives unlimited permission to copy and/or distribute it, | |
754 | # with or without modifications, as long as this notice is preserved. | |
755 | ||
756 | # serial 1 | |
757 | ||
758 | # AM_PROG_MKDIR_P | |
759 | # --------------- | |
760 | # Check for `mkdir -p'. | |
761 | AC_DEFUN([AM_PROG_MKDIR_P], | |
762 | [AC_PREREQ([2.60])dnl | |
763 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
764 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
765 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
766 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
767 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
768 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
769 | dnl adjustment using top_builddir (which is defined more often than | |
770 | dnl MKDIR_P). | |
771 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
772 | case $mkdir_p in | |
773 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
774 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
775 | esac | |
776 | ]) | |
719 | AC_MSG_WARN(['missing' script is too old or missing]) | |
720 | fi | |
721 | ]) | |
722 | ||
723 | # -*- Autoconf -*- | |
724 | # Obsolete and "removed" macros, that must however still report explicit | |
725 | # error messages when used, to smooth transition. | |
726 | # | |
727 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
728 | # | |
729 | # This file is free software; the Free Software Foundation | |
730 | # gives unlimited permission to copy and/or distribute it, | |
731 | # with or without modifications, as long as this notice is preserved. | |
732 | ||
733 | AC_DEFUN([AM_CONFIG_HEADER], | |
734 | [AC_DIAGNOSE([obsolete], | |
735 | ['$0': this macro is obsolete. | |
736 | You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl | |
737 | AC_CONFIG_HEADERS($@)]) | |
738 | ||
739 | AC_DEFUN([AM_PROG_CC_STDC], | |
740 | [AC_PROG_CC | |
741 | am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc | |
742 | AC_DIAGNOSE([obsolete], | |
743 | ['$0': this macro is obsolete. | |
744 | You should simply use the 'AC][_PROG_CC' macro instead. | |
745 | Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', | |
746 | but upon 'ac_cv_prog_cc_stdc'.])]) | |
747 | ||
748 | AC_DEFUN([AM_C_PROTOTYPES], | |
749 | [AC_FATAL([automatic de-ANSI-fication support has been removed])]) | |
750 | AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) | |
777 | 751 | |
778 | 752 | # Helper functions for option handling. -*- Autoconf -*- |
779 | 753 | |
780 | # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software | |
781 | # Foundation, Inc. | |
782 | # | |
783 | # This file is free software; the Free Software Foundation | |
784 | # gives unlimited permission to copy and/or distribute it, | |
785 | # with or without modifications, as long as this notice is preserved. | |
786 | ||
787 | # serial 5 | |
754 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
755 | # | |
756 | # This file is free software; the Free Software Foundation | |
757 | # gives unlimited permission to copy and/or distribute it, | |
758 | # with or without modifications, as long as this notice is preserved. | |
788 | 759 | |
789 | 760 | # _AM_MANGLE_OPTION(NAME) |
790 | 761 | # ----------------------- |
795 | 766 | # -------------------- |
796 | 767 | # Set option NAME. Presently that only means defining a flag for this option. |
797 | 768 | AC_DEFUN([_AM_SET_OPTION], |
798 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
769 | [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | |
799 | 770 | |
800 | 771 | # _AM_SET_OPTIONS(OPTIONS) |
801 | 772 | # ------------------------ |
811 | 782 | |
812 | 783 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
813 | 784 | |
814 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | |
815 | # Free Software Foundation, Inc. | |
816 | # | |
817 | # This file is free software; the Free Software Foundation | |
818 | # gives unlimited permission to copy and/or distribute it, | |
819 | # with or without modifications, as long as this notice is preserved. | |
820 | ||
821 | # serial 5 | |
785 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
786 | # | |
787 | # This file is free software; the Free Software Foundation | |
788 | # gives unlimited permission to copy and/or distribute it, | |
789 | # with or without modifications, as long as this notice is preserved. | |
822 | 790 | |
823 | 791 | # AM_SANITY_CHECK |
824 | 792 | # --------------- |
825 | 793 | AC_DEFUN([AM_SANITY_CHECK], |
826 | 794 | [AC_MSG_CHECKING([whether build environment is sane]) |
827 | # Just in case | |
828 | sleep 1 | |
829 | echo timestamp > conftest.file | |
830 | 795 | # Reject unsafe characters in $srcdir or the absolute working directory |
831 | 796 | # name. Accept space and tab only in the latter. |
832 | 797 | am_lf=' |
837 | 802 | esac |
838 | 803 | case $srcdir in |
839 | 804 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
840 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
805 | AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; | |
841 | 806 | esac |
842 | 807 | |
843 | # Do `set' in a subshell so we don't clobber the current shell's | |
808 | # Do 'set' in a subshell so we don't clobber the current shell's | |
844 | 809 | # arguments. Must try -L first in case configure is actually a |
845 | 810 | # symlink; some systems play weird games with the mod time of symlinks |
846 | 811 | # (eg FreeBSD returns the mod time of the symlink's containing |
847 | 812 | # directory). |
848 | 813 | if ( |
849 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
850 | if test "$[*]" = "X"; then | |
851 | # -L didn't work. | |
852 | set X `ls -t "$srcdir/configure" conftest.file` | |
853 | fi | |
854 | rm -f conftest.file | |
855 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
856 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
857 | ||
858 | # If neither matched, then we have a broken ls. This can happen | |
859 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
860 | # broken ls alias from the environment. This has actually | |
861 | # happened. Such a system could not be considered "sane". | |
862 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
863 | alias in your environment]) | |
864 | fi | |
865 | ||
814 | am_has_slept=no | |
815 | for am_try in 1 2; do | |
816 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
817 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
818 | if test "$[*]" = "X"; then | |
819 | # -L didn't work. | |
820 | set X `ls -t "$srcdir/configure" conftest.file` | |
821 | fi | |
822 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
823 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
824 | ||
825 | # If neither matched, then we have a broken ls. This can happen | |
826 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
827 | # broken ls alias from the environment. This has actually | |
828 | # happened. Such a system could not be considered "sane". | |
829 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
830 | alias in your environment]) | |
831 | fi | |
832 | if test "$[2]" = conftest.file || test $am_try -eq 2; then | |
833 | break | |
834 | fi | |
835 | # Just in case. | |
836 | sleep 1 | |
837 | am_has_slept=yes | |
838 | done | |
866 | 839 | test "$[2]" = conftest.file |
867 | 840 | ) |
868 | 841 | then |
872 | 845 | AC_MSG_ERROR([newly created file is older than distributed files! |
873 | 846 | Check your system clock]) |
874 | 847 | fi |
875 | AC_MSG_RESULT(yes)]) | |
876 | ||
877 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
878 | # | |
879 | # This file is free software; the Free Software Foundation | |
880 | # gives unlimited permission to copy and/or distribute it, | |
881 | # with or without modifications, as long as this notice is preserved. | |
882 | ||
883 | # serial 1 | |
848 | AC_MSG_RESULT([yes]) | |
849 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
850 | # generated files are strictly newer. | |
851 | am_sleep_pid= | |
852 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
853 | ( sleep 1 ) & | |
854 | am_sleep_pid=$! | |
855 | fi | |
856 | AC_CONFIG_COMMANDS_PRE( | |
857 | [AC_MSG_CHECKING([that generated files are newer than configure]) | |
858 | if test -n "$am_sleep_pid"; then | |
859 | # Hide warnings about reused PIDs. | |
860 | wait $am_sleep_pid 2>/dev/null | |
861 | fi | |
862 | AC_MSG_RESULT([done])]) | |
863 | rm -f conftest.file | |
864 | ]) | |
865 | ||
866 | # Copyright (C) 2009-2013 Free Software Foundation, Inc. | |
867 | # | |
868 | # This file is free software; the Free Software Foundation | |
869 | # gives unlimited permission to copy and/or distribute it, | |
870 | # with or without modifications, as long as this notice is preserved. | |
871 | ||
872 | # AM_SILENT_RULES([DEFAULT]) | |
873 | # -------------------------- | |
874 | # Enable less verbose build rules; with the default set to DEFAULT | |
875 | # ("yes" being less verbose, "no" or empty being verbose). | |
876 | AC_DEFUN([AM_SILENT_RULES], | |
877 | [AC_ARG_ENABLE([silent-rules], [dnl | |
878 | AS_HELP_STRING( | |
879 | [--enable-silent-rules], | |
880 | [less verbose build output (undo: "make V=1")]) | |
881 | AS_HELP_STRING( | |
882 | [--disable-silent-rules], | |
883 | [verbose build output (undo: "make V=0")])dnl | |
884 | ]) | |
885 | case $enable_silent_rules in @%:@ ((( | |
886 | yes) AM_DEFAULT_VERBOSITY=0;; | |
887 | no) AM_DEFAULT_VERBOSITY=1;; | |
888 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | |
889 | esac | |
890 | dnl | |
891 | dnl A few 'make' implementations (e.g., NonStop OS and NextStep) | |
892 | dnl do not support nested variable expansions. | |
893 | dnl See automake bug#9928 and bug#10237. | |
894 | am_make=${MAKE-make} | |
895 | AC_CACHE_CHECK([whether $am_make supports nested variables], | |
896 | [am_cv_make_support_nested_variables], | |
897 | [if AS_ECHO([['TRUE=$(BAR$(V)) | |
898 | BAR0=false | |
899 | BAR1=true | |
900 | V=1 | |
901 | am__doit: | |
902 | @$(TRUE) | |
903 | .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then | |
904 | am_cv_make_support_nested_variables=yes | |
905 | else | |
906 | am_cv_make_support_nested_variables=no | |
907 | fi]) | |
908 | if test $am_cv_make_support_nested_variables = yes; then | |
909 | dnl Using '$V' instead of '$(V)' breaks IRIX make. | |
910 | AM_V='$(V)' | |
911 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
912 | else | |
913 | AM_V=$AM_DEFAULT_VERBOSITY | |
914 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
915 | fi | |
916 | AC_SUBST([AM_V])dnl | |
917 | AM_SUBST_NOTMAKE([AM_V])dnl | |
918 | AC_SUBST([AM_DEFAULT_V])dnl | |
919 | AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl | |
920 | AC_SUBST([AM_DEFAULT_VERBOSITY])dnl | |
921 | AM_BACKSLASH='\' | |
922 | AC_SUBST([AM_BACKSLASH])dnl | |
923 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | |
924 | ]) | |
925 | ||
926 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
927 | # | |
928 | # This file is free software; the Free Software Foundation | |
929 | # gives unlimited permission to copy and/or distribute it, | |
930 | # with or without modifications, as long as this notice is preserved. | |
884 | 931 | |
885 | 932 | # AM_PROG_INSTALL_STRIP |
886 | 933 | # --------------------- |
887 | # One issue with vendor `install' (even GNU) is that you can't | |
934 | # One issue with vendor 'install' (even GNU) is that you can't | |
888 | 935 | # specify the program used to strip binaries. This is especially |
889 | 936 | # annoying in cross-compiling environments, where the build's strip |
890 | 937 | # is unlikely to handle the host's binaries. |
891 | 938 | # Fortunately install-sh will honor a STRIPPROG variable, so we |
892 | # always use install-sh in `make install-strip', and initialize | |
939 | # always use install-sh in "make install-strip", and initialize | |
893 | 940 | # STRIPPROG with the value of the STRIP variable (set by the user). |
894 | 941 | AC_DEFUN([AM_PROG_INSTALL_STRIP], |
895 | 942 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
896 | # Installed binaries are usually stripped using `strip' when the user | |
897 | # run `make install-strip'. However `strip' might not be the right | |
943 | # Installed binaries are usually stripped using 'strip' when the user | |
944 | # run "make install-strip". However 'strip' might not be the right | |
898 | 945 | # tool to use in cross-compilation environments, therefore Automake |
899 | # will honor the `STRIP' environment variable to overrule this program. | |
900 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
946 | # will honor the 'STRIP' environment variable to overrule this program. | |
947 | dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. | |
901 | 948 | if test "$cross_compiling" != no; then |
902 | 949 | AC_CHECK_TOOL([STRIP], [strip], :) |
903 | 950 | fi |
904 | 951 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
905 | 952 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
906 | 953 | |
907 | # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. | |
908 | # | |
909 | # This file is free software; the Free Software Foundation | |
910 | # gives unlimited permission to copy and/or distribute it, | |
911 | # with or without modifications, as long as this notice is preserved. | |
912 | ||
913 | # serial 3 | |
954 | # Copyright (C) 2006-2013 Free Software Foundation, Inc. | |
955 | # | |
956 | # This file is free software; the Free Software Foundation | |
957 | # gives unlimited permission to copy and/or distribute it, | |
958 | # with or without modifications, as long as this notice is preserved. | |
914 | 959 | |
915 | 960 | # _AM_SUBST_NOTMAKE(VARIABLE) |
916 | 961 | # --------------------------- |
925 | 970 | |
926 | 971 | # Check how to create a tarball. -*- Autoconf -*- |
927 | 972 | |
928 | # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. | |
929 | # | |
930 | # This file is free software; the Free Software Foundation | |
931 | # gives unlimited permission to copy and/or distribute it, | |
932 | # with or without modifications, as long as this notice is preserved. | |
933 | ||
934 | # serial 2 | |
973 | # Copyright (C) 2004-2013 Free Software Foundation, Inc. | |
974 | # | |
975 | # This file is free software; the Free Software Foundation | |
976 | # gives unlimited permission to copy and/or distribute it, | |
977 | # with or without modifications, as long as this notice is preserved. | |
935 | 978 | |
936 | 979 | # _AM_PROG_TAR(FORMAT) |
937 | 980 | # -------------------- |
938 | 981 | # Check how to create a tarball in format FORMAT. |
939 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
982 | # FORMAT should be one of 'v7', 'ustar', or 'pax'. | |
940 | 983 | # |
941 | 984 | # Substitute a variable $(am__tar) that is a command |
942 | 985 | # writing to stdout a FORMAT-tarball containing the directory |
946 | 989 | # Substitute a variable $(am__untar) that extract such |
947 | 990 | # a tarball read from stdin. |
948 | 991 | # $(am__untar) < result.tar |
992 | # | |
949 | 993 | AC_DEFUN([_AM_PROG_TAR], |
950 | 994 | [# Always define AMTAR for backward compatibility. Yes, it's still used |
951 | 995 | # in the wild :-( We should find a proper way to deprecate it ... |
952 | 996 | AC_SUBST([AMTAR], ['$${TAR-tar}']) |
997 | ||
998 | # We'll loop over all known methods to create a tar archive until one works. | |
999 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
1000 | ||
953 | 1001 | m4_if([$1], [v7], |
954 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | |
955 | [m4_case([$1], [ustar],, [pax],, | |
956 | [m4_fatal([Unknown tar format])]) | |
957 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
958 | # Loop over all known methods to create a tar archive until one works. | |
959 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
960 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
961 | # Do not fold the above two line into one, because Tru64 sh and | |
962 | # Solaris sh will not grok spaces in the rhs of `-'. | |
963 | for _am_tool in $_am_tools | |
964 | do | |
965 | case $_am_tool in | |
966 | gnutar) | |
967 | for _am_tar in tar gnutar gtar; | |
968 | do | |
969 | AM_RUN_LOG([$_am_tar --version]) && break | |
970 | done | |
971 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
972 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
973 | am__untar="$_am_tar -xf -" | |
974 | ;; | |
975 | plaintar) | |
976 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
977 | # ustar tarball either. | |
978 | (tar --version) >/dev/null 2>&1 && continue | |
979 | am__tar='tar chf - "$$tardir"' | |
980 | am__tar_='tar chf - "$tardir"' | |
981 | am__untar='tar xf -' | |
982 | ;; | |
983 | pax) | |
984 | am__tar='pax -L -x $1 -w "$$tardir"' | |
985 | am__tar_='pax -L -x $1 -w "$tardir"' | |
986 | am__untar='pax -r' | |
987 | ;; | |
988 | cpio) | |
989 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
990 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
991 | am__untar='cpio -i -H $1 -d' | |
992 | ;; | |
993 | none) | |
994 | am__tar=false | |
995 | am__tar_=false | |
996 | am__untar=false | |
997 | ;; | |
998 | esac | |
999 | ||
1000 | # If the value was cached, stop now. We just wanted to have am__tar | |
1001 | # and am__untar set. | |
1002 | test -n "${am_cv_prog_tar_$1}" && break | |
1003 | ||
1004 | # tar/untar a dummy directory, and stop if the command works | |
1002 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | |
1003 | ||
1004 | [m4_case([$1], | |
1005 | [ustar], | |
1006 | [# The POSIX 1988 'ustar' format is defined with fixed-size fields. | |
1007 | # There is notably a 21 bits limit for the UID and the GID. In fact, | |
1008 | # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 | |
1009 | # and bug#13588). | |
1010 | am_max_uid=2097151 # 2^21 - 1 | |
1011 | am_max_gid=$am_max_uid | |
1012 | # The $UID and $GID variables are not portable, so we need to resort | |
1013 | # to the POSIX-mandated id(1) utility. Errors in the 'id' calls | |
1014 | # below are definitely unexpected, so allow the users to see them | |
1015 | # (that is, avoid stderr redirection). | |
1016 | am_uid=`id -u || echo unknown` | |
1017 | am_gid=`id -g || echo unknown` | |
1018 | AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) | |
1019 | if test $am_uid -le $am_max_uid; then | |
1020 | AC_MSG_RESULT([yes]) | |
1021 | else | |
1022 | AC_MSG_RESULT([no]) | |
1023 | _am_tools=none | |
1024 | fi | |
1025 | AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) | |
1026 | if test $am_gid -le $am_max_gid; then | |
1027 | AC_MSG_RESULT([yes]) | |
1028 | else | |
1029 | AC_MSG_RESULT([no]) | |
1030 | _am_tools=none | |
1031 | fi], | |
1032 | ||
1033 | [pax], | |
1034 | [], | |
1035 | ||
1036 | [m4_fatal([Unknown tar format])]) | |
1037 | ||
1038 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
1039 | ||
1040 | # Go ahead even if we have the value already cached. We do so because we | |
1041 | # need to set the values for the 'am__tar' and 'am__untar' variables. | |
1042 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
1043 | ||
1044 | for _am_tool in $_am_tools; do | |
1045 | case $_am_tool in | |
1046 | gnutar) | |
1047 | for _am_tar in tar gnutar gtar; do | |
1048 | AM_RUN_LOG([$_am_tar --version]) && break | |
1049 | done | |
1050 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
1051 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
1052 | am__untar="$_am_tar -xf -" | |
1053 | ;; | |
1054 | plaintar) | |
1055 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
1056 | # ustar tarball either. | |
1057 | (tar --version) >/dev/null 2>&1 && continue | |
1058 | am__tar='tar chf - "$$tardir"' | |
1059 | am__tar_='tar chf - "$tardir"' | |
1060 | am__untar='tar xf -' | |
1061 | ;; | |
1062 | pax) | |
1063 | am__tar='pax -L -x $1 -w "$$tardir"' | |
1064 | am__tar_='pax -L -x $1 -w "$tardir"' | |
1065 | am__untar='pax -r' | |
1066 | ;; | |
1067 | cpio) | |
1068 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
1069 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
1070 | am__untar='cpio -i -H $1 -d' | |
1071 | ;; | |
1072 | none) | |
1073 | am__tar=false | |
1074 | am__tar_=false | |
1075 | am__untar=false | |
1076 | ;; | |
1077 | esac | |
1078 | ||
1079 | # If the value was cached, stop now. We just wanted to have am__tar | |
1080 | # and am__untar set. | |
1081 | test -n "${am_cv_prog_tar_$1}" && break | |
1082 | ||
1083 | # tar/untar a dummy directory, and stop if the command works. | |
1084 | rm -rf conftest.dir | |
1085 | mkdir conftest.dir | |
1086 | echo GrepMe > conftest.dir/file | |
1087 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
1088 | rm -rf conftest.dir | |
1089 | if test -s conftest.tar; then | |
1090 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
1091 | AM_RUN_LOG([cat conftest.dir/file]) | |
1092 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
1093 | fi | |
1094 | done | |
1005 | 1095 | rm -rf conftest.dir |
1006 | mkdir conftest.dir | |
1007 | echo GrepMe > conftest.dir/file | |
1008 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
1009 | rm -rf conftest.dir | |
1010 | if test -s conftest.tar; then | |
1011 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
1012 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
1013 | fi | |
1014 | done | |
1015 | rm -rf conftest.dir | |
1016 | ||
1017 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
1018 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
1096 | ||
1097 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
1098 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
1099 | ||
1019 | 1100 | AC_SUBST([am__tar]) |
1020 | 1101 | AC_SUBST([am__untar]) |
1021 | 1102 | ]) # _AM_PROG_TAR |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.68 for readosm 1.0.0b. | |
2 | # Generated by GNU Autoconf 2.69 for readosm 1.0.0c. | |
3 | 3 | # |
4 | 4 | # Report bugs to <a.furieri@lqt.it>. |
5 | 5 | # |
6 | 6 | # |
7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
9 | # Foundation, Inc. | |
7 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
10 | 8 | # |
11 | 9 | # |
12 | 10 | # This configure script is free software; the Free Software Foundation |
135 | 133 | # CDPATH. |
136 | 134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
137 | 135 | |
136 | # Use a proper internal environment variable to ensure we don't fall | |
137 | # into an infinite loop, continuously re-executing ourselves. | |
138 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
139 | _as_can_reexec=no; export _as_can_reexec; | |
140 | # We cannot yet assume a decent shell, so we have to provide a | |
141 | # neutralization value for shells without unset; and this also | |
142 | # works around shells that cannot unset nonexistent variables. | |
143 | # Preserve -v and -x to the replacement shell. | |
144 | BASH_ENV=/dev/null | |
145 | ENV=/dev/null | |
146 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
147 | case $- in # (((( | |
148 | *v*x* | *x*v* ) as_opts=-vx ;; | |
149 | *v* ) as_opts=-v ;; | |
150 | *x* ) as_opts=-x ;; | |
151 | * ) as_opts= ;; | |
152 | esac | |
153 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
154 | # Admittedly, this is quite paranoid, since all the known shells bail | |
155 | # out after a failed `exec'. | |
156 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
157 | as_fn_exit 255 | |
158 | fi | |
159 | # We don't want this to propagate to other subprocesses. | |
160 | { _as_can_reexec=; unset _as_can_reexec;} | |
138 | 161 | if test "x$CONFIG_SHELL" = x; then |
139 | 162 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
140 | 163 | emulate sh |
168 | 191 | else |
169 | 192 | exitcode=1; echo positional parameters were not saved. |
170 | 193 | fi |
171 | test x\$exitcode = x0 || exit 1" | |
194 | test x\$exitcode = x0 || exit 1 | |
195 | test -x / || exit 1" | |
172 | 196 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
173 | 197 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
174 | 198 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
221 | 245 | |
222 | 246 | |
223 | 247 | if test "x$CONFIG_SHELL" != x; then : |
224 | # We cannot yet assume a decent shell, so we have to provide a | |
225 | # neutralization value for shells without unset; and this also | |
226 | # works around shells that cannot unset nonexistent variables. | |
227 | # Preserve -v and -x to the replacement shell. | |
228 | BASH_ENV=/dev/null | |
229 | ENV=/dev/null | |
230 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
231 | export CONFIG_SHELL | |
232 | case $- in # (((( | |
233 | *v*x* | *x*v* ) as_opts=-vx ;; | |
234 | *v* ) as_opts=-v ;; | |
235 | *x* ) as_opts=-x ;; | |
236 | * ) as_opts= ;; | |
237 | esac | |
238 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | |
248 | export CONFIG_SHELL | |
249 | # We cannot yet assume a decent shell, so we have to provide a | |
250 | # neutralization value for shells without unset; and this also | |
251 | # works around shells that cannot unset nonexistent variables. | |
252 | # Preserve -v and -x to the replacement shell. | |
253 | BASH_ENV=/dev/null | |
254 | ENV=/dev/null | |
255 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
256 | case $- in # (((( | |
257 | *v*x* | *x*v* ) as_opts=-vx ;; | |
258 | *v* ) as_opts=-v ;; | |
259 | *x* ) as_opts=-x ;; | |
260 | * ) as_opts= ;; | |
261 | esac | |
262 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
263 | # Admittedly, this is quite paranoid, since all the known shells bail | |
264 | # out after a failed `exec'. | |
265 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
266 | exit 255 | |
239 | 267 | fi |
240 | 268 | |
241 | 269 | if test x$as_have_required = xno; then : |
338 | 366 | |
339 | 367 | |
340 | 368 | } # as_fn_mkdir_p |
369 | ||
370 | # as_fn_executable_p FILE | |
371 | # ----------------------- | |
372 | # Test if FILE is an executable regular file. | |
373 | as_fn_executable_p () | |
374 | { | |
375 | test -f "$1" && test -x "$1" | |
376 | } # as_fn_executable_p | |
341 | 377 | # as_fn_append VAR VALUE |
342 | 378 | # ---------------------- |
343 | 379 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
459 | 495 | chmod +x "$as_me.lineno" || |
460 | 496 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
461 | 497 | |
498 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
499 | # already done that, so ensure we don't try to do so again and fall | |
500 | # in an infinite loop. This has already happened in practice. | |
501 | _as_can_reexec=no; export _as_can_reexec | |
462 | 502 | # Don't try to exec as it changes $[0], causing all sort of problems |
463 | 503 | # (the dirname of $[0] is not the place where we might find the |
464 | 504 | # original and so on. Autoconf is especially sensitive to this). |
493 | 533 | # ... but there are two gotchas: |
494 | 534 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
495 | 535 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
496 | # In both cases, we have to default to `cp -p'. | |
536 | # In both cases, we have to default to `cp -pR'. | |
497 | 537 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
498 | as_ln_s='cp -p' | |
538 | as_ln_s='cp -pR' | |
499 | 539 | elif ln conf$$.file conf$$ 2>/dev/null; then |
500 | 540 | as_ln_s=ln |
501 | 541 | else |
502 | as_ln_s='cp -p' | |
542 | as_ln_s='cp -pR' | |
503 | 543 | fi |
504 | 544 | else |
505 | as_ln_s='cp -p' | |
545 | as_ln_s='cp -pR' | |
506 | 546 | fi |
507 | 547 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
508 | 548 | rmdir conf$$.dir 2>/dev/null |
514 | 554 | as_mkdir_p=false |
515 | 555 | fi |
516 | 556 | |
517 | if test -x / >/dev/null 2>&1; then | |
518 | as_test_x='test -x' | |
519 | else | |
520 | if ls -dL / >/dev/null 2>&1; then | |
521 | as_ls_L_option=L | |
522 | else | |
523 | as_ls_L_option= | |
524 | fi | |
525 | as_test_x=' | |
526 | eval sh -c '\'' | |
527 | if test -d "$1"; then | |
528 | test -d "$1/."; | |
529 | else | |
530 | case $1 in #( | |
531 | -*)set "./$1";; | |
532 | esac; | |
533 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
534 | ???[sx]*):;;*)false;;esac;fi | |
535 | '\'' sh | |
536 | ' | |
537 | fi | |
538 | as_executable_p=$as_test_x | |
557 | as_test_x='test -x' | |
558 | as_executable_p=as_fn_executable_p | |
539 | 559 | |
540 | 560 | # Sed expression to map a string onto a valid CPP name. |
541 | 561 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
569 | 589 | # Identity of this package. |
570 | 590 | PACKAGE_NAME='readosm' |
571 | 591 | PACKAGE_TARNAME='readosm' |
572 | PACKAGE_VERSION='1.0.0b' | |
573 | PACKAGE_STRING='readosm 1.0.0b' | |
592 | PACKAGE_VERSION='1.0.0c' | |
593 | PACKAGE_STRING='readosm 1.0.0c' | |
574 | 594 | PACKAGE_BUGREPORT='a.furieri@lqt.it' |
575 | 595 | PACKAGE_URL='' |
576 | 596 | |
672 | 692 | MAINT |
673 | 693 | MAINTAINER_MODE_FALSE |
674 | 694 | MAINTAINER_MODE_TRUE |
695 | AM_BACKSLASH | |
696 | AM_DEFAULT_VERBOSITY | |
697 | AM_DEFAULT_V | |
698 | AM_V | |
675 | 699 | am__untar |
676 | 700 | am__tar |
677 | 701 | AMTAR |
736 | 760 | ac_subst_files='' |
737 | 761 | ac_user_opts=' |
738 | 762 | enable_option_checking |
763 | enable_silent_rules | |
739 | 764 | enable_maintainer_mode |
740 | 765 | enable_dependency_tracking |
741 | 766 | enable_shared |
1215 | 1240 | if test "x$host_alias" != x; then |
1216 | 1241 | if test "x$build_alias" = x; then |
1217 | 1242 | cross_compiling=maybe |
1218 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | |
1219 | If a cross compiler is detected then cross compile mode will be used" >&2 | |
1220 | 1243 | elif test "x$build_alias" != "x$host_alias"; then |
1221 | 1244 | cross_compiling=yes |
1222 | 1245 | fi |
1302 | 1325 | # Omit some internal or obsolete options to make the list less imposing. |
1303 | 1326 | # This message is too long to be a string in the A/UX 3.1 sh. |
1304 | 1327 | cat <<_ACEOF |
1305 | \`configure' configures readosm 1.0.0b to adapt to many kinds of systems. | |
1328 | \`configure' configures readosm 1.0.0c to adapt to many kinds of systems. | |
1306 | 1329 | |
1307 | 1330 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1308 | 1331 | |
1372 | 1395 | |
1373 | 1396 | if test -n "$ac_init_help"; then |
1374 | 1397 | case $ac_init_help in |
1375 | short | recursive ) echo "Configuration of readosm 1.0.0b:";; | |
1398 | short | recursive ) echo "Configuration of readosm 1.0.0c:";; | |
1376 | 1399 | esac |
1377 | 1400 | cat <<\_ACEOF |
1378 | 1401 | |
1380 | 1403 | --disable-option-checking ignore unrecognized --enable/--with options |
1381 | 1404 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1382 | 1405 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1383 | --enable-maintainer-mode enable make rules and dependencies not useful | |
1384 | (and sometimes confusing) to the casual installer | |
1385 | --disable-dependency-tracking speeds up one-time build | |
1386 | --enable-dependency-tracking do not reject slow dependency extractors | |
1406 | --enable-silent-rules less verbose build output (undo: "make V=1") | |
1407 | --disable-silent-rules verbose build output (undo: "make V=0") | |
1408 | --enable-maintainer-mode | |
1409 | enable make rules and dependencies not useful (and | |
1410 | sometimes confusing) to the casual installer | |
1411 | --enable-dependency-tracking | |
1412 | do not reject slow dependency extractors | |
1413 | --disable-dependency-tracking | |
1414 | speeds up one-time build | |
1387 | 1415 | --enable-shared[=PKGS] build shared libraries [default=yes] |
1388 | 1416 | --enable-static[=PKGS] build static libraries [default=yes] |
1389 | 1417 | --enable-fast-install[=PKGS] |
1479 | 1507 | test -n "$ac_init_help" && exit $ac_status |
1480 | 1508 | if $ac_init_version; then |
1481 | 1509 | cat <<\_ACEOF |
1482 | readosm configure 1.0.0b | |
1483 | generated by GNU Autoconf 2.68 | |
1484 | ||
1485 | Copyright (C) 2010 Free Software Foundation, Inc. | |
1510 | readosm configure 1.0.0c | |
1511 | generated by GNU Autoconf 2.69 | |
1512 | ||
1513 | Copyright (C) 2012 Free Software Foundation, Inc. | |
1486 | 1514 | This configure script is free software; the Free Software Foundation |
1487 | 1515 | gives unlimited permission to copy, distribute and modify it. |
1488 | 1516 | _ACEOF |
1797 | 1825 | test ! -s conftest.err |
1798 | 1826 | } && test -s conftest$ac_exeext && { |
1799 | 1827 | test "$cross_compiling" = yes || |
1800 | $as_test_x conftest$ac_exeext | |
1828 | test -x conftest$ac_exeext | |
1801 | 1829 | }; then : |
1802 | 1830 | ac_retval=0 |
1803 | 1831 | else |
1947 | 1975 | test ! -s conftest.err |
1948 | 1976 | } && test -s conftest$ac_exeext && { |
1949 | 1977 | test "$cross_compiling" = yes || |
1950 | $as_test_x conftest$ac_exeext | |
1978 | test -x conftest$ac_exeext | |
1951 | 1979 | }; then : |
1952 | 1980 | ac_retval=0 |
1953 | 1981 | else |
2023 | 2051 | This file contains any messages produced by compilers while |
2024 | 2052 | running configure, to aid debugging if configure makes a mistake. |
2025 | 2053 | |
2026 | It was created by readosm $as_me 1.0.0b, which was | |
2027 | generated by GNU Autoconf 2.68. Invocation command line was | |
2054 | It was created by readosm $as_me 1.0.0c, which was | |
2055 | generated by GNU Autoconf 2.69. Invocation command line was | |
2028 | 2056 | |
2029 | 2057 | $ $0 $@ |
2030 | 2058 | |
2408 | 2436 | |
2409 | 2437 | |
2410 | 2438 | |
2411 | am__api_version='1.11' | |
2439 | am__api_version='1.13' | |
2412 | 2440 | |
2413 | 2441 | # Find a good install program. We prefer a C program (faster), |
2414 | 2442 | # so one script is as good as another. But avoid the broken or |
2447 | 2475 | # by default. |
2448 | 2476 | for ac_prog in ginstall scoinst install; do |
2449 | 2477 | for ac_exec_ext in '' $ac_executable_extensions; do |
2450 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
2478 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
2451 | 2479 | if test $ac_prog = install && |
2452 | 2480 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2453 | 2481 | # AIX install. It has an incompatible calling convention. |
2505 | 2533 | |
2506 | 2534 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2507 | 2535 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2508 | # Just in case | |
2509 | sleep 1 | |
2510 | echo timestamp > conftest.file | |
2511 | 2536 | # Reject unsafe characters in $srcdir or the absolute working directory |
2512 | 2537 | # name. Accept space and tab only in the latter. |
2513 | 2538 | am_lf=' |
2518 | 2543 | esac |
2519 | 2544 | case $srcdir in |
2520 | 2545 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2521 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2546 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |
2522 | 2547 | esac |
2523 | 2548 | |
2524 | # Do `set' in a subshell so we don't clobber the current shell's | |
2549 | # Do 'set' in a subshell so we don't clobber the current shell's | |
2525 | 2550 | # arguments. Must try -L first in case configure is actually a |
2526 | 2551 | # symlink; some systems play weird games with the mod time of symlinks |
2527 | 2552 | # (eg FreeBSD returns the mod time of the symlink's containing |
2528 | 2553 | # directory). |
2529 | 2554 | if ( |
2530 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2531 | if test "$*" = "X"; then | |
2532 | # -L didn't work. | |
2533 | set X `ls -t "$srcdir/configure" conftest.file` | |
2534 | fi | |
2535 | rm -f conftest.file | |
2536 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2537 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2538 | ||
2539 | # If neither matched, then we have a broken ls. This can happen | |
2540 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2541 | # broken ls alias from the environment. This has actually | |
2542 | # happened. Such a system could not be considered "sane". | |
2543 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2544 | alias in your environment" "$LINENO" 5 | |
2545 | fi | |
2546 | ||
2555 | am_has_slept=no | |
2556 | for am_try in 1 2; do | |
2557 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
2558 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2559 | if test "$*" = "X"; then | |
2560 | # -L didn't work. | |
2561 | set X `ls -t "$srcdir/configure" conftest.file` | |
2562 | fi | |
2563 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2564 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2565 | ||
2566 | # If neither matched, then we have a broken ls. This can happen | |
2567 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2568 | # broken ls alias from the environment. This has actually | |
2569 | # happened. Such a system could not be considered "sane". | |
2570 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2571 | alias in your environment" "$LINENO" 5 | |
2572 | fi | |
2573 | if test "$2" = conftest.file || test $am_try -eq 2; then | |
2574 | break | |
2575 | fi | |
2576 | # Just in case. | |
2577 | sleep 1 | |
2578 | am_has_slept=yes | |
2579 | done | |
2547 | 2580 | test "$2" = conftest.file |
2548 | 2581 | ) |
2549 | 2582 | then |
2555 | 2588 | fi |
2556 | 2589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2557 | 2590 | $as_echo "yes" >&6; } |
2591 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
2592 | # generated files are strictly newer. | |
2593 | am_sleep_pid= | |
2594 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
2595 | ( sleep 1 ) & | |
2596 | am_sleep_pid=$! | |
2597 | fi | |
2598 | ||
2599 | rm -f conftest.file | |
2600 | ||
2558 | 2601 | test "$program_prefix" != NONE && |
2559 | 2602 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2560 | 2603 | # Use a double $ so make ignores it. |
2577 | 2620 | esac |
2578 | 2621 | fi |
2579 | 2622 | # Use eval to expand $SHELL |
2580 | if eval "$MISSING --run true"; then | |
2581 | am_missing_run="$MISSING --run " | |
2623 | if eval "$MISSING --is-lightweight"; then | |
2624 | am_missing_run="$MISSING " | |
2582 | 2625 | else |
2583 | 2626 | am_missing_run= |
2584 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | |
2585 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2627 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | |
2628 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | |
2586 | 2629 | fi |
2587 | 2630 | |
2588 | 2631 | if test x"${install_sh}" != xset; then |
2594 | 2637 | esac |
2595 | 2638 | fi |
2596 | 2639 | |
2597 | # Installed binaries are usually stripped using `strip' when the user | |
2598 | # run `make install-strip'. However `strip' might not be the right | |
2640 | # Installed binaries are usually stripped using 'strip' when the user | |
2641 | # run "make install-strip". However 'strip' might not be the right | |
2599 | 2642 | # tool to use in cross-compilation environments, therefore Automake |
2600 | # will honor the `STRIP' environment variable to overrule this program. | |
2643 | # will honor the 'STRIP' environment variable to overrule this program. | |
2601 | 2644 | if test "$cross_compiling" != no; then |
2602 | 2645 | if test -n "$ac_tool_prefix"; then |
2603 | 2646 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2616 | 2659 | IFS=$as_save_IFS |
2617 | 2660 | test -z "$as_dir" && as_dir=. |
2618 | 2661 | for ac_exec_ext in '' $ac_executable_extensions; do |
2619 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2662 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2620 | 2663 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2621 | 2664 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2622 | 2665 | break 2 |
2656 | 2699 | IFS=$as_save_IFS |
2657 | 2700 | test -z "$as_dir" && as_dir=. |
2658 | 2701 | for ac_exec_ext in '' $ac_executable_extensions; do |
2659 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2702 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2660 | 2703 | ac_cv_prog_ac_ct_STRIP="strip" |
2661 | 2704 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2662 | 2705 | break 2 |
2707 | 2750 | test -z "$as_dir" && as_dir=. |
2708 | 2751 | for ac_prog in mkdir gmkdir; do |
2709 | 2752 | for ac_exec_ext in '' $ac_executable_extensions; do |
2710 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2753 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | |
2711 | 2754 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2712 | 2755 | 'mkdir (GNU coreutils) '* | \ |
2713 | 2756 | 'mkdir (coreutils) '* | \ |
2736 | 2779 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2737 | 2780 | $as_echo "$MKDIR_P" >&6; } |
2738 | 2781 | |
2739 | mkdir_p="$MKDIR_P" | |
2740 | case $mkdir_p in | |
2741 | [\\/$]* | ?:[\\/]*) ;; | |
2742 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
2743 | esac | |
2744 | ||
2745 | 2782 | for ac_prog in gawk mawk nawk awk |
2746 | 2783 | do |
2747 | 2784 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2760 | 2797 | IFS=$as_save_IFS |
2761 | 2798 | test -z "$as_dir" && as_dir=. |
2762 | 2799 | for ac_exec_ext in '' $ac_executable_extensions; do |
2763 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2800 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2764 | 2801 | ac_cv_prog_AWK="$ac_prog" |
2765 | 2802 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2766 | 2803 | break 2 |
2824 | 2861 | fi |
2825 | 2862 | rmdir .tst 2>/dev/null |
2826 | 2863 | |
2864 | # Check whether --enable-silent-rules was given. | |
2865 | if test "${enable_silent_rules+set}" = set; then : | |
2866 | enableval=$enable_silent_rules; | |
2867 | fi | |
2868 | ||
2869 | case $enable_silent_rules in # ((( | |
2870 | yes) AM_DEFAULT_VERBOSITY=0;; | |
2871 | no) AM_DEFAULT_VERBOSITY=1;; | |
2872 | *) AM_DEFAULT_VERBOSITY=1;; | |
2873 | esac | |
2874 | am_make=${MAKE-make} | |
2875 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 | |
2876 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | |
2877 | if ${am_cv_make_support_nested_variables+:} false; then : | |
2878 | $as_echo_n "(cached) " >&6 | |
2879 | else | |
2880 | if $as_echo 'TRUE=$(BAR$(V)) | |
2881 | BAR0=false | |
2882 | BAR1=true | |
2883 | V=1 | |
2884 | am__doit: | |
2885 | @$(TRUE) | |
2886 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | |
2887 | am_cv_make_support_nested_variables=yes | |
2888 | else | |
2889 | am_cv_make_support_nested_variables=no | |
2890 | fi | |
2891 | fi | |
2892 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 | |
2893 | $as_echo "$am_cv_make_support_nested_variables" >&6; } | |
2894 | if test $am_cv_make_support_nested_variables = yes; then | |
2895 | AM_V='$(V)' | |
2896 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
2897 | else | |
2898 | AM_V=$AM_DEFAULT_VERBOSITY | |
2899 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
2900 | fi | |
2901 | AM_BACKSLASH='\' | |
2902 | ||
2827 | 2903 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2828 | 2904 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2829 | 2905 | # is not polluted with repeated "-I." |
2846 | 2922 | |
2847 | 2923 | # Define the identity of the package. |
2848 | 2924 | PACKAGE='readosm' |
2849 | VERSION='1.0.0b' | |
2925 | VERSION='1.0.0c' | |
2850 | 2926 | |
2851 | 2927 | |
2852 | 2928 | cat >>confdefs.h <<_ACEOF |
2873 | 2949 | |
2874 | 2950 | |
2875 | 2951 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2952 | ||
2953 | # For better backward compatibility. To be removed once Automake 1.9.x | |
2954 | # dies out for good. For more background, see: | |
2955 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
2956 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
2957 | mkdir_p='$(MKDIR_P)' | |
2876 | 2958 | |
2877 | 2959 | # We need awk for the "check" target. The system "awk" is bad on |
2878 | 2960 | # some platforms. |
2880 | 2962 | # in the wild :-( We should find a proper way to deprecate it ... |
2881 | 2963 | AMTAR='$${TAR-tar}' |
2882 | 2964 | |
2965 | ||
2966 | # We'll loop over all known methods to create a tar archive until one works. | |
2967 | _am_tools='gnutar pax cpio none' | |
2968 | ||
2883 | 2969 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
2970 | ||
2884 | 2971 | |
2885 | 2972 | |
2886 | 2973 | |
2933 | 3020 | _am_result=none |
2934 | 3021 | # First try GNU make style include. |
2935 | 3022 | echo "include confinc" > confmf |
2936 | # Ignore all kinds of additional output from `make'. | |
3023 | # Ignore all kinds of additional output from 'make'. | |
2937 | 3024 | case `$am_make -s -f confmf 2> /dev/null` in #( |
2938 | 3025 | *the\ am__doit\ target*) |
2939 | 3026 | am__include=include |
2999 | 3086 | IFS=$as_save_IFS |
3000 | 3087 | test -z "$as_dir" && as_dir=. |
3001 | 3088 | for ac_exec_ext in '' $ac_executable_extensions; do |
3002 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3089 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3003 | 3090 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3004 | 3091 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3005 | 3092 | break 2 |
3039 | 3126 | IFS=$as_save_IFS |
3040 | 3127 | test -z "$as_dir" && as_dir=. |
3041 | 3128 | for ac_exec_ext in '' $ac_executable_extensions; do |
3042 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3129 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3043 | 3130 | ac_cv_prog_ac_ct_CC="gcc" |
3044 | 3131 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3045 | 3132 | break 2 |
3092 | 3179 | IFS=$as_save_IFS |
3093 | 3180 | test -z "$as_dir" && as_dir=. |
3094 | 3181 | for ac_exec_ext in '' $ac_executable_extensions; do |
3095 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3182 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3096 | 3183 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3097 | 3184 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3098 | 3185 | break 2 |
3133 | 3220 | IFS=$as_save_IFS |
3134 | 3221 | test -z "$as_dir" && as_dir=. |
3135 | 3222 | for ac_exec_ext in '' $ac_executable_extensions; do |
3136 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3223 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3137 | 3224 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3138 | 3225 | ac_prog_rejected=yes |
3139 | 3226 | continue |
3191 | 3278 | IFS=$as_save_IFS |
3192 | 3279 | test -z "$as_dir" && as_dir=. |
3193 | 3280 | for ac_exec_ext in '' $ac_executable_extensions; do |
3194 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3281 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3195 | 3282 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3196 | 3283 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3197 | 3284 | break 2 |
3235 | 3322 | IFS=$as_save_IFS |
3236 | 3323 | test -z "$as_dir" && as_dir=. |
3237 | 3324 | for ac_exec_ext in '' $ac_executable_extensions; do |
3238 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3325 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3239 | 3326 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3240 | 3327 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3241 | 3328 | break 2 |
3681 | 3768 | /* end confdefs.h. */ |
3682 | 3769 | #include <stdarg.h> |
3683 | 3770 | #include <stdio.h> |
3684 | #include <sys/types.h> | |
3685 | #include <sys/stat.h> | |
3771 | struct stat; | |
3686 | 3772 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3687 | 3773 | struct buf { int x; }; |
3688 | 3774 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3778 | 3864 | # We make a subdir and do the tests there. Otherwise we can end up |
3779 | 3865 | # making bogus files that we don't know about and never remove. For |
3780 | 3866 | # instance it was reported that on HP-UX the gcc test will end up |
3781 | # making a dummy file named `D' -- because `-MD' means `put the output | |
3782 | # in D'. | |
3867 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
3868 | # in D". | |
3783 | 3869 | rm -rf conftest.dir |
3784 | 3870 | mkdir conftest.dir |
3785 | 3871 | # Copy depcomp to subdir because otherwise we won't find it if we're |
3814 | 3900 | : > sub/conftest.c |
3815 | 3901 | for i in 1 2 3 4 5 6; do |
3816 | 3902 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3817 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
3818 | # Solaris 8's {/usr,}/bin/sh. | |
3819 | touch sub/conftst$i.h | |
3903 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
3904 | # Solaris 10 /bin/sh. | |
3905 | echo '/* dummy */' > sub/conftst$i.h | |
3820 | 3906 | done |
3821 | 3907 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3822 | 3908 | |
3823 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
3909 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
3824 | 3910 | # mode. It turns out that the SunPro C++ compiler does not properly |
3825 | # handle `-M -o', and we need to detect this. Also, some Intel | |
3826 | # versions had trouble with output in subdirs | |
3911 | # handle '-M -o', and we need to detect this. Also, some Intel | |
3912 | # versions had trouble with output in subdirs. | |
3827 | 3913 | am__obj=sub/conftest.${OBJEXT-o} |
3828 | 3914 | am__minus_obj="-o $am__obj" |
3829 | 3915 | case $depmode in |
3832 | 3918 | test "$am__universal" = false || continue |
3833 | 3919 | ;; |
3834 | 3920 | nosideeffect) |
3835 | # after this tag, mechanisms are not by side-effect, so they'll | |
3836 | # only be used when explicitly requested | |
3921 | # After this tag, mechanisms are not by side-effect, so they'll | |
3922 | # only be used when explicitly requested. | |
3837 | 3923 | if test "x$enable_dependency_tracking" = xyes; then |
3838 | 3924 | continue |
3839 | 3925 | else |
3841 | 3927 | fi |
3842 | 3928 | ;; |
3843 | 3929 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
3844 | # This compiler won't grok `-c -o', but also, the minuso test has | |
3930 | # This compiler won't grok '-c -o', but also, the minuso test has | |
3845 | 3931 | # not run yet. These depmodes are late enough in the game, and |
3846 | 3932 | # so weak that their functioning should not be impacted. |
3847 | 3933 | am__obj=conftest.${OBJEXT-o} |
4050 | 4136 | for ac_prog in grep ggrep; do |
4051 | 4137 | for ac_exec_ext in '' $ac_executable_extensions; do |
4052 | 4138 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4053 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
4139 | as_fn_executable_p "$ac_path_GREP" || continue | |
4054 | 4140 | # Check for GNU ac_path_GREP and select it if it is found. |
4055 | 4141 | # Check for GNU $ac_path_GREP |
4056 | 4142 | case `"$ac_path_GREP" --version 2>&1` in |
4116 | 4202 | for ac_prog in egrep; do |
4117 | 4203 | for ac_exec_ext in '' $ac_executable_extensions; do |
4118 | 4204 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4119 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
4205 | as_fn_executable_p "$ac_path_EGREP" || continue | |
4120 | 4206 | # Check for GNU ac_path_EGREP and select it if it is found. |
4121 | 4207 | # Check for GNU $ac_path_EGREP |
4122 | 4208 | case `"$ac_path_EGREP" --version 2>&1` in |
4366 | 4452 | IFS=$as_save_IFS |
4367 | 4453 | test -z "$as_dir" && as_dir=. |
4368 | 4454 | for ac_exec_ext in '' $ac_executable_extensions; do |
4369 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4455 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4370 | 4456 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
4371 | 4457 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4372 | 4458 | break 2 |
4410 | 4496 | IFS=$as_save_IFS |
4411 | 4497 | test -z "$as_dir" && as_dir=. |
4412 | 4498 | for ac_exec_ext in '' $ac_executable_extensions; do |
4413 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4499 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4414 | 4500 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
4415 | 4501 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4416 | 4502 | break 2 |
4606 | 4692 | # We make a subdir and do the tests there. Otherwise we can end up |
4607 | 4693 | # making bogus files that we don't know about and never remove. For |
4608 | 4694 | # instance it was reported that on HP-UX the gcc test will end up |
4609 | # making a dummy file named `D' -- because `-MD' means `put the output | |
4610 | # in D'. | |
4695 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
4696 | # in D". | |
4611 | 4697 | rm -rf conftest.dir |
4612 | 4698 | mkdir conftest.dir |
4613 | 4699 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4642 | 4728 | : > sub/conftest.c |
4643 | 4729 | for i in 1 2 3 4 5 6; do |
4644 | 4730 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4645 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
4646 | # Solaris 8's {/usr,}/bin/sh. | |
4647 | touch sub/conftst$i.h | |
4731 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
4732 | # Solaris 10 /bin/sh. | |
4733 | echo '/* dummy */' > sub/conftst$i.h | |
4648 | 4734 | done |
4649 | 4735 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4650 | 4736 | |
4651 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
4737 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
4652 | 4738 | # mode. It turns out that the SunPro C++ compiler does not properly |
4653 | # handle `-M -o', and we need to detect this. Also, some Intel | |
4654 | # versions had trouble with output in subdirs | |
4739 | # handle '-M -o', and we need to detect this. Also, some Intel | |
4740 | # versions had trouble with output in subdirs. | |
4655 | 4741 | am__obj=sub/conftest.${OBJEXT-o} |
4656 | 4742 | am__minus_obj="-o $am__obj" |
4657 | 4743 | case $depmode in |
4660 | 4746 | test "$am__universal" = false || continue |
4661 | 4747 | ;; |
4662 | 4748 | nosideeffect) |
4663 | # after this tag, mechanisms are not by side-effect, so they'll | |
4664 | # only be used when explicitly requested | |
4749 | # After this tag, mechanisms are not by side-effect, so they'll | |
4750 | # only be used when explicitly requested. | |
4665 | 4751 | if test "x$enable_dependency_tracking" = xyes; then |
4666 | 4752 | continue |
4667 | 4753 | else |
4669 | 4755 | fi |
4670 | 4756 | ;; |
4671 | 4757 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4672 | # This compiler won't grok `-c -o', but also, the minuso test has | |
4758 | # This compiler won't grok '-c -o', but also, the minuso test has | |
4673 | 4759 | # not run yet. These depmodes are late enough in the game, and |
4674 | 4760 | # so weak that their functioning should not be impacted. |
4675 | 4761 | am__obj=conftest.${OBJEXT-o} |
4745 | 4831 | IFS=$as_save_IFS |
4746 | 4832 | test -z "$as_dir" && as_dir=. |
4747 | 4833 | for ac_exec_ext in '' $ac_executable_extensions; do |
4748 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4834 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4749 | 4835 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
4750 | 4836 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4751 | 4837 | break 2 |
4785 | 4871 | IFS=$as_save_IFS |
4786 | 4872 | test -z "$as_dir" && as_dir=. |
4787 | 4873 | for ac_exec_ext in '' $ac_executable_extensions; do |
4788 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4874 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4789 | 4875 | ac_cv_prog_ac_ct_CC="gcc" |
4790 | 4876 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4791 | 4877 | break 2 |
4838 | 4924 | IFS=$as_save_IFS |
4839 | 4925 | test -z "$as_dir" && as_dir=. |
4840 | 4926 | for ac_exec_ext in '' $ac_executable_extensions; do |
4841 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4927 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4842 | 4928 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
4843 | 4929 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4844 | 4930 | break 2 |
4879 | 4965 | IFS=$as_save_IFS |
4880 | 4966 | test -z "$as_dir" && as_dir=. |
4881 | 4967 | for ac_exec_ext in '' $ac_executable_extensions; do |
4882 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4968 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4883 | 4969 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
4884 | 4970 | ac_prog_rejected=yes |
4885 | 4971 | continue |
4937 | 5023 | IFS=$as_save_IFS |
4938 | 5024 | test -z "$as_dir" && as_dir=. |
4939 | 5025 | for ac_exec_ext in '' $ac_executable_extensions; do |
4940 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
5026 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4941 | 5027 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
4942 | 5028 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4943 | 5029 | break 2 |
4981 | 5067 | IFS=$as_save_IFS |
4982 | 5068 | test -z "$as_dir" && as_dir=. |
4983 | 5069 | for ac_exec_ext in '' $ac_executable_extensions; do |
4984 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
5070 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4985 | 5071 | ac_cv_prog_ac_ct_CC="$ac_prog" |
4986 | 5072 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4987 | 5073 | break 2 |
5177 | 5263 | /* end confdefs.h. */ |
5178 | 5264 | #include <stdarg.h> |
5179 | 5265 | #include <stdio.h> |
5180 | #include <sys/types.h> | |
5181 | #include <sys/stat.h> | |
5266 | struct stat; | |
5182 | 5267 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
5183 | 5268 | struct buf { int x; }; |
5184 | 5269 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
5274 | 5359 | # We make a subdir and do the tests there. Otherwise we can end up |
5275 | 5360 | # making bogus files that we don't know about and never remove. For |
5276 | 5361 | # instance it was reported that on HP-UX the gcc test will end up |
5277 | # making a dummy file named `D' -- because `-MD' means `put the output | |
5278 | # in D'. | |
5362 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
5363 | # in D". | |
5279 | 5364 | rm -rf conftest.dir |
5280 | 5365 | mkdir conftest.dir |
5281 | 5366 | # Copy depcomp to subdir because otherwise we won't find it if we're |
5310 | 5395 | : > sub/conftest.c |
5311 | 5396 | for i in 1 2 3 4 5 6; do |
5312 | 5397 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
5313 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
5314 | # Solaris 8's {/usr,}/bin/sh. | |
5315 | touch sub/conftst$i.h | |
5398 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
5399 | # Solaris 10 /bin/sh. | |
5400 | echo '/* dummy */' > sub/conftst$i.h | |
5316 | 5401 | done |
5317 | 5402 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
5318 | 5403 | |
5319 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
5404 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
5320 | 5405 | # mode. It turns out that the SunPro C++ compiler does not properly |
5321 | # handle `-M -o', and we need to detect this. Also, some Intel | |
5322 | # versions had trouble with output in subdirs | |
5406 | # handle '-M -o', and we need to detect this. Also, some Intel | |
5407 | # versions had trouble with output in subdirs. | |
5323 | 5408 | am__obj=sub/conftest.${OBJEXT-o} |
5324 | 5409 | am__minus_obj="-o $am__obj" |
5325 | 5410 | case $depmode in |
5328 | 5413 | test "$am__universal" = false || continue |
5329 | 5414 | ;; |
5330 | 5415 | nosideeffect) |
5331 | # after this tag, mechanisms are not by side-effect, so they'll | |
5332 | # only be used when explicitly requested | |
5416 | # After this tag, mechanisms are not by side-effect, so they'll | |
5417 | # only be used when explicitly requested. | |
5333 | 5418 | if test "x$enable_dependency_tracking" = xyes; then |
5334 | 5419 | continue |
5335 | 5420 | else |
5337 | 5422 | fi |
5338 | 5423 | ;; |
5339 | 5424 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
5340 | # This compiler won't grok `-c -o', but also, the minuso test has | |
5425 | # This compiler won't grok '-c -o', but also, the minuso test has | |
5341 | 5426 | # not run yet. These depmodes are late enough in the game, and |
5342 | 5427 | # so weak that their functioning should not be impacted. |
5343 | 5428 | am__obj=conftest.${OBJEXT-o} |
5663 | 5748 | IFS=$as_save_IFS |
5664 | 5749 | test -z "$as_dir" && as_dir=. |
5665 | 5750 | for ac_exec_ext in '' $ac_executable_extensions; do |
5666 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
5751 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
5667 | 5752 | ac_cv_prog_AS="${ac_tool_prefix}as" |
5668 | 5753 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5669 | 5754 | break 2 |
5703 | 5788 | IFS=$as_save_IFS |
5704 | 5789 | test -z "$as_dir" && as_dir=. |
5705 | 5790 | for ac_exec_ext in '' $ac_executable_extensions; do |
5706 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
5791 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
5707 | 5792 | ac_cv_prog_ac_ct_AS="as" |
5708 | 5793 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5709 | 5794 | break 2 |
5755 | 5840 | IFS=$as_save_IFS |
5756 | 5841 | test -z "$as_dir" && as_dir=. |
5757 | 5842 | for ac_exec_ext in '' $ac_executable_extensions; do |
5758 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
5843 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
5759 | 5844 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
5760 | 5845 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5761 | 5846 | break 2 |
5795 | 5880 | IFS=$as_save_IFS |
5796 | 5881 | test -z "$as_dir" && as_dir=. |
5797 | 5882 | for ac_exec_ext in '' $ac_executable_extensions; do |
5798 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
5883 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
5799 | 5884 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
5800 | 5885 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5801 | 5886 | break 2 |
5847 | 5932 | IFS=$as_save_IFS |
5848 | 5933 | test -z "$as_dir" && as_dir=. |
5849 | 5934 | for ac_exec_ext in '' $ac_executable_extensions; do |
5850 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
5935 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
5851 | 5936 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
5852 | 5937 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5853 | 5938 | break 2 |
5887 | 5972 | IFS=$as_save_IFS |
5888 | 5973 | test -z "$as_dir" && as_dir=. |
5889 | 5974 | for ac_exec_ext in '' $ac_executable_extensions; do |
5890 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
5975 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
5891 | 5976 | ac_cv_prog_ac_ct_OBJDUMP="objdump" |
5892 | 5977 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5893 | 5978 | break 2 |
6061 | 6146 | for ac_prog in sed gsed; do |
6062 | 6147 | for ac_exec_ext in '' $ac_executable_extensions; do |
6063 | 6148 | ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
6064 | { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue | |
6149 | as_fn_executable_p "$ac_path_SED" || continue | |
6065 | 6150 | # Check for GNU ac_path_SED and select it if it is found. |
6066 | 6151 | # Check for GNU $ac_path_SED |
6067 | 6152 | case `"$ac_path_SED" --version 2>&1` in |
6140 | 6225 | for ac_prog in fgrep; do |
6141 | 6226 | for ac_exec_ext in '' $ac_executable_extensions; do |
6142 | 6227 | ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
6143 | { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue | |
6228 | as_fn_executable_p "$ac_path_FGREP" || continue | |
6144 | 6229 | # Check for GNU ac_path_FGREP and select it if it is found. |
6145 | 6230 | # Check for GNU $ac_path_FGREP |
6146 | 6231 | case `"$ac_path_FGREP" --version 2>&1` in |
6396 | 6481 | IFS=$as_save_IFS |
6397 | 6482 | test -z "$as_dir" && as_dir=. |
6398 | 6483 | for ac_exec_ext in '' $ac_executable_extensions; do |
6399 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
6484 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6400 | 6485 | ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
6401 | 6486 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6402 | 6487 | break 2 |
6440 | 6525 | IFS=$as_save_IFS |
6441 | 6526 | test -z "$as_dir" && as_dir=. |
6442 | 6527 | for ac_exec_ext in '' $ac_executable_extensions; do |
6443 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
6528 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6444 | 6529 | ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
6445 | 6530 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6446 | 6531 | break 2 |
6848 | 6933 | IFS=$as_save_IFS |
6849 | 6934 | test -z "$as_dir" && as_dir=. |
6850 | 6935 | for ac_exec_ext in '' $ac_executable_extensions; do |
6851 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
6936 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6852 | 6937 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
6853 | 6938 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6854 | 6939 | break 2 |
6888 | 6973 | IFS=$as_save_IFS |
6889 | 6974 | test -z "$as_dir" && as_dir=. |
6890 | 6975 | for ac_exec_ext in '' $ac_executable_extensions; do |
6891 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
6976 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6892 | 6977 | ac_cv_prog_ac_ct_OBJDUMP="objdump" |
6893 | 6978 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6894 | 6979 | break 2 |
7191 | 7276 | IFS=$as_save_IFS |
7192 | 7277 | test -z "$as_dir" && as_dir=. |
7193 | 7278 | for ac_exec_ext in '' $ac_executable_extensions; do |
7194 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
7279 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7195 | 7280 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
7196 | 7281 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7197 | 7282 | break 2 |
7231 | 7316 | IFS=$as_save_IFS |
7232 | 7317 | test -z "$as_dir" && as_dir=. |
7233 | 7318 | for ac_exec_ext in '' $ac_executable_extensions; do |
7234 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
7319 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7235 | 7320 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
7236 | 7321 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7237 | 7322 | break 2 |
7331 | 7416 | IFS=$as_save_IFS |
7332 | 7417 | test -z "$as_dir" && as_dir=. |
7333 | 7418 | for ac_exec_ext in '' $ac_executable_extensions; do |
7334 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
7419 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7335 | 7420 | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
7336 | 7421 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7337 | 7422 | break 2 |
7375 | 7460 | IFS=$as_save_IFS |
7376 | 7461 | test -z "$as_dir" && as_dir=. |
7377 | 7462 | for ac_exec_ext in '' $ac_executable_extensions; do |
7378 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
7463 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7379 | 7464 | ac_cv_prog_ac_ct_AR="$ac_prog" |
7380 | 7465 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7381 | 7466 | break 2 |
7500 | 7585 | IFS=$as_save_IFS |
7501 | 7586 | test -z "$as_dir" && as_dir=. |
7502 | 7587 | for ac_exec_ext in '' $ac_executable_extensions; do |
7503 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
7588 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7504 | 7589 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
7505 | 7590 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7506 | 7591 | break 2 |
7540 | 7625 | IFS=$as_save_IFS |
7541 | 7626 | test -z "$as_dir" && as_dir=. |
7542 | 7627 | for ac_exec_ext in '' $ac_executable_extensions; do |
7543 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
7628 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7544 | 7629 | ac_cv_prog_ac_ct_STRIP="strip" |
7545 | 7630 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7546 | 7631 | break 2 |
7599 | 7684 | IFS=$as_save_IFS |
7600 | 7685 | test -z "$as_dir" && as_dir=. |
7601 | 7686 | for ac_exec_ext in '' $ac_executable_extensions; do |
7602 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
7687 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7603 | 7688 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
7604 | 7689 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7605 | 7690 | break 2 |
7639 | 7724 | IFS=$as_save_IFS |
7640 | 7725 | test -z "$as_dir" && as_dir=. |
7641 | 7726 | for ac_exec_ext in '' $ac_executable_extensions; do |
7642 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
7727 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7643 | 7728 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
7644 | 7729 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7645 | 7730 | break 2 |
8274 | 8359 | IFS=$as_save_IFS |
8275 | 8360 | test -z "$as_dir" && as_dir=. |
8276 | 8361 | for ac_exec_ext in '' $ac_executable_extensions; do |
8277 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8362 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8278 | 8363 | ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
8279 | 8364 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8280 | 8365 | break 2 |
8314 | 8399 | IFS=$as_save_IFS |
8315 | 8400 | test -z "$as_dir" && as_dir=. |
8316 | 8401 | for ac_exec_ext in '' $ac_executable_extensions; do |
8317 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8402 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8318 | 8403 | ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
8319 | 8404 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8320 | 8405 | break 2 |
8394 | 8479 | IFS=$as_save_IFS |
8395 | 8480 | test -z "$as_dir" && as_dir=. |
8396 | 8481 | for ac_exec_ext in '' $ac_executable_extensions; do |
8397 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8482 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8398 | 8483 | ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
8399 | 8484 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8400 | 8485 | break 2 |
8434 | 8519 | IFS=$as_save_IFS |
8435 | 8520 | test -z "$as_dir" && as_dir=. |
8436 | 8521 | for ac_exec_ext in '' $ac_executable_extensions; do |
8437 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8522 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8438 | 8523 | ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
8439 | 8524 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8440 | 8525 | break 2 |
8486 | 8571 | IFS=$as_save_IFS |
8487 | 8572 | test -z "$as_dir" && as_dir=. |
8488 | 8573 | for ac_exec_ext in '' $ac_executable_extensions; do |
8489 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8574 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8490 | 8575 | ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
8491 | 8576 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8492 | 8577 | break 2 |
8526 | 8611 | IFS=$as_save_IFS |
8527 | 8612 | test -z "$as_dir" && as_dir=. |
8528 | 8613 | for ac_exec_ext in '' $ac_executable_extensions; do |
8529 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8614 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8530 | 8615 | ac_cv_prog_ac_ct_NMEDIT="nmedit" |
8531 | 8616 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8532 | 8617 | break 2 |
8578 | 8663 | IFS=$as_save_IFS |
8579 | 8664 | test -z "$as_dir" && as_dir=. |
8580 | 8665 | for ac_exec_ext in '' $ac_executable_extensions; do |
8581 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8666 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8582 | 8667 | ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
8583 | 8668 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8584 | 8669 | break 2 |
8618 | 8703 | IFS=$as_save_IFS |
8619 | 8704 | test -z "$as_dir" && as_dir=. |
8620 | 8705 | for ac_exec_ext in '' $ac_executable_extensions; do |
8621 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8706 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8622 | 8707 | ac_cv_prog_ac_ct_LIPO="lipo" |
8623 | 8708 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8624 | 8709 | break 2 |
8670 | 8755 | IFS=$as_save_IFS |
8671 | 8756 | test -z "$as_dir" && as_dir=. |
8672 | 8757 | for ac_exec_ext in '' $ac_executable_extensions; do |
8673 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8758 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8674 | 8759 | ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
8675 | 8760 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8676 | 8761 | break 2 |
8710 | 8795 | IFS=$as_save_IFS |
8711 | 8796 | test -z "$as_dir" && as_dir=. |
8712 | 8797 | for ac_exec_ext in '' $ac_executable_extensions; do |
8713 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8798 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8714 | 8799 | ac_cv_prog_ac_ct_OTOOL="otool" |
8715 | 8800 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8716 | 8801 | break 2 |
8762 | 8847 | IFS=$as_save_IFS |
8763 | 8848 | test -z "$as_dir" && as_dir=. |
8764 | 8849 | for ac_exec_ext in '' $ac_executable_extensions; do |
8765 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8850 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8766 | 8851 | ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
8767 | 8852 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8768 | 8853 | break 2 |
8802 | 8887 | IFS=$as_save_IFS |
8803 | 8888 | test -z "$as_dir" && as_dir=. |
8804 | 8889 | for ac_exec_ext in '' $ac_executable_extensions; do |
8805 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8890 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
8806 | 8891 | ac_cv_prog_ac_ct_OTOOL64="otool64" |
8807 | 8892 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8808 | 8893 | break 2 |
16207 | 16292 | int |
16208 | 16293 | main () |
16209 | 16294 | { |
16210 | /* FIXME: Include the comments suggested by Paul. */ | |
16295 | ||
16211 | 16296 | #ifndef __cplusplus |
16212 | /* Ultrix mips cc rejects this. */ | |
16297 | /* Ultrix mips cc rejects this sort of thing. */ | |
16213 | 16298 | typedef int charset[2]; |
16214 | const charset cs; | |
16299 | const charset cs = { 0, 0 }; | |
16215 | 16300 | /* SunOS 4.1.1 cc rejects this. */ |
16216 | 16301 | char const *const *pcpcc; |
16217 | 16302 | char **ppc; |
16228 | 16313 | ++pcpcc; |
16229 | 16314 | ppc = (char**) pcpcc; |
16230 | 16315 | pcpcc = (char const *const *) ppc; |
16231 | { /* SCO 3.2v4 cc rejects this. */ | |
16232 | char *t; | |
16316 | { /* SCO 3.2v4 cc rejects this sort of thing. */ | |
16317 | char tx; | |
16318 | char *t = &tx; | |
16233 | 16319 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
16234 | 16320 | |
16235 | 16321 | *t++ = 0; |
16245 | 16331 | iptr p = 0; |
16246 | 16332 | ++p; |
16247 | 16333 | } |
16248 | { /* AIX XL C 1.02.0.0 rejects this saying | |
16334 | { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying | |
16249 | 16335 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
16250 | struct s { int j; const int *ap[3]; }; | |
16251 | struct s *b; b->j = 5; | |
16336 | struct s { int j; const int *ap[3]; } bx; | |
16337 | struct s *b = &bx; b->j = 5; | |
16252 | 16338 | } |
16253 | 16339 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
16254 | 16340 | const int foo = 10; |
16982 | 17068 | |
16983 | 17069 | ac_libobjs= |
16984 | 17070 | ac_ltlibobjs= |
16985 | U= | |
16986 | 17071 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
16987 | 17072 | # 1. Remove the extension, and $U if already installed. |
16988 | 17073 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
16997 | 17082 | LTLIBOBJS=$ac_ltlibobjs |
16998 | 17083 | |
16999 | 17084 | |
17085 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 | |
17086 | $as_echo_n "checking that generated files are newer than configure... " >&6; } | |
17087 | if test -n "$am_sleep_pid"; then | |
17088 | # Hide warnings about reused PIDs. | |
17089 | wait $am_sleep_pid 2>/dev/null | |
17090 | fi | |
17091 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | |
17092 | $as_echo "done" >&6; } | |
17000 | 17093 | if test -n "$EXEEXT"; then |
17001 | 17094 | am__EXEEXT_TRUE= |
17002 | 17095 | am__EXEEXT_FALSE='#' |
17323 | 17416 | # ... but there are two gotchas: |
17324 | 17417 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
17325 | 17418 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
17326 | # In both cases, we have to default to `cp -p'. | |
17419 | # In both cases, we have to default to `cp -pR'. | |
17327 | 17420 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
17328 | as_ln_s='cp -p' | |
17421 | as_ln_s='cp -pR' | |
17329 | 17422 | elif ln conf$$.file conf$$ 2>/dev/null; then |
17330 | 17423 | as_ln_s=ln |
17331 | 17424 | else |
17332 | as_ln_s='cp -p' | |
17425 | as_ln_s='cp -pR' | |
17333 | 17426 | fi |
17334 | 17427 | else |
17335 | as_ln_s='cp -p' | |
17428 | as_ln_s='cp -pR' | |
17336 | 17429 | fi |
17337 | 17430 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
17338 | 17431 | rmdir conf$$.dir 2>/dev/null |
17392 | 17485 | as_mkdir_p=false |
17393 | 17486 | fi |
17394 | 17487 | |
17395 | if test -x / >/dev/null 2>&1; then | |
17396 | as_test_x='test -x' | |
17397 | else | |
17398 | if ls -dL / >/dev/null 2>&1; then | |
17399 | as_ls_L_option=L | |
17400 | else | |
17401 | as_ls_L_option= | |
17402 | fi | |
17403 | as_test_x=' | |
17404 | eval sh -c '\'' | |
17405 | if test -d "$1"; then | |
17406 | test -d "$1/."; | |
17407 | else | |
17408 | case $1 in #( | |
17409 | -*)set "./$1";; | |
17410 | esac; | |
17411 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
17412 | ???[sx]*):;;*)false;;esac;fi | |
17413 | '\'' sh | |
17414 | ' | |
17415 | fi | |
17416 | as_executable_p=$as_test_x | |
17488 | ||
17489 | # as_fn_executable_p FILE | |
17490 | # ----------------------- | |
17491 | # Test if FILE is an executable regular file. | |
17492 | as_fn_executable_p () | |
17493 | { | |
17494 | test -f "$1" && test -x "$1" | |
17495 | } # as_fn_executable_p | |
17496 | as_test_x='test -x' | |
17497 | as_executable_p=as_fn_executable_p | |
17417 | 17498 | |
17418 | 17499 | # Sed expression to map a string onto a valid CPP name. |
17419 | 17500 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
17434 | 17515 | # report actual input values of CONFIG_FILES etc. instead of their |
17435 | 17516 | # values after options handling. |
17436 | 17517 | ac_log=" |
17437 | This file was extended by readosm $as_me 1.0.0b, which was | |
17438 | generated by GNU Autoconf 2.68. Invocation command line was | |
17518 | This file was extended by readosm $as_me 1.0.0c, which was | |
17519 | generated by GNU Autoconf 2.69. Invocation command line was | |
17439 | 17520 | |
17440 | 17521 | CONFIG_FILES = $CONFIG_FILES |
17441 | 17522 | CONFIG_HEADERS = $CONFIG_HEADERS |
17500 | 17581 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
17501 | 17582 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
17502 | 17583 | ac_cs_version="\\ |
17503 | readosm config.status 1.0.0b | |
17504 | configured by $0, generated by GNU Autoconf 2.68, | |
17584 | readosm config.status 1.0.0c | |
17585 | configured by $0, generated by GNU Autoconf 2.69, | |
17505 | 17586 | with options \\"\$ac_cs_config\\" |
17506 | 17587 | |
17507 | Copyright (C) 2010 Free Software Foundation, Inc. | |
17588 | Copyright (C) 2012 Free Software Foundation, Inc. | |
17508 | 17589 | This config.status script is free software; the Free Software Foundation |
17509 | 17590 | gives unlimited permission to copy, distribute and modify it." |
17510 | 17591 | |
17595 | 17676 | _ACEOF |
17596 | 17677 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
17597 | 17678 | if \$ac_cs_recheck; then |
17598 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
17679 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
17599 | 17680 | shift |
17600 | 17681 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
17601 | 17682 | CONFIG_SHELL='$SHELL' |
18614 | 18695 | |
18615 | 18696 | case $ac_file$ac_mode in |
18616 | 18697 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
18617 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
18698 | # Older Autoconf quotes --file arguments for eval, but not when files | |
18618 | 18699 | # are listed without --file. Let's play safe and only enable the eval |
18619 | 18700 | # if we detect the quoting. |
18620 | 18701 | case $CONFIG_FILES in |
18627 | 18708 | # Strip MF so we end up with the name of the file. |
18628 | 18709 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
18629 | 18710 | # Check whether this is an Automake generated Makefile or not. |
18630 | # We used to match only the files named `Makefile.in', but | |
18711 | # We used to match only the files named 'Makefile.in', but | |
18631 | 18712 | # some people rename them; so instead we look at the file content. |
18632 | 18713 | # Grep'ing the first line is not enough: some people post-process |
18633 | 18714 | # each Makefile.in and add a new line on top of each file to say so. |
18661 | 18742 | continue |
18662 | 18743 | fi |
18663 | 18744 | # Extract the definition of DEPDIR, am__include, and am__quote |
18664 | # from the Makefile without running `make'. | |
18745 | # from the Makefile without running 'make'. | |
18665 | 18746 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
18666 | 18747 | test -z "$DEPDIR" && continue |
18667 | 18748 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
18668 | test -z "am__include" && continue | |
18749 | test -z "$am__include" && continue | |
18669 | 18750 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
18670 | # When using ansi2knr, U may be empty or an underscore; expand it | |
18671 | U=`sed -n 's/^U = //p' < "$mf"` | |
18672 | 18751 | # Find all dependency output files, they are included files with |
18673 | 18752 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
18674 | 18753 | # simplest approach to changing $(DEPDIR) to its actual value in the |
18675 | 18754 | # expansion. |
18676 | 18755 | for file in `sed -n " |
18677 | 18756 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
18678 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
18757 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
18679 | 18758 | # Make sure the directory exists. |
18680 | 18759 | test -f "$dirpart/$file" && continue |
18681 | 18760 | fdir=`$as_dirname -- "$file" || |
1 | 1 | # Process this file with autoconf to produce a configure script. |
2 | 2 | |
3 | 3 | AC_PREREQ(2.61) |
4 | AC_INIT(readosm, 1.0.0b, a.furieri@lqt.it) | |
4 | AC_INIT(readosm, 1.0.0c, a.furieri@lqt.it) | |
5 | 5 | AC_LANG(C) |
6 | 6 | AC_CONFIG_AUX_DIR([.]) |
7 | 7 | AC_CONFIG_MACRO_DIR([m4]) |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.13.4 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
15 | 14 | @SET_MAKE@ |
16 | 15 | |
17 | 16 | VPATH = @srcdir@ |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
21 | 30 | case $$MAKEFLAGS in \ |
22 | 31 | *\\[\ \ ]*) \ |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
32 | 35 | esac; \ |
33 | test $$am__dry = yes; \ | |
34 | } | |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
35 | 62 | pkgdatadir = $(datadir)/@PACKAGE@ |
36 | 63 | pkgincludedir = $(includedir)/@PACKAGE@ |
37 | 64 | pkglibdir = $(libdir)/@PACKAGE@ |
53 | 80 | noinst_PROGRAMS = test_osm1$(EXEEXT) test_osm2$(EXEEXT) \ |
54 | 81 | test_osm3$(EXEEXT) |
55 | 82 | subdir = examples |
56 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
83 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
84 | $(top_srcdir)/depcomp | |
57 | 85 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
58 | 86 | am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ |
59 | 87 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
69 | 97 | test_osm1_SOURCES = test_osm1.c |
70 | 98 | test_osm1_OBJECTS = test_osm1.$(OBJEXT) |
71 | 99 | test_osm1_LDADD = $(LDADD) |
100 | AM_V_lt = $(am__v_lt_@AM_V@) | |
101 | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | |
102 | am__v_lt_0 = --silent | |
103 | am__v_lt_1 = | |
72 | 104 | test_osm2_SOURCES = test_osm2.c |
73 | 105 | test_osm2_OBJECTS = test_osm2.$(OBJEXT) |
74 | 106 | test_osm2_LDADD = $(LDADD) |
75 | 107 | test_osm3_SOURCES = test_osm3.c |
76 | 108 | test_osm3_OBJECTS = test_osm3.$(OBJEXT) |
77 | 109 | test_osm3_LDADD = $(LDADD) |
110 | AM_V_P = $(am__v_P_@AM_V@) | |
111 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
112 | am__v_P_0 = false | |
113 | am__v_P_1 = : | |
114 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
115 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
116 | am__v_GEN_0 = @echo " GEN " $@; | |
117 | am__v_GEN_1 = | |
118 | AM_V_at = $(am__v_at_@AM_V@) | |
119 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
120 | am__v_at_0 = @ | |
121 | am__v_at_1 = | |
78 | 122 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
79 | 123 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
80 | 124 | am__depfiles_maybe = depfiles |
81 | 125 | am__mv = mv -f |
82 | 126 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
83 | 127 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
84 | LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | |
85 | --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | |
86 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
128 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | |
129 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | |
130 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | |
131 | $(AM_CFLAGS) $(CFLAGS) | |
132 | AM_V_CC = $(am__v_CC_@AM_V@) | |
133 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
134 | am__v_CC_0 = @echo " CC " $@; | |
135 | am__v_CC_1 = | |
87 | 136 | CCLD = $(CC) |
88 | LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | |
89 | --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ | |
90 | $(LDFLAGS) -o $@ | |
137 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | |
138 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | |
139 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
140 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
141 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
142 | am__v_CCLD_0 = @echo " CCLD " $@; | |
143 | am__v_CCLD_1 = | |
91 | 144 | SOURCES = test_osm1.c test_osm2.c test_osm3.c |
92 | 145 | DIST_SOURCES = test_osm1.c test_osm2.c test_osm3.c |
93 | 146 | am__can_run_installinfo = \ |
95 | 148 | n|no|NO) false;; \ |
96 | 149 | *) (install-info --version) >/dev/null 2>&1;; \ |
97 | 150 | esac |
151 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
152 | # Read a list of newline-separated strings from the standard input, | |
153 | # and print each of them once, without duplicates. Input order is | |
154 | # *not* preserved. | |
155 | am__uniquify_input = $(AWK) '\ | |
156 | BEGIN { nonempty = 0; } \ | |
157 | { items[$$0] = 1; nonempty = 1; } \ | |
158 | END { if (nonempty) { for (i in items) print i; }; } \ | |
159 | ' | |
160 | # Make sure the list of sources is unique. This is necessary because, | |
161 | # e.g., the same source file might be shared among _SOURCES variables | |
162 | # for different programs/libraries. | |
163 | am__define_uniq_tagged_files = \ | |
164 | list='$(am__tagged_files)'; \ | |
165 | unique=`for i in $$list; do \ | |
166 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
167 | done | $(am__uniquify_input)` | |
98 | 168 | ETAGS = etags |
99 | 169 | CTAGS = ctags |
100 | 170 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
101 | 171 | ACLOCAL = @ACLOCAL@ |
102 | 172 | AMTAR = @AMTAR@ |
173 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
103 | 174 | AR = @AR@ |
104 | 175 | AS = @AS@ |
105 | 176 | AUTOCONF = @AUTOCONF@ |
265 | 336 | list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ |
266 | 337 | echo " rm -f" $$list; \ |
267 | 338 | rm -f $$list |
339 | ||
268 | 340 | test_osm1$(EXEEXT): $(test_osm1_OBJECTS) $(test_osm1_DEPENDENCIES) $(EXTRA_test_osm1_DEPENDENCIES) |
269 | 341 | @rm -f test_osm1$(EXEEXT) |
270 | $(LINK) $(test_osm1_OBJECTS) $(test_osm1_LDADD) $(LIBS) | |
342 | $(AM_V_CCLD)$(LINK) $(test_osm1_OBJECTS) $(test_osm1_LDADD) $(LIBS) | |
343 | ||
271 | 344 | test_osm2$(EXEEXT): $(test_osm2_OBJECTS) $(test_osm2_DEPENDENCIES) $(EXTRA_test_osm2_DEPENDENCIES) |
272 | 345 | @rm -f test_osm2$(EXEEXT) |
273 | $(LINK) $(test_osm2_OBJECTS) $(test_osm2_LDADD) $(LIBS) | |
346 | $(AM_V_CCLD)$(LINK) $(test_osm2_OBJECTS) $(test_osm2_LDADD) $(LIBS) | |
347 | ||
274 | 348 | test_osm3$(EXEEXT): $(test_osm3_OBJECTS) $(test_osm3_DEPENDENCIES) $(EXTRA_test_osm3_DEPENDENCIES) |
275 | 349 | @rm -f test_osm3$(EXEEXT) |
276 | $(LINK) $(test_osm3_OBJECTS) $(test_osm3_LDADD) $(LIBS) | |
350 | $(AM_V_CCLD)$(LINK) $(test_osm3_OBJECTS) $(test_osm3_LDADD) $(LIBS) | |
277 | 351 | |
278 | 352 | mostlyclean-compile: |
279 | 353 | -rm -f *.$(OBJEXT) |
286 | 360 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_osm3.Po@am__quote@ |
287 | 361 | |
288 | 362 | .c.o: |
289 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
290 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
291 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
363 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
364 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
365 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
292 | 366 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
293 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
367 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< | |
294 | 368 | |
295 | 369 | .c.obj: |
296 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
297 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
298 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
370 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
371 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
372 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
299 | 373 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
300 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
374 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` | |
301 | 375 | |
302 | 376 | .c.lo: |
303 | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
304 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | |
305 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | |
377 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
378 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | |
379 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | |
306 | 380 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
307 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | |
381 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< | |
308 | 382 | |
309 | 383 | mostlyclean-libtool: |
310 | 384 | -rm -f *.lo |
312 | 386 | clean-libtool: |
313 | 387 | -rm -rf .libs _libs |
314 | 388 | |
315 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
316 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
317 | unique=`for i in $$list; do \ | |
318 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
319 | done | \ | |
320 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
321 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
322 | mkid -fID $$unique | |
323 | tags: TAGS | |
324 | ||
325 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
326 | $(TAGS_FILES) $(LISP) | |
389 | ID: $(am__tagged_files) | |
390 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
391 | tags: tags-am | |
392 | TAGS: tags | |
393 | ||
394 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
327 | 395 | set x; \ |
328 | 396 | here=`pwd`; \ |
329 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
330 | unique=`for i in $$list; do \ | |
331 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
332 | done | \ | |
333 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
334 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
397 | $(am__define_uniq_tagged_files); \ | |
335 | 398 | shift; \ |
336 | 399 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
337 | 400 | test -n "$$unique" || unique=$$empty_fix; \ |
343 | 406 | $$unique; \ |
344 | 407 | fi; \ |
345 | 408 | fi |
346 | ctags: CTAGS | |
347 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
348 | $(TAGS_FILES) $(LISP) | |
349 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
350 | unique=`for i in $$list; do \ | |
351 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
352 | done | \ | |
353 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
354 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
409 | ctags: ctags-am | |
410 | ||
411 | CTAGS: ctags | |
412 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
413 | $(am__define_uniq_tagged_files); \ | |
355 | 414 | test -z "$(CTAGS_ARGS)$$unique" \ |
356 | 415 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
357 | 416 | $$unique |
360 | 419 | here=`$(am__cd) $(top_builddir) && pwd` \ |
361 | 420 | && $(am__cd) $(top_srcdir) \ |
362 | 421 | && gtags -i $(GTAGS_ARGS) "$$here" |
422 | cscopelist: cscopelist-am | |
423 | ||
424 | cscopelist-am: $(am__tagged_files) | |
425 | list='$(am__tagged_files)'; \ | |
426 | case "$(srcdir)" in \ | |
427 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
428 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
429 | esac; \ | |
430 | for i in $$list; do \ | |
431 | if test -f "$$i"; then \ | |
432 | echo "$(subdir)/$$i"; \ | |
433 | else \ | |
434 | echo "$$sdir/$$i"; \ | |
435 | fi; \ | |
436 | done >> $(top_builddir)/cscope.files | |
363 | 437 | |
364 | 438 | distclean-tags: |
365 | 439 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
502 | 576 | |
503 | 577 | .MAKE: install-am install-strip |
504 | 578 | |
505 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
506 | clean-libtool clean-noinstPROGRAMS ctags distclean \ | |
507 | distclean-compile distclean-generic distclean-libtool \ | |
508 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | |
509 | install install-am install-data install-data-am install-dvi \ | |
510 | install-dvi-am install-exec install-exec-am install-html \ | |
511 | install-html-am install-info install-info-am install-man \ | |
512 | install-pdf install-pdf-am install-ps install-ps-am \ | |
513 | install-strip installcheck installcheck-am installdirs \ | |
514 | maintainer-clean maintainer-clean-generic mostlyclean \ | |
515 | mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ | |
516 | pdf pdf-am ps ps-am tags uninstall uninstall-am | |
579 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ | |
580 | clean-libtool clean-noinstPROGRAMS cscopelist-am ctags \ | |
581 | ctags-am distclean distclean-compile distclean-generic \ | |
582 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | |
583 | html-am info info-am install install-am install-data \ | |
584 | install-data-am install-dvi install-dvi-am install-exec \ | |
585 | install-exec-am install-html install-html-am install-info \ | |
586 | install-info-am install-man install-pdf install-pdf-am \ | |
587 | install-ps install-ps-am install-strip installcheck \ | |
588 | installcheck-am installdirs maintainer-clean \ | |
589 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
590 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | |
591 | tags tags-am uninstall uninstall-am | |
517 | 592 | |
518 | 593 | |
519 | 594 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.13.4 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
15 | 14 | @SET_MAKE@ |
16 | 15 | |
17 | 16 | VPATH = @srcdir@ |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
21 | 30 | case $$MAKEFLAGS in \ |
22 | 31 | *\\[\ \ ]*) \ |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
32 | 35 | esac; \ |
33 | test $$am__dry = yes; \ | |
34 | } | |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
35 | 62 | pkgdatadir = $(datadir)/@PACKAGE@ |
36 | 63 | pkgincludedir = $(includedir)/@PACKAGE@ |
37 | 64 | pkglibdir = $(libdir)/@PACKAGE@ |
51 | 78 | build_triplet = @build@ |
52 | 79 | host_triplet = @host@ |
53 | 80 | subdir = headers |
54 | DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \ | |
55 | $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
81 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
82 | $(include_HEADERS) $(noinst_HEADERS) | |
56 | 83 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
57 | 84 | am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ |
58 | 85 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
64 | 91 | CONFIG_HEADER = $(top_builddir)/config.h |
65 | 92 | CONFIG_CLEAN_FILES = |
66 | 93 | CONFIG_CLEAN_VPATH_FILES = |
94 | AM_V_P = $(am__v_P_@AM_V@) | |
95 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
96 | am__v_P_0 = false | |
97 | am__v_P_1 = : | |
98 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
99 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
100 | am__v_GEN_0 = @echo " GEN " $@; | |
101 | am__v_GEN_1 = | |
102 | AM_V_at = $(am__v_at_@AM_V@) | |
103 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
104 | am__v_at_0 = @ | |
105 | am__v_at_1 = | |
67 | 106 | SOURCES = |
68 | 107 | DIST_SOURCES = |
69 | 108 | am__can_run_installinfo = \ |
100 | 139 | } |
101 | 140 | am__installdirs = "$(DESTDIR)$(includedir)" |
102 | 141 | HEADERS = $(include_HEADERS) $(noinst_HEADERS) |
142 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
143 | # Read a list of newline-separated strings from the standard input, | |
144 | # and print each of them once, without duplicates. Input order is | |
145 | # *not* preserved. | |
146 | am__uniquify_input = $(AWK) '\ | |
147 | BEGIN { nonempty = 0; } \ | |
148 | { items[$$0] = 1; nonempty = 1; } \ | |
149 | END { if (nonempty) { for (i in items) print i; }; } \ | |
150 | ' | |
151 | # Make sure the list of sources is unique. This is necessary because, | |
152 | # e.g., the same source file might be shared among _SOURCES variables | |
153 | # for different programs/libraries. | |
154 | am__define_uniq_tagged_files = \ | |
155 | list='$(am__tagged_files)'; \ | |
156 | unique=`for i in $$list; do \ | |
157 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
158 | done | $(am__uniquify_input)` | |
103 | 159 | ETAGS = etags |
104 | 160 | CTAGS = ctags |
105 | 161 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
106 | 162 | ACLOCAL = @ACLOCAL@ |
107 | 163 | AMTAR = @AMTAR@ |
164 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
108 | 165 | AR = @AR@ |
109 | 166 | AS = @AS@ |
110 | 167 | AUTOCONF = @AUTOCONF@ |
286 | 343 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
287 | 344 | dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) |
288 | 345 | |
289 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
290 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
291 | unique=`for i in $$list; do \ | |
292 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
293 | done | \ | |
294 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
295 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
296 | mkid -fID $$unique | |
297 | tags: TAGS | |
298 | ||
299 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
300 | $(TAGS_FILES) $(LISP) | |
346 | ID: $(am__tagged_files) | |
347 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
348 | tags: tags-am | |
349 | TAGS: tags | |
350 | ||
351 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
301 | 352 | set x; \ |
302 | 353 | here=`pwd`; \ |
303 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
304 | unique=`for i in $$list; do \ | |
305 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
306 | done | \ | |
307 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
308 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
354 | $(am__define_uniq_tagged_files); \ | |
309 | 355 | shift; \ |
310 | 356 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
311 | 357 | test -n "$$unique" || unique=$$empty_fix; \ |
317 | 363 | $$unique; \ |
318 | 364 | fi; \ |
319 | 365 | fi |
320 | ctags: CTAGS | |
321 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
322 | $(TAGS_FILES) $(LISP) | |
323 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
324 | unique=`for i in $$list; do \ | |
325 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
326 | done | \ | |
327 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
328 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
366 | ctags: ctags-am | |
367 | ||
368 | CTAGS: ctags | |
369 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
370 | $(am__define_uniq_tagged_files); \ | |
329 | 371 | test -z "$(CTAGS_ARGS)$$unique" \ |
330 | 372 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
331 | 373 | $$unique |
334 | 376 | here=`$(am__cd) $(top_builddir) && pwd` \ |
335 | 377 | && $(am__cd) $(top_srcdir) \ |
336 | 378 | && gtags -i $(GTAGS_ARGS) "$$here" |
379 | cscopelist: cscopelist-am | |
380 | ||
381 | cscopelist-am: $(am__tagged_files) | |
382 | list='$(am__tagged_files)'; \ | |
383 | case "$(srcdir)" in \ | |
384 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
385 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
386 | esac; \ | |
387 | for i in $$list; do \ | |
388 | if test -f "$$i"; then \ | |
389 | echo "$(subdir)/$$i"; \ | |
390 | else \ | |
391 | echo "$$sdir/$$i"; \ | |
392 | fi; \ | |
393 | done >> $(top_builddir)/cscope.files | |
337 | 394 | |
338 | 395 | distclean-tags: |
339 | 396 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
473 | 530 | |
474 | 531 | .MAKE: install-am install-strip |
475 | 532 | |
476 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
477 | clean-libtool ctags distclean distclean-generic \ | |
478 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | |
479 | html-am info info-am install install-am install-data \ | |
480 | install-data-am install-dvi install-dvi-am install-exec \ | |
481 | install-exec-am install-html install-html-am \ | |
533 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ | |
534 | clean-libtool cscopelist-am ctags ctags-am distclean \ | |
535 | distclean-generic distclean-libtool distclean-tags distdir dvi \ | |
536 | dvi-am html html-am info info-am install install-am \ | |
537 | install-data install-data-am install-dvi install-dvi-am \ | |
538 | install-exec install-exec-am install-html install-html-am \ | |
482 | 539 | install-includeHEADERS install-info install-info-am \ |
483 | 540 | install-man install-pdf install-pdf-am install-ps \ |
484 | 541 | install-ps-am install-strip installcheck installcheck-am \ |
485 | 542 | installdirs maintainer-clean maintainer-clean-generic \ |
486 | 543 | mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ |
487 | ps ps-am tags uninstall uninstall-am uninstall-includeHEADERS | |
544 | ps ps-am tags tags-am uninstall uninstall-am \ | |
545 | uninstall-includeHEADERS | |
488 | 546 | |
489 | 547 | |
490 | 548 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
0 | 0 | |
1 | INCLUDES = -I$(top_srcdir)/headers | |
2 | INCLUDES += -I$(top_srcdir) | |
1 | AM_CPPFLAGS = -I$(top_srcdir)/headers | |
2 | AM_CPPFLAGS += -I$(top_srcdir) | |
3 | 3 | |
4 | 4 | lib_LTLIBRARIES = libreadosm.la |
5 | 5 |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.13.4 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
15 | 14 | @SET_MAKE@ |
16 | 15 | |
17 | 16 | VPATH = @srcdir@ |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
21 | 30 | case $$MAKEFLAGS in \ |
22 | 31 | *\\[\ \ ]*) \ |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
32 | 35 | esac; \ |
33 | test $$am__dry = yes; \ | |
34 | } | |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
35 | 62 | pkgdatadir = $(datadir)/@PACKAGE@ |
36 | 63 | pkgincludedir = $(includedir)/@PACKAGE@ |
37 | 64 | pkglibdir = $(libdir)/@PACKAGE@ |
51 | 78 | build_triplet = @build@ |
52 | 79 | host_triplet = @host@ |
53 | 80 | subdir = src |
54 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
81 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
82 | $(top_srcdir)/depcomp | |
55 | 83 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
56 | 84 | am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ |
57 | 85 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
97 | 125 | libreadosm_la-osm_objects.lo libreadosm_la-osmxml.lo \ |
98 | 126 | libreadosm_la-protobuf.lo |
99 | 127 | libreadosm_la_OBJECTS = $(am_libreadosm_la_OBJECTS) |
100 | libreadosm_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ | |
128 | AM_V_lt = $(am__v_lt_@AM_V@) | |
129 | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | |
130 | am__v_lt_0 = --silent | |
131 | am__v_lt_1 = | |
132 | libreadosm_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | |
101 | 133 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libreadosm_la_CFLAGS) \ |
102 | 134 | $(CFLAGS) $(libreadosm_la_LDFLAGS) $(LDFLAGS) -o $@ |
135 | AM_V_P = $(am__v_P_@AM_V@) | |
136 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
137 | am__v_P_0 = false | |
138 | am__v_P_1 = : | |
139 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
140 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
141 | am__v_GEN_0 = @echo " GEN " $@; | |
142 | am__v_GEN_1 = | |
143 | AM_V_at = $(am__v_at_@AM_V@) | |
144 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
145 | am__v_at_0 = @ | |
146 | am__v_at_1 = | |
103 | 147 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
104 | 148 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
105 | 149 | am__depfiles_maybe = depfiles |
106 | 150 | am__mv = mv -f |
107 | 151 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
108 | 152 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
109 | LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | |
110 | --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | |
111 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
153 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | |
154 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | |
155 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | |
156 | $(AM_CFLAGS) $(CFLAGS) | |
157 | AM_V_CC = $(am__v_CC_@AM_V@) | |
158 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
159 | am__v_CC_0 = @echo " CC " $@; | |
160 | am__v_CC_1 = | |
112 | 161 | CCLD = $(CC) |
113 | LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | |
114 | --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ | |
115 | $(LDFLAGS) -o $@ | |
162 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | |
163 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | |
164 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
165 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
166 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
167 | am__v_CCLD_0 = @echo " CCLD " $@; | |
168 | am__v_CCLD_1 = | |
116 | 169 | SOURCES = $(libreadosm_la_SOURCES) |
117 | 170 | DIST_SOURCES = $(libreadosm_la_SOURCES) |
118 | 171 | am__can_run_installinfo = \ |
120 | 173 | n|no|NO) false;; \ |
121 | 174 | *) (install-info --version) >/dev/null 2>&1;; \ |
122 | 175 | esac |
176 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
177 | # Read a list of newline-separated strings from the standard input, | |
178 | # and print each of them once, without duplicates. Input order is | |
179 | # *not* preserved. | |
180 | am__uniquify_input = $(AWK) '\ | |
181 | BEGIN { nonempty = 0; } \ | |
182 | { items[$$0] = 1; nonempty = 1; } \ | |
183 | END { if (nonempty) { for (i in items) print i; }; } \ | |
184 | ' | |
185 | # Make sure the list of sources is unique. This is necessary because, | |
186 | # e.g., the same source file might be shared among _SOURCES variables | |
187 | # for different programs/libraries. | |
188 | am__define_uniq_tagged_files = \ | |
189 | list='$(am__tagged_files)'; \ | |
190 | unique=`for i in $$list; do \ | |
191 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
192 | done | $(am__uniquify_input)` | |
123 | 193 | ETAGS = etags |
124 | 194 | CTAGS = ctags |
125 | 195 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
126 | 196 | ACLOCAL = @ACLOCAL@ |
127 | 197 | AMTAR = @AMTAR@ |
198 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
128 | 199 | AR = @AR@ |
129 | 200 | AS = @AS@ |
130 | 201 | AUTOCONF = @AUTOCONF@ |
243 | 314 | top_build_prefix = @top_build_prefix@ |
244 | 315 | top_builddir = @top_builddir@ |
245 | 316 | top_srcdir = @top_srcdir@ |
246 | INCLUDES = -I$(top_srcdir)/headers -I$(top_srcdir) | |
317 | AM_CPPFLAGS = -I$(top_srcdir)/headers -I$(top_srcdir) | |
247 | 318 | lib_LTLIBRARIES = libreadosm.la |
248 | 319 | libreadosm_la_SOURCES = readosm.c osm_objects.c osmxml.c protobuf.c |
249 | 320 | libreadosm_la_CFLAGS = -fvisibility=hidden |
283 | 354 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
284 | 355 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
285 | 356 | $(am__aclocal_m4_deps): |
357 | ||
286 | 358 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) |
287 | 359 | @$(NORMAL_INSTALL) |
288 | 360 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ |
309 | 381 | |
310 | 382 | clean-libLTLIBRARIES: |
311 | 383 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) |
312 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | |
313 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | |
314 | test "$$dir" != "$$p" || dir=.; \ | |
315 | echo "rm -f \"$${dir}/so_locations\""; \ | |
316 | rm -f "$${dir}/so_locations"; \ | |
317 | done | |
384 | @list='$(lib_LTLIBRARIES)'; \ | |
385 | locs=`for p in $$list; do echo $$p; done | \ | |
386 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
387 | sort -u`; \ | |
388 | test -z "$$locs" || { \ | |
389 | echo rm -f $${locs}; \ | |
390 | rm -f $${locs}; \ | |
391 | } | |
392 | ||
318 | 393 | libreadosm.la: $(libreadosm_la_OBJECTS) $(libreadosm_la_DEPENDENCIES) $(EXTRA_libreadosm_la_DEPENDENCIES) |
319 | $(libreadosm_la_LINK) -rpath $(libdir) $(libreadosm_la_OBJECTS) $(libreadosm_la_LIBADD) $(LIBS) | |
394 | $(AM_V_CCLD)$(libreadosm_la_LINK) -rpath $(libdir) $(libreadosm_la_OBJECTS) $(libreadosm_la_LIBADD) $(LIBS) | |
320 | 395 | |
321 | 396 | mostlyclean-compile: |
322 | 397 | -rm -f *.$(OBJEXT) |
330 | 405 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreadosm_la-readosm.Plo@am__quote@ |
331 | 406 | |
332 | 407 | .c.o: |
333 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
334 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
335 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
408 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
409 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
410 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
336 | 411 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
337 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
412 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< | |
338 | 413 | |
339 | 414 | .c.obj: |
340 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
341 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
342 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
415 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
416 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
417 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
343 | 418 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
344 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
419 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` | |
345 | 420 | |
346 | 421 | .c.lo: |
347 | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
348 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | |
349 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | |
422 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
423 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | |
424 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | |
350 | 425 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
351 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | |
426 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< | |
352 | 427 | |
353 | 428 | libreadosm_la-readosm.lo: readosm.c |
354 | @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -MT libreadosm_la-readosm.lo -MD -MP -MF $(DEPDIR)/libreadosm_la-readosm.Tpo -c -o libreadosm_la-readosm.lo `test -f 'readosm.c' || echo '$(srcdir)/'`readosm.c | |
355 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libreadosm_la-readosm.Tpo $(DEPDIR)/libreadosm_la-readosm.Plo | |
356 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='readosm.c' object='libreadosm_la-readosm.lo' libtool=yes @AMDEPBACKSLASH@ | |
429 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -MT libreadosm_la-readosm.lo -MD -MP -MF $(DEPDIR)/libreadosm_la-readosm.Tpo -c -o libreadosm_la-readosm.lo `test -f 'readosm.c' || echo '$(srcdir)/'`readosm.c | |
430 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libreadosm_la-readosm.Tpo $(DEPDIR)/libreadosm_la-readosm.Plo | |
431 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='readosm.c' object='libreadosm_la-readosm.lo' libtool=yes @AMDEPBACKSLASH@ | |
357 | 432 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
358 | @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -c -o libreadosm_la-readosm.lo `test -f 'readosm.c' || echo '$(srcdir)/'`readosm.c | |
433 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -c -o libreadosm_la-readosm.lo `test -f 'readosm.c' || echo '$(srcdir)/'`readosm.c | |
359 | 434 | |
360 | 435 | libreadosm_la-osm_objects.lo: osm_objects.c |
361 | @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -MT libreadosm_la-osm_objects.lo -MD -MP -MF $(DEPDIR)/libreadosm_la-osm_objects.Tpo -c -o libreadosm_la-osm_objects.lo `test -f 'osm_objects.c' || echo '$(srcdir)/'`osm_objects.c | |
362 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libreadosm_la-osm_objects.Tpo $(DEPDIR)/libreadosm_la-osm_objects.Plo | |
363 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='osm_objects.c' object='libreadosm_la-osm_objects.lo' libtool=yes @AMDEPBACKSLASH@ | |
436 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -MT libreadosm_la-osm_objects.lo -MD -MP -MF $(DEPDIR)/libreadosm_la-osm_objects.Tpo -c -o libreadosm_la-osm_objects.lo `test -f 'osm_objects.c' || echo '$(srcdir)/'`osm_objects.c | |
437 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libreadosm_la-osm_objects.Tpo $(DEPDIR)/libreadosm_la-osm_objects.Plo | |
438 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='osm_objects.c' object='libreadosm_la-osm_objects.lo' libtool=yes @AMDEPBACKSLASH@ | |
364 | 439 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
365 | @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -c -o libreadosm_la-osm_objects.lo `test -f 'osm_objects.c' || echo '$(srcdir)/'`osm_objects.c | |
440 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -c -o libreadosm_la-osm_objects.lo `test -f 'osm_objects.c' || echo '$(srcdir)/'`osm_objects.c | |
366 | 441 | |
367 | 442 | libreadosm_la-osmxml.lo: osmxml.c |
368 | @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -MT libreadosm_la-osmxml.lo -MD -MP -MF $(DEPDIR)/libreadosm_la-osmxml.Tpo -c -o libreadosm_la-osmxml.lo `test -f 'osmxml.c' || echo '$(srcdir)/'`osmxml.c | |
369 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libreadosm_la-osmxml.Tpo $(DEPDIR)/libreadosm_la-osmxml.Plo | |
370 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='osmxml.c' object='libreadosm_la-osmxml.lo' libtool=yes @AMDEPBACKSLASH@ | |
443 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -MT libreadosm_la-osmxml.lo -MD -MP -MF $(DEPDIR)/libreadosm_la-osmxml.Tpo -c -o libreadosm_la-osmxml.lo `test -f 'osmxml.c' || echo '$(srcdir)/'`osmxml.c | |
444 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libreadosm_la-osmxml.Tpo $(DEPDIR)/libreadosm_la-osmxml.Plo | |
445 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='osmxml.c' object='libreadosm_la-osmxml.lo' libtool=yes @AMDEPBACKSLASH@ | |
371 | 446 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
372 | @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -c -o libreadosm_la-osmxml.lo `test -f 'osmxml.c' || echo '$(srcdir)/'`osmxml.c | |
447 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -c -o libreadosm_la-osmxml.lo `test -f 'osmxml.c' || echo '$(srcdir)/'`osmxml.c | |
373 | 448 | |
374 | 449 | libreadosm_la-protobuf.lo: protobuf.c |
375 | @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -MT libreadosm_la-protobuf.lo -MD -MP -MF $(DEPDIR)/libreadosm_la-protobuf.Tpo -c -o libreadosm_la-protobuf.lo `test -f 'protobuf.c' || echo '$(srcdir)/'`protobuf.c | |
376 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libreadosm_la-protobuf.Tpo $(DEPDIR)/libreadosm_la-protobuf.Plo | |
377 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='protobuf.c' object='libreadosm_la-protobuf.lo' libtool=yes @AMDEPBACKSLASH@ | |
450 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -MT libreadosm_la-protobuf.lo -MD -MP -MF $(DEPDIR)/libreadosm_la-protobuf.Tpo -c -o libreadosm_la-protobuf.lo `test -f 'protobuf.c' || echo '$(srcdir)/'`protobuf.c | |
451 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libreadosm_la-protobuf.Tpo $(DEPDIR)/libreadosm_la-protobuf.Plo | |
452 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protobuf.c' object='libreadosm_la-protobuf.lo' libtool=yes @AMDEPBACKSLASH@ | |
378 | 453 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
379 | @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -c -o libreadosm_la-protobuf.lo `test -f 'protobuf.c' || echo '$(srcdir)/'`protobuf.c | |
454 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreadosm_la_CFLAGS) $(CFLAGS) -c -o libreadosm_la-protobuf.lo `test -f 'protobuf.c' || echo '$(srcdir)/'`protobuf.c | |
380 | 455 | |
381 | 456 | mostlyclean-libtool: |
382 | 457 | -rm -f *.lo |
384 | 459 | clean-libtool: |
385 | 460 | -rm -rf .libs _libs |
386 | 461 | |
387 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
388 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
389 | unique=`for i in $$list; do \ | |
390 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
391 | done | \ | |
392 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
393 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
394 | mkid -fID $$unique | |
395 | tags: TAGS | |
396 | ||
397 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
398 | $(TAGS_FILES) $(LISP) | |
462 | ID: $(am__tagged_files) | |
463 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
464 | tags: tags-am | |
465 | TAGS: tags | |
466 | ||
467 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
399 | 468 | set x; \ |
400 | 469 | here=`pwd`; \ |
401 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
402 | unique=`for i in $$list; do \ | |
403 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
404 | done | \ | |
405 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
406 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
470 | $(am__define_uniq_tagged_files); \ | |
407 | 471 | shift; \ |
408 | 472 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
409 | 473 | test -n "$$unique" || unique=$$empty_fix; \ |
415 | 479 | $$unique; \ |
416 | 480 | fi; \ |
417 | 481 | fi |
418 | ctags: CTAGS | |
419 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
420 | $(TAGS_FILES) $(LISP) | |
421 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
422 | unique=`for i in $$list; do \ | |
423 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
424 | done | \ | |
425 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
426 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
482 | ctags: ctags-am | |
483 | ||
484 | CTAGS: ctags | |
485 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
486 | $(am__define_uniq_tagged_files); \ | |
427 | 487 | test -z "$(CTAGS_ARGS)$$unique" \ |
428 | 488 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
429 | 489 | $$unique |
432 | 492 | here=`$(am__cd) $(top_builddir) && pwd` \ |
433 | 493 | && $(am__cd) $(top_srcdir) \ |
434 | 494 | && gtags -i $(GTAGS_ARGS) "$$here" |
495 | cscopelist: cscopelist-am | |
496 | ||
497 | cscopelist-am: $(am__tagged_files) | |
498 | list='$(am__tagged_files)'; \ | |
499 | case "$(srcdir)" in \ | |
500 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
501 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
502 | esac; \ | |
503 | for i in $$list; do \ | |
504 | if test -f "$$i"; then \ | |
505 | echo "$(subdir)/$$i"; \ | |
506 | else \ | |
507 | echo "$$sdir/$$i"; \ | |
508 | fi; \ | |
509 | done >> $(top_builddir)/cscope.files | |
435 | 510 | |
436 | 511 | distclean-tags: |
437 | 512 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
577 | 652 | |
578 | 653 | .MAKE: install-am install-strip |
579 | 654 | |
580 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
581 | clean-libLTLIBRARIES clean-libtool ctags distclean \ | |
582 | distclean-compile distclean-generic distclean-libtool \ | |
583 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | |
584 | install install-am install-data install-data-am install-dvi \ | |
585 | install-dvi-am install-exec install-exec-am install-html \ | |
586 | install-html-am install-info install-info-am \ | |
587 | install-libLTLIBRARIES install-man install-pdf install-pdf-am \ | |
588 | install-ps install-ps-am install-strip installcheck \ | |
589 | installcheck-am installdirs maintainer-clean \ | |
655 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ | |
656 | clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ | |
657 | ctags-am distclean distclean-compile distclean-generic \ | |
658 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | |
659 | html-am info info-am install install-am install-data \ | |
660 | install-data-am install-dvi install-dvi-am install-exec \ | |
661 | install-exec-am install-html install-html-am install-info \ | |
662 | install-info-am install-libLTLIBRARIES install-man install-pdf \ | |
663 | install-pdf-am install-ps install-ps-am install-strip \ | |
664 | installcheck installcheck-am installdirs maintainer-clean \ | |
590 | 665 | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
591 | 666 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
592 | tags uninstall uninstall-am uninstall-libLTLIBRARIES | |
667 | tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES | |
593 | 668 | |
594 | 669 | |
595 | 670 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
1101 | 1101 | / |
1102 | 1102 | / each "string" in turn contains an array of INT values; |
1103 | 1103 | / and individual values are usually encoded as DELTAs, |
1104 | / i.e. differences respect the immedialy preceding value. | |
1104 | / i.e. differences respect the immediately preceding value. | |
1105 | 1105 | */ |
1106 | 1106 | readosm_variant variant; |
1107 | 1107 | unsigned char *base = start; |
1372 | 1372 | readosm_packed_infos packed_infos; |
1373 | 1373 | readosm_internal_node *nodes = NULL; |
1374 | 1374 | int nd_count = 0; |
1375 | int valid = 0; | |
1376 | int fromPackedInfos = 0; | |
1375 | 1377 | |
1376 | 1378 | /* initializing empty packed objects */ |
1377 | 1379 | init_uint32_packed (&packed_keys); |
1451 | 1453 | break; |
1452 | 1454 | } |
1453 | 1455 | if (packed_ids.count == packed_lats.count |
1456 | && packed_ids.count == packed_lons.count) | |
1457 | { | |
1458 | /* not using PackedInfos */ | |
1459 | valid = 1; | |
1460 | } | |
1461 | if (packed_ids.count == packed_lats.count | |
1454 | 1462 | && packed_ids.count == packed_lons.count |
1455 | 1463 | && packed_ids.count == packed_infos.ver_count |
1456 | 1464 | && packed_ids.count == packed_infos.tim_count |
1458 | 1466 | && packed_ids.count == packed_infos.uid_count |
1459 | 1467 | && packed_ids.count == packed_infos.usr_count) |
1460 | 1468 | { |
1461 | /* | |
1469 | /* from PackedInfos */ | |
1470 | valid = 1; | |
1471 | fromPackedInfos = 1; | |
1472 | } | |
1473 | if (!valid) | |
1474 | goto error; | |
1475 | else | |
1476 | { | |
1477 | /* | |
1462 | 1478 | / all right, we now have the same item count anywhere |
1463 | 1479 | / we can now go further away attempting to reassemble |
1464 | 1480 | / individual Nodes |
1501 | 1517 | /* latitudes and longitudes require to be rescaled as DOUBLEs */ |
1502 | 1518 | nd->latitude = delta_lat / 10000000.0; |
1503 | 1519 | nd->longitude = delta_lon / 10000000.0; |
1504 | nd->version = *(packed_infos.versions + base + i); | |
1505 | xtime = *(packed_infos.timestamps + base + i); | |
1506 | times = gmtime (&xtime); | |
1507 | if (times) | |
1520 | if (fromPackedInfos) | |
1508 | 1521 | { |
1509 | /* formatting Timestamps */ | |
1510 | char buf[64]; | |
1511 | int len; | |
1512 | sprintf (buf, "%04d-%02d-%02dT%02d:%02d:%02dZ", | |
1513 | times->tm_year + 1900, times->tm_mon + 1, | |
1514 | times->tm_mday, times->tm_hour, | |
1515 | times->tm_min, times->tm_sec); | |
1516 | if (nd->timestamp) | |
1517 | free (nd->timestamp); | |
1518 | len = strlen (buf); | |
1519 | nd->timestamp = malloc (len + 1); | |
1520 | strcpy (nd->timestamp, buf); | |
1521 | } | |
1522 | nd->changeset = *(packed_infos.changesets + base + i); | |
1523 | if (*(packed_infos.uids + base + i) >= 0) | |
1524 | nd->uid = *(packed_infos.uids + base + i); | |
1525 | s_id = *(packed_infos.users + base + i); | |
1526 | if (s_id > 0) | |
1527 | { | |
1528 | /* retrieving user-names as strings (by index) */ | |
1529 | readosm_string *s_ptr = *(strings->strings + s_id); | |
1530 | int len = strlen (s_ptr->string); | |
1531 | if (nd->user != NULL) | |
1532 | free (nd->user); | |
1533 | if (len > 0) | |
1522 | nd->version = *(packed_infos.versions + base + i); | |
1523 | xtime = *(packed_infos.timestamps + base + i); | |
1524 | times = gmtime (&xtime); | |
1525 | if (times) | |
1534 | 1526 | { |
1535 | nd->user = malloc (len + 1); | |
1536 | strcpy (nd->user, s_ptr->string); | |
1527 | /* formatting Timestamps */ | |
1528 | char buf[64]; | |
1529 | int len; | |
1530 | sprintf (buf, | |
1531 | "%04d-%02d-%02dT%02d:%02d:%02dZ", | |
1532 | times->tm_year + 1900, | |
1533 | times->tm_mon + 1, times->tm_mday, | |
1534 | times->tm_hour, times->tm_min, | |
1535 | times->tm_sec); | |
1536 | if (nd->timestamp) | |
1537 | free (nd->timestamp); | |
1538 | len = strlen (buf); | |
1539 | nd->timestamp = malloc (len + 1); | |
1540 | strcpy (nd->timestamp, buf); | |
1541 | } | |
1542 | nd->changeset = | |
1543 | *(packed_infos.changesets + base + i); | |
1544 | if (*(packed_infos.uids + base + i) >= 0) | |
1545 | nd->uid = *(packed_infos.uids + base + i); | |
1546 | s_id = *(packed_infos.users + base + i); | |
1547 | if (s_id > 0) | |
1548 | { | |
1549 | /* retrieving user-names as strings (by index) */ | |
1550 | readosm_string *s_ptr = | |
1551 | *(strings->strings + s_id); | |
1552 | int len = strlen (s_ptr->string); | |
1553 | if (nd->user != NULL) | |
1554 | free (nd->user); | |
1555 | if (len > 0) | |
1556 | { | |
1557 | nd->user = malloc (len + 1); | |
1558 | strcpy (nd->user, s_ptr->string); | |
1559 | } | |
1537 | 1560 | } |
1538 | 1561 | } |
1539 | 1562 | for (; i_keys < packed_keys.count; i_keys++) |
0 | #! /bin/sh | |
1 | # test-driver - basic testsuite driver script. | |
2 | ||
3 | scriptversion=2012-06-27.10; # UTC | |
4 | ||
5 | # Copyright (C) 2011-2013 Free Software Foundation, Inc. | |
6 | # | |
7 | # This program is free software; you can redistribute it and/or modify | |
8 | # it under the terms of the GNU General Public License as published by | |
9 | # the Free Software Foundation; either version 2, or (at your option) | |
10 | # any later version. | |
11 | # | |
12 | # This program is distributed in the hope that it will be useful, | |
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | # GNU General Public License for more details. | |
16 | # | |
17 | # You should have received a copy of the GNU General Public License | |
18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 | ||
20 | # As a special exception to the GNU General Public License, if you | |
21 | # distribute this file as part of a program that contains a | |
22 | # configuration script generated by Autoconf, you may include it under | |
23 | # the same distribution terms that you use for the rest of that program. | |
24 | ||
25 | # This file is maintained in Automake, please report | |
26 | # bugs to <bug-automake@gnu.org> or send patches to | |
27 | # <automake-patches@gnu.org>. | |
28 | ||
29 | # Make unconditional expansion of undefined variables an error. This | |
30 | # helps a lot in preventing typo-related bugs. | |
31 | set -u | |
32 | ||
33 | usage_error () | |
34 | { | |
35 | echo "$0: $*" >&2 | |
36 | print_usage >&2 | |
37 | exit 2 | |
38 | } | |
39 | ||
40 | print_usage () | |
41 | { | |
42 | cat <<END | |
43 | Usage: | |
44 | test-driver --test-name=NAME --log-file=PATH --trs-file=PATH | |
45 | [--expect-failure={yes|no}] [--color-tests={yes|no}] | |
46 | [--enable-hard-errors={yes|no}] [--] TEST-SCRIPT | |
47 | The '--test-name', '--log-file' and '--trs-file' options are mandatory. | |
48 | END | |
49 | } | |
50 | ||
51 | # TODO: better error handling in option parsing (in particular, ensure | |
52 | # TODO: $log_file, $trs_file and $test_name are defined). | |
53 | test_name= # Used for reporting. | |
54 | log_file= # Where to save the output of the test script. | |
55 | trs_file= # Where to save the metadata of the test run. | |
56 | expect_failure=no | |
57 | color_tests=no | |
58 | enable_hard_errors=yes | |
59 | while test $# -gt 0; do | |
60 | case $1 in | |
61 | --help) print_usage; exit $?;; | |
62 | --version) echo "test-driver $scriptversion"; exit $?;; | |
63 | --test-name) test_name=$2; shift;; | |
64 | --log-file) log_file=$2; shift;; | |
65 | --trs-file) trs_file=$2; shift;; | |
66 | --color-tests) color_tests=$2; shift;; | |
67 | --expect-failure) expect_failure=$2; shift;; | |
68 | --enable-hard-errors) enable_hard_errors=$2; shift;; | |
69 | --) shift; break;; | |
70 | -*) usage_error "invalid option: '$1'";; | |
71 | esac | |
72 | shift | |
73 | done | |
74 | ||
75 | if test $color_tests = yes; then | |
76 | # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'. | |
77 | red='[0;31m' # Red. | |
78 | grn='[0;32m' # Green. | |
79 | lgn='[1;32m' # Light green. | |
80 | blu='[1;34m' # Blue. | |
81 | mgn='[0;35m' # Magenta. | |
82 | std='[m' # No color. | |
83 | else | |
84 | red= grn= lgn= blu= mgn= std= | |
85 | fi | |
86 | ||
87 | do_exit='rm -f $log_file $trs_file; (exit $st); exit $st' | |
88 | trap "st=129; $do_exit" 1 | |
89 | trap "st=130; $do_exit" 2 | |
90 | trap "st=141; $do_exit" 13 | |
91 | trap "st=143; $do_exit" 15 | |
92 | ||
93 | # Test script is run here. | |
94 | "$@" >$log_file 2>&1 | |
95 | estatus=$? | |
96 | if test $enable_hard_errors = no && test $estatus -eq 99; then | |
97 | estatus=1 | |
98 | fi | |
99 | ||
100 | case $estatus:$expect_failure in | |
101 | 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; | |
102 | 0:*) col=$grn res=PASS recheck=no gcopy=no;; | |
103 | 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; | |
104 | 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; | |
105 | *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; | |
106 | *:*) col=$red res=FAIL recheck=yes gcopy=yes;; | |
107 | esac | |
108 | ||
109 | # Report outcome to console. | |
110 | echo "${col}${res}${std}: $test_name" | |
111 | ||
112 | # Register the test result, and other relevant metadata. | |
113 | echo ":test-result: $res" > $trs_file | |
114 | echo ":global-test-result: $res" >> $trs_file | |
115 | echo ":recheck: $recheck" >> $trs_file | |
116 | echo ":copy-in-global-log: $gcopy" >> $trs_file | |
117 | ||
118 | # Local Variables: | |
119 | # mode: shell-script | |
120 | # sh-indentation: 2 | |
121 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
122 | # time-stamp-start: "scriptversion=" | |
123 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
124 | # time-stamp-time-zone: "UTC" | |
125 | # time-stamp-end: "; # UTC" | |
126 | # End: |