Imported Upstream version 1.0.0d
Bas Couwenberg
9 years ago
0 | # Makefile.in generated by automake 1.13.4 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | 3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. |
82 | 82 | $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ |
83 | 83 | $(top_srcdir)/configure $(am__configure_deps) \ |
84 | 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 | |
85 | $(srcdir)/readosm.pc.in COPYING compile config.guess \ | |
86 | config.sub depcomp install-sh missing ltmain.sh | |
87 | 87 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
88 | 88 | am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ |
89 | 89 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
393 | 393 | $(am__aclocal_m4_deps): |
394 | 394 | |
395 | 395 | config.h: stamp-h1 |
396 | @if test ! -f $@; then rm -f stamp-h1; else :; fi | |
397 | @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi | |
396 | @test -f $@ || rm -f stamp-h1 | |
397 | @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 | |
398 | 398 | |
399 | 399 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
400 | 400 | @rm -f stamp-h1 |
628 | 628 | $(am__post_remove_distdir) |
629 | 629 | |
630 | 630 | dist-tarZ: distdir |
631 | @echo WARNING: "Support for shar distribution archives is" \ | |
632 | "deprecated." >&2 | |
633 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | |
631 | 634 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
632 | 635 | $(am__post_remove_distdir) |
633 | 636 | |
634 | 637 | dist-shar: distdir |
638 | @echo WARNING: "Support for distribution archives compressed with" \ | |
639 | "legacy program 'compress' is deprecated." >&2 | |
640 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | |
635 | 641 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
636 | 642 | $(am__post_remove_distdir) |
637 | 643 | dist-zip: distdir |
672 | 678 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
673 | 679 | && am__cwd=`pwd` \ |
674 | 680 | && $(am__cd) $(distdir)/_build \ |
675 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | |
681 | && ../configure \ | |
676 | 682 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
677 | 683 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
684 | --srcdir=.. --prefix="$$dc_install_base" \ | |
678 | 685 | && $(MAKE) $(AM_MAKEFLAGS) \ |
679 | 686 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
680 | 687 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
0 | # generated automatically by aclocal 1.13.4 -*- Autoconf -*- | |
0 | # generated automatically by aclocal 1.14.1 -*- Autoconf -*- | |
1 | 1 | |
2 | 2 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. |
3 | 3 | |
31 | 31 | # generated from the m4 files accompanying Automake X.Y. |
32 | 32 | # (This private macro should not be called outside this file.) |
33 | 33 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
34 | [am__api_version='1.13' | |
34 | [am__api_version='1.14' | |
35 | 35 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
36 | 36 | dnl require some minimum version. Point them to the right macro. |
37 | m4_if([$1], [1.13.4], [], | |
37 | m4_if([$1], [1.14.1], [], | |
38 | 38 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
39 | 39 | ]) |
40 | 40 | |
50 | 50 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
51 | 51 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
52 | 52 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
53 | [AM_AUTOMAKE_VERSION([1.13.4])dnl | |
53 | [AM_AUTOMAKE_VERSION([1.14.1])dnl | |
54 | 54 | m4_ifndef([AC_AUTOCONF_VERSION], |
55 | 55 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
56 | 56 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
417 | 417 | # This macro actually does too much. Some checks are only needed if |
418 | 418 | # your package does certain things. But this isn't really a big deal. |
419 | 419 | |
420 | dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. | |
421 | m4_define([AC_PROG_CC], | |
422 | m4_defn([AC_PROG_CC]) | |
423 | [_AM_PROG_CC_C_O | |
424 | ]) | |
425 | ||
420 | 426 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
421 | 427 | # AM_INIT_AUTOMAKE([OPTIONS]) |
422 | 428 | # ----------------------------------------------- |
525 | 531 | AC_CONFIG_COMMANDS_PRE(dnl |
526 | 532 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
527 | 533 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
528 | ]) | |
534 | ||
535 | # POSIX will say in a future version that running "rm -f" with no argument | |
536 | # is OK; and we want to be able to make that assumption in our Makefile | |
537 | # recipes. So use an aggressive probe to check that the usage we want is | |
538 | # actually supported "in the wild" to an acceptable degree. | |
539 | # See automake bug#10828. | |
540 | # To make any issue more visible, cause the running configure to be aborted | |
541 | # by default if the 'rm' program in use doesn't match our expectations; the | |
542 | # user can still override this though. | |
543 | if rm -f && rm -fr && rm -rf; then : OK; else | |
544 | cat >&2 <<'END' | |
545 | Oops! | |
546 | ||
547 | Your 'rm' program seems unable to run without file operands specified | |
548 | on the command line, even when the '-f' option is present. This is contrary | |
549 | to the behaviour of most rm programs out there, and not conforming with | |
550 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
551 | ||
552 | Please tell bug-automake@gnu.org about your system, including the value | |
553 | of your $PATH and any error possibly output before this message. This | |
554 | can help us improve future automake versions. | |
555 | ||
556 | END | |
557 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
558 | echo 'Configuration will proceed anyway, since you have set the' >&2 | |
559 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
560 | echo >&2 | |
561 | else | |
562 | cat >&2 <<'END' | |
563 | Aborting the configuration process, to ensure you take notice of the issue. | |
564 | ||
565 | You can download and install GNU coreutils to get an 'rm' implementation | |
566 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
567 | ||
568 | If you want to complete the configuration process using your problematic | |
569 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
570 | to "yes", and re-run configure. | |
571 | ||
572 | END | |
573 | AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) | |
574 | fi | |
575 | fi]) | |
529 | 576 | |
530 | 577 | dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
531 | 578 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
532 | 579 | dnl mangled by Autoconf and run in a shell conditional statement. |
533 | 580 | m4_define([_AC_COMPILER_EXEEXT], |
534 | 581 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
535 | ||
536 | 582 | |
537 | 583 | # When config.status generates a header, we must update the stamp-h file. |
538 | 584 | # This file resides in the same directory as the config header |
780 | 826 | AC_DEFUN([_AM_IF_OPTION], |
781 | 827 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
782 | 828 | |
829 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
830 | # | |
831 | # This file is free software; the Free Software Foundation | |
832 | # gives unlimited permission to copy and/or distribute it, | |
833 | # with or without modifications, as long as this notice is preserved. | |
834 | ||
835 | # _AM_PROG_CC_C_O | |
836 | # --------------- | |
837 | # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC | |
838 | # to automatically call this. | |
839 | AC_DEFUN([_AM_PROG_CC_C_O], | |
840 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
841 | AC_REQUIRE_AUX_FILE([compile])dnl | |
842 | AC_LANG_PUSH([C])dnl | |
843 | AC_CACHE_CHECK( | |
844 | [whether $CC understands -c and -o together], | |
845 | [am_cv_prog_cc_c_o], | |
846 | [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) | |
847 | # Make sure it works both with $CC and with simple cc. | |
848 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
849 | # compilers refuse to overwrite an existing .o file with -o, | |
850 | # though they will create one. | |
851 | am_cv_prog_cc_c_o=yes | |
852 | for am_i in 1 2; do | |
853 | if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ | |
854 | && test -f conftest2.$ac_objext; then | |
855 | : OK | |
856 | else | |
857 | am_cv_prog_cc_c_o=no | |
858 | break | |
859 | fi | |
860 | done | |
861 | rm -f core conftest* | |
862 | unset am_i]) | |
863 | if test "$am_cv_prog_cc_c_o" != yes; then | |
864 | # Losing compiler, so override with the script. | |
865 | # FIXME: It is wrong to rewrite CC. | |
866 | # But if we don't then we get into trouble of one sort or another. | |
867 | # A longer-term fix would be to have automake use am__CC in this case, | |
868 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
869 | CC="$am_aux_dir/compile $CC" | |
870 | fi | |
871 | AC_LANG_POP([C])]) | |
872 | ||
873 | # For backward compatibility. | |
874 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) | |
875 | ||
876 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
877 | # | |
878 | # This file is free software; the Free Software Foundation | |
879 | # gives unlimited permission to copy and/or distribute it, | |
880 | # with or without modifications, as long as this notice is preserved. | |
881 | ||
882 | # AM_RUN_LOG(COMMAND) | |
883 | # ------------------- | |
884 | # Run COMMAND, save the exit status in ac_status, and log it. | |
885 | # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) | |
886 | AC_DEFUN([AM_RUN_LOG], | |
887 | [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD | |
888 | ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD | |
889 | ac_status=$? | |
890 | echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | |
891 | (exit $ac_status); }]) | |
892 | ||
783 | 893 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
784 | 894 | |
785 | 895 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. |
0 | #! /bin/sh | |
1 | # Wrapper for compilers which do not understand '-c -o'. | |
2 | ||
3 | scriptversion=2012-10-14.11; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
6 | # Written by Tom Tromey <tromey@cygnus.com>. | |
7 | # | |
8 | # This program is free software; you can redistribute it and/or modify | |
9 | # it under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 2, or (at your option) | |
11 | # any later version. | |
12 | # | |
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | # GNU General Public License for more details. | |
17 | # | |
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | ||
21 | # As a special exception to the GNU General Public License, if you | |
22 | # distribute this file as part of a program that contains a | |
23 | # configuration script generated by Autoconf, you may include it under | |
24 | # the same distribution terms that you use for the rest of that program. | |
25 | ||
26 | # This file is maintained in Automake, please report | |
27 | # bugs to <bug-automake@gnu.org> or send patches to | |
28 | # <automake-patches@gnu.org>. | |
29 | ||
30 | nl=' | |
31 | ' | |
32 | ||
33 | # We need space, tab and new line, in precisely that order. Quoting is | |
34 | # there to prevent tools from complaining about whitespace usage. | |
35 | IFS=" "" $nl" | |
36 | ||
37 | file_conv= | |
38 | ||
39 | # func_file_conv build_file lazy | |
40 | # Convert a $build file to $host form and store it in $file | |
41 | # Currently only supports Windows hosts. If the determined conversion | |
42 | # type is listed in (the comma separated) LAZY, no conversion will | |
43 | # take place. | |
44 | func_file_conv () | |
45 | { | |
46 | file=$1 | |
47 | case $file in | |
48 | / | /[!/]*) # absolute file, and not a UNC file | |
49 | if test -z "$file_conv"; then | |
50 | # lazily determine how to convert abs files | |
51 | case `uname -s` in | |
52 | MINGW*) | |
53 | file_conv=mingw | |
54 | ;; | |
55 | CYGWIN*) | |
56 | file_conv=cygwin | |
57 | ;; | |
58 | *) | |
59 | file_conv=wine | |
60 | ;; | |
61 | esac | |
62 | fi | |
63 | case $file_conv/,$2, in | |
64 | *,$file_conv,*) | |
65 | ;; | |
66 | mingw/*) | |
67 | file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` | |
68 | ;; | |
69 | cygwin/*) | |
70 | file=`cygpath -m "$file" || echo "$file"` | |
71 | ;; | |
72 | wine/*) | |
73 | file=`winepath -w "$file" || echo "$file"` | |
74 | ;; | |
75 | esac | |
76 | ;; | |
77 | esac | |
78 | } | |
79 | ||
80 | # func_cl_dashL linkdir | |
81 | # Make cl look for libraries in LINKDIR | |
82 | func_cl_dashL () | |
83 | { | |
84 | func_file_conv "$1" | |
85 | if test -z "$lib_path"; then | |
86 | lib_path=$file | |
87 | else | |
88 | lib_path="$lib_path;$file" | |
89 | fi | |
90 | linker_opts="$linker_opts -LIBPATH:$file" | |
91 | } | |
92 | ||
93 | # func_cl_dashl library | |
94 | # Do a library search-path lookup for cl | |
95 | func_cl_dashl () | |
96 | { | |
97 | lib=$1 | |
98 | found=no | |
99 | save_IFS=$IFS | |
100 | IFS=';' | |
101 | for dir in $lib_path $LIB | |
102 | do | |
103 | IFS=$save_IFS | |
104 | if $shared && test -f "$dir/$lib.dll.lib"; then | |
105 | found=yes | |
106 | lib=$dir/$lib.dll.lib | |
107 | break | |
108 | fi | |
109 | if test -f "$dir/$lib.lib"; then | |
110 | found=yes | |
111 | lib=$dir/$lib.lib | |
112 | break | |
113 | fi | |
114 | if test -f "$dir/lib$lib.a"; then | |
115 | found=yes | |
116 | lib=$dir/lib$lib.a | |
117 | break | |
118 | fi | |
119 | done | |
120 | IFS=$save_IFS | |
121 | ||
122 | if test "$found" != yes; then | |
123 | lib=$lib.lib | |
124 | fi | |
125 | } | |
126 | ||
127 | # func_cl_wrapper cl arg... | |
128 | # Adjust compile command to suit cl | |
129 | func_cl_wrapper () | |
130 | { | |
131 | # Assume a capable shell | |
132 | lib_path= | |
133 | shared=: | |
134 | linker_opts= | |
135 | for arg | |
136 | do | |
137 | if test -n "$eat"; then | |
138 | eat= | |
139 | else | |
140 | case $1 in | |
141 | -o) | |
142 | # configure might choose to run compile as 'compile cc -o foo foo.c'. | |
143 | eat=1 | |
144 | case $2 in | |
145 | *.o | *.[oO][bB][jJ]) | |
146 | func_file_conv "$2" | |
147 | set x "$@" -Fo"$file" | |
148 | shift | |
149 | ;; | |
150 | *) | |
151 | func_file_conv "$2" | |
152 | set x "$@" -Fe"$file" | |
153 | shift | |
154 | ;; | |
155 | esac | |
156 | ;; | |
157 | -I) | |
158 | eat=1 | |
159 | func_file_conv "$2" mingw | |
160 | set x "$@" -I"$file" | |
161 | shift | |
162 | ;; | |
163 | -I*) | |
164 | func_file_conv "${1#-I}" mingw | |
165 | set x "$@" -I"$file" | |
166 | shift | |
167 | ;; | |
168 | -l) | |
169 | eat=1 | |
170 | func_cl_dashl "$2" | |
171 | set x "$@" "$lib" | |
172 | shift | |
173 | ;; | |
174 | -l*) | |
175 | func_cl_dashl "${1#-l}" | |
176 | set x "$@" "$lib" | |
177 | shift | |
178 | ;; | |
179 | -L) | |
180 | eat=1 | |
181 | func_cl_dashL "$2" | |
182 | ;; | |
183 | -L*) | |
184 | func_cl_dashL "${1#-L}" | |
185 | ;; | |
186 | -static) | |
187 | shared=false | |
188 | ;; | |
189 | -Wl,*) | |
190 | arg=${1#-Wl,} | |
191 | save_ifs="$IFS"; IFS=',' | |
192 | for flag in $arg; do | |
193 | IFS="$save_ifs" | |
194 | linker_opts="$linker_opts $flag" | |
195 | done | |
196 | IFS="$save_ifs" | |
197 | ;; | |
198 | -Xlinker) | |
199 | eat=1 | |
200 | linker_opts="$linker_opts $2" | |
201 | ;; | |
202 | -*) | |
203 | set x "$@" "$1" | |
204 | shift | |
205 | ;; | |
206 | *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) | |
207 | func_file_conv "$1" | |
208 | set x "$@" -Tp"$file" | |
209 | shift | |
210 | ;; | |
211 | *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) | |
212 | func_file_conv "$1" mingw | |
213 | set x "$@" "$file" | |
214 | shift | |
215 | ;; | |
216 | *) | |
217 | set x "$@" "$1" | |
218 | shift | |
219 | ;; | |
220 | esac | |
221 | fi | |
222 | shift | |
223 | done | |
224 | if test -n "$linker_opts"; then | |
225 | linker_opts="-link$linker_opts" | |
226 | fi | |
227 | exec "$@" $linker_opts | |
228 | exit 1 | |
229 | } | |
230 | ||
231 | eat= | |
232 | ||
233 | case $1 in | |
234 | '') | |
235 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | |
236 | exit 1; | |
237 | ;; | |
238 | -h | --h*) | |
239 | cat <<\EOF | |
240 | Usage: compile [--help] [--version] PROGRAM [ARGS] | |
241 | ||
242 | Wrapper for compilers which do not understand '-c -o'. | |
243 | Remove '-o dest.o' from ARGS, run PROGRAM with the remaining | |
244 | arguments, and rename the output as expected. | |
245 | ||
246 | If you are trying to build a whole package this is not the | |
247 | right script to run: please start by reading the file 'INSTALL'. | |
248 | ||
249 | Report bugs to <bug-automake@gnu.org>. | |
250 | EOF | |
251 | exit $? | |
252 | ;; | |
253 | -v | --v*) | |
254 | echo "compile $scriptversion" | |
255 | exit $? | |
256 | ;; | |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | |
258 | func_cl_wrapper "$@" # Doesn't return... | |
259 | ;; | |
260 | esac | |
261 | ||
262 | ofile= | |
263 | cfile= | |
264 | ||
265 | for arg | |
266 | do | |
267 | if test -n "$eat"; then | |
268 | eat= | |
269 | else | |
270 | case $1 in | |
271 | -o) | |
272 | # configure might choose to run compile as 'compile cc -o foo foo.c'. | |
273 | # So we strip '-o arg' only if arg is an object. | |
274 | eat=1 | |
275 | case $2 in | |
276 | *.o | *.obj) | |
277 | ofile=$2 | |
278 | ;; | |
279 | *) | |
280 | set x "$@" -o "$2" | |
281 | shift | |
282 | ;; | |
283 | esac | |
284 | ;; | |
285 | *.c) | |
286 | cfile=$1 | |
287 | set x "$@" "$1" | |
288 | shift | |
289 | ;; | |
290 | *) | |
291 | set x "$@" "$1" | |
292 | shift | |
293 | ;; | |
294 | esac | |
295 | fi | |
296 | shift | |
297 | done | |
298 | ||
299 | if test -z "$ofile" || test -z "$cfile"; then | |
300 | # If no '-o' option was seen then we might have been invoked from a | |
301 | # pattern rule where we don't need one. That is ok -- this is a | |
302 | # normal compilation that the losing compiler can handle. If no | |
303 | # '.c' file was seen then we are probably linking. That is also | |
304 | # ok. | |
305 | exec "$@" | |
306 | fi | |
307 | ||
308 | # Name of file we expect compiler to create. | |
309 | cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` | |
310 | ||
311 | # Create the lock directory. | |
312 | # Note: use '[/\\:.-]' here to ensure that we don't use the same name | |
313 | # that we are using for the .o file. Also, base the name on the expected | |
314 | # object file name, since that is what matters with a parallel build. | |
315 | lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d | |
316 | while true; do | |
317 | if mkdir "$lockdir" >/dev/null 2>&1; then | |
318 | break | |
319 | fi | |
320 | sleep 1 | |
321 | done | |
322 | # FIXME: race condition here if user kills between mkdir and trap. | |
323 | trap "rmdir '$lockdir'; exit 1" 1 2 15 | |
324 | ||
325 | # Run the compile. | |
326 | "$@" | |
327 | ret=$? | |
328 | ||
329 | if test -f "$cofile"; then | |
330 | test "$cofile" = "$ofile" || mv "$cofile" "$ofile" | |
331 | elif test -f "${cofile}bj"; then | |
332 | test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" | |
333 | fi | |
334 | ||
335 | rmdir "$lockdir" | |
336 | exit $ret | |
337 | ||
338 | # Local Variables: | |
339 | # mode: shell-script | |
340 | # sh-indentation: 2 | |
341 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
342 | # time-stamp-start: "scriptversion=" | |
343 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
344 | # time-stamp-time-zone: "UTC" | |
345 | # time-stamp-end: "; # UTC" | |
346 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for readosm 1.0.0c. | |
2 | # Generated by GNU Autoconf 2.69 for readosm 1.0.0d. | |
3 | 3 | # |
4 | 4 | # Report bugs to <a.furieri@lqt.it>. |
5 | 5 | # |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='readosm' |
591 | 591 | PACKAGE_TARNAME='readosm' |
592 | PACKAGE_VERSION='1.0.0c' | |
593 | PACKAGE_STRING='readosm 1.0.0c' | |
592 | PACKAGE_VERSION='1.0.0d' | |
593 | PACKAGE_STRING='readosm 1.0.0d' | |
594 | 594 | PACKAGE_BUGREPORT='a.furieri@lqt.it' |
595 | 595 | PACKAGE_URL='' |
596 | 596 | |
1325 | 1325 | # Omit some internal or obsolete options to make the list less imposing. |
1326 | 1326 | # This message is too long to be a string in the A/UX 3.1 sh. |
1327 | 1327 | cat <<_ACEOF |
1328 | \`configure' configures readosm 1.0.0c to adapt to many kinds of systems. | |
1328 | \`configure' configures readosm 1.0.0d to adapt to many kinds of systems. | |
1329 | 1329 | |
1330 | 1330 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1331 | 1331 | |
1395 | 1395 | |
1396 | 1396 | if test -n "$ac_init_help"; then |
1397 | 1397 | case $ac_init_help in |
1398 | short | recursive ) echo "Configuration of readosm 1.0.0c:";; | |
1398 | short | recursive ) echo "Configuration of readosm 1.0.0d:";; | |
1399 | 1399 | esac |
1400 | 1400 | cat <<\_ACEOF |
1401 | 1401 | |
1507 | 1507 | test -n "$ac_init_help" && exit $ac_status |
1508 | 1508 | if $ac_init_version; then |
1509 | 1509 | cat <<\_ACEOF |
1510 | readosm configure 1.0.0c | |
1510 | readosm configure 1.0.0d | |
1511 | 1511 | generated by GNU Autoconf 2.69 |
1512 | 1512 | |
1513 | 1513 | Copyright (C) 2012 Free Software Foundation, Inc. |
2051 | 2051 | This file contains any messages produced by compilers while |
2052 | 2052 | running configure, to aid debugging if configure makes a mistake. |
2053 | 2053 | |
2054 | It was created by readosm $as_me 1.0.0c, which was | |
2054 | It was created by readosm $as_me 1.0.0d, which was | |
2055 | 2055 | generated by GNU Autoconf 2.69. Invocation command line was |
2056 | 2056 | |
2057 | 2057 | $ $0 $@ |
2436 | 2436 | |
2437 | 2437 | |
2438 | 2438 | |
2439 | am__api_version='1.13' | |
2439 | am__api_version='1.14' | |
2440 | 2440 | |
2441 | 2441 | # Find a good install program. We prefer a C program (faster), |
2442 | 2442 | # so one script is as good as another. But avoid the broken or |
2922 | 2922 | |
2923 | 2923 | # Define the identity of the package. |
2924 | 2924 | PACKAGE='readosm' |
2925 | VERSION='1.0.0c' | |
2925 | VERSION='1.0.0d' | |
2926 | 2926 | |
2927 | 2927 | |
2928 | 2928 | cat >>confdefs.h <<_ACEOF |
2973 | 2973 | |
2974 | 2974 | |
2975 | 2975 | |
2976 | # POSIX will say in a future version that running "rm -f" with no argument | |
2977 | # is OK; and we want to be able to make that assumption in our Makefile | |
2978 | # recipes. So use an aggressive probe to check that the usage we want is | |
2979 | # actually supported "in the wild" to an acceptable degree. | |
2980 | # See automake bug#10828. | |
2981 | # To make any issue more visible, cause the running configure to be aborted | |
2982 | # by default if the 'rm' program in use doesn't match our expectations; the | |
2983 | # user can still override this though. | |
2984 | if rm -f && rm -fr && rm -rf; then : OK; else | |
2985 | cat >&2 <<'END' | |
2986 | Oops! | |
2987 | ||
2988 | Your 'rm' program seems unable to run without file operands specified | |
2989 | on the command line, even when the '-f' option is present. This is contrary | |
2990 | to the behaviour of most rm programs out there, and not conforming with | |
2991 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
2992 | ||
2993 | Please tell bug-automake@gnu.org about your system, including the value | |
2994 | of your $PATH and any error possibly output before this message. This | |
2995 | can help us improve future automake versions. | |
2996 | ||
2997 | END | |
2998 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
2999 | echo 'Configuration will proceed anyway, since you have set the' >&2 | |
3000 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
3001 | echo >&2 | |
3002 | else | |
3003 | cat >&2 <<'END' | |
3004 | Aborting the configuration process, to ensure you take notice of the issue. | |
3005 | ||
3006 | You can download and install GNU coreutils to get an 'rm' implementation | |
3007 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
3008 | ||
3009 | If you want to complete the configuration process using your problematic | |
3010 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
3011 | to "yes", and re-run configure. | |
3012 | ||
3013 | END | |
3014 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | |
3015 | fi | |
3016 | fi | |
2976 | 3017 | |
2977 | 3018 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
2978 | 3019 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3852 | 3893 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3853 | 3894 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3854 | 3895 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3896 | ||
3897 | ac_ext=c | |
3898 | ac_cpp='$CPP $CPPFLAGS' | |
3899 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3900 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3901 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3902 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | |
3903 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | |
3904 | if ${am_cv_prog_cc_c_o+:} false; then : | |
3905 | $as_echo_n "(cached) " >&6 | |
3906 | else | |
3907 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3908 | /* end confdefs.h. */ | |
3909 | ||
3910 | int | |
3911 | main () | |
3912 | { | |
3913 | ||
3914 | ; | |
3915 | return 0; | |
3916 | } | |
3917 | _ACEOF | |
3918 | # Make sure it works both with $CC and with simple cc. | |
3919 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
3920 | # compilers refuse to overwrite an existing .o file with -o, | |
3921 | # though they will create one. | |
3922 | am_cv_prog_cc_c_o=yes | |
3923 | for am_i in 1 2; do | |
3924 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | |
3925 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | |
3926 | ac_status=$? | |
3927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3928 | (exit $ac_status); } \ | |
3929 | && test -f conftest2.$ac_objext; then | |
3930 | : OK | |
3931 | else | |
3932 | am_cv_prog_cc_c_o=no | |
3933 | break | |
3934 | fi | |
3935 | done | |
3936 | rm -f core conftest* | |
3937 | unset am_i | |
3938 | fi | |
3939 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | |
3940 | $as_echo "$am_cv_prog_cc_c_o" >&6; } | |
3941 | if test "$am_cv_prog_cc_c_o" != yes; then | |
3942 | # Losing compiler, so override with the script. | |
3943 | # FIXME: It is wrong to rewrite CC. | |
3944 | # But if we don't then we get into trouble of one sort or another. | |
3945 | # A longer-term fix would be to have automake use am__CC in this case, | |
3946 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
3947 | CC="$am_aux_dir/compile $CC" | |
3948 | fi | |
3949 | ac_ext=c | |
3950 | ac_cpp='$CPP $CPPFLAGS' | |
3951 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3952 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3953 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3954 | ||
3855 | 3955 | |
3856 | 3956 | depcc="$CC" am_compiler_list= |
3857 | 3957 | |
5347 | 5447 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5348 | 5448 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5349 | 5449 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5450 | ||
5451 | ac_ext=c | |
5452 | ac_cpp='$CPP $CPPFLAGS' | |
5453 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
5454 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
5455 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
5456 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | |
5457 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | |
5458 | if ${am_cv_prog_cc_c_o+:} false; then : | |
5459 | $as_echo_n "(cached) " >&6 | |
5460 | else | |
5461 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5462 | /* end confdefs.h. */ | |
5463 | ||
5464 | int | |
5465 | main () | |
5466 | { | |
5467 | ||
5468 | ; | |
5469 | return 0; | |
5470 | } | |
5471 | _ACEOF | |
5472 | # Make sure it works both with $CC and with simple cc. | |
5473 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
5474 | # compilers refuse to overwrite an existing .o file with -o, | |
5475 | # though they will create one. | |
5476 | am_cv_prog_cc_c_o=yes | |
5477 | for am_i in 1 2; do | |
5478 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | |
5479 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | |
5480 | ac_status=$? | |
5481 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5482 | (exit $ac_status); } \ | |
5483 | && test -f conftest2.$ac_objext; then | |
5484 | : OK | |
5485 | else | |
5486 | am_cv_prog_cc_c_o=no | |
5487 | break | |
5488 | fi | |
5489 | done | |
5490 | rm -f core conftest* | |
5491 | unset am_i | |
5492 | fi | |
5493 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | |
5494 | $as_echo "$am_cv_prog_cc_c_o" >&6; } | |
5495 | if test "$am_cv_prog_cc_c_o" != yes; then | |
5496 | # Losing compiler, so override with the script. | |
5497 | # FIXME: It is wrong to rewrite CC. | |
5498 | # But if we don't then we get into trouble of one sort or another. | |
5499 | # A longer-term fix would be to have automake use am__CC in this case, | |
5500 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
5501 | CC="$am_aux_dir/compile $CC" | |
5502 | fi | |
5503 | ac_ext=c | |
5504 | ac_cpp='$CPP $CPPFLAGS' | |
5505 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
5506 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
5507 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
5508 | ||
5350 | 5509 | |
5351 | 5510 | depcc="$CC" am_compiler_list= |
5352 | 5511 | |
17515 | 17674 | # report actual input values of CONFIG_FILES etc. instead of their |
17516 | 17675 | # values after options handling. |
17517 | 17676 | ac_log=" |
17518 | This file was extended by readosm $as_me 1.0.0c, which was | |
17677 | This file was extended by readosm $as_me 1.0.0d, which was | |
17519 | 17678 | generated by GNU Autoconf 2.69. Invocation command line was |
17520 | 17679 | |
17521 | 17680 | CONFIG_FILES = $CONFIG_FILES |
17581 | 17740 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
17582 | 17741 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
17583 | 17742 | ac_cs_version="\\ |
17584 | readosm config.status 1.0.0c | |
17743 | readosm config.status 1.0.0d | |
17585 | 17744 | configured by $0, generated by GNU Autoconf 2.69, |
17586 | 17745 | with options \\"\$ac_cs_config\\" |
17587 | 17746 |
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.0c, a.furieri@lqt.it) | |
4 | AC_INIT(readosm, 1.0.0d, 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.13.4 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | 3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. |
364 | 364 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
365 | 365 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
366 | 366 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
367 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< | |
367 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | |
368 | 368 | |
369 | 369 | .c.obj: |
370 | 370 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
371 | 371 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
372 | 372 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
373 | 373 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
374 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` | |
374 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
375 | 375 | |
376 | 376 | .c.lo: |
377 | 377 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
0 | # Makefile.in generated by automake 1.13.4 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | 3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. |
0 | # Makefile.in generated by automake 1.13.4 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | 3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. |
409 | 409 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
410 | 410 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
411 | 411 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
412 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< | |
412 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | |
413 | 413 | |
414 | 414 | .c.obj: |
415 | 415 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
416 | 416 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
417 | 417 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
418 | 418 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
419 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` | |
419 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
420 | 420 | |
421 | 421 | .c.lo: |
422 | 422 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |