Rev 2272 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | - | 1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. |
||
2272 | jag | 3 | # Generated by GNU Autoconf 2.71 for din 60WIP. |
1 | - | 4 | # |
2303 | jag | 5 | # Report bugs to <jag@dinisnoise.org>. |
20 | - | 6 | # |
2303 | jag | 7 | # |
2097 | jag | 8 | # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, |
9 | # Inc. |
||
1 | - | 10 | # |
20 | - | 11 | # |
1 | - | 12 | # This configure script is free software; the Free Software Foundation |
13 | # gives unlimited permission to copy, distribute and modify it. |
||
14 | ## -------------------- ## |
||
15 | ## M4sh Initialization. ## |
||
16 | ## -------------------- ## |
||
17 | |||
18 | # Be more Bourne compatible |
||
19 | DUALCASE=1; export DUALCASE # for MKS sh |
||
2097 | jag | 20 | as_nop=: |
21 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
||
22 | then : |
||
1 | - | 23 | emulate sh |
24 | NULLCMD=: |
||
25 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
||
26 | # is contrary to our usage. Disable this feature. |
||
27 | alias -g '${1+"$@"}'='"$@"' |
||
28 | setopt NO_GLOB_SUBST |
||
2097 | jag | 29 | else $as_nop |
1 | - | 30 | case `(set -o) 2>/dev/null` in #( |
31 | *posix*) : |
||
32 | set -o posix ;; #( |
||
33 | *) : |
||
34 | ;; |
||
35 | esac |
||
36 | fi |
||
37 | |||
38 | |||
2097 | jag | 39 | |
40 | # Reset variables that may have inherited troublesome values from |
||
41 | # the environment. |
||
42 | |||
43 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
||
44 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
||
45 | # side effect of setting IFS to empty, thus disabling word splitting.) |
||
46 | # Quoting is to prevent editors from complaining about space-tab. |
||
1 | - | 47 | as_nl=' |
48 | ' |
||
49 | export as_nl |
||
2097 | jag | 50 | IFS=" "" $as_nl" |
1 | - | 51 | |
2097 | jag | 52 | PS1='$ ' |
53 | PS2='> ' |
||
54 | PS4='+ ' |
||
55 | |||
56 | # Ensure predictable behavior from utilities with locale-dependent output. |
||
57 | LC_ALL=C |
||
58 | export LC_ALL |
||
59 | LANGUAGE=C |
||
60 | export LANGUAGE |
||
61 | |||
62 | # We cannot yet rely on "unset" to work, but we need these variables |
||
63 | # to be unset--not just set to an empty or harmless value--now, to |
||
64 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
||
65 | # also avoids known problems related to "unset" and subshell syntax |
||
66 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
||
67 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
||
68 | do eval test \${$as_var+y} \ |
||
69 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
||
70 | done |
||
71 | |||
72 | # Ensure that fds 0, 1, and 2 are open. |
||
73 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
||
74 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
||
75 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
||
76 | |||
1 | - | 77 | # The user is always right. |
2097 | jag | 78 | if ${PATH_SEPARATOR+false} :; then |
1 | - | 79 | PATH_SEPARATOR=: |
80 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
||
81 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
||
82 | PATH_SEPARATOR=';' |
||
83 | } |
||
84 | fi |
||
85 | |||
86 | |||
87 | # Find who we are. Look in the path if we contain no directory separator. |
||
232 | jag | 88 | as_myself= |
1 | - | 89 | case $0 in #(( |
90 | *[\\/]* ) as_myself=$0 ;; |
||
91 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
92 | for as_dir in $PATH |
||
93 | do |
||
94 | IFS=$as_save_IFS |
||
2097 | jag | 95 | case $as_dir in #((( |
96 | '') as_dir=./ ;; |
||
97 | */) ;; |
||
98 | *) as_dir=$as_dir/ ;; |
||
99 | esac |
||
100 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
||
1 | - | 101 | done |
102 | IFS=$as_save_IFS |
||
103 | |||
104 | ;; |
||
105 | esac |
||
106 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
||
107 | # in which case we are not to be found in the path. |
||
108 | if test "x$as_myself" = x; then |
||
109 | as_myself=$0 |
||
110 | fi |
||
111 | if test ! -f "$as_myself"; then |
||
2097 | jag | 112 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
1 | - | 113 | exit 1 |
114 | fi |
||
115 | |||
116 | |||
2097 | jag | 117 | # Use a proper internal environment variable to ensure we don't fall |
118 | # into an infinite loop, continuously re-executing ourselves. |
||
119 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
||
120 | _as_can_reexec=no; export _as_can_reexec; |
||
121 | # We cannot yet assume a decent shell, so we have to provide a |
||
122 | # neutralization value for shells without unset; and this also |
||
123 | # works around shells that cannot unset nonexistent variables. |
||
124 | # Preserve -v and -x to the replacement shell. |
||
125 | BASH_ENV=/dev/null |
||
126 | ENV=/dev/null |
||
127 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
||
128 | case $- in # (((( |
||
129 | *v*x* | *x*v* ) as_opts=-vx ;; |
||
130 | *v* ) as_opts=-v ;; |
||
131 | *x* ) as_opts=-x ;; |
||
132 | * ) as_opts= ;; |
||
133 | esac |
||
134 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
||
135 | # Admittedly, this is quite paranoid, since all the known shells bail |
||
136 | # out after a failed `exec'. |
||
137 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
||
138 | exit 255 |
||
139 | fi |
||
140 | # We don't want this to propagate to other subprocesses. |
||
141 | { _as_can_reexec=; unset _as_can_reexec;} |
||
1 | - | 142 | if test "x$CONFIG_SHELL" = x; then |
2097 | jag | 143 | as_bourne_compatible="as_nop=: |
144 | if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
||
145 | then : |
||
1 | - | 146 | emulate sh |
147 | NULLCMD=: |
||
148 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
||
149 | # is contrary to our usage. Disable this feature. |
||
150 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
||
151 | setopt NO_GLOB_SUBST |
||
2097 | jag | 152 | else \$as_nop |
1 | - | 153 | case \`(set -o) 2>/dev/null\` in #( |
154 | *posix*) : |
||
155 | set -o posix ;; #( |
||
156 | *) : |
||
157 | ;; |
||
158 | esac |
||
159 | fi |
||
160 | " |
||
161 | as_required="as_fn_return () { (exit \$1); } |
||
162 | as_fn_success () { as_fn_return 0; } |
||
163 | as_fn_failure () { as_fn_return 1; } |
||
164 | as_fn_ret_success () { return 0; } |
||
165 | as_fn_ret_failure () { return 1; } |
||
166 | |||
167 | exitcode=0 |
||
168 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
||
169 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
||
170 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
||
171 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
||
2097 | jag | 172 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ) |
173 | then : |
||
1 | - | 174 | |
2097 | jag | 175 | else \$as_nop |
1 | - | 176 | exitcode=1; echo positional parameters were not saved. |
177 | fi |
||
2097 | jag | 178 | test x\$exitcode = x0 || exit 1 |
179 | blah=\$(echo \$(echo blah)) |
||
180 | test x\"\$blah\" = xblah || exit 1 |
||
181 | test -x / || exit 1" |
||
1 | - | 182 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
183 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
||
184 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
||
185 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
||
2097 | jag | 186 | if (eval "$as_required") 2>/dev/null |
187 | then : |
||
1 | - | 188 | as_have_required=yes |
2097 | jag | 189 | else $as_nop |
1 | - | 190 | as_have_required=no |
191 | fi |
||
2097 | jag | 192 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null |
193 | then : |
||
1 | - | 194 | |
2097 | jag | 195 | else $as_nop |
1 | - | 196 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
197 | as_found=false |
||
198 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
||
199 | do |
||
200 | IFS=$as_save_IFS |
||
2097 | jag | 201 | case $as_dir in #((( |
202 | '') as_dir=./ ;; |
||
203 | */) ;; |
||
204 | *) as_dir=$as_dir/ ;; |
||
205 | esac |
||
1 | - | 206 | as_found=: |
207 | case $as_dir in #( |
||
208 | /*) |
||
209 | for as_base in sh bash ksh sh5; do |
||
210 | # Try only shells that exist, to save several forks. |
||
2097 | jag | 211 | as_shell=$as_dir$as_base |
1 | - | 212 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
2097 | jag | 213 | as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
214 | then : |
||
1 | - | 215 | CONFIG_SHELL=$as_shell as_have_required=yes |
2097 | jag | 216 | if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null |
217 | then : |
||
1 | - | 218 | break 2 |
219 | fi |
||
220 | fi |
||
221 | done;; |
||
222 | esac |
||
223 | as_found=false |
||
224 | done |
||
225 | IFS=$as_save_IFS |
||
2097 | jag | 226 | if $as_found |
227 | then : |
||
1 | - | 228 | |
2097 | jag | 229 | else $as_nop |
230 | if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
||
231 | as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
||
232 | then : |
||
233 | CONFIG_SHELL=$SHELL as_have_required=yes |
||
234 | fi |
||
235 | fi |
||
1 | - | 236 | |
2097 | jag | 237 | |
238 | if test "x$CONFIG_SHELL" != x |
||
239 | then : |
||
240 | export CONFIG_SHELL |
||
241 | # We cannot yet assume a decent shell, so we have to provide a |
||
242 | # neutralization value for shells without unset; and this also |
||
243 | # works around shells that cannot unset nonexistent variables. |
||
244 | # Preserve -v and -x to the replacement shell. |
||
245 | BASH_ENV=/dev/null |
||
246 | ENV=/dev/null |
||
247 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
||
248 | case $- in # (((( |
||
249 | *v*x* | *x*v* ) as_opts=-vx ;; |
||
250 | *v* ) as_opts=-v ;; |
||
251 | *x* ) as_opts=-x ;; |
||
252 | * ) as_opts= ;; |
||
253 | esac |
||
254 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
||
255 | # Admittedly, this is quite paranoid, since all the known shells bail |
||
256 | # out after a failed `exec'. |
||
257 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
||
258 | exit 255 |
||
1 | - | 259 | fi |
260 | |||
2097 | jag | 261 | if test x$as_have_required = xno |
262 | then : |
||
263 | printf "%s\n" "$0: This script requires a shell more modern than all" |
||
264 | printf "%s\n" "$0: the shells that I found on your system." |
||
265 | if test ${ZSH_VERSION+y} ; then |
||
266 | printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
||
267 | printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." |
||
1 | - | 268 | else |
2303 | jag | 269 | printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and jag@dinisnoise.org |
270 | $0: about your system, including any error possibly output |
||
271 | $0: before this message. Then install a modern shell, or |
||
272 | $0: manually run the script under such a shell if you do |
||
273 | $0: have one." |
||
1 | - | 274 | fi |
275 | exit 1 |
||
276 | fi |
||
277 | fi |
||
278 | fi |
||
279 | SHELL=${CONFIG_SHELL-/bin/sh} |
||
280 | export SHELL |
||
281 | # Unset more variables known to interfere with behavior of common tools. |
||
282 | CLICOLOR_FORCE= GREP_OPTIONS= |
||
283 | unset CLICOLOR_FORCE GREP_OPTIONS |
||
284 | |||
285 | ## --------------------- ## |
||
286 | ## M4sh Shell Functions. ## |
||
287 | ## --------------------- ## |
||
288 | # as_fn_unset VAR |
||
289 | # --------------- |
||
290 | # Portably unset VAR. |
||
291 | as_fn_unset () |
||
292 | { |
||
293 | { eval $1=; unset $1;} |
||
294 | } |
||
295 | as_unset=as_fn_unset |
||
296 | |||
2097 | jag | 297 | |
1 | - | 298 | # as_fn_set_status STATUS |
299 | # ----------------------- |
||
300 | # Set $? to STATUS, without forking. |
||
301 | as_fn_set_status () |
||
302 | { |
||
303 | return $1 |
||
304 | } # as_fn_set_status |
||
305 | |||
306 | # as_fn_exit STATUS |
||
307 | # ----------------- |
||
308 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
||
309 | as_fn_exit () |
||
310 | { |
||
311 | set +e |
||
312 | as_fn_set_status $1 |
||
313 | exit $1 |
||
314 | } # as_fn_exit |
||
2097 | jag | 315 | # as_fn_nop |
316 | # --------- |
||
317 | # Do nothing but, unlike ":", preserve the value of $?. |
||
318 | as_fn_nop () |
||
319 | { |
||
320 | return $? |
||
321 | } |
||
322 | as_nop=as_fn_nop |
||
1 | - | 323 | |
324 | # as_fn_mkdir_p |
||
325 | # ------------- |
||
326 | # Create "$as_dir" as a directory, including parents if necessary. |
||
327 | as_fn_mkdir_p () |
||
328 | { |
||
329 | |||
330 | case $as_dir in #( |
||
331 | -*) as_dir=./$as_dir;; |
||
332 | esac |
||
333 | test -d "$as_dir" || eval $as_mkdir_p || { |
||
334 | as_dirs= |
||
335 | while :; do |
||
336 | case $as_dir in #( |
||
2097 | jag | 337 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
1 | - | 338 | *) as_qdir=$as_dir;; |
339 | esac |
||
340 | as_dirs="'$as_qdir' $as_dirs" |
||
341 | as_dir=`$as_dirname -- "$as_dir" || |
||
342 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
||
343 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
||
344 | X"$as_dir" : 'X\(//\)$' \| \ |
||
345 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
||
2097 | jag | 346 | printf "%s\n" X"$as_dir" | |
1 | - | 347 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
348 | s//\1/ |
||
349 | q |
||
350 | } |
||
351 | /^X\(\/\/\)[^/].*/{ |
||
352 | s//\1/ |
||
353 | q |
||
354 | } |
||
355 | /^X\(\/\/\)$/{ |
||
356 | s//\1/ |
||
357 | q |
||
358 | } |
||
359 | /^X\(\/\).*/{ |
||
360 | s//\1/ |
||
361 | q |
||
362 | } |
||
363 | s/.*/./; q'` |
||
364 | test -d "$as_dir" && break |
||
365 | done |
||
366 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
||
232 | jag | 367 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
1 | - | 368 | |
369 | |||
370 | } # as_fn_mkdir_p |
||
2097 | jag | 371 | |
372 | # as_fn_executable_p FILE |
||
373 | # ----------------------- |
||
374 | # Test if FILE is an executable regular file. |
||
375 | as_fn_executable_p () |
||
376 | { |
||
377 | test -f "$1" && test -x "$1" |
||
378 | } # as_fn_executable_p |
||
1 | - | 379 | # as_fn_append VAR VALUE |
380 | # ---------------------- |
||
381 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
||
382 | # advantage of any shell optimizations that allow amortized linear growth over |
||
383 | # repeated appends, instead of the typical quadratic growth present in naive |
||
384 | # implementations. |
||
2097 | jag | 385 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
386 | then : |
||
1 | - | 387 | eval 'as_fn_append () |
388 | { |
||
389 | eval $1+=\$2 |
||
390 | }' |
||
2097 | jag | 391 | else $as_nop |
1 | - | 392 | as_fn_append () |
393 | { |
||
394 | eval $1=\$$1\$2 |
||
395 | } |
||
396 | fi # as_fn_append |
||
397 | |||
398 | # as_fn_arith ARG... |
||
399 | # ------------------ |
||
400 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
||
401 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
||
402 | # must be portable across $(()) and expr. |
||
2097 | jag | 403 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
404 | then : |
||
1 | - | 405 | eval 'as_fn_arith () |
406 | { |
||
407 | as_val=$(( $* )) |
||
408 | }' |
||
2097 | jag | 409 | else $as_nop |
1 | - | 410 | as_fn_arith () |
411 | { |
||
412 | as_val=`expr "$@" || test $? -eq 1` |
||
413 | } |
||
414 | fi # as_fn_arith |
||
415 | |||
2097 | jag | 416 | # as_fn_nop |
417 | # --------- |
||
418 | # Do nothing but, unlike ":", preserve the value of $?. |
||
419 | as_fn_nop () |
||
420 | { |
||
421 | return $? |
||
422 | } |
||
423 | as_nop=as_fn_nop |
||
1 | - | 424 | |
232 | jag | 425 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
426 | # ---------------------------------------- |
||
1 | - | 427 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
428 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
||
232 | jag | 429 | # script with STATUS, using 1 if that was 0. |
1 | - | 430 | as_fn_error () |
431 | { |
||
232 | jag | 432 | as_status=$1; test $as_status -eq 0 && as_status=1 |
433 | if test "$4"; then |
||
434 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
||
2097 | jag | 435 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
1 | - | 436 | fi |
2097 | jag | 437 | printf "%s\n" "$as_me: error: $2" >&2 |
1 | - | 438 | as_fn_exit $as_status |
439 | } # as_fn_error |
||
440 | |||
441 | if expr a : '\(a\)' >/dev/null 2>&1 && |
||
442 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
||
443 | as_expr=expr |
||
444 | else |
||
445 | as_expr=false |
||
446 | fi |
||
447 | |||
448 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
||
449 | as_basename=basename |
||
450 | else |
||
451 | as_basename=false |
||
452 | fi |
||
453 | |||
454 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
||
455 | as_dirname=dirname |
||
456 | else |
||
457 | as_dirname=false |
||
458 | fi |
||
459 | |||
460 | as_me=`$as_basename -- "$0" || |
||
461 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
||
462 | X"$0" : 'X\(//\)$' \| \ |
||
463 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
||
2097 | jag | 464 | printf "%s\n" X/"$0" | |
1 | - | 465 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
466 | s//\1/ |
||
467 | q |
||
468 | } |
||
469 | /^X\/\(\/\/\)$/{ |
||
470 | s//\1/ |
||
471 | q |
||
472 | } |
||
473 | /^X\/\(\/\).*/{ |
||
474 | s//\1/ |
||
475 | q |
||
476 | } |
||
477 | s/.*/./; q'` |
||
478 | |||
479 | # Avoid depending upon Character Ranges. |
||
480 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
||
481 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
||
482 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
||
483 | as_cr_digits='0123456789' |
||
484 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
||
485 | |||
486 | |||
487 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
||
488 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
||
489 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
||
490 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
||
491 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
||
492 | sed -n ' |
||
493 | p |
||
494 | /[$]LINENO/= |
||
495 | ' <$as_myself | |
||
496 | sed ' |
||
497 | s/[$]LINENO.*/&-/ |
||
498 | t lineno |
||
499 | b |
||
500 | :lineno |
||
501 | N |
||
502 | :loop |
||
503 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
||
504 | t loop |
||
505 | s/-\n.*// |
||
506 | ' >$as_me.lineno && |
||
507 | chmod +x "$as_me.lineno" || |
||
2097 | jag | 508 | { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
1 | - | 509 | |
2097 | jag | 510 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
511 | # already done that, so ensure we don't try to do so again and fall |
||
512 | # in an infinite loop. This has already happened in practice. |
||
513 | _as_can_reexec=no; export _as_can_reexec |
||
1 | - | 514 | # Don't try to exec as it changes $[0], causing all sort of problems |
515 | # (the dirname of $[0] is not the place where we might find the |
||
516 | # original and so on. Autoconf is especially sensitive to this). |
||
517 | . "./$as_me.lineno" |
||
518 | # Exit status is that of the last command. |
||
519 | exit |
||
520 | } |
||
521 | |||
2097 | jag | 522 | |
523 | # Determine whether it's possible to make 'echo' print without a newline. |
||
524 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
||
525 | # for compatibility with existing Makefiles. |
||
1 | - | 526 | ECHO_C= ECHO_N= ECHO_T= |
527 | case `echo -n x` in #((((( |
||
528 | -n*) |
||
529 | case `echo 'xy\c'` in |
||
530 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
||
531 | xy) ECHO_C='\c';; |
||
532 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
||
533 | ECHO_T=' ';; |
||
534 | esac;; |
||
535 | *) |
||
536 | ECHO_N='-n';; |
||
537 | esac |
||
538 | |||
2097 | jag | 539 | # For backward compatibility with old third-party macros, we provide |
540 | # the shell variables $as_echo and $as_echo_n. New code should use |
||
541 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
||
542 | as_echo='printf %s\n' |
||
543 | as_echo_n='printf %s' |
||
544 | |||
545 | |||
1 | - | 546 | rm -f conf$$ conf$$.exe conf$$.file |
547 | if test -d conf$$.dir; then |
||
548 | rm -f conf$$.dir/conf$$.file |
||
549 | else |
||
550 | rm -f conf$$.dir |
||
551 | mkdir conf$$.dir 2>/dev/null |
||
552 | fi |
||
553 | if (echo >conf$$.file) 2>/dev/null; then |
||
554 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
||
555 | as_ln_s='ln -s' |
||
556 | # ... but there are two gotchas: |
||
557 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
||
558 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
||
2097 | jag | 559 | # In both cases, we have to default to `cp -pR'. |
1 | - | 560 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
2097 | jag | 561 | as_ln_s='cp -pR' |
1 | - | 562 | elif ln conf$$.file conf$$ 2>/dev/null; then |
563 | as_ln_s=ln |
||
564 | else |
||
2097 | jag | 565 | as_ln_s='cp -pR' |
1 | - | 566 | fi |
567 | else |
||
2097 | jag | 568 | as_ln_s='cp -pR' |
1 | - | 569 | fi |
570 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
||
571 | rmdir conf$$.dir 2>/dev/null |
||
572 | |||
573 | if mkdir -p . 2>/dev/null; then |
||
574 | as_mkdir_p='mkdir -p "$as_dir"' |
||
575 | else |
||
576 | test -d ./-p && rmdir ./-p |
||
577 | as_mkdir_p=false |
||
578 | fi |
||
579 | |||
2097 | jag | 580 | as_test_x='test -x' |
581 | as_executable_p=as_fn_executable_p |
||
1 | - | 582 | |
583 | # Sed expression to map a string onto a valid CPP name. |
||
584 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
||
585 | |||
586 | # Sed expression to map a string onto a valid variable name. |
||
587 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
||
588 | |||
589 | |||
20 | - | 590 | test -n "$DJDIR" || exec 7<&0 </dev/null |
591 | exec 6>&1 |
||
1 | - | 592 | |
593 | # Name of the host. |
||
232 | jag | 594 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
1 | - | 595 | # so uname gets run too. |
596 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
||
597 | |||
598 | # |
||
599 | # Initializations. |
||
600 | # |
||
601 | ac_default_prefix=/usr/local |
||
602 | ac_clean_files= |
||
603 | ac_config_libobj_dir=. |
||
604 | LIBOBJS= |
||
605 | cross_compiling=no |
||
606 | subdirs= |
||
607 | MFLAGS= |
||
608 | MAKEFLAGS= |
||
609 | |||
610 | # Identity of this package. |
||
611 | PACKAGE_NAME='din' |
||
612 | PACKAGE_TARNAME='din' |
||
2272 | jag | 613 | PACKAGE_VERSION='60WIP' |
614 | PACKAGE_STRING='din 60WIP' |
||
2303 | jag | 615 | PACKAGE_BUGREPORT='jag@dinisnoise.org' |
1 | - | 616 | PACKAGE_URL='' |
617 | |||
618 | ac_unique_file="configure.ac" |
||
619 | ac_subst_vars='am__EXEEXT_FALSE |
||
620 | am__EXEEXT_TRUE |
||
621 | LTLIBOBJS |
||
622 | LIBOBJS |
||
623 | am__fastdepOBJC_FALSE |
||
624 | am__fastdepOBJC_TRUE |
||
625 | OBJCDEPMODE |
||
626 | ac_ct_OBJC |
||
627 | OBJCFLAGS |
||
628 | OBJC |
||
629 | am__fastdepCXX_FALSE |
||
630 | am__fastdepCXX_TRUE |
||
631 | CXXDEPMODE |
||
632 | ac_ct_CXX |
||
633 | CXXFLAGS |
||
634 | CXX |
||
635 | am__fastdepCC_FALSE |
||
636 | am__fastdepCC_TRUE |
||
637 | CCDEPMODE |
||
2097 | jag | 638 | am__nodep |
1 | - | 639 | AMDEPBACKSLASH |
640 | AMDEP_FALSE |
||
641 | AMDEP_TRUE |
||
642 | am__include |
||
643 | DEPDIR |
||
644 | OBJEXT |
||
645 | EXEEXT |
||
646 | ac_ct_CC |
||
647 | CPPFLAGS |
||
648 | LDFLAGS |
||
649 | CFLAGS |
||
650 | CC |
||
2097 | jag | 651 | AM_BACKSLASH |
652 | AM_DEFAULT_VERBOSITY |
||
653 | AM_DEFAULT_V |
||
654 | AM_V |
||
1 | - | 655 | am__untar |
656 | am__tar |
||
657 | AMTAR |
||
658 | am__leading_dot |
||
659 | SET_MAKE |
||
660 | AWK |
||
661 | mkdir_p |
||
662 | MKDIR_P |
||
663 | INSTALL_STRIP_PROGRAM |
||
664 | STRIP |
||
665 | install_sh |
||
666 | MAKEINFO |
||
667 | AUTOHEADER |
||
668 | AUTOMAKE |
||
669 | AUTOCONF |
||
670 | ACLOCAL |
||
671 | VERSION |
||
672 | PACKAGE |
||
673 | CYGPATH_W |
||
674 | am__isrc |
||
675 | INSTALL_DATA |
||
676 | INSTALL_SCRIPT |
||
677 | INSTALL_PROGRAM |
||
678 | target_alias |
||
679 | host_alias |
||
680 | build_alias |
||
681 | LIBS |
||
682 | ECHO_T |
||
683 | ECHO_N |
||
684 | ECHO_C |
||
685 | DEFS |
||
686 | mandir |
||
687 | localedir |
||
688 | libdir |
||
689 | psdir |
||
690 | pdfdir |
||
691 | dvidir |
||
692 | htmldir |
||
693 | infodir |
||
694 | docdir |
||
695 | oldincludedir |
||
696 | includedir |
||
2097 | jag | 697 | runstatedir |
1 | - | 698 | localstatedir |
699 | sharedstatedir |
||
700 | sysconfdir |
||
701 | datadir |
||
702 | datarootdir |
||
703 | libexecdir |
||
704 | sbindir |
||
705 | bindir |
||
706 | program_transform_name |
||
707 | prefix |
||
708 | exec_prefix |
||
709 | PACKAGE_URL |
||
710 | PACKAGE_BUGREPORT |
||
711 | PACKAGE_STRING |
||
712 | PACKAGE_VERSION |
||
713 | PACKAGE_TARNAME |
||
714 | PACKAGE_NAME |
||
715 | PATH_SEPARATOR |
||
2097 | jag | 716 | SHELL |
717 | am__quote' |
||
1 | - | 718 | ac_subst_files='' |
719 | ac_user_opts=' |
||
720 | enable_option_checking |
||
2097 | jag | 721 | enable_silent_rules |
1 | - | 722 | enable_dependency_tracking |
723 | ' |
||
724 | ac_precious_vars='build_alias |
||
725 | host_alias |
||
726 | target_alias |
||
727 | CC |
||
728 | CFLAGS |
||
729 | LDFLAGS |
||
730 | LIBS |
||
731 | CPPFLAGS |
||
732 | CXX |
||
733 | CXXFLAGS |
||
734 | CCC |
||
735 | OBJC |
||
736 | OBJCFLAGS' |
||
737 | |||
738 | |||
739 | # Initialize some variables set by options. |
||
740 | ac_init_help= |
||
741 | ac_init_version=false |
||
742 | ac_unrecognized_opts= |
||
743 | ac_unrecognized_sep= |
||
744 | # The variables have the same names as the options, with |
||
745 | # dashes changed to underlines. |
||
746 | cache_file=/dev/null |
||
747 | exec_prefix=NONE |
||
748 | no_create= |
||
749 | no_recursion= |
||
750 | prefix=NONE |
||
751 | program_prefix=NONE |
||
752 | program_suffix=NONE |
||
753 | program_transform_name=s,x,x, |
||
754 | silent= |
||
755 | site= |
||
756 | srcdir= |
||
757 | verbose= |
||
758 | x_includes=NONE |
||
759 | x_libraries=NONE |
||
760 | |||
761 | # Installation directory options. |
||
762 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
||
763 | # and all the variables that are supposed to be based on exec_prefix |
||
764 | # by default will actually change. |
||
765 | # Use braces instead of parens because sh, perl, etc. also accept them. |
||
766 | # (The list follows the same order as the GNU Coding Standards.) |
||
767 | bindir='${exec_prefix}/bin' |
||
768 | sbindir='${exec_prefix}/sbin' |
||
769 | libexecdir='${exec_prefix}/libexec' |
||
770 | datarootdir='${prefix}/share' |
||
771 | datadir='${datarootdir}' |
||
772 | sysconfdir='${prefix}/etc' |
||
773 | sharedstatedir='${prefix}/com' |
||
774 | localstatedir='${prefix}/var' |
||
2097 | jag | 775 | runstatedir='${localstatedir}/run' |
1 | - | 776 | includedir='${prefix}/include' |
777 | oldincludedir='/usr/include' |
||
778 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
||
779 | infodir='${datarootdir}/info' |
||
780 | htmldir='${docdir}' |
||
781 | dvidir='${docdir}' |
||
782 | pdfdir='${docdir}' |
||
783 | psdir='${docdir}' |
||
784 | libdir='${exec_prefix}/lib' |
||
785 | localedir='${datarootdir}/locale' |
||
786 | mandir='${datarootdir}/man' |
||
787 | |||
788 | ac_prev= |
||
789 | ac_dashdash= |
||
790 | for ac_option |
||
791 | do |
||
792 | # If the previous option needs an argument, assign it. |
||
793 | if test -n "$ac_prev"; then |
||
794 | eval $ac_prev=\$ac_option |
||
795 | ac_prev= |
||
796 | continue |
||
797 | fi |
||
798 | |||
799 | case $ac_option in |
||
232 | jag | 800 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
801 | *=) ac_optarg= ;; |
||
802 | *) ac_optarg=yes ;; |
||
1 | - | 803 | esac |
804 | |||
805 | case $ac_dashdash$ac_option in |
||
806 | --) |
||
807 | ac_dashdash=yes ;; |
||
808 | |||
809 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
||
810 | ac_prev=bindir ;; |
||
811 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
||
812 | bindir=$ac_optarg ;; |
||
813 | |||
814 | -build | --build | --buil | --bui | --bu) |
||
815 | ac_prev=build_alias ;; |
||
816 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
||
817 | build_alias=$ac_optarg ;; |
||
818 | |||
819 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
||
820 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
||
821 | ac_prev=cache_file ;; |
||
822 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
||
823 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
||
824 | cache_file=$ac_optarg ;; |
||
825 | |||
826 | --config-cache | -C) |
||
827 | cache_file=config.cache ;; |
||
828 | |||
829 | -datadir | --datadir | --datadi | --datad) |
||
830 | ac_prev=datadir ;; |
||
831 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
||
832 | datadir=$ac_optarg ;; |
||
833 | |||
834 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
||
835 | | --dataroo | --dataro | --datar) |
||
836 | ac_prev=datarootdir ;; |
||
837 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
||
838 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
||
839 | datarootdir=$ac_optarg ;; |
||
840 | |||
841 | -disable-* | --disable-*) |
||
842 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
||
843 | # Reject names that are not valid shell variable names. |
||
844 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
||
2097 | jag | 845 | as_fn_error $? "invalid feature name: \`$ac_useropt'" |
1 | - | 846 | ac_useropt_orig=$ac_useropt |
2097 | jag | 847 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
1 | - | 848 | case $ac_user_opts in |
849 | *" |
||
850 | "enable_$ac_useropt" |
||
851 | "*) ;; |
||
852 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
||
853 | ac_unrecognized_sep=', ';; |
||
854 | esac |
||
855 | eval enable_$ac_useropt=no ;; |
||
856 | |||
857 | -docdir | --docdir | --docdi | --doc | --do) |
||
858 | ac_prev=docdir ;; |
||
859 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
||
860 | docdir=$ac_optarg ;; |
||
861 | |||
862 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
||
863 | ac_prev=dvidir ;; |
||
864 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
||
865 | dvidir=$ac_optarg ;; |
||
866 | |||
867 | -enable-* | --enable-*) |
||
868 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
||
869 | # Reject names that are not valid shell variable names. |
||
870 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
||
2097 | jag | 871 | as_fn_error $? "invalid feature name: \`$ac_useropt'" |
1 | - | 872 | ac_useropt_orig=$ac_useropt |
2097 | jag | 873 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
1 | - | 874 | case $ac_user_opts in |
875 | *" |
||
876 | "enable_$ac_useropt" |
||
877 | "*) ;; |
||
878 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
||
879 | ac_unrecognized_sep=', ';; |
||
880 | esac |
||
881 | eval enable_$ac_useropt=\$ac_optarg ;; |
||
882 | |||
883 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
||
884 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
||
885 | | --exec | --exe | --ex) |
||
886 | ac_prev=exec_prefix ;; |
||
887 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
||
888 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
||
889 | | --exec=* | --exe=* | --ex=*) |
||
890 | exec_prefix=$ac_optarg ;; |
||
891 | |||
892 | -gas | --gas | --ga | --g) |
||
893 | # Obsolete; use --with-gas. |
||
894 | with_gas=yes ;; |
||
895 | |||
896 | -help | --help | --hel | --he | -h) |
||
897 | ac_init_help=long ;; |
||
898 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
||
899 | ac_init_help=recursive ;; |
||
900 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
||
901 | ac_init_help=short ;; |
||
902 | |||
903 | -host | --host | --hos | --ho) |
||
904 | ac_prev=host_alias ;; |
||
905 | -host=* | --host=* | --hos=* | --ho=*) |
||
906 | host_alias=$ac_optarg ;; |
||
907 | |||
908 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
||
909 | ac_prev=htmldir ;; |
||
910 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
||
911 | | --ht=*) |
||
912 | htmldir=$ac_optarg ;; |
||
913 | |||
914 | -includedir | --includedir | --includedi | --included | --include \ |
||
915 | | --includ | --inclu | --incl | --inc) |
||
916 | ac_prev=includedir ;; |
||
917 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
||
918 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
||
919 | includedir=$ac_optarg ;; |
||
920 | |||
921 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
||
922 | ac_prev=infodir ;; |
||
923 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
||
924 | infodir=$ac_optarg ;; |
||
925 | |||
926 | -libdir | --libdir | --libdi | --libd) |
||
927 | ac_prev=libdir ;; |
||
928 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
||
929 | libdir=$ac_optarg ;; |
||
930 | |||
931 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
||
932 | | --libexe | --libex | --libe) |
||
933 | ac_prev=libexecdir ;; |
||
934 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
||
935 | | --libexe=* | --libex=* | --libe=*) |
||
936 | libexecdir=$ac_optarg ;; |
||
937 | |||
938 | -localedir | --localedir | --localedi | --localed | --locale) |
||
939 | ac_prev=localedir ;; |
||
940 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
||
941 | localedir=$ac_optarg ;; |
||
942 | |||
943 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
||
944 | | --localstate | --localstat | --localsta | --localst | --locals) |
||
945 | ac_prev=localstatedir ;; |
||
946 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
||
947 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
||
948 | localstatedir=$ac_optarg ;; |
||
949 | |||
950 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
||
951 | ac_prev=mandir ;; |
||
952 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
||
953 | mandir=$ac_optarg ;; |
||
954 | |||
955 | -nfp | --nfp | --nf) |
||
956 | # Obsolete; use --without-fp. |
||
957 | with_fp=no ;; |
||
958 | |||
959 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
||
960 | | --no-cr | --no-c | -n) |
||
961 | no_create=yes ;; |
||
962 | |||
963 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
||
964 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
||
965 | no_recursion=yes ;; |
||
966 | |||
967 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
||
968 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
||
969 | | --oldin | --oldi | --old | --ol | --o) |
||
970 | ac_prev=oldincludedir ;; |
||
971 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
||
972 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
||
973 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
||
974 | oldincludedir=$ac_optarg ;; |
||
975 | |||
976 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
||
977 | ac_prev=prefix ;; |
||
978 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
||
979 | prefix=$ac_optarg ;; |
||
980 | |||
981 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
||
982 | | --program-pre | --program-pr | --program-p) |
||
983 | ac_prev=program_prefix ;; |
||
984 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
||
985 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
||
986 | program_prefix=$ac_optarg ;; |
||
987 | |||
988 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
||
989 | | --program-suf | --program-su | --program-s) |
||
990 | ac_prev=program_suffix ;; |
||
991 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
||
992 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
||
993 | program_suffix=$ac_optarg ;; |
||
994 | |||
995 | -program-transform-name | --program-transform-name \ |
||
996 | | --program-transform-nam | --program-transform-na \ |
||
997 | | --program-transform-n | --program-transform- \ |
||
998 | | --program-transform | --program-transfor \ |
||
999 | | --program-transfo | --program-transf \ |
||
1000 | | --program-trans | --program-tran \ |
||
1001 | | --progr-tra | --program-tr | --program-t) |
||
1002 | ac_prev=program_transform_name ;; |
||
1003 | -program-transform-name=* | --program-transform-name=* \ |
||
1004 | | --program-transform-nam=* | --program-transform-na=* \ |
||
1005 | | --program-transform-n=* | --program-transform-=* \ |
||
1006 | | --program-transform=* | --program-transfor=* \ |
||
1007 | | --program-transfo=* | --program-transf=* \ |
||
1008 | | --program-trans=* | --program-tran=* \ |
||
1009 | | --progr-tra=* | --program-tr=* | --program-t=*) |
||
1010 | program_transform_name=$ac_optarg ;; |
||
1011 | |||
1012 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
||
1013 | ac_prev=pdfdir ;; |
||
1014 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
||
1015 | pdfdir=$ac_optarg ;; |
||
1016 | |||
1017 | -psdir | --psdir | --psdi | --psd | --ps) |
||
1018 | ac_prev=psdir ;; |
||
1019 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
||
1020 | psdir=$ac_optarg ;; |
||
1021 | |||
1022 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
||
1023 | | -silent | --silent | --silen | --sile | --sil) |
||
1024 | silent=yes ;; |
||
1025 | |||
2097 | jag | 1026 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
1027 | | --runstate | --runstat | --runsta | --runst | --runs \ |
||
1028 | | --run | --ru | --r) |
||
1029 | ac_prev=runstatedir ;; |
||
1030 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
||
1031 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
||
1032 | | --run=* | --ru=* | --r=*) |
||
1033 | runstatedir=$ac_optarg ;; |
||
1034 | |||
1 | - | 1035 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1036 | ac_prev=sbindir ;; |
||
1037 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
||
1038 | | --sbi=* | --sb=*) |
||
1039 | sbindir=$ac_optarg ;; |
||
1040 | |||
1041 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
||
1042 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
||
1043 | | --sharedst | --shareds | --shared | --share | --shar \ |
||
1044 | | --sha | --sh) |
||
1045 | ac_prev=sharedstatedir ;; |
||
1046 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
||
1047 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
||
1048 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
||
1049 | | --sha=* | --sh=*) |
||
1050 | sharedstatedir=$ac_optarg ;; |
||
1051 | |||
1052 | -site | --site | --sit) |
||
1053 | ac_prev=site ;; |
||
1054 | -site=* | --site=* | --sit=*) |
||
1055 | site=$ac_optarg ;; |
||
1056 | |||
1057 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
||
1058 | ac_prev=srcdir ;; |
||
1059 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
||
1060 | srcdir=$ac_optarg ;; |
||
1061 | |||
1062 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
||
1063 | | --syscon | --sysco | --sysc | --sys | --sy) |
||
1064 | ac_prev=sysconfdir ;; |
||
1065 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
||
1066 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
||
1067 | sysconfdir=$ac_optarg ;; |
||
1068 | |||
1069 | -target | --target | --targe | --targ | --tar | --ta | --t) |
||
1070 | ac_prev=target_alias ;; |
||
1071 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
||
1072 | target_alias=$ac_optarg ;; |
||
1073 | |||
1074 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
||
1075 | verbose=yes ;; |
||
1076 | |||
1077 | -version | --version | --versio | --versi | --vers | -V) |
||
1078 | ac_init_version=: ;; |
||
1079 | |||
1080 | -with-* | --with-*) |
||
1081 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
||
1082 | # Reject names that are not valid shell variable names. |
||
1083 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
||
2097 | jag | 1084 | as_fn_error $? "invalid package name: \`$ac_useropt'" |
1 | - | 1085 | ac_useropt_orig=$ac_useropt |
2097 | jag | 1086 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
1 | - | 1087 | case $ac_user_opts in |
1088 | *" |
||
1089 | "with_$ac_useropt" |
||
1090 | "*) ;; |
||
1091 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
||
1092 | ac_unrecognized_sep=', ';; |
||
1093 | esac |
||
1094 | eval with_$ac_useropt=\$ac_optarg ;; |
||
1095 | |||
1096 | -without-* | --without-*) |
||
1097 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
||
1098 | # Reject names that are not valid shell variable names. |
||
1099 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
||
2097 | jag | 1100 | as_fn_error $? "invalid package name: \`$ac_useropt'" |
1 | - | 1101 | ac_useropt_orig=$ac_useropt |
2097 | jag | 1102 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
1 | - | 1103 | case $ac_user_opts in |
1104 | *" |
||
1105 | "with_$ac_useropt" |
||
1106 | "*) ;; |
||
1107 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
||
1108 | ac_unrecognized_sep=', ';; |
||
1109 | esac |
||
1110 | eval with_$ac_useropt=no ;; |
||
1111 | |||
1112 | --x) |
||
1113 | # Obsolete; use --with-x. |
||
1114 | with_x=yes ;; |
||
1115 | |||
1116 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
||
1117 | | --x-incl | --x-inc | --x-in | --x-i) |
||
1118 | ac_prev=x_includes ;; |
||
1119 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
||
1120 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
||
1121 | x_includes=$ac_optarg ;; |
||
1122 | |||
1123 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
||
1124 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
||
1125 | ac_prev=x_libraries ;; |
||
1126 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
||
1127 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
||
1128 | x_libraries=$ac_optarg ;; |
||
1129 | |||
232 | jag | 1130 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1131 | Try \`$0 --help' for more information" |
||
1 | - | 1132 | ;; |
1133 | |||
1134 | *=*) |
||
1135 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
||
1136 | # Reject names that are not valid shell variable names. |
||
1137 | case $ac_envvar in #( |
||
1138 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
||
232 | jag | 1139 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1 | - | 1140 | esac |
1141 | eval $ac_envvar=\$ac_optarg |
||
1142 | export $ac_envvar ;; |
||
1143 | |||
1144 | *) |
||
1145 | # FIXME: should be removed in autoconf 3.0. |
||
2097 | jag | 1146 | printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1 | - | 1147 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
2097 | jag | 1148 | printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 |
232 | jag | 1149 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1 | - | 1150 | ;; |
1151 | |||
1152 | esac |
||
1153 | done |
||
1154 | |||
1155 | if test -n "$ac_prev"; then |
||
1156 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
||
232 | jag | 1157 | as_fn_error $? "missing argument to $ac_option" |
1 | - | 1158 | fi |
1159 | |||
1160 | if test -n "$ac_unrecognized_opts"; then |
||
1161 | case $enable_option_checking in |
||
1162 | no) ;; |
||
232 | jag | 1163 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
2097 | jag | 1164 | *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1 | - | 1165 | esac |
1166 | fi |
||
1167 | |||
1168 | # Check all directory arguments for consistency. |
||
1169 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
||
1170 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
||
1171 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
||
2097 | jag | 1172 | libdir localedir mandir runstatedir |
1 | - | 1173 | do |
1174 | eval ac_val=\$$ac_var |
||
1175 | # Remove trailing slashes. |
||
1176 | case $ac_val in |
||
1177 | */ ) |
||
1178 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
||
1179 | eval $ac_var=\$ac_val;; |
||
1180 | esac |
||
1181 | # Be sure to have absolute directory names. |
||
1182 | case $ac_val in |
||
1183 | [\\/$]* | ?:[\\/]* ) continue;; |
||
1184 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
||
1185 | esac |
||
232 | jag | 1186 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1 | - | 1187 | done |
1188 | |||
1189 | # There might be people who depend on the old broken behavior: `$host' |
||
1190 | # used to hold the argument of --host etc. |
||
1191 | # FIXME: To remove some day. |
||
1192 | build=$build_alias |
||
1193 | host=$host_alias |
||
1194 | target=$target_alias |
||
1195 | |||
1196 | # FIXME: To remove some day. |
||
1197 | if test "x$host_alias" != x; then |
||
1198 | if test "x$build_alias" = x; then |
||
1199 | cross_compiling=maybe |
||
1200 | elif test "x$build_alias" != "x$host_alias"; then |
||
1201 | cross_compiling=yes |
||
1202 | fi |
||
1203 | fi |
||
1204 | |||
1205 | ac_tool_prefix= |
||
1206 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
||
1207 | |||
1208 | test "$silent" = yes && exec 6>/dev/null |
||
1209 | |||
1210 | |||
1211 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
||
1212 | ac_ls_di=`ls -di .` && |
||
1213 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
||
232 | jag | 1214 | as_fn_error $? "working directory cannot be determined" |
1 | - | 1215 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
232 | jag | 1216 | as_fn_error $? "pwd does not report name of working directory" |
1 | - | 1217 | |
1218 | |||
1219 | # Find the source files, if location was not specified. |
||
1220 | if test -z "$srcdir"; then |
||
1221 | ac_srcdir_defaulted=yes |
||
1222 | # Try the directory containing this script, then the parent directory. |
||
1223 | ac_confdir=`$as_dirname -- "$as_myself" || |
||
1224 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
||
1225 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
||
1226 | X"$as_myself" : 'X\(//\)$' \| \ |
||
1227 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
||
2097 | jag | 1228 | printf "%s\n" X"$as_myself" | |
1 | - | 1229 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1230 | s//\1/ |
||
1231 | q |
||
1232 | } |
||
1233 | /^X\(\/\/\)[^/].*/{ |
||
1234 | s//\1/ |
||
1235 | q |
||
1236 | } |
||
1237 | /^X\(\/\/\)$/{ |
||
1238 | s//\1/ |
||
1239 | q |
||
1240 | } |
||
1241 | /^X\(\/\).*/{ |
||
1242 | s//\1/ |
||
1243 | q |
||
1244 | } |
||
1245 | s/.*/./; q'` |
||
1246 | srcdir=$ac_confdir |
||
1247 | if test ! -r "$srcdir/$ac_unique_file"; then |
||
1248 | srcdir=.. |
||
1249 | fi |
||
1250 | else |
||
1251 | ac_srcdir_defaulted=no |
||
1252 | fi |
||
1253 | if test ! -r "$srcdir/$ac_unique_file"; then |
||
1254 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
||
232 | jag | 1255 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1 | - | 1256 | fi |
1257 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
||
1258 | ac_abs_confdir=`( |
||
232 | jag | 1259 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1 | - | 1260 | pwd)` |
1261 | # When building in place, set srcdir=. |
||
1262 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
||
1263 | srcdir=. |
||
1264 | fi |
||
1265 | # Remove unnecessary trailing slashes from srcdir. |
||
1266 | # Double slashes in file names in object file debugging info |
||
1267 | # mess up M-x gdb in Emacs. |
||
1268 | case $srcdir in |
||
1269 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
||
1270 | esac |
||
1271 | for ac_var in $ac_precious_vars; do |
||
1272 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
||
1273 | eval ac_env_${ac_var}_value=\$${ac_var} |
||
1274 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
||
1275 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
||
1276 | done |
||
1277 | |||
1278 | # |
||
1279 | # Report the --help message. |
||
1280 | # |
||
1281 | if test "$ac_init_help" = "long"; then |
||
1282 | # Omit some internal or obsolete options to make the list less imposing. |
||
1283 | # This message is too long to be a string in the A/UX 3.1 sh. |
||
1284 | cat <<_ACEOF |
||
2272 | jag | 1285 | \`configure' configures din 60WIP to adapt to many kinds of systems. |
1 | - | 1286 | |
1287 | Usage: $0 [OPTION]... [VAR=VALUE]... |
||
1288 | |||
1289 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
||
1290 | VAR=VALUE. See below for descriptions of some of the useful variables. |
||
1291 | |||
1292 | Defaults for the options are specified in brackets. |
||
1293 | |||
1294 | Configuration: |
||
1295 | -h, --help display this help and exit |
||
1296 | --help=short display options specific to this package |
||
1297 | --help=recursive display the short help of all the included packages |
||
1298 | -V, --version display version information and exit |
||
232 | jag | 1299 | -q, --quiet, --silent do not print \`checking ...' messages |
1 | - | 1300 | --cache-file=FILE cache test results in FILE [disabled] |
1301 | -C, --config-cache alias for \`--cache-file=config.cache' |
||
1302 | -n, --no-create do not create output files |
||
1303 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
||
1304 | |||
1305 | Installation directories: |
||
1306 | --prefix=PREFIX install architecture-independent files in PREFIX |
||
1307 | [$ac_default_prefix] |
||
1308 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
||
1309 | [PREFIX] |
||
1310 | |||
1311 | By default, \`make install' will install all the files in |
||
1312 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
||
1313 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
||
1314 | for instance \`--prefix=\$HOME'. |
||
1315 | |||
1316 | For better control, use the options below. |
||
1317 | |||
1318 | Fine tuning of the installation directories: |
||
1319 | --bindir=DIR user executables [EPREFIX/bin] |
||
1320 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
||
1321 | --libexecdir=DIR program executables [EPREFIX/libexec] |
||
1322 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
||
1323 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
||
1324 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
||
2097 | jag | 1325 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
1 | - | 1326 | --libdir=DIR object code libraries [EPREFIX/lib] |
1327 | --includedir=DIR C header files [PREFIX/include] |
||
1328 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
||
1329 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
||
1330 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
||
1331 | --infodir=DIR info documentation [DATAROOTDIR/info] |
||
1332 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
||
1333 | --mandir=DIR man documentation [DATAROOTDIR/man] |
||
1334 | --docdir=DIR documentation root [DATAROOTDIR/doc/din] |
||
1335 | --htmldir=DIR html documentation [DOCDIR] |
||
1336 | --dvidir=DIR dvi documentation [DOCDIR] |
||
1337 | --pdfdir=DIR pdf documentation [DOCDIR] |
||
1338 | --psdir=DIR ps documentation [DOCDIR] |
||
1339 | _ACEOF |
||
1340 | |||
1341 | cat <<\_ACEOF |
||
1342 | |||
1343 | Program names: |
||
1344 | --program-prefix=PREFIX prepend PREFIX to installed program names |
||
1345 | --program-suffix=SUFFIX append SUFFIX to installed program names |
||
1346 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
||
1347 | _ACEOF |
||
1348 | fi |
||
1349 | |||
1350 | if test -n "$ac_init_help"; then |
||
1351 | case $ac_init_help in |
||
2272 | jag | 1352 | short | recursive ) echo "Configuration of din 60WIP:";; |
1 | - | 1353 | esac |
1354 | cat <<\_ACEOF |
||
1355 | |||
1356 | Optional Features: |
||
1357 | --disable-option-checking ignore unrecognized --enable/--with options |
||
1358 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
||
1359 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
||
2097 | jag | 1360 | --enable-silent-rules less verbose build output (undo: "make V=1") |
1361 | --disable-silent-rules verbose build output (undo: "make V=0") |
||
1362 | --enable-dependency-tracking |
||
1363 | do not reject slow dependency extractors |
||
1364 | --disable-dependency-tracking |
||
1365 | speeds up one-time build |
||
1 | - | 1366 | |
1367 | Some influential environment variables: |
||
1368 | CC C compiler command |
||
1369 | CFLAGS C compiler flags |
||
1370 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
||
1371 | nonstandard directory <lib dir> |
||
1372 | LIBS libraries to pass to the linker, e.g. -l<library> |
||
20 | - | 1373 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1 | - | 1374 | you have headers in a nonstandard directory <include dir> |
1375 | CXX C++ compiler command |
||
1376 | CXXFLAGS C++ compiler flags |
||
1377 | OBJC Objective C compiler command |
||
1378 | OBJCFLAGS Objective C compiler flags |
||
1379 | |||
1380 | Use these variables to override the choices made by `configure' or to help |
||
1381 | it to find libraries and programs with nonstandard names/locations. |
||
1382 | |||
2303 | jag | 1383 | Report bugs to <jag@dinisnoise.org>. |
1 | - | 1384 | _ACEOF |
1385 | ac_status=$? |
||
1386 | fi |
||
1387 | |||
1388 | if test "$ac_init_help" = "recursive"; then |
||
1389 | # If there are subdirs, report their specific --help. |
||
1390 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
||
1391 | test -d "$ac_dir" || |
||
1392 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
||
1393 | continue |
||
1394 | ac_builddir=. |
||
1395 | |||
1396 | case "$ac_dir" in |
||
1397 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
||
1398 | *) |
||
2097 | jag | 1399 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
1 | - | 1400 | # A ".." for each directory in $ac_dir_suffix. |
2097 | jag | 1401 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1 | - | 1402 | case $ac_top_builddir_sub in |
1403 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
||
1404 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
||
1405 | esac ;; |
||
1406 | esac |
||
1407 | ac_abs_top_builddir=$ac_pwd |
||
1408 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
||
1409 | # for backward compatibility: |
||
1410 | ac_top_builddir=$ac_top_build_prefix |
||
1411 | |||
1412 | case $srcdir in |
||
1413 | .) # We are building in place. |
||
1414 | ac_srcdir=. |
||
1415 | ac_top_srcdir=$ac_top_builddir_sub |
||
1416 | ac_abs_top_srcdir=$ac_pwd ;; |
||
1417 | [\\/]* | ?:[\\/]* ) # Absolute name. |
||
1418 | ac_srcdir=$srcdir$ac_dir_suffix; |
||
1419 | ac_top_srcdir=$srcdir |
||
1420 | ac_abs_top_srcdir=$srcdir ;; |
||
1421 | *) # Relative name. |
||
1422 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
||
1423 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
||
1424 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
||
1425 | esac |
||
1426 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
||
1427 | |||
1428 | cd "$ac_dir" || { ac_status=$?; continue; } |
||
2097 | jag | 1429 | # Check for configure.gnu first; this name is used for a wrapper for |
1430 | # Metaconfig's "Configure" on case-insensitive file systems. |
||
1 | - | 1431 | if test -f "$ac_srcdir/configure.gnu"; then |
1432 | echo && |
||
1433 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
||
1434 | elif test -f "$ac_srcdir/configure"; then |
||
1435 | echo && |
||
1436 | $SHELL "$ac_srcdir/configure" --help=recursive |
||
1437 | else |
||
2097 | jag | 1438 | printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1 | - | 1439 | fi || ac_status=$? |
1440 | cd "$ac_pwd" || { ac_status=$?; break; } |
||
1441 | done |
||
1442 | fi |
||
1443 | |||
1444 | test -n "$ac_init_help" && exit $ac_status |
||
1445 | if $ac_init_version; then |
||
1446 | cat <<\_ACEOF |
||
2272 | jag | 1447 | din configure 60WIP |
2097 | jag | 1448 | generated by GNU Autoconf 2.71 |
1 | - | 1449 | |
2097 | jag | 1450 | Copyright (C) 2021 Free Software Foundation, Inc. |
1 | - | 1451 | This configure script is free software; the Free Software Foundation |
1452 | gives unlimited permission to copy, distribute and modify it. |
||
1453 | _ACEOF |
||
1454 | exit |
||
1455 | fi |
||
1456 | |||
1457 | ## ------------------------ ## |
||
1458 | ## Autoconf initialization. ## |
||
1459 | ## ------------------------ ## |
||
1460 | |||
1461 | # ac_fn_c_try_compile LINENO |
||
1462 | # -------------------------- |
||
1463 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
||
1464 | ac_fn_c_try_compile () |
||
1465 | { |
||
1466 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
||
2097 | jag | 1467 | rm -f conftest.$ac_objext conftest.beam |
1 | - | 1468 | if { { ac_try="$ac_compile" |
1469 | case "(($ac_try" in |
||
1470 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
1471 | *) ac_try_echo=$ac_try;; |
||
1472 | esac |
||
1473 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2097 | jag | 1474 | printf "%s\n" "$ac_try_echo"; } >&5 |
1 | - | 1475 | (eval "$ac_compile") 2>conftest.err |
1476 | ac_status=$? |
||
1477 | if test -s conftest.err; then |
||
1478 | grep -v '^ *+' conftest.err >conftest.er1 |
||
1479 | cat conftest.er1 >&5 |
||
1480 | mv -f conftest.er1 conftest.err |
||
1481 | fi |
||
2097 | jag | 1482 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1 | - | 1483 | test $ac_status = 0; } && { |
1484 | test -z "$ac_c_werror_flag" || |
||
1485 | test ! -s conftest.err |
||
2097 | jag | 1486 | } && test -s conftest.$ac_objext |
1487 | then : |
||
1 | - | 1488 | ac_retval=0 |
2097 | jag | 1489 | else $as_nop |
1490 | printf "%s\n" "$as_me: failed program was:" >&5 |
||
1 | - | 1491 | sed 's/^/| /' conftest.$ac_ext >&5 |
1492 | |||
1493 | ac_retval=1 |
||
1494 | fi |
||
232 | jag | 1495 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
20 | - | 1496 | as_fn_set_status $ac_retval |
1 | - | 1497 | |
1498 | } # ac_fn_c_try_compile |
||
1499 | |||
1500 | # ac_fn_cxx_try_compile LINENO |
||
1501 | # ---------------------------- |
||
1502 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
||
1503 | ac_fn_cxx_try_compile () |
||
1504 | { |
||
1505 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
||
2097 | jag | 1506 | rm -f conftest.$ac_objext conftest.beam |
1 | - | 1507 | if { { ac_try="$ac_compile" |
1508 | case "(($ac_try" in |
||
1509 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
1510 | *) ac_try_echo=$ac_try;; |
||
1511 | esac |
||
1512 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2097 | jag | 1513 | printf "%s\n" "$ac_try_echo"; } >&5 |
1 | - | 1514 | (eval "$ac_compile") 2>conftest.err |
1515 | ac_status=$? |
||
1516 | if test -s conftest.err; then |
||
1517 | grep -v '^ *+' conftest.err >conftest.er1 |
||
1518 | cat conftest.er1 >&5 |
||
1519 | mv -f conftest.er1 conftest.err |
||
1520 | fi |
||
2097 | jag | 1521 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1 | - | 1522 | test $ac_status = 0; } && { |
1523 | test -z "$ac_cxx_werror_flag" || |
||
1524 | test ! -s conftest.err |
||
2097 | jag | 1525 | } && test -s conftest.$ac_objext |
1526 | then : |
||
1 | - | 1527 | ac_retval=0 |
2097 | jag | 1528 | else $as_nop |
1529 | printf "%s\n" "$as_me: failed program was:" >&5 |
||
1 | - | 1530 | sed 's/^/| /' conftest.$ac_ext >&5 |
1531 | |||
1532 | ac_retval=1 |
||
1533 | fi |
||
232 | jag | 1534 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
20 | - | 1535 | as_fn_set_status $ac_retval |
1 | - | 1536 | |
1537 | } # ac_fn_cxx_try_compile |
||
1538 | |||
1539 | # ac_fn_objc_try_compile LINENO |
||
1540 | # ----------------------------- |
||
1541 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
||
1542 | ac_fn_objc_try_compile () |
||
1543 | { |
||
1544 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
||
2097 | jag | 1545 | rm -f conftest.$ac_objext conftest.beam |
1 | - | 1546 | if { { ac_try="$ac_compile" |
1547 | case "(($ac_try" in |
||
1548 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
1549 | *) ac_try_echo=$ac_try;; |
||
1550 | esac |
||
1551 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2097 | jag | 1552 | printf "%s\n" "$ac_try_echo"; } >&5 |
1 | - | 1553 | (eval "$ac_compile") 2>conftest.err |
1554 | ac_status=$? |
||
1555 | if test -s conftest.err; then |
||
1556 | grep -v '^ *+' conftest.err >conftest.er1 |
||
1557 | cat conftest.er1 >&5 |
||
1558 | mv -f conftest.er1 conftest.err |
||
1559 | fi |
||
2097 | jag | 1560 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1 | - | 1561 | test $ac_status = 0; } && { |
1562 | test -z "$ac_objc_werror_flag" || |
||
1563 | test ! -s conftest.err |
||
2097 | jag | 1564 | } && test -s conftest.$ac_objext |
1565 | then : |
||
1 | - | 1566 | ac_retval=0 |
2097 | jag | 1567 | else $as_nop |
1568 | printf "%s\n" "$as_me: failed program was:" >&5 |
||
1 | - | 1569 | sed 's/^/| /' conftest.$ac_ext >&5 |
1570 | |||
1571 | ac_retval=1 |
||
1572 | fi |
||
232 | jag | 1573 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
20 | - | 1574 | as_fn_set_status $ac_retval |
1 | - | 1575 | |
1576 | } # ac_fn_objc_try_compile |
||
2097 | jag | 1577 | ac_configure_args_raw= |
1578 | for ac_arg |
||
1579 | do |
||
1580 | case $ac_arg in |
||
1581 | *\'*) |
||
1582 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
||
1583 | esac |
||
1584 | as_fn_append ac_configure_args_raw " '$ac_arg'" |
||
1585 | done |
||
1586 | |||
1587 | case $ac_configure_args_raw in |
||
1588 | *$as_nl*) |
||
1589 | ac_safe_unquote= ;; |
||
1590 | *) |
||
1591 | ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. |
||
1592 | ac_unsafe_a="$ac_unsafe_z#~" |
||
1593 | ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" |
||
1594 | ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; |
||
1595 | esac |
||
1596 | |||
1 | - | 1597 | cat >config.log <<_ACEOF |
1598 | This file contains any messages produced by compilers while |
||
1599 | running configure, to aid debugging if configure makes a mistake. |
||
1600 | |||
2272 | jag | 1601 | It was created by din $as_me 60WIP, which was |
2097 | jag | 1602 | generated by GNU Autoconf 2.71. Invocation command line was |
1 | - | 1603 | |
2097 | jag | 1604 | $ $0$ac_configure_args_raw |
1 | - | 1605 | |
1606 | _ACEOF |
||
1607 | exec 5>>config.log |
||
1608 | { |
||
1609 | cat <<_ASUNAME |
||
1610 | ## --------- ## |
||
1611 | ## Platform. ## |
||
1612 | ## --------- ## |
||
1613 | |||
1614 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
||
1615 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
||
1616 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
||
1617 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
||
1618 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
||
1619 | |||
1620 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
||
1621 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
||
1622 | |||
1623 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
||
1624 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
||
1625 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
||
1626 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
||
1627 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
||
1628 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
||
1629 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
||
1630 | |||
1631 | _ASUNAME |
||
1632 | |||
1633 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
1634 | for as_dir in $PATH |
||
1635 | do |
||
1636 | IFS=$as_save_IFS |
||
2097 | jag | 1637 | case $as_dir in #((( |
1638 | '') as_dir=./ ;; |
||
1639 | */) ;; |
||
1640 | *) as_dir=$as_dir/ ;; |
||
1641 | esac |
||
1642 | printf "%s\n" "PATH: $as_dir" |
||
1 | - | 1643 | done |
1644 | IFS=$as_save_IFS |
||
1645 | |||
1646 | } >&5 |
||
1647 | |||
1648 | cat >&5 <<_ACEOF |
||
1649 | |||
1650 | |||
1651 | ## ----------- ## |
||
1652 | ## Core tests. ## |
||
1653 | ## ----------- ## |
||
1654 | |||
1655 | _ACEOF |
||
1656 | |||
1657 | |||
1658 | # Keep a trace of the command line. |
||
1659 | # Strip out --no-create and --no-recursion so they do not pile up. |
||
1660 | # Strip out --silent because we don't want to record it for future runs. |
||
1661 | # Also quote any args containing shell meta-characters. |
||
1662 | # Make two passes to allow for proper duplicate-argument suppression. |
||
1663 | ac_configure_args= |
||
1664 | ac_configure_args0= |
||
1665 | ac_configure_args1= |
||
1666 | ac_must_keep_next=false |
||
1667 | for ac_pass in 1 2 |
||
1668 | do |
||
1669 | for ac_arg |
||
1670 | do |
||
1671 | case $ac_arg in |
||
1672 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
||
1673 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
||
1674 | | -silent | --silent | --silen | --sile | --sil) |
||
1675 | continue ;; |
||
1676 | *\'*) |
||
2097 | jag | 1677 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1 | - | 1678 | esac |
1679 | case $ac_pass in |
||
1680 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
||
1681 | 2) |
||
1682 | as_fn_append ac_configure_args1 " '$ac_arg'" |
||
1683 | if test $ac_must_keep_next = true; then |
||
1684 | ac_must_keep_next=false # Got value, back to normal. |
||
1685 | else |
||
1686 | case $ac_arg in |
||
1687 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
||
1688 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
||
1689 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
||
1690 | | -with-* | --with-* | -without-* | --without-* | --x) |
||
1691 | case "$ac_configure_args0 " in |
||
1692 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
||
1693 | esac |
||
1694 | ;; |
||
1695 | -* ) ac_must_keep_next=true ;; |
||
1696 | esac |
||
1697 | fi |
||
1698 | as_fn_append ac_configure_args " '$ac_arg'" |
||
1699 | ;; |
||
1700 | esac |
||
1701 | done |
||
1702 | done |
||
1703 | { ac_configure_args0=; unset ac_configure_args0;} |
||
1704 | { ac_configure_args1=; unset ac_configure_args1;} |
||
1705 | |||
1706 | # When interrupted or exit'd, cleanup temporary files, and complete |
||
1707 | # config.log. We remove comments because anyway the quotes in there |
||
1708 | # would cause problems or look ugly. |
||
1709 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
||
1710 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
||
1711 | trap 'exit_status=$? |
||
2097 | jag | 1712 | # Sanitize IFS. |
1713 | IFS=" "" $as_nl" |
||
1 | - | 1714 | # Save into config.log some information that might help in debugging. |
1715 | { |
||
1716 | echo |
||
1717 | |||
2097 | jag | 1718 | printf "%s\n" "## ---------------- ## |
1 | - | 1719 | ## Cache variables. ## |
232 | jag | 1720 | ## ---------------- ##" |
1 | - | 1721 | echo |
1722 | # The following way of writing the cache mishandles newlines in values, |
||
1723 | ( |
||
1724 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
||
1725 | eval ac_val=\$$ac_var |
||
1726 | case $ac_val in #( |
||
1727 | *${as_nl}*) |
||
1728 | case $ac_var in #( |
||
2097 | jag | 1729 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1730 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
||
1 | - | 1731 | esac |
1732 | case $ac_var in #( |
||
1733 | _ | IFS | as_nl) ;; #( |
||
1734 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
||
1735 | *) { eval $ac_var=; unset $ac_var;} ;; |
||
1736 | esac ;; |
||
1737 | esac |
||
1738 | done |
||
1739 | (set) 2>&1 | |
||
1740 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
||
1741 | *${as_nl}ac_space=\ *) |
||
1742 | sed -n \ |
||
1743 | "s/'\''/'\''\\\\'\'''\''/g; |
||
1744 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
||
1745 | ;; #( |
||
1746 | *) |
||
1747 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
||
1748 | ;; |
||
1749 | esac | |
||
1750 | sort |
||
1751 | ) |
||
1752 | echo |
||
1753 | |||
2097 | jag | 1754 | printf "%s\n" "## ----------------- ## |
1 | - | 1755 | ## Output variables. ## |
232 | jag | 1756 | ## ----------------- ##" |
1 | - | 1757 | echo |
1758 | for ac_var in $ac_subst_vars |
||
1759 | do |
||
1760 | eval ac_val=\$$ac_var |
||
1761 | case $ac_val in |
||
2097 | jag | 1762 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1 | - | 1763 | esac |
2097 | jag | 1764 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
1 | - | 1765 | done | sort |
1766 | echo |
||
1767 | |||
1768 | if test -n "$ac_subst_files"; then |
||
2097 | jag | 1769 | printf "%s\n" "## ------------------- ## |
1 | - | 1770 | ## File substitutions. ## |
232 | jag | 1771 | ## ------------------- ##" |
1 | - | 1772 | echo |
1773 | for ac_var in $ac_subst_files |
||
1774 | do |
||
1775 | eval ac_val=\$$ac_var |
||
1776 | case $ac_val in |
||
2097 | jag | 1777 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1 | - | 1778 | esac |
2097 | jag | 1779 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
1 | - | 1780 | done | sort |
1781 | echo |
||
1782 | fi |
||
1783 | |||
1784 | if test -s confdefs.h; then |
||
2097 | jag | 1785 | printf "%s\n" "## ----------- ## |
1 | - | 1786 | ## confdefs.h. ## |
232 | jag | 1787 | ## ----------- ##" |
1 | - | 1788 | echo |
1789 | cat confdefs.h |
||
1790 | echo |
||
1791 | fi |
||
1792 | test "$ac_signal" != 0 && |
||
2097 | jag | 1793 | printf "%s\n" "$as_me: caught signal $ac_signal" |
1794 | printf "%s\n" "$as_me: exit $exit_status" |
||
1 | - | 1795 | } >&5 |
1796 | rm -f core *.core core.conftest.* && |
||
1797 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
||
1798 | exit $exit_status |
||
1799 | ' 0 |
||
1800 | for ac_signal in 1 2 13 15; do |
||
1801 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
||
1802 | done |
||
1803 | ac_signal=0 |
||
1804 | |||
1805 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
||
1806 | rm -f -r conftest* confdefs.h |
||
1807 | |||
2097 | jag | 1808 | printf "%s\n" "/* confdefs.h */" > confdefs.h |
1 | - | 1809 | |
1810 | # Predefined preprocessor variables. |
||
1811 | |||
2097 | jag | 1812 | printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
1 | - | 1813 | |
2097 | jag | 1814 | printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
1 | - | 1815 | |
2097 | jag | 1816 | printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
1 | - | 1817 | |
2097 | jag | 1818 | printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
1 | - | 1819 | |
2097 | jag | 1820 | printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
1 | - | 1821 | |
2097 | jag | 1822 | printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h |
1 | - | 1823 | |
1824 | |||
1825 | # Let the site file select an alternate cache file if it wants to. |
||
1826 | # Prefer an explicitly selected file to automatically selected ones. |
||
1827 | if test -n "$CONFIG_SITE"; then |
||
2097 | jag | 1828 | ac_site_files="$CONFIG_SITE" |
1 | - | 1829 | elif test "x$prefix" != xNONE; then |
2097 | jag | 1830 | ac_site_files="$prefix/share/config.site $prefix/etc/config.site" |
1 | - | 1831 | else |
2097 | jag | 1832 | ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1 | - | 1833 | fi |
2097 | jag | 1834 | |
1835 | for ac_site_file in $ac_site_files |
||
1 | - | 1836 | do |
2097 | jag | 1837 | case $ac_site_file in #( |
1838 | */*) : |
||
1839 | ;; #( |
||
1840 | *) : |
||
1841 | ac_site_file=./$ac_site_file ;; |
||
1842 | esac |
||
1843 | if test -f "$ac_site_file" && test -r "$ac_site_file"; then |
||
1844 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
||
1845 | printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} |
||
1 | - | 1846 | sed 's/^/| /' "$ac_site_file" >&5 |
232 | jag | 1847 | . "$ac_site_file" \ |
2097 | jag | 1848 | || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1849 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
||
232 | jag | 1850 | as_fn_error $? "failed to load site script $ac_site_file |
2097 | jag | 1851 | See \`config.log' for more details" "$LINENO" 5; } |
1 | - | 1852 | fi |
1853 | done |
||
1854 | |||
1855 | if test -r "$cache_file"; then |
||
20 | - | 1856 | # Some versions of bash will fail to source /dev/null (special files |
1857 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
||
1858 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
||
2097 | jag | 1859 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1860 | printf "%s\n" "$as_me: loading cache $cache_file" >&6;} |
||
1 | - | 1861 | case $cache_file in |
1862 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
||
1863 | *) . "./$cache_file";; |
||
1864 | esac |
||
1865 | fi |
||
1866 | else |
||
2097 | jag | 1867 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1868 | printf "%s\n" "$as_me: creating cache $cache_file" >&6;} |
||
1 | - | 1869 | >$cache_file |
1870 | fi |
||
1871 | |||
2097 | jag | 1872 | # Test code for whether the C compiler supports C89 (global declarations) |
1873 | ac_c_conftest_c89_globals=' |
||
1874 | /* Does the compiler advertise C89 conformance? |
||
1875 | Do not test the value of __STDC__, because some compilers set it to 0 |
||
1876 | while being otherwise adequately conformant. */ |
||
1877 | #if !defined __STDC__ |
||
1878 | # error "Compiler does not advertise C89 conformance" |
||
1879 | #endif |
||
1880 | |||
1881 | #include <stddef.h> |
||
1882 | #include <stdarg.h> |
||
1883 | struct stat; |
||
1884 | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
||
1885 | struct buf { int x; }; |
||
1886 | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
||
1887 | static char *e (p, i) |
||
1888 | char **p; |
||
1889 | int i; |
||
1890 | { |
||
1891 | return p[i]; |
||
1892 | } |
||
1893 | static char *f (char * (*g) (char **, int), char **p, ...) |
||
1894 | { |
||
1895 | char *s; |
||
1896 | va_list v; |
||
1897 | va_start (v,p); |
||
1898 | s = g (p, va_arg (v,int)); |
||
1899 | va_end (v); |
||
1900 | return s; |
||
1901 | } |
||
1902 | |||
1903 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
||
1904 | function prototypes and stuff, but not \xHH hex character constants. |
||
1905 | These do not provoke an error unfortunately, instead are silently treated |
||
1906 | as an "x". The following induces an error, until -std is added to get |
||
1907 | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
||
1908 | array size at least. It is necessary to write \x00 == 0 to get something |
||
1909 | that is true only with -std. */ |
||
1910 | int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; |
||
1911 | |||
1912 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
||
1913 | inside strings and character constants. */ |
||
1914 | #define FOO(x) '\''x'\'' |
||
1915 | int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; |
||
1916 | |||
1917 | int test (int i, double x); |
||
1918 | struct s1 {int (*f) (int a);}; |
||
1919 | struct s2 {int (*f) (double a);}; |
||
1920 | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
||
1921 | int, int);' |
||
1922 | |||
1923 | # Test code for whether the C compiler supports C89 (body of main). |
||
1924 | ac_c_conftest_c89_main=' |
||
1925 | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
||
1926 | ' |
||
1927 | |||
1928 | # Test code for whether the C compiler supports C99 (global declarations) |
||
1929 | ac_c_conftest_c99_globals=' |
||
1930 | // Does the compiler advertise C99 conformance? |
||
1931 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
||
1932 | # error "Compiler does not advertise C99 conformance" |
||
1933 | #endif |
||
1934 | |||
1935 | #include <stdbool.h> |
||
1936 | extern int puts (const char *); |
||
1937 | extern int printf (const char *, ...); |
||
1938 | extern int dprintf (int, const char *, ...); |
||
1939 | extern void *malloc (size_t); |
||
1940 | |||
1941 | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
||
1942 | // dprintf is used instead of fprintf to avoid needing to declare |
||
1943 | // FILE and stderr. |
||
1944 | #define debug(...) dprintf (2, __VA_ARGS__) |
||
1945 | #define showlist(...) puts (#__VA_ARGS__) |
||
1946 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
||
1947 | static void |
||
1948 | test_varargs_macros (void) |
||
1949 | { |
||
1950 | int x = 1234; |
||
1951 | int y = 5678; |
||
1952 | debug ("Flag"); |
||
1953 | debug ("X = %d\n", x); |
||
1954 | showlist (The first, second, and third items.); |
||
1955 | report (x>y, "x is %d but y is %d", x, y); |
||
1956 | } |
||
1957 | |||
1958 | // Check long long types. |
||
1959 | #define BIG64 18446744073709551615ull |
||
1960 | #define BIG32 4294967295ul |
||
1961 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
||
1962 | #if !BIG_OK |
||
1963 | #error "your preprocessor is broken" |
||
1964 | #endif |
||
1965 | #if BIG_OK |
||
1966 | #else |
||
1967 | #error "your preprocessor is broken" |
||
1968 | #endif |
||
1969 | static long long int bignum = -9223372036854775807LL; |
||
1970 | static unsigned long long int ubignum = BIG64; |
||
1971 | |||
1972 | struct incomplete_array |
||
1973 | { |
||
1974 | int datasize; |
||
1975 | double data[]; |
||
1976 | }; |
||
1977 | |||
1978 | struct named_init { |
||
1979 | int number; |
||
1980 | const wchar_t *name; |
||
1981 | double average; |
||
1982 | }; |
||
1983 | |||
1984 | typedef const char *ccp; |
||
1985 | |||
1986 | static inline int |
||
1987 | test_restrict (ccp restrict text) |
||
1988 | { |
||
1989 | // See if C++-style comments work. |
||
1990 | // Iterate through items via the restricted pointer. |
||
1991 | // Also check for declarations in for loops. |
||
1992 | for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) |
||
1993 | continue; |
||
1994 | return 0; |
||
1995 | } |
||
1996 | |||
1997 | // Check varargs and va_copy. |
||
1998 | static bool |
||
1999 | test_varargs (const char *format, ...) |
||
2000 | { |
||
2001 | va_list args; |
||
2002 | va_start (args, format); |
||
2003 | va_list args_copy; |
||
2004 | va_copy (args_copy, args); |
||
2005 | |||
2006 | const char *str = ""; |
||
2007 | int number = 0; |
||
2008 | float fnumber = 0; |
||
2009 | |||
2010 | while (*format) |
||
2011 | { |
||
2012 | switch (*format++) |
||
2013 | { |
||
2014 | case '\''s'\'': // string |
||
2015 | str = va_arg (args_copy, const char *); |
||
2016 | break; |
||
2017 | case '\''d'\'': // int |
||
2018 | number = va_arg (args_copy, int); |
||
2019 | break; |
||
2020 | case '\''f'\'': // float |
||
2021 | fnumber = va_arg (args_copy, double); |
||
2022 | break; |
||
2023 | default: |
||
2024 | break; |
||
2025 | } |
||
2026 | } |
||
2027 | va_end (args_copy); |
||
2028 | va_end (args); |
||
2029 | |||
2030 | return *str && number && fnumber; |
||
2031 | } |
||
2032 | ' |
||
2033 | |||
2034 | # Test code for whether the C compiler supports C99 (body of main). |
||
2035 | ac_c_conftest_c99_main=' |
||
2036 | // Check bool. |
||
2037 | _Bool success = false; |
||
2038 | success |= (argc != 0); |
||
2039 | |||
2040 | // Check restrict. |
||
2041 | if (test_restrict ("String literal") == 0) |
||
2042 | success = true; |
||
2043 | char *restrict newvar = "Another string"; |
||
2044 | |||
2045 | // Check varargs. |
||
2046 | success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); |
||
2047 | test_varargs_macros (); |
||
2048 | |||
2049 | // Check flexible array members. |
||
2050 | struct incomplete_array *ia = |
||
2051 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
||
2052 | ia->datasize = 10; |
||
2053 | for (int i = 0; i < ia->datasize; ++i) |
||
2054 | ia->data[i] = i * 1.234; |
||
2055 | |||
2056 | // Check named initializers. |
||
2057 | struct named_init ni = { |
||
2058 | .number = 34, |
||
2059 | .name = L"Test wide string", |
||
2060 | .average = 543.34343, |
||
2061 | }; |
||
2062 | |||
2063 | ni.number = 58; |
||
2064 | |||
2065 | int dynamic_array[ni.number]; |
||
2066 | dynamic_array[0] = argv[0][0]; |
||
2067 | dynamic_array[ni.number - 1] = 543; |
||
2068 | |||
2069 | // work around unused variable warnings |
||
2070 | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' |
||
2071 | || dynamic_array[ni.number - 1] != 543); |
||
2072 | ' |
||
2073 | |||
2074 | # Test code for whether the C compiler supports C11 (global declarations) |
||
2075 | ac_c_conftest_c11_globals=' |
||
2076 | // Does the compiler advertise C11 conformance? |
||
2077 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
||
2078 | # error "Compiler does not advertise C11 conformance" |
||
2079 | #endif |
||
2080 | |||
2081 | // Check _Alignas. |
||
2082 | char _Alignas (double) aligned_as_double; |
||
2083 | char _Alignas (0) no_special_alignment; |
||
2084 | extern char aligned_as_int; |
||
2085 | char _Alignas (0) _Alignas (int) aligned_as_int; |
||
2086 | |||
2087 | // Check _Alignof. |
||
2088 | enum |
||
2089 | { |
||
2090 | int_alignment = _Alignof (int), |
||
2091 | int_array_alignment = _Alignof (int[100]), |
||
2092 | char_alignment = _Alignof (char) |
||
2093 | }; |
||
2094 | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
||
2095 | |||
2096 | // Check _Noreturn. |
||
2097 | int _Noreturn does_not_return (void) { for (;;) continue; } |
||
2098 | |||
2099 | // Check _Static_assert. |
||
2100 | struct test_static_assert |
||
2101 | { |
||
2102 | int x; |
||
2103 | _Static_assert (sizeof (int) <= sizeof (long int), |
||
2104 | "_Static_assert does not work in struct"); |
||
2105 | long int y; |
||
2106 | }; |
||
2107 | |||
2108 | // Check UTF-8 literals. |
||
2109 | #define u8 syntax error! |
||
2110 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
||
2111 | |||
2112 | // Check duplicate typedefs. |
||
2113 | typedef long *long_ptr; |
||
2114 | typedef long int *long_ptr; |
||
2115 | typedef long_ptr long_ptr; |
||
2116 | |||
2117 | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
||
2118 | struct anonymous |
||
2119 | { |
||
2120 | union { |
||
2121 | struct { int i; int j; }; |
||
2122 | struct { int k; long int l; } w; |
||
2123 | }; |
||
2124 | int m; |
||
2125 | } v1; |
||
2126 | ' |
||
2127 | |||
2128 | # Test code for whether the C compiler supports C11 (body of main). |
||
2129 | ac_c_conftest_c11_main=' |
||
2130 | _Static_assert ((offsetof (struct anonymous, i) |
||
2131 | == offsetof (struct anonymous, w.k)), |
||
2132 | "Anonymous union alignment botch"); |
||
2133 | v1.i = 2; |
||
2134 | v1.w.k = 5; |
||
2135 | ok |= v1.i != 5; |
||
2136 | ' |
||
2137 | |||
2138 | # Test code for whether the C compiler supports C11 (complete). |
||
2139 | ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} |
||
2140 | ${ac_c_conftest_c99_globals} |
||
2141 | ${ac_c_conftest_c11_globals} |
||
2142 | |||
2143 | int |
||
2144 | main (int argc, char **argv) |
||
2145 | { |
||
2146 | int ok = 0; |
||
2147 | ${ac_c_conftest_c89_main} |
||
2148 | ${ac_c_conftest_c99_main} |
||
2149 | ${ac_c_conftest_c11_main} |
||
2150 | return ok; |
||
2151 | } |
||
2152 | " |
||
2153 | |||
2154 | # Test code for whether the C compiler supports C99 (complete). |
||
2155 | ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} |
||
2156 | ${ac_c_conftest_c99_globals} |
||
2157 | |||
2158 | int |
||
2159 | main (int argc, char **argv) |
||
2160 | { |
||
2161 | int ok = 0; |
||
2162 | ${ac_c_conftest_c89_main} |
||
2163 | ${ac_c_conftest_c99_main} |
||
2164 | return ok; |
||
2165 | } |
||
2166 | " |
||
2167 | |||
2168 | # Test code for whether the C compiler supports C89 (complete). |
||
2169 | ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} |
||
2170 | |||
2171 | int |
||
2172 | main (int argc, char **argv) |
||
2173 | { |
||
2174 | int ok = 0; |
||
2175 | ${ac_c_conftest_c89_main} |
||
2176 | return ok; |
||
2177 | } |
||
2178 | " |
||
2179 | |||
2180 | # Test code for whether the C++ compiler supports C++98 (global declarations) |
||
2181 | ac_cxx_conftest_cxx98_globals=' |
||
2182 | // Does the compiler advertise C++98 conformance? |
||
2183 | #if !defined __cplusplus || __cplusplus < 199711L |
||
2184 | # error "Compiler does not advertise C++98 conformance" |
||
2185 | #endif |
||
2186 | |||
2187 | // These inclusions are to reject old compilers that |
||
2188 | // lack the unsuffixed header files. |
||
2189 | #include <cstdlib> |
||
2190 | #include <exception> |
||
2191 | |||
2192 | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
||
2193 | extern void assert (int); |
||
2194 | namespace std { |
||
2195 | extern int strcmp (const char *, const char *); |
||
2196 | } |
||
2197 | |||
2198 | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
||
2199 | using std::exception; |
||
2200 | using std::strcmp; |
||
2201 | |||
2202 | namespace { |
||
2203 | |||
2204 | void test_exception_syntax() |
||
2205 | { |
||
2206 | try { |
||
2207 | throw "test"; |
||
2208 | } catch (const char *s) { |
||
2209 | // Extra parentheses suppress a warning when building autoconf itself, |
||
2210 | // due to lint rules shared with more typical C programs. |
||
2211 | assert (!(strcmp) (s, "test")); |
||
2212 | } |
||
2213 | } |
||
2214 | |||
2215 | template <typename T> struct test_template |
||
2216 | { |
||
2217 | T const val; |
||
2218 | explicit test_template(T t) : val(t) {} |
||
2219 | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
||
2220 | }; |
||
2221 | |||
2222 | } // anonymous namespace |
||
2223 | ' |
||
2224 | |||
2225 | # Test code for whether the C++ compiler supports C++98 (body of main) |
||
2226 | ac_cxx_conftest_cxx98_main=' |
||
2227 | assert (argc); |
||
2228 | assert (! argv[0]); |
||
2229 | { |
||
2230 | test_exception_syntax (); |
||
2231 | test_template<double> tt (2.0); |
||
2232 | assert (tt.add (4) == 6.0); |
||
2233 | assert (true && !false); |
||
2234 | } |
||
2235 | ' |
||
2236 | |||
2237 | # Test code for whether the C++ compiler supports C++11 (global declarations) |
||
2238 | ac_cxx_conftest_cxx11_globals=' |
||
2239 | // Does the compiler advertise C++ 2011 conformance? |
||
2240 | #if !defined __cplusplus || __cplusplus < 201103L |
||
2241 | # error "Compiler does not advertise C++11 conformance" |
||
2242 | #endif |
||
2243 | |||
2244 | namespace cxx11test |
||
2245 | { |
||
2246 | constexpr int get_val() { return 20; } |
||
2247 | |||
2248 | struct testinit |
||
2249 | { |
||
2250 | int i; |
||
2251 | double d; |
||
2252 | }; |
||
2253 | |||
2254 | class delegate |
||
2255 | { |
||
2256 | public: |
||
2257 | delegate(int n) : n(n) {} |
||
2258 | delegate(): delegate(2354) {} |
||
2259 | |||
2260 | virtual int getval() { return this->n; }; |
||
2261 | protected: |
||
2262 | int n; |
||
2263 | }; |
||
2264 | |||
2265 | class overridden : public delegate |
||
2266 | { |
||
2267 | public: |
||
2268 | overridden(int n): delegate(n) {} |
||
2269 | virtual int getval() override final { return this->n * 2; } |
||
2270 | }; |
||
2271 | |||
2272 | class nocopy |
||
2273 | { |
||
2274 | public: |
||
2275 | nocopy(int i): i(i) {} |
||
2276 | nocopy() = default; |
||
2277 | nocopy(const nocopy&) = delete; |
||
2278 | nocopy & operator=(const nocopy&) = delete; |
||
2279 | private: |
||
2280 | int i; |
||
2281 | }; |
||
2282 | |||
2283 | // for testing lambda expressions |
||
2284 | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
||
2285 | { |
||
2286 | return f(v); |
||
2287 | } |
||
2288 | |||
2289 | // for testing variadic templates and trailing return types |
||
2290 | template <typename V> auto sum(V first) -> V |
||
2291 | { |
||
2292 | return first; |
||
2293 | } |
||
2294 | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
||
2295 | { |
||
2296 | return first + sum(rest...); |
||
2297 | } |
||
2298 | } |
||
2299 | ' |
||
2300 | |||
2301 | # Test code for whether the C++ compiler supports C++11 (body of main) |
||
2302 | ac_cxx_conftest_cxx11_main=' |
||
2303 | { |
||
2304 | // Test auto and decltype |
||
2305 | auto a1 = 6538; |
||
2306 | auto a2 = 48573953.4; |
||
2307 | auto a3 = "String literal"; |
||
2308 | |||
2309 | int total = 0; |
||
2310 | for (auto i = a3; *i; ++i) { total += *i; } |
||
2311 | |||
2312 | decltype(a2) a4 = 34895.034; |
||
2313 | } |
||
2314 | { |
||
2315 | // Test constexpr |
||
2316 | short sa[cxx11test::get_val()] = { 0 }; |
||
2317 | } |
||
2318 | { |
||
2319 | // Test initializer lists |
||
2320 | cxx11test::testinit il = { 4323, 435234.23544 }; |
||
2321 | } |
||
2322 | { |
||
2323 | // Test range-based for |
||
2324 | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
||
2325 | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
||
2326 | for (auto &x : array) { x += 23; } |
||
2327 | } |
||
2328 | { |
||
2329 | // Test lambda expressions |
||
2330 | using cxx11test::eval; |
||
2331 | assert (eval ([](int x) { return x*2; }, 21) == 42); |
||
2332 | double d = 2.0; |
||
2333 | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
||
2334 | assert (d == 5.0); |
||
2335 | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
||
2336 | assert (d == 5.0); |
||
2337 | } |
||
2338 | { |
||
2339 | // Test use of variadic templates |
||
2340 | using cxx11test::sum; |
||
2341 | auto a = sum(1); |
||
2342 | auto b = sum(1, 2); |
||
2343 | auto c = sum(1.0, 2.0, 3.0); |
||
2344 | } |
||
2345 | { |
||
2346 | // Test constructor delegation |
||
2347 | cxx11test::delegate d1; |
||
2348 | cxx11test::delegate d2(); |
||
2349 | cxx11test::delegate d3(45); |
||
2350 | } |
||
2351 | { |
||
2352 | // Test override and final |
||
2353 | cxx11test::overridden o1(55464); |
||
2354 | } |
||
2355 | { |
||
2356 | // Test nullptr |
||
2357 | char *c = nullptr; |
||
2358 | } |
||
2359 | { |
||
2360 | // Test template brackets |
||
2361 | test_template<::test_template<int>> v(test_template<int>(12)); |
||
2362 | } |
||
2363 | { |
||
2364 | // Unicode literals |
||
2365 | char const *utf8 = u8"UTF-8 string \u2500"; |
||
2366 | char16_t const *utf16 = u"UTF-8 string \u2500"; |
||
2367 | char32_t const *utf32 = U"UTF-32 string \u2500"; |
||
2368 | } |
||
2369 | ' |
||
2370 | |||
2371 | # Test code for whether the C compiler supports C++11 (complete). |
||
2372 | ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals} |
||
2373 | ${ac_cxx_conftest_cxx11_globals} |
||
2374 | |||
2375 | int |
||
2376 | main (int argc, char **argv) |
||
2377 | { |
||
2378 | int ok = 0; |
||
2379 | ${ac_cxx_conftest_cxx98_main} |
||
2380 | ${ac_cxx_conftest_cxx11_main} |
||
2381 | return ok; |
||
2382 | } |
||
2383 | " |
||
2384 | |||
2385 | # Test code for whether the C compiler supports C++98 (complete). |
||
2386 | ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals} |
||
2387 | int |
||
2388 | main (int argc, char **argv) |
||
2389 | { |
||
2390 | int ok = 0; |
||
2391 | ${ac_cxx_conftest_cxx98_main} |
||
2392 | return ok; |
||
2393 | } |
||
2394 | " |
||
2395 | |||
2396 | |||
2397 | # Auxiliary files required by this configure script. |
||
2398 | ac_aux_files="compile missing install-sh" |
||
2399 | |||
2400 | # Locations in which to look for auxiliary files. |
||
2401 | ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." |
||
2402 | |||
2403 | # Search for a directory containing all of the required auxiliary files, |
||
2404 | # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. |
||
2405 | # If we don't find one directory that contains all the files we need, |
||
2406 | # we report the set of missing files from the *first* directory in |
||
2407 | # $ac_aux_dir_candidates and give up. |
||
2408 | ac_missing_aux_files="" |
||
2409 | ac_first_candidate=: |
||
2410 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 |
||
2411 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
2412 | as_found=false |
||
2413 | for as_dir in $ac_aux_dir_candidates |
||
2414 | do |
||
2415 | IFS=$as_save_IFS |
||
2416 | case $as_dir in #((( |
||
2417 | '') as_dir=./ ;; |
||
2418 | */) ;; |
||
2419 | *) as_dir=$as_dir/ ;; |
||
2420 | esac |
||
2421 | as_found=: |
||
2422 | |||
2423 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 |
||
2424 | ac_aux_dir_found=yes |
||
2425 | ac_install_sh= |
||
2426 | for ac_aux in $ac_aux_files |
||
2427 | do |
||
2428 | # As a special case, if "install-sh" is required, that requirement |
||
2429 | # can be satisfied by any of "install-sh", "install.sh", or "shtool", |
||
2430 | # and $ac_install_sh is set appropriately for whichever one is found. |
||
2431 | if test x"$ac_aux" = x"install-sh" |
||
2432 | then |
||
2433 | if test -f "${as_dir}install-sh"; then |
||
2434 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 |
||
2435 | ac_install_sh="${as_dir}install-sh -c" |
||
2436 | elif test -f "${as_dir}install.sh"; then |
||
2437 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 |
||
2438 | ac_install_sh="${as_dir}install.sh -c" |
||
2439 | elif test -f "${as_dir}shtool"; then |
||
2440 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 |
||
2441 | ac_install_sh="${as_dir}shtool install -c" |
||
2442 | else |
||
2443 | ac_aux_dir_found=no |
||
2444 | if $ac_first_candidate; then |
||
2445 | ac_missing_aux_files="${ac_missing_aux_files} install-sh" |
||
2446 | else |
||
2447 | break |
||
2448 | fi |
||
2449 | fi |
||
2450 | else |
||
2451 | if test -f "${as_dir}${ac_aux}"; then |
||
2452 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 |
||
2453 | else |
||
2454 | ac_aux_dir_found=no |
||
2455 | if $ac_first_candidate; then |
||
2456 | ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" |
||
2457 | else |
||
2458 | break |
||
2459 | fi |
||
2460 | fi |
||
2461 | fi |
||
2462 | done |
||
2463 | if test "$ac_aux_dir_found" = yes; then |
||
2464 | ac_aux_dir="$as_dir" |
||
2465 | break |
||
2466 | fi |
||
2467 | ac_first_candidate=false |
||
2468 | |||
2469 | as_found=false |
||
2470 | done |
||
2471 | IFS=$as_save_IFS |
||
2472 | if $as_found |
||
2473 | then : |
||
2474 | |||
2475 | else $as_nop |
||
2476 | as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 |
||
2477 | fi |
||
2478 | |||
2479 | |||
2480 | # These three variables are undocumented and unsupported, |
||
2481 | # and are intended to be withdrawn in a future Autoconf release. |
||
2482 | # They can cause serious problems if a builder's source tree is in a directory |
||
2483 | # whose full name contains unusual characters. |
||
2484 | if test -f "${ac_aux_dir}config.guess"; then |
||
2485 | ac_config_guess="$SHELL ${ac_aux_dir}config.guess" |
||
2486 | fi |
||
2487 | if test -f "${ac_aux_dir}config.sub"; then |
||
2488 | ac_config_sub="$SHELL ${ac_aux_dir}config.sub" |
||
2489 | fi |
||
2490 | if test -f "$ac_aux_dir/configure"; then |
||
2491 | ac_configure="$SHELL ${ac_aux_dir}configure" |
||
2492 | fi |
||
2493 | |||
1 | - | 2494 | # Check that the precious variables saved in the cache have kept the same |
2495 | # value. |
||
2496 | ac_cache_corrupted=false |
||
2497 | for ac_var in $ac_precious_vars; do |
||
2498 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
||
2499 | eval ac_new_set=\$ac_env_${ac_var}_set |
||
2500 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
||
2501 | eval ac_new_val=\$ac_env_${ac_var}_value |
||
2502 | case $ac_old_set,$ac_new_set in |
||
2503 | set,) |
||
2097 | jag | 2504 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2505 | printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
||
1 | - | 2506 | ac_cache_corrupted=: ;; |
2507 | ,set) |
||
2097 | jag | 2508 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2509 | printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
||
1 | - | 2510 | ac_cache_corrupted=: ;; |
2511 | ,);; |
||
2512 | *) |
||
2513 | if test "x$ac_old_val" != "x$ac_new_val"; then |
||
2514 | # differences in whitespace do not lead to failure. |
||
2515 | ac_old_val_w=`echo x $ac_old_val` |
||
2516 | ac_new_val_w=`echo x $ac_new_val` |
||
2517 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
||
2097 | jag | 2518 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2519 | printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
||
1 | - | 2520 | ac_cache_corrupted=: |
2521 | else |
||
2097 | jag | 2522 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2523 | printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
||
1 | - | 2524 | eval $ac_var=\$ac_old_val |
2525 | fi |
||
2097 | jag | 2526 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2527 | printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} |
||
2528 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
||
2529 | printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} |
||
1 | - | 2530 | fi;; |
2531 | esac |
||
2532 | # Pass precious variables to config.status. |
||
2533 | if test "$ac_new_set" = set; then |
||
2534 | case $ac_new_val in |
||
2097 | jag | 2535 | *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1 | - | 2536 | *) ac_arg=$ac_var=$ac_new_val ;; |
2537 | esac |
||
2538 | case " $ac_configure_args " in |
||
2539 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
||
2540 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
||
2541 | esac |
||
2542 | fi |
||
2543 | done |
||
2544 | if $ac_cache_corrupted; then |
||
2097 | jag | 2545 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2546 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
||
2547 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
||
2548 | printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} |
||
2549 | as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' |
||
2550 | and start over" "$LINENO" 5 |
||
1 | - | 2551 | fi |
2552 | ## -------------------- ## |
||
2553 | ## Main body of script. ## |
||
2554 | ## -------------------- ## |
||
2555 | |||
2556 | ac_ext=c |
||
2557 | ac_cpp='$CPP $CPPFLAGS' |
||
2558 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
2559 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
2560 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
2561 | |||
2562 | |||
2303 | jag | 2563 | |
2097 | jag | 2564 | am__api_version='1.16' |
1 | - | 2565 | |
2566 | |||
2567 | |||
2097 | jag | 2568 | # Find a good install program. We prefer a C program (faster), |
1 | - | 2569 | # so one script is as good as another. But avoid the broken or |
2570 | # incompatible versions: |
||
2571 | # SysV /etc/install, /usr/sbin/install |
||
2572 | # SunOS /usr/etc/install |
||
2573 | # IRIX /sbin/install |
||
2574 | # AIX /bin/install |
||
2575 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
||
2576 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
||
2577 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
||
2578 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
||
2579 | # OS/2's system install, which has a completely different semantic |
||
2580 | # ./install, which can be erroneously created by make from ./install.sh. |
||
2581 | # Reject install programs that cannot install multiple files. |
||
2097 | jag | 2582 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2583 | printf %s "checking for a BSD-compatible install... " >&6; } |
||
1 | - | 2584 | if test -z "$INSTALL"; then |
2097 | jag | 2585 | if test ${ac_cv_path_install+y} |
2586 | then : |
||
2587 | printf %s "(cached) " >&6 |
||
2588 | else $as_nop |
||
1 | - | 2589 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2590 | for as_dir in $PATH |
||
2591 | do |
||
2592 | IFS=$as_save_IFS |
||
2097 | jag | 2593 | case $as_dir in #((( |
2594 | '') as_dir=./ ;; |
||
2595 | */) ;; |
||
2596 | *) as_dir=$as_dir/ ;; |
||
2597 | esac |
||
2598 | # Account for fact that we put trailing slashes in our PATH walk. |
||
2599 | case $as_dir in #(( |
||
2600 | ./ | /[cC]/* | \ |
||
1 | - | 2601 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2602 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
||
2603 | /usr/ucb/* ) ;; |
||
2604 | *) |
||
2605 | # OSF1 and SCO ODT 3.0 have their own names for install. |
||
2606 | # Don't use installbsd from OSF since it installs stuff as root |
||
2607 | # by default. |
||
2608 | for ac_prog in ginstall scoinst install; do |
||
2609 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
2097 | jag | 2610 | if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then |
1 | - | 2611 | if test $ac_prog = install && |
2097 | jag | 2612 | grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1 | - | 2613 | # AIX install. It has an incompatible calling convention. |
2614 | : |
||
2615 | elif test $ac_prog = install && |
||
2097 | jag | 2616 | grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1 | - | 2617 | # program-specific install script used by HP pwplus--don't use. |
2618 | : |
||
2619 | else |
||
2620 | rm -rf conftest.one conftest.two conftest.dir |
||
2621 | echo one > conftest.one |
||
2622 | echo two > conftest.two |
||
2623 | mkdir conftest.dir |
||
2097 | jag | 2624 | if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && |
1 | - | 2625 | test -s conftest.one && test -s conftest.two && |
2626 | test -s conftest.dir/conftest.one && |
||
2627 | test -s conftest.dir/conftest.two |
||
2628 | then |
||
2097 | jag | 2629 | ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" |
1 | - | 2630 | break 3 |
2631 | fi |
||
2632 | fi |
||
2633 | fi |
||
2634 | done |
||
2635 | done |
||
2636 | ;; |
||
2637 | esac |
||
2638 | |||
2639 | done |
||
2640 | IFS=$as_save_IFS |
||
2641 | |||
2642 | rm -rf conftest.one conftest.two conftest.dir |
||
2643 | |||
2644 | fi |
||
2097 | jag | 2645 | if test ${ac_cv_path_install+y}; then |
1 | - | 2646 | INSTALL=$ac_cv_path_install |
2647 | else |
||
2648 | # As a last resort, use the slow shell script. Don't cache a |
||
2649 | # value for INSTALL within a source directory, because that will |
||
2650 | # break other packages using the cache if that directory is |
||
2651 | # removed, or if the value is a relative name. |
||
2652 | INSTALL=$ac_install_sh |
||
2653 | fi |
||
2654 | fi |
||
2097 | jag | 2655 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2656 | printf "%s\n" "$INSTALL" >&6; } |
||
1 | - | 2657 | |
2658 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
||
2659 | # It thinks the first close brace ends the variable substitution. |
||
2660 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
||
2661 | |||
2662 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
||
2663 | |||
2664 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
||
2665 | |||
2097 | jag | 2666 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2667 | printf %s "checking whether build environment is sane... " >&6; } |
||
1 | - | 2668 | # Reject unsafe characters in $srcdir or the absolute working directory |
2669 | # name. Accept space and tab only in the latter. |
||
2670 | am_lf=' |
||
2671 | ' |
||
2672 | case `pwd` in |
||
2673 | *[\\\"\#\$\&\'\`$am_lf]*) |
||
2097 | jag | 2674 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
1 | - | 2675 | esac |
2676 | case $srcdir in |
||
2677 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
||
2097 | jag | 2678 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
1 | - | 2679 | esac |
2680 | |||
2097 | jag | 2681 | # Do 'set' in a subshell so we don't clobber the current shell's |
1 | - | 2682 | # arguments. Must try -L first in case configure is actually a |
2683 | # symlink; some systems play weird games with the mod time of symlinks |
||
2684 | # (eg FreeBSD returns the mod time of the symlink's containing |
||
2685 | # directory). |
||
2686 | if ( |
||
2097 | jag | 2687 | am_has_slept=no |
2688 | for am_try in 1 2; do |
||
2689 | echo "timestamp, slept: $am_has_slept" > conftest.file |
||
2690 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
||
2691 | if test "$*" = "X"; then |
||
2692 | # -L didn't work. |
||
2693 | set X `ls -t "$srcdir/configure" conftest.file` |
||
2694 | fi |
||
2695 | if test "$*" != "X $srcdir/configure conftest.file" \ |
||
2696 | && test "$*" != "X conftest.file $srcdir/configure"; then |
||
1 | - | 2697 | |
2097 | jag | 2698 | # If neither matched, then we have a broken ls. This can happen |
2699 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
||
2700 | # broken ls alias from the environment. This has actually |
||
2701 | # happened. Such a system could not be considered "sane". |
||
2702 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
||
2703 | alias in your environment" "$LINENO" 5 |
||
2704 | fi |
||
2705 | if test "$2" = conftest.file || test $am_try -eq 2; then |
||
2706 | break |
||
2707 | fi |
||
2708 | # Just in case. |
||
2709 | sleep 1 |
||
2710 | am_has_slept=yes |
||
2711 | done |
||
1 | - | 2712 | test "$2" = conftest.file |
2713 | ) |
||
2714 | then |
||
2715 | # Ok. |
||
2716 | : |
||
2717 | else |
||
232 | jag | 2718 | as_fn_error $? "newly created file is older than distributed files! |
1 | - | 2719 | Check your system clock" "$LINENO" 5 |
2720 | fi |
||
2097 | jag | 2721 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2722 | printf "%s\n" "yes" >&6; } |
||
2723 | # If we didn't sleep, we still need to ensure time stamps of config.status and |
||
2724 | # generated files are strictly newer. |
||
2725 | am_sleep_pid= |
||
2726 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
||
2727 | ( sleep 1 ) & |
||
2728 | am_sleep_pid=$! |
||
2729 | fi |
||
2730 | |||
2731 | rm -f conftest.file |
||
2732 | |||
1 | - | 2733 | test "$program_prefix" != NONE && |
2734 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
||
2735 | # Use a double $ so make ignores it. |
||
2736 | test "$program_suffix" != NONE && |
||
2737 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
||
2738 | # Double any \ or $. |
||
2739 | # By default was `s,x,x', remove it if useless. |
||
2740 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
||
2097 | jag | 2741 | program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` |
1 | - | 2742 | |
2079 | jag | 2743 | |
2097 | jag | 2744 | # Expand $ac_aux_dir to an absolute path. |
2745 | am_aux_dir=`cd "$ac_aux_dir" && pwd` |
||
2746 | |||
2747 | |||
2748 | if test x"${MISSING+set}" != xset; then |
||
2749 | MISSING="\${SHELL} '$am_aux_dir/missing'" |
||
1 | - | 2750 | fi |
2751 | # Use eval to expand $SHELL |
||
2097 | jag | 2752 | if eval "$MISSING --is-lightweight"; then |
2753 | am_missing_run="$MISSING " |
||
1 | - | 2754 | else |
2755 | am_missing_run= |
||
2097 | jag | 2756 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
2757 | printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
||
1 | - | 2758 | fi |
2759 | |||
2097 | jag | 2760 | if test x"${install_sh+set}" != xset; then |
1 | - | 2761 | case $am_aux_dir in |
2762 | *\ * | *\ *) |
||
2763 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
||
2764 | *) |
||
2765 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
||
2766 | esac |
||
2767 | fi |
||
2768 | |||
2097 | jag | 2769 | # Installed binaries are usually stripped using 'strip' when the user |
2770 | # run "make install-strip". However 'strip' might not be the right |
||
1 | - | 2771 | # tool to use in cross-compilation environments, therefore Automake |
2097 | jag | 2772 | # will honor the 'STRIP' environment variable to overrule this program. |
1 | - | 2773 | if test "$cross_compiling" != no; then |
2774 | if test -n "$ac_tool_prefix"; then |
||
2775 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
||
2776 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
||
2097 | jag | 2777 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2778 | printf %s "checking for $ac_word... " >&6; } |
||
2779 | if test ${ac_cv_prog_STRIP+y} |
||
2780 | then : |
||
2781 | printf %s "(cached) " >&6 |
||
2782 | else $as_nop |
||
1 | - | 2783 | if test -n "$STRIP"; then |
2784 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
||
2785 | else |
||
2786 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
2787 | for as_dir in $PATH |
||
2788 | do |
||
2789 | IFS=$as_save_IFS |
||
2097 | jag | 2790 | case $as_dir in #((( |
2791 | '') as_dir=./ ;; |
||
2792 | */) ;; |
||
2793 | *) as_dir=$as_dir/ ;; |
||
2794 | esac |
||
1 | - | 2795 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 2796 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 2797 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2097 | jag | 2798 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 2799 | break 2 |
2800 | fi |
||
2801 | done |
||
2802 | done |
||
2803 | IFS=$as_save_IFS |
||
2804 | |||
2805 | fi |
||
2806 | fi |
||
2807 | STRIP=$ac_cv_prog_STRIP |
||
2808 | if test -n "$STRIP"; then |
||
2097 | jag | 2809 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
2810 | printf "%s\n" "$STRIP" >&6; } |
||
1 | - | 2811 | else |
2097 | jag | 2812 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2813 | printf "%s\n" "no" >&6; } |
||
1 | - | 2814 | fi |
2815 | |||
2816 | |||
2817 | fi |
||
2818 | if test -z "$ac_cv_prog_STRIP"; then |
||
2819 | ac_ct_STRIP=$STRIP |
||
2820 | # Extract the first word of "strip", so it can be a program name with args. |
||
2821 | set dummy strip; ac_word=$2 |
||
2097 | jag | 2822 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2823 | printf %s "checking for $ac_word... " >&6; } |
||
2824 | if test ${ac_cv_prog_ac_ct_STRIP+y} |
||
2825 | then : |
||
2826 | printf %s "(cached) " >&6 |
||
2827 | else $as_nop |
||
1 | - | 2828 | if test -n "$ac_ct_STRIP"; then |
2829 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
||
2830 | else |
||
2831 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
2832 | for as_dir in $PATH |
||
2833 | do |
||
2834 | IFS=$as_save_IFS |
||
2097 | jag | 2835 | case $as_dir in #((( |
2836 | '') as_dir=./ ;; |
||
2837 | */) ;; |
||
2838 | *) as_dir=$as_dir/ ;; |
||
2839 | esac |
||
1 | - | 2840 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 2841 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 2842 | ac_cv_prog_ac_ct_STRIP="strip" |
2097 | jag | 2843 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 2844 | break 2 |
2845 | fi |
||
2846 | done |
||
2847 | done |
||
2848 | IFS=$as_save_IFS |
||
2849 | |||
2850 | fi |
||
2851 | fi |
||
2852 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
||
2853 | if test -n "$ac_ct_STRIP"; then |
||
2097 | jag | 2854 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
2855 | printf "%s\n" "$ac_ct_STRIP" >&6; } |
||
1 | - | 2856 | else |
2097 | jag | 2857 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2858 | printf "%s\n" "no" >&6; } |
||
1 | - | 2859 | fi |
2860 | |||
2861 | if test "x$ac_ct_STRIP" = x; then |
||
2862 | STRIP=":" |
||
2863 | else |
||
2864 | case $cross_compiling:$ac_tool_warned in |
||
2865 | yes:) |
||
2097 | jag | 2866 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2867 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
||
1 | - | 2868 | ac_tool_warned=yes ;; |
2869 | esac |
||
2870 | STRIP=$ac_ct_STRIP |
||
2871 | fi |
||
2872 | else |
||
2873 | STRIP="$ac_cv_prog_STRIP" |
||
2874 | fi |
||
2875 | |||
2876 | fi |
||
2877 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
||
2878 | |||
2097 | jag | 2879 | |
2880 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 |
||
2881 | printf %s "checking for a race-free mkdir -p... " >&6; } |
||
1 | - | 2882 | if test -z "$MKDIR_P"; then |
2097 | jag | 2883 | if test ${ac_cv_path_mkdir+y} |
2884 | then : |
||
2885 | printf %s "(cached) " >&6 |
||
2886 | else $as_nop |
||
1 | - | 2887 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2888 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
||
2889 | do |
||
2890 | IFS=$as_save_IFS |
||
2097 | jag | 2891 | case $as_dir in #((( |
2892 | '') as_dir=./ ;; |
||
2893 | */) ;; |
||
2894 | *) as_dir=$as_dir/ ;; |
||
2895 | esac |
||
1 | - | 2896 | for ac_prog in mkdir gmkdir; do |
2897 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
2097 | jag | 2898 | as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue |
2899 | case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( |
||
2900 | 'mkdir ('*'coreutils) '* | \ |
||
2901 | 'BusyBox '* | \ |
||
1 | - | 2902 | 'mkdir (fileutils) '4.1*) |
2097 | jag | 2903 | ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext |
1 | - | 2904 | break 3;; |
2905 | esac |
||
2906 | done |
||
2907 | done |
||
2908 | done |
||
2909 | IFS=$as_save_IFS |
||
2910 | |||
2911 | fi |
||
2912 | |||
20 | - | 2913 | test -d ./--version && rmdir ./--version |
2097 | jag | 2914 | if test ${ac_cv_path_mkdir+y}; then |
1 | - | 2915 | MKDIR_P="$ac_cv_path_mkdir -p" |
2916 | else |
||
2917 | # As a last resort, use the slow shell script. Don't cache a |
||
2918 | # value for MKDIR_P within a source directory, because that will |
||
2919 | # break other packages using the cache if that directory is |
||
2920 | # removed, or if the value is a relative name. |
||
2921 | MKDIR_P="$ac_install_sh -d" |
||
2922 | fi |
||
2923 | fi |
||
2097 | jag | 2924 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2925 | printf "%s\n" "$MKDIR_P" >&6; } |
||
1 | - | 2926 | |
2927 | for ac_prog in gawk mawk nawk awk |
||
2928 | do |
||
2929 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
||
2930 | set dummy $ac_prog; ac_word=$2 |
||
2097 | jag | 2931 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2932 | printf %s "checking for $ac_word... " >&6; } |
||
2933 | if test ${ac_cv_prog_AWK+y} |
||
2934 | then : |
||
2935 | printf %s "(cached) " >&6 |
||
2936 | else $as_nop |
||
1 | - | 2937 | if test -n "$AWK"; then |
2938 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
||
2939 | else |
||
2940 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
2941 | for as_dir in $PATH |
||
2942 | do |
||
2943 | IFS=$as_save_IFS |
||
2097 | jag | 2944 | case $as_dir in #((( |
2945 | '') as_dir=./ ;; |
||
2946 | */) ;; |
||
2947 | *) as_dir=$as_dir/ ;; |
||
2948 | esac |
||
1 | - | 2949 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 2950 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 2951 | ac_cv_prog_AWK="$ac_prog" |
2097 | jag | 2952 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 2953 | break 2 |
2954 | fi |
||
2955 | done |
||
2956 | done |
||
2957 | IFS=$as_save_IFS |
||
2958 | |||
2959 | fi |
||
2960 | fi |
||
2961 | AWK=$ac_cv_prog_AWK |
||
2962 | if test -n "$AWK"; then |
||
2097 | jag | 2963 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
2964 | printf "%s\n" "$AWK" >&6; } |
||
1 | - | 2965 | else |
2097 | jag | 2966 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2967 | printf "%s\n" "no" >&6; } |
||
1 | - | 2968 | fi |
2969 | |||
2970 | |||
2971 | test -n "$AWK" && break |
||
2972 | done |
||
2973 | |||
2097 | jag | 2974 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2975 | printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
||
1 | - | 2976 | set x ${MAKE-make} |
2097 | jag | 2977 | ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2978 | if eval test \${ac_cv_prog_make_${ac_make}_set+y} |
||
2979 | then : |
||
2980 | printf %s "(cached) " >&6 |
||
2981 | else $as_nop |
||
1 | - | 2982 | cat >conftest.make <<\_ACEOF |
2983 | SHELL = /bin/sh |
||
2984 | all: |
||
2985 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
||
2986 | _ACEOF |
||
232 | jag | 2987 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
1 | - | 2988 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2989 | *@@@%%%=?*=@@@%%%*) |
||
2990 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
||
2991 | *) |
||
2992 | eval ac_cv_prog_make_${ac_make}_set=no;; |
||
2993 | esac |
||
2994 | rm -f conftest.make |
||
2995 | fi |
||
2996 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
||
2097 | jag | 2997 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2998 | printf "%s\n" "yes" >&6; } |
||
1 | - | 2999 | SET_MAKE= |
3000 | else |
||
2097 | jag | 3001 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3002 | printf "%s\n" "no" >&6; } |
||
1 | - | 3003 | SET_MAKE="MAKE=${MAKE-make}" |
3004 | fi |
||
3005 | |||
3006 | rm -rf .tst 2>/dev/null |
||
3007 | mkdir .tst 2>/dev/null |
||
3008 | if test -d .tst; then |
||
3009 | am__leading_dot=. |
||
3010 | else |
||
3011 | am__leading_dot=_ |
||
3012 | fi |
||
3013 | rmdir .tst 2>/dev/null |
||
3014 | |||
2097 | jag | 3015 | # Check whether --enable-silent-rules was given. |
3016 | if test ${enable_silent_rules+y} |
||
3017 | then : |
||
3018 | enableval=$enable_silent_rules; |
||
3019 | fi |
||
3020 | |||
3021 | case $enable_silent_rules in # ((( |
||
3022 | yes) AM_DEFAULT_VERBOSITY=0;; |
||
3023 | no) AM_DEFAULT_VERBOSITY=1;; |
||
3024 | *) AM_DEFAULT_VERBOSITY=1;; |
||
3025 | esac |
||
3026 | am_make=${MAKE-make} |
||
3027 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
||
3028 | printf %s "checking whether $am_make supports nested variables... " >&6; } |
||
3029 | if test ${am_cv_make_support_nested_variables+y} |
||
3030 | then : |
||
3031 | printf %s "(cached) " >&6 |
||
3032 | else $as_nop |
||
3033 | if printf "%s\n" 'TRUE=$(BAR$(V)) |
||
3034 | BAR0=false |
||
3035 | BAR1=true |
||
3036 | V=1 |
||
3037 | am__doit: |
||
3038 | @$(TRUE) |
||
3039 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
||
3040 | am_cv_make_support_nested_variables=yes |
||
3041 | else |
||
3042 | am_cv_make_support_nested_variables=no |
||
3043 | fi |
||
3044 | fi |
||
3045 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
||
3046 | printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } |
||
3047 | if test $am_cv_make_support_nested_variables = yes; then |
||
3048 | AM_V='$(V)' |
||
3049 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
||
3050 | else |
||
3051 | AM_V=$AM_DEFAULT_VERBOSITY |
||
3052 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
||
3053 | fi |
||
3054 | AM_BACKSLASH='\' |
||
3055 | |||
1 | - | 3056 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3057 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
||
3058 | # is not polluted with repeated "-I." |
||
3059 | am__isrc=' -I$(srcdir)' |
||
3060 | # test to see if srcdir already configured |
||
3061 | if test -f $srcdir/config.status; then |
||
232 | jag | 3062 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
1 | - | 3063 | fi |
3064 | fi |
||
3065 | |||
3066 | # test whether we have cygpath |
||
3067 | if test -z "$CYGPATH_W"; then |
||
3068 | if (cygpath --version) >/dev/null 2>/dev/null; then |
||
3069 | CYGPATH_W='cygpath -w' |
||
3070 | else |
||
3071 | CYGPATH_W=echo |
||
3072 | fi |
||
3073 | fi |
||
3074 | |||
3075 | |||
3076 | # Define the identity of the package. |
||
3077 | PACKAGE='din' |
||
2272 | jag | 3078 | VERSION='60WIP' |
1 | - | 3079 | |
3080 | |||
2097 | jag | 3081 | printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h |
1 | - | 3082 | |
3083 | |||
2097 | jag | 3084 | printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h |
1 | - | 3085 | |
3086 | # Some tools Automake needs. |
||
3087 | |||
3088 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
||
3089 | |||
3090 | |||
3091 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
||
3092 | |||
3093 | |||
3094 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
||
3095 | |||
3096 | |||
3097 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
||
3098 | |||
3099 | |||
3100 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
||
3101 | |||
2097 | jag | 3102 | # For better backward compatibility. To be removed once Automake 1.9.x |
3103 | # dies out for good. For more background, see: |
||
3104 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
||
3105 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
||
3106 | mkdir_p='$(MKDIR_P)' |
||
725 | jag | 3107 | |
2097 | jag | 3108 | # We need awk for the "check" target (and possibly the TAP driver). The |
3109 | # system "awk" is bad on some platforms. |
||
3110 | # Always define AMTAR for backward compatibility. Yes, it's still used |
||
3111 | # in the wild :-( We should find a proper way to deprecate it ... |
||
3112 | AMTAR='$${TAR-tar}' |
||
533 | jag | 3113 | |
725 | jag | 3114 | |
2097 | jag | 3115 | # We'll loop over all known methods to create a tar archive until one works. |
3116 | _am_tools='gnutar pax cpio none' |
||
725 | jag | 3117 | |
2097 | jag | 3118 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
1 | - | 3119 | |
533 | jag | 3120 | |
3121 | |||
1 | - | 3122 | |
2097 | jag | 3123 | |
3124 | |||
3125 | # POSIX will say in a future version that running "rm -f" with no argument |
||
3126 | # is OK; and we want to be able to make that assumption in our Makefile |
||
3127 | # recipes. So use an aggressive probe to check that the usage we want is |
||
3128 | # actually supported "in the wild" to an acceptable degree. |
||
3129 | # See automake bug#10828. |
||
3130 | # To make any issue more visible, cause the running configure to be aborted |
||
3131 | # by default if the 'rm' program in use doesn't match our expectations; the |
||
3132 | # user can still override this though. |
||
3133 | if rm -f && rm -fr && rm -rf; then : OK; else |
||
3134 | cat >&2 <<'END' |
||
3135 | Oops! |
||
3136 | |||
3137 | Your 'rm' program seems unable to run without file operands specified |
||
3138 | on the command line, even when the '-f' option is present. This is contrary |
||
3139 | to the behaviour of most rm programs out there, and not conforming with |
||
3140 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
||
3141 | |||
3142 | Please tell bug-automake@gnu.org about your system, including the value |
||
3143 | of your $PATH and any error possibly output before this message. This |
||
3144 | can help us improve future automake versions. |
||
3145 | |||
3146 | END |
||
3147 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
||
3148 | echo 'Configuration will proceed anyway, since you have set the' >&2 |
||
3149 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
||
3150 | echo >&2 |
||
3151 | else |
||
3152 | cat >&2 <<'END' |
||
3153 | Aborting the configuration process, to ensure you take notice of the issue. |
||
3154 | |||
3155 | You can download and install GNU coreutils to get an 'rm' implementation |
||
3156 | that behaves properly: <https://www.gnu.org/software/coreutils/>. |
||
3157 | |||
3158 | If you want to complete the configuration process using your problematic |
||
3159 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
||
3160 | to "yes", and re-run configure. |
||
3161 | |||
3162 | END |
||
3163 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
||
3164 | fi |
||
3165 | fi |
||
3166 | |||
3167 | |||
3168 | |||
3169 | |||
3170 | |||
3171 | |||
3172 | |||
3173 | |||
3174 | |||
3175 | |||
1 | - | 3176 | ac_ext=c |
3177 | ac_cpp='$CPP $CPPFLAGS' |
||
3178 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
3179 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
3180 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
3181 | if test -n "$ac_tool_prefix"; then |
||
3182 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
||
3183 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
||
2097 | jag | 3184 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3185 | printf %s "checking for $ac_word... " >&6; } |
||
3186 | if test ${ac_cv_prog_CC+y} |
||
3187 | then : |
||
3188 | printf %s "(cached) " >&6 |
||
3189 | else $as_nop |
||
1 | - | 3190 | if test -n "$CC"; then |
3191 | ac_cv_prog_CC="$CC" # Let the user override the test. |
||
3192 | else |
||
3193 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
3194 | for as_dir in $PATH |
||
3195 | do |
||
3196 | IFS=$as_save_IFS |
||
2097 | jag | 3197 | case $as_dir in #((( |
3198 | '') as_dir=./ ;; |
||
3199 | */) ;; |
||
3200 | *) as_dir=$as_dir/ ;; |
||
3201 | esac |
||
1 | - | 3202 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 3203 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 3204 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2097 | jag | 3205 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 3206 | break 2 |
3207 | fi |
||
3208 | done |
||
3209 | done |
||
3210 | IFS=$as_save_IFS |
||
3211 | |||
3212 | fi |
||
3213 | fi |
||
3214 | CC=$ac_cv_prog_CC |
||
3215 | if test -n "$CC"; then |
||
2097 | jag | 3216 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3217 | printf "%s\n" "$CC" >&6; } |
||
1 | - | 3218 | else |
2097 | jag | 3219 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3220 | printf "%s\n" "no" >&6; } |
||
1 | - | 3221 | fi |
3222 | |||
3223 | |||
3224 | fi |
||
3225 | if test -z "$ac_cv_prog_CC"; then |
||
3226 | ac_ct_CC=$CC |
||
3227 | # Extract the first word of "gcc", so it can be a program name with args. |
||
3228 | set dummy gcc; ac_word=$2 |
||
2097 | jag | 3229 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3230 | printf %s "checking for $ac_word... " >&6; } |
||
3231 | if test ${ac_cv_prog_ac_ct_CC+y} |
||
3232 | then : |
||
3233 | printf %s "(cached) " >&6 |
||
3234 | else $as_nop |
||
1 | - | 3235 | if test -n "$ac_ct_CC"; then |
3236 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
||
3237 | else |
||
3238 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
3239 | for as_dir in $PATH |
||
3240 | do |
||
3241 | IFS=$as_save_IFS |
||
2097 | jag | 3242 | case $as_dir in #((( |
3243 | '') as_dir=./ ;; |
||
3244 | */) ;; |
||
3245 | *) as_dir=$as_dir/ ;; |
||
3246 | esac |
||
1 | - | 3247 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 3248 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 3249 | ac_cv_prog_ac_ct_CC="gcc" |
2097 | jag | 3250 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 3251 | break 2 |
3252 | fi |
||
3253 | done |
||
3254 | done |
||
3255 | IFS=$as_save_IFS |
||
3256 | |||
3257 | fi |
||
3258 | fi |
||
3259 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
||
3260 | if test -n "$ac_ct_CC"; then |
||
2097 | jag | 3261 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3262 | printf "%s\n" "$ac_ct_CC" >&6; } |
||
1 | - | 3263 | else |
2097 | jag | 3264 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3265 | printf "%s\n" "no" >&6; } |
||
1 | - | 3266 | fi |
3267 | |||
3268 | if test "x$ac_ct_CC" = x; then |
||
3269 | CC="" |
||
3270 | else |
||
3271 | case $cross_compiling:$ac_tool_warned in |
||
3272 | yes:) |
||
2097 | jag | 3273 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3274 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
||
1 | - | 3275 | ac_tool_warned=yes ;; |
3276 | esac |
||
3277 | CC=$ac_ct_CC |
||
3278 | fi |
||
3279 | else |
||
3280 | CC="$ac_cv_prog_CC" |
||
3281 | fi |
||
3282 | |||
3283 | if test -z "$CC"; then |
||
3284 | if test -n "$ac_tool_prefix"; then |
||
3285 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
||
3286 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
||
2097 | jag | 3287 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3288 | printf %s "checking for $ac_word... " >&6; } |
||
3289 | if test ${ac_cv_prog_CC+y} |
||
3290 | then : |
||
3291 | printf %s "(cached) " >&6 |
||
3292 | else $as_nop |
||
1 | - | 3293 | if test -n "$CC"; then |
3294 | ac_cv_prog_CC="$CC" # Let the user override the test. |
||
3295 | else |
||
3296 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
3297 | for as_dir in $PATH |
||
3298 | do |
||
3299 | IFS=$as_save_IFS |
||
2097 | jag | 3300 | case $as_dir in #((( |
3301 | '') as_dir=./ ;; |
||
3302 | */) ;; |
||
3303 | *) as_dir=$as_dir/ ;; |
||
3304 | esac |
||
1 | - | 3305 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 3306 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 3307 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2097 | jag | 3308 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 3309 | break 2 |
3310 | fi |
||
3311 | done |
||
3312 | done |
||
3313 | IFS=$as_save_IFS |
||
3314 | |||
3315 | fi |
||
3316 | fi |
||
3317 | CC=$ac_cv_prog_CC |
||
3318 | if test -n "$CC"; then |
||
2097 | jag | 3319 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3320 | printf "%s\n" "$CC" >&6; } |
||
1 | - | 3321 | else |
2097 | jag | 3322 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3323 | printf "%s\n" "no" >&6; } |
||
1 | - | 3324 | fi |
3325 | |||
3326 | |||
3327 | fi |
||
3328 | fi |
||
3329 | if test -z "$CC"; then |
||
3330 | # Extract the first word of "cc", so it can be a program name with args. |
||
3331 | set dummy cc; ac_word=$2 |
||
2097 | jag | 3332 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3333 | printf %s "checking for $ac_word... " >&6; } |
||
3334 | if test ${ac_cv_prog_CC+y} |
||
3335 | then : |
||
3336 | printf %s "(cached) " >&6 |
||
3337 | else $as_nop |
||
1 | - | 3338 | if test -n "$CC"; then |
3339 | ac_cv_prog_CC="$CC" # Let the user override the test. |
||
3340 | else |
||
3341 | ac_prog_rejected=no |
||
3342 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
3343 | for as_dir in $PATH |
||
3344 | do |
||
3345 | IFS=$as_save_IFS |
||
2097 | jag | 3346 | case $as_dir in #((( |
3347 | '') as_dir=./ ;; |
||
3348 | */) ;; |
||
3349 | *) as_dir=$as_dir/ ;; |
||
3350 | esac |
||
1 | - | 3351 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 3352 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
3353 | if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
||
1 | - | 3354 | ac_prog_rejected=yes |
3355 | continue |
||
3356 | fi |
||
3357 | ac_cv_prog_CC="cc" |
||
2097 | jag | 3358 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 3359 | break 2 |
3360 | fi |
||
3361 | done |
||
3362 | done |
||
3363 | IFS=$as_save_IFS |
||
3364 | |||
3365 | if test $ac_prog_rejected = yes; then |
||
3366 | # We found a bogon in the path, so make sure we never use it. |
||
3367 | set dummy $ac_cv_prog_CC |
||
3368 | shift |
||
3369 | if test $# != 0; then |
||
3370 | # We chose a different compiler from the bogus one. |
||
3371 | # However, it has the same basename, so the bogon will be chosen |
||
3372 | # first if we set CC to just the basename; use the full file name. |
||
3373 | shift |
||
2097 | jag | 3374 | ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
1 | - | 3375 | fi |
3376 | fi |
||
3377 | fi |
||
3378 | fi |
||
3379 | CC=$ac_cv_prog_CC |
||
3380 | if test -n "$CC"; then |
||
2097 | jag | 3381 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3382 | printf "%s\n" "$CC" >&6; } |
||
1 | - | 3383 | else |
2097 | jag | 3384 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3385 | printf "%s\n" "no" >&6; } |
||
1 | - | 3386 | fi |
3387 | |||
3388 | |||
3389 | fi |
||
3390 | if test -z "$CC"; then |
||
3391 | if test -n "$ac_tool_prefix"; then |
||
3392 | for ac_prog in cl.exe |
||
3393 | do |
||
3394 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
||
3395 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
||
2097 | jag | 3396 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3397 | printf %s "checking for $ac_word... " >&6; } |
||
3398 | if test ${ac_cv_prog_CC+y} |
||
3399 | then : |
||
3400 | printf %s "(cached) " >&6 |
||
3401 | else $as_nop |
||
1 | - | 3402 | if test -n "$CC"; then |
3403 | ac_cv_prog_CC="$CC" # Let the user override the test. |
||
3404 | else |
||
3405 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
3406 | for as_dir in $PATH |
||
3407 | do |
||
3408 | IFS=$as_save_IFS |
||
2097 | jag | 3409 | case $as_dir in #((( |
3410 | '') as_dir=./ ;; |
||
3411 | */) ;; |
||
3412 | *) as_dir=$as_dir/ ;; |
||
3413 | esac |
||
1 | - | 3414 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 3415 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 3416 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2097 | jag | 3417 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 3418 | break 2 |
3419 | fi |
||
3420 | done |
||
3421 | done |
||
3422 | IFS=$as_save_IFS |
||
3423 | |||
3424 | fi |
||
3425 | fi |
||
3426 | CC=$ac_cv_prog_CC |
||
3427 | if test -n "$CC"; then |
||
2097 | jag | 3428 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3429 | printf "%s\n" "$CC" >&6; } |
||
1 | - | 3430 | else |
2097 | jag | 3431 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3432 | printf "%s\n" "no" >&6; } |
||
1 | - | 3433 | fi |
3434 | |||
3435 | |||
3436 | test -n "$CC" && break |
||
3437 | done |
||
3438 | fi |
||
3439 | if test -z "$CC"; then |
||
3440 | ac_ct_CC=$CC |
||
3441 | for ac_prog in cl.exe |
||
3442 | do |
||
3443 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
||
3444 | set dummy $ac_prog; ac_word=$2 |
||
2097 | jag | 3445 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3446 | printf %s "checking for $ac_word... " >&6; } |
||
3447 | if test ${ac_cv_prog_ac_ct_CC+y} |
||
3448 | then : |
||
3449 | printf %s "(cached) " >&6 |
||
3450 | else $as_nop |
||
1 | - | 3451 | if test -n "$ac_ct_CC"; then |
3452 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
||
3453 | else |
||
3454 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
3455 | for as_dir in $PATH |
||
3456 | do |
||
3457 | IFS=$as_save_IFS |
||
2097 | jag | 3458 | case $as_dir in #((( |
3459 | '') as_dir=./ ;; |
||
3460 | */) ;; |
||
3461 | *) as_dir=$as_dir/ ;; |
||
3462 | esac |
||
1 | - | 3463 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 3464 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 3465 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2097 | jag | 3466 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 3467 | break 2 |
3468 | fi |
||
3469 | done |
||
3470 | done |
||
3471 | IFS=$as_save_IFS |
||
3472 | |||
3473 | fi |
||
3474 | fi |
||
3475 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
||
3476 | if test -n "$ac_ct_CC"; then |
||
2097 | jag | 3477 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3478 | printf "%s\n" "$ac_ct_CC" >&6; } |
||
1 | - | 3479 | else |
2097 | jag | 3480 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3481 | printf "%s\n" "no" >&6; } |
||
1 | - | 3482 | fi |
3483 | |||
3484 | |||
3485 | test -n "$ac_ct_CC" && break |
||
3486 | done |
||
3487 | |||
3488 | if test "x$ac_ct_CC" = x; then |
||
3489 | CC="" |
||
3490 | else |
||
3491 | case $cross_compiling:$ac_tool_warned in |
||
3492 | yes:) |
||
2097 | jag | 3493 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3494 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
||
1 | - | 3495 | ac_tool_warned=yes ;; |
3496 | esac |
||
3497 | CC=$ac_ct_CC |
||
3498 | fi |
||
3499 | fi |
||
3500 | |||
3501 | fi |
||
2097 | jag | 3502 | if test -z "$CC"; then |
3503 | if test -n "$ac_tool_prefix"; then |
||
3504 | # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
||
3505 | set dummy ${ac_tool_prefix}clang; ac_word=$2 |
||
3506 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
||
3507 | printf %s "checking for $ac_word... " >&6; } |
||
3508 | if test ${ac_cv_prog_CC+y} |
||
3509 | then : |
||
3510 | printf %s "(cached) " >&6 |
||
3511 | else $as_nop |
||
3512 | if test -n "$CC"; then |
||
3513 | ac_cv_prog_CC="$CC" # Let the user override the test. |
||
3514 | else |
||
3515 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
3516 | for as_dir in $PATH |
||
3517 | do |
||
3518 | IFS=$as_save_IFS |
||
3519 | case $as_dir in #((( |
||
3520 | '') as_dir=./ ;; |
||
3521 | */) ;; |
||
3522 | *) as_dir=$as_dir/ ;; |
||
3523 | esac |
||
3524 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
3525 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
||
3526 | ac_cv_prog_CC="${ac_tool_prefix}clang" |
||
3527 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
||
3528 | break 2 |
||
3529 | fi |
||
3530 | done |
||
3531 | done |
||
3532 | IFS=$as_save_IFS |
||
1 | - | 3533 | |
2097 | jag | 3534 | fi |
3535 | fi |
||
3536 | CC=$ac_cv_prog_CC |
||
3537 | if test -n "$CC"; then |
||
3538 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
||
3539 | printf "%s\n" "$CC" >&6; } |
||
3540 | else |
||
3541 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
3542 | printf "%s\n" "no" >&6; } |
||
3543 | fi |
||
1 | - | 3544 | |
2097 | jag | 3545 | |
3546 | fi |
||
3547 | if test -z "$ac_cv_prog_CC"; then |
||
3548 | ac_ct_CC=$CC |
||
3549 | # Extract the first word of "clang", so it can be a program name with args. |
||
3550 | set dummy clang; ac_word=$2 |
||
3551 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
||
3552 | printf %s "checking for $ac_word... " >&6; } |
||
3553 | if test ${ac_cv_prog_ac_ct_CC+y} |
||
3554 | then : |
||
3555 | printf %s "(cached) " >&6 |
||
3556 | else $as_nop |
||
3557 | if test -n "$ac_ct_CC"; then |
||
3558 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
||
3559 | else |
||
3560 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
3561 | for as_dir in $PATH |
||
3562 | do |
||
3563 | IFS=$as_save_IFS |
||
3564 | case $as_dir in #((( |
||
3565 | '') as_dir=./ ;; |
||
3566 | */) ;; |
||
3567 | *) as_dir=$as_dir/ ;; |
||
3568 | esac |
||
3569 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
3570 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
||
3571 | ac_cv_prog_ac_ct_CC="clang" |
||
3572 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
||
3573 | break 2 |
||
3574 | fi |
||
3575 | done |
||
3576 | done |
||
3577 | IFS=$as_save_IFS |
||
3578 | |||
3579 | fi |
||
3580 | fi |
||
3581 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
||
3582 | if test -n "$ac_ct_CC"; then |
||
3583 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
||
3584 | printf "%s\n" "$ac_ct_CC" >&6; } |
||
3585 | else |
||
3586 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
3587 | printf "%s\n" "no" >&6; } |
||
3588 | fi |
||
3589 | |||
3590 | if test "x$ac_ct_CC" = x; then |
||
3591 | CC="" |
||
3592 | else |
||
3593 | case $cross_compiling:$ac_tool_warned in |
||
3594 | yes:) |
||
3595 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
||
3596 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
||
3597 | ac_tool_warned=yes ;; |
||
3598 | esac |
||
3599 | CC=$ac_ct_CC |
||
3600 | fi |
||
3601 | else |
||
3602 | CC="$ac_cv_prog_CC" |
||
3603 | fi |
||
3604 | |||
3605 | fi |
||
3606 | |||
3607 | |||
3608 | test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
||
3609 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
||
232 | jag | 3610 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2097 | jag | 3611 | See \`config.log' for more details" "$LINENO" 5; } |
1 | - | 3612 | |
3613 | # Provide some information about the compiler. |
||
2097 | jag | 3614 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
1 | - | 3615 | set X $ac_compile |
3616 | ac_compiler=$2 |
||
2097 | jag | 3617 | for ac_option in --version -v -V -qversion -version; do |
1 | - | 3618 | { { ac_try="$ac_compiler $ac_option >&5" |
3619 | case "(($ac_try" in |
||
3620 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
3621 | *) ac_try_echo=$ac_try;; |
||
3622 | esac |
||
3623 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2097 | jag | 3624 | printf "%s\n" "$ac_try_echo"; } >&5 |
1 | - | 3625 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3626 | ac_status=$? |
||
3627 | if test -s conftest.err; then |
||
3628 | sed '10a\ |
||
3629 | ... rest of stderr output deleted ... |
||
3630 | 10q' conftest.err >conftest.er1 |
||
3631 | cat conftest.er1 >&5 |
||
3632 | fi |
||
20 | - | 3633 | rm -f conftest.er1 conftest.err |
2097 | jag | 3634 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1 | - | 3635 | test $ac_status = 0; } |
3636 | done |
||
3637 | |||
3638 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
3639 | /* end confdefs.h. */ |
||
20 | - | 3640 | |
1 | - | 3641 | int |
2097 | jag | 3642 | main (void) |
1 | - | 3643 | { |
3644 | |||
3645 | ; |
||
3646 | return 0; |
||
3647 | } |
||
3648 | _ACEOF |
||
3649 | ac_clean_files_save=$ac_clean_files |
||
20 | - | 3650 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
1 | - | 3651 | # Try to create an executable without -o first, disregard a.out. |
3652 | # It will help us diagnose broken compilers, and finding out an intuition |
||
3653 | # of exeext. |
||
2097 | jag | 3654 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3655 | printf %s "checking whether the C compiler works... " >&6; } |
||
3656 | ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
||
1 | - | 3657 | |
3658 | # The possible output files: |
||
3659 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
||
3660 | |||
3661 | ac_rmfiles= |
||
3662 | for ac_file in $ac_files |
||
3663 | do |
||
3664 | case $ac_file in |
||
3665 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
||
3666 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
||
3667 | esac |
||
3668 | done |
||
3669 | rm -f $ac_rmfiles |
||
3670 | |||
3671 | if { { ac_try="$ac_link_default" |
||
3672 | case "(($ac_try" in |
||
3673 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
3674 | *) ac_try_echo=$ac_try;; |
||
3675 | esac |
||
3676 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2097 | jag | 3677 | printf "%s\n" "$ac_try_echo"; } >&5 |
1 | - | 3678 | (eval "$ac_link_default") 2>&5 |
3679 | ac_status=$? |
||
2097 | jag | 3680 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3681 | test $ac_status = 0; } |
||
3682 | then : |
||
1 | - | 3683 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3684 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
||
3685 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
||
3686 | # so that the user can short-circuit this test for compilers unknown to |
||
3687 | # Autoconf. |
||
3688 | for ac_file in $ac_files '' |
||
3689 | do |
||
3690 | test -f "$ac_file" || continue |
||
3691 | case $ac_file in |
||
3692 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
||
3693 | ;; |
||
3694 | [ab].out ) |
||
3695 | # We found the default executable, but exeext='' is most |
||
3696 | # certainly right. |
||
3697 | break;; |
||
3698 | *.* ) |
||
2097 | jag | 3699 | if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; |
1 | - | 3700 | then :; else |
3701 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
||
3702 | fi |
||
3703 | # We set ac_cv_exeext here because the later test for it is not |
||
3704 | # safe: cross compilers may not add the suffix if given an `-o' |
||
3705 | # argument, so we may need to know it at that point already. |
||
3706 | # Even if this section looks crufty: it has the advantage of |
||
3707 | # actually working. |
||
3708 | break;; |
||
3709 | * ) |
||
3710 | break;; |
||
3711 | esac |
||
3712 | done |
||
3713 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
||
3714 | |||
2097 | jag | 3715 | else $as_nop |
1 | - | 3716 | ac_file='' |
3717 | fi |
||
2097 | jag | 3718 | if test -z "$ac_file" |
3719 | then : |
||
3720 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
3721 | printf "%s\n" "no" >&6; } |
||
3722 | printf "%s\n" "$as_me: failed program was:" >&5 |
||
1 | - | 3723 | sed 's/^/| /' conftest.$ac_ext >&5 |
3724 | |||
2097 | jag | 3725 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3726 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
||
232 | jag | 3727 | as_fn_error 77 "C compiler cannot create executables |
2097 | jag | 3728 | See \`config.log' for more details" "$LINENO" 5; } |
3729 | else $as_nop |
||
3730 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
||
3731 | printf "%s\n" "yes" >&6; } |
||
1 | - | 3732 | fi |
2097 | jag | 3733 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3734 | printf %s "checking for C compiler default output file name... " >&6; } |
||
3735 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
||
3736 | printf "%s\n" "$ac_file" >&6; } |
||
1 | - | 3737 | ac_exeext=$ac_cv_exeext |
3738 | |||
20 | - | 3739 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
1 | - | 3740 | ac_clean_files=$ac_clean_files_save |
2097 | jag | 3741 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3742 | printf %s "checking for suffix of executables... " >&6; } |
||
1 | - | 3743 | if { { ac_try="$ac_link" |
3744 | case "(($ac_try" in |
||
3745 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
3746 | *) ac_try_echo=$ac_try;; |
||
3747 | esac |
||
3748 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2097 | jag | 3749 | printf "%s\n" "$ac_try_echo"; } >&5 |
1 | - | 3750 | (eval "$ac_link") 2>&5 |
3751 | ac_status=$? |
||
2097 | jag | 3752 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3753 | test $ac_status = 0; } |
||
3754 | then : |
||
1 | - | 3755 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3756 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
||
3757 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
||
3758 | # `rm'. |
||
3759 | for ac_file in conftest.exe conftest conftest.*; do |
||
3760 | test -f "$ac_file" || continue |
||
3761 | case $ac_file in |
||
3762 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
||
3763 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
||
3764 | break;; |
||
3765 | * ) break;; |
||
3766 | esac |
||
3767 | done |
||
2097 | jag | 3768 | else $as_nop |
3769 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
||
3770 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
||
232 | jag | 3771 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2097 | jag | 3772 | See \`config.log' for more details" "$LINENO" 5; } |
1 | - | 3773 | fi |
20 | - | 3774 | rm -f conftest conftest$ac_cv_exeext |
2097 | jag | 3775 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3776 | printf "%s\n" "$ac_cv_exeext" >&6; } |
||
1 | - | 3777 | |
3778 | rm -f conftest.$ac_ext |
||
3779 | EXEEXT=$ac_cv_exeext |
||
3780 | ac_exeext=$EXEEXT |
||
20 | - | 3781 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3782 | /* end confdefs.h. */ |
||
3783 | #include <stdio.h> |
||
3784 | int |
||
2097 | jag | 3785 | main (void) |
20 | - | 3786 | { |
3787 | FILE *f = fopen ("conftest.out", "w"); |
||
3788 | return ferror (f) || fclose (f) != 0; |
||
3789 | |||
3790 | ; |
||
3791 | return 0; |
||
3792 | } |
||
3793 | _ACEOF |
||
3794 | ac_clean_files="$ac_clean_files conftest.out" |
||
3795 | # Check that the compiler produces executables we can run. If not, either |
||
3796 | # the compiler is broken, or we cross compile. |
||
2097 | jag | 3797 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3798 | printf %s "checking whether we are cross compiling... " >&6; } |
||
20 | - | 3799 | if test "$cross_compiling" != yes; then |
3800 | { { ac_try="$ac_link" |
||
3801 | case "(($ac_try" in |
||
3802 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
3803 | *) ac_try_echo=$ac_try;; |
||
3804 | esac |
||
3805 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2097 | jag | 3806 | printf "%s\n" "$ac_try_echo"; } >&5 |
20 | - | 3807 | (eval "$ac_link") 2>&5 |
3808 | ac_status=$? |
||
2097 | jag | 3809 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
20 | - | 3810 | test $ac_status = 0; } |
3811 | if { ac_try='./conftest$ac_cv_exeext' |
||
3812 | { { case "(($ac_try" in |
||
3813 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
3814 | *) ac_try_echo=$ac_try;; |
||
3815 | esac |
||
3816 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2097 | jag | 3817 | printf "%s\n" "$ac_try_echo"; } >&5 |
20 | - | 3818 | (eval "$ac_try") 2>&5 |
3819 | ac_status=$? |
||
2097 | jag | 3820 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
20 | - | 3821 | test $ac_status = 0; }; }; then |
3822 | cross_compiling=no |
||
3823 | else |
||
3824 | if test "$cross_compiling" = maybe; then |
||
3825 | cross_compiling=yes |
||
3826 | else |
||
2097 | jag | 3827 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3828 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
||
3829 | as_fn_error 77 "cannot run C compiled programs. |
||
20 | - | 3830 | If you meant to cross compile, use \`--host'. |
2097 | jag | 3831 | See \`config.log' for more details" "$LINENO" 5; } |
20 | - | 3832 | fi |
3833 | fi |
||
3834 | fi |
||
2097 | jag | 3835 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3836 | printf "%s\n" "$cross_compiling" >&6; } |
||
20 | - | 3837 | |
3838 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
||
3839 | ac_clean_files=$ac_clean_files_save |
||
2097 | jag | 3840 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3841 | printf %s "checking for suffix of object files... " >&6; } |
||
3842 | if test ${ac_cv_objext+y} |
||
3843 | then : |
||
3844 | printf %s "(cached) " >&6 |
||
3845 | else $as_nop |
||
1 | - | 3846 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3847 | /* end confdefs.h. */ |
||
3848 | |||
3849 | int |
||
2097 | jag | 3850 | main (void) |
1 | - | 3851 | { |
3852 | |||
3853 | ; |
||
3854 | return 0; |
||
3855 | } |
||
3856 | _ACEOF |
||
3857 | rm -f conftest.o conftest.obj |
||
3858 | if { { ac_try="$ac_compile" |
||
3859 | case "(($ac_try" in |
||
3860 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
3861 | *) ac_try_echo=$ac_try;; |
||
3862 | esac |
||
3863 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2097 | jag | 3864 | printf "%s\n" "$ac_try_echo"; } >&5 |
1 | - | 3865 | (eval "$ac_compile") 2>&5 |
3866 | ac_status=$? |
||
2097 | jag | 3867 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3868 | test $ac_status = 0; } |
||
3869 | then : |
||
1 | - | 3870 | for ac_file in conftest.o conftest.obj conftest.*; do |
3871 | test -f "$ac_file" || continue; |
||
3872 | case $ac_file in |
||
3873 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
||
3874 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
||
3875 | break;; |
||
3876 | esac |
||
3877 | done |
||
2097 | jag | 3878 | else $as_nop |
3879 | printf "%s\n" "$as_me: failed program was:" >&5 |
||
1 | - | 3880 | sed 's/^/| /' conftest.$ac_ext >&5 |
3881 | |||
2097 | jag | 3882 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3883 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
||
232 | jag | 3884 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2097 | jag | 3885 | See \`config.log' for more details" "$LINENO" 5; } |
1 | - | 3886 | fi |
3887 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
||
3888 | fi |
||
2097 | jag | 3889 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3890 | printf "%s\n" "$ac_cv_objext" >&6; } |
||
1 | - | 3891 | OBJEXT=$ac_cv_objext |
3892 | ac_objext=$OBJEXT |
||
2097 | jag | 3893 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
3894 | printf %s "checking whether the compiler supports GNU C... " >&6; } |
||
3895 | if test ${ac_cv_c_compiler_gnu+y} |
||
3896 | then : |
||
3897 | printf %s "(cached) " >&6 |
||
3898 | else $as_nop |
||
1 | - | 3899 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3900 | /* end confdefs.h. */ |
||
3901 | |||
3902 | int |
||
2097 | jag | 3903 | main (void) |
1 | - | 3904 | { |
3905 | #ifndef __GNUC__ |
||
3906 | choke me |
||
3907 | #endif |
||
3908 | |||
3909 | ; |
||
3910 | return 0; |
||
3911 | } |
||
3912 | _ACEOF |
||
2097 | jag | 3913 | if ac_fn_c_try_compile "$LINENO" |
3914 | then : |
||
1 | - | 3915 | ac_compiler_gnu=yes |
2097 | jag | 3916 | else $as_nop |
1 | - | 3917 | ac_compiler_gnu=no |
3918 | fi |
||
2097 | jag | 3919 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 3920 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3921 | |||
3922 | fi |
||
2097 | jag | 3923 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
3924 | printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
||
3925 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
3926 | |||
1 | - | 3927 | if test $ac_compiler_gnu = yes; then |
3928 | GCC=yes |
||
3929 | else |
||
3930 | GCC= |
||
3931 | fi |
||
2097 | jag | 3932 | ac_test_CFLAGS=${CFLAGS+y} |
1 | - | 3933 | ac_save_CFLAGS=$CFLAGS |
2097 | jag | 3934 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3935 | printf %s "checking whether $CC accepts -g... " >&6; } |
||
3936 | if test ${ac_cv_prog_cc_g+y} |
||
3937 | then : |
||
3938 | printf %s "(cached) " >&6 |
||
3939 | else $as_nop |
||
1 | - | 3940 | ac_save_c_werror_flag=$ac_c_werror_flag |
3941 | ac_c_werror_flag=yes |
||
3942 | ac_cv_prog_cc_g=no |
||
3943 | CFLAGS="-g" |
||
3944 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
3945 | /* end confdefs.h. */ |
||
3946 | |||
3947 | int |
||
2097 | jag | 3948 | main (void) |
1 | - | 3949 | { |
3950 | |||
3951 | ; |
||
3952 | return 0; |
||
3953 | } |
||
3954 | _ACEOF |
||
2097 | jag | 3955 | if ac_fn_c_try_compile "$LINENO" |
3956 | then : |
||
1 | - | 3957 | ac_cv_prog_cc_g=yes |
2097 | jag | 3958 | else $as_nop |
1 | - | 3959 | CFLAGS="" |
3960 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
3961 | /* end confdefs.h. */ |
||
3962 | |||
3963 | int |
||
2097 | jag | 3964 | main (void) |
1 | - | 3965 | { |
3966 | |||
3967 | ; |
||
3968 | return 0; |
||
3969 | } |
||
3970 | _ACEOF |
||
2097 | jag | 3971 | if ac_fn_c_try_compile "$LINENO" |
3972 | then : |
||
1 | - | 3973 | |
2097 | jag | 3974 | else $as_nop |
1 | - | 3975 | ac_c_werror_flag=$ac_save_c_werror_flag |
3976 | CFLAGS="-g" |
||
3977 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
3978 | /* end confdefs.h. */ |
||
3979 | |||
3980 | int |
||
2097 | jag | 3981 | main (void) |
1 | - | 3982 | { |
3983 | |||
3984 | ; |
||
3985 | return 0; |
||
3986 | } |
||
3987 | _ACEOF |
||
2097 | jag | 3988 | if ac_fn_c_try_compile "$LINENO" |
3989 | then : |
||
1 | - | 3990 | ac_cv_prog_cc_g=yes |
3991 | fi |
||
2097 | jag | 3992 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 3993 | fi |
2097 | jag | 3994 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 3995 | fi |
2097 | jag | 3996 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 3997 | ac_c_werror_flag=$ac_save_c_werror_flag |
3998 | fi |
||
2097 | jag | 3999 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
4000 | printf "%s\n" "$ac_cv_prog_cc_g" >&6; } |
||
4001 | if test $ac_test_CFLAGS; then |
||
1 | - | 4002 | CFLAGS=$ac_save_CFLAGS |
4003 | elif test $ac_cv_prog_cc_g = yes; then |
||
4004 | if test "$GCC" = yes; then |
||
4005 | CFLAGS="-g -O2" |
||
4006 | else |
||
4007 | CFLAGS="-g" |
||
4008 | fi |
||
4009 | else |
||
4010 | if test "$GCC" = yes; then |
||
4011 | CFLAGS="-O2" |
||
4012 | else |
||
4013 | CFLAGS= |
||
4014 | fi |
||
4015 | fi |
||
2097 | jag | 4016 | ac_prog_cc_stdc=no |
4017 | if test x$ac_prog_cc_stdc = xno |
||
4018 | then : |
||
4019 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
||
4020 | printf %s "checking for $CC option to enable C11 features... " >&6; } |
||
4021 | if test ${ac_cv_prog_cc_c11+y} |
||
4022 | then : |
||
4023 | printf %s "(cached) " >&6 |
||
4024 | else $as_nop |
||
4025 | ac_cv_prog_cc_c11=no |
||
1 | - | 4026 | ac_save_CC=$CC |
4027 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
4028 | /* end confdefs.h. */ |
||
2097 | jag | 4029 | $ac_c_conftest_c11_program |
4030 | _ACEOF |
||
4031 | for ac_arg in '' -std=gnu11 |
||
4032 | do |
||
4033 | CC="$ac_save_CC $ac_arg" |
||
4034 | if ac_fn_c_try_compile "$LINENO" |
||
4035 | then : |
||
4036 | ac_cv_prog_cc_c11=$ac_arg |
||
4037 | fi |
||
4038 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
||
4039 | test "x$ac_cv_prog_cc_c11" != "xno" && break |
||
4040 | done |
||
4041 | rm -f conftest.$ac_ext |
||
4042 | CC=$ac_save_CC |
||
4043 | fi |
||
1 | - | 4044 | |
2097 | jag | 4045 | if test "x$ac_cv_prog_cc_c11" = xno |
4046 | then : |
||
4047 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
||
4048 | printf "%s\n" "unsupported" >&6; } |
||
4049 | else $as_nop |
||
4050 | if test "x$ac_cv_prog_cc_c11" = x |
||
4051 | then : |
||
4052 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
||
4053 | printf "%s\n" "none needed" >&6; } |
||
4054 | else $as_nop |
||
4055 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
||
4056 | printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
||
4057 | CC="$CC $ac_cv_prog_cc_c11" |
||
4058 | fi |
||
4059 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
||
4060 | ac_prog_cc_stdc=c11 |
||
4061 | fi |
||
4062 | fi |
||
4063 | if test x$ac_prog_cc_stdc = xno |
||
4064 | then : |
||
4065 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
||
4066 | printf %s "checking for $CC option to enable C99 features... " >&6; } |
||
4067 | if test ${ac_cv_prog_cc_c99+y} |
||
4068 | then : |
||
4069 | printf %s "(cached) " >&6 |
||
4070 | else $as_nop |
||
4071 | ac_cv_prog_cc_c99=no |
||
4072 | ac_save_CC=$CC |
||
4073 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
4074 | /* end confdefs.h. */ |
||
4075 | $ac_c_conftest_c99_program |
||
4076 | _ACEOF |
||
4077 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
||
4078 | do |
||
4079 | CC="$ac_save_CC $ac_arg" |
||
4080 | if ac_fn_c_try_compile "$LINENO" |
||
4081 | then : |
||
4082 | ac_cv_prog_cc_c99=$ac_arg |
||
4083 | fi |
||
4084 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
||
4085 | test "x$ac_cv_prog_cc_c99" != "xno" && break |
||
4086 | done |
||
4087 | rm -f conftest.$ac_ext |
||
4088 | CC=$ac_save_CC |
||
4089 | fi |
||
1 | - | 4090 | |
2097 | jag | 4091 | if test "x$ac_cv_prog_cc_c99" = xno |
4092 | then : |
||
4093 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
||
4094 | printf "%s\n" "unsupported" >&6; } |
||
4095 | else $as_nop |
||
4096 | if test "x$ac_cv_prog_cc_c99" = x |
||
4097 | then : |
||
4098 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
||
4099 | printf "%s\n" "none needed" >&6; } |
||
4100 | else $as_nop |
||
4101 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
||
4102 | printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
||
4103 | CC="$CC $ac_cv_prog_cc_c99" |
||
4104 | fi |
||
4105 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
||
4106 | ac_prog_cc_stdc=c99 |
||
4107 | fi |
||
4108 | fi |
||
4109 | if test x$ac_prog_cc_stdc = xno |
||
4110 | then : |
||
4111 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
||
4112 | printf %s "checking for $CC option to enable C89 features... " >&6; } |
||
4113 | if test ${ac_cv_prog_cc_c89+y} |
||
4114 | then : |
||
4115 | printf %s "(cached) " >&6 |
||
4116 | else $as_nop |
||
4117 | ac_cv_prog_cc_c89=no |
||
4118 | ac_save_CC=$CC |
||
4119 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
4120 | /* end confdefs.h. */ |
||
4121 | $ac_c_conftest_c89_program |
||
1 | - | 4122 | _ACEOF |
2097 | jag | 4123 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
1 | - | 4124 | do |
4125 | CC="$ac_save_CC $ac_arg" |
||
2097 | jag | 4126 | if ac_fn_c_try_compile "$LINENO" |
4127 | then : |
||
1 | - | 4128 | ac_cv_prog_cc_c89=$ac_arg |
4129 | fi |
||
2097 | jag | 4130 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
1 | - | 4131 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
4132 | done |
||
4133 | rm -f conftest.$ac_ext |
||
4134 | CC=$ac_save_CC |
||
4135 | fi |
||
4136 | |||
2097 | jag | 4137 | if test "x$ac_cv_prog_cc_c89" = xno |
4138 | then : |
||
4139 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
||
4140 | printf "%s\n" "unsupported" >&6; } |
||
4141 | else $as_nop |
||
4142 | if test "x$ac_cv_prog_cc_c89" = x |
||
4143 | then : |
||
4144 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
||
4145 | printf "%s\n" "none needed" >&6; } |
||
4146 | else $as_nop |
||
4147 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
||
4148 | printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
||
4149 | CC="$CC $ac_cv_prog_cc_c89" |
||
1 | - | 4150 | fi |
2097 | jag | 4151 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
4152 | ac_prog_cc_stdc=c89 |
||
4153 | fi |
||
4154 | fi |
||
1 | - | 4155 | |
4156 | ac_ext=c |
||
4157 | ac_cpp='$CPP $CPPFLAGS' |
||
4158 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
4159 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
4160 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
2097 | jag | 4161 | |
4162 | |||
4163 | ac_ext=c |
||
4164 | ac_cpp='$CPP $CPPFLAGS' |
||
4165 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
4166 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
4167 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
4168 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
||
4169 | printf %s "checking whether $CC understands -c and -o together... " >&6; } |
||
4170 | if test ${am_cv_prog_cc_c_o+y} |
||
4171 | then : |
||
4172 | printf %s "(cached) " >&6 |
||
4173 | else $as_nop |
||
4174 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
4175 | /* end confdefs.h. */ |
||
4176 | |||
4177 | int |
||
4178 | main (void) |
||
4179 | { |
||
4180 | |||
4181 | ; |
||
4182 | return 0; |
||
4183 | } |
||
4184 | _ACEOF |
||
4185 | # Make sure it works both with $CC and with simple cc. |
||
4186 | # Following AC_PROG_CC_C_O, we do the test twice because some |
||
4187 | # compilers refuse to overwrite an existing .o file with -o, |
||
4188 | # though they will create one. |
||
4189 | am_cv_prog_cc_c_o=yes |
||
4190 | for am_i in 1 2; do |
||
4191 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
||
4192 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
||
4193 | ac_status=$? |
||
4194 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
||
4195 | (exit $ac_status); } \ |
||
4196 | && test -f conftest2.$ac_objext; then |
||
4197 | : OK |
||
4198 | else |
||
4199 | am_cv_prog_cc_c_o=no |
||
4200 | break |
||
4201 | fi |
||
4202 | done |
||
4203 | rm -f core conftest* |
||
4204 | unset am_i |
||
4205 | fi |
||
4206 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
||
4207 | printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } |
||
4208 | if test "$am_cv_prog_cc_c_o" != yes; then |
||
4209 | # Losing compiler, so override with the script. |
||
4210 | # FIXME: It is wrong to rewrite CC. |
||
4211 | # But if we don't then we get into trouble of one sort or another. |
||
4212 | # A longer-term fix would be to have automake use am__CC in this case, |
||
4213 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
||
4214 | CC="$am_aux_dir/compile $CC" |
||
4215 | fi |
||
4216 | ac_ext=c |
||
4217 | ac_cpp='$CPP $CPPFLAGS' |
||
4218 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
4219 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
4220 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
4221 | |||
1 | - | 4222 | DEPDIR="${am__leading_dot}deps" |
4223 | |||
4224 | ac_config_commands="$ac_config_commands depfiles" |
||
4225 | |||
2097 | jag | 4226 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
4227 | printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } |
||
4228 | cat > confinc.mk << 'END' |
||
1 | - | 4229 | am__doit: |
2097 | jag | 4230 | @echo this is the am__doit target >confinc.out |
1 | - | 4231 | .PHONY: am__doit |
4232 | END |
||
4233 | am__include="#" |
||
4234 | am__quote= |
||
2097 | jag | 4235 | # BSD make does it like this. |
4236 | echo '.include "confinc.mk" # ignored' > confmf.BSD |
||
4237 | # Other make implementations (GNU, Solaris 10, AIX) do it like this. |
||
4238 | echo 'include confinc.mk # ignored' > confmf.GNU |
||
4239 | _am_result=no |
||
4240 | for s in GNU BSD; do |
||
4241 | { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
||
4242 | (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
||
4243 | ac_status=$? |
||
4244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
||
4245 | (exit $ac_status); } |
||
4246 | case $?:`cat confinc.out 2>/dev/null` in #( |
||
4247 | '0:this is the am__doit target') : |
||
4248 | case $s in #( |
||
4249 | BSD) : |
||
4250 | am__include='.include' am__quote='"' ;; #( |
||
4251 | *) : |
||
4252 | am__include='include' am__quote='' ;; |
||
4253 | esac ;; #( |
||
4254 | *) : |
||
4255 | ;; |
||
2096 | jag | 4256 | esac |
2097 | jag | 4257 | if test "$am__include" != "#"; then |
4258 | _am_result="yes ($s style)" |
||
4259 | break |
||
4260 | fi |
||
4261 | done |
||
4262 | rm -f confinc.* confmf.* |
||
4263 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
||
4264 | printf "%s\n" "${_am_result}" >&6; } |
||
1 | - | 4265 | |
4266 | # Check whether --enable-dependency-tracking was given. |
||
2097 | jag | 4267 | if test ${enable_dependency_tracking+y} |
4268 | then : |
||
1 | - | 4269 | enableval=$enable_dependency_tracking; |
4270 | fi |
||
4271 | |||
4272 | if test "x$enable_dependency_tracking" != xno; then |
||
4273 | am_depcomp="$ac_aux_dir/depcomp" |
||
4274 | AMDEPBACKSLASH='\' |
||
2097 | jag | 4275 | am__nodep='_no' |
1 | - | 4276 | fi |
4277 | if test "x$enable_dependency_tracking" != xno; then |
||
4278 | AMDEP_TRUE= |
||
4279 | AMDEP_FALSE='#' |
||
4280 | else |
||
4281 | AMDEP_TRUE='#' |
||
4282 | AMDEP_FALSE= |
||
4283 | fi |
||
4284 | |||
4285 | |||
4286 | |||
4287 | depcc="$CC" am_compiler_list= |
||
4288 | |||
2097 | jag | 4289 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4290 | printf %s "checking dependency style of $depcc... " >&6; } |
||
4291 | if test ${am_cv_CC_dependencies_compiler_type+y} |
||
4292 | then : |
||
4293 | printf %s "(cached) " >&6 |
||
4294 | else $as_nop |
||
1 | - | 4295 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4296 | # We make a subdir and do the tests there. Otherwise we can end up |
||
4297 | # making bogus files that we don't know about and never remove. For |
||
4298 | # instance it was reported that on HP-UX the gcc test will end up |
||
2097 | jag | 4299 | # making a dummy file named 'D' -- because '-MD' means "put the output |
4300 | # in D". |
||
4301 | rm -rf conftest.dir |
||
1 | - | 4302 | mkdir conftest.dir |
4303 | # Copy depcomp to subdir because otherwise we won't find it if we're |
||
4304 | # using a relative directory. |
||
4305 | cp "$am_depcomp" conftest.dir |
||
4306 | cd conftest.dir |
||
4307 | # We will build objects and dependencies in a subdirectory because |
||
4308 | # it helps to detect inapplicable dependency modes. For instance |
||
4309 | # both Tru64's cc and ICC support -MD to output dependencies as a |
||
4310 | # side effect of compilation, but ICC will put the dependencies in |
||
4311 | # the current directory while Tru64 will put them in the object |
||
4312 | # directory. |
||
4313 | mkdir sub |
||
4314 | |||
4315 | am_cv_CC_dependencies_compiler_type=none |
||
4316 | if test "$am_compiler_list" = ""; then |
||
4317 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
||
4318 | fi |
||
4319 | am__universal=false |
||
4320 | case " $depcc " in #( |
||
4321 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
||
4322 | esac |
||
4323 | |||
4324 | for depmode in $am_compiler_list; do |
||
4325 | # Setup a source with many dependencies, because some compilers |
||
4326 | # like to wrap large dependency lists on column 80 (with \), and |
||
4327 | # we should not choose a depcomp mode which is confused by this. |
||
4328 | # |
||
4329 | # We need to recreate these files for each test, as the compiler may |
||
4330 | # overwrite some of them when testing with obscure command lines. |
||
4331 | # This happens at least with the AIX C compiler. |
||
4332 | : > sub/conftest.c |
||
4333 | for i in 1 2 3 4 5 6; do |
||
4334 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
||
2097 | jag | 4335 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
4336 | # Solaris 10 /bin/sh. |
||
4337 | echo '/* dummy */' > sub/conftst$i.h |
||
1 | - | 4338 | done |
4339 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
||
4340 | |||
2097 | jag | 4341 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
1 | - | 4342 | # mode. It turns out that the SunPro C++ compiler does not properly |
2097 | jag | 4343 | # handle '-M -o', and we need to detect this. Also, some Intel |
4344 | # versions had trouble with output in subdirs. |
||
1 | - | 4345 | am__obj=sub/conftest.${OBJEXT-o} |
4346 | am__minus_obj="-o $am__obj" |
||
4347 | case $depmode in |
||
4348 | gcc) |
||
4349 | # This depmode causes a compiler race in universal mode. |
||
4350 | test "$am__universal" = false || continue |
||
4351 | ;; |
||
4352 | nosideeffect) |
||
2097 | jag | 4353 | # After this tag, mechanisms are not by side-effect, so they'll |
4354 | # only be used when explicitly requested. |
||
1 | - | 4355 | if test "x$enable_dependency_tracking" = xyes; then |
4356 | continue |
||
4357 | else |
||
4358 | break |
||
4359 | fi |
||
4360 | ;; |
||
2097 | jag | 4361 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4362 | # This compiler won't grok '-c -o', but also, the minuso test has |
||
1 | - | 4363 | # not run yet. These depmodes are late enough in the game, and |
4364 | # so weak that their functioning should not be impacted. |
||
4365 | am__obj=conftest.${OBJEXT-o} |
||
4366 | am__minus_obj= |
||
4367 | ;; |
||
4368 | none) break ;; |
||
4369 | esac |
||
4370 | if depmode=$depmode \ |
||
4371 | source=sub/conftest.c object=$am__obj \ |
||
4372 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
||
4373 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
||
4374 | >/dev/null 2>conftest.err && |
||
4375 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
||
4376 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
||
4377 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
||
4378 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
||
4379 | # icc doesn't choke on unknown options, it will just issue warnings |
||
4380 | # or remarks (even with -Werror). So we grep stderr for any message |
||
4381 | # that says an option was ignored or not supported. |
||
4382 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
||
4383 | # icc: Command line warning: ignoring option '-M'; no argument required |
||
4384 | # The diagnosis changed in icc 8.0: |
||
4385 | # icc: Command line remark: option '-MP' not supported |
||
4386 | if (grep 'ignoring option' conftest.err || |
||
4387 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
||
4388 | am_cv_CC_dependencies_compiler_type=$depmode |
||
4389 | break |
||
4390 | fi |
||
4391 | fi |
||
4392 | done |
||
4393 | |||
4394 | cd .. |
||
4395 | rm -rf conftest.dir |
||
4396 | else |
||
4397 | am_cv_CC_dependencies_compiler_type=none |
||
4398 | fi |
||
4399 | |||
4400 | fi |
||
2097 | jag | 4401 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4402 | printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
||
1 | - | 4403 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4404 | |||
4405 | if |
||
4406 | test "x$enable_dependency_tracking" != xno \ |
||
4407 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
||
4408 | am__fastdepCC_TRUE= |
||
4409 | am__fastdepCC_FALSE='#' |
||
4410 | else |
||
4411 | am__fastdepCC_TRUE='#' |
||
4412 | am__fastdepCC_FALSE= |
||
4413 | fi |
||
4414 | |||
4415 | |||
2097 | jag | 4416 | |
4417 | |||
4418 | |||
4419 | |||
4420 | |||
4421 | |||
1 | - | 4422 | ac_ext=cpp |
4423 | ac_cpp='$CXXCPP $CPPFLAGS' |
||
4424 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
4425 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
4426 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
||
4427 | if test -z "$CXX"; then |
||
4428 | if test -n "$CCC"; then |
||
4429 | CXX=$CCC |
||
4430 | else |
||
4431 | if test -n "$ac_tool_prefix"; then |
||
2097 | jag | 4432 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ |
1 | - | 4433 | do |
4434 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
||
4435 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
||
2097 | jag | 4436 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4437 | printf %s "checking for $ac_word... " >&6; } |
||
4438 | if test ${ac_cv_prog_CXX+y} |
||
4439 | then : |
||
4440 | printf %s "(cached) " >&6 |
||
4441 | else $as_nop |
||
1 | - | 4442 | if test -n "$CXX"; then |
4443 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
||
4444 | else |
||
4445 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
4446 | for as_dir in $PATH |
||
4447 | do |
||
4448 | IFS=$as_save_IFS |
||
2097 | jag | 4449 | case $as_dir in #((( |
4450 | '') as_dir=./ ;; |
||
4451 | */) ;; |
||
4452 | *) as_dir=$as_dir/ ;; |
||
4453 | esac |
||
1 | - | 4454 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 4455 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 4456 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
2097 | jag | 4457 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 4458 | break 2 |
4459 | fi |
||
4460 | done |
||
4461 | done |
||
4462 | IFS=$as_save_IFS |
||
4463 | |||
4464 | fi |
||
4465 | fi |
||
4466 | CXX=$ac_cv_prog_CXX |
||
4467 | if test -n "$CXX"; then |
||
2097 | jag | 4468 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
4469 | printf "%s\n" "$CXX" >&6; } |
||
1 | - | 4470 | else |
2097 | jag | 4471 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4472 | printf "%s\n" "no" >&6; } |
||
1 | - | 4473 | fi |
4474 | |||
4475 | |||
4476 | test -n "$CXX" && break |
||
4477 | done |
||
4478 | fi |
||
4479 | if test -z "$CXX"; then |
||
4480 | ac_ct_CXX=$CXX |
||
2097 | jag | 4481 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ |
1 | - | 4482 | do |
4483 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
||
4484 | set dummy $ac_prog; ac_word=$2 |
||
2097 | jag | 4485 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4486 | printf %s "checking for $ac_word... " >&6; } |
||
4487 | if test ${ac_cv_prog_ac_ct_CXX+y} |
||
4488 | then : |
||
4489 | printf %s "(cached) " >&6 |
||
4490 | else $as_nop |
||
1 | - | 4491 | if test -n "$ac_ct_CXX"; then |
4492 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
||
4493 | else |
||
4494 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
4495 | for as_dir in $PATH |
||
4496 | do |
||
4497 | IFS=$as_save_IFS |
||
2097 | jag | 4498 | case $as_dir in #((( |
4499 | '') as_dir=./ ;; |
||
4500 | */) ;; |
||
4501 | *) as_dir=$as_dir/ ;; |
||
4502 | esac |
||
1 | - | 4503 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 4504 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 4505 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
2097 | jag | 4506 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 4507 | break 2 |
4508 | fi |
||
4509 | done |
||
4510 | done |
||
4511 | IFS=$as_save_IFS |
||
4512 | |||
4513 | fi |
||
4514 | fi |
||
4515 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
||
4516 | if test -n "$ac_ct_CXX"; then |
||
2097 | jag | 4517 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
4518 | printf "%s\n" "$ac_ct_CXX" >&6; } |
||
1 | - | 4519 | else |
2097 | jag | 4520 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4521 | printf "%s\n" "no" >&6; } |
||
1 | - | 4522 | fi |
4523 | |||
4524 | |||
4525 | test -n "$ac_ct_CXX" && break |
||
4526 | done |
||
4527 | |||
4528 | if test "x$ac_ct_CXX" = x; then |
||
4529 | CXX="g++" |
||
4530 | else |
||
4531 | case $cross_compiling:$ac_tool_warned in |
||
4532 | yes:) |
||
2097 | jag | 4533 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4534 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
||
1 | - | 4535 | ac_tool_warned=yes ;; |
4536 | esac |
||
4537 | CXX=$ac_ct_CXX |
||
4538 | fi |
||
4539 | fi |
||
4540 | |||
4541 | fi |
||
4542 | fi |
||
4543 | # Provide some information about the compiler. |
||
2097 | jag | 4544 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
1 | - | 4545 | set X $ac_compile |
4546 | ac_compiler=$2 |
||
4547 | for ac_option in --version -v -V -qversion; do |
||
4548 | { { ac_try="$ac_compiler $ac_option >&5" |
||
4549 | case "(($ac_try" in |
||
4550 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
4551 | *) ac_try_echo=$ac_try;; |
||
4552 | esac |
||
4553 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2097 | jag | 4554 | printf "%s\n" "$ac_try_echo"; } >&5 |
1 | - | 4555 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
4556 | ac_status=$? |
||
4557 | if test -s conftest.err; then |
||
4558 | sed '10a\ |
||
4559 | ... rest of stderr output deleted ... |
||
4560 | 10q' conftest.err >conftest.er1 |
||
4561 | cat conftest.er1 >&5 |
||
4562 | fi |
||
20 | - | 4563 | rm -f conftest.er1 conftest.err |
2097 | jag | 4564 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1 | - | 4565 | test $ac_status = 0; } |
4566 | done |
||
4567 | |||
2097 | jag | 4568 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 |
4569 | printf %s "checking whether the compiler supports GNU C++... " >&6; } |
||
4570 | if test ${ac_cv_cxx_compiler_gnu+y} |
||
4571 | then : |
||
4572 | printf %s "(cached) " >&6 |
||
4573 | else $as_nop |
||
1 | - | 4574 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4575 | /* end confdefs.h. */ |
||
4576 | |||
4577 | int |
||
2097 | jag | 4578 | main (void) |
1 | - | 4579 | { |
4580 | #ifndef __GNUC__ |
||
4581 | choke me |
||
4582 | #endif |
||
4583 | |||
4584 | ; |
||
4585 | return 0; |
||
4586 | } |
||
4587 | _ACEOF |
||
2097 | jag | 4588 | if ac_fn_cxx_try_compile "$LINENO" |
4589 | then : |
||
1 | - | 4590 | ac_compiler_gnu=yes |
2097 | jag | 4591 | else $as_nop |
1 | - | 4592 | ac_compiler_gnu=no |
4593 | fi |
||
2097 | jag | 4594 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 4595 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4596 | |||
4597 | fi |
||
2097 | jag | 4598 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
4599 | printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; } |
||
4600 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
||
4601 | |||
1 | - | 4602 | if test $ac_compiler_gnu = yes; then |
4603 | GXX=yes |
||
4604 | else |
||
4605 | GXX= |
||
4606 | fi |
||
2097 | jag | 4607 | ac_test_CXXFLAGS=${CXXFLAGS+y} |
1 | - | 4608 | ac_save_CXXFLAGS=$CXXFLAGS |
2097 | jag | 4609 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
4610 | printf %s "checking whether $CXX accepts -g... " >&6; } |
||
4611 | if test ${ac_cv_prog_cxx_g+y} |
||
4612 | then : |
||
4613 | printf %s "(cached) " >&6 |
||
4614 | else $as_nop |
||
1 | - | 4615 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4616 | ac_cxx_werror_flag=yes |
||
4617 | ac_cv_prog_cxx_g=no |
||
4618 | CXXFLAGS="-g" |
||
4619 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
4620 | /* end confdefs.h. */ |
||
4621 | |||
4622 | int |
||
2097 | jag | 4623 | main (void) |
1 | - | 4624 | { |
4625 | |||
4626 | ; |
||
4627 | return 0; |
||
4628 | } |
||
4629 | _ACEOF |
||
2097 | jag | 4630 | if ac_fn_cxx_try_compile "$LINENO" |
4631 | then : |
||
1 | - | 4632 | ac_cv_prog_cxx_g=yes |
2097 | jag | 4633 | else $as_nop |
1 | - | 4634 | CXXFLAGS="" |
4635 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
4636 | /* end confdefs.h. */ |
||
4637 | |||
4638 | int |
||
2097 | jag | 4639 | main (void) |
1 | - | 4640 | { |
4641 | |||
4642 | ; |
||
4643 | return 0; |
||
4644 | } |
||
4645 | _ACEOF |
||
2097 | jag | 4646 | if ac_fn_cxx_try_compile "$LINENO" |
4647 | then : |
||
1 | - | 4648 | |
2097 | jag | 4649 | else $as_nop |
1 | - | 4650 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4651 | CXXFLAGS="-g" |
||
4652 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
4653 | /* end confdefs.h. */ |
||
4654 | |||
4655 | int |
||
2097 | jag | 4656 | main (void) |
1 | - | 4657 | { |
4658 | |||
4659 | ; |
||
4660 | return 0; |
||
4661 | } |
||
4662 | _ACEOF |
||
2097 | jag | 4663 | if ac_fn_cxx_try_compile "$LINENO" |
4664 | then : |
||
1 | - | 4665 | ac_cv_prog_cxx_g=yes |
4666 | fi |
||
2097 | jag | 4667 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 4668 | fi |
2097 | jag | 4669 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 4670 | fi |
2097 | jag | 4671 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 4672 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4673 | fi |
||
2097 | jag | 4674 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
4675 | printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } |
||
4676 | if test $ac_test_CXXFLAGS; then |
||
1 | - | 4677 | CXXFLAGS=$ac_save_CXXFLAGS |
4678 | elif test $ac_cv_prog_cxx_g = yes; then |
||
4679 | if test "$GXX" = yes; then |
||
4680 | CXXFLAGS="-g -O2" |
||
4681 | else |
||
4682 | CXXFLAGS="-g" |
||
4683 | fi |
||
4684 | else |
||
4685 | if test "$GXX" = yes; then |
||
4686 | CXXFLAGS="-O2" |
||
4687 | else |
||
4688 | CXXFLAGS= |
||
4689 | fi |
||
4690 | fi |
||
2097 | jag | 4691 | ac_prog_cxx_stdcxx=no |
4692 | if test x$ac_prog_cxx_stdcxx = xno |
||
4693 | then : |
||
4694 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 |
||
4695 | printf %s "checking for $CXX option to enable C++11 features... " >&6; } |
||
4696 | if test ${ac_cv_prog_cxx_11+y} |
||
4697 | then : |
||
4698 | printf %s "(cached) " >&6 |
||
4699 | else $as_nop |
||
4700 | ac_cv_prog_cxx_11=no |
||
4701 | ac_save_CXX=$CXX |
||
4702 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
4703 | /* end confdefs.h. */ |
||
4704 | $ac_cxx_conftest_cxx11_program |
||
4705 | _ACEOF |
||
4706 | for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA |
||
4707 | do |
||
4708 | CXX="$ac_save_CXX $ac_arg" |
||
4709 | if ac_fn_cxx_try_compile "$LINENO" |
||
4710 | then : |
||
4711 | ac_cv_prog_cxx_cxx11=$ac_arg |
||
4712 | fi |
||
4713 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
||
4714 | test "x$ac_cv_prog_cxx_cxx11" != "xno" && break |
||
4715 | done |
||
4716 | rm -f conftest.$ac_ext |
||
4717 | CXX=$ac_save_CXX |
||
4718 | fi |
||
4719 | |||
4720 | if test "x$ac_cv_prog_cxx_cxx11" = xno |
||
4721 | then : |
||
4722 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
||
4723 | printf "%s\n" "unsupported" >&6; } |
||
4724 | else $as_nop |
||
4725 | if test "x$ac_cv_prog_cxx_cxx11" = x |
||
4726 | then : |
||
4727 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
||
4728 | printf "%s\n" "none needed" >&6; } |
||
4729 | else $as_nop |
||
4730 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5 |
||
4731 | printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } |
||
4732 | CXX="$CXX $ac_cv_prog_cxx_cxx11" |
||
4733 | fi |
||
4734 | ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 |
||
4735 | ac_prog_cxx_stdcxx=cxx11 |
||
4736 | fi |
||
4737 | fi |
||
4738 | if test x$ac_prog_cxx_stdcxx = xno |
||
4739 | then : |
||
4740 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 |
||
4741 | printf %s "checking for $CXX option to enable C++98 features... " >&6; } |
||
4742 | if test ${ac_cv_prog_cxx_98+y} |
||
4743 | then : |
||
4744 | printf %s "(cached) " >&6 |
||
4745 | else $as_nop |
||
4746 | ac_cv_prog_cxx_98=no |
||
4747 | ac_save_CXX=$CXX |
||
4748 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
4749 | /* end confdefs.h. */ |
||
4750 | $ac_cxx_conftest_cxx98_program |
||
4751 | _ACEOF |
||
4752 | for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA |
||
4753 | do |
||
4754 | CXX="$ac_save_CXX $ac_arg" |
||
4755 | if ac_fn_cxx_try_compile "$LINENO" |
||
4756 | then : |
||
4757 | ac_cv_prog_cxx_cxx98=$ac_arg |
||
4758 | fi |
||
4759 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
||
4760 | test "x$ac_cv_prog_cxx_cxx98" != "xno" && break |
||
4761 | done |
||
4762 | rm -f conftest.$ac_ext |
||
4763 | CXX=$ac_save_CXX |
||
4764 | fi |
||
4765 | |||
4766 | if test "x$ac_cv_prog_cxx_cxx98" = xno |
||
4767 | then : |
||
4768 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
||
4769 | printf "%s\n" "unsupported" >&6; } |
||
4770 | else $as_nop |
||
4771 | if test "x$ac_cv_prog_cxx_cxx98" = x |
||
4772 | then : |
||
4773 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
||
4774 | printf "%s\n" "none needed" >&6; } |
||
4775 | else $as_nop |
||
4776 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5 |
||
4777 | printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } |
||
4778 | CXX="$CXX $ac_cv_prog_cxx_cxx98" |
||
4779 | fi |
||
4780 | ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 |
||
4781 | ac_prog_cxx_stdcxx=cxx98 |
||
4782 | fi |
||
4783 | fi |
||
4784 | |||
1 | - | 4785 | ac_ext=c |
4786 | ac_cpp='$CPP $CPPFLAGS' |
||
4787 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
4788 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
4789 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
4790 | |||
4791 | depcc="$CXX" am_compiler_list= |
||
4792 | |||
2097 | jag | 4793 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4794 | printf %s "checking dependency style of $depcc... " >&6; } |
||
4795 | if test ${am_cv_CXX_dependencies_compiler_type+y} |
||
4796 | then : |
||
4797 | printf %s "(cached) " >&6 |
||
4798 | else $as_nop |
||
1 | - | 4799 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4800 | # We make a subdir and do the tests there. Otherwise we can end up |
||
4801 | # making bogus files that we don't know about and never remove. For |
||
4802 | # instance it was reported that on HP-UX the gcc test will end up |
||
2097 | jag | 4803 | # making a dummy file named 'D' -- because '-MD' means "put the output |
4804 | # in D". |
||
4805 | rm -rf conftest.dir |
||
1 | - | 4806 | mkdir conftest.dir |
4807 | # Copy depcomp to subdir because otherwise we won't find it if we're |
||
4808 | # using a relative directory. |
||
4809 | cp "$am_depcomp" conftest.dir |
||
4810 | cd conftest.dir |
||
4811 | # We will build objects and dependencies in a subdirectory because |
||
4812 | # it helps to detect inapplicable dependency modes. For instance |
||
4813 | # both Tru64's cc and ICC support -MD to output dependencies as a |
||
4814 | # side effect of compilation, but ICC will put the dependencies in |
||
4815 | # the current directory while Tru64 will put them in the object |
||
4816 | # directory. |
||
4817 | mkdir sub |
||
4818 | |||
4819 | am_cv_CXX_dependencies_compiler_type=none |
||
4820 | if test "$am_compiler_list" = ""; then |
||
4821 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
||
4822 | fi |
||
4823 | am__universal=false |
||
4824 | case " $depcc " in #( |
||
4825 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
||
4826 | esac |
||
4827 | |||
4828 | for depmode in $am_compiler_list; do |
||
4829 | # Setup a source with many dependencies, because some compilers |
||
4830 | # like to wrap large dependency lists on column 80 (with \), and |
||
4831 | # we should not choose a depcomp mode which is confused by this. |
||
4832 | # |
||
4833 | # We need to recreate these files for each test, as the compiler may |
||
4834 | # overwrite some of them when testing with obscure command lines. |
||
4835 | # This happens at least with the AIX C compiler. |
||
4836 | : > sub/conftest.c |
||
4837 | for i in 1 2 3 4 5 6; do |
||
4838 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
||
2097 | jag | 4839 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
4840 | # Solaris 10 /bin/sh. |
||
4841 | echo '/* dummy */' > sub/conftst$i.h |
||
1 | - | 4842 | done |
4843 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
||
4844 | |||
2097 | jag | 4845 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
1 | - | 4846 | # mode. It turns out that the SunPro C++ compiler does not properly |
2097 | jag | 4847 | # handle '-M -o', and we need to detect this. Also, some Intel |
4848 | # versions had trouble with output in subdirs. |
||
1 | - | 4849 | am__obj=sub/conftest.${OBJEXT-o} |
4850 | am__minus_obj="-o $am__obj" |
||
4851 | case $depmode in |
||
4852 | gcc) |
||
4853 | # This depmode causes a compiler race in universal mode. |
||
4854 | test "$am__universal" = false || continue |
||
4855 | ;; |
||
4856 | nosideeffect) |
||
2097 | jag | 4857 | # After this tag, mechanisms are not by side-effect, so they'll |
4858 | # only be used when explicitly requested. |
||
1 | - | 4859 | if test "x$enable_dependency_tracking" = xyes; then |
4860 | continue |
||
4861 | else |
||
4862 | break |
||
4863 | fi |
||
4864 | ;; |
||
2097 | jag | 4865 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4866 | # This compiler won't grok '-c -o', but also, the minuso test has |
||
1 | - | 4867 | # not run yet. These depmodes are late enough in the game, and |
4868 | # so weak that their functioning should not be impacted. |
||
4869 | am__obj=conftest.${OBJEXT-o} |
||
4870 | am__minus_obj= |
||
4871 | ;; |
||
4872 | none) break ;; |
||
4873 | esac |
||
4874 | if depmode=$depmode \ |
||
4875 | source=sub/conftest.c object=$am__obj \ |
||
4876 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
||
4877 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
||
4878 | >/dev/null 2>conftest.err && |
||
4879 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
||
4880 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
||
4881 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
||
4882 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
||
4883 | # icc doesn't choke on unknown options, it will just issue warnings |
||
4884 | # or remarks (even with -Werror). So we grep stderr for any message |
||
4885 | # that says an option was ignored or not supported. |
||
4886 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
||
4887 | # icc: Command line warning: ignoring option '-M'; no argument required |
||
4888 | # The diagnosis changed in icc 8.0: |
||
4889 | # icc: Command line remark: option '-MP' not supported |
||
4890 | if (grep 'ignoring option' conftest.err || |
||
4891 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
||
4892 | am_cv_CXX_dependencies_compiler_type=$depmode |
||
4893 | break |
||
4894 | fi |
||
4895 | fi |
||
4896 | done |
||
4897 | |||
4898 | cd .. |
||
4899 | rm -rf conftest.dir |
||
4900 | else |
||
4901 | am_cv_CXX_dependencies_compiler_type=none |
||
4902 | fi |
||
4903 | |||
4904 | fi |
||
2097 | jag | 4905 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
4906 | printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; } |
||
1 | - | 4907 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
4908 | |||
4909 | if |
||
4910 | test "x$enable_dependency_tracking" != xno \ |
||
4911 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
||
4912 | am__fastdepCXX_TRUE= |
||
4913 | am__fastdepCXX_FALSE='#' |
||
4914 | else |
||
4915 | am__fastdepCXX_TRUE='#' |
||
4916 | am__fastdepCXX_FALSE= |
||
4917 | fi |
||
4918 | |||
4919 | |||
4920 | ac_ext=m |
||
4921 | ac_cpp='$OBJCPP $CPPFLAGS' |
||
4922 | ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
4923 | ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
4924 | ac_compiler_gnu=$ac_cv_objc_compiler_gnu |
||
4925 | if test -n "$ac_tool_prefix"; then |
||
2097 | jag | 4926 | for ac_prog in gcc objcc objc cc CC clang |
1 | - | 4927 | do |
4928 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
||
4929 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
||
2097 | jag | 4930 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4931 | printf %s "checking for $ac_word... " >&6; } |
||
4932 | if test ${ac_cv_prog_OBJC+y} |
||
4933 | then : |
||
4934 | printf %s "(cached) " >&6 |
||
4935 | else $as_nop |
||
1 | - | 4936 | if test -n "$OBJC"; then |
4937 | ac_cv_prog_OBJC="$OBJC" # Let the user override the test. |
||
4938 | else |
||
4939 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
4940 | for as_dir in $PATH |
||
4941 | do |
||
4942 | IFS=$as_save_IFS |
||
2097 | jag | 4943 | case $as_dir in #((( |
4944 | '') as_dir=./ ;; |
||
4945 | */) ;; |
||
4946 | *) as_dir=$as_dir/ ;; |
||
4947 | esac |
||
1 | - | 4948 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 4949 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 4950 | ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog" |
2097 | jag | 4951 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 4952 | break 2 |
4953 | fi |
||
4954 | done |
||
4955 | done |
||
4956 | IFS=$as_save_IFS |
||
4957 | |||
4958 | fi |
||
4959 | fi |
||
4960 | OBJC=$ac_cv_prog_OBJC |
||
4961 | if test -n "$OBJC"; then |
||
2097 | jag | 4962 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5 |
4963 | printf "%s\n" "$OBJC" >&6; } |
||
1 | - | 4964 | else |
2097 | jag | 4965 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4966 | printf "%s\n" "no" >&6; } |
||
1 | - | 4967 | fi |
4968 | |||
4969 | |||
4970 | test -n "$OBJC" && break |
||
4971 | done |
||
4972 | fi |
||
4973 | if test -z "$OBJC"; then |
||
4974 | ac_ct_OBJC=$OBJC |
||
2097 | jag | 4975 | for ac_prog in gcc objcc objc cc CC clang |
1 | - | 4976 | do |
4977 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
||
4978 | set dummy $ac_prog; ac_word=$2 |
||
2097 | jag | 4979 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4980 | printf %s "checking for $ac_word... " >&6; } |
||
4981 | if test ${ac_cv_prog_ac_ct_OBJC+y} |
||
4982 | then : |
||
4983 | printf %s "(cached) " >&6 |
||
4984 | else $as_nop |
||
1 | - | 4985 | if test -n "$ac_ct_OBJC"; then |
4986 | ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test. |
||
4987 | else |
||
4988 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
4989 | for as_dir in $PATH |
||
4990 | do |
||
4991 | IFS=$as_save_IFS |
||
2097 | jag | 4992 | case $as_dir in #((( |
4993 | '') as_dir=./ ;; |
||
4994 | */) ;; |
||
4995 | *) as_dir=$as_dir/ ;; |
||
4996 | esac |
||
1 | - | 4997 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | jag | 4998 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
1 | - | 4999 | ac_cv_prog_ac_ct_OBJC="$ac_prog" |
2097 | jag | 5000 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
1 | - | 5001 | break 2 |
5002 | fi |
||
5003 | done |
||
5004 | done |
||
5005 | IFS=$as_save_IFS |
||
5006 | |||
5007 | fi |
||
5008 | fi |
||
5009 | ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC |
||
5010 | if test -n "$ac_ct_OBJC"; then |
||
2097 | jag | 5011 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5 |
5012 | printf "%s\n" "$ac_ct_OBJC" >&6; } |
||
1 | - | 5013 | else |
2097 | jag | 5014 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5015 | printf "%s\n" "no" >&6; } |
||
1 | - | 5016 | fi |
5017 | |||
5018 | |||
5019 | test -n "$ac_ct_OBJC" && break |
||
5020 | done |
||
5021 | |||
5022 | if test "x$ac_ct_OBJC" = x; then |
||
5023 | OBJC="gcc" |
||
5024 | else |
||
5025 | case $cross_compiling:$ac_tool_warned in |
||
5026 | yes:) |
||
2097 | jag | 5027 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5028 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
||
1 | - | 5029 | ac_tool_warned=yes ;; |
5030 | esac |
||
5031 | OBJC=$ac_ct_OBJC |
||
5032 | fi |
||
5033 | fi |
||
5034 | |||
5035 | # Provide some information about the compiler. |
||
2097 | jag | 5036 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5 |
1 | - | 5037 | set X $ac_compile |
5038 | ac_compiler=$2 |
||
5039 | for ac_option in --version -v -V -qversion; do |
||
5040 | { { ac_try="$ac_compiler $ac_option >&5" |
||
5041 | case "(($ac_try" in |
||
5042 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
5043 | *) ac_try_echo=$ac_try;; |
||
5044 | esac |
||
5045 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2097 | jag | 5046 | printf "%s\n" "$ac_try_echo"; } >&5 |
1 | - | 5047 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
5048 | ac_status=$? |
||
5049 | if test -s conftest.err; then |
||
5050 | sed '10a\ |
||
5051 | ... rest of stderr output deleted ... |
||
5052 | 10q' conftest.err >conftest.er1 |
||
5053 | cat conftest.er1 >&5 |
||
5054 | fi |
||
20 | - | 5055 | rm -f conftest.er1 conftest.err |
2097 | jag | 5056 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1 | - | 5057 | test $ac_status = 0; } |
5058 | done |
||
5059 | |||
2097 | jag | 5060 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5 |
5061 | printf %s "checking whether the compiler supports GNU Objective C... " >&6; } |
||
5062 | if test ${ac_cv_objc_compiler_gnu+y} |
||
5063 | then : |
||
5064 | printf %s "(cached) " >&6 |
||
5065 | else $as_nop |
||
1 | - | 5066 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5067 | /* end confdefs.h. */ |
||
5068 | |||
5069 | int |
||
2097 | jag | 5070 | main (void) |
1 | - | 5071 | { |
5072 | #ifndef __GNUC__ |
||
5073 | choke me |
||
5074 | #endif |
||
5075 | |||
5076 | ; |
||
5077 | return 0; |
||
5078 | } |
||
5079 | _ACEOF |
||
2097 | jag | 5080 | if ac_fn_objc_try_compile "$LINENO" |
5081 | then : |
||
1 | - | 5082 | ac_compiler_gnu=yes |
2097 | jag | 5083 | else $as_nop |
1 | - | 5084 | ac_compiler_gnu=no |
5085 | fi |
||
2097 | jag | 5086 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 5087 | ac_cv_objc_compiler_gnu=$ac_compiler_gnu |
5088 | |||
5089 | fi |
||
2097 | jag | 5090 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5 |
5091 | printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; } |
||
5092 | ac_compiler_gnu=$ac_cv_objc_compiler_gnu |
||
5093 | |||
1 | - | 5094 | if test $ac_compiler_gnu = yes; then |
5095 | GOBJC=yes |
||
5096 | else |
||
5097 | GOBJC= |
||
5098 | fi |
||
2097 | jag | 5099 | ac_test_OBJCFLAGS=${OBJCFLAGS+y} |
1 | - | 5100 | ac_save_OBJCFLAGS=$OBJCFLAGS |
2097 | jag | 5101 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5 |
5102 | printf %s "checking whether $OBJC accepts -g... " >&6; } |
||
5103 | if test ${ac_cv_prog_objc_g+y} |
||
5104 | then : |
||
5105 | printf %s "(cached) " >&6 |
||
5106 | else $as_nop |
||
1 | - | 5107 | ac_save_objc_werror_flag=$ac_objc_werror_flag |
5108 | ac_objc_werror_flag=yes |
||
5109 | ac_cv_prog_objc_g=no |
||
5110 | OBJCFLAGS="-g" |
||
5111 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
5112 | /* end confdefs.h. */ |
||
5113 | |||
5114 | int |
||
2097 | jag | 5115 | main (void) |
1 | - | 5116 | { |
5117 | |||
5118 | ; |
||
5119 | return 0; |
||
5120 | } |
||
5121 | _ACEOF |
||
2097 | jag | 5122 | if ac_fn_objc_try_compile "$LINENO" |
5123 | then : |
||
1 | - | 5124 | ac_cv_prog_objc_g=yes |
2097 | jag | 5125 | else $as_nop |
1 | - | 5126 | OBJCFLAGS="" |
5127 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
5128 | /* end confdefs.h. */ |
||
5129 | |||
5130 | int |
||
2097 | jag | 5131 | main (void) |
1 | - | 5132 | { |
5133 | |||
5134 | ; |
||
5135 | return 0; |
||
5136 | } |
||
5137 | _ACEOF |
||
2097 | jag | 5138 | if ac_fn_objc_try_compile "$LINENO" |
5139 | then : |
||
1 | - | 5140 | |
2097 | jag | 5141 | else $as_nop |
1 | - | 5142 | ac_objc_werror_flag=$ac_save_objc_werror_flag |
5143 | OBJCFLAGS="-g" |
||
5144 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
5145 | /* end confdefs.h. */ |
||
5146 | |||
5147 | int |
||
2097 | jag | 5148 | main (void) |
1 | - | 5149 | { |
5150 | |||
5151 | ; |
||
5152 | return 0; |
||
5153 | } |
||
5154 | _ACEOF |
||
2097 | jag | 5155 | if ac_fn_objc_try_compile "$LINENO" |
5156 | then : |
||
1 | - | 5157 | ac_cv_prog_objc_g=yes |
5158 | fi |
||
2097 | jag | 5159 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 5160 | fi |
2097 | jag | 5161 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 5162 | fi |
2097 | jag | 5163 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1 | - | 5164 | ac_objc_werror_flag=$ac_save_objc_werror_flag |
5165 | fi |
||
2097 | jag | 5166 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5 |
5167 | printf "%s\n" "$ac_cv_prog_objc_g" >&6; } |
||
5168 | if test $ac_test_OBJCFLAGS; then |
||
1 | - | 5169 | OBJCFLAGS=$ac_save_OBJCFLAGS |
5170 | elif test $ac_cv_prog_objc_g = yes; then |
||
5171 | if test "$GOBJC" = yes; then |
||
5172 | OBJCFLAGS="-g -O2" |
||
5173 | else |
||
5174 | OBJCFLAGS="-g" |
||
5175 | fi |
||
5176 | else |
||
5177 | if test "$GOBJC" = yes; then |
||
5178 | OBJCFLAGS="-O2" |
||
5179 | else |
||
5180 | OBJCFLAGS= |
||
5181 | fi |
||
5182 | fi |
||
5183 | ac_ext=c |
||
5184 | ac_cpp='$CPP $CPPFLAGS' |
||
5185 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
5186 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
5187 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
5188 | |||
5189 | depcc="$OBJC" am_compiler_list='gcc3 gcc' |
||
5190 | |||
2097 | jag | 5191 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
5192 | printf %s "checking dependency style of $depcc... " >&6; } |
||
5193 | if test ${am_cv_OBJC_dependencies_compiler_type+y} |
||
5194 | then : |
||
5195 | printf %s "(cached) " >&6 |
||
5196 | else $as_nop |
||
1 | - | 5197 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
5198 | # We make a subdir and do the tests there. Otherwise we can end up |
||
5199 | # making bogus files that we don't know about and never remove. For |
||
5200 | # instance it was reported that on HP-UX the gcc test will end up |
||
2097 | jag | 5201 | # making a dummy file named 'D' -- because '-MD' means "put the output |
5202 | # in D". |
||
5203 | rm -rf conftest.dir |
||
1 | - | 5204 | mkdir conftest.dir |
5205 | # Copy depcomp to subdir because otherwise we won't find it if we're |
||
5206 | # using a relative directory. |
||
5207 | cp "$am_depcomp" conftest.dir |
||
5208 | cd conftest.dir |
||
5209 | # We will build objects and dependencies in a subdirectory because |
||
5210 | # it helps to detect inapplicable dependency modes. For instance |
||
5211 | # both Tru64's cc and ICC support -MD to output dependencies as a |
||
5212 | # side effect of compilation, but ICC will put the dependencies in |
||
5213 | # the current directory while Tru64 will put them in the object |
||
5214 | # directory. |
||
5215 | mkdir sub |
||
5216 | |||
5217 | am_cv_OBJC_dependencies_compiler_type=none |
||
5218 | if test "$am_compiler_list" = ""; then |
||
5219 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
||
5220 | fi |
||
5221 | am__universal=false |
||
5222 | |||
5223 | |||
5224 | for depmode in $am_compiler_list; do |
||
5225 | # Setup a source with many dependencies, because some compilers |
||
5226 | # like to wrap large dependency lists on column 80 (with \), and |
||
5227 | # we should not choose a depcomp mode which is confused by this. |
||
5228 | # |
||
5229 | # We need to recreate these files for each test, as the compiler may |
||
5230 | # overwrite some of them when testing with obscure command lines. |
||
5231 | # This happens at least with the AIX C compiler. |
||
5232 | : > sub/conftest.c |
||
5233 | for i in 1 2 3 4 5 6; do |
||
5234 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
||
2097 | jag | 5235 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
5236 | # Solaris 10 /bin/sh. |
||
5237 | echo '/* dummy */' > sub/conftst$i.h |
||
1 | - | 5238 | done |
5239 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
||
5240 | |||
2097 | jag | 5241 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
1 | - | 5242 | # mode. It turns out that the SunPro C++ compiler does not properly |
2097 | jag | 5243 | # handle '-M -o', and we need to detect this. Also, some Intel |
5244 | # versions had trouble with output in subdirs. |
||
1 | - | 5245 | am__obj=sub/conftest.${OBJEXT-o} |
5246 | am__minus_obj="-o $am__obj" |
||
5247 | case $depmode in |
||
5248 | gcc) |
||
5249 | # This depmode causes a compiler race in universal mode. |
||
5250 | test "$am__universal" = false || continue |
||
5251 | ;; |
||
5252 | nosideeffect) |
||
2097 | jag | 5253 | # After this tag, mechanisms are not by side-effect, so they'll |
5254 | # only be used when explicitly requested. |
||
1 | - | 5255 | if test "x$enable_dependency_tracking" = xyes; then |
5256 | continue |
||
5257 | else |
||
5258 | break |
||
5259 | fi |
||
5260 | ;; |
||
2097 | jag | 5261 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
5262 | # This compiler won't grok '-c -o', but also, the minuso test has |
||
1 | - | 5263 | # not run yet. These depmodes are late enough in the game, and |
5264 | # so weak that their functioning should not be impacted. |
||
5265 | am__obj=conftest.${OBJEXT-o} |
||
5266 | am__minus_obj= |
||
5267 | ;; |
||
5268 | none) break ;; |
||
5269 | esac |
||
5270 | if depmode=$depmode \ |
||
5271 | source=sub/conftest.c object=$am__obj \ |
||
5272 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
||
5273 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
||
5274 | >/dev/null 2>conftest.err && |
||
5275 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
||
5276 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
||
5277 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
||
5278 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
||
5279 | # icc doesn't choke on unknown options, it will just issue warnings |
||
5280 | # or remarks (even with -Werror). So we grep stderr for any message |
||
5281 | # that says an option was ignored or not supported. |
||
5282 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
||
5283 | # icc: Command line warning: ignoring option '-M'; no argument required |
||
5284 | # The diagnosis changed in icc 8.0: |
||
5285 | # icc: Command line remark: option '-MP' not supported |
||
5286 | if (grep 'ignoring option' conftest.err || |
||
5287 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
||
5288 | am_cv_OBJC_dependencies_compiler_type=$depmode |
||
5289 | break |
||
5290 | fi |
||
5291 | fi |
||
5292 | done |
||
5293 | |||
5294 | cd .. |
||
5295 | rm -rf conftest.dir |
||
5296 | else |
||
5297 | am_cv_OBJC_dependencies_compiler_type=none |
||
5298 | fi |
||
5299 | |||
5300 | fi |
||
2097 | jag | 5301 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5 |
5302 | printf "%s\n" "$am_cv_OBJC_dependencies_compiler_type" >&6; } |
||
1 | - | 5303 | OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type |
5304 | |||
5305 | if |
||
5306 | test "x$enable_dependency_tracking" != xno \ |
||
5307 | && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then |
||
5308 | am__fastdepOBJC_TRUE= |
||
5309 | am__fastdepOBJC_FALSE='#' |
||
5310 | else |
||
5311 | am__fastdepOBJC_TRUE='#' |
||
5312 | am__fastdepOBJC_FALSE= |
||
5313 | fi |
||
5314 | |||
5315 | |||
1528 | jag | 5316 | ac_config_files="$ac_config_files Makefile src/Makefile src/factory/Makefile src/factory/country/Makefile pixmaps/Makefile" |
1 | - | 5317 | |
5318 | cat >confcache <<\_ACEOF |
||
5319 | # This file is a shell script that caches the results of configure |
||
5320 | # tests run on this system so they can be shared between configure |
||
5321 | # scripts and configure runs, see configure's option --config-cache. |
||
5322 | # It is not useful on other systems. If it contains results you don't |
||
5323 | # want to keep, you may remove or edit it. |
||
5324 | # |
||
5325 | # config.status only pays attention to the cache file if you give it |
||
5326 | # the --recheck option to rerun configure. |
||
5327 | # |
||
5328 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
||
5329 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
||
5330 | # following values. |
||
5331 | |||
5332 | _ACEOF |
||
5333 | |||
5334 | # The following way of writing the cache mishandles newlines in values, |
||
5335 | # but we know of no workaround that is simple, portable, and efficient. |
||
5336 | # So, we kill variables containing newlines. |
||
5337 | # Ultrix sh set writes to stderr and can't be redirected directly, |
||
5338 | # and sets the high bit in the cache file unless we assign to the vars. |
||
5339 | ( |
||
5340 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
||
5341 | eval ac_val=\$$ac_var |
||
5342 | case $ac_val in #( |
||
5343 | *${as_nl}*) |
||
5344 | case $ac_var in #( |
||
2097 | jag | 5345 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
5346 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
||
1 | - | 5347 | esac |
5348 | case $ac_var in #( |
||
5349 | _ | IFS | as_nl) ;; #( |
||
5350 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
||
5351 | *) { eval $ac_var=; unset $ac_var;} ;; |
||
5352 | esac ;; |
||
5353 | esac |
||
5354 | done |
||
5355 | |||
5356 | (set) 2>&1 | |
||
5357 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
||
5358 | *${as_nl}ac_space=\ *) |
||
5359 | # `set' does not quote correctly, so add quotes: double-quote |
||
5360 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
||
5361 | sed -n \ |
||
5362 | "s/'/'\\\\''/g; |
||
5363 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
||
5364 | ;; #( |
||
5365 | *) |
||
5366 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
||
5367 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
||
5368 | ;; |
||
5369 | esac | |
||
5370 | sort |
||
5371 | ) | |
||
5372 | sed ' |
||
5373 | /^ac_cv_env_/b end |
||
5374 | t clear |
||
5375 | :clear |
||
2097 | jag | 5376 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
1 | - | 5377 | t end |
5378 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
||
5379 | :end' >>confcache |
||
5380 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
||
5381 | if test -w "$cache_file"; then |
||
232 | jag | 5382 | if test "x$cache_file" != "x/dev/null"; then |
2097 | jag | 5383 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
5384 | printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
||
232 | jag | 5385 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
5386 | cat confcache >"$cache_file" |
||
5387 | else |
||
5388 | case $cache_file in #( |
||
5389 | */* | ?:*) |
||
5390 | mv -f confcache "$cache_file"$$ && |
||
5391 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
||
5392 | *) |
||
5393 | mv -f confcache "$cache_file" ;; |
||
5394 | esac |
||
5395 | fi |
||
5396 | fi |
||
1 | - | 5397 | else |
2097 | jag | 5398 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
5399 | printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
||
1 | - | 5400 | fi |
5401 | fi |
||
5402 | rm -f confcache |
||
5403 | |||
5404 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
||
5405 | # Let make expand exec_prefix. |
||
5406 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
||
5407 | |||
5408 | # Transform confdefs.h into DEFS. |
||
5409 | # Protect against shell expansion while executing Makefile rules. |
||
5410 | # Protect against Makefile macro expansion. |
||
5411 | # |
||
5412 | # If the first sed substitution is executed (which looks for macros that |
||
5413 | # take arguments), then branch to the quote section. Otherwise, |
||
5414 | # look for a macro that doesn't take arguments. |
||
5415 | ac_script=' |
||
5416 | :mline |
||
5417 | /\\$/{ |
||
5418 | N |
||
5419 | s,\\\n,, |
||
5420 | b mline |
||
5421 | } |
||
5422 | t clear |
||
5423 | :clear |
||
5424 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
||
5425 | t quote |
||
5426 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
||
5427 | t quote |
||
5428 | b any |
||
5429 | :quote |
||
5430 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
||
5431 | s/\[/\\&/g |
||
5432 | s/\]/\\&/g |
||
5433 | s/\$/$$/g |
||
5434 | H |
||
5435 | :any |
||
5436 | ${ |
||
5437 | g |
||
5438 | s/^\n// |
||
5439 | s/\n/ /g |
||
5440 | p |
||
5441 | } |
||
5442 | ' |
||
5443 | DEFS=`sed -n "$ac_script" confdefs.h` |
||
5444 | |||
5445 | |||
5446 | ac_libobjs= |
||
5447 | ac_ltlibobjs= |
||
232 | jag | 5448 | U= |
1 | - | 5449 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
5450 | # 1. Remove the extension, and $U if already installed. |
||
5451 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
||
2097 | jag | 5452 | ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` |
1 | - | 5453 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
5454 | # will be set to the directory where LIBOBJS objects are built. |
||
5455 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
||
5456 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
||
5457 | done |
||
5458 | LIBOBJS=$ac_libobjs |
||
5459 | |||
5460 | LTLIBOBJS=$ac_ltlibobjs |
||
5461 | |||
5462 | |||
2097 | jag | 5463 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
5464 | printf %s "checking that generated files are newer than configure... " >&6; } |
||
5465 | if test -n "$am_sleep_pid"; then |
||
5466 | # Hide warnings about reused PIDs. |
||
5467 | wait $am_sleep_pid 2>/dev/null |
||
5468 | fi |
||
5469 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
||
5470 | printf "%s\n" "done" >&6; } |
||
1 | - | 5471 | if test -n "$EXEEXT"; then |
5472 | am__EXEEXT_TRUE= |
||
5473 | am__EXEEXT_FALSE='#' |
||
5474 | else |
||
5475 | am__EXEEXT_TRUE='#' |
||
5476 | am__EXEEXT_FALSE= |
||
5477 | fi |
||
5478 | |||
5479 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
||
232 | jag | 5480 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
1 | - | 5481 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5482 | fi |
||
5483 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
||
232 | jag | 5484 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
1 | - | 5485 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5486 | fi |
||
5487 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
||
232 | jag | 5488 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
1 | - | 5489 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5490 | fi |
||
5491 | if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then |
||
232 | jag | 5492 | as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined. |
1 | - | 5493 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5494 | fi |
||
5495 | |||
232 | jag | 5496 | : "${CONFIG_STATUS=./config.status}" |
1 | - | 5497 | ac_write_fail=0 |
5498 | ac_clean_files_save=$ac_clean_files |
||
5499 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
||
2097 | jag | 5500 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
5501 | printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
||
1 | - | 5502 | as_write_fail=0 |
5503 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
||
5504 | #! $SHELL |
||
5505 | # Generated by $as_me. |
||
5506 | # Run this file to recreate the current configuration. |
||
5507 | # Compiler output produced by configure, useful for debugging |
||
5508 | # configure, is in config.log if it exists. |
||
5509 | |||
5510 | debug=false |
||
5511 | ac_cs_recheck=false |
||
5512 | ac_cs_silent=false |
||
5513 | |||
5514 | SHELL=\${CONFIG_SHELL-$SHELL} |
||
5515 | export SHELL |
||
5516 | _ASEOF |
||
5517 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
||
5518 | ## -------------------- ## |
||
5519 | ## M4sh Initialization. ## |
||
5520 | ## -------------------- ## |
||
5521 | |||
5522 | # Be more Bourne compatible |
||
5523 | DUALCASE=1; export DUALCASE # for MKS sh |
||
2097 | jag | 5524 | as_nop=: |
5525 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
||
5526 | then : |
||
1 | - | 5527 | emulate sh |
5528 | NULLCMD=: |
||
5529 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
||
5530 | # is contrary to our usage. Disable this feature. |
||
5531 | alias -g '${1+"$@"}'='"$@"' |
||
5532 | setopt NO_GLOB_SUBST |
||
2097 | jag | 5533 | else $as_nop |
1 | - | 5534 | case `(set -o) 2>/dev/null` in #( |
5535 | *posix*) : |
||
5536 | set -o posix ;; #( |
||
5537 | *) : |
||
5538 | ;; |
||
5539 | esac |
||
5540 | fi |
||
5541 | |||
5542 | |||
2097 | jag | 5543 | |
5544 | # Reset variables that may have inherited troublesome values from |
||
5545 | # the environment. |
||
5546 | |||
5547 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
||
5548 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
||
5549 | # side effect of setting IFS to empty, thus disabling word splitting.) |
||
5550 | # Quoting is to prevent editors from complaining about space-tab. |
||
1 | - | 5551 | as_nl=' |
5552 | ' |
||
5553 | export as_nl |
||
2097 | jag | 5554 | IFS=" "" $as_nl" |
1 | - | 5555 | |
2097 | jag | 5556 | PS1='$ ' |
5557 | PS2='> ' |
||
5558 | PS4='+ ' |
||
5559 | |||
5560 | # Ensure predictable behavior from utilities with locale-dependent output. |
||
5561 | LC_ALL=C |
||
5562 | export LC_ALL |
||
5563 | LANGUAGE=C |
||
5564 | export LANGUAGE |
||
5565 | |||
5566 | # We cannot yet rely on "unset" to work, but we need these variables |
||
5567 | # to be unset--not just set to an empty or harmless value--now, to |
||
5568 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
||
5569 | # also avoids known problems related to "unset" and subshell syntax |
||
5570 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
||
5571 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
||
5572 | do eval test \${$as_var+y} \ |
||
5573 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
||
5574 | done |
||
5575 | |||
5576 | # Ensure that fds 0, 1, and 2 are open. |
||
5577 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
||
5578 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
||
5579 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
||
5580 | |||
1 | - | 5581 | # The user is always right. |
2097 | jag | 5582 | if ${PATH_SEPARATOR+false} :; then |
1 | - | 5583 | PATH_SEPARATOR=: |
5584 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
||
5585 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
||
5586 | PATH_SEPARATOR=';' |
||
5587 | } |
||
5588 | fi |
||
5589 | |||
5590 | |||
5591 | # Find who we are. Look in the path if we contain no directory separator. |
||
232 | jag | 5592 | as_myself= |
1 | - | 5593 | case $0 in #(( |
5594 | *[\\/]* ) as_myself=$0 ;; |
||
5595 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
5596 | for as_dir in $PATH |
||
5597 | do |
||
5598 | IFS=$as_save_IFS |
||
2097 | jag | 5599 | case $as_dir in #((( |
5600 | '') as_dir=./ ;; |
||
5601 | */) ;; |
||
5602 | *) as_dir=$as_dir/ ;; |
||
5603 | esac |
||
5604 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
||
1 | - | 5605 | done |
5606 | IFS=$as_save_IFS |
||
5607 | |||
5608 | ;; |
||
5609 | esac |
||
5610 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
||
5611 | # in which case we are not to be found in the path. |
||
5612 | if test "x$as_myself" = x; then |
||
5613 | as_myself=$0 |
||
5614 | fi |
||
5615 | if test ! -f "$as_myself"; then |
||
2097 | jag | 5616 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
1 | - | 5617 | exit 1 |
5618 | fi |
||
5619 | |||
5620 | |||
5621 | |||
232 | jag | 5622 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
5623 | # ---------------------------------------- |
||
1 | - | 5624 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
5625 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
||
232 | jag | 5626 | # script with STATUS, using 1 if that was 0. |
1 | - | 5627 | as_fn_error () |
5628 | { |
||
232 | jag | 5629 | as_status=$1; test $as_status -eq 0 && as_status=1 |
5630 | if test "$4"; then |
||
5631 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
||
2097 | jag | 5632 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
1 | - | 5633 | fi |
2097 | jag | 5634 | printf "%s\n" "$as_me: error: $2" >&2 |
1 | - | 5635 | as_fn_exit $as_status |
5636 | } # as_fn_error |
||
5637 | |||
5638 | |||
2097 | jag | 5639 | |
1 | - | 5640 | # as_fn_set_status STATUS |
5641 | # ----------------------- |
||
5642 | # Set $? to STATUS, without forking. |
||
5643 | as_fn_set_status () |
||
5644 | { |
||
5645 | return $1 |
||
5646 | } # as_fn_set_status |
||
5647 | |||
5648 | # as_fn_exit STATUS |
||
5649 | # ----------------- |
||
5650 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
||
5651 | as_fn_exit () |
||
5652 | { |
||
5653 | set +e |
||
5654 | as_fn_set_status $1 |
||
5655 | exit $1 |
||
5656 | } # as_fn_exit |
||
5657 | |||
5658 | # as_fn_unset VAR |
||
5659 | # --------------- |
||
5660 | # Portably unset VAR. |
||
5661 | as_fn_unset () |
||
5662 | { |
||
5663 | { eval $1=; unset $1;} |
||
5664 | } |
||
5665 | as_unset=as_fn_unset |
||
2097 | jag | 5666 | |
1 | - | 5667 | # as_fn_append VAR VALUE |
5668 | # ---------------------- |
||
5669 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
||
5670 | # advantage of any shell optimizations that allow amortized linear growth over |
||
5671 | # repeated appends, instead of the typical quadratic growth present in naive |
||
5672 | # implementations. |
||
2097 | jag | 5673 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
5674 | then : |
||
1 | - | 5675 | eval 'as_fn_append () |
5676 | { |
||
5677 | eval $1+=\$2 |
||
5678 | }' |
||
2097 | jag | 5679 | else $as_nop |
1 | - | 5680 | as_fn_append () |
5681 | { |
||
5682 | eval $1=\$$1\$2 |
||
5683 | } |
||
5684 | fi # as_fn_append |
||
5685 | |||
5686 | # as_fn_arith ARG... |
||
5687 | # ------------------ |
||
5688 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
||
5689 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
||
5690 | # must be portable across $(()) and expr. |
||
2097 | jag | 5691 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
5692 | then : |
||
1 | - | 5693 | eval 'as_fn_arith () |
5694 | { |
||
5695 | as_val=$(( $* )) |
||
5696 | }' |
||
2097 | jag | 5697 | else $as_nop |
1 | - | 5698 | as_fn_arith () |
5699 | { |
||
5700 | as_val=`expr "$@" || test $? -eq 1` |
||
5701 | } |
||
5702 | fi # as_fn_arith |
||
5703 | |||
5704 | |||
5705 | if expr a : '\(a\)' >/dev/null 2>&1 && |
||
5706 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
||
5707 | as_expr=expr |
||
5708 | else |
||
5709 | as_expr=false |
||
5710 | fi |
||
5711 | |||
5712 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
||
5713 | as_basename=basename |
||
5714 | else |
||
5715 | as_basename=false |
||
5716 | fi |
||
5717 | |||
5718 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
||
5719 | as_dirname=dirname |
||
5720 | else |
||
5721 | as_dirname=false |
||
5722 | fi |
||
5723 | |||
5724 | as_me=`$as_basename -- "$0" || |
||
5725 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
||
5726 | X"$0" : 'X\(//\)$' \| \ |
||
5727 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
||
2097 | jag | 5728 | printf "%s\n" X/"$0" | |
1 | - | 5729 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
5730 | s//\1/ |
||
5731 | q |
||
5732 | } |
||
5733 | /^X\/\(\/\/\)$/{ |
||
5734 | s//\1/ |
||
5735 | q |
||
5736 | } |
||
5737 | /^X\/\(\/\).*/{ |
||
5738 | s//\1/ |
||
5739 | q |
||
5740 | } |
||
5741 | s/.*/./; q'` |
||
5742 | |||
5743 | # Avoid depending upon Character Ranges. |
||
5744 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
||
5745 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
||
5746 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
||
5747 | as_cr_digits='0123456789' |
||
5748 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
||
5749 | |||
2097 | jag | 5750 | |
5751 | # Determine whether it's possible to make 'echo' print without a newline. |
||
5752 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
||
5753 | # for compatibility with existing Makefiles. |
||
1 | - | 5754 | ECHO_C= ECHO_N= ECHO_T= |
5755 | case `echo -n x` in #((((( |
||
5756 | -n*) |
||
5757 | case `echo 'xy\c'` in |
||
5758 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
||
5759 | xy) ECHO_C='\c';; |
||
5760 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
||
5761 | ECHO_T=' ';; |
||
5762 | esac;; |
||
5763 | *) |
||
5764 | ECHO_N='-n';; |
||
5765 | esac |
||
5766 | |||
2097 | jag | 5767 | # For backward compatibility with old third-party macros, we provide |
5768 | # the shell variables $as_echo and $as_echo_n. New code should use |
||
5769 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
||
5770 | as_echo='printf %s\n' |
||
5771 | as_echo_n='printf %s' |
||
5772 | |||
1 | - | 5773 | rm -f conf$$ conf$$.exe conf$$.file |
5774 | if test -d conf$$.dir; then |
||
5775 | rm -f conf$$.dir/conf$$.file |
||
5776 | else |
||
5777 | rm -f conf$$.dir |
||
5778 | mkdir conf$$.dir 2>/dev/null |
||
5779 | fi |
||
5780 | if (echo >conf$$.file) 2>/dev/null; then |
||
5781 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
||
5782 | as_ln_s='ln -s' |
||
5783 | # ... but there are two gotchas: |
||
5784 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
||
5785 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
||
2097 | jag | 5786 | # In both cases, we have to default to `cp -pR'. |
1 | - | 5787 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
2097 | jag | 5788 | as_ln_s='cp -pR' |
1 | - | 5789 | elif ln conf$$.file conf$$ 2>/dev/null; then |
5790 | as_ln_s=ln |
||
5791 | else |
||
2097 | jag | 5792 | as_ln_s='cp -pR' |
1 | - | 5793 | fi |
5794 | else |
||
2097 | jag | 5795 | as_ln_s='cp -pR' |
1 | - | 5796 | fi |
5797 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
||
5798 | rmdir conf$$.dir 2>/dev/null |
||
5799 | |||
5800 | |||
5801 | # as_fn_mkdir_p |
||
5802 | # ------------- |
||
5803 | # Create "$as_dir" as a directory, including parents if necessary. |
||
5804 | as_fn_mkdir_p () |
||
5805 | { |
||
5806 | |||
5807 | case $as_dir in #( |
||
5808 | -*) as_dir=./$as_dir;; |
||
5809 | esac |
||
5810 | test -d "$as_dir" || eval $as_mkdir_p || { |
||
5811 | as_dirs= |
||
5812 | while :; do |
||
5813 | case $as_dir in #( |
||
2097 | jag | 5814 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
1 | - | 5815 | *) as_qdir=$as_dir;; |
5816 | esac |
||
5817 | as_dirs="'$as_qdir' $as_dirs" |
||
5818 | as_dir=`$as_dirname -- "$as_dir" || |
||
5819 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
||
5820 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
||
5821 | X"$as_dir" : 'X\(//\)$' \| \ |
||
5822 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
||
2097 | jag | 5823 | printf "%s\n" X"$as_dir" | |
1 | - | 5824 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5825 | s//\1/ |
||
5826 | q |
||
5827 | } |
||
5828 | /^X\(\/\/\)[^/].*/{ |
||
5829 | s//\1/ |
||
5830 | q |
||
5831 | } |
||
5832 | /^X\(\/\/\)$/{ |
||
5833 | s//\1/ |
||
5834 | q |
||
5835 | } |
||
5836 | /^X\(\/\).*/{ |
||
5837 | s//\1/ |
||
5838 | q |
||
5839 | } |
||
5840 | s/.*/./; q'` |
||
5841 | test -d "$as_dir" && break |
||
5842 | done |
||
5843 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
||
232 | jag | 5844 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
1 | - | 5845 | |
5846 | |||
5847 | } # as_fn_mkdir_p |
||
5848 | if mkdir -p . 2>/dev/null; then |
||
5849 | as_mkdir_p='mkdir -p "$as_dir"' |
||
5850 | else |
||
5851 | test -d ./-p && rmdir ./-p |
||
5852 | as_mkdir_p=false |
||
5853 | fi |
||
5854 | |||
5855 | |||
2097 | jag | 5856 | # as_fn_executable_p FILE |
5857 | # ----------------------- |
||
5858 | # Test if FILE is an executable regular file. |
||
5859 | as_fn_executable_p () |
||
5860 | { |
||
5861 | test -f "$1" && test -x "$1" |
||
5862 | } # as_fn_executable_p |
||
5863 | as_test_x='test -x' |
||
5864 | as_executable_p=as_fn_executable_p |
||
5865 | |||
1 | - | 5866 | # Sed expression to map a string onto a valid CPP name. |
5867 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
||
5868 | |||
5869 | # Sed expression to map a string onto a valid variable name. |
||
5870 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
||
5871 | |||
5872 | |||
5873 | exec 6>&1 |
||
5874 | ## ----------------------------------- ## |
||
5875 | ## Main body of $CONFIG_STATUS script. ## |
||
5876 | ## ----------------------------------- ## |
||
5877 | _ASEOF |
||
5878 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
||
5879 | |||
5880 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
5881 | # Save the log message, to keep $0 and so on meaningful, and to |
||
5882 | # report actual input values of CONFIG_FILES etc. instead of their |
||
5883 | # values after options handling. |
||
5884 | ac_log=" |
||
2272 | jag | 5885 | This file was extended by din $as_me 60WIP, which was |
2097 | jag | 5886 | generated by GNU Autoconf 2.71. Invocation command line was |
1 | - | 5887 | |
5888 | CONFIG_FILES = $CONFIG_FILES |
||
5889 | CONFIG_HEADERS = $CONFIG_HEADERS |
||
5890 | CONFIG_LINKS = $CONFIG_LINKS |
||
5891 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
||
5892 | $ $0 $@ |
||
5893 | |||
5894 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
||
5895 | " |
||
5896 | |||
5897 | _ACEOF |
||
5898 | |||
5899 | case $ac_config_files in *" |
||
5900 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
||
5901 | esac |
||
5902 | |||
5903 | |||
5904 | |||
5905 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
5906 | # Files that config.status was made for. |
||
5907 | config_files="$ac_config_files" |
||
5908 | config_commands="$ac_config_commands" |
||
5909 | |||
5910 | _ACEOF |
||
5911 | |||
5912 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
5913 | ac_cs_usage="\ |
||
5914 | \`$as_me' instantiates files and other configuration actions |
||
5915 | from templates according to the current configuration. Unless the files |
||
5916 | and actions are specified as TAGs, all are instantiated by default. |
||
5917 | |||
5918 | Usage: $0 [OPTION]... [TAG]... |
||
5919 | |||
5920 | -h, --help print this help, then exit |
||
5921 | -V, --version print version number and configuration settings, then exit |
||
20 | - | 5922 | --config print configuration, then exit |
1 | - | 5923 | -q, --quiet, --silent |
5924 | do not print progress messages |
||
5925 | -d, --debug don't remove temporary files |
||
5926 | --recheck update $as_me by reconfiguring in the same conditions |
||
5927 | --file=FILE[:TEMPLATE] |
||
5928 | instantiate the configuration file FILE |
||
5929 | |||
5930 | Configuration files: |
||
5931 | $config_files |
||
5932 | |||
5933 | Configuration commands: |
||
5934 | $config_commands |
||
5935 | |||
2303 | jag | 5936 | Report bugs to <jag@dinisnoise.org>." |
1 | - | 5937 | |
5938 | _ACEOF |
||
2097 | jag | 5939 | ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` |
5940 | ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` |
||
1 | - | 5941 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2097 | jag | 5942 | ac_cs_config='$ac_cs_config_escaped' |
1 | - | 5943 | ac_cs_version="\\ |
2272 | jag | 5944 | din config.status 60WIP |
2097 | jag | 5945 | configured by $0, generated by GNU Autoconf 2.71, |
20 | - | 5946 | with options \\"\$ac_cs_config\\" |
1 | - | 5947 | |
2097 | jag | 5948 | Copyright (C) 2021 Free Software Foundation, Inc. |
1 | - | 5949 | This config.status script is free software; the Free Software Foundation |
5950 | gives unlimited permission to copy, distribute and modify it." |
||
5951 | |||
5952 | ac_pwd='$ac_pwd' |
||
5953 | srcdir='$srcdir' |
||
5954 | INSTALL='$INSTALL' |
||
5955 | MKDIR_P='$MKDIR_P' |
||
5956 | AWK='$AWK' |
||
5957 | test -n "\$AWK" || AWK=awk |
||
5958 | _ACEOF |
||
5959 | |||
5960 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
5961 | # The default lists apply if the user does not specify any file. |
||
5962 | ac_need_defaults=: |
||
5963 | while test $# != 0 |
||
5964 | do |
||
5965 | case $1 in |
||
232 | jag | 5966 | --*=?*) |
1 | - | 5967 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
5968 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
||
5969 | ac_shift=: |
||
5970 | ;; |
||
232 | jag | 5971 | --*=) |
5972 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
||
5973 | ac_optarg= |
||
5974 | ac_shift=: |
||
5975 | ;; |
||
1 | - | 5976 | *) |
5977 | ac_option=$1 |
||
5978 | ac_optarg=$2 |
||
5979 | ac_shift=shift |
||
5980 | ;; |
||
5981 | esac |
||
5982 | |||
5983 | case $ac_option in |
||
5984 | # Handling of the options. |
||
5985 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
||
5986 | ac_cs_recheck=: ;; |
||
5987 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
||
2097 | jag | 5988 | printf "%s\n" "$ac_cs_version"; exit ;; |
20 | - | 5989 | --config | --confi | --conf | --con | --co | --c ) |
2097 | jag | 5990 | printf "%s\n" "$ac_cs_config"; exit ;; |
1 | - | 5991 | --debug | --debu | --deb | --de | --d | -d ) |
5992 | debug=: ;; |
||
5993 | --file | --fil | --fi | --f ) |
||
5994 | $ac_shift |
||
5995 | case $ac_optarg in |
||
2097 | jag | 5996 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
232 | jag | 5997 | '') as_fn_error $? "missing file argument" ;; |
1 | - | 5998 | esac |
5999 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
||
6000 | ac_need_defaults=false;; |
||
6001 | --he | --h | --help | --hel | -h ) |
||
2097 | jag | 6002 | printf "%s\n" "$ac_cs_usage"; exit ;; |
1 | - | 6003 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
6004 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
||
6005 | ac_cs_silent=: ;; |
||
6006 | |||
6007 | # This is an error. |
||
232 | jag | 6008 | -*) as_fn_error $? "unrecognized option: \`$1' |
1 | - | 6009 | Try \`$0 --help' for more information." ;; |
6010 | |||
6011 | *) as_fn_append ac_config_targets " $1" |
||
6012 | ac_need_defaults=false ;; |
||
6013 | |||
6014 | esac |
||
6015 | shift |
||
6016 | done |
||
6017 | |||
6018 | ac_configure_extra_args= |
||
6019 | |||
6020 | if $ac_cs_silent; then |
||
6021 | exec 6>/dev/null |
||
6022 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
||
6023 | fi |
||
6024 | |||
6025 | _ACEOF |
||
6026 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
6027 | if \$ac_cs_recheck; then |
||
2097 | jag | 6028 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
1 | - | 6029 | shift |
2097 | jag | 6030 | \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
1 | - | 6031 | CONFIG_SHELL='$SHELL' |
6032 | export CONFIG_SHELL |
||
6033 | exec "\$@" |
||
6034 | fi |
||
6035 | |||
6036 | _ACEOF |
||
6037 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
6038 | exec 5>>config.log |
||
6039 | { |
||
6040 | echo |
||
6041 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
||
6042 | ## Running $as_me. ## |
||
6043 | _ASBOX |
||
2097 | jag | 6044 | printf "%s\n" "$ac_log" |
1 | - | 6045 | } >&5 |
6046 | |||
6047 | _ACEOF |
||
6048 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
6049 | # |
||
6050 | # INIT-COMMANDS |
||
6051 | # |
||
2097 | jag | 6052 | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
1 | - | 6053 | |
6054 | _ACEOF |
||
6055 | |||
6056 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
6057 | |||
6058 | # Handling of arguments. |
||
6059 | for ac_config_target in $ac_config_targets |
||
6060 | do |
||
6061 | case $ac_config_target in |
||
6062 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
||
6063 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
||
6064 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
||
6065 | "src/factory/Makefile") CONFIG_FILES="$CONFIG_FILES src/factory/Makefile" ;; |
||
6066 | "src/factory/country/Makefile") CONFIG_FILES="$CONFIG_FILES src/factory/country/Makefile" ;; |
||
500 | jag | 6067 | "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;; |
1 | - | 6068 | |
2097 | jag | 6069 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
1 | - | 6070 | esac |
6071 | done |
||
6072 | |||
6073 | |||
6074 | # If the user did not use the arguments to specify the items to instantiate, |
||
6075 | # then the envvar interface is used. Set only those that are not. |
||
6076 | # We use the long form for the default assignment because of an extremely |
||
6077 | # bizarre bug on SunOS 4.1.3. |
||
6078 | if $ac_need_defaults; then |
||
2097 | jag | 6079 | test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
6080 | test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands |
||
1 | - | 6081 | fi |
6082 | |||
6083 | # Have a temporary directory for convenience. Make it in the build tree |
||
6084 | # simply because there is no reason against having it here, and in addition, |
||
6085 | # creating and moving files from /tmp can sometimes cause problems. |
||
6086 | # Hook for its removal unless debugging. |
||
6087 | # Note that there is a small window in which the directory will not be cleaned: |
||
6088 | # after its creation but before its name has been assigned to `$tmp'. |
||
6089 | $debug || |
||
6090 | { |
||
232 | jag | 6091 | tmp= ac_tmp= |
1 | - | 6092 | trap 'exit_status=$? |
232 | jag | 6093 | : "${ac_tmp:=$tmp}" |
6094 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
||
1 | - | 6095 | ' 0 |
6096 | trap 'as_fn_exit 1' 1 2 13 15 |
||
6097 | } |
||
6098 | # Create a (secure) tmp directory for tmp files. |
||
6099 | |||
6100 | { |
||
6101 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
||
232 | jag | 6102 | test -d "$tmp" |
1 | - | 6103 | } || |
6104 | { |
||
6105 | tmp=./conf$$-$RANDOM |
||
6106 | (umask 077 && mkdir "$tmp") |
||
232 | jag | 6107 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
6108 | ac_tmp=$tmp |
||
1 | - | 6109 | |
6110 | # Set up the scripts for CONFIG_FILES section. |
||
6111 | # No need to generate them if there are no CONFIG_FILES. |
||
6112 | # This happens for instance with `./config.status config.h'. |
||
6113 | if test -n "$CONFIG_FILES"; then |
||
6114 | |||
6115 | |||
6116 | ac_cr=`echo X | tr X '\015'` |
||
6117 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
||
6118 | # But we know of no other shell where ac_cr would be empty at this |
||
6119 | # point, so we can use a bashism as a fallback. |
||
6120 | if test "x$ac_cr" = x; then |
||
6121 | eval ac_cr=\$\'\\r\' |
||
6122 | fi |
||
6123 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
||
6124 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
||
232 | jag | 6125 | ac_cs_awk_cr='\\r' |
1 | - | 6126 | else |
6127 | ac_cs_awk_cr=$ac_cr |
||
6128 | fi |
||
6129 | |||
232 | jag | 6130 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
1 | - | 6131 | _ACEOF |
6132 | |||
6133 | |||
6134 | { |
||
6135 | echo "cat >conf$$subs.awk <<_ACEOF" && |
||
6136 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
||
6137 | echo "_ACEOF" |
||
6138 | } >conf$$subs.sh || |
||
232 | jag | 6139 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6140 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
||
1 | - | 6141 | ac_delim='%!_!# ' |
6142 | for ac_last_try in false false false false false :; do |
||
6143 | . ./conf$$subs.sh || |
||
232 | jag | 6144 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
1 | - | 6145 | |
6146 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
||
6147 | if test $ac_delim_n = $ac_delim_num; then |
||
6148 | break |
||
6149 | elif $ac_last_try; then |
||
232 | jag | 6150 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
1 | - | 6151 | else |
6152 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
||
6153 | fi |
||
6154 | done |
||
6155 | rm -f conf$$subs.sh |
||
6156 | |||
6157 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
232 | jag | 6158 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
1 | - | 6159 | _ACEOF |
6160 | sed -n ' |
||
6161 | h |
||
6162 | s/^/S["/; s/!.*/"]=/ |
||
6163 | p |
||
6164 | g |
||
6165 | s/^[^!]*!// |
||
6166 | :repl |
||
6167 | t repl |
||
6168 | s/'"$ac_delim"'$// |
||
6169 | t delim |
||
6170 | :nl |
||
6171 | h |
||
20 | - | 6172 | s/\(.\{148\}\)..*/\1/ |
1 | - | 6173 | t more1 |
6174 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
||
6175 | p |
||
6176 | n |
||
6177 | b repl |
||
6178 | :more1 |
||
6179 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
||
6180 | p |
||
6181 | g |
||
6182 | s/.\{148\}// |
||
6183 | t nl |
||
6184 | :delim |
||
6185 | h |
||
20 | - | 6186 | s/\(.\{148\}\)..*/\1/ |
1 | - | 6187 | t more2 |
6188 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
||
6189 | p |
||
6190 | b |
||
6191 | :more2 |
||
6192 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
||
6193 | p |
||
6194 | g |
||
6195 | s/.\{148\}// |
||
6196 | t delim |
||
6197 | ' <conf$$subs.awk | sed ' |
||
6198 | /^[^""]/{ |
||
6199 | N |
||
6200 | s/\n// |
||
6201 | } |
||
6202 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
||
6203 | rm -f conf$$subs.awk |
||
6204 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
6205 | _ACAWK |
||
232 | jag | 6206 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
1 | - | 6207 | for (key in S) S_is_set[key] = 1 |
6208 | FS = "" |
||
6209 | |||
6210 | } |
||
6211 | { |
||
6212 | line = $ 0 |
||
6213 | nfields = split(line, field, "@") |
||
6214 | substed = 0 |
||
6215 | len = length(field[1]) |
||
6216 | for (i = 2; i < nfields; i++) { |
||
6217 | key = field[i] |
||
6218 | keylen = length(key) |
||
6219 | if (S_is_set[key]) { |
||
6220 | value = S[key] |
||
6221 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
||
6222 | len += length(value) + length(field[++i]) |
||
6223 | substed = 1 |
||
6224 | } else |
||
6225 | len += 1 + keylen |
||
6226 | } |
||
6227 | |||
6228 | print line |
||
6229 | } |
||
6230 | |||
6231 | _ACAWK |
||
6232 | _ACEOF |
||
6233 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
6234 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
||
6235 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
||
6236 | else |
||
6237 | cat |
||
232 | jag | 6238 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
6239 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
||
1 | - | 6240 | _ACEOF |
6241 | |||
232 | jag | 6242 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
6243 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
||
1 | - | 6244 | # trailing colons and then remove the whole line if VPATH becomes empty |
6245 | # (actually we leave an empty line to preserve line numbers). |
||
6246 | if test "x$srcdir" = x.; then |
||
232 | jag | 6247 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
6248 | h |
||
6249 | s/// |
||
6250 | s/^/:/ |
||
6251 | s/[ ]*$/:/ |
||
6252 | s/:\$(srcdir):/:/g |
||
6253 | s/:\${srcdir}:/:/g |
||
6254 | s/:@srcdir@:/:/g |
||
6255 | s/^:*// |
||
1 | - | 6256 | s/:*$// |
232 | jag | 6257 | x |
6258 | s/\(=[ ]*\).*/\1/ |
||
6259 | G |
||
6260 | s/\n// |
||
1 | - | 6261 | s/^[^=]*=[ ]*$// |
6262 | }' |
||
6263 | fi |
||
6264 | |||
6265 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
6266 | fi # test -n "$CONFIG_FILES" |
||
6267 | |||
6268 | |||
6269 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" |
||
6270 | shift |
||
6271 | for ac_tag |
||
6272 | do |
||
6273 | case $ac_tag in |
||
6274 | :[FHLC]) ac_mode=$ac_tag; continue;; |
||
6275 | esac |
||
6276 | case $ac_mode$ac_tag in |
||
6277 | :[FHL]*:*);; |
||
2097 | jag | 6278 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
1 | - | 6279 | :[FH]-) ac_tag=-:-;; |
6280 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
||
6281 | esac |
||
6282 | ac_save_IFS=$IFS |
||
6283 | IFS=: |
||
6284 | set x $ac_tag |
||
6285 | IFS=$ac_save_IFS |
||
6286 | shift |
||
6287 | ac_file=$1 |
||
6288 | shift |
||
6289 | |||
6290 | case $ac_mode in |
||
6291 | :L) ac_source=$1;; |
||
6292 | :[FH]) |
||
6293 | ac_file_inputs= |
||
6294 | for ac_f |
||
6295 | do |
||
6296 | case $ac_f in |
||
232 | jag | 6297 | -) ac_f="$ac_tmp/stdin";; |
1 | - | 6298 | *) # Look for the file first in the build tree, then in the source tree |
6299 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
||
6300 | # because $ac_f cannot contain `:'. |
||
6301 | test -f "$ac_f" || |
||
6302 | case $ac_f in |
||
6303 | [\\/$]*) false;; |
||
6304 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
||
6305 | esac || |
||
2097 | jag | 6306 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
1 | - | 6307 | esac |
2097 | jag | 6308 | case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
1 | - | 6309 | as_fn_append ac_file_inputs " '$ac_f'" |
6310 | done |
||
6311 | |||
6312 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
||
6313 | # use $as_me), people would be surprised to read: |
||
6314 | # /* config.h. Generated by config.status. */ |
||
6315 | configure_input='Generated from '` |
||
2097 | jag | 6316 | printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
1 | - | 6317 | `' by configure.' |
6318 | if test x"$ac_file" != x-; then |
||
6319 | configure_input="$ac_file. $configure_input" |
||
2097 | jag | 6320 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
6321 | printf "%s\n" "$as_me: creating $ac_file" >&6;} |
||
1 | - | 6322 | fi |
6323 | # Neutralize special characters interpreted by sed in replacement strings. |
||
6324 | case $configure_input in #( |
||
6325 | *\&* | *\|* | *\\* ) |
||
2097 | jag | 6326 | ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
1 | - | 6327 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
6328 | *) ac_sed_conf_input=$configure_input;; |
||
6329 | esac |
||
6330 | |||
6331 | case $ac_tag in |
||
232 | jag | 6332 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
2097 | jag | 6333 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
1 | - | 6334 | esac |
6335 | ;; |
||
6336 | esac |
||
6337 | |||
6338 | ac_dir=`$as_dirname -- "$ac_file" || |
||
6339 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
||
6340 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
||
6341 | X"$ac_file" : 'X\(//\)$' \| \ |
||
6342 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
||
2097 | jag | 6343 | printf "%s\n" X"$ac_file" | |
1 | - | 6344 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6345 | s//\1/ |
||
6346 | q |
||
6347 | } |
||
6348 | /^X\(\/\/\)[^/].*/{ |
||
6349 | s//\1/ |
||
6350 | q |
||
6351 | } |
||
6352 | /^X\(\/\/\)$/{ |
||
6353 | s//\1/ |
||
6354 | q |
||
6355 | } |
||
6356 | /^X\(\/\).*/{ |
||
6357 | s//\1/ |
||
6358 | q |
||
6359 | } |
||
6360 | s/.*/./; q'` |
||
6361 | as_dir="$ac_dir"; as_fn_mkdir_p |
||
6362 | ac_builddir=. |
||
6363 | |||
6364 | case "$ac_dir" in |
||
6365 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
||
6366 | *) |
||
2097 | jag | 6367 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
1 | - | 6368 | # A ".." for each directory in $ac_dir_suffix. |
2097 | jag | 6369 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1 | - | 6370 | case $ac_top_builddir_sub in |
6371 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
||
6372 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
||
6373 | esac ;; |
||
6374 | esac |
||
6375 | ac_abs_top_builddir=$ac_pwd |
||
6376 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
||
6377 | # for backward compatibility: |
||
6378 | ac_top_builddir=$ac_top_build_prefix |
||
6379 | |||
6380 | case $srcdir in |
||
6381 | .) # We are building in place. |
||
6382 | ac_srcdir=. |
||
6383 | ac_top_srcdir=$ac_top_builddir_sub |
||
6384 | ac_abs_top_srcdir=$ac_pwd ;; |
||
6385 | [\\/]* | ?:[\\/]* ) # Absolute name. |
||
6386 | ac_srcdir=$srcdir$ac_dir_suffix; |
||
6387 | ac_top_srcdir=$srcdir |
||
6388 | ac_abs_top_srcdir=$srcdir ;; |
||
6389 | *) # Relative name. |
||
6390 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
||
6391 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
||
6392 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
||
6393 | esac |
||
6394 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
||
6395 | |||
6396 | |||
6397 | case $ac_mode in |
||
6398 | :F) |
||
6399 | # |
||
6400 | # CONFIG_FILE |
||
6401 | # |
||
6402 | |||
6403 | case $INSTALL in |
||
6404 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
||
6405 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
||
6406 | esac |
||
6407 | ac_MKDIR_P=$MKDIR_P |
||
6408 | case $MKDIR_P in |
||
6409 | [\\/$]* | ?:[\\/]* ) ;; |
||
6410 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
||
6411 | esac |
||
6412 | _ACEOF |
||
6413 | |||
6414 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
6415 | # If the template does not know about datarootdir, expand it. |
||
6416 | # FIXME: This hack should be removed a few years after 2.60. |
||
6417 | ac_datarootdir_hack=; ac_datarootdir_seen= |
||
6418 | ac_sed_dataroot=' |
||
6419 | /datarootdir/ { |
||
6420 | p |
||
6421 | q |
||
6422 | } |
||
6423 | /@datadir@/p |
||
6424 | /@docdir@/p |
||
6425 | /@infodir@/p |
||
6426 | /@localedir@/p |
||
6427 | /@mandir@/p' |
||
6428 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
||
6429 | *datarootdir*) ac_datarootdir_seen=yes;; |
||
6430 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
||
2097 | jag | 6431 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
6432 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
||
1 | - | 6433 | _ACEOF |
6434 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
6435 | ac_datarootdir_hack=' |
||
6436 | s&@datadir@&$datadir&g |
||
6437 | s&@docdir@&$docdir&g |
||
6438 | s&@infodir@&$infodir&g |
||
6439 | s&@localedir@&$localedir&g |
||
6440 | s&@mandir@&$mandir&g |
||
6441 | s&\\\${datarootdir}&$datarootdir&g' ;; |
||
6442 | esac |
||
6443 | _ACEOF |
||
6444 | |||
6445 | # Neutralize VPATH when `$srcdir' = `.'. |
||
6446 | # Shell code in configure.ac might set extrasub. |
||
6447 | # FIXME: do we really want to maintain this feature? |
||
6448 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
6449 | ac_sed_extra="$ac_vpsub |
||
6450 | $extrasub |
||
6451 | _ACEOF |
||
6452 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
6453 | :t |
||
6454 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
||
6455 | s|@configure_input@|$ac_sed_conf_input|;t t |
||
6456 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
||
6457 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
||
6458 | s&@srcdir@&$ac_srcdir&;t t |
||
6459 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
||
6460 | s&@top_srcdir@&$ac_top_srcdir&;t t |
||
6461 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
||
6462 | s&@builddir@&$ac_builddir&;t t |
||
6463 | s&@abs_builddir@&$ac_abs_builddir&;t t |
||
6464 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
||
6465 | s&@INSTALL@&$ac_INSTALL&;t t |
||
6466 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
||
6467 | $ac_datarootdir_hack |
||
6468 | " |
||
232 | jag | 6469 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
6470 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
||
1 | - | 6471 | |
6472 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
||
232 | jag | 6473 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
6474 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
||
6475 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
||
2097 | jag | 6476 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
232 | jag | 6477 | which seems to be undefined. Please make sure it is defined" >&5 |
2097 | jag | 6478 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
232 | jag | 6479 | which seems to be undefined. Please make sure it is defined" >&2;} |
1 | - | 6480 | |
232 | jag | 6481 | rm -f "$ac_tmp/stdin" |
1 | - | 6482 | case $ac_file in |
232 | jag | 6483 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
6484 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
||
1 | - | 6485 | esac \ |
232 | jag | 6486 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
1 | - | 6487 | ;; |
6488 | |||
6489 | |||
2097 | jag | 6490 | :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
6491 | printf "%s\n" "$as_me: executing $ac_file commands" >&6;} |
||
1 | - | 6492 | ;; |
6493 | esac |
||
6494 | |||
6495 | |||
6496 | case $ac_file$ac_mode in |
||
6497 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
||
2097 | jag | 6498 | # Older Autoconf quotes --file arguments for eval, but not when files |
1 | - | 6499 | # are listed without --file. Let's play safe and only enable the eval |
6500 | # if we detect the quoting. |
||
2097 | jag | 6501 | # TODO: see whether this extra hack can be removed once we start |
6502 | # requiring Autoconf 2.70 or later. |
||
6503 | case $CONFIG_FILES in #( |
||
6504 | *\'*) : |
||
6505 | eval set x "$CONFIG_FILES" ;; #( |
||
6506 | *) : |
||
6507 | set x $CONFIG_FILES ;; #( |
||
6508 | *) : |
||
6509 | ;; |
||
6510 | esac |
||
1 | - | 6511 | shift |
2097 | jag | 6512 | # Used to flag and report bootstrapping failures. |
6513 | am_rc=0 |
||
6514 | for am_mf |
||
1 | - | 6515 | do |
6516 | # Strip MF so we end up with the name of the file. |
||
2097 | jag | 6517 | am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` |
6518 | # Check whether this is an Automake generated Makefile which includes |
||
6519 | # dependency-tracking related rules and includes. |
||
6520 | # Grep'ing the whole file directly is not great: AIX grep has a line |
||
1 | - | 6521 | # limit of 2048, but all sed's we know have understand at least 4000. |
2097 | jag | 6522 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
6523 | || continue |
||
6524 | am_dirpart=`$as_dirname -- "$am_mf" || |
||
6525 | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
||
6526 | X"$am_mf" : 'X\(//\)[^/]' \| \ |
||
6527 | X"$am_mf" : 'X\(//\)$' \| \ |
||
6528 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
||
6529 | printf "%s\n" X"$am_mf" | |
||
1 | - | 6530 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6531 | s//\1/ |
||
6532 | q |
||
6533 | } |
||
6534 | /^X\(\/\/\)[^/].*/{ |
||
6535 | s//\1/ |
||
6536 | q |
||
6537 | } |
||
6538 | /^X\(\/\/\)$/{ |
||
6539 | s//\1/ |
||
6540 | q |
||
6541 | } |
||
6542 | /^X\(\/\).*/{ |
||
6543 | s//\1/ |
||
6544 | q |
||
6545 | } |
||
6546 | s/.*/./; q'` |
||
2097 | jag | 6547 | am_filepart=`$as_basename -- "$am_mf" || |
6548 | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
||
6549 | X"$am_mf" : 'X\(//\)$' \| \ |
||
6550 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
||
6551 | printf "%s\n" X/"$am_mf" | |
||
6552 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
||
1 | - | 6553 | s//\1/ |
6554 | q |
||
6555 | } |
||
2097 | jag | 6556 | /^X\/\(\/\/\)$/{ |
1 | - | 6557 | s//\1/ |
6558 | q |
||
6559 | } |
||
2097 | jag | 6560 | /^X\/\(\/\).*/{ |
1 | - | 6561 | s//\1/ |
6562 | q |
||
6563 | } |
||
6564 | s/.*/./; q'` |
||
2097 | jag | 6565 | { echo "$as_me:$LINENO: cd "$am_dirpart" \ |
6566 | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
||
6567 | | $MAKE -f - am--depfiles" >&5 |
||
6568 | (cd "$am_dirpart" \ |
||
6569 | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
||
6570 | | $MAKE -f - am--depfiles) >&5 2>&5 |
||
6571 | ac_status=$? |
||
6572 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
||
6573 | (exit $ac_status); } || am_rc=$? |
||
1 | - | 6574 | done |
2097 | jag | 6575 | if test $am_rc -ne 0; then |
6576 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
||
6577 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
||
6578 | as_fn_error $? "Something went wrong bootstrapping makefile fragments |
||
6579 | for automatic dependency tracking. If GNU make was not used, consider |
||
6580 | re-running the configure script with MAKE=\"gmake\" (or whatever is |
||
6581 | necessary). You can also try re-running configure with the |
||
6582 | '--disable-dependency-tracking' option to at least be able to build |
||
6583 | the package (albeit without support for automatic dependency tracking). |
||
6584 | See \`config.log' for more details" "$LINENO" 5; } |
||
6585 | fi |
||
6586 | { am_dirpart=; unset am_dirpart;} |
||
6587 | { am_filepart=; unset am_filepart;} |
||
6588 | { am_mf=; unset am_mf;} |
||
6589 | { am_rc=; unset am_rc;} |
||
6590 | rm -f conftest-deps.mk |
||
1 | - | 6591 | } |
6592 | ;; |
||
6593 | |||
6594 | esac |
||
6595 | done # for ac_tag |
||
6596 | |||
6597 | |||
6598 | as_fn_exit 0 |
||
6599 | _ACEOF |
||
6600 | ac_clean_files=$ac_clean_files_save |
||
6601 | |||
6602 | test $ac_write_fail = 0 || |
||
232 | jag | 6603 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
1 | - | 6604 | |
6605 | |||
6606 | # configure is writing to config.log, and then calls config.status. |
||
6607 | # config.status does its own redirection, appending to config.log. |
||
6608 | # Unfortunately, on DOS this fails, as config.log is still kept open |
||
6609 | # by configure, so config.status won't be able to write to it; its |
||
6610 | # output is simply discarded. So we exec the FD to /dev/null, |
||
6611 | # effectively closing config.log, so it can be properly (re)opened and |
||
6612 | # appended to by config.status. When coming back to configure, we |
||
6613 | # need to make the FD available again. |
||
6614 | if test "$no_create" != yes; then |
||
6615 | ac_cs_success=: |
||
6616 | ac_config_status_args= |
||
6617 | test "$silent" = yes && |
||
6618 | ac_config_status_args="$ac_config_status_args --quiet" |
||
6619 | exec 5>/dev/null |
||
6620 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
||
6621 | exec 5>>config.log |
||
6622 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
||
6623 | # would make configure fail if this is the last instruction. |
||
232 | jag | 6624 | $ac_cs_success || as_fn_exit 1 |
1 | - | 6625 | fi |
6626 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
||
2097 | jag | 6627 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
6628 | printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
||
1 | - | 6629 | fi |
6630 |