Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for FLMSG 4.0.23.
4 #
5 # Report bugs to <w1hkj AT w1hkj DOT com>.
6 #
7 # Copyright (C) 2016 Dave Freese, W1HKJ (w1hkj AT w1hkj DOT com)
8 #
9 #
10 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
11 # Inc.
12 #
13 #
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
19
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 as_nop=:
23 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
24 then :
25 emulate sh
26 NULLCMD=:
27 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28 # is contrary to our usage. Disable this feature.
29 alias -g '${1+"$@"}'='"$@"'
30 setopt NO_GLOB_SUBST
31 else $as_nop
32 case `(set -o) 2>/dev/null` in #(
33 *posix*) :
34 set -o posix ;; #(
35 *) :
36 ;;
37 esac
38 fi
39
40
41
42 # Reset variables that may have inherited troublesome values from
43 # the environment.
44
45 # IFS needs to be set, to space, tab, and newline, in precisely that order.
46 # (If _AS_PATH_WALK were called with IFS unset, it would have the
47 # side effect of setting IFS to empty, thus disabling word splitting.)
48 # Quoting is to prevent editors from complaining about space-tab.
49 as_nl='
50 '
51 export as_nl
52 IFS=" "" $as_nl"
53
54 PS1='$ '
55 PS2='> '
56 PS4='+ '
57
58 # Ensure predictable behavior from utilities with locale-dependent output.
59 LC_ALL=C
60 export LC_ALL
61 LANGUAGE=C
62 export LANGUAGE
63
64 # We cannot yet rely on "unset" to work, but we need these variables
65 # to be unset--not just set to an empty or harmless value--now, to
66 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
67 # also avoids known problems related to "unset" and subshell syntax
68 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
69 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
70 do eval test \${$as_var+y} \
71 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72 done
73
74 # Ensure that fds 0, 1, and 2 are open.
75 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
76 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
77 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
78
79 # The user is always right.
80 if ${PATH_SEPARATOR+false} :; then
81 PATH_SEPARATOR=:
82 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
83 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 PATH_SEPARATOR=';'
85 }
86 fi
87
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 case $as_dir in #(((
98 '') as_dir=./ ;;
99 */) ;;
100 *) as_dir=$as_dir/ ;;
101 esac
102 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
103 done
104 IFS=$as_save_IFS
105
106 ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111 as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118
119 # Use a proper internal environment variable to ensure we don't fall
120 # into an infinite loop, continuously re-executing ourselves.
121 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
122 _as_can_reexec=no; export _as_can_reexec;
123 # We cannot yet assume a decent shell, so we have to provide a
124 # neutralization value for shells without unset; and this also
125 # works around shells that cannot unset nonexistent variables.
126 # Preserve -v and -x to the replacement shell.
127 BASH_ENV=/dev/null
128 ENV=/dev/null
129 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
130 case $- in # ((((
131 *v*x* | *x*v* ) as_opts=-vx ;;
132 *v* ) as_opts=-v ;;
133 *x* ) as_opts=-x ;;
134 * ) as_opts= ;;
135 esac
136 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
137 # Admittedly, this is quite paranoid, since all the known shells bail
138 # out after a failed `exec'.
139 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 exit 255
141 fi
142 # We don't want this to propagate to other subprocesses.
143 { _as_can_reexec=; unset _as_can_reexec;}
144 if test "x$CONFIG_SHELL" = x; then
145 as_bourne_compatible="as_nop=:
146 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
147 then :
148 emulate sh
149 NULLCMD=:
150 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
151 # is contrary to our usage. Disable this feature.
152 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 setopt NO_GLOB_SUBST
154 else \$as_nop
155 case \`(set -o) 2>/dev/null\` in #(
156 *posix*) :
157 set -o posix ;; #(
158 *) :
159 ;;
160 esac
161 fi
162 "
163 as_required="as_fn_return () { (exit \$1); }
164 as_fn_success () { as_fn_return 0; }
165 as_fn_failure () { as_fn_return 1; }
166 as_fn_ret_success () { return 0; }
167 as_fn_ret_failure () { return 1; }
168
169 exitcode=0
170 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
171 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
172 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
173 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
174 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
175 then :
176
177 else \$as_nop
178 exitcode=1; echo positional parameters were not saved.
179 fi
180 test x\$exitcode = x0 || exit 1
181 blah=\$(echo \$(echo blah))
182 test x\"\$blah\" = xblah || exit 1
183 test -x / || exit 1"
184 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
185 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
186 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
187 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
188 if (eval "$as_required") 2>/dev/null
189 then :
190 as_have_required=yes
191 else $as_nop
192 as_have_required=no
193 fi
194 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
195 then :
196
197 else $as_nop
198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
199 as_found=false
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 do
202 IFS=$as_save_IFS
203 case $as_dir in #(((
204 '') as_dir=./ ;;
205 */) ;;
206 *) as_dir=$as_dir/ ;;
207 esac
208 as_found=:
209 case $as_dir in #(
210 /*)
211 for as_base in sh bash ksh sh5; do
212 # Try only shells that exist, to save several forks.
213 as_shell=$as_dir$as_base
214 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
215 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
216 then :
217 CONFIG_SHELL=$as_shell as_have_required=yes
218 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
219 then :
220 break 2
221 fi
222 fi
223 done;;
224 esac
225 as_found=false
226 done
227 IFS=$as_save_IFS
228 if $as_found
229 then :
230
231 else $as_nop
232 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
234 then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi
237 fi
238
239
240 if test "x$CONFIG_SHELL" != x
241 then :
242 export CONFIG_SHELL
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 case $- in # ((((
251 *v*x* | *x*v* ) as_opts=-vx ;;
252 *v* ) as_opts=-v ;;
253 *x* ) as_opts=-x ;;
254 * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
261 fi
262
263 if test x$as_have_required = xno
264 then :
265 printf "%s\n" "$0: This script requires a shell more modern than all"
266 printf "%s\n" "$0: the shells that I found on your system."
267 if test ${ZSH_VERSION+y} ; then
268 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
269 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 else
271 printf "%s\n" "$0: Please tell [email protected] and w1hkj AT w1hkj DOT
272 $0: com about your system, including any error possibly
273 $0: output before this message. Then install a modern
274 $0: shell, or manually run the script under such a shell if
275 $0: you do have one."
276 fi
277 exit 1
278 fi
279 fi
280 fi
281 SHELL=${CONFIG_SHELL-/bin/sh}
282 export SHELL
283 # Unset more variables known to interfere with behavior of common tools.
284 CLICOLOR_FORCE= GREP_OPTIONS=
285 unset CLICOLOR_FORCE GREP_OPTIONS
286
287 ## --------------------- ##
288 ## M4sh Shell Functions. ##
289 ## --------------------- ##
290 # as_fn_unset VAR
291 # ---------------
292 # Portably unset VAR.
293 as_fn_unset ()
294 {
295 { eval $1=; unset $1;}
296 }
297 as_unset=as_fn_unset
298
299
300 # as_fn_set_status STATUS
301 # -----------------------
302 # Set $? to STATUS, without forking.
303 as_fn_set_status ()
304 {
305 return $1
306 } # as_fn_set_status
307
308 # as_fn_exit STATUS
309 # -----------------
310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
311 as_fn_exit ()
312 {
313 set +e
314 as_fn_set_status $1
315 exit $1
316 } # as_fn_exit
317 # as_fn_nop
318 # ---------
319 # Do nothing but, unlike ":", preserve the value of $?.
320 as_fn_nop ()
321 {
322 return $?
323 }
324 as_nop=as_fn_nop
325
326 # as_fn_mkdir_p
327 # -------------
328 # Create "$as_dir" as a directory, including parents if necessary.
329 as_fn_mkdir_p ()
330 {
331
332 case $as_dir in #(
333 -*) as_dir=./$as_dir;;
334 esac
335 test -d "$as_dir" || eval $as_mkdir_p || {
336 as_dirs=
337 while :; do
338 case $as_dir in #(
339 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 *) as_qdir=$as_dir;;
341 esac
342 as_dirs="'$as_qdir' $as_dirs"
343 as_dir=`$as_dirname -- "$as_dir" ||
344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
345 X"$as_dir" : 'X\(//\)[^/]' \| \
346 X"$as_dir" : 'X\(//\)$' \| \
347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
348 printf "%s\n" X"$as_dir" |
349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
350 s//\1/
351 q
352 }
353 /^X\(\/\/\)[^/].*/{
354 s//\1/
355 q
356 }
357 /^X\(\/\/\)$/{
358 s//\1/
359 q
360 }
361 /^X\(\/\).*/{
362 s//\1/
363 q
364 }
365 s/.*/./; q'`
366 test -d "$as_dir" && break
367 done
368 test -z "$as_dirs" || eval "mkdir $as_dirs"
369 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370
371
372 } # as_fn_mkdir_p
373
374 # as_fn_executable_p FILE
375 # -----------------------
376 # Test if FILE is an executable regular file.
377 as_fn_executable_p ()
378 {
379 test -f "$1" && test -x "$1"
380 } # as_fn_executable_p
381 # as_fn_append VAR VALUE
382 # ----------------------
383 # Append the text in VALUE to the end of the definition contained in VAR. Take
384 # advantage of any shell optimizations that allow amortized linear growth over
385 # repeated appends, instead of the typical quadratic growth present in naive
386 # implementations.
387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
388 then :
389 eval 'as_fn_append ()
390 {
391 eval $1+=\$2
392 }'
393 else $as_nop
394 as_fn_append ()
395 {
396 eval $1=\$$1\$2
397 }
398 fi # as_fn_append
399
400 # as_fn_arith ARG...
401 # ------------------
402 # Perform arithmetic evaluation on the ARGs, and store the result in the
403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
404 # must be portable across $(()) and expr.
405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
406 then :
407 eval 'as_fn_arith ()
408 {
409 as_val=$(( $* ))
410 }'
411 else $as_nop
412 as_fn_arith ()
413 {
414 as_val=`expr "$@" || test $? -eq 1`
415 }
416 fi # as_fn_arith
417
418 # as_fn_nop
419 # ---------
420 # Do nothing but, unlike ":", preserve the value of $?.
421 as_fn_nop ()
422 {
423 return $?
424 }
425 as_nop=as_fn_nop
426
427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
428 # ----------------------------------------
429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
431 # script with STATUS, using 1 if that was 0.
432 as_fn_error ()
433 {
434 as_status=$1; test $as_status -eq 0 && as_status=1
435 if test "$4"; then
436 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 fi
439 printf "%s\n" "$as_me: error: $2" >&2
440 as_fn_exit $as_status
441 } # as_fn_error
442
443 if expr a : '\(a\)' >/dev/null 2>&1 &&
444 test "X`expr 00001 : '.*\(...\)'`" = X001; then
445 as_expr=expr
446 else
447 as_expr=false
448 fi
449
450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
451 as_basename=basename
452 else
453 as_basename=false
454 fi
455
456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
457 as_dirname=dirname
458 else
459 as_dirname=false
460 fi
461
462 as_me=`$as_basename -- "$0" ||
463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
464 X"$0" : 'X\(//\)$' \| \
465 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
466 printf "%s\n" X/"$0" |
467 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 s//\1/
469 q
470 }
471 /^X\/\(\/\/\)$/{
472 s//\1/
473 q
474 }
475 /^X\/\(\/\).*/{
476 s//\1/
477 q
478 }
479 s/.*/./; q'`
480
481 # Avoid depending upon Character Ranges.
482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
485 as_cr_digits='0123456789'
486 as_cr_alnum=$as_cr_Letters$as_cr_digits
487
488
489 as_lineno_1=$LINENO as_lineno_1a=$LINENO
490 as_lineno_2=$LINENO as_lineno_2a=$LINENO
491 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
492 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
493 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 sed -n '
495 p
496 /[$]LINENO/=
497 ' <$as_myself |
498 sed '
499 s/[$]LINENO.*/&-/
500 t lineno
501 b
502 :lineno
503 N
504 :loop
505 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
506 t loop
507 s/-\n.*//
508 ' >$as_me.lineno &&
509 chmod +x "$as_me.lineno" ||
510 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511
512 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
513 # already done that, so ensure we don't try to do so again and fall
514 # in an infinite loop. This has already happened in practice.
515 _as_can_reexec=no; export _as_can_reexec
516 # Don't try to exec as it changes $[0], causing all sort of problems
517 # (the dirname of $[0] is not the place where we might find the
518 # original and so on. Autoconf is especially sensitive to this).
519 . "./$as_me.lineno"
520 # Exit status is that of the last command.
521 exit
522 }
523
524
525 # Determine whether it's possible to make 'echo' print without a newline.
526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
527 # for compatibility with existing Makefiles.
528 ECHO_C= ECHO_N= ECHO_T=
529 case `echo -n x` in #(((((
530 -n*)
531 case `echo 'xy\c'` in
532 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
533 xy) ECHO_C='\c';;
534 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
535 ECHO_T=' ';;
536 esac;;
537 *)
538 ECHO_N='-n';;
539 esac
540
541 # For backward compatibility with old third-party macros, we provide
542 # the shell variables $as_echo and $as_echo_n. New code should use
543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
544 as_echo='printf %s\n'
545 as_echo_n='printf %s'
546
547
548 rm -f conf$$ conf$$.exe conf$$.file
549 if test -d conf$$.dir; then
550 rm -f conf$$.dir/conf$$.file
551 else
552 rm -f conf$$.dir
553 mkdir conf$$.dir 2>/dev/null
554 fi
555 if (echo >conf$$.file) 2>/dev/null; then
556 if ln -s conf$$.file conf$$ 2>/dev/null; then
557 as_ln_s='ln -s'
558 # ... but there are two gotchas:
559 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
560 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
561 # In both cases, we have to default to `cp -pR'.
562 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
563 as_ln_s='cp -pR'
564 elif ln conf$$.file conf$$ 2>/dev/null; then
565 as_ln_s=ln
566 else
567 as_ln_s='cp -pR'
568 fi
569 else
570 as_ln_s='cp -pR'
571 fi
572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
573 rmdir conf$$.dir 2>/dev/null
574
575 if mkdir -p . 2>/dev/null; then
576 as_mkdir_p='mkdir -p "$as_dir"'
577 else
578 test -d ./-p && rmdir ./-p
579 as_mkdir_p=false
580 fi
581
582 as_test_x='test -x'
583 as_executable_p=as_fn_executable_p
584
585 # Sed expression to map a string onto a valid CPP name.
586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587
588 # Sed expression to map a string onto a valid variable name.
589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590
591
592 test -n "$DJDIR" || exec 7<&0 </dev/null
593 exec 6>&1
594
595 # Name of the host.
596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
597 # so uname gets run too.
598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
599
600 #
601 # Initializations.
602 #
603 ac_default_prefix=/usr/local
604 ac_clean_files=
605 ac_config_libobj_dir=.
606 LIBOBJS=
607 cross_compiling=no
608 subdirs=
609 MFLAGS=
610 MAKEFLAGS=
611
612 # Identity of this package.
613 PACKAGE_NAME='FLMSG'
614 PACKAGE_TARNAME='flmsg'
615 PACKAGE_VERSION='4.0.23'
616 PACKAGE_STRING='FLMSG 4.0.23'
617 PACKAGE_BUGREPORT='w1hkj AT w1hkj DOT com'
618 PACKAGE_URL=''
619
620 ac_unique_file="src/flmsg.cxx"
621 # Factoring default headers for most tests.
622 ac_includes_default="\
623 #include <stddef.h>
624 #ifdef HAVE_STDIO_H
625 # include <stdio.h>
626 #endif
627 #ifdef HAVE_STDLIB_H
628 # include <stdlib.h>
629 #endif
630 #ifdef HAVE_STRING_H
631 # include <string.h>
632 #endif
633 #ifdef HAVE_INTTYPES_H
634 # include <inttypes.h>
635 #endif
636 #ifdef HAVE_STDINT_H
637 # include <stdint.h>
638 #endif
639 #ifdef HAVE_STRINGS_H
640 # include <strings.h>
641 #endif
642 #ifdef HAVE_SYS_TYPES_H
643 # include <sys/types.h>
644 #endif
645 #ifdef HAVE_SYS_STAT_H
646 # include <sys/stat.h>
647 #endif
648 #ifdef HAVE_UNISTD_H
649 # include <unistd.h>
650 #endif"
651
652 ac_header_c_list=
653 ac_subst_vars='am__EXEEXT_FALSE
654 am__EXEEXT_TRUE
655 LTLIBOBJS
656 LIBOBJS
657 FLMSG_BUILD_LDADD
658 FLMSG_BUILD_LDFLAGS
659 FLMSG_BUILD_CXXFLAGS
660 FLMSG_BUILD_CPPFLAGS
661 ENABLE_FLXMLRPC_FALSE
662 ENABLE_FLXMLRPC_TRUE
663 FLXMLRPC_LIBS
664 FLXMLRPC_CFLAGS
665 X_LIBS
666 X_CFLAGS
667 PKG_CONFIG_LIBDIR
668 PKG_CONFIG_PATH
669 PKG_CONFIG
670 HAVE_FLUID_FALSE
671 HAVE_FLUID_TRUE
672 FLUID
673 FLTK_LIBS
674 FLTK_CFLAGS
675 FLTK_CONFIG
676 COMPAT_STRCASESTR_FALSE
677 COMPAT_STRCASESTR_TRUE
678 EXTRA_LIBS
679 COMPAT_REGEX_FALSE
680 COMPAT_REGEX_TRUE
681 PTW32_LIBS
682 PTW32_CFLAGS
683 MINGW32_FALSE
684 MINGW32_TRUE
685 WIN32_FALSE
686 WIN32_TRUE
687 HAVE_NSIS_FALSE
688 HAVE_NSIS_TRUE
689 HAVE_WINDRES_FALSE
690 HAVE_WINDRES_TRUE
691 MAKENSIS
692 WINDRES
693 DARWIN_FALSE
694 DARWIN_TRUE
695 MAC_UNIVERSAL_LDFLAGS
696 MAC_UNIVERSAL_CFLAGS
697 COMPAT_STACK_FALSE
698 COMPAT_STACK_TRUE
699 RDYNAMIC
700 DEBUG_CFLAGS
701 ENABLE_DEBUG_FALSE
702 ENABLE_DEBUG_TRUE
703 BFD_LIBS
704 BFD_CFLAGS
705 OPT_CFLAGS
706 am__fastdepCC_FALSE
707 am__fastdepCC_TRUE
708 CCDEPMODE
709 ac_ct_CC
710 CFLAGS
711 CC
712 am__fastdepCXX_FALSE
713 am__fastdepCXX_TRUE
714 CXXDEPMODE
715 am__nodep
716 AMDEPBACKSLASH
717 AMDEP_FALSE
718 AMDEP_TRUE
719 am__include
720 DEPDIR
721 OBJEXT
722 EXEEXT
723 ac_ct_CXX
724 CPPFLAGS
725 LDFLAGS
726 CXXFLAGS
727 CXX
728 AM_BACKSLASH
729 AM_DEFAULT_VERBOSITY
730 AM_DEFAULT_V
731 AM_V
732 CSCOPE
733 ETAGS
734 CTAGS
735 am__untar
736 am__tar
737 AMTAR
738 am__leading_dot
739 SET_MAKE
740 AWK
741 mkdir_p
742 MKDIR_P
743 INSTALL_STRIP_PROGRAM
744 STRIP
745 install_sh
746 MAKEINFO
747 AUTOHEADER
748 AUTOMAKE
749 AUTOCONF
750 ACLOCAL
751 VERSION
752 PACKAGE
753 CYGPATH_W
754 am__isrc
755 INSTALL_DATA
756 INSTALL_SCRIPT
757 INSTALL_PROGRAM
758 target_os
759 target_vendor
760 target_cpu
761 target
762 host_os
763 host_vendor
764 host_cpu
765 host
766 build_os
767 build_vendor
768 build_cpu
769 build
770 AC_CONFIG_ARGS
771 FLMSG_VERSION
772 FLMSG_VERSION_PATCH
773 FLMSG_VERSION_MINOR
774 FLMSG_VERSION_MAJOR
775 target_alias
776 host_alias
777 build_alias
778 LIBS
779 ECHO_T
780 ECHO_N
781 ECHO_C
782 DEFS
783 mandir
784 localedir
785 libdir
786 psdir
787 pdfdir
788 dvidir
789 htmldir
790 infodir
791 docdir
792 oldincludedir
793 includedir
794 runstatedir
795 localstatedir
796 sharedstatedir
797 sysconfdir
798 datadir
799 datarootdir
800 libexecdir
801 sbindir
802 bindir
803 program_transform_name
804 prefix
805 exec_prefix
806 PACKAGE_URL
807 PACKAGE_BUGREPORT
808 PACKAGE_STRING
809 PACKAGE_VERSION
810 PACKAGE_TARNAME
811 PACKAGE_NAME
812 PATH_SEPARATOR
813 SHELL
814 am__quote'
815 ac_subst_files=''
816 ac_user_opts='
817 enable_option_checking
818 enable_silent_rules
819 enable_dependency_tracking
820 enable_static
821 enable_optimizations
822 enable_debug
823 with_bfd
824 enable_mac_universal
825 with_ptw32
826 with_clock_gettime
827 with_flxmlrpc
828 '
829 ac_precious_vars='build_alias
830 host_alias
831 target_alias
832 CXX
833 CXXFLAGS
834 LDFLAGS
835 LIBS
836 CPPFLAGS
837 CCC
838 CC
839 CFLAGS
840 BFD_CFLAGS
841 BFD_LIBS
842 PTW32_CFLAGS
843 PTW32_LIBS
844 FLTK_CONFIG
845 FLTK_CFLAGS
846 FLTK_LIBS
847 FLUID
848 PKG_CONFIG
849 PKG_CONFIG_PATH
850 PKG_CONFIG_LIBDIR
851 X_CFLAGS
852 X_LIBS
853 FLXMLRPC_CFLAGS
854 FLXMLRPC_LIBS'
855
856
857 # Initialize some variables set by options.
858 ac_init_help=
859 ac_init_version=false
860 ac_unrecognized_opts=
861 ac_unrecognized_sep=
862 # The variables have the same names as the options, with
863 # dashes changed to underlines.
864 cache_file=/dev/null
865 exec_prefix=NONE
866 no_create=
867 no_recursion=
868 prefix=NONE
869 program_prefix=NONE
870 program_suffix=NONE
871 program_transform_name=s,x,x,
872 silent=
873 site=
874 srcdir=
875 verbose=
876 x_includes=NONE
877 x_libraries=NONE
878
879 # Installation directory options.
880 # These are left unexpanded so users can "make install exec_prefix=/foo"
881 # and all the variables that are supposed to be based on exec_prefix
882 # by default will actually change.
883 # Use braces instead of parens because sh, perl, etc. also accept them.
884 # (The list follows the same order as the GNU Coding Standards.)
885 bindir='${exec_prefix}/bin'
886 sbindir='${exec_prefix}/sbin'
887 libexecdir='${exec_prefix}/libexec'
888 datarootdir='${prefix}/share'
889 datadir='${datarootdir}'
890 sysconfdir='${prefix}/etc'
891 sharedstatedir='${prefix}/com'
892 localstatedir='${prefix}/var'
893 runstatedir='${localstatedir}/run'
894 includedir='${prefix}/include'
895 oldincludedir='/usr/include'
896 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir='${datarootdir}/info'
898 htmldir='${docdir}'
899 dvidir='${docdir}'
900 pdfdir='${docdir}'
901 psdir='${docdir}'
902 libdir='${exec_prefix}/lib'
903 localedir='${datarootdir}/locale'
904 mandir='${datarootdir}/man'
905
906 ac_prev=
907 ac_dashdash=
908 for ac_option
909 do
910 # If the previous option needs an argument, assign it.
911 if test -n "$ac_prev"; then
912 eval $ac_prev=\$ac_option
913 ac_prev=
914 continue
915 fi
916
917 case $ac_option in
918 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
919 *=) ac_optarg= ;;
920 *) ac_optarg=yes ;;
921 esac
922
923 case $ac_dashdash$ac_option in
924 --)
925 ac_dashdash=yes ;;
926
927 -bindir | --bindir | --bindi | --bind | --bin | --bi)
928 ac_prev=bindir ;;
929 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
930 bindir=$ac_optarg ;;
931
932 -build | --build | --buil | --bui | --bu)
933 ac_prev=build_alias ;;
934 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
935 build_alias=$ac_optarg ;;
936
937 -cache-file | --cache-file | --cache-fil | --cache-fi \
938 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
939 ac_prev=cache_file ;;
940 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
941 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
942 cache_file=$ac_optarg ;;
943
944 --config-cache | -C)
945 cache_file=config.cache ;;
946
947 -datadir | --datadir | --datadi | --datad)
948 ac_prev=datadir ;;
949 -datadir=* | --datadir=* | --datadi=* | --datad=*)
950 datadir=$ac_optarg ;;
951
952 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
953 | --dataroo | --dataro | --datar)
954 ac_prev=datarootdir ;;
955 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
956 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
957 datarootdir=$ac_optarg ;;
958
959 -disable-* | --disable-*)
960 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963 as_fn_error $? "invalid feature name: \`$ac_useropt'"
964 ac_useropt_orig=$ac_useropt
965 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
966 case $ac_user_opts in
967 *"
968 "enable_$ac_useropt"
969 "*) ;;
970 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
971 ac_unrecognized_sep=', ';;
972 esac
973 eval enable_$ac_useropt=no ;;
974
975 -docdir | --docdir | --docdi | --doc | --do)
976 ac_prev=docdir ;;
977 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
978 docdir=$ac_optarg ;;
979
980 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
981 ac_prev=dvidir ;;
982 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
983 dvidir=$ac_optarg ;;
984
985 -enable-* | --enable-*)
986 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error $? "invalid feature name: \`$ac_useropt'"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
993 *"
994 "enable_$ac_useropt"
995 "*) ;;
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
998 esac
999 eval enable_$ac_useropt=\$ac_optarg ;;
1000
1001 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1002 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1003 | --exec | --exe | --ex)
1004 ac_prev=exec_prefix ;;
1005 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1006 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1007 | --exec=* | --exe=* | --ex=*)
1008 exec_prefix=$ac_optarg ;;
1009
1010 -gas | --gas | --ga | --g)
1011 # Obsolete; use --with-gas.
1012 with_gas=yes ;;
1013
1014 -help | --help | --hel | --he | -h)
1015 ac_init_help=long ;;
1016 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1017 ac_init_help=recursive ;;
1018 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1019 ac_init_help=short ;;
1020
1021 -host | --host | --hos | --ho)
1022 ac_prev=host_alias ;;
1023 -host=* | --host=* | --hos=* | --ho=*)
1024 host_alias=$ac_optarg ;;
1025
1026 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1027 ac_prev=htmldir ;;
1028 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1029 | --ht=*)
1030 htmldir=$ac_optarg ;;
1031
1032 -includedir | --includedir | --includedi | --included | --include \
1033 | --includ | --inclu | --incl | --inc)
1034 ac_prev=includedir ;;
1035 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1036 | --includ=* | --inclu=* | --incl=* | --inc=*)
1037 includedir=$ac_optarg ;;
1038
1039 -infodir | --infodir | --infodi | --infod | --info | --inf)
1040 ac_prev=infodir ;;
1041 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1042 infodir=$ac_optarg ;;
1043
1044 -libdir | --libdir | --libdi | --libd)
1045 ac_prev=libdir ;;
1046 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1047 libdir=$ac_optarg ;;
1048
1049 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1050 | --libexe | --libex | --libe)
1051 ac_prev=libexecdir ;;
1052 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1053 | --libexe=* | --libex=* | --libe=*)
1054 libexecdir=$ac_optarg ;;
1055
1056 -localedir | --localedir | --localedi | --localed | --locale)
1057 ac_prev=localedir ;;
1058 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1059 localedir=$ac_optarg ;;
1060
1061 -localstatedir | --localstatedir | --localstatedi | --localstated \
1062 | --localstate | --localstat | --localsta | --localst | --locals)
1063 ac_prev=localstatedir ;;
1064 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1065 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1066 localstatedir=$ac_optarg ;;
1067
1068 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1069 ac_prev=mandir ;;
1070 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1071 mandir=$ac_optarg ;;
1072
1073 -nfp | --nfp | --nf)
1074 # Obsolete; use --without-fp.
1075 with_fp=no ;;
1076
1077 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1078 | --no-cr | --no-c | -n)
1079 no_create=yes ;;
1080
1081 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1082 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1083 no_recursion=yes ;;
1084
1085 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1086 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1087 | --oldin | --oldi | --old | --ol | --o)
1088 ac_prev=oldincludedir ;;
1089 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1090 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1091 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1092 oldincludedir=$ac_optarg ;;
1093
1094 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1095 ac_prev=prefix ;;
1096 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1097 prefix=$ac_optarg ;;
1098
1099 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1100 | --program-pre | --program-pr | --program-p)
1101 ac_prev=program_prefix ;;
1102 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1103 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1104 program_prefix=$ac_optarg ;;
1105
1106 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1107 | --program-suf | --program-su | --program-s)
1108 ac_prev=program_suffix ;;
1109 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1110 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1111 program_suffix=$ac_optarg ;;
1112
1113 -program-transform-name | --program-transform-name \
1114 | --program-transform-nam | --program-transform-na \
1115 | --program-transform-n | --program-transform- \
1116 | --program-transform | --program-transfor \
1117 | --program-transfo | --program-transf \
1118 | --program-trans | --program-tran \
1119 | --progr-tra | --program-tr | --program-t)
1120 ac_prev=program_transform_name ;;
1121 -program-transform-name=* | --program-transform-name=* \
1122 | --program-transform-nam=* | --program-transform-na=* \
1123 | --program-transform-n=* | --program-transform-=* \
1124 | --program-transform=* | --program-transfor=* \
1125 | --program-transfo=* | --program-transf=* \
1126 | --program-trans=* | --program-tran=* \
1127 | --progr-tra=* | --program-tr=* | --program-t=*)
1128 program_transform_name=$ac_optarg ;;
1129
1130 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1131 ac_prev=pdfdir ;;
1132 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1133 pdfdir=$ac_optarg ;;
1134
1135 -psdir | --psdir | --psdi | --psd | --ps)
1136 ac_prev=psdir ;;
1137 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1138 psdir=$ac_optarg ;;
1139
1140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141 | -silent | --silent | --silen | --sile | --sil)
1142 silent=yes ;;
1143
1144 -runstatedir | --runstatedir | --runstatedi | --runstated \
1145 | --runstate | --runstat | --runsta | --runst | --runs \
1146 | --run | --ru | --r)
1147 ac_prev=runstatedir ;;
1148 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1149 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1150 | --run=* | --ru=* | --r=*)
1151 runstatedir=$ac_optarg ;;
1152
1153 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1154 ac_prev=sbindir ;;
1155 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1156 | --sbi=* | --sb=*)
1157 sbindir=$ac_optarg ;;
1158
1159 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1160 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1161 | --sharedst | --shareds | --shared | --share | --shar \
1162 | --sha | --sh)
1163 ac_prev=sharedstatedir ;;
1164 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1165 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1166 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1167 | --sha=* | --sh=*)
1168 sharedstatedir=$ac_optarg ;;
1169
1170 -site | --site | --sit)
1171 ac_prev=site ;;
1172 -site=* | --site=* | --sit=*)
1173 site=$ac_optarg ;;
1174
1175 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1176 ac_prev=srcdir ;;
1177 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1178 srcdir=$ac_optarg ;;
1179
1180 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1181 | --syscon | --sysco | --sysc | --sys | --sy)
1182 ac_prev=sysconfdir ;;
1183 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1184 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1185 sysconfdir=$ac_optarg ;;
1186
1187 -target | --target | --targe | --targ | --tar | --ta | --t)
1188 ac_prev=target_alias ;;
1189 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1190 target_alias=$ac_optarg ;;
1191
1192 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1193 verbose=yes ;;
1194
1195 -version | --version | --versio | --versi | --vers | -V)
1196 ac_init_version=: ;;
1197
1198 -with-* | --with-*)
1199 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1200 # Reject names that are not valid shell variable names.
1201 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1202 as_fn_error $? "invalid package name: \`$ac_useropt'"
1203 ac_useropt_orig=$ac_useropt
1204 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1206 *"
1207 "with_$ac_useropt"
1208 "*) ;;
1209 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1210 ac_unrecognized_sep=', ';;
1211 esac
1212 eval with_$ac_useropt=\$ac_optarg ;;
1213
1214 -without-* | --without-*)
1215 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1216 # Reject names that are not valid shell variable names.
1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1218 as_fn_error $? "invalid package name: \`$ac_useropt'"
1219 ac_useropt_orig=$ac_useropt
1220 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1221 case $ac_user_opts in
1222 *"
1223 "with_$ac_useropt"
1224 "*) ;;
1225 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1226 ac_unrecognized_sep=', ';;
1227 esac
1228 eval with_$ac_useropt=no ;;
1229
1230 --x)
1231 # Obsolete; use --with-x.
1232 with_x=yes ;;
1233
1234 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1235 | --x-incl | --x-inc | --x-in | --x-i)
1236 ac_prev=x_includes ;;
1237 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1238 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1239 x_includes=$ac_optarg ;;
1240
1241 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1242 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1243 ac_prev=x_libraries ;;
1244 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1245 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1246 x_libraries=$ac_optarg ;;
1247
1248 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1249 Try \`$0 --help' for more information"
1250 ;;
1251
1252 *=*)
1253 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1254 # Reject names that are not valid shell variable names.
1255 case $ac_envvar in #(
1256 '' | [0-9]* | *[!_$as_cr_alnum]* )
1257 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1258 esac
1259 eval $ac_envvar=\$ac_optarg
1260 export $ac_envvar ;;
1261
1262 *)
1263 # FIXME: should be removed in autoconf 3.0.
1264 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1267 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1268 ;;
1269
1270 esac
1271 done
1272
1273 if test -n "$ac_prev"; then
1274 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1275 as_fn_error $? "missing argument to $ac_option"
1276 fi
1277
1278 if test -n "$ac_unrecognized_opts"; then
1279 case $enable_option_checking in
1280 no) ;;
1281 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1282 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1283 esac
1284 fi
1285
1286 # Check all directory arguments for consistency.
1287 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1288 datadir sysconfdir sharedstatedir localstatedir includedir \
1289 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1290 libdir localedir mandir runstatedir
1291 do
1292 eval ac_val=\$$ac_var
1293 # Remove trailing slashes.
1294 case $ac_val in
1295 */ )
1296 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1297 eval $ac_var=\$ac_val;;
1298 esac
1299 # Be sure to have absolute directory names.
1300 case $ac_val in
1301 [\\/$]* | ?:[\\/]* ) continue;;
1302 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1303 esac
1304 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1305 done
1306
1307 # There might be people who depend on the old broken behavior: `$host'
1308 # used to hold the argument of --host etc.
1309 # FIXME: To remove some day.
1310 build=$build_alias
1311 host=$host_alias
1312 target=$target_alias
1313
1314 # FIXME: To remove some day.
1315 if test "x$host_alias" != x; then
1316 if test "x$build_alias" = x; then
1317 cross_compiling=maybe
1318 elif test "x$build_alias" != "x$host_alias"; then
1319 cross_compiling=yes
1320 fi
1321 fi
1322
1323 ac_tool_prefix=
1324 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1325
1326 test "$silent" = yes && exec 6>/dev/null
1327
1328
1329 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1330 ac_ls_di=`ls -di .` &&
1331 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1332 as_fn_error $? "working directory cannot be determined"
1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334 as_fn_error $? "pwd does not report name of working directory"
1335
1336
1337 # Find the source files, if location was not specified.
1338 if test -z "$srcdir"; then
1339 ac_srcdir_defaulted=yes
1340 # Try the directory containing this script, then the parent directory.
1341 ac_confdir=`$as_dirname -- "$as_myself" ||
1342 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343 X"$as_myself" : 'X\(//\)[^/]' \| \
1344 X"$as_myself" : 'X\(//\)$' \| \
1345 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346 printf "%s\n" X"$as_myself" |
1347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 s//\1/
1349 q
1350 }
1351 /^X\(\/\/\)[^/].*/{
1352 s//\1/
1353 q
1354 }
1355 /^X\(\/\/\)$/{
1356 s//\1/
1357 q
1358 }
1359 /^X\(\/\).*/{
1360 s//\1/
1361 q
1362 }
1363 s/.*/./; q'`
1364 srcdir=$ac_confdir
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 srcdir=..
1367 fi
1368 else
1369 ac_srcdir_defaulted=no
1370 fi
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1372 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1374 fi
1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 ac_abs_confdir=`(
1377 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378 pwd)`
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 srcdir=.
1382 fi
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1386 case $srcdir in
1387 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 esac
1389 for ac_var in $ac_precious_vars; do
1390 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391 eval ac_env_${ac_var}_value=\$${ac_var}
1392 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1394 done
1395
1396 #
1397 # Report the --help message.
1398 #
1399 if test "$ac_init_help" = "long"; then
1400 # Omit some internal or obsolete options to make the list less imposing.
1401 # This message is too long to be a string in the A/UX 3.1 sh.
1402 cat <<_ACEOF
1403 \`configure' configures FLMSG 4.0.23 to adapt to many kinds of systems.
1404
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1406
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE. See below for descriptions of some of the useful variables.
1409
1410 Defaults for the options are specified in brackets.
1411
1412 Configuration:
1413 -h, --help display this help and exit
1414 --help=short display options specific to this package
1415 --help=recursive display the short help of all the included packages
1416 -V, --version display version information and exit
1417 -q, --quiet, --silent do not print \`checking ...' messages
1418 --cache-file=FILE cache test results in FILE [disabled]
1419 -C, --config-cache alias for \`--cache-file=config.cache'
1420 -n, --no-create do not create output files
1421 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422
1423 Installation directories:
1424 --prefix=PREFIX install architecture-independent files in PREFIX
1425 [$ac_default_prefix]
1426 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 [PREFIX]
1428
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1433
1434 For better control, use the options below.
1435
1436 Fine tuning of the installation directories:
1437 --bindir=DIR user executables [EPREFIX/bin]
1438 --sbindir=DIR system admin executables [EPREFIX/sbin]
1439 --libexecdir=DIR program executables [EPREFIX/libexec]
1440 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1444 --libdir=DIR object code libraries [EPREFIX/lib]
1445 --includedir=DIR C header files [PREFIX/include]
1446 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1447 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1448 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1449 --infodir=DIR info documentation [DATAROOTDIR/info]
1450 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1451 --mandir=DIR man documentation [DATAROOTDIR/man]
1452 --docdir=DIR documentation root [DATAROOTDIR/doc/flmsg]
1453 --htmldir=DIR html documentation [DOCDIR]
1454 --dvidir=DIR dvi documentation [DOCDIR]
1455 --pdfdir=DIR pdf documentation [DOCDIR]
1456 --psdir=DIR ps documentation [DOCDIR]
1457 _ACEOF
1458
1459 cat <<\_ACEOF
1460
1461 Program names:
1462 --program-prefix=PREFIX prepend PREFIX to installed program names
1463 --program-suffix=SUFFIX append SUFFIX to installed program names
1464 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1465
1466 System types:
1467 --build=BUILD configure for building on BUILD [guessed]
1468 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1469 --target=TARGET configure for building compilers for TARGET [HOST]
1470 _ACEOF
1471 fi
1472
1473 if test -n "$ac_init_help"; then
1474 case $ac_init_help in
1475 short | recursive ) echo "Configuration of FLMSG 4.0.23:";;
1476 esac
1477 cat <<\_ACEOF
1478
1479 Optional Features:
1480 --disable-option-checking ignore unrecognized --enable/--with options
1481 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1482 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1483 --enable-silent-rules less verbose build output (undo: "make V=1")
1484 --disable-silent-rules verbose build output (undo: "make V=0")
1485 --enable-dependency-tracking
1486 do not reject slow dependency extractors
1487 --disable-dependency-tracking
1488 speeds up one-time build
1489 --enable-static enable static linking for some libraries
1490 --enable-optimizations use x86 optimizations (none|sse|sse2|sse3|native)
1491 [none]
1492 --enable-debug turn on debugging
1493 --enable-mac-universal build a universal binary on Mac OS X [no]
1494
1495 Optional Packages:
1496 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1497 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1498 --with-bfd[=DIR] search for libbfd in DIR/include and DIR/lib
1499 [mingw32 only]
1500 --with-ptw32[=DIR] search for pthreads-w32 in DIR/include and DIR/lib
1501 [mingw32 only]
1502 --without-clock_gettime Do not use clock_gettime lib
1503 --with-flxmlrpc use external flxmlrpc library [autodetect]
1504
1505 Some influential environment variables:
1506 CXX C++ compiler command
1507 CXXFLAGS C++ compiler flags
1508 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1509 nonstandard directory <lib dir>
1510 LIBS libraries to pass to the linker, e.g. -l<library>
1511 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1512 you have headers in a nonstandard directory <include dir>
1513 CC C compiler command
1514 CFLAGS C compiler flags
1515 BFD_CFLAGS C compiler flags for libbfd
1516 BFD_LIBS linker flags for libbfd
1517 PTW32_CFLAGS
1518 C compiler flags for pthreads-w32
1519 PTW32_LIBS linker flags for pthreads-w32
1520 FLTK_CONFIG Path to fltk-config utility
1521 FLTK_CFLAGS C compiler flags for FLTK, overriding fltk-config
1522 FLTK_LIBS linker flags for FLTK, overriding fltk-config
1523 FLUID Fast Light User-Interface Designer
1524 PKG_CONFIG path to pkg-config utility
1525 PKG_CONFIG_PATH
1526 directories to add to pkg-config's search path
1527 PKG_CONFIG_LIBDIR
1528 path overriding pkg-config's built-in search path
1529 X_CFLAGS C compiler flags for X, overriding pkg-config
1530 X_LIBS linker flags for X, overriding pkg-config
1531 FLXMLRPC_CFLAGS
1532 C compiler flags for FLXMLRPC, overriding pkg-config
1533 FLXMLRPC_LIBS
1534 linker flags for FLXMLRPC, overriding pkg-config
1535
1536 Use these variables to override the choices made by `configure' or to help
1537 it to find libraries and programs with nonstandard names/locations.
1538
1539 Report bugs to <w1hkj AT w1hkj DOT com>.
1540 _ACEOF
1541 ac_status=$?
1542 fi
1543
1544 if test "$ac_init_help" = "recursive"; then
1545 # If there are subdirs, report their specific --help.
1546 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1547 test -d "$ac_dir" ||
1548 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1549 continue
1550 ac_builddir=.
1551
1552 case "$ac_dir" in
1553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 *)
1555 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1556 # A ".." for each directory in $ac_dir_suffix.
1557 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1558 case $ac_top_builddir_sub in
1559 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1561 esac ;;
1562 esac
1563 ac_abs_top_builddir=$ac_pwd
1564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1565 # for backward compatibility:
1566 ac_top_builddir=$ac_top_build_prefix
1567
1568 case $srcdir in
1569 .) # We are building in place.
1570 ac_srcdir=.
1571 ac_top_srcdir=$ac_top_builddir_sub
1572 ac_abs_top_srcdir=$ac_pwd ;;
1573 [\\/]* | ?:[\\/]* ) # Absolute name.
1574 ac_srcdir=$srcdir$ac_dir_suffix;
1575 ac_top_srcdir=$srcdir
1576 ac_abs_top_srcdir=$srcdir ;;
1577 *) # Relative name.
1578 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1579 ac_top_srcdir=$ac_top_build_prefix$srcdir
1580 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1581 esac
1582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1583
1584 cd "$ac_dir" || { ac_status=$?; continue; }
1585 # Check for configure.gnu first; this name is used for a wrapper for
1586 # Metaconfig's "Configure" on case-insensitive file systems.
1587 if test -f "$ac_srcdir/configure.gnu"; then
1588 echo &&
1589 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1590 elif test -f "$ac_srcdir/configure"; then
1591 echo &&
1592 $SHELL "$ac_srcdir/configure" --help=recursive
1593 else
1594 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1595 fi || ac_status=$?
1596 cd "$ac_pwd" || { ac_status=$?; break; }
1597 done
1598 fi
1599
1600 test -n "$ac_init_help" && exit $ac_status
1601 if $ac_init_version; then
1602 cat <<\_ACEOF
1603 FLMSG configure 4.0.23
1604 generated by GNU Autoconf 2.71
1605
1606 Copyright (C) 2021 Free Software Foundation, Inc.
1607 This configure script is free software; the Free Software Foundation
1608 gives unlimited permission to copy, distribute and modify it.
1609
1610 Copyright (C) 2016 Dave Freese, W1HKJ (w1hkj AT w1hkj DOT com)
1611 _ACEOF
1612 exit
1613 fi
1614
1615 ## ------------------------ ##
1616 ## Autoconf initialization. ##
1617 ## ------------------------ ##
1618
1619 # ac_fn_cxx_try_compile LINENO
1620 # ----------------------------
1621 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1622 ac_fn_cxx_try_compile ()
1623 {
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 rm -f conftest.$ac_objext conftest.beam
1626 if { { ac_try="$ac_compile"
1627 case "(($ac_try" in
1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629 *) ac_try_echo=$ac_try;;
1630 esac
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 printf "%s\n" "$ac_try_echo"; } >&5
1633 (eval "$ac_compile") 2>conftest.err
1634 ac_status=$?
1635 if test -s conftest.err; then
1636 grep -v '^ *+' conftest.err >conftest.er1
1637 cat conftest.er1 >&5
1638 mv -f conftest.er1 conftest.err
1639 fi
1640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } && {
1642 test -z "$ac_cxx_werror_flag" ||
1643 test ! -s conftest.err
1644 } && test -s conftest.$ac_objext
1645 then :
1646 ac_retval=0
1647 else $as_nop
1648 printf "%s\n" "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1650
1651 ac_retval=1
1652 fi
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1655
1656 } # ac_fn_cxx_try_compile
1657
1658 # ac_fn_c_try_compile LINENO
1659 # --------------------------
1660 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1661 ac_fn_c_try_compile ()
1662 {
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 rm -f conftest.$ac_objext conftest.beam
1665 if { { ac_try="$ac_compile"
1666 case "(($ac_try" in
1667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1669 esac
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 printf "%s\n" "$ac_try_echo"; } >&5
1672 (eval "$ac_compile") 2>conftest.err
1673 ac_status=$?
1674 if test -s conftest.err; then
1675 grep -v '^ *+' conftest.err >conftest.er1
1676 cat conftest.er1 >&5
1677 mv -f conftest.er1 conftest.err
1678 fi
1679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; } && {
1681 test -z "$ac_c_werror_flag" ||
1682 test ! -s conftest.err
1683 } && test -s conftest.$ac_objext
1684 then :
1685 ac_retval=0
1686 else $as_nop
1687 printf "%s\n" "$as_me: failed program was:" >&5
1688 sed 's/^/| /' conftest.$ac_ext >&5
1689
1690 ac_retval=1
1691 fi
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 as_fn_set_status $ac_retval
1694
1695 } # ac_fn_c_try_compile
1696
1697 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1698 # -------------------------------------------------------
1699 # Tests whether HEADER exists and can be compiled using the include files in
1700 # INCLUDES, setting the cache variable VAR accordingly.
1701 ac_fn_c_check_header_compile ()
1702 {
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1705 printf %s "checking for $2... " >&6; }
1706 if eval test \${$3+y}
1707 then :
1708 printf %s "(cached) " >&6
1709 else $as_nop
1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1711 /* end confdefs.h. */
1712 $4
1713 #include <$2>
1714 _ACEOF
1715 if ac_fn_c_try_compile "$LINENO"
1716 then :
1717 eval "$3=yes"
1718 else $as_nop
1719 eval "$3=no"
1720 fi
1721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1722 fi
1723 eval ac_res=\$$3
1724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1725 printf "%s\n" "$ac_res" >&6; }
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727
1728 } # ac_fn_c_check_header_compile
1729
1730 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1731 # -------------------------------------------
1732 # Tests whether TYPE exists after having included INCLUDES, setting cache
1733 # variable VAR accordingly.
1734 ac_fn_c_check_type ()
1735 {
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 printf %s "checking for $2... " >&6; }
1739 if eval test \${$3+y}
1740 then :
1741 printf %s "(cached) " >&6
1742 else $as_nop
1743 eval "$3=no"
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1746 $4
1747 int
1748 main (void)
1749 {
1750 if (sizeof ($2))
1751 return 0;
1752 ;
1753 return 0;
1754 }
1755 _ACEOF
1756 if ac_fn_c_try_compile "$LINENO"
1757 then :
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h. */
1760 $4
1761 int
1762 main (void)
1763 {
1764 if (sizeof (($2)))
1765 return 0;
1766 ;
1767 return 0;
1768 }
1769 _ACEOF
1770 if ac_fn_c_try_compile "$LINENO"
1771 then :
1772
1773 else $as_nop
1774 eval "$3=yes"
1775 fi
1776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1777 fi
1778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1779 fi
1780 eval ac_res=\$$3
1781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 printf "%s\n" "$ac_res" >&6; }
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784
1785 } # ac_fn_c_check_type
1786
1787 # ac_fn_c_try_link LINENO
1788 # -----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_link ()
1791 {
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1794 if { { ac_try="$ac_link"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 printf "%s\n" "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1807 fi
1808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest$ac_exeext && {
1813 test "$cross_compiling" = yes ||
1814 test -x conftest$ac_exeext
1815 }
1816 then :
1817 ac_retval=0
1818 else $as_nop
1819 printf "%s\n" "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1821
1822 ac_retval=1
1823 fi
1824 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1825 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1826 # interfere with the next link command; also delete a directory that is
1827 # left behind by Apple's compiler. We do this before executing the actions.
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 as_fn_set_status $ac_retval
1831
1832 } # ac_fn_c_try_link
1833
1834 # ac_fn_c_check_func LINENO FUNC VAR
1835 # ----------------------------------
1836 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1837 ac_fn_c_check_func ()
1838 {
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 printf %s "checking for $2... " >&6; }
1842 if eval test \${$3+y}
1843 then :
1844 printf %s "(cached) " >&6
1845 else $as_nop
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1848 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1850 #define $2 innocuous_$2
1851
1852 /* System header to define __stub macros and hopefully few prototypes,
1853 which can conflict with char $2 (); below. */
1854
1855 #include <limits.h>
1856 #undef $2
1857
1858 /* Override any GCC internal prototype to avoid an error.
1859 Use char because int might match the return type of a GCC
1860 builtin and then its argument prototype would still apply. */
1861 #ifdef __cplusplus
1862 extern "C"
1863 #endif
1864 char $2 ();
1865 /* The GNU C library defines this for functions which it implements
1866 to always fail with ENOSYS. Some functions are actually named
1867 something starting with __ and the normal name is an alias. */
1868 #if defined __stub_$2 || defined __stub___$2
1869 choke me
1870 #endif
1871
1872 int
1873 main (void)
1874 {
1875 return $2 ();
1876 ;
1877 return 0;
1878 }
1879 _ACEOF
1880 if ac_fn_c_try_link "$LINENO"
1881 then :
1882 eval "$3=yes"
1883 else $as_nop
1884 eval "$3=no"
1885 fi
1886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1887 conftest$ac_exeext conftest.$ac_ext
1888 fi
1889 eval ac_res=\$$3
1890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 printf "%s\n" "$ac_res" >&6; }
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1893
1894 } # ac_fn_c_check_func
1895
1896 # ac_fn_cxx_try_link LINENO
1897 # -------------------------
1898 # Try to link conftest.$ac_ext, and return whether this succeeded.
1899 ac_fn_cxx_try_link ()
1900 {
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1903 if { { ac_try="$ac_link"
1904 case "(($ac_try" in
1905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1906 *) ac_try_echo=$ac_try;;
1907 esac
1908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 printf "%s\n" "$ac_try_echo"; } >&5
1910 (eval "$ac_link") 2>conftest.err
1911 ac_status=$?
1912 if test -s conftest.err; then
1913 grep -v '^ *+' conftest.err >conftest.er1
1914 cat conftest.er1 >&5
1915 mv -f conftest.er1 conftest.err
1916 fi
1917 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && {
1919 test -z "$ac_cxx_werror_flag" ||
1920 test ! -s conftest.err
1921 } && test -s conftest$ac_exeext && {
1922 test "$cross_compiling" = yes ||
1923 test -x conftest$ac_exeext
1924 }
1925 then :
1926 ac_retval=0
1927 else $as_nop
1928 printf "%s\n" "$as_me: failed program was:" >&5
1929 sed 's/^/| /' conftest.$ac_ext >&5
1930
1931 ac_retval=1
1932 fi
1933 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1934 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1935 # interfere with the next link command; also delete a directory that is
1936 # left behind by Apple's compiler. We do this before executing the actions.
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 as_fn_set_status $ac_retval
1940
1941 } # ac_fn_cxx_try_link
1942 ac_configure_args_raw=
1943 for ac_arg
1944 do
1945 case $ac_arg in
1946 *\'*)
1947 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1948 esac
1949 as_fn_append ac_configure_args_raw " '$ac_arg'"
1950 done
1951
1952 case $ac_configure_args_raw in
1953 *$as_nl*)
1954 ac_safe_unquote= ;;
1955 *)
1956 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1957 ac_unsafe_a="$ac_unsafe_z#~"
1958 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1959 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1960 esac
1961
1962 cat >config.log <<_ACEOF
1963 This file contains any messages produced by compilers while
1964 running configure, to aid debugging if configure makes a mistake.
1965
1966 It was created by FLMSG $as_me 4.0.23, which was
1967 generated by GNU Autoconf 2.71. Invocation command line was
1968
1969 $ $0$ac_configure_args_raw
1970
1971 _ACEOF
1972 exec 5>>config.log
1973 {
1974 cat <<_ASUNAME
1975 ## --------- ##
1976 ## Platform. ##
1977 ## --------- ##
1978
1979 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1980 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1981 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1982 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1983 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1984
1985 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1986 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1987
1988 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1989 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1990 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1991 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1992 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1993 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1994 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1995
1996 _ASUNAME
1997
1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 for as_dir in $PATH
2000 do
2001 IFS=$as_save_IFS
2002 case $as_dir in #(((
2003 '') as_dir=./ ;;
2004 */) ;;
2005 *) as_dir=$as_dir/ ;;
2006 esac
2007 printf "%s\n" "PATH: $as_dir"
2008 done
2009 IFS=$as_save_IFS
2010
2011 } >&5
2012
2013 cat >&5 <<_ACEOF
2014
2015
2016 ## ----------- ##
2017 ## Core tests. ##
2018 ## ----------- ##
2019
2020 _ACEOF
2021
2022
2023 # Keep a trace of the command line.
2024 # Strip out --no-create and --no-recursion so they do not pile up.
2025 # Strip out --silent because we don't want to record it for future runs.
2026 # Also quote any args containing shell meta-characters.
2027 # Make two passes to allow for proper duplicate-argument suppression.
2028 ac_configure_args=
2029 ac_configure_args0=
2030 ac_configure_args1=
2031 ac_must_keep_next=false
2032 for ac_pass in 1 2
2033 do
2034 for ac_arg
2035 do
2036 case $ac_arg in
2037 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2039 | -silent | --silent | --silen | --sile | --sil)
2040 continue ;;
2041 *\'*)
2042 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2043 esac
2044 case $ac_pass in
2045 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2046 2)
2047 as_fn_append ac_configure_args1 " '$ac_arg'"
2048 if test $ac_must_keep_next = true; then
2049 ac_must_keep_next=false # Got value, back to normal.
2050 else
2051 case $ac_arg in
2052 *=* | --config-cache | -C | -disable-* | --disable-* \
2053 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2054 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2055 | -with-* | --with-* | -without-* | --without-* | --x)
2056 case "$ac_configure_args0 " in
2057 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2058 esac
2059 ;;
2060 -* ) ac_must_keep_next=true ;;
2061 esac
2062 fi
2063 as_fn_append ac_configure_args " '$ac_arg'"
2064 ;;
2065 esac
2066 done
2067 done
2068 { ac_configure_args0=; unset ac_configure_args0;}
2069 { ac_configure_args1=; unset ac_configure_args1;}
2070
2071 # When interrupted or exit'd, cleanup temporary files, and complete
2072 # config.log. We remove comments because anyway the quotes in there
2073 # would cause problems or look ugly.
2074 # WARNING: Use '\'' to represent an apostrophe within the trap.
2075 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2076 trap 'exit_status=$?
2077 # Sanitize IFS.
2078 IFS=" "" $as_nl"
2079 # Save into config.log some information that might help in debugging.
2080 {
2081 echo
2082
2083 printf "%s\n" "## ---------------- ##
2084 ## Cache variables. ##
2085 ## ---------------- ##"
2086 echo
2087 # The following way of writing the cache mishandles newlines in values,
2088 (
2089 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2090 eval ac_val=\$$ac_var
2091 case $ac_val in #(
2092 *${as_nl}*)
2093 case $ac_var in #(
2094 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2095 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2096 esac
2097 case $ac_var in #(
2098 _ | IFS | as_nl) ;; #(
2099 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2100 *) { eval $ac_var=; unset $ac_var;} ;;
2101 esac ;;
2102 esac
2103 done
2104 (set) 2>&1 |
2105 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2106 *${as_nl}ac_space=\ *)
2107 sed -n \
2108 "s/'\''/'\''\\\\'\'''\''/g;
2109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2110 ;; #(
2111 *)
2112 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2113 ;;
2114 esac |
2115 sort
2116 )
2117 echo
2118
2119 printf "%s\n" "## ----------------- ##
2120 ## Output variables. ##
2121 ## ----------------- ##"
2122 echo
2123 for ac_var in $ac_subst_vars
2124 do
2125 eval ac_val=\$$ac_var
2126 case $ac_val in
2127 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2128 esac
2129 printf "%s\n" "$ac_var='\''$ac_val'\''"
2130 done | sort
2131 echo
2132
2133 if test -n "$ac_subst_files"; then
2134 printf "%s\n" "## ------------------- ##
2135 ## File substitutions. ##
2136 ## ------------------- ##"
2137 echo
2138 for ac_var in $ac_subst_files
2139 do
2140 eval ac_val=\$$ac_var
2141 case $ac_val in
2142 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2143 esac
2144 printf "%s\n" "$ac_var='\''$ac_val'\''"
2145 done | sort
2146 echo
2147 fi
2148
2149 if test -s confdefs.h; then
2150 printf "%s\n" "## ----------- ##
2151 ## confdefs.h. ##
2152 ## ----------- ##"
2153 echo
2154 cat confdefs.h
2155 echo
2156 fi
2157 test "$ac_signal" != 0 &&
2158 printf "%s\n" "$as_me: caught signal $ac_signal"
2159 printf "%s\n" "$as_me: exit $exit_status"
2160 } >&5
2161 rm -f core *.core core.conftest.* &&
2162 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2163 exit $exit_status
2164 ' 0
2165 for ac_signal in 1 2 13 15; do
2166 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2167 done
2168 ac_signal=0
2169
2170 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2171 rm -f -r conftest* confdefs.h
2172
2173 printf "%s\n" "/* confdefs.h */" > confdefs.h
2174
2175 # Predefined preprocessor variables.
2176
2177 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2178
2179 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2180
2181 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2182
2183 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2184
2185 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2186
2187 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2188
2189
2190 # Let the site file select an alternate cache file if it wants to.
2191 # Prefer an explicitly selected file to automatically selected ones.
2192 if test -n "$CONFIG_SITE"; then
2193 ac_site_files="$CONFIG_SITE"
2194 elif test "x$prefix" != xNONE; then
2195 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2196 else
2197 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2198 fi
2199
2200 for ac_site_file in $ac_site_files
2201 do
2202 case $ac_site_file in #(
2203 */*) :
2204 ;; #(
2205 *) :
2206 ac_site_file=./$ac_site_file ;;
2207 esac
2208 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2210 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2211 sed 's/^/| /' "$ac_site_file" >&5
2212 . "$ac_site_file" \
2213 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2214 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2215 as_fn_error $? "failed to load site script $ac_site_file
2216 See \`config.log' for more details" "$LINENO" 5; }
2217 fi
2218 done
2219
2220 if test -r "$cache_file"; then
2221 # Some versions of bash will fail to source /dev/null (special files
2222 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2223 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2225 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2226 case $cache_file in
2227 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2228 *) . "./$cache_file";;
2229 esac
2230 fi
2231 else
2232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2233 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2234 >$cache_file
2235 fi
2236
2237 # Test code for whether the C++ compiler supports C++98 (global declarations)
2238 ac_cxx_conftest_cxx98_globals='
2239 // Does the compiler advertise C++98 conformance?
2240 #if !defined __cplusplus || __cplusplus < 199711L
2241 # error "Compiler does not advertise C++98 conformance"
2242 #endif
2243
2244 // These inclusions are to reject old compilers that
2245 // lack the unsuffixed header files.
2246 #include <cstdlib>
2247 #include <exception>
2248
2249 // <cassert> and <cstring> are *not* freestanding headers in C++98.
2250 extern void assert (int);
2251 namespace std {
2252 extern int strcmp (const char *, const char *);
2253 }
2254
2255 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
2256 using std::exception;
2257 using std::strcmp;
2258
2259 namespace {
2260
2261 void test_exception_syntax()
2262 {
2263 try {
2264 throw "test";
2265 } catch (const char *s) {
2266 // Extra parentheses suppress a warning when building autoconf itself,
2267 // due to lint rules shared with more typical C programs.
2268 assert (!(strcmp) (s, "test"));
2269 }
2270 }
2271
2272 template <typename T> struct test_template
2273 {
2274 T const val;
2275 explicit test_template(T t) : val(t) {}
2276 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2277 };
2278
2279 } // anonymous namespace
2280 '
2281
2282 # Test code for whether the C++ compiler supports C++98 (body of main)
2283 ac_cxx_conftest_cxx98_main='
2284 assert (argc);
2285 assert (! argv[0]);
2286 {
2287 test_exception_syntax ();
2288 test_template<double> tt (2.0);
2289 assert (tt.add (4) == 6.0);
2290 assert (true && !false);
2291 }
2292 '
2293
2294 # Test code for whether the C++ compiler supports C++11 (global declarations)
2295 ac_cxx_conftest_cxx11_globals='
2296 // Does the compiler advertise C++ 2011 conformance?
2297 #if !defined __cplusplus || __cplusplus < 201103L
2298 # error "Compiler does not advertise C++11 conformance"
2299 #endif
2300
2301 namespace cxx11test
2302 {
2303 constexpr int get_val() { return 20; }
2304
2305 struct testinit
2306 {
2307 int i;
2308 double d;
2309 };
2310
2311 class delegate
2312 {
2313 public:
2314 delegate(int n) : n(n) {}
2315 delegate(): delegate(2354) {}
2316
2317 virtual int getval() { return this->n; };
2318 protected:
2319 int n;
2320 };
2321
2322 class overridden : public delegate
2323 {
2324 public:
2325 overridden(int n): delegate(n) {}
2326 virtual int getval() override final { return this->n * 2; }
2327 };
2328
2329 class nocopy
2330 {
2331 public:
2332 nocopy(int i): i(i) {}
2333 nocopy() = default;
2334 nocopy(const nocopy&) = delete;
2335 nocopy & operator=(const nocopy&) = delete;
2336 private:
2337 int i;
2338 };
2339
2340 // for testing lambda expressions
2341 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2342 {
2343 return f(v);
2344 }
2345
2346 // for testing variadic templates and trailing return types
2347 template <typename V> auto sum(V first) -> V
2348 {
2349 return first;
2350 }
2351 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
2352 {
2353 return first + sum(rest...);
2354 }
2355 }
2356 '
2357
2358 # Test code for whether the C++ compiler supports C++11 (body of main)
2359 ac_cxx_conftest_cxx11_main='
2360 {
2361 // Test auto and decltype
2362 auto a1 = 6538;
2363 auto a2 = 48573953.4;
2364 auto a3 = "String literal";
2365
2366 int total = 0;
2367 for (auto i = a3; *i; ++i) { total += *i; }
2368
2369 decltype(a2) a4 = 34895.034;
2370 }
2371 {
2372 // Test constexpr
2373 short sa[cxx11test::get_val()] = { 0 };
2374 }
2375 {
2376 // Test initializer lists
2377 cxx11test::testinit il = { 4323, 435234.23544 };
2378 }
2379 {
2380 // Test range-based for
2381 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
2382 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
2383 for (auto &x : array) { x += 23; }
2384 }
2385 {
2386 // Test lambda expressions
2387 using cxx11test::eval;
2388 assert (eval ([](int x) { return x*2; }, 21) == 42);
2389 double d = 2.0;
2390 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
2391 assert (d == 5.0);
2392 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
2393 assert (d == 5.0);
2394 }
2395 {
2396 // Test use of variadic templates
2397 using cxx11test::sum;
2398 auto a = sum(1);
2399 auto b = sum(1, 2);
2400 auto c = sum(1.0, 2.0, 3.0);
2401 }
2402 {
2403 // Test constructor delegation
2404 cxx11test::delegate d1;
2405 cxx11test::delegate d2();
2406 cxx11test::delegate d3(45);
2407 }
2408 {
2409 // Test override and final
2410 cxx11test::overridden o1(55464);
2411 }
2412 {
2413 // Test nullptr
2414 char *c = nullptr;
2415 }
2416 {
2417 // Test template brackets
2418 test_template<::test_template<int>> v(test_template<int>(12));
2419 }
2420 {
2421 // Unicode literals
2422 char const *utf8 = u8"UTF-8 string \u2500";
2423 char16_t const *utf16 = u"UTF-8 string \u2500";
2424 char32_t const *utf32 = U"UTF-32 string \u2500";
2425 }
2426 '
2427
2428 # Test code for whether the C compiler supports C++11 (complete).
2429 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
2430 ${ac_cxx_conftest_cxx11_globals}
2431
2432 int
2433 main (int argc, char **argv)
2434 {
2435 int ok = 0;
2436 ${ac_cxx_conftest_cxx98_main}
2437 ${ac_cxx_conftest_cxx11_main}
2438 return ok;
2439 }
2440 "
2441
2442 # Test code for whether the C compiler supports C++98 (complete).
2443 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
2444 int
2445 main (int argc, char **argv)
2446 {
2447 int ok = 0;
2448 ${ac_cxx_conftest_cxx98_main}
2449 return ok;
2450 }
2451 "
2452
2453 # Test code for whether the C compiler supports C89 (global declarations)
2454 ac_c_conftest_c89_globals='
2455 /* Does the compiler advertise C89 conformance?
2456 Do not test the value of __STDC__, because some compilers set it to 0
2457 while being otherwise adequately conformant. */
2458 #if !defined __STDC__
2459 # error "Compiler does not advertise C89 conformance"
2460 #endif
2461
2462 #include <stddef.h>
2463 #include <stdarg.h>
2464 struct stat;
2465 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2466 struct buf { int x; };
2467 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2468 static char *e (p, i)
2469 char **p;
2470 int i;
2471 {
2472 return p[i];
2473 }
2474 static char *f (char * (*g) (char **, int), char **p, ...)
2475 {
2476 char *s;
2477 va_list v;
2478 va_start (v,p);
2479 s = g (p, va_arg (v,int));
2480 va_end (v);
2481 return s;
2482 }
2483
2484 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2485 function prototypes and stuff, but not \xHH hex character constants.
2486 These do not provoke an error unfortunately, instead are silently treated
2487 as an "x". The following induces an error, until -std is added to get
2488 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2489 array size at least. It is necessary to write \x00 == 0 to get something
2490 that is true only with -std. */
2491 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2492
2493 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2494 inside strings and character constants. */
2495 #define FOO(x) '\''x'\''
2496 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2497
2498 int test (int i, double x);
2499 struct s1 {int (*f) (int a);};
2500 struct s2 {int (*f) (double a);};
2501 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2502 int, int);'
2503
2504 # Test code for whether the C compiler supports C89 (body of main).
2505 ac_c_conftest_c89_main='
2506 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2507 '
2508
2509 # Test code for whether the C compiler supports C99 (global declarations)
2510 ac_c_conftest_c99_globals='
2511 // Does the compiler advertise C99 conformance?
2512 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2513 # error "Compiler does not advertise C99 conformance"
2514 #endif
2515
2516 #include <stdbool.h>
2517 extern int puts (const char *);
2518 extern int printf (const char *, ...);
2519 extern int dprintf (int, const char *, ...);
2520 extern void *malloc (size_t);
2521
2522 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2523 // dprintf is used instead of fprintf to avoid needing to declare
2524 // FILE and stderr.
2525 #define debug(...) dprintf (2, __VA_ARGS__)
2526 #define showlist(...) puts (#__VA_ARGS__)
2527 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2528 static void
2529 test_varargs_macros (void)
2530 {
2531 int x = 1234;
2532 int y = 5678;
2533 debug ("Flag");
2534 debug ("X = %d\n", x);
2535 showlist (The first, second, and third items.);
2536 report (x>y, "x is %d but y is %d", x, y);
2537 }
2538
2539 // Check long long types.
2540 #define BIG64 18446744073709551615ull
2541 #define BIG32 4294967295ul
2542 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2543 #if !BIG_OK
2544 #error "your preprocessor is broken"
2545 #endif
2546 #if BIG_OK
2547 #else
2548 #error "your preprocessor is broken"
2549 #endif
2550 static long long int bignum = -9223372036854775807LL;
2551 static unsigned long long int ubignum = BIG64;
2552
2553 struct incomplete_array
2554 {
2555 int datasize;
2556 double data[];
2557 };
2558
2559 struct named_init {
2560 int number;
2561 const wchar_t *name;
2562 double average;
2563 };
2564
2565 typedef const char *ccp;
2566
2567 static inline int
2568 test_restrict (ccp restrict text)
2569 {
2570 // See if C++-style comments work.
2571 // Iterate through items via the restricted pointer.
2572 // Also check for declarations in for loops.
2573 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2574 continue;
2575 return 0;
2576 }
2577
2578 // Check varargs and va_copy.
2579 static bool
2580 test_varargs (const char *format, ...)
2581 {
2582 va_list args;
2583 va_start (args, format);
2584 va_list args_copy;
2585 va_copy (args_copy, args);
2586
2587 const char *str = "";
2588 int number = 0;
2589 float fnumber = 0;
2590
2591 while (*format)
2592 {
2593 switch (*format++)
2594 {
2595 case '\''s'\'': // string
2596 str = va_arg (args_copy, const char *);
2597 break;
2598 case '\''d'\'': // int
2599 number = va_arg (args_copy, int);
2600 break;
2601 case '\''f'\'': // float
2602 fnumber = va_arg (args_copy, double);
2603 break;
2604 default:
2605 break;
2606 }
2607 }
2608 va_end (args_copy);
2609 va_end (args);
2610
2611 return *str && number && fnumber;
2612 }
2613 '
2614
2615 # Test code for whether the C compiler supports C99 (body of main).
2616 ac_c_conftest_c99_main='
2617 // Check bool.
2618 _Bool success = false;
2619 success |= (argc != 0);
2620
2621 // Check restrict.
2622 if (test_restrict ("String literal") == 0)
2623 success = true;
2624 char *restrict newvar = "Another string";
2625
2626 // Check varargs.
2627 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2628 test_varargs_macros ();
2629
2630 // Check flexible array members.
2631 struct incomplete_array *ia =
2632 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2633 ia->datasize = 10;
2634 for (int i = 0; i < ia->datasize; ++i)
2635 ia->data[i] = i * 1.234;
2636
2637 // Check named initializers.
2638 struct named_init ni = {
2639 .number = 34,
2640 .name = L"Test wide string",
2641 .average = 543.34343,
2642 };
2643
2644 ni.number = 58;
2645
2646 int dynamic_array[ni.number];
2647 dynamic_array[0] = argv[0][0];
2648 dynamic_array[ni.number - 1] = 543;
2649
2650 // work around unused variable warnings
2651 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2652 || dynamic_array[ni.number - 1] != 543);
2653 '
2654
2655 # Test code for whether the C compiler supports C11 (global declarations)
2656 ac_c_conftest_c11_globals='
2657 // Does the compiler advertise C11 conformance?
2658 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2659 # error "Compiler does not advertise C11 conformance"
2660 #endif
2661
2662 // Check _Alignas.
2663 char _Alignas (double) aligned_as_double;
2664 char _Alignas (0) no_special_alignment;
2665 extern char aligned_as_int;
2666 char _Alignas (0) _Alignas (int) aligned_as_int;
2667
2668 // Check _Alignof.
2669 enum
2670 {
2671 int_alignment = _Alignof (int),
2672 int_array_alignment = _Alignof (int[100]),
2673 char_alignment = _Alignof (char)
2674 };
2675 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2676
2677 // Check _Noreturn.
2678 int _Noreturn does_not_return (void) { for (;;) continue; }
2679
2680 // Check _Static_assert.
2681 struct test_static_assert
2682 {
2683 int x;
2684 _Static_assert (sizeof (int) <= sizeof (long int),
2685 "_Static_assert does not work in struct");
2686 long int y;
2687 };
2688
2689 // Check UTF-8 literals.
2690 #define u8 syntax error!
2691 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2692
2693 // Check duplicate typedefs.
2694 typedef long *long_ptr;
2695 typedef long int *long_ptr;
2696 typedef long_ptr long_ptr;
2697
2698 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2699 struct anonymous
2700 {
2701 union {
2702 struct { int i; int j; };
2703 struct { int k; long int l; } w;
2704 };
2705 int m;
2706 } v1;
2707 '
2708
2709 # Test code for whether the C compiler supports C11 (body of main).
2710 ac_c_conftest_c11_main='
2711 _Static_assert ((offsetof (struct anonymous, i)
2712 == offsetof (struct anonymous, w.k)),
2713 "Anonymous union alignment botch");
2714 v1.i = 2;
2715 v1.w.k = 5;
2716 ok |= v1.i != 5;
2717 '
2718
2719 # Test code for whether the C compiler supports C11 (complete).
2720 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2721 ${ac_c_conftest_c99_globals}
2722 ${ac_c_conftest_c11_globals}
2723
2724 int
2725 main (int argc, char **argv)
2726 {
2727 int ok = 0;
2728 ${ac_c_conftest_c89_main}
2729 ${ac_c_conftest_c99_main}
2730 ${ac_c_conftest_c11_main}
2731 return ok;
2732 }
2733 "
2734
2735 # Test code for whether the C compiler supports C99 (complete).
2736 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2737 ${ac_c_conftest_c99_globals}
2738
2739 int
2740 main (int argc, char **argv)
2741 {
2742 int ok = 0;
2743 ${ac_c_conftest_c89_main}
2744 ${ac_c_conftest_c99_main}
2745 return ok;
2746 }
2747 "
2748
2749 # Test code for whether the C compiler supports C89 (complete).
2750 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2751
2752 int
2753 main (int argc, char **argv)
2754 {
2755 int ok = 0;
2756 ${ac_c_conftest_c89_main}
2757 return ok;
2758 }
2759 "
2760
2761 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2762 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2763 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2764 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2765 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2766 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2767 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2768 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2769 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2770 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2771 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2772
2773 # Auxiliary files required by this configure script.
2774 ac_aux_files="compile missing install-sh config.guess config.sub"
2775
2776 # Locations in which to look for auxiliary files.
2777 ac_aux_dir_candidates="${srcdir}/build-aux"
2778
2779 # Search for a directory containing all of the required auxiliary files,
2780 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2781 # If we don't find one directory that contains all the files we need,
2782 # we report the set of missing files from the *first* directory in
2783 # $ac_aux_dir_candidates and give up.
2784 ac_missing_aux_files=""
2785 ac_first_candidate=:
2786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788 as_found=false
2789 for as_dir in $ac_aux_dir_candidates
2790 do
2791 IFS=$as_save_IFS
2792 case $as_dir in #(((
2793 '') as_dir=./ ;;
2794 */) ;;
2795 *) as_dir=$as_dir/ ;;
2796 esac
2797 as_found=:
2798
2799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2800 ac_aux_dir_found=yes
2801 ac_install_sh=
2802 for ac_aux in $ac_aux_files
2803 do
2804 # As a special case, if "install-sh" is required, that requirement
2805 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2806 # and $ac_install_sh is set appropriately for whichever one is found.
2807 if test x"$ac_aux" = x"install-sh"
2808 then
2809 if test -f "${as_dir}install-sh"; then
2810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2811 ac_install_sh="${as_dir}install-sh -c"
2812 elif test -f "${as_dir}install.sh"; then
2813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2814 ac_install_sh="${as_dir}install.sh -c"
2815 elif test -f "${as_dir}shtool"; then
2816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2817 ac_install_sh="${as_dir}shtool install -c"
2818 else
2819 ac_aux_dir_found=no
2820 if $ac_first_candidate; then
2821 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2822 else
2823 break
2824 fi
2825 fi
2826 else
2827 if test -f "${as_dir}${ac_aux}"; then
2828 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2829 else
2830 ac_aux_dir_found=no
2831 if $ac_first_candidate; then
2832 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2833 else
2834 break
2835 fi
2836 fi
2837 fi
2838 done
2839 if test "$ac_aux_dir_found" = yes; then
2840 ac_aux_dir="$as_dir"
2841 break
2842 fi
2843 ac_first_candidate=false
2844
2845 as_found=false
2846 done
2847 IFS=$as_save_IFS
2848 if $as_found
2849 then :
2850
2851 else $as_nop
2852 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2853 fi
2854
2855
2856 # These three variables are undocumented and unsupported,
2857 # and are intended to be withdrawn in a future Autoconf release.
2858 # They can cause serious problems if a builder's source tree is in a directory
2859 # whose full name contains unusual characters.
2860 if test -f "${ac_aux_dir}config.guess"; then
2861 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2862 fi
2863 if test -f "${ac_aux_dir}config.sub"; then
2864 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2865 fi
2866 if test -f "$ac_aux_dir/configure"; then
2867 ac_configure="$SHELL ${ac_aux_dir}configure"
2868 fi
2869
2870 # Check that the precious variables saved in the cache have kept the same
2871 # value.
2872 ac_cache_corrupted=false
2873 for ac_var in $ac_precious_vars; do
2874 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2875 eval ac_new_set=\$ac_env_${ac_var}_set
2876 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2877 eval ac_new_val=\$ac_env_${ac_var}_value
2878 case $ac_old_set,$ac_new_set in
2879 set,)
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2881 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2882 ac_cache_corrupted=: ;;
2883 ,set)
2884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2885 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2886 ac_cache_corrupted=: ;;
2887 ,);;
2888 *)
2889 if test "x$ac_old_val" != "x$ac_new_val"; then
2890 # differences in whitespace do not lead to failure.
2891 ac_old_val_w=`echo x $ac_old_val`
2892 ac_new_val_w=`echo x $ac_new_val`
2893 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2895 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2896 ac_cache_corrupted=:
2897 else
2898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2899 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2900 eval $ac_var=\$ac_old_val
2901 fi
2902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2903 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2905 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2906 fi;;
2907 esac
2908 # Pass precious variables to config.status.
2909 if test "$ac_new_set" = set; then
2910 case $ac_new_val in
2911 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2912 *) ac_arg=$ac_var=$ac_new_val ;;
2913 esac
2914 case " $ac_configure_args " in
2915 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2916 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2917 esac
2918 fi
2919 done
2920 if $ac_cache_corrupted; then
2921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2922 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2924 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2925 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2926 and start over" "$LINENO" 5
2927 fi
2928 ## -------------------- ##
2929 ## Main body of script. ##
2930 ## -------------------- ##
2931
2932 ac_ext=c
2933 ac_cpp='$CPP $CPPFLAGS'
2934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2937
2938
2939
2940 FLMSG_VERSION_MAJOR=4
2941
2942 FLMSG_VERSION_MINOR=0
2943
2944 FLMSG_VERSION_PATCH=.23
2945
2946 FLMSG_VERSION=4.0.23
2947
2948
2949
2950 printf "%s\n" "#define FLMSG_VERSION_MAJOR 4" >>confdefs.h
2951
2952
2953 printf "%s\n" "#define FLMSG_VERSION_MINOR 0" >>confdefs.h
2954
2955
2956 printf "%s\n" "#define FLMSG_VERSION_PATCH \".23\"" >>confdefs.h
2957
2958
2959 printf "%s\n" "#define FLMSG_VERSION \"4.0.23\"" >>confdefs.h
2960
2961
2962 AC_CONFIG_ARGS=$ac_configure_args
2963
2964
2965
2966 # define build, build_cpu, build_vendor, build_os
2967
2968
2969
2970 # Make sure we can run config.sub.
2971 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2972 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2973
2974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2975 printf %s "checking build system type... " >&6; }
2976 if test ${ac_cv_build+y}
2977 then :
2978 printf %s "(cached) " >&6
2979 else $as_nop
2980 ac_build_alias=$build_alias
2981 test "x$ac_build_alias" = x &&
2982 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2983 test "x$ac_build_alias" = x &&
2984 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2985 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2986 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2987
2988 fi
2989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2990 printf "%s\n" "$ac_cv_build" >&6; }
2991 case $ac_cv_build in
2992 *-*-*) ;;
2993 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2994 esac
2995 build=$ac_cv_build
2996 ac_save_IFS=$IFS; IFS='-'
2997 set x $ac_cv_build
2998 shift
2999 build_cpu=$1
3000 build_vendor=$2
3001 shift; shift
3002 # Remember, the first character of IFS is used to create $*,
3003 # except with old shells:
3004 build_os=$*
3005 IFS=$ac_save_IFS
3006 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3007
3008
3009 # define host, host_cpu, host_vendor, host_os
3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3011 printf %s "checking host system type... " >&6; }
3012 if test ${ac_cv_host+y}
3013 then :
3014 printf %s "(cached) " >&6
3015 else $as_nop
3016 if test "x$host_alias" = x; then
3017 ac_cv_host=$ac_cv_build
3018 else
3019 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3020 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3021 fi
3022
3023 fi
3024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3025 printf "%s\n" "$ac_cv_host" >&6; }
3026 case $ac_cv_host in
3027 *-*-*) ;;
3028 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3029 esac
3030 host=$ac_cv_host
3031 ac_save_IFS=$IFS; IFS='-'
3032 set x $ac_cv_host
3033 shift
3034 host_cpu=$1
3035 host_vendor=$2
3036 shift; shift
3037 # Remember, the first character of IFS is used to create $*,
3038 # except with old shells:
3039 host_os=$*
3040 IFS=$ac_save_IFS
3041 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3042
3043
3044 # define target, target_cpu, target_vendor, target_os
3045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3046 printf %s "checking target system type... " >&6; }
3047 if test ${ac_cv_target+y}
3048 then :
3049 printf %s "(cached) " >&6
3050 else $as_nop
3051 if test "x$target_alias" = x; then
3052 ac_cv_target=$ac_cv_host
3053 else
3054 ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
3055 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
3056 fi
3057
3058 fi
3059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3060 printf "%s\n" "$ac_cv_target" >&6; }
3061 case $ac_cv_target in
3062 *-*-*) ;;
3063 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3064 esac
3065 target=$ac_cv_target
3066 ac_save_IFS=$IFS; IFS='-'
3067 set x $ac_cv_target
3068 shift
3069 target_cpu=$1
3070 target_vendor=$2
3071 shift; shift
3072 # Remember, the first character of IFS is used to create $*,
3073 # except with old shells:
3074 target_os=$*
3075 IFS=$ac_save_IFS
3076 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3077
3078
3079 # The aliases save the names the user supplied, while $host etc.
3080 # will get canonicalized.
3081 test -n "$target_alias" &&
3082 test "$program_prefix$program_suffix$program_transform_name" = \
3083 NONENONEs,x,x, &&
3084 program_prefix=${target_alias}-
3085
3086 am__api_version='1.16'
3087
3088
3089 # Find a good install program. We prefer a C program (faster),
3090 # so one script is as good as another. But avoid the broken or
3091 # incompatible versions:
3092 # SysV /etc/install, /usr/sbin/install
3093 # SunOS /usr/etc/install
3094 # IRIX /sbin/install
3095 # AIX /bin/install
3096 # AmigaOS /C/install, which installs bootblocks on floppy discs
3097 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3098 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3099 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3100 # OS/2's system install, which has a completely different semantic
3101 # ./install, which can be erroneously created by make from ./install.sh.
3102 # Reject install programs that cannot install multiple files.
3103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3104 printf %s "checking for a BSD-compatible install... " >&6; }
3105 if test -z "$INSTALL"; then
3106 if test ${ac_cv_path_install+y}
3107 then :
3108 printf %s "(cached) " >&6
3109 else $as_nop
3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111 for as_dir in $PATH
3112 do
3113 IFS=$as_save_IFS
3114 case $as_dir in #(((
3115 '') as_dir=./ ;;
3116 */) ;;
3117 *) as_dir=$as_dir/ ;;
3118 esac
3119 # Account for fact that we put trailing slashes in our PATH walk.
3120 case $as_dir in #((
3121 ./ | /[cC]/* | \
3122 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3123 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3124 /usr/ucb/* ) ;;
3125 *)
3126 # OSF1 and SCO ODT 3.0 have their own names for install.
3127 # Don't use installbsd from OSF since it installs stuff as root
3128 # by default.
3129 for ac_prog in ginstall scoinst install; do
3130 for ac_exec_ext in '' $ac_executable_extensions; do
3131 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3132 if test $ac_prog = install &&
3133 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3134 # AIX install. It has an incompatible calling convention.
3135 :
3136 elif test $ac_prog = install &&
3137 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3138 # program-specific install script used by HP pwplus--don't use.
3139 :
3140 else
3141 rm -rf conftest.one conftest.two conftest.dir
3142 echo one > conftest.one
3143 echo two > conftest.two
3144 mkdir conftest.dir
3145 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3146 test -s conftest.one && test -s conftest.two &&
3147 test -s conftest.dir/conftest.one &&
3148 test -s conftest.dir/conftest.two
3149 then
3150 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3151 break 3
3152 fi
3153 fi
3154 fi
3155 done
3156 done
3157 ;;
3158 esac
3159
3160 done
3161 IFS=$as_save_IFS
3162
3163 rm -rf conftest.one conftest.two conftest.dir
3164
3165 fi
3166 if test ${ac_cv_path_install+y}; then
3167 INSTALL=$ac_cv_path_install
3168 else
3169 # As a last resort, use the slow shell script. Don't cache a
3170 # value for INSTALL within a source directory, because that will
3171 # break other packages using the cache if that directory is
3172 # removed, or if the value is a relative name.
3173 INSTALL=$ac_install_sh
3174 fi
3175 fi
3176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3177 printf "%s\n" "$INSTALL" >&6; }
3178
3179 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3180 # It thinks the first close brace ends the variable substitution.
3181 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3182
3183 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3184
3185 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3186
3187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3188 printf %s "checking whether build environment is sane... " >&6; }
3189 # Reject unsafe characters in $srcdir or the absolute working directory
3190 # name. Accept space and tab only in the latter.
3191 am_lf='
3192 '
3193 case `pwd` in
3194 *[\\\"\#\$\&\'\`$am_lf]*)
3195 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3196 esac
3197 case $srcdir in
3198 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3199 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3200 esac
3201
3202 # Do 'set' in a subshell so we don't clobber the current shell's
3203 # arguments. Must try -L first in case configure is actually a
3204 # symlink; some systems play weird games with the mod time of symlinks
3205 # (eg FreeBSD returns the mod time of the symlink's containing
3206 # directory).
3207 if (
3208 am_has_slept=no
3209 for am_try in 1 2; do
3210 echo "timestamp, slept: $am_has_slept" > conftest.file
3211 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3212 if test "$*" = "X"; then
3213 # -L didn't work.
3214 set X `ls -t "$srcdir/configure" conftest.file`
3215 fi
3216 if test "$*" != "X $srcdir/configure conftest.file" \
3217 && test "$*" != "X conftest.file $srcdir/configure"; then
3218
3219 # If neither matched, then we have a broken ls. This can happen
3220 # if, for instance, CONFIG_SHELL is bash and it inherits a
3221 # broken ls alias from the environment. This has actually
3222 # happened. Such a system could not be considered "sane".
3223 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3224 alias in your environment" "$LINENO" 5
3225 fi
3226 if test "$2" = conftest.file || test $am_try -eq 2; then
3227 break
3228 fi
3229 # Just in case.
3230 sleep 1
3231 am_has_slept=yes
3232 done
3233 test "$2" = conftest.file
3234 )
3235 then
3236 # Ok.
3237 :
3238 else
3239 as_fn_error $? "newly created file is older than distributed files!
3240 Check your system clock" "$LINENO" 5
3241 fi
3242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3243 printf "%s\n" "yes" >&6; }
3244 # If we didn't sleep, we still need to ensure time stamps of config.status and
3245 # generated files are strictly newer.
3246 am_sleep_pid=
3247 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3248 ( sleep 1 ) &
3249 am_sleep_pid=$!
3250 fi
3251
3252 rm -f conftest.file
3253
3254 test "$program_prefix" != NONE &&
3255 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3256 # Use a double $ so make ignores it.
3257 test "$program_suffix" != NONE &&
3258 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3259 # Double any \ or $.
3260 # By default was `s,x,x', remove it if useless.
3261 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3262 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3263
3264
3265 # Expand $ac_aux_dir to an absolute path.
3266 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3267
3268
3269 if test x"${MISSING+set}" != xset; then
3270 MISSING="\${SHELL} '$am_aux_dir/missing'"
3271 fi
3272 # Use eval to expand $SHELL
3273 if eval "$MISSING --is-lightweight"; then
3274 am_missing_run="$MISSING "
3275 else
3276 am_missing_run=
3277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3278 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3279 fi
3280
3281 if test x"${install_sh+set}" != xset; then
3282 case $am_aux_dir in
3283 *\ * | *\ *)
3284 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3285 *)
3286 install_sh="\${SHELL} $am_aux_dir/install-sh"
3287 esac
3288 fi
3289
3290 # Installed binaries are usually stripped using 'strip' when the user
3291 # run "make install-strip". However 'strip' might not be the right
3292 # tool to use in cross-compilation environments, therefore Automake
3293 # will honor the 'STRIP' environment variable to overrule this program.
3294 if test "$cross_compiling" != no; then
3295 if test -n "$ac_tool_prefix"; then
3296 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3297 set dummy ${ac_tool_prefix}strip; ac_word=$2
3298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299 printf %s "checking for $ac_word... " >&6; }
3300 if test ${ac_cv_prog_STRIP+y}
3301 then :
3302 printf %s "(cached) " >&6
3303 else $as_nop
3304 if test -n "$STRIP"; then
3305 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3306 else
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308 for as_dir in $PATH
3309 do
3310 IFS=$as_save_IFS
3311 case $as_dir in #(((
3312 '') as_dir=./ ;;
3313 */) ;;
3314 *) as_dir=$as_dir/ ;;
3315 esac
3316 for ac_exec_ext in '' $ac_executable_extensions; do
3317 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3318 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3320 break 2
3321 fi
3322 done
3323 done
3324 IFS=$as_save_IFS
3325
3326 fi
3327 fi
3328 STRIP=$ac_cv_prog_STRIP
3329 if test -n "$STRIP"; then
3330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3331 printf "%s\n" "$STRIP" >&6; }
3332 else
3333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 printf "%s\n" "no" >&6; }
3335 fi
3336
3337
3338 fi
3339 if test -z "$ac_cv_prog_STRIP"; then
3340 ac_ct_STRIP=$STRIP
3341 # Extract the first word of "strip", so it can be a program name with args.
3342 set dummy strip; ac_word=$2
3343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 printf %s "checking for $ac_word... " >&6; }
3345 if test ${ac_cv_prog_ac_ct_STRIP+y}
3346 then :
3347 printf %s "(cached) " >&6
3348 else $as_nop
3349 if test -n "$ac_ct_STRIP"; then
3350 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3351 else
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 for as_dir in $PATH
3354 do
3355 IFS=$as_save_IFS
3356 case $as_dir in #(((
3357 '') as_dir=./ ;;
3358 */) ;;
3359 *) as_dir=$as_dir/ ;;
3360 esac
3361 for ac_exec_ext in '' $ac_executable_extensions; do
3362 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3363 ac_cv_prog_ac_ct_STRIP="strip"
3364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3365 break 2
3366 fi
3367 done
3368 done
3369 IFS=$as_save_IFS
3370
3371 fi
3372 fi
3373 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3374 if test -n "$ac_ct_STRIP"; then
3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3376 printf "%s\n" "$ac_ct_STRIP" >&6; }
3377 else
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3379 printf "%s\n" "no" >&6; }
3380 fi
3381
3382 if test "x$ac_ct_STRIP" = x; then
3383 STRIP=":"
3384 else
3385 case $cross_compiling:$ac_tool_warned in
3386 yes:)
3387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3388 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3389 ac_tool_warned=yes ;;
3390 esac
3391 STRIP=$ac_ct_STRIP
3392 fi
3393 else
3394 STRIP="$ac_cv_prog_STRIP"
3395 fi
3396
3397 fi
3398 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3399
3400
3401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3402 printf %s "checking for a race-free mkdir -p... " >&6; }
3403 if test -z "$MKDIR_P"; then
3404 if test ${ac_cv_path_mkdir+y}
3405 then :
3406 printf %s "(cached) " >&6
3407 else $as_nop
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3410 do
3411 IFS=$as_save_IFS
3412 case $as_dir in #(((
3413 '') as_dir=./ ;;
3414 */) ;;
3415 *) as_dir=$as_dir/ ;;
3416 esac
3417 for ac_prog in mkdir gmkdir; do
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3420 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3421 'mkdir ('*'coreutils) '* | \
3422 'BusyBox '* | \
3423 'mkdir (fileutils) '4.1*)
3424 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3425 break 3;;
3426 esac
3427 done
3428 done
3429 done
3430 IFS=$as_save_IFS
3431
3432 fi
3433
3434 test -d ./--version && rmdir ./--version
3435 if test ${ac_cv_path_mkdir+y}; then
3436 MKDIR_P="$ac_cv_path_mkdir -p"
3437 else
3438 # As a last resort, use the slow shell script. Don't cache a
3439 # value for MKDIR_P within a source directory, because that will
3440 # break other packages using the cache if that directory is
3441 # removed, or if the value is a relative name.
3442 MKDIR_P="$ac_install_sh -d"
3443 fi
3444 fi
3445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3446 printf "%s\n" "$MKDIR_P" >&6; }
3447
3448 for ac_prog in gawk mawk nawk awk
3449 do
3450 # Extract the first word of "$ac_prog", so it can be a program name with args.
3451 set dummy $ac_prog; ac_word=$2
3452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3453 printf %s "checking for $ac_word... " >&6; }
3454 if test ${ac_cv_prog_AWK+y}
3455 then :
3456 printf %s "(cached) " >&6
3457 else $as_nop
3458 if test -n "$AWK"; then
3459 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3460 else
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3462 for as_dir in $PATH
3463 do
3464 IFS=$as_save_IFS
3465 case $as_dir in #(((
3466 '') as_dir=./ ;;
3467 */) ;;
3468 *) as_dir=$as_dir/ ;;
3469 esac
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3472 ac_cv_prog_AWK="$ac_prog"
3473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3474 break 2
3475 fi
3476 done
3477 done
3478 IFS=$as_save_IFS
3479
3480 fi
3481 fi
3482 AWK=$ac_cv_prog_AWK
3483 if test -n "$AWK"; then
3484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3485 printf "%s\n" "$AWK" >&6; }
3486 else
3487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 printf "%s\n" "no" >&6; }
3489 fi
3490
3491
3492 test -n "$AWK" && break
3493 done
3494
3495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3496 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3497 set x ${MAKE-make}
3498 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3499 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3500 then :
3501 printf %s "(cached) " >&6
3502 else $as_nop
3503 cat >conftest.make <<\_ACEOF
3504 SHELL = /bin/sh
3505 all:
3506 @echo '@@@%%%=$(MAKE)=@@@%%%'
3507 _ACEOF
3508 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3509 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3510 *@@@%%%=?*=@@@%%%*)
3511 eval ac_cv_prog_make_${ac_make}_set=yes;;
3512 *)
3513 eval ac_cv_prog_make_${ac_make}_set=no;;
3514 esac
3515 rm -f conftest.make
3516 fi
3517 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3519 printf "%s\n" "yes" >&6; }
3520 SET_MAKE=
3521 else
3522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3523 printf "%s\n" "no" >&6; }
3524 SET_MAKE="MAKE=${MAKE-make}"
3525 fi
3526
3527 rm -rf .tst 2>/dev/null
3528 mkdir .tst 2>/dev/null
3529 if test -d .tst; then
3530 am__leading_dot=.
3531 else
3532 am__leading_dot=_
3533 fi
3534 rmdir .tst 2>/dev/null
3535
3536 # Check whether --enable-silent-rules was given.
3537 if test ${enable_silent_rules+y}
3538 then :
3539 enableval=$enable_silent_rules;
3540 fi
3541
3542 case $enable_silent_rules in # (((
3543 yes) AM_DEFAULT_VERBOSITY=0;;
3544 no) AM_DEFAULT_VERBOSITY=1;;
3545 *) AM_DEFAULT_VERBOSITY=1;;
3546 esac
3547 am_make=${MAKE-make}
3548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3549 printf %s "checking whether $am_make supports nested variables... " >&6; }
3550 if test ${am_cv_make_support_nested_variables+y}
3551 then :
3552 printf %s "(cached) " >&6
3553 else $as_nop
3554 if printf "%s\n" 'TRUE=$(BAR$(V))
3555 BAR0=false
3556 BAR1=true
3557 V=1
3558 am__doit:
3559 @$(TRUE)
3560 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3561 am_cv_make_support_nested_variables=yes
3562 else
3563 am_cv_make_support_nested_variables=no
3564 fi
3565 fi
3566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3567 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3568 if test $am_cv_make_support_nested_variables = yes; then
3569 AM_V='$(V)'
3570 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3571 else
3572 AM_V=$AM_DEFAULT_VERBOSITY
3573 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3574 fi
3575 AM_BACKSLASH='\'
3576
3577 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3578 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3579 # is not polluted with repeated "-I."
3580 am__isrc=' -I$(srcdir)'
3581 # test to see if srcdir already configured
3582 if test -f $srcdir/config.status; then
3583 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3584 fi
3585 fi
3586
3587 # test whether we have cygpath
3588 if test -z "$CYGPATH_W"; then
3589 if (cygpath --version) >/dev/null 2>/dev/null; then
3590 CYGPATH_W='cygpath -w'
3591 else
3592 CYGPATH_W=echo
3593 fi
3594 fi
3595
3596
3597 # Define the identity of the package.
3598 PACKAGE='flmsg'
3599 VERSION='4.0.23'
3600
3601
3602 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3603
3604
3605 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3606
3607 # Some tools Automake needs.
3608
3609 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3610
3611
3612 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3613
3614
3615 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3616
3617
3618 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3619
3620
3621 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3622
3623 # For better backward compatibility. To be removed once Automake 1.9.x
3624 # dies out for good. For more background, see:
3625 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3626 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3627 mkdir_p='$(MKDIR_P)'
3628
3629 # We need awk for the "check" target (and possibly the TAP driver). The
3630 # system "awk" is bad on some platforms.
3631 # Always define AMTAR for backward compatibility. Yes, it's still used
3632 # in the wild :-( We should find a proper way to deprecate it ...
3633 AMTAR='$${TAR-tar}'
3634
3635
3636 # We'll loop over all known methods to create a tar archive until one works.
3637 _am_tools='gnutar pax cpio none'
3638
3639 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3640
3641
3642
3643
3644
3645 # Variables for tags utilities; see am/tags.am
3646 if test -z "$CTAGS"; then
3647 CTAGS=ctags
3648 fi
3649
3650 if test -z "$ETAGS"; then
3651 ETAGS=etags
3652 fi
3653
3654 if test -z "$CSCOPE"; then
3655 CSCOPE=cscope
3656 fi
3657
3658
3659
3660 # POSIX will say in a future version that running "rm -f" with no argument
3661 # is OK; and we want to be able to make that assumption in our Makefile
3662 # recipes. So use an aggressive probe to check that the usage we want is
3663 # actually supported "in the wild" to an acceptable degree.
3664 # See automake bug#10828.
3665 # To make any issue more visible, cause the running configure to be aborted
3666 # by default if the 'rm' program in use doesn't match our expectations; the
3667 # user can still override this though.
3668 if rm -f && rm -fr && rm -rf; then : OK; else
3669 cat >&2 <<'END'
3670 Oops!
3671
3672 Your 'rm' program seems unable to run without file operands specified
3673 on the command line, even when the '-f' option is present. This is contrary
3674 to the behaviour of most rm programs out there, and not conforming with
3675 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3676
3677 Please tell [email protected] about your system, including the value
3678 of your $PATH and any error possibly output before this message. This
3679 can help us improve future automake versions.
3680
3681 END
3682 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3683 echo 'Configuration will proceed anyway, since you have set the' >&2
3684 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3685 echo >&2
3686 else
3687 cat >&2 <<'END'
3688 Aborting the configuration process, to ensure you take notice of the issue.
3689
3690 You can download and install GNU coreutils to get an 'rm' implementation
3691 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3692
3693 If you want to complete the configuration process using your problematic
3694 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3695 to "yes", and re-run configure.
3696
3697 END
3698 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3699 fi
3700 fi
3701
3702
3703 #change the next config item for the specific application src's
3704
3705 ac_config_headers="$ac_config_headers src/config.h"
3706
3707
3708
3709 # Checks for programs.
3710
3711
3712
3713
3714
3715
3716 ac_ext=cpp
3717 ac_cpp='$CXXCPP $CPPFLAGS'
3718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3721 if test -z "$CXX"; then
3722 if test -n "$CCC"; then
3723 CXX=$CCC
3724 else
3725 if test -n "$ac_tool_prefix"; then
3726 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
3727 do
3728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 printf %s "checking for $ac_word... " >&6; }
3732 if test ${ac_cv_prog_CXX+y}
3733 then :
3734 printf %s "(cached) " >&6
3735 else $as_nop
3736 if test -n "$CXX"; then
3737 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3738 else
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 for as_dir in $PATH
3741 do
3742 IFS=$as_save_IFS
3743 case $as_dir in #(((
3744 '') as_dir=./ ;;
3745 */) ;;
3746 *) as_dir=$as_dir/ ;;
3747 esac
3748 for ac_exec_ext in '' $ac_executable_extensions; do
3749 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3750 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3752 break 2
3753 fi
3754 done
3755 done
3756 IFS=$as_save_IFS
3757
3758 fi
3759 fi
3760 CXX=$ac_cv_prog_CXX
3761 if test -n "$CXX"; then
3762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3763 printf "%s\n" "$CXX" >&6; }
3764 else
3765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 printf "%s\n" "no" >&6; }
3767 fi
3768
3769
3770 test -n "$CXX" && break
3771 done
3772 fi
3773 if test -z "$CXX"; then
3774 ac_ct_CXX=$CXX
3775 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
3776 do
3777 # Extract the first word of "$ac_prog", so it can be a program name with args.
3778 set dummy $ac_prog; ac_word=$2
3779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 printf %s "checking for $ac_word... " >&6; }
3781 if test ${ac_cv_prog_ac_ct_CXX+y}
3782 then :
3783 printf %s "(cached) " >&6
3784 else $as_nop
3785 if test -n "$ac_ct_CXX"; then
3786 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3787 else
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789 for as_dir in $PATH
3790 do
3791 IFS=$as_save_IFS
3792 case $as_dir in #(((
3793 '') as_dir=./ ;;
3794 */) ;;
3795 *) as_dir=$as_dir/ ;;
3796 esac
3797 for ac_exec_ext in '' $ac_executable_extensions; do
3798 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3799 ac_cv_prog_ac_ct_CXX="$ac_prog"
3800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3801 break 2
3802 fi
3803 done
3804 done
3805 IFS=$as_save_IFS
3806
3807 fi
3808 fi
3809 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3810 if test -n "$ac_ct_CXX"; then
3811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3812 printf "%s\n" "$ac_ct_CXX" >&6; }
3813 else
3814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 printf "%s\n" "no" >&6; }
3816 fi
3817
3818
3819 test -n "$ac_ct_CXX" && break
3820 done
3821
3822 if test "x$ac_ct_CXX" = x; then
3823 CXX="g++"
3824 else
3825 case $cross_compiling:$ac_tool_warned in
3826 yes:)
3827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3828 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3829 ac_tool_warned=yes ;;
3830 esac
3831 CXX=$ac_ct_CXX
3832 fi
3833 fi
3834
3835 fi
3836 fi
3837 # Provide some information about the compiler.
3838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3839 set X $ac_compile
3840 ac_compiler=$2
3841 for ac_option in --version -v -V -qversion; do
3842 { { ac_try="$ac_compiler $ac_option >&5"
3843 case "(($ac_try" in
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3846 esac
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 printf "%s\n" "$ac_try_echo"; } >&5
3849 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3850 ac_status=$?
3851 if test -s conftest.err; then
3852 sed '10a\
3853 ... rest of stderr output deleted ...
3854 10q' conftest.err >conftest.er1
3855 cat conftest.er1 >&5
3856 fi
3857 rm -f conftest.er1 conftest.err
3858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }
3860 done
3861
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3864
3865 int
3866 main (void)
3867 {
3868
3869 ;
3870 return 0;
3871 }
3872 _ACEOF
3873 ac_clean_files_save=$ac_clean_files
3874 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3875 # Try to create an executable without -o first, disregard a.out.
3876 # It will help us diagnose broken compilers, and finding out an intuition
3877 # of exeext.
3878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3879 printf %s "checking whether the C++ compiler works... " >&6; }
3880 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3881
3882 # The possible output files:
3883 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3884
3885 ac_rmfiles=
3886 for ac_file in $ac_files
3887 do
3888 case $ac_file in
3889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3890 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3891 esac
3892 done
3893 rm -f $ac_rmfiles
3894
3895 if { { ac_try="$ac_link_default"
3896 case "(($ac_try" in
3897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898 *) ac_try_echo=$ac_try;;
3899 esac
3900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3901 printf "%s\n" "$ac_try_echo"; } >&5
3902 (eval "$ac_link_default") 2>&5
3903 ac_status=$?
3904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3905 test $ac_status = 0; }
3906 then :
3907 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3908 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3909 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3910 # so that the user can short-circuit this test for compilers unknown to
3911 # Autoconf.
3912 for ac_file in $ac_files ''
3913 do
3914 test -f "$ac_file" || continue
3915 case $ac_file in
3916 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3917 ;;
3918 [ab].out )
3919 # We found the default executable, but exeext='' is most
3920 # certainly right.
3921 break;;
3922 *.* )
3923 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3924 then :; else
3925 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3926 fi
3927 # We set ac_cv_exeext here because the later test for it is not
3928 # safe: cross compilers may not add the suffix if given an `-o'
3929 # argument, so we may need to know it at that point already.
3930 # Even if this section looks crufty: it has the advantage of
3931 # actually working.
3932 break;;
3933 * )
3934 break;;
3935 esac
3936 done
3937 test "$ac_cv_exeext" = no && ac_cv_exeext=
3938
3939 else $as_nop
3940 ac_file=''
3941 fi
3942 if test -z "$ac_file"
3943 then :
3944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 printf "%s\n" "no" >&6; }
3946 printf "%s\n" "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.$ac_ext >&5
3948
3949 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3950 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3951 as_fn_error 77 "C++ compiler cannot create executables
3952 See \`config.log' for more details" "$LINENO" 5; }
3953 else $as_nop
3954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3955 printf "%s\n" "yes" >&6; }
3956 fi
3957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3958 printf %s "checking for C++ compiler default output file name... " >&6; }
3959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3960 printf "%s\n" "$ac_file" >&6; }
3961 ac_exeext=$ac_cv_exeext
3962
3963 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3964 ac_clean_files=$ac_clean_files_save
3965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3966 printf %s "checking for suffix of executables... " >&6; }
3967 if { { ac_try="$ac_link"
3968 case "(($ac_try" in
3969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3970 *) ac_try_echo=$ac_try;;
3971 esac
3972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3973 printf "%s\n" "$ac_try_echo"; } >&5
3974 (eval "$ac_link") 2>&5
3975 ac_status=$?
3976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3977 test $ac_status = 0; }
3978 then :
3979 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3980 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3981 # work properly (i.e., refer to `conftest.exe'), while it won't with
3982 # `rm'.
3983 for ac_file in conftest.exe conftest conftest.*; do
3984 test -f "$ac_file" || continue
3985 case $ac_file in
3986 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3987 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3988 break;;
3989 * ) break;;
3990 esac
3991 done
3992 else $as_nop
3993 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3995 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3996 See \`config.log' for more details" "$LINENO" 5; }
3997 fi
3998 rm -f conftest conftest$ac_cv_exeext
3999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4000 printf "%s\n" "$ac_cv_exeext" >&6; }
4001
4002 rm -f conftest.$ac_ext
4003 EXEEXT=$ac_cv_exeext
4004 ac_exeext=$EXEEXT
4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4007 #include <stdio.h>
4008 int
4009 main (void)
4010 {
4011 FILE *f = fopen ("conftest.out", "w");
4012 return ferror (f) || fclose (f) != 0;
4013
4014 ;
4015 return 0;
4016 }
4017 _ACEOF
4018 ac_clean_files="$ac_clean_files conftest.out"
4019 # Check that the compiler produces executables we can run. If not, either
4020 # the compiler is broken, or we cross compile.
4021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4022 printf %s "checking whether we are cross compiling... " >&6; }
4023 if test "$cross_compiling" != yes; then
4024 { { ac_try="$ac_link"
4025 case "(($ac_try" in
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4028 esac
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 printf "%s\n" "$ac_try_echo"; } >&5
4031 (eval "$ac_link") 2>&5
4032 ac_status=$?
4033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }
4035 if { ac_try='./conftest$ac_cv_exeext'
4036 { { case "(($ac_try" in
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4039 esac
4040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4041 printf "%s\n" "$ac_try_echo"; } >&5
4042 (eval "$ac_try") 2>&5
4043 ac_status=$?
4044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4045 test $ac_status = 0; }; }; then
4046 cross_compiling=no
4047 else
4048 if test "$cross_compiling" = maybe; then
4049 cross_compiling=yes
4050 else
4051 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4053 as_fn_error 77 "cannot run C++ compiled programs.
4054 If you meant to cross compile, use \`--host'.
4055 See \`config.log' for more details" "$LINENO" 5; }
4056 fi
4057 fi
4058 fi
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4060 printf "%s\n" "$cross_compiling" >&6; }
4061
4062 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4063 ac_clean_files=$ac_clean_files_save
4064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4065 printf %s "checking for suffix of object files... " >&6; }
4066 if test ${ac_cv_objext+y}
4067 then :
4068 printf %s "(cached) " >&6
4069 else $as_nop
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4072
4073 int
4074 main (void)
4075 {
4076
4077 ;
4078 return 0;
4079 }
4080 _ACEOF
4081 rm -f conftest.o conftest.obj
4082 if { { ac_try="$ac_compile"
4083 case "(($ac_try" in
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4086 esac
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 printf "%s\n" "$ac_try_echo"; } >&5
4089 (eval "$ac_compile") 2>&5
4090 ac_status=$?
4091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }
4093 then :
4094 for ac_file in conftest.o conftest.obj conftest.*; do
4095 test -f "$ac_file" || continue;
4096 case $ac_file in
4097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4098 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4099 break;;
4100 esac
4101 done
4102 else $as_nop
4103 printf "%s\n" "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4105
4106 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4108 as_fn_error $? "cannot compute suffix of object files: cannot compile
4109 See \`config.log' for more details" "$LINENO" 5; }
4110 fi
4111 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4112 fi
4113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4114 printf "%s\n" "$ac_cv_objext" >&6; }
4115 OBJEXT=$ac_cv_objext
4116 ac_objext=$OBJEXT
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
4118 printf %s "checking whether the compiler supports GNU C++... " >&6; }
4119 if test ${ac_cv_cxx_compiler_gnu+y}
4120 then :
4121 printf %s "(cached) " >&6
4122 else $as_nop
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4125
4126 int
4127 main (void)
4128 {
4129 #ifndef __GNUC__
4130 choke me
4131 #endif
4132
4133 ;
4134 return 0;
4135 }
4136 _ACEOF
4137 if ac_fn_cxx_try_compile "$LINENO"
4138 then :
4139 ac_compiler_gnu=yes
4140 else $as_nop
4141 ac_compiler_gnu=no
4142 fi
4143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4144 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4145
4146 fi
4147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4148 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
4149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4150
4151 if test $ac_compiler_gnu = yes; then
4152 GXX=yes
4153 else
4154 GXX=
4155 fi
4156 ac_test_CXXFLAGS=${CXXFLAGS+y}
4157 ac_save_CXXFLAGS=$CXXFLAGS
4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4159 printf %s "checking whether $CXX accepts -g... " >&6; }
4160 if test ${ac_cv_prog_cxx_g+y}
4161 then :
4162 printf %s "(cached) " >&6
4163 else $as_nop
4164 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4165 ac_cxx_werror_flag=yes
4166 ac_cv_prog_cxx_g=no
4167 CXXFLAGS="-g"
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4170
4171 int
4172 main (void)
4173 {
4174
4175 ;
4176 return 0;
4177 }
4178 _ACEOF
4179 if ac_fn_cxx_try_compile "$LINENO"
4180 then :
4181 ac_cv_prog_cxx_g=yes
4182 else $as_nop
4183 CXXFLAGS=""
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4186
4187 int
4188 main (void)
4189 {
4190
4191 ;
4192 return 0;
4193 }
4194 _ACEOF
4195 if ac_fn_cxx_try_compile "$LINENO"
4196 then :
4197
4198 else $as_nop
4199 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4200 CXXFLAGS="-g"
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4203
4204 int
4205 main (void)
4206 {
4207
4208 ;
4209 return 0;
4210 }
4211 _ACEOF
4212 if ac_fn_cxx_try_compile "$LINENO"
4213 then :
4214 ac_cv_prog_cxx_g=yes
4215 fi
4216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4217 fi
4218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4219 fi
4220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4221 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4222 fi
4223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4224 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
4225 if test $ac_test_CXXFLAGS; then
4226 CXXFLAGS=$ac_save_CXXFLAGS
4227 elif test $ac_cv_prog_cxx_g = yes; then
4228 if test "$GXX" = yes; then
4229 CXXFLAGS="-g -O2"
4230 else
4231 CXXFLAGS="-g"
4232 fi
4233 else
4234 if test "$GXX" = yes; then
4235 CXXFLAGS="-O2"
4236 else
4237 CXXFLAGS=
4238 fi
4239 fi
4240 ac_prog_cxx_stdcxx=no
4241 if test x$ac_prog_cxx_stdcxx = xno
4242 then :
4243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
4244 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
4245 if test ${ac_cv_prog_cxx_11+y}
4246 then :
4247 printf %s "(cached) " >&6
4248 else $as_nop
4249 ac_cv_prog_cxx_11=no
4250 ac_save_CXX=$CXX
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4253 $ac_cxx_conftest_cxx11_program
4254 _ACEOF
4255 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
4256 do
4257 CXX="$ac_save_CXX $ac_arg"
4258 if ac_fn_cxx_try_compile "$LINENO"
4259 then :
4260 ac_cv_prog_cxx_cxx11=$ac_arg
4261 fi
4262 rm -f core conftest.err conftest.$ac_objext conftest.beam
4263 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
4264 done
4265 rm -f conftest.$ac_ext
4266 CXX=$ac_save_CXX
4267 fi
4268
4269 if test "x$ac_cv_prog_cxx_cxx11" = xno
4270 then :
4271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4272 printf "%s\n" "unsupported" >&6; }
4273 else $as_nop
4274 if test "x$ac_cv_prog_cxx_cxx11" = x
4275 then :
4276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4277 printf "%s\n" "none needed" >&6; }
4278 else $as_nop
4279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
4280 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
4281 CXX="$CXX $ac_cv_prog_cxx_cxx11"
4282 fi
4283 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
4284 ac_prog_cxx_stdcxx=cxx11
4285 fi
4286 fi
4287 if test x$ac_prog_cxx_stdcxx = xno
4288 then :
4289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
4290 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
4291 if test ${ac_cv_prog_cxx_98+y}
4292 then :
4293 printf %s "(cached) " >&6
4294 else $as_nop
4295 ac_cv_prog_cxx_98=no
4296 ac_save_CXX=$CXX
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4299 $ac_cxx_conftest_cxx98_program
4300 _ACEOF
4301 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
4302 do
4303 CXX="$ac_save_CXX $ac_arg"
4304 if ac_fn_cxx_try_compile "$LINENO"
4305 then :
4306 ac_cv_prog_cxx_cxx98=$ac_arg
4307 fi
4308 rm -f core conftest.err conftest.$ac_objext conftest.beam
4309 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
4310 done
4311 rm -f conftest.$ac_ext
4312 CXX=$ac_save_CXX
4313 fi
4314
4315 if test "x$ac_cv_prog_cxx_cxx98" = xno
4316 then :
4317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4318 printf "%s\n" "unsupported" >&6; }
4319 else $as_nop
4320 if test "x$ac_cv_prog_cxx_cxx98" = x
4321 then :
4322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4323 printf "%s\n" "none needed" >&6; }
4324 else $as_nop
4325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
4326 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
4327 CXX="$CXX $ac_cv_prog_cxx_cxx98"
4328 fi
4329 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
4330 ac_prog_cxx_stdcxx=cxx98
4331 fi
4332 fi
4333
4334 ac_ext=c
4335 ac_cpp='$CPP $CPPFLAGS'
4336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4339 DEPDIR="${am__leading_dot}deps"
4340
4341 ac_config_commands="$ac_config_commands depfiles"
4342
4343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4344 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4345 cat > confinc.mk << 'END'
4346 am__doit:
4347 @echo this is the am__doit target >confinc.out
4348 .PHONY: am__doit
4349 END
4350 am__include="#"
4351 am__quote=
4352 # BSD make does it like this.
4353 echo '.include "confinc.mk" # ignored' > confmf.BSD
4354 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4355 echo 'include confinc.mk # ignored' > confmf.GNU
4356 _am_result=no
4357 for s in GNU BSD; do
4358 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4359 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4360 ac_status=$?
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); }
4363 case $?:`cat confinc.out 2>/dev/null` in #(
4364 '0:this is the am__doit target') :
4365 case $s in #(
4366 BSD) :
4367 am__include='.include' am__quote='"' ;; #(
4368 *) :
4369 am__include='include' am__quote='' ;;
4370 esac ;; #(
4371 *) :
4372 ;;
4373 esac
4374 if test "$am__include" != "#"; then
4375 _am_result="yes ($s style)"
4376 break
4377 fi
4378 done
4379 rm -f confinc.* confmf.*
4380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4381 printf "%s\n" "${_am_result}" >&6; }
4382
4383 # Check whether --enable-dependency-tracking was given.
4384 if test ${enable_dependency_tracking+y}
4385 then :
4386 enableval=$enable_dependency_tracking;
4387 fi
4388
4389 if test "x$enable_dependency_tracking" != xno; then
4390 am_depcomp="$ac_aux_dir/depcomp"
4391 AMDEPBACKSLASH='\'
4392 am__nodep='_no'
4393 fi
4394 if test "x$enable_dependency_tracking" != xno; then
4395 AMDEP_TRUE=
4396 AMDEP_FALSE='#'
4397 else
4398 AMDEP_TRUE='#'
4399 AMDEP_FALSE=
4400 fi
4401
4402
4403
4404 depcc="$CXX" am_compiler_list=
4405
4406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4407 printf %s "checking dependency style of $depcc... " >&6; }
4408 if test ${am_cv_CXX_dependencies_compiler_type+y}
4409 then :
4410 printf %s "(cached) " >&6
4411 else $as_nop
4412 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4413 # We make a subdir and do the tests there. Otherwise we can end up
4414 # making bogus files that we don't know about and never remove. For
4415 # instance it was reported that on HP-UX the gcc test will end up
4416 # making a dummy file named 'D' -- because '-MD' means "put the output
4417 # in D".
4418 rm -rf conftest.dir
4419 mkdir conftest.dir
4420 # Copy depcomp to subdir because otherwise we won't find it if we're
4421 # using a relative directory.
4422 cp "$am_depcomp" conftest.dir
4423 cd conftest.dir
4424 # We will build objects and dependencies in a subdirectory because
4425 # it helps to detect inapplicable dependency modes. For instance
4426 # both Tru64's cc and ICC support -MD to output dependencies as a
4427 # side effect of compilation, but ICC will put the dependencies in
4428 # the current directory while Tru64 will put them in the object
4429 # directory.
4430 mkdir sub
4431
4432 am_cv_CXX_dependencies_compiler_type=none
4433 if test "$am_compiler_list" = ""; then
4434 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4435 fi
4436 am__universal=false
4437 case " $depcc " in #(
4438 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4439 esac
4440
4441 for depmode in $am_compiler_list; do
4442 # Setup a source with many dependencies, because some compilers
4443 # like to wrap large dependency lists on column 80 (with \), and
4444 # we should not choose a depcomp mode which is confused by this.
4445 #
4446 # We need to recreate these files for each test, as the compiler may
4447 # overwrite some of them when testing with obscure command lines.
4448 # This happens at least with the AIX C compiler.
4449 : > sub/conftest.c
4450 for i in 1 2 3 4 5 6; do
4451 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4452 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4453 # Solaris 10 /bin/sh.
4454 echo '/* dummy */' > sub/conftst$i.h
4455 done
4456 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4457
4458 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4459 # mode. It turns out that the SunPro C++ compiler does not properly
4460 # handle '-M -o', and we need to detect this. Also, some Intel
4461 # versions had trouble with output in subdirs.
4462 am__obj=sub/conftest.${OBJEXT-o}
4463 am__minus_obj="-o $am__obj"
4464 case $depmode in
4465 gcc)
4466 # This depmode causes a compiler race in universal mode.
4467 test "$am__universal" = false || continue
4468 ;;
4469 nosideeffect)
4470 # After this tag, mechanisms are not by side-effect, so they'll
4471 # only be used when explicitly requested.
4472 if test "x$enable_dependency_tracking" = xyes; then
4473 continue
4474 else
4475 break
4476 fi
4477 ;;
4478 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4479 # This compiler won't grok '-c -o', but also, the minuso test has
4480 # not run yet. These depmodes are late enough in the game, and
4481 # so weak that their functioning should not be impacted.
4482 am__obj=conftest.${OBJEXT-o}
4483 am__minus_obj=
4484 ;;
4485 none) break ;;
4486 esac
4487 if depmode=$depmode \
4488 source=sub/conftest.c object=$am__obj \
4489 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4490 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4491 >/dev/null 2>conftest.err &&
4492 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4493 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4494 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4495 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4496 # icc doesn't choke on unknown options, it will just issue warnings
4497 # or remarks (even with -Werror). So we grep stderr for any message
4498 # that says an option was ignored or not supported.
4499 # When given -MP, icc 7.0 and 7.1 complain thusly:
4500 # icc: Command line warning: ignoring option '-M'; no argument required
4501 # The diagnosis changed in icc 8.0:
4502 # icc: Command line remark: option '-MP' not supported
4503 if (grep 'ignoring option' conftest.err ||
4504 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4505 am_cv_CXX_dependencies_compiler_type=$depmode
4506 break
4507 fi
4508 fi
4509 done
4510
4511 cd ..
4512 rm -rf conftest.dir
4513 else
4514 am_cv_CXX_dependencies_compiler_type=none
4515 fi
4516
4517 fi
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4519 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
4520 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4521
4522 if
4523 test "x$enable_dependency_tracking" != xno \
4524 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4525 am__fastdepCXX_TRUE=
4526 am__fastdepCXX_FALSE='#'
4527 else
4528 am__fastdepCXX_TRUE='#'
4529 am__fastdepCXX_FALSE=
4530 fi
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542 ac_ext=c
4543 ac_cpp='$CPP $CPPFLAGS'
4544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4547 if test -n "$ac_tool_prefix"; then
4548 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4549 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 printf %s "checking for $ac_word... " >&6; }
4552 if test ${ac_cv_prog_CC+y}
4553 then :
4554 printf %s "(cached) " >&6
4555 else $as_nop
4556 if test -n "$CC"; then
4557 ac_cv_prog_CC="$CC" # Let the user override the test.
4558 else
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH
4561 do
4562 IFS=$as_save_IFS
4563 case $as_dir in #(((
4564 '') as_dir=./ ;;
4565 */) ;;
4566 *) as_dir=$as_dir/ ;;
4567 esac
4568 for ac_exec_ext in '' $ac_executable_extensions; do
4569 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4570 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4572 break 2
4573 fi
4574 done
4575 done
4576 IFS=$as_save_IFS
4577
4578 fi
4579 fi
4580 CC=$ac_cv_prog_CC
4581 if test -n "$CC"; then
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4583 printf "%s\n" "$CC" >&6; }
4584 else
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4586 printf "%s\n" "no" >&6; }
4587 fi
4588
4589
4590 fi
4591 if test -z "$ac_cv_prog_CC"; then
4592 ac_ct_CC=$CC
4593 # Extract the first word of "gcc", so it can be a program name with args.
4594 set dummy gcc; ac_word=$2
4595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4596 printf %s "checking for $ac_word... " >&6; }
4597 if test ${ac_cv_prog_ac_ct_CC+y}
4598 then :
4599 printf %s "(cached) " >&6
4600 else $as_nop
4601 if test -n "$ac_ct_CC"; then
4602 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4603 else
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605 for as_dir in $PATH
4606 do
4607 IFS=$as_save_IFS
4608 case $as_dir in #(((
4609 '') as_dir=./ ;;
4610 */) ;;
4611 *) as_dir=$as_dir/ ;;
4612 esac
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4615 ac_cv_prog_ac_ct_CC="gcc"
4616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4617 break 2
4618 fi
4619 done
4620 done
4621 IFS=$as_save_IFS
4622
4623 fi
4624 fi
4625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4626 if test -n "$ac_ct_CC"; then
4627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4628 printf "%s\n" "$ac_ct_CC" >&6; }
4629 else
4630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 printf "%s\n" "no" >&6; }
4632 fi
4633
4634 if test "x$ac_ct_CC" = x; then
4635 CC=""
4636 else
4637 case $cross_compiling:$ac_tool_warned in
4638 yes:)
4639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4640 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4641 ac_tool_warned=yes ;;
4642 esac
4643 CC=$ac_ct_CC
4644 fi
4645 else
4646 CC="$ac_cv_prog_CC"
4647 fi
4648
4649 if test -z "$CC"; then
4650 if test -n "$ac_tool_prefix"; then
4651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4652 set dummy ${ac_tool_prefix}cc; ac_word=$2
4653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 printf %s "checking for $ac_word... " >&6; }
4655 if test ${ac_cv_prog_CC+y}
4656 then :
4657 printf %s "(cached) " >&6
4658 else $as_nop
4659 if test -n "$CC"; then
4660 ac_cv_prog_CC="$CC" # Let the user override the test.
4661 else
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 for as_dir in $PATH
4664 do
4665 IFS=$as_save_IFS
4666 case $as_dir in #(((
4667 '') as_dir=./ ;;
4668 */) ;;
4669 *) as_dir=$as_dir/ ;;
4670 esac
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_CC="${ac_tool_prefix}cc"
4674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4675 break 2
4676 fi
4677 done
4678 done
4679 IFS=$as_save_IFS
4680
4681 fi
4682 fi
4683 CC=$ac_cv_prog_CC
4684 if test -n "$CC"; then
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4686 printf "%s\n" "$CC" >&6; }
4687 else
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 printf "%s\n" "no" >&6; }
4690 fi
4691
4692
4693 fi
4694 fi
4695 if test -z "$CC"; then
4696 # Extract the first word of "cc", so it can be a program name with args.
4697 set dummy cc; ac_word=$2
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 printf %s "checking for $ac_word... " >&6; }
4700 if test ${ac_cv_prog_CC+y}
4701 then :
4702 printf %s "(cached) " >&6
4703 else $as_nop
4704 if test -n "$CC"; then
4705 ac_cv_prog_CC="$CC" # Let the user override the test.
4706 else
4707 ac_prog_rejected=no
4708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 for as_dir in $PATH
4710 do
4711 IFS=$as_save_IFS
4712 case $as_dir in #(((
4713 '') as_dir=./ ;;
4714 */) ;;
4715 *) as_dir=$as_dir/ ;;
4716 esac
4717 for ac_exec_ext in '' $ac_executable_extensions; do
4718 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4719 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4720 ac_prog_rejected=yes
4721 continue
4722 fi
4723 ac_cv_prog_CC="cc"
4724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4725 break 2
4726 fi
4727 done
4728 done
4729 IFS=$as_save_IFS
4730
4731 if test $ac_prog_rejected = yes; then
4732 # We found a bogon in the path, so make sure we never use it.
4733 set dummy $ac_cv_prog_CC
4734 shift
4735 if test $# != 0; then
4736 # We chose a different compiler from the bogus one.
4737 # However, it has the same basename, so the bogon will be chosen
4738 # first if we set CC to just the basename; use the full file name.
4739 shift
4740 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4741 fi
4742 fi
4743 fi
4744 fi
4745 CC=$ac_cv_prog_CC
4746 if test -n "$CC"; then
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4748 printf "%s\n" "$CC" >&6; }
4749 else
4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 printf "%s\n" "no" >&6; }
4752 fi
4753
4754
4755 fi
4756 if test -z "$CC"; then
4757 if test -n "$ac_tool_prefix"; then
4758 for ac_prog in cl.exe
4759 do
4760 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4761 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4763 printf %s "checking for $ac_word... " >&6; }
4764 if test ${ac_cv_prog_CC+y}
4765 then :
4766 printf %s "(cached) " >&6
4767 else $as_nop
4768 if test -n "$CC"; then
4769 ac_cv_prog_CC="$CC" # Let the user override the test.
4770 else
4771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 for as_dir in $PATH
4773 do
4774 IFS=$as_save_IFS
4775 case $as_dir in #(((
4776 '') as_dir=./ ;;
4777 */) ;;
4778 *) as_dir=$as_dir/ ;;
4779 esac
4780 for ac_exec_ext in '' $ac_executable_extensions; do
4781 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4782 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4784 break 2
4785 fi
4786 done
4787 done
4788 IFS=$as_save_IFS
4789
4790 fi
4791 fi
4792 CC=$ac_cv_prog_CC
4793 if test -n "$CC"; then
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4795 printf "%s\n" "$CC" >&6; }
4796 else
4797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798 printf "%s\n" "no" >&6; }
4799 fi
4800
4801
4802 test -n "$CC" && break
4803 done
4804 fi
4805 if test -z "$CC"; then
4806 ac_ct_CC=$CC
4807 for ac_prog in cl.exe
4808 do
4809 # Extract the first word of "$ac_prog", so it can be a program name with args.
4810 set dummy $ac_prog; ac_word=$2
4811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4812 printf %s "checking for $ac_word... " >&6; }
4813 if test ${ac_cv_prog_ac_ct_CC+y}
4814 then :
4815 printf %s "(cached) " >&6
4816 else $as_nop
4817 if test -n "$ac_ct_CC"; then
4818 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4819 else
4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821 for as_dir in $PATH
4822 do
4823 IFS=$as_save_IFS
4824 case $as_dir in #(((
4825 '') as_dir=./ ;;
4826 */) ;;
4827 *) as_dir=$as_dir/ ;;
4828 esac
4829 for ac_exec_ext in '' $ac_executable_extensions; do
4830 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4831 ac_cv_prog_ac_ct_CC="$ac_prog"
4832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4833 break 2
4834 fi
4835 done
4836 done
4837 IFS=$as_save_IFS
4838
4839 fi
4840 fi
4841 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4842 if test -n "$ac_ct_CC"; then
4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4844 printf "%s\n" "$ac_ct_CC" >&6; }
4845 else
4846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 printf "%s\n" "no" >&6; }
4848 fi
4849
4850
4851 test -n "$ac_ct_CC" && break
4852 done
4853
4854 if test "x$ac_ct_CC" = x; then
4855 CC=""
4856 else
4857 case $cross_compiling:$ac_tool_warned in
4858 yes:)
4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4860 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4861 ac_tool_warned=yes ;;
4862 esac
4863 CC=$ac_ct_CC
4864 fi
4865 fi
4866
4867 fi
4868 if test -z "$CC"; then
4869 if test -n "$ac_tool_prefix"; then
4870 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4871 set dummy ${ac_tool_prefix}clang; ac_word=$2
4872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 printf %s "checking for $ac_word... " >&6; }
4874 if test ${ac_cv_prog_CC+y}
4875 then :
4876 printf %s "(cached) " >&6
4877 else $as_nop
4878 if test -n "$CC"; then
4879 ac_cv_prog_CC="$CC" # Let the user override the test.
4880 else
4881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4882 for as_dir in $PATH
4883 do
4884 IFS=$as_save_IFS
4885 case $as_dir in #(((
4886 '') as_dir=./ ;;
4887 */) ;;
4888 *) as_dir=$as_dir/ ;;
4889 esac
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4891 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4892 ac_cv_prog_CC="${ac_tool_prefix}clang"
4893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4894 break 2
4895 fi
4896 done
4897 done
4898 IFS=$as_save_IFS
4899
4900 fi
4901 fi
4902 CC=$ac_cv_prog_CC
4903 if test -n "$CC"; then
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4905 printf "%s\n" "$CC" >&6; }
4906 else
4907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 printf "%s\n" "no" >&6; }
4909 fi
4910
4911
4912 fi
4913 if test -z "$ac_cv_prog_CC"; then
4914 ac_ct_CC=$CC
4915 # Extract the first word of "clang", so it can be a program name with args.
4916 set dummy clang; ac_word=$2
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 printf %s "checking for $ac_word... " >&6; }
4919 if test ${ac_cv_prog_ac_ct_CC+y}
4920 then :
4921 printf %s "(cached) " >&6
4922 else $as_nop
4923 if test -n "$ac_ct_CC"; then
4924 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4925 else
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 for as_dir in $PATH
4928 do
4929 IFS=$as_save_IFS
4930 case $as_dir in #(((
4931 '') as_dir=./ ;;
4932 */) ;;
4933 *) as_dir=$as_dir/ ;;
4934 esac
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4937 ac_cv_prog_ac_ct_CC="clang"
4938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4939 break 2
4940 fi
4941 done
4942 done
4943 IFS=$as_save_IFS
4944
4945 fi
4946 fi
4947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4948 if test -n "$ac_ct_CC"; then
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4950 printf "%s\n" "$ac_ct_CC" >&6; }
4951 else
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 printf "%s\n" "no" >&6; }
4954 fi
4955
4956 if test "x$ac_ct_CC" = x; then
4957 CC=""
4958 else
4959 case $cross_compiling:$ac_tool_warned in
4960 yes:)
4961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4962 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4963 ac_tool_warned=yes ;;
4964 esac
4965 CC=$ac_ct_CC
4966 fi
4967 else
4968 CC="$ac_cv_prog_CC"
4969 fi
4970
4971 fi
4972
4973
4974 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4975 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4976 as_fn_error $? "no acceptable C compiler found in \$PATH
4977 See \`config.log' for more details" "$LINENO" 5; }
4978
4979 # Provide some information about the compiler.
4980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4981 set X $ac_compile
4982 ac_compiler=$2
4983 for ac_option in --version -v -V -qversion -version; do
4984 { { ac_try="$ac_compiler $ac_option >&5"
4985 case "(($ac_try" in
4986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4987 *) ac_try_echo=$ac_try;;
4988 esac
4989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4990 printf "%s\n" "$ac_try_echo"; } >&5
4991 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4992 ac_status=$?
4993 if test -s conftest.err; then
4994 sed '10a\
4995 ... rest of stderr output deleted ...
4996 10q' conftest.err >conftest.er1
4997 cat conftest.er1 >&5
4998 fi
4999 rm -f conftest.er1 conftest.err
5000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5001 test $ac_status = 0; }
5002 done
5003
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5005 printf %s "checking whether the compiler supports GNU C... " >&6; }
5006 if test ${ac_cv_c_compiler_gnu+y}
5007 then :
5008 printf %s "(cached) " >&6
5009 else $as_nop
5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5012
5013 int
5014 main (void)
5015 {
5016 #ifndef __GNUC__
5017 choke me
5018 #endif
5019
5020 ;
5021 return 0;
5022 }
5023 _ACEOF
5024 if ac_fn_c_try_compile "$LINENO"
5025 then :
5026 ac_compiler_gnu=yes
5027 else $as_nop
5028 ac_compiler_gnu=no
5029 fi
5030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5031 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5032
5033 fi
5034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5035 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5037
5038 if test $ac_compiler_gnu = yes; then
5039 GCC=yes
5040 else
5041 GCC=
5042 fi
5043 ac_test_CFLAGS=${CFLAGS+y}
5044 ac_save_CFLAGS=$CFLAGS
5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5046 printf %s "checking whether $CC accepts -g... " >&6; }
5047 if test ${ac_cv_prog_cc_g+y}
5048 then :
5049 printf %s "(cached) " >&6
5050 else $as_nop
5051 ac_save_c_werror_flag=$ac_c_werror_flag
5052 ac_c_werror_flag=yes
5053 ac_cv_prog_cc_g=no
5054 CFLAGS="-g"
5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5057
5058 int
5059 main (void)
5060 {
5061
5062 ;
5063 return 0;
5064 }
5065 _ACEOF
5066 if ac_fn_c_try_compile "$LINENO"
5067 then :
5068 ac_cv_prog_cc_g=yes
5069 else $as_nop
5070 CFLAGS=""
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5073
5074 int
5075 main (void)
5076 {
5077
5078 ;
5079 return 0;
5080 }
5081 _ACEOF
5082 if ac_fn_c_try_compile "$LINENO"
5083 then :
5084
5085 else $as_nop
5086 ac_c_werror_flag=$ac_save_c_werror_flag
5087 CFLAGS="-g"
5088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5089 /* end confdefs.h. */
5090
5091 int
5092 main (void)
5093 {
5094
5095 ;
5096 return 0;
5097 }
5098 _ACEOF
5099 if ac_fn_c_try_compile "$LINENO"
5100 then :
5101 ac_cv_prog_cc_g=yes
5102 fi
5103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5104 fi
5105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5106 fi
5107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5108 ac_c_werror_flag=$ac_save_c_werror_flag
5109 fi
5110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5111 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5112 if test $ac_test_CFLAGS; then
5113 CFLAGS=$ac_save_CFLAGS
5114 elif test $ac_cv_prog_cc_g = yes; then
5115 if test "$GCC" = yes; then
5116 CFLAGS="-g -O2"
5117 else
5118 CFLAGS="-g"
5119 fi
5120 else
5121 if test "$GCC" = yes; then
5122 CFLAGS="-O2"
5123 else
5124 CFLAGS=
5125 fi
5126 fi
5127 ac_prog_cc_stdc=no
5128 if test x$ac_prog_cc_stdc = xno
5129 then :
5130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5131 printf %s "checking for $CC option to enable C11 features... " >&6; }
5132 if test ${ac_cv_prog_cc_c11+y}
5133 then :
5134 printf %s "(cached) " >&6
5135 else $as_nop
5136 ac_cv_prog_cc_c11=no
5137 ac_save_CC=$CC
5138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5139 /* end confdefs.h. */
5140 $ac_c_conftest_c11_program
5141 _ACEOF
5142 for ac_arg in '' -std=gnu11
5143 do
5144 CC="$ac_save_CC $ac_arg"
5145 if ac_fn_c_try_compile "$LINENO"
5146 then :
5147 ac_cv_prog_cc_c11=$ac_arg
5148 fi
5149 rm -f core conftest.err conftest.$ac_objext conftest.beam
5150 test "x$ac_cv_prog_cc_c11" != "xno" && break
5151 done
5152 rm -f conftest.$ac_ext
5153 CC=$ac_save_CC
5154 fi
5155
5156 if test "x$ac_cv_prog_cc_c11" = xno
5157 then :
5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5159 printf "%s\n" "unsupported" >&6; }
5160 else $as_nop
5161 if test "x$ac_cv_prog_cc_c11" = x
5162 then :
5163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5164 printf "%s\n" "none needed" >&6; }
5165 else $as_nop
5166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5167 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5168 CC="$CC $ac_cv_prog_cc_c11"
5169 fi
5170 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5171 ac_prog_cc_stdc=c11
5172 fi
5173 fi
5174 if test x$ac_prog_cc_stdc = xno
5175 then :
5176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5177 printf %s "checking for $CC option to enable C99 features... " >&6; }
5178 if test ${ac_cv_prog_cc_c99+y}
5179 then :
5180 printf %s "(cached) " >&6
5181 else $as_nop
5182 ac_cv_prog_cc_c99=no
5183 ac_save_CC=$CC
5184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5185 /* end confdefs.h. */
5186 $ac_c_conftest_c99_program
5187 _ACEOF
5188 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5189 do
5190 CC="$ac_save_CC $ac_arg"
5191 if ac_fn_c_try_compile "$LINENO"
5192 then :
5193 ac_cv_prog_cc_c99=$ac_arg
5194 fi
5195 rm -f core conftest.err conftest.$ac_objext conftest.beam
5196 test "x$ac_cv_prog_cc_c99" != "xno" && break
5197 done
5198 rm -f conftest.$ac_ext
5199 CC=$ac_save_CC
5200 fi
5201
5202 if test "x$ac_cv_prog_cc_c99" = xno
5203 then :
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5205 printf "%s\n" "unsupported" >&6; }
5206 else $as_nop
5207 if test "x$ac_cv_prog_cc_c99" = x
5208 then :
5209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5210 printf "%s\n" "none needed" >&6; }
5211 else $as_nop
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5213 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5214 CC="$CC $ac_cv_prog_cc_c99"
5215 fi
5216 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5217 ac_prog_cc_stdc=c99
5218 fi
5219 fi
5220 if test x$ac_prog_cc_stdc = xno
5221 then :
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5223 printf %s "checking for $CC option to enable C89 features... " >&6; }
5224 if test ${ac_cv_prog_cc_c89+y}
5225 then :
5226 printf %s "(cached) " >&6
5227 else $as_nop
5228 ac_cv_prog_cc_c89=no
5229 ac_save_CC=$CC
5230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5231 /* end confdefs.h. */
5232 $ac_c_conftest_c89_program
5233 _ACEOF
5234 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5235 do
5236 CC="$ac_save_CC $ac_arg"
5237 if ac_fn_c_try_compile "$LINENO"
5238 then :
5239 ac_cv_prog_cc_c89=$ac_arg
5240 fi
5241 rm -f core conftest.err conftest.$ac_objext conftest.beam
5242 test "x$ac_cv_prog_cc_c89" != "xno" && break
5243 done
5244 rm -f conftest.$ac_ext
5245 CC=$ac_save_CC
5246 fi
5247
5248 if test "x$ac_cv_prog_cc_c89" = xno
5249 then :
5250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5251 printf "%s\n" "unsupported" >&6; }
5252 else $as_nop
5253 if test "x$ac_cv_prog_cc_c89" = x
5254 then :
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5256 printf "%s\n" "none needed" >&6; }
5257 else $as_nop
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5259 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5260 CC="$CC $ac_cv_prog_cc_c89"
5261 fi
5262 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5263 ac_prog_cc_stdc=c89
5264 fi
5265 fi
5266
5267 ac_ext=c
5268 ac_cpp='$CPP $CPPFLAGS'
5269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5272
5273
5274 ac_ext=c
5275 ac_cpp='$CPP $CPPFLAGS'
5276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5280 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5281 if test ${am_cv_prog_cc_c_o+y}
5282 then :
5283 printf %s "(cached) " >&6
5284 else $as_nop
5285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5286 /* end confdefs.h. */
5287
5288 int
5289 main (void)
5290 {
5291
5292 ;
5293 return 0;
5294 }
5295 _ACEOF
5296 # Make sure it works both with $CC and with simple cc.
5297 # Following AC_PROG_CC_C_O, we do the test twice because some
5298 # compilers refuse to overwrite an existing .o file with -o,
5299 # though they will create one.
5300 am_cv_prog_cc_c_o=yes
5301 for am_i in 1 2; do
5302 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5303 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5304 ac_status=$?
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); } \
5307 && test -f conftest2.$ac_objext; then
5308 : OK
5309 else
5310 am_cv_prog_cc_c_o=no
5311 break
5312 fi
5313 done
5314 rm -f core conftest*
5315 unset am_i
5316 fi
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5318 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
5319 if test "$am_cv_prog_cc_c_o" != yes; then
5320 # Losing compiler, so override with the script.
5321 # FIXME: It is wrong to rewrite CC.
5322 # But if we don't then we get into trouble of one sort or another.
5323 # A longer-term fix would be to have automake use am__CC in this case,
5324 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5325 CC="$am_aux_dir/compile $CC"
5326 fi
5327 ac_ext=c
5328 ac_cpp='$CPP $CPPFLAGS'
5329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5332
5333
5334 depcc="$CC" am_compiler_list=
5335
5336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5337 printf %s "checking dependency style of $depcc... " >&6; }
5338 if test ${am_cv_CC_dependencies_compiler_type+y}
5339 then :
5340 printf %s "(cached) " >&6
5341 else $as_nop
5342 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5343 # We make a subdir and do the tests there. Otherwise we can end up
5344 # making bogus files that we don't know about and never remove. For
5345 # instance it was reported that on HP-UX the gcc test will end up
5346 # making a dummy file named 'D' -- because '-MD' means "put the output
5347 # in D".
5348 rm -rf conftest.dir
5349 mkdir conftest.dir
5350 # Copy depcomp to subdir because otherwise we won't find it if we're
5351 # using a relative directory.
5352 cp "$am_depcomp" conftest.dir
5353 cd conftest.dir
5354 # We will build objects and dependencies in a subdirectory because
5355 # it helps to detect inapplicable dependency modes. For instance
5356 # both Tru64's cc and ICC support -MD to output dependencies as a
5357 # side effect of compilation, but ICC will put the dependencies in
5358 # the current directory while Tru64 will put them in the object
5359 # directory.
5360 mkdir sub
5361
5362 am_cv_CC_dependencies_compiler_type=none
5363 if test "$am_compiler_list" = ""; then
5364 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5365 fi
5366 am__universal=false
5367 case " $depcc " in #(
5368 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5369 esac
5370
5371 for depmode in $am_compiler_list; do
5372 # Setup a source with many dependencies, because some compilers
5373 # like to wrap large dependency lists on column 80 (with \), and
5374 # we should not choose a depcomp mode which is confused by this.
5375 #
5376 # We need to recreate these files for each test, as the compiler may
5377 # overwrite some of them when testing with obscure command lines.
5378 # This happens at least with the AIX C compiler.
5379 : > sub/conftest.c
5380 for i in 1 2 3 4 5 6; do
5381 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5382 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5383 # Solaris 10 /bin/sh.
5384 echo '/* dummy */' > sub/conftst$i.h
5385 done
5386 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5387
5388 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5389 # mode. It turns out that the SunPro C++ compiler does not properly
5390 # handle '-M -o', and we need to detect this. Also, some Intel
5391 # versions had trouble with output in subdirs.
5392 am__obj=sub/conftest.${OBJEXT-o}
5393 am__minus_obj="-o $am__obj"
5394 case $depmode in
5395 gcc)
5396 # This depmode causes a compiler race in universal mode.
5397 test "$am__universal" = false || continue
5398 ;;
5399 nosideeffect)
5400 # After this tag, mechanisms are not by side-effect, so they'll
5401 # only be used when explicitly requested.
5402 if test "x$enable_dependency_tracking" = xyes; then
5403 continue
5404 else
5405 break
5406 fi
5407 ;;
5408 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5409 # This compiler won't grok '-c -o', but also, the minuso test has
5410 # not run yet. These depmodes are late enough in the game, and
5411 # so weak that their functioning should not be impacted.
5412 am__obj=conftest.${OBJEXT-o}
5413 am__minus_obj=
5414 ;;
5415 none) break ;;
5416 esac
5417 if depmode=$depmode \
5418 source=sub/conftest.c object=$am__obj \
5419 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5420 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5421 >/dev/null 2>conftest.err &&
5422 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5423 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5424 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5425 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5426 # icc doesn't choke on unknown options, it will just issue warnings
5427 # or remarks (even with -Werror). So we grep stderr for any message
5428 # that says an option was ignored or not supported.
5429 # When given -MP, icc 7.0 and 7.1 complain thusly:
5430 # icc: Command line warning: ignoring option '-M'; no argument required
5431 # The diagnosis changed in icc 8.0:
5432 # icc: Command line remark: option '-MP' not supported
5433 if (grep 'ignoring option' conftest.err ||
5434 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5435 am_cv_CC_dependencies_compiler_type=$depmode
5436 break
5437 fi
5438 fi
5439 done
5440
5441 cd ..
5442 rm -rf conftest.dir
5443 else
5444 am_cv_CC_dependencies_compiler_type=none
5445 fi
5446
5447 fi
5448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5449 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5450 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5451
5452 if
5453 test "x$enable_dependency_tracking" != xno \
5454 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5455 am__fastdepCC_TRUE=
5456 am__fastdepCC_FALSE='#'
5457 else
5458 am__fastdepCC_TRUE='#'
5459 am__fastdepCC_FALSE=
5460 fi
5461
5462
5463
5464 ac_header= ac_cache=
5465 for ac_item in $ac_header_c_list
5466 do
5467 if test $ac_cache; then
5468 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
5469 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
5470 printf "%s\n" "#define $ac_item 1" >> confdefs.h
5471 fi
5472 ac_header= ac_cache=
5473 elif test $ac_header; then
5474 ac_cache=$ac_item
5475 else
5476 ac_header=$ac_item
5477 fi
5478 done
5479
5480
5481
5482
5483
5484
5485
5486
5487 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
5488 then :
5489
5490 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
5491
5492 fi
5493
5494
5495
5496
5497
5498
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5500 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5501 if test ${ac_cv_safe_to_define___extensions__+y}
5502 then :
5503 printf %s "(cached) " >&6
5504 else $as_nop
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5507
5508 # define __EXTENSIONS__ 1
5509 $ac_includes_default
5510 int
5511 main (void)
5512 {
5513
5514 ;
5515 return 0;
5516 }
5517 _ACEOF
5518 if ac_fn_c_try_compile "$LINENO"
5519 then :
5520 ac_cv_safe_to_define___extensions__=yes
5521 else $as_nop
5522 ac_cv_safe_to_define___extensions__=no
5523 fi
5524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5525 fi
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5527 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
5528
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5530 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
5531 if test ${ac_cv_should_define__xopen_source+y}
5532 then :
5533 printf %s "(cached) " >&6
5534 else $as_nop
5535 ac_cv_should_define__xopen_source=no
5536 if test $ac_cv_header_wchar_h = yes
5537 then :
5538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5540
5541 #include <wchar.h>
5542 mbstate_t x;
5543 int
5544 main (void)
5545 {
5546
5547 ;
5548 return 0;
5549 }
5550 _ACEOF
5551 if ac_fn_c_try_compile "$LINENO"
5552 then :
5553
5554 else $as_nop
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5557
5558 #define _XOPEN_SOURCE 500
5559 #include <wchar.h>
5560 mbstate_t x;
5561 int
5562 main (void)
5563 {
5564
5565 ;
5566 return 0;
5567 }
5568 _ACEOF
5569 if ac_fn_c_try_compile "$LINENO"
5570 then :
5571 ac_cv_should_define__xopen_source=yes
5572 fi
5573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5574 fi
5575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5576 fi
5577 fi
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5579 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
5580
5581 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
5582
5583 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5584
5585 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5586
5587 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5588
5589 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
5590
5591 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
5592
5593 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5594
5595 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5596
5597 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5598
5599 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5600
5601 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5602
5603 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5604
5605 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5606
5607 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5608
5609 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5610
5611 if test $ac_cv_header_minix_config_h = yes
5612 then :
5613 MINIX=yes
5614 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5615
5616 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5617
5618 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5619
5620 else $as_nop
5621 MINIX=
5622 fi
5623 if test $ac_cv_safe_to_define___extensions__ = yes
5624 then :
5625 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5626
5627 fi
5628 if test $ac_cv_should_define__xopen_source = yes
5629 then :
5630 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5631
5632 fi
5633
5634
5635 # Checks for libraries.
5636
5637 # Checks for header files.
5638 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5639 if test "x$ac_cv_header_stdlib_h" = xyes
5640 then :
5641 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
5642
5643 fi
5644 ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
5645 if test "x$ac_cv_header_string_h" = xyes
5646 then :
5647 printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
5648
5649 fi
5650
5651
5652 # Checks for typedefs, structures, and compiler characteristics.
5653 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5654 if test "x$ac_cv_type__Bool" = xyes
5655 then :
5656
5657 printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
5658
5659
5660 fi
5661
5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5663 printf %s "checking for stdbool.h that conforms to C99... " >&6; }
5664 if test ${ac_cv_header_stdbool_h+y}
5665 then :
5666 printf %s "(cached) " >&6
5667 else $as_nop
5668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5669 /* end confdefs.h. */
5670 #include <stdbool.h>
5671
5672 #ifndef __bool_true_false_are_defined
5673 #error "__bool_true_false_are_defined is not defined"
5674 #endif
5675 char a[__bool_true_false_are_defined == 1 ? 1 : -1];
5676
5677 /* Regardless of whether this is C++ or "_Bool" is a
5678 valid type name, "true" and "false" should be usable
5679 in #if expressions and integer constant expressions,
5680 and "bool" should be a valid type name. */
5681
5682 #if !true
5683 #error "'true' is not true"
5684 #endif
5685 #if true != 1
5686 #error "'true' is not equal to 1"
5687 #endif
5688 char b[true == 1 ? 1 : -1];
5689 char c[true];
5690
5691 #if false
5692 #error "'false' is not false"
5693 #endif
5694 #if false != 0
5695 #error "'false' is not equal to 0"
5696 #endif
5697 char d[false == 0 ? 1 : -1];
5698
5699 enum { e = false, f = true, g = false * true, h = true * 256 };
5700
5701 char i[(bool) 0.5 == true ? 1 : -1];
5702 char j[(bool) 0.0 == false ? 1 : -1];
5703 char k[sizeof (bool) > 0 ? 1 : -1];
5704
5705 struct sb { bool s: 1; bool t; } s;
5706 char l[sizeof s.t > 0 ? 1 : -1];
5707
5708 /* The following fails for
5709 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5710 bool m[h];
5711 char n[sizeof m == h * sizeof m[0] ? 1 : -1];
5712 char o[-1 - (bool) 0 < 0 ? 1 : -1];
5713 /* Catch a bug in an HP-UX C compiler. See
5714 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5715 https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5716 */
5717 bool p = true;
5718 bool *pp = &p;
5719
5720 /* C 1999 specifies that bool, true, and false are to be
5721 macros, but C++ 2011 and later overrule this. */
5722 #if __cplusplus < 201103
5723 #ifndef bool
5724 #error "bool is not defined"
5725 #endif
5726 #ifndef false
5727 #error "false is not defined"
5728 #endif
5729 #ifndef true
5730 #error "true is not defined"
5731 #endif
5732 #endif
5733
5734 /* If _Bool is available, repeat with it all the tests
5735 above that used bool. */
5736 #ifdef HAVE__BOOL
5737 struct sB { _Bool s: 1; _Bool t; } t;
5738
5739 char q[(_Bool) 0.5 == true ? 1 : -1];
5740 char r[(_Bool) 0.0 == false ? 1 : -1];
5741 char u[sizeof (_Bool) > 0 ? 1 : -1];
5742 char v[sizeof t.t > 0 ? 1 : -1];
5743
5744 _Bool w[h];
5745 char x[sizeof m == h * sizeof m[0] ? 1 : -1];
5746 char y[-1 - (_Bool) 0 < 0 ? 1 : -1];
5747 _Bool z = true;
5748 _Bool *pz = &p;
5749 #endif
5750
5751 int
5752 main (void)
5753 {
5754
5755 bool ps = &s;
5756 *pp |= p;
5757 *pp |= ! p;
5758
5759 #ifdef HAVE__BOOL
5760 _Bool pt = &t;
5761 *pz |= z;
5762 *pz |= ! z;
5763 #endif
5764
5765 /* Refer to every declared value, so they cannot be
5766 discarded as unused. */
5767 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
5768 + !l + !m + !n + !o + !p + !pp + !ps
5769 #ifdef HAVE__BOOL
5770 + !q + !r + !u + !v + !w + !x + !y + !z + !pt
5771 #endif
5772 );
5773
5774 ;
5775 return 0;
5776 }
5777 _ACEOF
5778 if ac_fn_c_try_compile "$LINENO"
5779 then :
5780 ac_cv_header_stdbool_h=yes
5781 else $as_nop
5782 ac_cv_header_stdbool_h=no
5783 fi
5784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5785 fi
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5787 printf "%s\n" "$ac_cv_header_stdbool_h" >&6; }
5788
5789 if test $ac_cv_header_stdbool_h = yes; then
5790
5791 printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h
5792
5793 fi
5794
5795 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5796 if test "x$ac_cv_type_size_t" = xyes
5797 then :
5798
5799 else $as_nop
5800
5801 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
5802
5803 fi
5804
5805
5806 # Checks for library functions.
5807 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
5808 if test "x$ac_cv_func_getaddrinfo" = xyes
5809 then :
5810 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
5811
5812 fi
5813 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5814 if test "x$ac_cv_func_gethostbyname" = xyes
5815 then :
5816 printf "%s\n" "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
5817
5818 fi
5819 ac_fn_c_check_func "$LINENO" "hstrerror" "ac_cv_func_hstrerror"
5820 if test "x$ac_cv_func_hstrerror" = xyes
5821 then :
5822 printf "%s\n" "#define HAVE_HSTRERROR 1" >>confdefs.h
5823
5824 fi
5825 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
5826 if test "x$ac_cv_func_gmtime_r" = xyes
5827 then :
5828 printf "%s\n" "#define HAVE_GMTIME_R 1" >>confdefs.h
5829
5830 fi
5831 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
5832 if test "x$ac_cv_func_localtime_r" = xyes
5833 then :
5834 printf "%s\n" "#define HAVE_LOCALTIME_R 1" >>confdefs.h
5835
5836 fi
5837 ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
5838 if test "x$ac_cv_func_memmove" = xyes
5839 then :
5840 printf "%s\n" "#define HAVE_MEMMOVE 1" >>confdefs.h
5841
5842 fi
5843 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
5844 if test "x$ac_cv_func_memset" = xyes
5845 then :
5846 printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
5847
5848 fi
5849 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir"
5850 if test "x$ac_cv_func_mkdir" = xyes
5851 then :
5852 printf "%s\n" "#define HAVE_MKDIR 1" >>confdefs.h
5853
5854 fi
5855 ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select"
5856 if test "x$ac_cv_func_select" = xyes
5857 then :
5858 printf "%s\n" "#define HAVE_SELECT 1" >>confdefs.h
5859
5860 fi
5861 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
5862 if test "x$ac_cv_func_setenv" = xyes
5863 then :
5864 printf "%s\n" "#define HAVE_SETENV 1" >>confdefs.h
5865
5866 fi
5867 ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
5868 if test "x$ac_cv_func_snprintf" = xyes
5869 then :
5870 printf "%s\n" "#define HAVE_SNPRINTF 1" >>confdefs.h
5871
5872 fi
5873 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
5874 if test "x$ac_cv_func_socket" = xyes
5875 then :
5876 printf "%s\n" "#define HAVE_SOCKET 1" >>confdefs.h
5877
5878 fi
5879 ac_fn_c_check_func "$LINENO" "socketpair" "ac_cv_func_socketpair"
5880 if test "x$ac_cv_func_socketpair" = xyes
5881 then :
5882 printf "%s\n" "#define HAVE_SOCKETPAIR 1" >>confdefs.h
5883
5884 fi
5885 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
5886 if test "x$ac_cv_func_strcasecmp" = xyes
5887 then :
5888 printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
5889
5890 fi
5891 ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr"
5892 if test "x$ac_cv_func_strcasestr" = xyes
5893 then :
5894 printf "%s\n" "#define HAVE_STRCASESTR 1" >>confdefs.h
5895
5896 fi
5897 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
5898 if test "x$ac_cv_func_strchr" = xyes
5899 then :
5900 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
5901
5902 fi
5903 ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
5904 if test "x$ac_cv_func_strdup" = xyes
5905 then :
5906 printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
5907
5908 fi
5909 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
5910 if test "x$ac_cv_func_strerror" = xyes
5911 then :
5912 printf "%s\n" "#define HAVE_STRERROR 1" >>confdefs.h
5913
5914 fi
5915 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
5916 if test "x$ac_cv_func_strlcpy" = xyes
5917 then :
5918 printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
5919
5920 fi
5921 ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp"
5922 if test "x$ac_cv_func_strncasecmp" = xyes
5923 then :
5924 printf "%s\n" "#define HAVE_STRNCASECMP 1" >>confdefs.h
5925
5926 fi
5927 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
5928 if test "x$ac_cv_func_strrchr" = xyes
5929 then :
5930 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
5931
5932 fi
5933 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
5934 if test "x$ac_cv_func_strstr" = xyes
5935 then :
5936 printf "%s\n" "#define HAVE_STRSTR 1" >>confdefs.h
5937
5938 fi
5939 ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
5940 if test "x$ac_cv_func_strtol" = xyes
5941 then :
5942 printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h
5943
5944 fi
5945 ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
5946 if test "x$ac_cv_func_uname" = xyes
5947 then :
5948 printf "%s\n" "#define HAVE_UNAME 1" >>confdefs.h
5949
5950 fi
5951 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
5952 if test "x$ac_cv_func_unsetenv" = xyes
5953 then :
5954 printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h
5955
5956 fi
5957 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
5958 if test "x$ac_cv_func_vsnprintf" = xyes
5959 then :
5960 printf "%s\n" "#define HAVE_VSNPRINTF 1" >>confdefs.h
5961
5962 fi
5963
5964
5965 ### static flag
5966 # Set ac_cv_static to yes/no
5967 # Substitute RTLIB in Makefile
5968
5969 # Check whether --enable-static was given.
5970 if test ${enable_static+y}
5971 then :
5972 enableval=$enable_static; case "${enableval}" in
5973 yes|no) ac_cv_static="${enableval}" ;;
5974 *) as_fn_error $? "bad value ${enableval} for --enable-static" "$LINENO" 5 ;;
5975 esac
5976 else $as_nop
5977 ac_cv_static=no
5978 fi
5979
5980
5981
5982 ### optimizations
5983 # Set ac_cv_opt to arg
5984 # Substitute OPT_FLAGS in Makefile
5985
5986 # Check whether --enable-optimizations was given.
5987 if test ${enable_optimizations+y}
5988 then :
5989 enableval=$enable_optimizations; case "${enableval}" in
5990 none|sse|sse2|sse3|native) ac_cv_opt="${enableval}" ;;
5991 *) as_fn_error $? "bad value ${enableval} for --enable-optimizations" "$LINENO" 5 ;;
5992 esac
5993 else $as_nop
5994 ac_cv_opt=none
5995 fi
5996
5997 OPT_CFLAGS="-O2 -ffast-math -finline-functions -fomit-frame-pointer"
5998 case "$ac_cv_opt" in
5999 sse)
6000 OPT_CFLAGS="$OPT_CFLAGS -msse -mfpmath=sse"
6001 ;;
6002 sse2)
6003 OPT_CFLAGS="$OPT_CFLAGS -msse2 -mfpmath=sse"
6004 ;;
6005 sse3)
6006 OPT_CFLAGS="$OPT_CFLAGS -msse3 -mfpmath=sse"
6007 ;;
6008 native)
6009 OPT_CFLAGS="$OPT_CFLAGS -march=native -mfpmath=sse"
6010 ;;
6011 none)
6012 ;;
6013 esac
6014
6015
6016
6017
6018 ### debug flag
6019 # Set ac_cv_debug to yes/no
6020 # Override CXXFLAGS
6021 # Set ENABLE_DEBUG Makefile conditional
6022 # Substitute RDYNAMIC in Makefile
6023
6024
6025
6026 # Check whether --enable-debug was given.
6027 if test ${enable_debug+y}
6028 then :
6029 enableval=$enable_debug; case "${enableval}" in
6030 yes|no) ac_cv_debug="${enableval}" ;;
6031 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
6032 esac
6033 else $as_nop
6034 ac_cv_debug=no
6035 fi
6036
6037
6038
6039
6040
6041 # Check whether --with-bfd was given.
6042 if test ${with_bfd+y}
6043 then :
6044 withval=$with_bfd; ac_cv_want_bfd="$withval"
6045 else $as_nop
6046 ac_cv_want_bfd=yes
6047 fi
6048
6049
6050 if test "x$ac_cv_debug" = "xyes" && test "x$ac_cv_want_bfd" != "xno" && \
6051 test "x$target_mingw32" = "xyes"; then
6052 if test "x$ac_cv_want_bfd" != "xyes"; then # set -I and -L switches
6053 bfd_default_cflags="-I${ac_cv_want_bfd}/include"
6054 bfd_default_libs="-L${ac_cv_want_bfd}/lib"
6055 fi
6056 # don't override the user-specified vars
6057 BFD_CFLAGS="${BFD_CFLAGS:-$bfd_default_cflags}"
6058 BFD_LIBS="${BFD_LIBS:-$bfd_default_libs}"
6059 ac_cv_want_bfd="yes"
6060
6061 CPPFLAGS_saved="$CPPFLAGS"
6062 LDFLAGS_saved="$LDFLAGS"
6063 CPPFLAGS="$CPPFLAGS $BFD_CFLAGS"
6064 LDFLAGS="$LDFLAGS $BFD_LIBS"
6065
6066 ac_fn_c_check_header_compile "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
6067 if test "x$ac_cv_header_bfd_h" = xyes
6068 then :
6069 ac_cv_have_bfd="yes"
6070 else $as_nop
6071 ac_cv_have_bfd="no"
6072 fi
6073
6074 if test "x$ac_cv_have_bfd" = "xyes"; then
6075 bfd_other_libs="-liberty -lpsapi -limagehlp"
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bfd_set_format in -lbfd" >&5
6077 printf %s "checking for bfd_set_format in -lbfd... " >&6; }
6078 if test ${ac_cv_lib_bfd_bfd_set_format+y}
6079 then :
6080 printf %s "(cached) " >&6
6081 else $as_nop
6082 ac_check_lib_save_LIBS=$LIBS
6083 LIBS="-lbfd $bfd_other_libs $LIBS"
6084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6085 /* end confdefs.h. */
6086
6087 /* Override any GCC internal prototype to avoid an error.
6088 Use char because int might match the return type of a GCC
6089 builtin and then its argument prototype would still apply. */
6090 char bfd_set_format ();
6091 int
6092 main (void)
6093 {
6094 return bfd_set_format ();
6095 ;
6096 return 0;
6097 }
6098 _ACEOF
6099 if ac_fn_c_try_link "$LINENO"
6100 then :
6101 ac_cv_lib_bfd_bfd_set_format=yes
6102 else $as_nop
6103 ac_cv_lib_bfd_bfd_set_format=no
6104 fi
6105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6106 conftest$ac_exeext conftest.$ac_ext
6107 LIBS=$ac_check_lib_save_LIBS
6108 fi
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfd_bfd_set_format" >&5
6110 printf "%s\n" "$ac_cv_lib_bfd_bfd_set_format" >&6; }
6111 if test "x$ac_cv_lib_bfd_bfd_set_format" = xyes
6112 then :
6113 ac_cv_have_bfd="yes"
6114 else $as_nop
6115 ac_cv_have_bfd="no"
6116 fi
6117
6118 fi
6119 CPPFLAGS="$CPPFLAGS_saved"
6120 LDFLAGS="$LDFLAGS_saved"
6121 if test "x$ac_cv_have_bfd" = "xyes"; then
6122 BFD_LIBS="$BFD_LIBS -lbfd $bfd_other_libs"
6123 fi
6124 fi
6125
6126 if test "x$ac_cv_debug" = "xyes"; then
6127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for debug info flag" >&5
6128 printf %s "checking for debug info flag... " >&6; }
6129 if test "x$GXX" = "xyes"; then
6130 if test "x$target_mingw32" = "xyes"; then
6131 gflag="-gstabs"
6132 else
6133 gflag="-ggdb3"
6134 fi
6135 else
6136 gflag="-g"
6137 fi
6138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gflag" >&5
6139 printf "%s\n" "$gflag" >&6; }
6140 DEBUG_CFLAGS="-O0 -fno-inline-functions -fno-omit-frame-pointer $gflag -Wall"
6141
6142
6143 LDFLAGS_saved="$LDFLAGS"
6144 LDFLAGS="$LDFLAGS -rdynamic"
6145
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -rdynamic" >&5
6147 printf %s "checking whether $CC supports -rdynamic... " >&6; }
6148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6150
6151 int
6152 main (void)
6153 {
6154
6155 ;
6156 return 0;
6157 }
6158 _ACEOF
6159 if ac_fn_c_try_link "$LINENO"
6160 then :
6161 ac_cv_rdynamic=yes
6162 else $as_nop
6163 ac_cv_rdynamic=no
6164 fi
6165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6166 conftest$ac_exeext conftest.$ac_ext
6167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rdynamic" >&5
6168 printf "%s\n" "$ac_cv_rdynamic" >&6; }
6169
6170 ac_ext=cpp
6171 ac_cpp='$CXXCPP $CPPFLAGS'
6172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6175
6176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports -rdynamic" >&5
6177 printf %s "checking whether $CXX supports -rdynamic... " >&6; }
6178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6179 /* end confdefs.h. */
6180
6181 int
6182 main (void)
6183 {
6184
6185 ;
6186 return 0;
6187 }
6188 _ACEOF
6189 if ac_fn_cxx_try_link "$LINENO"
6190 then :
6191 ac_cv_rdynamic=yes
6192 else $as_nop
6193 ac_cv_rdynamic=no
6194 fi
6195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6196 conftest$ac_exeext conftest.$ac_ext
6197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rdynamic" >&5
6198 printf "%s\n" "$ac_cv_rdynamic" >&6; }
6199 ac_ext=c
6200 ac_cpp='$CPP $CPPFLAGS'
6201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6204
6205
6206 LDFLAGS="$LDFLAGS_saved"
6207
6208 if test "x$ac_cv_rdynamic" = "xyes"; then
6209 RDYNAMIC=-rdynamic
6210 fi
6211
6212 CXXFLAGS=""
6213 CFLAGS="$CXXFLAGS"
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: debugging enabled; overriding CXXFLAGS" >&5
6215 printf "%s\n" "$as_me: debugging enabled; overriding CXXFLAGS" >&6;}
6216
6217 if test "x$target_darwin" = "xyes"; then
6218 ac_cv_compat_stack=yes
6219
6220 printf "%s\n" "#define HAVE_DBG_STACK 1" >>confdefs.h
6221
6222 elif test "x$target_mingw32" = "xyes" && test "x$ac_cv_have_bfd" = "xyes"; then
6223 ac_cv_compat_stack=yes
6224
6225 printf "%s\n" "#define HAVE_DBG_STACK 1" >>confdefs.h
6226
6227 else
6228 ac_cv_compat_stack=no
6229
6230 printf "%s\n" "#define HAVE_DBG_STACK 0" >>confdefs.h
6231
6232 fi
6233 fi
6234 if test "x$ac_cv_debug" = "xyes"; then
6235 ENABLE_DEBUG_TRUE=
6236 ENABLE_DEBUG_FALSE='#'
6237 else
6238 ENABLE_DEBUG_TRUE='#'
6239 ENABLE_DEBUG_FALSE=
6240 fi
6241
6242
6243
6244
6245 if test "x$ac_cv_compat_stack" = "xyes"; then
6246 COMPAT_STACK_TRUE=
6247 COMPAT_STACK_FALSE='#'
6248 else
6249 COMPAT_STACK_TRUE='#'
6250 COMPAT_STACK_FALSE=
6251 fi
6252
6253
6254
6255 ###### OS support
6256 ### OSX
6257 # Set ac_cv_mac_universal to yes/no
6258 # Set DARWIN Makefile conditional
6259 # Substitute MAC_UNIVERSAL_CFLAGS and MAC_UNIVERSAL_LDFLAGS in Makefile
6260
6261 case "$target_os" in
6262 darwin*)
6263 target_darwin="yes"
6264 ;;
6265 *)
6266 target_darwin="no"
6267 ;;
6268 esac
6269
6270 # Check whether --enable-mac-universal was given.
6271 if test ${enable_mac_universal+y}
6272 then :
6273 enableval=$enable_mac_universal; case "${enableval}" in
6274 yes|no) ac_cv_mac_universal="${enableval}" ;;
6275 *) as_fn_error $? "bad value \"${enableval}\" for --enable-mac-universal" "$LINENO" 5 ;;
6276 esac
6277 else $as_nop
6278 ac_cv_mac_universal=no
6279 fi
6280
6281
6282 if test "x$target_darwin" = "xyes" && test "x$ac_cv_mac_universal" = "xyes"; then
6283 mac_minversion="-mmacosx-version-min=10.4"
6284 case "$target_os" in
6285 darwin8*)
6286 mac_arches="-arch i386 -arch ppc"
6287 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
6288 ;;
6289 darwin9*)
6290 mac_arches="-arch i386 -arch ppc -arch x86_64 -arch ppc64"
6291 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.5.sdk"
6292 ;;
6293 *)
6294 mac_arches=""
6295 mac_sysroot=""
6296 ;;
6297 esac
6298 MAC_UNIVERSAL_CFLAGS="$mac_arches $mac_sysroot $mac_minversion"
6299 MAC_UNIVERSAL_LDFLAGS="$mac_arches"
6300 fi
6301
6302
6303
6304 if test "x$target_darwin" = "xyes"; then
6305 DARWIN_TRUE=
6306 DARWIN_FALSE='#'
6307 else
6308 DARWIN_TRUE='#'
6309 DARWIN_FALSE=
6310 fi
6311
6312
6313
6314 ### win32
6315 # Set WIN32 Makefile conditional
6316 # Set HAVE_WINDRES Makefile conditional
6317 # Substitute WINDRES in Makefile
6318
6319 case "$target_os" in
6320 *mingw*)
6321 target_win32="yes"
6322 target_mingw32="yes"
6323 ;;
6324 *cygwin*|*win32*|*w32*)
6325 target_win32="yes"
6326 ;;
6327 *)
6328 target_win32="no"
6329 ;;
6330 esac
6331
6332 if test "x$target_win32" = "xyes"; then
6333 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6334 set dummy ${ac_tool_prefix}windres; ac_word=$2
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6336 printf %s "checking for $ac_word... " >&6; }
6337 if test ${ac_cv_prog_WINDRES+y}
6338 then :
6339 printf %s "(cached) " >&6
6340 else $as_nop
6341 if test -n "$WINDRES"; then
6342 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6343 else
6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6345 for as_dir in $PATH
6346 do
6347 IFS=$as_save_IFS
6348 case $as_dir in #(((
6349 '') as_dir=./ ;;
6350 */) ;;
6351 *) as_dir=$as_dir/ ;;
6352 esac
6353 for ac_exec_ext in '' $ac_executable_extensions; do
6354 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6355 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6357 break 2
6358 fi
6359 done
6360 done
6361 IFS=$as_save_IFS
6362
6363 fi
6364 fi
6365 WINDRES=$ac_cv_prog_WINDRES
6366 if test -n "$WINDRES"; then
6367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
6368 printf "%s\n" "$WINDRES" >&6; }
6369 else
6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371 printf "%s\n" "no" >&6; }
6372 fi
6373
6374
6375 if test "x$WINDRES" = "x" ; then
6376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: The windres utility could not be found" >&5
6377 printf "%s\n" "$as_me: WARNING: The windres utility could not be found" >&2;}
6378 fi
6379
6380 printf "%s\n" "#define __WOE32__ 1" >>confdefs.h
6381
6382
6383 printf "%s\n" "#define __MINGW32__ 1" >>confdefs.h
6384
6385
6386 printf "%s\n" "#define _WINDOWS 1" >>confdefs.h
6387
6388 fi
6389
6390 if test "x$target_mingw32" = "xyes"; then
6391 # Extract the first word of "makensis", so it can be a program name with args.
6392 set dummy makensis; ac_word=$2
6393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 printf %s "checking for $ac_word... " >&6; }
6395 if test ${ac_cv_prog_MAKENSIS+y}
6396 then :
6397 printf %s "(cached) " >&6
6398 else $as_nop
6399 if test -n "$MAKENSIS"; then
6400 ac_cv_prog_MAKENSIS="$MAKENSIS" # Let the user override the test.
6401 else
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6403 for as_dir in $PATH
6404 do
6405 IFS=$as_save_IFS
6406 case $as_dir in #(((
6407 '') as_dir=./ ;;
6408 */) ;;
6409 *) as_dir=$as_dir/ ;;
6410 esac
6411 for ac_exec_ext in '' $ac_executable_extensions; do
6412 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6413 ac_cv_prog_MAKENSIS="makensis"
6414 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6415 break 2
6416 fi
6417 done
6418 done
6419 IFS=$as_save_IFS
6420
6421 fi
6422 fi
6423 MAKENSIS=$ac_cv_prog_MAKENSIS
6424 if test -n "$MAKENSIS"; then
6425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKENSIS" >&5
6426 printf "%s\n" "$MAKENSIS" >&6; }
6427 else
6428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6429 printf "%s\n" "no" >&6; }
6430 fi
6431
6432
6433 fi
6434
6435
6436 if test "x$WINDRES" != "x"; then
6437 HAVE_WINDRES_TRUE=
6438 HAVE_WINDRES_FALSE='#'
6439 else
6440 HAVE_WINDRES_TRUE='#'
6441 HAVE_WINDRES_FALSE=
6442 fi
6443
6444
6445 if test "x$MAKENSIS" != "x"; then
6446 HAVE_NSIS_TRUE=
6447 HAVE_NSIS_FALSE='#'
6448 else
6449 HAVE_NSIS_TRUE='#'
6450 HAVE_NSIS_FALSE=
6451 fi
6452
6453 if test "x$target_win32" = "xyes"; then
6454 WIN32_TRUE=
6455 WIN32_FALSE='#'
6456 else
6457 WIN32_TRUE='#'
6458 WIN32_FALSE=
6459 fi
6460
6461 if test "x$target_mingw32" = "xyes"; then
6462 MINGW32_TRUE=
6463 MINGW32_FALSE='#'
6464 else
6465 MINGW32_TRUE='#'
6466 MINGW32_FALSE=
6467 fi
6468
6469
6470
6471
6472
6473
6474 # Check whether --with-ptw32 was given.
6475 if test ${with_ptw32+y}
6476 then :
6477 withval=$with_ptw32; ac_cv_want_ptw32="$withval"
6478 else $as_nop
6479 ac_cv_want_ptw32=no
6480 fi
6481
6482
6483 if test "x$ac_cv_want_ptw32" != "xno"; then
6484 if test "x$ac_cv_want_ptw32" != "xyes"; then # set -I and -L switches
6485 ptw32_default_cflags="-I${ac_cv_want_ptw32}/include"
6486 ptw32_default_libs="-L${ac_cv_want_ptw32}/lib"
6487 fi
6488 ptw32_default_cflags="-DPTW32_STATIC_LIB $ptw32_default_cflags"
6489 ptw32_default_libs="$ptw32_default_libs -lpthreadGC2 -lws2_32"
6490
6491 # don't override the user-specified vars
6492 PTW32_CFLAGS="${PTW32_CFLAGS:-$ptw32_default_cflags}"
6493 PTW32_LIBS="${PTW32_LIBS:-$ptw32_default_libs}"
6494 ac_cv_want_ptw32="yes"
6495 else
6496 if test "x$target_mingw32" = "xyes"; then
6497 PTW32_LIBS="-lpthread -lwsock32 -lws2_32"
6498 fi
6499 fi
6500
6501
6502
6503
6504
6505
6506 ### Non-POSIX compatibility (i.e. mingw32)
6507 # Sets various Makefile conditionals; see m4/np-compat.m4
6508
6509
6510
6511
6512
6513 # Check whether --with-clock_gettime was given.
6514 if test ${with_clock_gettime+y}
6515 then :
6516 withval=$with_clock_gettime; case "${withval}" in
6517 yes|no) ac_cv_with_clock_gettime="${withval}" ;;
6518 *) as_fn_error $? "bad value ${withval} for --without-clock_gettime" "$LINENO" 5 ;;
6519 esac
6520 else $as_nop
6521 ac_cv_with_clock_gettime=yes
6522 fi
6523
6524
6525 if test "x$ac_cv_with_clock_gettime" = "xyes"; then
6526
6527
6528
6529
6530 LIBS_search_libs_save="$LIBS"
6531 LIBS=""
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
6533 printf %s "checking for library containing clock_gettime... " >&6; }
6534 if test ${ac_cv_search_clock_gettime+y}
6535 then :
6536 printf %s "(cached) " >&6
6537 else $as_nop
6538 ac_func_search_save_LIBS=$LIBS
6539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6540 /* end confdefs.h. */
6541
6542 /* Override any GCC internal prototype to avoid an error.
6543 Use char because int might match the return type of a GCC
6544 builtin and then its argument prototype would still apply. */
6545 char clock_gettime ();
6546 int
6547 main (void)
6548 {
6549 return clock_gettime ();
6550 ;
6551 return 0;
6552 }
6553 _ACEOF
6554 for ac_lib in '' rt
6555 do
6556 if test -z "$ac_lib"; then
6557 ac_res="none required"
6558 else
6559 ac_res=-l$ac_lib
6560 LIBS="-l$ac_lib $other_libs $ac_func_search_save_LIBS"
6561 fi
6562 if ac_fn_c_try_link "$LINENO"
6563 then :
6564 ac_cv_search_clock_gettime=$ac_res
6565 fi
6566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6567 conftest$ac_exeext
6568 if test ${ac_cv_search_clock_gettime+y}
6569 then :
6570 break
6571 fi
6572 done
6573 if test ${ac_cv_search_clock_gettime+y}
6574 then :
6575
6576 else $as_nop
6577 ac_cv_search_clock_gettime=no
6578 fi
6579 rm conftest.$ac_ext
6580 LIBS=$ac_func_search_save_LIBS
6581 fi
6582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
6583 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
6584 ac_res=$ac_cv_search_clock_gettime
6585 if test "$ac_res" != no
6586 then :
6587 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6588 ac_cv_have_func_clock_gettime=1
6589 else $as_nop
6590 ac_cv_have_func_clock_gettime=0
6591 fi
6592
6593 if test "x$LIBS" != "x"; then
6594 echo "$EXTRA_LIBS" | grep -q -e "$LIBS" || EXTRA_LIBS="$EXTRA_LIBS $LIBS"
6595 fi
6596
6597 printf "%s\n" "#define HAVE_CLOCK_GETTIME $ac_cv_have_func_clock_gettime" >>confdefs.h
6598
6599 LIBS="$LIBS_search_libs_save"
6600
6601
6602 fi
6603
6604 if test "x$ac_cv_header_regex_h" != "xyes"; then
6605 COMPAT_REGEX_TRUE=
6606 COMPAT_REGEX_FALSE='#'
6607 else
6608 COMPAT_REGEX_TRUE='#'
6609 COMPAT_REGEX_FALSE=
6610 fi
6611
6612
6613 if test "x$target_mingw32" = "xyes"; then
6614 sem_libs="pthreadGC2"
6615 else
6616 sem_libs="pthread rt"
6617 fi
6618 other_libs=""
6619
6620 if test "x$ac_cv_want_ptw32" = "xyes"; then
6621 CFLAGS_saved="$CFLAGS"
6622 LDFLAGS_saved="$LDFLAGS"
6623 EXTRA_LIBS_saved="$EXTRA_LIBS"
6624 CFLAGS="$CFLAGS $PTW32_CFLAGS"
6625 LDFLAGS="$LDFLAGS $PTW32_LIBS"
6626 other_libs=-lws2_32
6627 fi
6628
6629
6630
6631
6632
6633 LIBS_search_libs_save="$LIBS"
6634 LIBS=""
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
6636 printf %s "checking for library containing dlopen... " >&6; }
6637 if test ${ac_cv_search_dlopen+y}
6638 then :
6639 printf %s "(cached) " >&6
6640 else $as_nop
6641 ac_func_search_save_LIBS=$LIBS
6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6644
6645 /* Override any GCC internal prototype to avoid an error.
6646 Use char because int might match the return type of a GCC
6647 builtin and then its argument prototype would still apply. */
6648 char dlopen ();
6649 int
6650 main (void)
6651 {
6652 return dlopen ();
6653 ;
6654 return 0;
6655 }
6656 _ACEOF
6657 for ac_lib in '' dl
6658 do
6659 if test -z "$ac_lib"; then
6660 ac_res="none required"
6661 else
6662 ac_res=-l$ac_lib
6663 LIBS="-l$ac_lib $other_libs $ac_func_search_save_LIBS"
6664 fi
6665 if ac_fn_c_try_link "$LINENO"
6666 then :
6667 ac_cv_search_dlopen=$ac_res
6668 fi
6669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6670 conftest$ac_exeext
6671 if test ${ac_cv_search_dlopen+y}
6672 then :
6673 break
6674 fi
6675 done
6676 if test ${ac_cv_search_dlopen+y}
6677 then :
6678
6679 else $as_nop
6680 ac_cv_search_dlopen=no
6681 fi
6682 rm conftest.$ac_ext
6683 LIBS=$ac_func_search_save_LIBS
6684 fi
6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
6686 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
6687 ac_res=$ac_cv_search_dlopen
6688 if test "$ac_res" != no
6689 then :
6690 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6691 ac_cv_have_func_dlopen=1
6692 else $as_nop
6693 ac_cv_have_func_dlopen=0
6694 fi
6695
6696 if test "x$LIBS" != "x"; then
6697 echo "$EXTRA_LIBS" | grep -q -e "$LIBS" || EXTRA_LIBS="$EXTRA_LIBS $LIBS"
6698 fi
6699
6700 printf "%s\n" "#define HAVE_DLOPEN $ac_cv_have_func_dlopen" >>confdefs.h
6701
6702 LIBS="$LIBS_search_libs_save"
6703
6704
6705
6706
6707
6708
6709 LIBS_search_libs_save="$LIBS"
6710 LIBS=""
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sem_unlink" >&5
6712 printf %s "checking for library containing sem_unlink... " >&6; }
6713 if test ${ac_cv_search_sem_unlink+y}
6714 then :
6715 printf %s "(cached) " >&6
6716 else $as_nop
6717 ac_func_search_save_LIBS=$LIBS
6718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6719 /* end confdefs.h. */
6720
6721 /* Override any GCC internal prototype to avoid an error.
6722 Use char because int might match the return type of a GCC
6723 builtin and then its argument prototype would still apply. */
6724 char sem_unlink ();
6725 int
6726 main (void)
6727 {
6728 return sem_unlink ();
6729 ;
6730 return 0;
6731 }
6732 _ACEOF
6733 for ac_lib in '' $sem_libs
6734 do
6735 if test -z "$ac_lib"; then
6736 ac_res="none required"
6737 else
6738 ac_res=-l$ac_lib
6739 LIBS="-l$ac_lib $other_libs $ac_func_search_save_LIBS"
6740 fi
6741 if ac_fn_c_try_link "$LINENO"
6742 then :
6743 ac_cv_search_sem_unlink=$ac_res
6744 fi
6745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6746 conftest$ac_exeext
6747 if test ${ac_cv_search_sem_unlink+y}
6748 then :
6749 break
6750 fi
6751 done
6752 if test ${ac_cv_search_sem_unlink+y}
6753 then :
6754
6755 else $as_nop
6756 ac_cv_search_sem_unlink=no
6757 fi
6758 rm conftest.$ac_ext
6759 LIBS=$ac_func_search_save_LIBS
6760 fi
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_unlink" >&5
6762 printf "%s\n" "$ac_cv_search_sem_unlink" >&6; }
6763 ac_res=$ac_cv_search_sem_unlink
6764 if test "$ac_res" != no
6765 then :
6766 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6767 ac_cv_have_func_sem_unlink=1
6768 else $as_nop
6769 ac_cv_have_func_sem_unlink=0
6770 fi
6771
6772 if test "x$LIBS" != "x"; then
6773 echo "$EXTRA_LIBS" | grep -q -e "$LIBS" || EXTRA_LIBS="$EXTRA_LIBS $LIBS"
6774 fi
6775
6776 printf "%s\n" "#define HAVE_SEM_UNLINK $ac_cv_have_func_sem_unlink" >>confdefs.h
6777
6778 LIBS="$LIBS_search_libs_save"
6779
6780
6781
6782
6783
6784
6785 LIBS_search_libs_save="$LIBS"
6786 LIBS=""
6787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sem_timedwait" >&5
6788 printf %s "checking for library containing sem_timedwait... " >&6; }
6789 if test ${ac_cv_search_sem_timedwait+y}
6790 then :
6791 printf %s "(cached) " >&6
6792 else $as_nop
6793 ac_func_search_save_LIBS=$LIBS
6794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6795 /* end confdefs.h. */
6796
6797 /* Override any GCC internal prototype to avoid an error.
6798 Use char because int might match the return type of a GCC
6799 builtin and then its argument prototype would still apply. */
6800 char sem_timedwait ();
6801 int
6802 main (void)
6803 {
6804 return sem_timedwait ();
6805 ;
6806 return 0;
6807 }
6808 _ACEOF
6809 for ac_lib in '' $sem_libs
6810 do
6811 if test -z "$ac_lib"; then
6812 ac_res="none required"
6813 else
6814 ac_res=-l$ac_lib
6815 LIBS="-l$ac_lib $other_libs $ac_func_search_save_LIBS"
6816 fi
6817 if ac_fn_c_try_link "$LINENO"
6818 then :
6819 ac_cv_search_sem_timedwait=$ac_res
6820 fi
6821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6822 conftest$ac_exeext
6823 if test ${ac_cv_search_sem_timedwait+y}
6824 then :
6825 break
6826 fi
6827 done
6828 if test ${ac_cv_search_sem_timedwait+y}
6829 then :
6830
6831 else $as_nop
6832 ac_cv_search_sem_timedwait=no
6833 fi
6834 rm conftest.$ac_ext
6835 LIBS=$ac_func_search_save_LIBS
6836 fi
6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_timedwait" >&5
6838 printf "%s\n" "$ac_cv_search_sem_timedwait" >&6; }
6839 ac_res=$ac_cv_search_sem_timedwait
6840 if test "$ac_res" != no
6841 then :
6842 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6843 ac_cv_have_func_sem_timedwait=1
6844 else $as_nop
6845 ac_cv_have_func_sem_timedwait=0
6846 fi
6847
6848 if test "x$LIBS" != "x"; then
6849 echo "$EXTRA_LIBS" | grep -q -e "$LIBS" || EXTRA_LIBS="$EXTRA_LIBS $LIBS"
6850 fi
6851
6852 printf "%s\n" "#define HAVE_SEM_TIMEDWAIT $ac_cv_have_func_sem_timedwait" >>confdefs.h
6853
6854 LIBS="$LIBS_search_libs_save"
6855
6856
6857
6858 if test "x$ac_cv_want_ptw32" = "xyes"; then
6859 CFLAGS="$CFLAGS_saved"
6860 LDFLAGS="$LDFLAGS_saved"
6861 EXTRA_LIBS="$EXTRA_LIBS_saved"
6862 fi
6863
6864
6865 if test "x$ac_cv_func_strcasestr" != "xyes"; then
6866 COMPAT_STRCASESTR_TRUE=
6867 COMPAT_STRCASESTR_FALSE='#'
6868 else
6869 COMPAT_STRCASESTR_TRUE='#'
6870 COMPAT_STRCASESTR_FALSE=
6871 fi
6872
6873
6874
6875 ### FLTK
6876 # Substitute FLTK_CFLAGS and FLTK_LIBS in Makefile
6877 # Set FLUID variable
6878 # Set HAVE_FLUID Makefile conditional
6879
6880
6881
6882
6883
6884 if test "x$FLTK_CFLAGS" = "x" && test "x$FLTK_LIBS" = "x"; then
6885 if test "x$FLTK_CONFIG" = "x"; then
6886 # Extract the first word of "fltk-config", so it can be a program name with args.
6887 set dummy fltk-config; ac_word=$2
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889 printf %s "checking for $ac_word... " >&6; }
6890 if test ${ac_cv_path_FLTK_CONFIG+y}
6891 then :
6892 printf %s "(cached) " >&6
6893 else $as_nop
6894 case $FLTK_CONFIG in
6895 [\\/]* | ?:[\\/]*)
6896 ac_cv_path_FLTK_CONFIG="$FLTK_CONFIG" # Let the user override the test with a path.
6897 ;;
6898 *)
6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900 for as_dir in $PATH
6901 do
6902 IFS=$as_save_IFS
6903 case $as_dir in #(((
6904 '') as_dir=./ ;;
6905 */) ;;
6906 *) as_dir=$as_dir/ ;;
6907 esac
6908 for ac_exec_ext in '' $ac_executable_extensions; do
6909 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6910 ac_cv_path_FLTK_CONFIG="$as_dir$ac_word$ac_exec_ext"
6911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6912 break 2
6913 fi
6914 done
6915 done
6916 IFS=$as_save_IFS
6917
6918 test -z "$ac_cv_path_FLTK_CONFIG" && ac_cv_path_FLTK_CONFIG="no"
6919 ;;
6920 esac
6921 fi
6922 FLTK_CONFIG=$ac_cv_path_FLTK_CONFIG
6923 if test -n "$FLTK_CONFIG"; then
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLTK_CONFIG" >&5
6925 printf "%s\n" "$FLTK_CONFIG" >&6; }
6926 else
6927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 printf "%s\n" "no" >&6; }
6929 fi
6930
6931
6932 else
6933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fltk-config" >&5
6934 printf %s "checking for fltk-config... " >&6; }
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLTK_CONFIG" >&5
6936 printf "%s\n" "$FLTK_CONFIG" >&6; }
6937 fi
6938 if test "$FLTK_CONFIG" = "no"; then
6939 as_fn_error $? "
6940 *** The fltk-config script could not be found. Please install the development
6941 *** headers and libraries for FLTK 1.1.x, or set PATH to the directory that
6942 *** contains fltk-config.
6943 " "$LINENO" 5
6944 fi
6945 HAVE_FLTK_API_VERSION=no
6946 FLTK_API_VERSION="`$FLTK_CONFIG --api-version`"
6947 if test $? -ne 0; then
6948 as_fn_error $? "$FLTK_CONFIG failed" "$LINENO" 5
6949 fi
6950 if test -n "$(expr $FLTK_API_VERSION : '1\.13')"; then
6951 HAVE_FLTK_API_VERSION=yes
6952 fi
6953
6954 FLTK_VERSION="`$FLTK_CONFIG --version`"
6955 FLMSG_FLTK_API_MAJOR=${FLTK_VERSION%%.*}
6956
6957 FLMSG_FLTK_API_MINOR=${FLTK_VERSION#*.};
6958 FLMSG_FLTK_API_MINOR=${FLMSG_FLTK_API_MINOR%%.*}
6959
6960 FLMSG_FLTK_API_PATCH=${FLTK_VERSION#*.};
6961 FLMSG_FLTK_API_PATCH=${FLMSG_FLTK_API_PATCH#*.};
6962
6963 if test "${HAVE_FLTK_API_VERSION}" = "no"; then
6964 as_fn_error $? "
6965 *** The version of FLTK found on your system provides API version $FLTK_API_VERSION.
6966 *** To build $PACKAGE you need a FLTK version that provides API 1.1 or 1.3.
6967 " "$LINENO" 5
6968 fi
6969 FLTK_CFLAGS=`$FLTK_CONFIG --cxxflags`
6970 if test "x$ac_cv_static" != "xyes"; then
6971 FLTK_LIBS=`$FLTK_CONFIG --ldflags --use-images`
6972 else
6973 FLTK_LIBS=`$FLTK_CONFIG --ldstaticflags --use-images`
6974 fi
6975 else
6976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not checking for FLTK" >&5
6977 printf "%s\n" "$as_me: not checking for FLTK" >&6;}
6978 fi
6979
6980
6981
6982 cat >>confdefs.h <<_ACEOF
6983 #define FLTK_BUILD_VERSION "`$FLTK_CONFIG --version`"
6984 _ACEOF
6985
6986
6987 printf "%s\n" "#define FLMSG_FLTK_API_MAJOR $FLMSG_FLTK_API_MAJOR" >>confdefs.h
6988
6989
6990 printf "%s\n" "#define FLMSG_FLTK_API_MINOR $FLMSG_FLTK_API_MINOR" >>confdefs.h
6991
6992
6993 printf "%s\n" "#define FLMSG_FLTK_API_PATCH $FLMSG_FLTK_API_PATCH" >>confdefs.h
6994
6995
6996
6997 # Extract the first word of "fluid", so it can be a program name with args.
6998 set dummy fluid; ac_word=$2
6999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000 printf %s "checking for $ac_word... " >&6; }
7001 if test ${ac_cv_prog_FLUID+y}
7002 then :
7003 printf %s "(cached) " >&6
7004 else $as_nop
7005 if test -n "$FLUID"; then
7006 ac_cv_prog_FLUID="$FLUID" # Let the user override the test.
7007 else
7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7009 for as_dir in $PATH
7010 do
7011 IFS=$as_save_IFS
7012 case $as_dir in #(((
7013 '') as_dir=./ ;;
7014 */) ;;
7015 *) as_dir=$as_dir/ ;;
7016 esac
7017 for ac_exec_ext in '' $ac_executable_extensions; do
7018 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7019 ac_cv_prog_FLUID="fluid"
7020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7021 break 2
7022 fi
7023 done
7024 done
7025 IFS=$as_save_IFS
7026
7027 fi
7028 fi
7029 FLUID=$ac_cv_prog_FLUID
7030 if test -n "$FLUID"; then
7031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLUID" >&5
7032 printf "%s\n" "$FLUID" >&6; }
7033 else
7034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 printf "%s\n" "no" >&6; }
7036 fi
7037
7038
7039 if test -n "$FLUID"; then
7040 HAVE_FLUID_TRUE=
7041 HAVE_FLUID_FALSE='#'
7042 else
7043 HAVE_FLUID_TRUE='#'
7044 HAVE_FLUID_FALSE=
7045 fi
7046
7047
7048
7049 ### X11
7050 # Set ac_cv_x to yes/no
7051 # Define USE_X in config.h
7052 # Substitute X_CFLAGS and X_LIBS in Makefile
7053 if test "x$target_darwin" = "xno" && test "x$target_win32" = "xno"; then
7054
7055
7056
7057
7058
7059
7060
7061 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7062 if test -n "$ac_tool_prefix"; then
7063 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7064 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 printf %s "checking for $ac_word... " >&6; }
7067 if test ${ac_cv_path_PKG_CONFIG+y}
7068 then :
7069 printf %s "(cached) " >&6
7070 else $as_nop
7071 case $PKG_CONFIG in
7072 [\\/]* | ?:[\\/]*)
7073 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7074 ;;
7075 *)
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 for as_dir in $PATH
7078 do
7079 IFS=$as_save_IFS
7080 case $as_dir in #(((
7081 '') as_dir=./ ;;
7082 */) ;;
7083 *) as_dir=$as_dir/ ;;
7084 esac
7085 for ac_exec_ext in '' $ac_executable_extensions; do
7086 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7087 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
7088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7089 break 2
7090 fi
7091 done
7092 done
7093 IFS=$as_save_IFS
7094
7095 ;;
7096 esac
7097 fi
7098 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7099 if test -n "$PKG_CONFIG"; then
7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7101 printf "%s\n" "$PKG_CONFIG" >&6; }
7102 else
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 printf "%s\n" "no" >&6; }
7105 fi
7106
7107
7108 fi
7109 if test -z "$ac_cv_path_PKG_CONFIG"; then
7110 ac_pt_PKG_CONFIG=$PKG_CONFIG
7111 # Extract the first word of "pkg-config", so it can be a program name with args.
7112 set dummy pkg-config; ac_word=$2
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 printf %s "checking for $ac_word... " >&6; }
7115 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
7116 then :
7117 printf %s "(cached) " >&6
7118 else $as_nop
7119 case $ac_pt_PKG_CONFIG in
7120 [\\/]* | ?:[\\/]*)
7121 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7122 ;;
7123 *)
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125 for as_dir in $PATH
7126 do
7127 IFS=$as_save_IFS
7128 case $as_dir in #(((
7129 '') as_dir=./ ;;
7130 */) ;;
7131 *) as_dir=$as_dir/ ;;
7132 esac
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7135 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
7136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7137 break 2
7138 fi
7139 done
7140 done
7141 IFS=$as_save_IFS
7142
7143 ;;
7144 esac
7145 fi
7146 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7147 if test -n "$ac_pt_PKG_CONFIG"; then
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7149 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
7150 else
7151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 printf "%s\n" "no" >&6; }
7153 fi
7154
7155 if test "x$ac_pt_PKG_CONFIG" = x; then
7156 PKG_CONFIG=""
7157 else
7158 case $cross_compiling:$ac_tool_warned in
7159 yes:)
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7161 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7162 ac_tool_warned=yes ;;
7163 esac
7164 PKG_CONFIG=$ac_pt_PKG_CONFIG
7165 fi
7166 else
7167 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7168 fi
7169
7170 fi
7171 if test -n "$PKG_CONFIG"; then
7172 _pkg_min_version=0.9.0
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7174 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7175 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7177 printf "%s\n" "yes" >&6; }
7178 else
7179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 printf "%s\n" "no" >&6; }
7181 PKG_CONFIG=""
7182 fi
7183 fi
7184
7185
7186
7187
7188
7189
7190
7191 test "x$ac_cv_want_x" = "x" && ac_cv_want_x="check"
7192 case "x$ac_cv_want_x" in
7193 "xno")
7194 ac_cv_x=no
7195 ;;
7196 "xcheck")
7197
7198 pkg_failed=no
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11" >&5
7200 printf %s "checking for x11... " >&6; }
7201
7202 if test -n "$X_CFLAGS"; then
7203 pkg_cv_X_CFLAGS="$X_CFLAGS"
7204 elif test -n "$PKG_CONFIG"; then
7205 if test -n "$PKG_CONFIG" && \
7206 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7207 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7208 ac_status=$?
7209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210 test $ac_status = 0; }; then
7211 pkg_cv_X_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
7212 test "x$?" != "x0" && pkg_failed=yes
7213 else
7214 pkg_failed=yes
7215 fi
7216 else
7217 pkg_failed=untried
7218 fi
7219 if test -n "$X_LIBS"; then
7220 pkg_cv_X_LIBS="$X_LIBS"
7221 elif test -n "$PKG_CONFIG"; then
7222 if test -n "$PKG_CONFIG" && \
7223 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7224 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7225 ac_status=$?
7226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7227 test $ac_status = 0; }; then
7228 pkg_cv_X_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
7229 test "x$?" != "x0" && pkg_failed=yes
7230 else
7231 pkg_failed=yes
7232 fi
7233 else
7234 pkg_failed=untried
7235 fi
7236
7237
7238
7239 if test $pkg_failed = yes; then
7240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 printf "%s\n" "no" >&6; }
7242
7243 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7244 _pkg_short_errors_supported=yes
7245 else
7246 _pkg_short_errors_supported=no
7247 fi
7248 if test $_pkg_short_errors_supported = yes; then
7249 X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
7250 else
7251 X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
7252 fi
7253 # Put the nasty error message in config.log where it belongs
7254 echo "$X_PKG_ERRORS" >&5
7255
7256 ac_cv_x=no
7257 elif test $pkg_failed = untried; then
7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 printf "%s\n" "no" >&6; }
7260 ac_cv_x=no
7261 else
7262 X_CFLAGS=$pkg_cv_X_CFLAGS
7263 X_LIBS=$pkg_cv_X_LIBS
7264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7265 printf "%s\n" "yes" >&6; }
7266 ac_cv_x=yes
7267 fi
7268 ;;
7269 "xyes")
7270
7271 pkg_failed=no
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11" >&5
7273 printf %s "checking for x11... " >&6; }
7274
7275 if test -n "$X_CFLAGS"; then
7276 pkg_cv_X_CFLAGS="$X_CFLAGS"
7277 elif test -n "$PKG_CONFIG"; then
7278 if test -n "$PKG_CONFIG" && \
7279 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7280 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7281 ac_status=$?
7282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7283 test $ac_status = 0; }; then
7284 pkg_cv_X_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
7285 test "x$?" != "x0" && pkg_failed=yes
7286 else
7287 pkg_failed=yes
7288 fi
7289 else
7290 pkg_failed=untried
7291 fi
7292 if test -n "$X_LIBS"; then
7293 pkg_cv_X_LIBS="$X_LIBS"
7294 elif test -n "$PKG_CONFIG"; then
7295 if test -n "$PKG_CONFIG" && \
7296 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7297 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7298 ac_status=$?
7299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7300 test $ac_status = 0; }; then
7301 pkg_cv_X_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
7302 test "x$?" != "x0" && pkg_failed=yes
7303 else
7304 pkg_failed=yes
7305 fi
7306 else
7307 pkg_failed=untried
7308 fi
7309
7310
7311
7312 if test $pkg_failed = yes; then
7313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 printf "%s\n" "no" >&6; }
7315
7316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7317 _pkg_short_errors_supported=yes
7318 else
7319 _pkg_short_errors_supported=no
7320 fi
7321 if test $_pkg_short_errors_supported = yes; then
7322 X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
7323 else
7324 X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
7325 fi
7326 # Put the nasty error message in config.log where it belongs
7327 echo "$X_PKG_ERRORS" >&5
7328
7329 as_fn_error $? "Package requirements (x11) were not met:
7330
7331 $X_PKG_ERRORS
7332
7333 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7334 installed software in a non-standard prefix.
7335
7336 Alternatively, you may set the environment variables X_CFLAGS
7337 and X_LIBS to avoid the need to call pkg-config.
7338 See the pkg-config man page for more details." "$LINENO" 5
7339 elif test $pkg_failed = untried; then
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 printf "%s\n" "no" >&6; }
7342 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7343 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7344 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7345 is in your PATH or set the PKG_CONFIG environment variable to the full
7346 path to pkg-config.
7347
7348 Alternatively, you may set the environment variables X_CFLAGS
7349 and X_LIBS to avoid the need to call pkg-config.
7350 See the pkg-config man page for more details.
7351
7352 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7353 See \`config.log' for more details" "$LINENO" 5; }
7354 else
7355 X_CFLAGS=$pkg_cv_X_CFLAGS
7356 X_LIBS=$pkg_cv_X_LIBS
7357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7358 printf "%s\n" "yes" >&6; }
7359
7360 fi
7361 # if we get here the test has succeeded
7362 ac_cv_x=yes
7363 ;;
7364 esac
7365
7366 if test "x$ac_cv_x" = "xyes"; then
7367
7368 printf "%s\n" "#define USE_X 1" >>confdefs.h
7369
7370 pkg_x_version=`$PKG_CONFIG --modversion "x11" 2>/dev/null`
7371 else
7372
7373 printf "%s\n" "#define USE_X 0" >>confdefs.h
7374
7375 pkg_x_version=""
7376 fi
7377
7378
7379
7380
7381 printf "%s\n" "#define X_BUILD_VERSION \"$pkg_x_version\"" >>confdefs.h
7382
7383
7384 :
7385
7386 fi
7387
7388 ### libflxmlrpc
7389 # Set ac_cv_flxmlrpc to yes/no
7390 # Define USE_FLXMLRPC in config.h
7391 # Substitute FLXMLRPC_CFLAGS and FLXMLRPC_LIBS in Makefile
7392
7393
7394
7395
7396
7397
7398 # Check whether --with-flxmlrpc was given.
7399 if test ${with_flxmlrpc+y}
7400 then :
7401 withval=$with_flxmlrpc; case "${withval}" in
7402 yes|no) ac_cv_want_flxmlrpc="${withval}" ;;
7403 *) as_fn_error $? "bad value \"${withval}\" for --with-flxmlrpc" "$LINENO" 5 ;;
7404 esac
7405 else $as_nop
7406 ac_cv_want_flxmlrpc=check
7407 fi
7408
7409
7410
7411
7412 test "x$ac_cv_want_flxmlrpc" = "x" && ac_cv_want_flxmlrpc="check"
7413 case "x$ac_cv_want_flxmlrpc" in
7414 "xno")
7415 ac_cv_flxmlrpc=no
7416 ;;
7417 "xcheck")
7418
7419 pkg_failed=no
7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flxmlrpc >= 1.0.1" >&5
7421 printf %s "checking for flxmlrpc >= 1.0.1... " >&6; }
7422
7423 if test -n "$FLXMLRPC_CFLAGS"; then
7424 pkg_cv_FLXMLRPC_CFLAGS="$FLXMLRPC_CFLAGS"
7425 elif test -n "$PKG_CONFIG"; then
7426 if test -n "$PKG_CONFIG" && \
7427 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flxmlrpc >= 1.0.1\""; } >&5
7428 ($PKG_CONFIG --exists --print-errors "flxmlrpc >= 1.0.1") 2>&5
7429 ac_status=$?
7430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7431 test $ac_status = 0; }; then
7432 pkg_cv_FLXMLRPC_CFLAGS=`$PKG_CONFIG --cflags "flxmlrpc >= 1.0.1" 2>/dev/null`
7433 test "x$?" != "x0" && pkg_failed=yes
7434 else
7435 pkg_failed=yes
7436 fi
7437 else
7438 pkg_failed=untried
7439 fi
7440 if test -n "$FLXMLRPC_LIBS"; then
7441 pkg_cv_FLXMLRPC_LIBS="$FLXMLRPC_LIBS"
7442 elif test -n "$PKG_CONFIG"; then
7443 if test -n "$PKG_CONFIG" && \
7444 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flxmlrpc >= 1.0.1\""; } >&5
7445 ($PKG_CONFIG --exists --print-errors "flxmlrpc >= 1.0.1") 2>&5
7446 ac_status=$?
7447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7448 test $ac_status = 0; }; then
7449 pkg_cv_FLXMLRPC_LIBS=`$PKG_CONFIG --libs "flxmlrpc >= 1.0.1" 2>/dev/null`
7450 test "x$?" != "x0" && pkg_failed=yes
7451 else
7452 pkg_failed=yes
7453 fi
7454 else
7455 pkg_failed=untried
7456 fi
7457
7458
7459
7460 if test $pkg_failed = yes; then
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462 printf "%s\n" "no" >&6; }
7463
7464 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7465 _pkg_short_errors_supported=yes
7466 else
7467 _pkg_short_errors_supported=no
7468 fi
7469 if test $_pkg_short_errors_supported = yes; then
7470 FLXMLRPC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "flxmlrpc >= 1.0.1" 2>&1`
7471 else
7472 FLXMLRPC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "flxmlrpc >= 1.0.1" 2>&1`
7473 fi
7474 # Put the nasty error message in config.log where it belongs
7475 echo "$FLXMLRPC_PKG_ERRORS" >&5
7476
7477 ac_cv_flxmlrpc=no
7478 elif test $pkg_failed = untried; then
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 printf "%s\n" "no" >&6; }
7481 ac_cv_flxmlrpc=no
7482 else
7483 FLXMLRPC_CFLAGS=$pkg_cv_FLXMLRPC_CFLAGS
7484 FLXMLRPC_LIBS=$pkg_cv_FLXMLRPC_LIBS
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7486 printf "%s\n" "yes" >&6; }
7487 ac_cv_flxmlrpc=yes
7488 fi
7489 ;;
7490 "xyes")
7491
7492 pkg_failed=no
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flxmlrpc >= 1.0.1" >&5
7494 printf %s "checking for flxmlrpc >= 1.0.1... " >&6; }
7495
7496 if test -n "$FLXMLRPC_CFLAGS"; then
7497 pkg_cv_FLXMLRPC_CFLAGS="$FLXMLRPC_CFLAGS"
7498 elif test -n "$PKG_CONFIG"; then
7499 if test -n "$PKG_CONFIG" && \
7500 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flxmlrpc >= 1.0.1\""; } >&5
7501 ($PKG_CONFIG --exists --print-errors "flxmlrpc >= 1.0.1") 2>&5
7502 ac_status=$?
7503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7504 test $ac_status = 0; }; then
7505 pkg_cv_FLXMLRPC_CFLAGS=`$PKG_CONFIG --cflags "flxmlrpc >= 1.0.1" 2>/dev/null`
7506 test "x$?" != "x0" && pkg_failed=yes
7507 else
7508 pkg_failed=yes
7509 fi
7510 else
7511 pkg_failed=untried
7512 fi
7513 if test -n "$FLXMLRPC_LIBS"; then
7514 pkg_cv_FLXMLRPC_LIBS="$FLXMLRPC_LIBS"
7515 elif test -n "$PKG_CONFIG"; then
7516 if test -n "$PKG_CONFIG" && \
7517 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flxmlrpc >= 1.0.1\""; } >&5
7518 ($PKG_CONFIG --exists --print-errors "flxmlrpc >= 1.0.1") 2>&5
7519 ac_status=$?
7520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7521 test $ac_status = 0; }; then
7522 pkg_cv_FLXMLRPC_LIBS=`$PKG_CONFIG --libs "flxmlrpc >= 1.0.1" 2>/dev/null`
7523 test "x$?" != "x0" && pkg_failed=yes
7524 else
7525 pkg_failed=yes
7526 fi
7527 else
7528 pkg_failed=untried
7529 fi
7530
7531
7532
7533 if test $pkg_failed = yes; then
7534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7535 printf "%s\n" "no" >&6; }
7536
7537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7538 _pkg_short_errors_supported=yes
7539 else
7540 _pkg_short_errors_supported=no
7541 fi
7542 if test $_pkg_short_errors_supported = yes; then
7543 FLXMLRPC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "flxmlrpc >= 1.0.1" 2>&1`
7544 else
7545 FLXMLRPC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "flxmlrpc >= 1.0.1" 2>&1`
7546 fi
7547 # Put the nasty error message in config.log where it belongs
7548 echo "$FLXMLRPC_PKG_ERRORS" >&5
7549
7550 as_fn_error $? "Package requirements (flxmlrpc >= 1.0.1) were not met:
7551
7552 $FLXMLRPC_PKG_ERRORS
7553
7554 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7555 installed software in a non-standard prefix.
7556
7557 Alternatively, you may set the environment variables FLXMLRPC_CFLAGS
7558 and FLXMLRPC_LIBS to avoid the need to call pkg-config.
7559 See the pkg-config man page for more details." "$LINENO" 5
7560 elif test $pkg_failed = untried; then
7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 printf "%s\n" "no" >&6; }
7563 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7564 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7565 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7566 is in your PATH or set the PKG_CONFIG environment variable to the full
7567 path to pkg-config.
7568
7569 Alternatively, you may set the environment variables FLXMLRPC_CFLAGS
7570 and FLXMLRPC_LIBS to avoid the need to call pkg-config.
7571 See the pkg-config man page for more details.
7572
7573 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7574 See \`config.log' for more details" "$LINENO" 5; }
7575 else
7576 FLXMLRPC_CFLAGS=$pkg_cv_FLXMLRPC_CFLAGS
7577 FLXMLRPC_LIBS=$pkg_cv_FLXMLRPC_LIBS
7578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7579 printf "%s\n" "yes" >&6; }
7580
7581 fi
7582 # if we get here the test has succeeded
7583 ac_cv_flxmlrpc=yes
7584 ;;
7585 esac
7586
7587 if test "x$ac_cv_flxmlrpc" = "xyes"; then
7588
7589 printf "%s\n" "#define USE_FLXMLRPC 1" >>confdefs.h
7590
7591 pkg_flxmlrpc_version=`$PKG_CONFIG --modversion "flxmlrpc >= 1.0.1" 2>/dev/null`
7592 else
7593
7594 printf "%s\n" "#define USE_FLXMLRPC 0" >>confdefs.h
7595
7596 pkg_flxmlrpc_version=""
7597 fi
7598
7599
7600
7601
7602 printf "%s\n" "#define FLXMLRPC_BUILD_VERSION \"$pkg_flxmlrpc_version\"" >>confdefs.h
7603
7604
7605 if test "x$ac_cv_flxmlrpc" = "xyes"; then
7606 ENABLE_FLXMLRPC_TRUE=
7607 ENABLE_FLXMLRPC_FALSE='#'
7608 else
7609 ENABLE_FLXMLRPC_TRUE='#'
7610 ENABLE_FLXMLRPC_FALSE=
7611 fi
7612
7613
7614
7615 ### build info
7616 # Define various build variables in config.h
7617
7618 # Define build flags and substitute in Makefile.in
7619 # CPPFLAGS
7620 FLMSG_BUILD_CPPFLAGS="-I\$(srcdir) -I\$(srcdir)/include"
7621 if test "x$ac_cv_flxmlrpc" != "xyes"; then
7622 FLMSG_BUILD_CPPFLAGS="$FLMSG_BUILD_CPPFLAGS -I\$(srcdir)/xmlrpcpp"
7623 fi
7624 if test "x$target_win32" = "xyes"; then
7625 FLMSG_BUILD_CPPFLAGS="$FLMSG_BUILD_CPPFLAGS -D_WINDOWS"
7626 fi
7627 # CXXFLAGS
7628 FLMSG_BUILD_CXXFLAGS="$FLTK_CFLAGS -I\$(srcdir) -I\$(srcdir)/include \
7629 $X_CFLAGS -pipe -Wall -fexceptions $OPT_CFLAGS $DEBUG_CFLAGS $PTW32_CFLAGS"
7630 if test "x$ac_cv_flxmlrpc" != "xyes"; then
7631 FLMSG_BUILD_CXXFLAGS="-I\$(srcdir)/xmlrpcpp $FLMSG_BUILD_CXXFLAGS"
7632 fi
7633 if test "x$target_mingw32" = "xyes"; then
7634 FLMSG_BUILD_CXXFLAGS="-mthreads $FLMSG_BUILD_CXXFLAGS"
7635 fi
7636 # LDFLAGS
7637 FLMSG_BUILD_LDFLAGS=
7638 # LDADD
7639 FLMSG_BUILD_LDADD="$FLTK_LIBS $X_LIBS $EXTRA_LIBS $PTW32_LIBS $FLXMLRPC_LIBS"
7640
7641 if test "x$ac_cv_debug" = "xyes"; then
7642 FLMSG_BUILD_CXXFLAGS="$FLMSG_BUILD_CXXFLAGS -UNDEBUG"
7643 FLMSG_BUILD_LDFLAGS="$FLMSG_BUILD_LDFLAGS $RDYNAMIC"
7644 else
7645 FLMSG_BUILD_CXXFLAGS="$FLMSG_BUILD_CXXFLAGS -DNDEBUG"
7646 fi
7647 if test "x$target_mingw32" = "xyes"; then
7648 FLMSG_BUILD_LDFLAGS="-mthreads $FLMSG_BUILD_LDFLAGS"
7649 fi
7650
7651
7652
7653
7654
7655
7656 #define build variables for config.h
7657
7658 printf "%s\n" "#define BUILD_BUILD_PLATFORM \"$build\"" >>confdefs.h
7659
7660
7661 printf "%s\n" "#define BUILD_HOST_PLATFORM \"$host\"" >>confdefs.h
7662
7663
7664 printf "%s\n" "#define BUILD_TARGET_PLATFORM \"$target\"" >>confdefs.h
7665
7666
7667 test "x$LC_ALL" != "x" && LC_ALL_saved="$LC_ALL"
7668 LC_ALL=C
7669 export LC_ALL
7670
7671
7672 ac_sh_dq="\"`echo $ac_configure_args | sed 's/"/\\\\"/g'`\""
7673
7674
7675 printf "%s\n" "#define BUILD_CONFIGURE_ARGS $ac_sh_dq" >>confdefs.h
7676
7677
7678 # Allow BUILD_DATE, BUILD_USER, BUILD_HOST to be externally overridden by
7679 # environment variables.
7680
7681 ac_sh_dq="\"$BUILD_DATE\""
7682 test "x$BUILD_DATE" = "x" &&
7683 ac_sh_dq="\"`date | sed 's/"/\\\\"/g'`\""
7684
7685
7686 printf "%s\n" "#define BUILD_DATE $ac_sh_dq" >>confdefs.h
7687
7688
7689 ac_sh_dq="\"$BUILD_USER\""
7690 test "x$BUILD_USER" = "x" &&
7691 ac_sh_dq="\"`whoami | sed 's/"/\\\\"/g'`\""
7692
7693
7694 printf "%s\n" "#define BUILD_USER $ac_sh_dq" >>confdefs.h
7695
7696
7697 ac_sh_dq="\"$BUILD_HOST\""
7698 test "x$BUILD_HOST" = "x" &&
7699 ac_sh_dq="\"`hostname | sed 's/"/\\\\"/g'`\""
7700
7701
7702 printf "%s\n" "#define BUILD_HOST $ac_sh_dq" >>confdefs.h
7703
7704
7705
7706 ac_sh_dq="\"`$CXX -v 2>&1 | tail -1 | sed 's/"/\\\\"/g'`\""
7707
7708
7709 printf "%s\n" "#define BUILD_COMPILER $ac_sh_dq" >>confdefs.h
7710
7711
7712
7713 ac_sh_dq="\"`echo $FLMSG_BUILD_CPPFLAGS $FLMSG_BUILD_CXXFLAGS | sed 's/"/\\\\"/g'`\""
7714
7715
7716 printf "%s\n" "#define FLMSG_BUILD_CXXFLAGS $ac_sh_dq" >>confdefs.h
7717
7718
7719 ac_sh_dq="\"`echo $FLMSG_BUILD_LDFLAGS $FLMSG_BUILD_LDADD | sed 's/"/\\\\"/g'`\""
7720
7721
7722 printf "%s\n" "#define FLMSG_BUILD_LDFLAGS $ac_sh_dq" >>confdefs.h
7723
7724
7725 if test "x$LC_ALL_saved" != "x"; then
7726 LC_ALL="$LC_ALL_saved"
7727 export LC_ALL
7728 fi
7729
7730
7731 ac_config_files="$ac_config_files Makefile src/Makefile"
7732
7733
7734 cat >confcache <<\_ACEOF
7735 # This file is a shell script that caches the results of configure
7736 # tests run on this system so they can be shared between configure
7737 # scripts and configure runs, see configure's option --config-cache.
7738 # It is not useful on other systems. If it contains results you don't
7739 # want to keep, you may remove or edit it.
7740 #
7741 # config.status only pays attention to the cache file if you give it
7742 # the --recheck option to rerun configure.
7743 #
7744 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7745 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7746 # following values.
7747
7748 _ACEOF
7749
7750 # The following way of writing the cache mishandles newlines in values,
7751 # but we know of no workaround that is simple, portable, and efficient.
7752 # So, we kill variables containing newlines.
7753 # Ultrix sh set writes to stderr and can't be redirected directly,
7754 # and sets the high bit in the cache file unless we assign to the vars.
7755 (
7756 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7757 eval ac_val=\$$ac_var
7758 case $ac_val in #(
7759 *${as_nl}*)
7760 case $ac_var in #(
7761 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7762 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7763 esac
7764 case $ac_var in #(
7765 _ | IFS | as_nl) ;; #(
7766 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7767 *) { eval $ac_var=; unset $ac_var;} ;;
7768 esac ;;
7769 esac
7770 done
7771
7772 (set) 2>&1 |
7773 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7774 *${as_nl}ac_space=\ *)
7775 # `set' does not quote correctly, so add quotes: double-quote
7776 # substitution turns \\\\ into \\, and sed turns \\ into \.
7777 sed -n \
7778 "s/'/'\\\\''/g;
7779 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7780 ;; #(
7781 *)
7782 # `set' quotes correctly as required by POSIX, so do not add quotes.
7783 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7784 ;;
7785 esac |
7786 sort
7787 ) |
7788 sed '
7789 /^ac_cv_env_/b end
7790 t clear
7791 :clear
7792 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
7793 t end
7794 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7795 :end' >>confcache
7796 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7797 if test -w "$cache_file"; then
7798 if test "x$cache_file" != "x/dev/null"; then
7799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7800 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
7801 if test ! -f "$cache_file" || test -h "$cache_file"; then
7802 cat confcache >"$cache_file"
7803 else
7804 case $cache_file in #(
7805 */* | ?:*)
7806 mv -f confcache "$cache_file"$$ &&
7807 mv -f "$cache_file"$$ "$cache_file" ;; #(
7808 *)
7809 mv -f confcache "$cache_file" ;;
7810 esac
7811 fi
7812 fi
7813 else
7814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7815 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
7816 fi
7817 fi
7818 rm -f confcache
7819
7820 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7821 # Let make expand exec_prefix.
7822 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7823
7824 DEFS=-DHAVE_CONFIG_H
7825
7826 ac_libobjs=
7827 ac_ltlibobjs=
7828 U=
7829 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7830 # 1. Remove the extension, and $U if already installed.
7831 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7832 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
7833 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7834 # will be set to the directory where LIBOBJS objects are built.
7835 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7836 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7837 done
7838 LIBOBJS=$ac_libobjs
7839
7840 LTLIBOBJS=$ac_ltlibobjs
7841
7842
7843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7844 printf %s "checking that generated files are newer than configure... " >&6; }
7845 if test -n "$am_sleep_pid"; then
7846 # Hide warnings about reused PIDs.
7847 wait $am_sleep_pid 2>/dev/null
7848 fi
7849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
7850 printf "%s\n" "done" >&6; }
7851 if test -n "$EXEEXT"; then
7852 am__EXEEXT_TRUE=
7853 am__EXEEXT_FALSE='#'
7854 else
7855 am__EXEEXT_TRUE='#'
7856 am__EXEEXT_FALSE=
7857 fi
7858
7859 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7860 as_fn_error $? "conditional \"AMDEP\" was never defined.
7861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7862 fi
7863 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7864 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
7865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7866 fi
7867 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7868 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7870 fi
7871 if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
7872 as_fn_error $? "conditional \"ENABLE_DEBUG\" was never defined.
7873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7874 fi
7875 if test -z "${COMPAT_STACK_TRUE}" && test -z "${COMPAT_STACK_FALSE}"; then
7876 as_fn_error $? "conditional \"COMPAT_STACK\" was never defined.
7877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7878 fi
7879 if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
7880 as_fn_error $? "conditional \"DARWIN\" was never defined.
7881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7882 fi
7883 if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
7884 as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined.
7885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7886 fi
7887 if test -z "${HAVE_NSIS_TRUE}" && test -z "${HAVE_NSIS_FALSE}"; then
7888 as_fn_error $? "conditional \"HAVE_NSIS\" was never defined.
7889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7890 fi
7891 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
7892 as_fn_error $? "conditional \"WIN32\" was never defined.
7893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7894 fi
7895 if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then
7896 as_fn_error $? "conditional \"MINGW32\" was never defined.
7897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7898 fi
7899 if test -z "${COMPAT_REGEX_TRUE}" && test -z "${COMPAT_REGEX_FALSE}"; then
7900 as_fn_error $? "conditional \"COMPAT_REGEX\" was never defined.
7901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7902 fi
7903 if test -z "${COMPAT_STRCASESTR_TRUE}" && test -z "${COMPAT_STRCASESTR_FALSE}"; then
7904 as_fn_error $? "conditional \"COMPAT_STRCASESTR\" was never defined.
7905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7906 fi
7907 if test -z "${HAVE_FLUID_TRUE}" && test -z "${HAVE_FLUID_FALSE}"; then
7908 as_fn_error $? "conditional \"HAVE_FLUID\" was never defined.
7909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7910 fi
7911 if test -z "${ENABLE_FLXMLRPC_TRUE}" && test -z "${ENABLE_FLXMLRPC_FALSE}"; then
7912 as_fn_error $? "conditional \"ENABLE_FLXMLRPC\" was never defined.
7913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7914 fi
7915
7916 : "${CONFIG_STATUS=./config.status}"
7917 ac_write_fail=0
7918 ac_clean_files_save=$ac_clean_files
7919 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7921 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
7922 as_write_fail=0
7923 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7924 #! $SHELL
7925 # Generated by $as_me.
7926 # Run this file to recreate the current configuration.
7927 # Compiler output produced by configure, useful for debugging
7928 # configure, is in config.log if it exists.
7929
7930 debug=false
7931 ac_cs_recheck=false
7932 ac_cs_silent=false
7933
7934 SHELL=\${CONFIG_SHELL-$SHELL}
7935 export SHELL
7936 _ASEOF
7937 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7938 ## -------------------- ##
7939 ## M4sh Initialization. ##
7940 ## -------------------- ##
7941
7942 # Be more Bourne compatible
7943 DUALCASE=1; export DUALCASE # for MKS sh
7944 as_nop=:
7945 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
7946 then :
7947 emulate sh
7948 NULLCMD=:
7949 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7950 # is contrary to our usage. Disable this feature.
7951 alias -g '${1+"$@"}'='"$@"'
7952 setopt NO_GLOB_SUBST
7953 else $as_nop
7954 case `(set -o) 2>/dev/null` in #(
7955 *posix*) :
7956 set -o posix ;; #(
7957 *) :
7958 ;;
7959 esac
7960 fi
7961
7962
7963
7964 # Reset variables that may have inherited troublesome values from
7965 # the environment.
7966
7967 # IFS needs to be set, to space, tab, and newline, in precisely that order.
7968 # (If _AS_PATH_WALK were called with IFS unset, it would have the
7969 # side effect of setting IFS to empty, thus disabling word splitting.)
7970 # Quoting is to prevent editors from complaining about space-tab.
7971 as_nl='
7972 '
7973 export as_nl
7974 IFS=" "" $as_nl"
7975
7976 PS1='$ '
7977 PS2='> '
7978 PS4='+ '
7979
7980 # Ensure predictable behavior from utilities with locale-dependent output.
7981 LC_ALL=C
7982 export LC_ALL
7983 LANGUAGE=C
7984 export LANGUAGE
7985
7986 # We cannot yet rely on "unset" to work, but we need these variables
7987 # to be unset--not just set to an empty or harmless value--now, to
7988 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
7989 # also avoids known problems related to "unset" and subshell syntax
7990 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
7991 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
7992 do eval test \${$as_var+y} \
7993 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7994 done
7995
7996 # Ensure that fds 0, 1, and 2 are open.
7997 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
7998 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
7999 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
8000
8001 # The user is always right.
8002 if ${PATH_SEPARATOR+false} :; then
8003 PATH_SEPARATOR=:
8004 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8005 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8006 PATH_SEPARATOR=';'
8007 }
8008 fi
8009
8010
8011 # Find who we are. Look in the path if we contain no directory separator.
8012 as_myself=
8013 case $0 in #((
8014 *[\\/]* ) as_myself=$0 ;;
8015 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8016 for as_dir in $PATH
8017 do
8018 IFS=$as_save_IFS
8019 case $as_dir in #(((
8020 '') as_dir=./ ;;
8021 */) ;;
8022 *) as_dir=$as_dir/ ;;
8023 esac
8024 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
8025 done
8026 IFS=$as_save_IFS
8027
8028 ;;
8029 esac
8030 # We did not find ourselves, most probably we were run as `sh COMMAND'
8031 # in which case we are not to be found in the path.
8032 if test "x$as_myself" = x; then
8033 as_myself=$0
8034 fi
8035 if test ! -f "$as_myself"; then
8036 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8037 exit 1
8038 fi
8039
8040
8041
8042 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8043 # ----------------------------------------
8044 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8045 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8046 # script with STATUS, using 1 if that was 0.
8047 as_fn_error ()
8048 {
8049 as_status=$1; test $as_status -eq 0 && as_status=1
8050 if test "$4"; then
8051 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8053 fi
8054 printf "%s\n" "$as_me: error: $2" >&2
8055 as_fn_exit $as_status
8056 } # as_fn_error
8057
8058
8059
8060 # as_fn_set_status STATUS
8061 # -----------------------
8062 # Set $? to STATUS, without forking.
8063 as_fn_set_status ()
8064 {
8065 return $1
8066 } # as_fn_set_status
8067
8068 # as_fn_exit STATUS
8069 # -----------------
8070 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8071 as_fn_exit ()
8072 {
8073 set +e
8074 as_fn_set_status $1
8075 exit $1
8076 } # as_fn_exit
8077
8078 # as_fn_unset VAR
8079 # ---------------
8080 # Portably unset VAR.
8081 as_fn_unset ()
8082 {
8083 { eval $1=; unset $1;}
8084 }
8085 as_unset=as_fn_unset
8086
8087 # as_fn_append VAR VALUE
8088 # ----------------------
8089 # Append the text in VALUE to the end of the definition contained in VAR. Take
8090 # advantage of any shell optimizations that allow amortized linear growth over
8091 # repeated appends, instead of the typical quadratic growth present in naive
8092 # implementations.
8093 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
8094 then :
8095 eval 'as_fn_append ()
8096 {
8097 eval $1+=\$2
8098 }'
8099 else $as_nop
8100 as_fn_append ()
8101 {
8102 eval $1=\$$1\$2
8103 }
8104 fi # as_fn_append
8105
8106 # as_fn_arith ARG...
8107 # ------------------
8108 # Perform arithmetic evaluation on the ARGs, and store the result in the
8109 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8110 # must be portable across $(()) and expr.
8111 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
8112 then :
8113 eval 'as_fn_arith ()
8114 {
8115 as_val=$(( $* ))
8116 }'
8117 else $as_nop
8118 as_fn_arith ()
8119 {
8120 as_val=`expr "$@" || test $? -eq 1`
8121 }
8122 fi # as_fn_arith
8123
8124
8125 if expr a : '\(a\)' >/dev/null 2>&1 &&
8126 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8127 as_expr=expr
8128 else
8129 as_expr=false
8130 fi
8131
8132 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8133 as_basename=basename
8134 else
8135 as_basename=false
8136 fi
8137
8138 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8139 as_dirname=dirname
8140 else
8141 as_dirname=false
8142 fi
8143
8144 as_me=`$as_basename -- "$0" ||
8145 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8146 X"$0" : 'X\(//\)$' \| \
8147 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8148 printf "%s\n" X/"$0" |
8149 sed '/^.*\/\([^/][^/]*\)\/*$/{
8150 s//\1/
8151 q
8152 }
8153 /^X\/\(\/\/\)$/{
8154 s//\1/
8155 q
8156 }
8157 /^X\/\(\/\).*/{
8158 s//\1/
8159 q
8160 }
8161 s/.*/./; q'`
8162
8163 # Avoid depending upon Character Ranges.
8164 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8165 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8166 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8167 as_cr_digits='0123456789'
8168 as_cr_alnum=$as_cr_Letters$as_cr_digits
8169
8170
8171 # Determine whether it's possible to make 'echo' print without a newline.
8172 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
8173 # for compatibility with existing Makefiles.
8174 ECHO_C= ECHO_N= ECHO_T=
8175 case `echo -n x` in #(((((
8176 -n*)
8177 case `echo 'xy\c'` in
8178 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8179 xy) ECHO_C='\c';;
8180 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8181 ECHO_T=' ';;
8182 esac;;
8183 *)
8184 ECHO_N='-n';;
8185 esac
8186
8187 # For backward compatibility with old third-party macros, we provide
8188 # the shell variables $as_echo and $as_echo_n. New code should use
8189 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
8190 as_echo='printf %s\n'
8191 as_echo_n='printf %s'
8192
8193 rm -f conf$$ conf$$.exe conf$$.file
8194 if test -d conf$$.dir; then
8195 rm -f conf$$.dir/conf$$.file
8196 else
8197 rm -f conf$$.dir
8198 mkdir conf$$.dir 2>/dev/null
8199 fi
8200 if (echo >conf$$.file) 2>/dev/null; then
8201 if ln -s conf$$.file conf$$ 2>/dev/null; then
8202 as_ln_s='ln -s'
8203 # ... but there are two gotchas:
8204 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8205 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8206 # In both cases, we have to default to `cp -pR'.
8207 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8208 as_ln_s='cp -pR'
8209 elif ln conf$$.file conf$$ 2>/dev/null; then
8210 as_ln_s=ln
8211 else
8212 as_ln_s='cp -pR'
8213 fi
8214 else
8215 as_ln_s='cp -pR'
8216 fi
8217 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8218 rmdir conf$$.dir 2>/dev/null
8219
8220
8221 # as_fn_mkdir_p
8222 # -------------
8223 # Create "$as_dir" as a directory, including parents if necessary.
8224 as_fn_mkdir_p ()
8225 {
8226
8227 case $as_dir in #(
8228 -*) as_dir=./$as_dir;;
8229 esac
8230 test -d "$as_dir" || eval $as_mkdir_p || {
8231 as_dirs=
8232 while :; do
8233 case $as_dir in #(
8234 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8235 *) as_qdir=$as_dir;;
8236 esac
8237 as_dirs="'$as_qdir' $as_dirs"
8238 as_dir=`$as_dirname -- "$as_dir" ||
8239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8240 X"$as_dir" : 'X\(//\)[^/]' \| \
8241 X"$as_dir" : 'X\(//\)$' \| \
8242 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8243 printf "%s\n" X"$as_dir" |
8244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8245 s//\1/
8246 q
8247 }
8248 /^X\(\/\/\)[^/].*/{
8249 s//\1/
8250 q
8251 }
8252 /^X\(\/\/\)$/{
8253 s//\1/
8254 q
8255 }
8256 /^X\(\/\).*/{
8257 s//\1/
8258 q
8259 }
8260 s/.*/./; q'`
8261 test -d "$as_dir" && break
8262 done
8263 test -z "$as_dirs" || eval "mkdir $as_dirs"
8264 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8265
8266
8267 } # as_fn_mkdir_p
8268 if mkdir -p . 2>/dev/null; then
8269 as_mkdir_p='mkdir -p "$as_dir"'
8270 else
8271 test -d ./-p && rmdir ./-p
8272 as_mkdir_p=false
8273 fi
8274
8275
8276 # as_fn_executable_p FILE
8277 # -----------------------
8278 # Test if FILE is an executable regular file.
8279 as_fn_executable_p ()
8280 {
8281 test -f "$1" && test -x "$1"
8282 } # as_fn_executable_p
8283 as_test_x='test -x'
8284 as_executable_p=as_fn_executable_p
8285
8286 # Sed expression to map a string onto a valid CPP name.
8287 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8288
8289 # Sed expression to map a string onto a valid variable name.
8290 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8291
8292
8293 exec 6>&1
8294 ## ----------------------------------- ##
8295 ## Main body of $CONFIG_STATUS script. ##
8296 ## ----------------------------------- ##
8297 _ASEOF
8298 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8299
8300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8301 # Save the log message, to keep $0 and so on meaningful, and to
8302 # report actual input values of CONFIG_FILES etc. instead of their
8303 # values after options handling.
8304 ac_log="
8305 This file was extended by FLMSG $as_me 4.0.23, which was
8306 generated by GNU Autoconf 2.71. Invocation command line was
8307
8308 CONFIG_FILES = $CONFIG_FILES
8309 CONFIG_HEADERS = $CONFIG_HEADERS
8310 CONFIG_LINKS = $CONFIG_LINKS
8311 CONFIG_COMMANDS = $CONFIG_COMMANDS
8312 $ $0 $@
8313
8314 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8315 "
8316
8317 _ACEOF
8318
8319 case $ac_config_files in *"
8320 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8321 esac
8322
8323 case $ac_config_headers in *"
8324 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8325 esac
8326
8327
8328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8329 # Files that config.status was made for.
8330 config_files="$ac_config_files"
8331 config_headers="$ac_config_headers"
8332 config_commands="$ac_config_commands"
8333
8334 _ACEOF
8335
8336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8337 ac_cs_usage="\
8338 \`$as_me' instantiates files and other configuration actions
8339 from templates according to the current configuration. Unless the files
8340 and actions are specified as TAGs, all are instantiated by default.
8341
8342 Usage: $0 [OPTION]... [TAG]...
8343
8344 -h, --help print this help, then exit
8345 -V, --version print version number and configuration settings, then exit
8346 --config print configuration, then exit
8347 -q, --quiet, --silent
8348 do not print progress messages
8349 -d, --debug don't remove temporary files
8350 --recheck update $as_me by reconfiguring in the same conditions
8351 --file=FILE[:TEMPLATE]
8352 instantiate the configuration file FILE
8353 --header=FILE[:TEMPLATE]
8354 instantiate the configuration header FILE
8355
8356 Configuration files:
8357 $config_files
8358
8359 Configuration headers:
8360 $config_headers
8361
8362 Configuration commands:
8363 $config_commands
8364
8365 Report bugs to <w1hkj AT w1hkj DOT com>."
8366
8367 _ACEOF
8368 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
8369 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
8370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8371 ac_cs_config='$ac_cs_config_escaped'
8372 ac_cs_version="\\
8373 FLMSG config.status 4.0.23
8374 configured by $0, generated by GNU Autoconf 2.71,
8375 with options \\"\$ac_cs_config\\"
8376
8377 Copyright (C) 2021 Free Software Foundation, Inc.
8378 This config.status script is free software; the Free Software Foundation
8379 gives unlimited permission to copy, distribute and modify it."
8380
8381 ac_pwd='$ac_pwd'
8382 srcdir='$srcdir'
8383 INSTALL='$INSTALL'
8384 MKDIR_P='$MKDIR_P'
8385 AWK='$AWK'
8386 test -n "\$AWK" || AWK=awk
8387 _ACEOF
8388
8389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8390 # The default lists apply if the user does not specify any file.
8391 ac_need_defaults=:
8392 while test $# != 0
8393 do
8394 case $1 in
8395 --*=?*)
8396 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8397 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8398 ac_shift=:
8399 ;;
8400 --*=)
8401 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8402 ac_optarg=
8403 ac_shift=:
8404 ;;
8405 *)
8406 ac_option=$1
8407 ac_optarg=$2
8408 ac_shift=shift
8409 ;;
8410 esac
8411
8412 case $ac_option in
8413 # Handling of the options.
8414 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8415 ac_cs_recheck=: ;;
8416 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8417 printf "%s\n" "$ac_cs_version"; exit ;;
8418 --config | --confi | --conf | --con | --co | --c )
8419 printf "%s\n" "$ac_cs_config"; exit ;;
8420 --debug | --debu | --deb | --de | --d | -d )
8421 debug=: ;;
8422 --file | --fil | --fi | --f )
8423 $ac_shift
8424 case $ac_optarg in
8425 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8426 '') as_fn_error $? "missing file argument" ;;
8427 esac
8428 as_fn_append CONFIG_FILES " '$ac_optarg'"
8429 ac_need_defaults=false;;
8430 --header | --heade | --head | --hea )
8431 $ac_shift
8432 case $ac_optarg in
8433 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8434 esac
8435 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8436 ac_need_defaults=false;;
8437 --he | --h)
8438 # Conflict between --help and --header
8439 as_fn_error $? "ambiguous option: \`$1'
8440 Try \`$0 --help' for more information.";;
8441 --help | --hel | -h )
8442 printf "%s\n" "$ac_cs_usage"; exit ;;
8443 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8444 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8445 ac_cs_silent=: ;;
8446
8447 # This is an error.
8448 -*) as_fn_error $? "unrecognized option: \`$1'
8449 Try \`$0 --help' for more information." ;;
8450
8451 *) as_fn_append ac_config_targets " $1"
8452 ac_need_defaults=false ;;
8453
8454 esac
8455 shift
8456 done
8457
8458 ac_configure_extra_args=
8459
8460 if $ac_cs_silent; then
8461 exec 6>/dev/null
8462 ac_configure_extra_args="$ac_configure_extra_args --silent"
8463 fi
8464
8465 _ACEOF
8466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8467 if \$ac_cs_recheck; then
8468 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8469 shift
8470 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
8471 CONFIG_SHELL='$SHELL'
8472 export CONFIG_SHELL
8473 exec "\$@"
8474 fi
8475
8476 _ACEOF
8477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8478 exec 5>>config.log
8479 {
8480 echo
8481 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8482 ## Running $as_me. ##
8483 _ASBOX
8484 printf "%s\n" "$ac_log"
8485 } >&5
8486
8487 _ACEOF
8488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8489 #
8490 # INIT-COMMANDS
8491 #
8492 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
8493
8494 _ACEOF
8495
8496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8497
8498 # Handling of arguments.
8499 for ac_config_target in $ac_config_targets
8500 do
8501 case $ac_config_target in
8502 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
8503 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8504 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8505 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8506
8507 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8508 esac
8509 done
8510
8511
8512 # If the user did not use the arguments to specify the items to instantiate,
8513 # then the envvar interface is used. Set only those that are not.
8514 # We use the long form for the default assignment because of an extremely
8515 # bizarre bug on SunOS 4.1.3.
8516 if $ac_need_defaults; then
8517 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
8518 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
8519 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
8520 fi
8521
8522 # Have a temporary directory for convenience. Make it in the build tree
8523 # simply because there is no reason against having it here, and in addition,
8524 # creating and moving files from /tmp can sometimes cause problems.
8525 # Hook for its removal unless debugging.
8526 # Note that there is a small window in which the directory will not be cleaned:
8527 # after its creation but before its name has been assigned to `$tmp'.
8528 $debug ||
8529 {
8530 tmp= ac_tmp=
8531 trap 'exit_status=$?
8532 : "${ac_tmp:=$tmp}"
8533 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8534 ' 0
8535 trap 'as_fn_exit 1' 1 2 13 15
8536 }
8537 # Create a (secure) tmp directory for tmp files.
8538
8539 {
8540 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8541 test -d "$tmp"
8542 } ||
8543 {
8544 tmp=./conf$$-$RANDOM
8545 (umask 077 && mkdir "$tmp")
8546 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8547 ac_tmp=$tmp
8548
8549 # Set up the scripts for CONFIG_FILES section.
8550 # No need to generate them if there are no CONFIG_FILES.
8551 # This happens for instance with `./config.status config.h'.
8552 if test -n "$CONFIG_FILES"; then
8553
8554
8555 ac_cr=`echo X | tr X '\015'`
8556 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8557 # But we know of no other shell where ac_cr would be empty at this
8558 # point, so we can use a bashism as a fallback.
8559 if test "x$ac_cr" = x; then
8560 eval ac_cr=\$\'\\r\'
8561 fi
8562 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8563 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8564 ac_cs_awk_cr='\\r'
8565 else
8566 ac_cs_awk_cr=$ac_cr
8567 fi
8568
8569 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8570 _ACEOF
8571
8572
8573 {
8574 echo "cat >conf$$subs.awk <<_ACEOF" &&
8575 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8576 echo "_ACEOF"
8577 } >conf$$subs.sh ||
8578 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8579 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8580 ac_delim='%!_!# '
8581 for ac_last_try in false false false false false :; do
8582 . ./conf$$subs.sh ||
8583 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8584
8585 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8586 if test $ac_delim_n = $ac_delim_num; then
8587 break
8588 elif $ac_last_try; then
8589 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8590 else
8591 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8592 fi
8593 done
8594 rm -f conf$$subs.sh
8595
8596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8597 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8598 _ACEOF
8599 sed -n '
8600 h
8601 s/^/S["/; s/!.*/"]=/
8602 p
8603 g
8604 s/^[^!]*!//
8605 :repl
8606 t repl
8607 s/'"$ac_delim"'$//
8608 t delim
8609 :nl
8610 h
8611 s/\(.\{148\}\)..*/\1/
8612 t more1
8613 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8614 p
8615 n
8616 b repl
8617 :more1
8618 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8619 p
8620 g
8621 s/.\{148\}//
8622 t nl
8623 :delim
8624 h
8625 s/\(.\{148\}\)..*/\1/
8626 t more2
8627 s/["\\]/\\&/g; s/^/"/; s/$/"/
8628 p
8629 b
8630 :more2
8631 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8632 p
8633 g
8634 s/.\{148\}//
8635 t delim
8636 ' <conf$$subs.awk | sed '
8637 /^[^""]/{
8638 N
8639 s/\n//
8640 }
8641 ' >>$CONFIG_STATUS || ac_write_fail=1
8642 rm -f conf$$subs.awk
8643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8644 _ACAWK
8645 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8646 for (key in S) S_is_set[key] = 1
8647 FS = ""
8648
8649 }
8650 {
8651 line = $ 0
8652 nfields = split(line, field, "@")
8653 substed = 0
8654 len = length(field[1])
8655 for (i = 2; i < nfields; i++) {
8656 key = field[i]
8657 keylen = length(key)
8658 if (S_is_set[key]) {
8659 value = S[key]
8660 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8661 len += length(value) + length(field[++i])
8662 substed = 1
8663 } else
8664 len += 1 + keylen
8665 }
8666
8667 print line
8668 }
8669
8670 _ACAWK
8671 _ACEOF
8672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8673 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8674 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8675 else
8676 cat
8677 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8678 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8679 _ACEOF
8680
8681 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8682 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8683 # trailing colons and then remove the whole line if VPATH becomes empty
8684 # (actually we leave an empty line to preserve line numbers).
8685 if test "x$srcdir" = x.; then
8686 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8687 h
8688 s///
8689 s/^/:/
8690 s/[ ]*$/:/
8691 s/:\$(srcdir):/:/g
8692 s/:\${srcdir}:/:/g
8693 s/:@srcdir@:/:/g
8694 s/^:*//
8695 s/:*$//
8696 x
8697 s/\(=[ ]*\).*/\1/
8698 G
8699 s/\n//
8700 s/^[^=]*=[ ]*$//
8701 }'
8702 fi
8703
8704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8705 fi # test -n "$CONFIG_FILES"
8706
8707 # Set up the scripts for CONFIG_HEADERS section.
8708 # No need to generate them if there are no CONFIG_HEADERS.
8709 # This happens for instance with `./config.status Makefile'.
8710 if test -n "$CONFIG_HEADERS"; then
8711 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8712 BEGIN {
8713 _ACEOF
8714
8715 # Transform confdefs.h into an awk script `defines.awk', embedded as
8716 # here-document in config.status, that substitutes the proper values into
8717 # config.h.in to produce config.h.
8718
8719 # Create a delimiter string that does not exist in confdefs.h, to ease
8720 # handling of long lines.
8721 ac_delim='%!_!# '
8722 for ac_last_try in false false :; do
8723 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8724 if test -z "$ac_tt"; then
8725 break
8726 elif $ac_last_try; then
8727 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8728 else
8729 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8730 fi
8731 done
8732
8733 # For the awk script, D is an array of macro values keyed by name,
8734 # likewise P contains macro parameters if any. Preserve backslash
8735 # newline sequences.
8736
8737 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8738 sed -n '
8739 s/.\{148\}/&'"$ac_delim"'/g
8740 t rset
8741 :rset
8742 s/^[ ]*#[ ]*define[ ][ ]*/ /
8743 t def
8744 d
8745 :def
8746 s/\\$//
8747 t bsnl
8748 s/["\\]/\\&/g
8749 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8750 D["\1"]=" \3"/p
8751 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8752 d
8753 :bsnl
8754 s/["\\]/\\&/g
8755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8756 D["\1"]=" \3\\\\\\n"\\/p
8757 t cont
8758 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8759 t cont
8760 d
8761 :cont
8762 n
8763 s/.\{148\}/&'"$ac_delim"'/g
8764 t clear
8765 :clear
8766 s/\\$//
8767 t bsnlc
8768 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8769 d
8770 :bsnlc
8771 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8772 b cont
8773 ' <confdefs.h | sed '
8774 s/'"$ac_delim"'/"\\\
8775 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8776
8777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8778 for (key in D) D_is_set[key] = 1
8779 FS = ""
8780 }
8781 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8782 line = \$ 0
8783 split(line, arg, " ")
8784 if (arg[1] == "#") {
8785 defundef = arg[2]
8786 mac1 = arg[3]
8787 } else {
8788 defundef = substr(arg[1], 2)
8789 mac1 = arg[2]
8790 }
8791 split(mac1, mac2, "(") #)
8792 macro = mac2[1]
8793 prefix = substr(line, 1, index(line, defundef) - 1)
8794 if (D_is_set[macro]) {
8795 # Preserve the white space surrounding the "#".
8796 print prefix "define", macro P[macro] D[macro]
8797 next
8798 } else {
8799 # Replace #undef with comments. This is necessary, for example,
8800 # in the case of _POSIX_SOURCE, which is predefined and required
8801 # on some systems where configure will not decide to define it.
8802 if (defundef == "undef") {
8803 print "/*", prefix defundef, macro, "*/"
8804 next
8805 }
8806 }
8807 }
8808 { print }
8809 _ACAWK
8810 _ACEOF
8811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8812 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8813 fi # test -n "$CONFIG_HEADERS"
8814
8815
8816 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8817 shift
8818 for ac_tag
8819 do
8820 case $ac_tag in
8821 :[FHLC]) ac_mode=$ac_tag; continue;;
8822 esac
8823 case $ac_mode$ac_tag in
8824 :[FHL]*:*);;
8825 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8826 :[FH]-) ac_tag=-:-;;
8827 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8828 esac
8829 ac_save_IFS=$IFS
8830 IFS=:
8831 set x $ac_tag
8832 IFS=$ac_save_IFS
8833 shift
8834 ac_file=$1
8835 shift
8836
8837 case $ac_mode in
8838 :L) ac_source=$1;;
8839 :[FH])
8840 ac_file_inputs=
8841 for ac_f
8842 do
8843 case $ac_f in
8844 -) ac_f="$ac_tmp/stdin";;
8845 *) # Look for the file first in the build tree, then in the source tree
8846 # (if the path is not absolute). The absolute path cannot be DOS-style,
8847 # because $ac_f cannot contain `:'.
8848 test -f "$ac_f" ||
8849 case $ac_f in
8850 [\\/$]*) false;;
8851 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8852 esac ||
8853 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8854 esac
8855 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8856 as_fn_append ac_file_inputs " '$ac_f'"
8857 done
8858
8859 # Let's still pretend it is `configure' which instantiates (i.e., don't
8860 # use $as_me), people would be surprised to read:
8861 # /* config.h. Generated by config.status. */
8862 configure_input='Generated from '`
8863 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8864 `' by configure.'
8865 if test x"$ac_file" != x-; then
8866 configure_input="$ac_file. $configure_input"
8867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8868 printf "%s\n" "$as_me: creating $ac_file" >&6;}
8869 fi
8870 # Neutralize special characters interpreted by sed in replacement strings.
8871 case $configure_input in #(
8872 *\&* | *\|* | *\\* )
8873 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
8874 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8875 *) ac_sed_conf_input=$configure_input;;
8876 esac
8877
8878 case $ac_tag in
8879 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8880 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8881 esac
8882 ;;
8883 esac
8884
8885 ac_dir=`$as_dirname -- "$ac_file" ||
8886 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8887 X"$ac_file" : 'X\(//\)[^/]' \| \
8888 X"$ac_file" : 'X\(//\)$' \| \
8889 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8890 printf "%s\n" X"$ac_file" |
8891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8892 s//\1/
8893 q
8894 }
8895 /^X\(\/\/\)[^/].*/{
8896 s//\1/
8897 q
8898 }
8899 /^X\(\/\/\)$/{
8900 s//\1/
8901 q
8902 }
8903 /^X\(\/\).*/{
8904 s//\1/
8905 q
8906 }
8907 s/.*/./; q'`
8908 as_dir="$ac_dir"; as_fn_mkdir_p
8909 ac_builddir=.
8910
8911 case "$ac_dir" in
8912 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8913 *)
8914 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
8915 # A ".." for each directory in $ac_dir_suffix.
8916 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8917 case $ac_top_builddir_sub in
8918 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8919 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8920 esac ;;
8921 esac
8922 ac_abs_top_builddir=$ac_pwd
8923 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8924 # for backward compatibility:
8925 ac_top_builddir=$ac_top_build_prefix
8926
8927 case $srcdir in
8928 .) # We are building in place.
8929 ac_srcdir=.
8930 ac_top_srcdir=$ac_top_builddir_sub
8931 ac_abs_top_srcdir=$ac_pwd ;;
8932 [\\/]* | ?:[\\/]* ) # Absolute name.
8933 ac_srcdir=$srcdir$ac_dir_suffix;
8934 ac_top_srcdir=$srcdir
8935 ac_abs_top_srcdir=$srcdir ;;
8936 *) # Relative name.
8937 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8938 ac_top_srcdir=$ac_top_build_prefix$srcdir
8939 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8940 esac
8941 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8942
8943
8944 case $ac_mode in
8945 :F)
8946 #
8947 # CONFIG_FILE
8948 #
8949
8950 case $INSTALL in
8951 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8952 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8953 esac
8954 ac_MKDIR_P=$MKDIR_P
8955 case $MKDIR_P in
8956 [\\/$]* | ?:[\\/]* ) ;;
8957 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8958 esac
8959 _ACEOF
8960
8961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8962 # If the template does not know about datarootdir, expand it.
8963 # FIXME: This hack should be removed a few years after 2.60.
8964 ac_datarootdir_hack=; ac_datarootdir_seen=
8965 ac_sed_dataroot='
8966 /datarootdir/ {
8967 p
8968 q
8969 }
8970 /@datadir@/p
8971 /@docdir@/p
8972 /@infodir@/p
8973 /@localedir@/p
8974 /@mandir@/p'
8975 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8976 *datarootdir*) ac_datarootdir_seen=yes;;
8977 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8979 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8980 _ACEOF
8981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8982 ac_datarootdir_hack='
8983 s&@datadir@&$datadir&g
8984 s&@docdir@&$docdir&g
8985 s&@infodir@&$infodir&g
8986 s&@localedir@&$localedir&g
8987 s&@mandir@&$mandir&g
8988 s&\\\${datarootdir}&$datarootdir&g' ;;
8989 esac
8990 _ACEOF
8991
8992 # Neutralize VPATH when `$srcdir' = `.'.
8993 # Shell code in configure.ac might set extrasub.
8994 # FIXME: do we really want to maintain this feature?
8995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8996 ac_sed_extra="$ac_vpsub
8997 $extrasub
8998 _ACEOF
8999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9000 :t
9001 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9002 s|@configure_input@|$ac_sed_conf_input|;t t
9003 s&@top_builddir@&$ac_top_builddir_sub&;t t
9004 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9005 s&@srcdir@&$ac_srcdir&;t t
9006 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9007 s&@top_srcdir@&$ac_top_srcdir&;t t
9008 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9009 s&@builddir@&$ac_builddir&;t t
9010 s&@abs_builddir@&$ac_abs_builddir&;t t
9011 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9012 s&@INSTALL@&$ac_INSTALL&;t t
9013 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9014 $ac_datarootdir_hack
9015 "
9016 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9017 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9018
9019 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9020 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9021 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9022 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9024 which seems to be undefined. Please make sure it is defined" >&5
9025 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9026 which seems to be undefined. Please make sure it is defined" >&2;}
9027
9028 rm -f "$ac_tmp/stdin"
9029 case $ac_file in
9030 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9031 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9032 esac \
9033 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9034 ;;
9035 :H)
9036 #
9037 # CONFIG_HEADER
9038 #
9039 if test x"$ac_file" != x-; then
9040 {
9041 printf "%s\n" "/* $configure_input */" >&1 \
9042 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9043 } >"$ac_tmp/config.h" \
9044 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9045 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9047 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
9048 else
9049 rm -f "$ac_file"
9050 mv "$ac_tmp/config.h" "$ac_file" \
9051 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9052 fi
9053 else
9054 printf "%s\n" "/* $configure_input */" >&1 \
9055 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9056 || as_fn_error $? "could not create -" "$LINENO" 5
9057 fi
9058 # Compute "$ac_file"'s index in $config_headers.
9059 _am_arg="$ac_file"
9060 _am_stamp_count=1
9061 for _am_header in $config_headers :; do
9062 case $_am_header in
9063 $_am_arg | $_am_arg:* )
9064 break ;;
9065 * )
9066 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9067 esac
9068 done
9069 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9070 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9071 X"$_am_arg" : 'X\(//\)[^/]' \| \
9072 X"$_am_arg" : 'X\(//\)$' \| \
9073 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9074 printf "%s\n" X"$_am_arg" |
9075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9076 s//\1/
9077 q
9078 }
9079 /^X\(\/\/\)[^/].*/{
9080 s//\1/
9081 q
9082 }
9083 /^X\(\/\/\)$/{
9084 s//\1/
9085 q
9086 }
9087 /^X\(\/\).*/{
9088 s//\1/
9089 q
9090 }
9091 s/.*/./; q'`/stamp-h$_am_stamp_count
9092 ;;
9093
9094 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9095 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
9096 ;;
9097 esac
9098
9099
9100 case $ac_file$ac_mode in
9101 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9102 # Older Autoconf quotes --file arguments for eval, but not when files
9103 # are listed without --file. Let's play safe and only enable the eval
9104 # if we detect the quoting.
9105 # TODO: see whether this extra hack can be removed once we start
9106 # requiring Autoconf 2.70 or later.
9107 case $CONFIG_FILES in #(
9108 *\'*) :
9109 eval set x "$CONFIG_FILES" ;; #(
9110 *) :
9111 set x $CONFIG_FILES ;; #(
9112 *) :
9113 ;;
9114 esac
9115 shift
9116 # Used to flag and report bootstrapping failures.
9117 am_rc=0
9118 for am_mf
9119 do
9120 # Strip MF so we end up with the name of the file.
9121 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
9122 # Check whether this is an Automake generated Makefile which includes
9123 # dependency-tracking related rules and includes.
9124 # Grep'ing the whole file directly is not great: AIX grep has a line
9125 # limit of 2048, but all sed's we know have understand at least 4000.
9126 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
9127 || continue
9128 am_dirpart=`$as_dirname -- "$am_mf" ||
9129 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9130 X"$am_mf" : 'X\(//\)[^/]' \| \
9131 X"$am_mf" : 'X\(//\)$' \| \
9132 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9133 printf "%s\n" X"$am_mf" |
9134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9135 s//\1/
9136 q
9137 }
9138 /^X\(\/\/\)[^/].*/{
9139 s//\1/
9140 q
9141 }
9142 /^X\(\/\/\)$/{
9143 s//\1/
9144 q
9145 }
9146 /^X\(\/\).*/{
9147 s//\1/
9148 q
9149 }
9150 s/.*/./; q'`
9151 am_filepart=`$as_basename -- "$am_mf" ||
9152 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
9153 X"$am_mf" : 'X\(//\)$' \| \
9154 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9155 printf "%s\n" X/"$am_mf" |
9156 sed '/^.*\/\([^/][^/]*\)\/*$/{
9157 s//\1/
9158 q
9159 }
9160 /^X\/\(\/\/\)$/{
9161 s//\1/
9162 q
9163 }
9164 /^X\/\(\/\).*/{
9165 s//\1/
9166 q
9167 }
9168 s/.*/./; q'`
9169 { echo "$as_me:$LINENO: cd "$am_dirpart" \
9170 && sed -e '/# am--include-marker/d' "$am_filepart" \
9171 | $MAKE -f - am--depfiles" >&5
9172 (cd "$am_dirpart" \
9173 && sed -e '/# am--include-marker/d' "$am_filepart" \
9174 | $MAKE -f - am--depfiles) >&5 2>&5
9175 ac_status=$?
9176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9177 (exit $ac_status); } || am_rc=$?
9178 done
9179 if test $am_rc -ne 0; then
9180 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9181 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
9182 as_fn_error $? "Something went wrong bootstrapping makefile fragments
9183 for automatic dependency tracking. If GNU make was not used, consider
9184 re-running the configure script with MAKE=\"gmake\" (or whatever is
9185 necessary). You can also try re-running configure with the
9186 '--disable-dependency-tracking' option to at least be able to build
9187 the package (albeit without support for automatic dependency tracking).
9188 See \`config.log' for more details" "$LINENO" 5; }
9189 fi
9190 { am_dirpart=; unset am_dirpart;}
9191 { am_filepart=; unset am_filepart;}
9192 { am_mf=; unset am_mf;}
9193 { am_rc=; unset am_rc;}
9194 rm -f conftest-deps.mk
9195 }
9196 ;;
9197
9198 esac
9199 done # for ac_tag
9200
9201
9202 as_fn_exit 0
9203 _ACEOF
9204 ac_clean_files=$ac_clean_files_save
9205
9206 test $ac_write_fail = 0 ||
9207 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9208
9209
9210 # configure is writing to config.log, and then calls config.status.
9211 # config.status does its own redirection, appending to config.log.
9212 # Unfortunately, on DOS this fails, as config.log is still kept open
9213 # by configure, so config.status won't be able to write to it; its
9214 # output is simply discarded. So we exec the FD to /dev/null,
9215 # effectively closing config.log, so it can be properly (re)opened and
9216 # appended to by config.status. When coming back to configure, we
9217 # need to make the FD available again.
9218 if test "$no_create" != yes; then
9219 ac_cs_success=:
9220 ac_config_status_args=
9221 test "$silent" = yes &&
9222 ac_config_status_args="$ac_config_status_args --quiet"
9223 exec 5>/dev/null
9224 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9225 exec 5>>config.log
9226 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9227 # would make configure fail if this is the last instruction.
9228 $ac_cs_success || as_fn_exit 1
9229 fi
9230 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9232 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9233 fi
9234
9235
9236 ac_xmlrpc_report="internal lib";
9237
9238 if test "x$ac_cv_flxmlrpc" = "xyes"; then
9239 ac_xmlrpc_report="external lib";
9240 fi
9241
9242 ### summary
9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result:
9244 Configuration summary:
9245
9246 Version ..................... $VERSION
9247
9248 Target OS ................... $target_os
9249
9250 Have flxmlrpc library ....... $ac_xmlrpc_report
9251
9252 Static linking .............. $ac_cv_static
9253 CPU optimizations ........... $ac_cv_opt
9254 Debugging ................... $ac_cv_debug
9255
9256 " >&5
9257 printf "%s\n" "
9258 Configuration summary:
9259
9260 Version ..................... $VERSION
9261
9262 Target OS ................... $target_os
9263
9264 Have flxmlrpc library ....... $ac_xmlrpc_report
9265
9266 Static linking .............. $ac_cv_static
9267 CPU optimizations ........... $ac_cv_opt
9268 Debugging ................... $ac_cv_debug
9269
9270 " >&6; }
9271