]> git.ipfire.org Git - thirdparty/gcc.git/blob - libcody/configure
libcody: More dashism
[thirdparty/gcc.git] / libcody / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for codylib 0.0.
4 #
5 # Report bugs to <github.com/urnathan/libcody>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
205 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 do
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
226 fi
227 fi
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
237
238
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: github.com/urnathan/libcody about your system,
270 $0: including any error possibly output before this
271 $0: message. Then install a modern shell, or manually run
272 $0: the script under such a shell if you do have one."
273 fi
274 exit 1
275 fi
276 fi
277 fi
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
283
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
291 {
292 { eval $1=; unset $1;}
293 }
294 as_unset=as_fn_unset
295
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
300 {
301 return $1
302 } # as_fn_set_status
303
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
308 {
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
313
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
318 {
319
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
339 q
340 }
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
343 q
344 }
345 /^X\(\/\/\)$/{
346 s//\1/
347 q
348 }
349 /^X\(\/\).*/{
350 s//\1/
351 q
352 }
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358
359
360 } # as_fn_mkdir_p
361
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
366 {
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
377 {
378 eval $1+=\$2
379 }'
380 else
381 as_fn_append ()
382 {
383 eval $1=\$$1\$2
384 }
385 fi # as_fn_append
386
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
394 {
395 as_val=$(( $* ))
396 }'
397 else
398 as_fn_arith ()
399 {
400 as_val=`expr "$@" || test $? -eq 1`
401 }
402 fi # as_fn_arith
403
404
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
411 {
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416 fi
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
420
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
426 fi
427
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
432 fi
433
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
438 fi
439
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
447 q
448 }
449 /^X\/\(\/\/\)$/{
450 s//\1/
451 q
452 }
453 /^X\/\(\/\).*/{
454 s//\1/
455 q
456 }
457 s/.*/./; q'`
458
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
465
466
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
473 p
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
479 b
480 :lineno
481 N
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
500 }
501
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
511 *)
512 ECHO_N='-n';;
513 esac
514
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
521 fi
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
535 fi
536 else
537 as_ln_s='cp -pR'
538 fi
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
541
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
547 fi
548
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
551
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
561
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567 #
568 # Initializations.
569 #
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
578
579 # Identity of this package.
580 PACKAGE_NAME='codylib'
581 PACKAGE_TARNAME='codylib'
582 PACKAGE_VERSION='0.0'
583 PACKAGE_STRING='codylib 0.0'
584 PACKAGE_BUGREPORT='github.com/urnathan/libcody'
585 PACKAGE_URL=''
586
587 ac_unique_file="cody.hh"
588 ac_subst_vars='LTLIBOBJS
589 LIBOBJS
590 ALOY
591 DOXYGEN
592 AR
593 EXCEPTIONS
594 CONFIG_FILES
595 SUBDIRS
596 configure_args
597 OBJEXT
598 EXEEXT
599 ac_ct_CXX
600 CPPFLAGS
601 LDFLAGS
602 CXXFLAGS
603 CXX
604 MAINTAINER
605 NUM_CPUS
606 tools
607 host_os
608 host_vendor
609 host_cpu
610 host
611 build_os
612 build_vendor
613 build_cpu
614 build
615 target_alias
616 host_alias
617 build_alias
618 LIBS
619 ECHO_T
620 ECHO_N
621 ECHO_C
622 DEFS
623 mandir
624 localedir
625 libdir
626 psdir
627 pdfdir
628 dvidir
629 htmldir
630 infodir
631 docdir
632 oldincludedir
633 includedir
634 localstatedir
635 sharedstatedir
636 sysconfdir
637 datadir
638 datarootdir
639 libexecdir
640 sbindir
641 bindir
642 program_transform_name
643 prefix
644 exec_prefix
645 PACKAGE_URL
646 PACKAGE_BUGREPORT
647 PACKAGE_STRING
648 PACKAGE_VERSION
649 PACKAGE_TARNAME
650 PACKAGE_NAME
651 PATH_SEPARATOR
652 SHELL'
653 ac_subst_files=''
654 ac_user_opts='
655 enable_option_checking
656 with_tools
657 enable_maintainer_mode
658 with_compiler
659 with_bugurl
660 enable_checking
661 enable_exceptions
662 '
663 ac_precious_vars='build_alias
664 host_alias
665 target_alias
666 CXX
667 CXXFLAGS
668 LDFLAGS
669 LIBS
670 CPPFLAGS
671 CCC'
672
673
674 # Initialize some variables set by options.
675 ac_init_help=
676 ac_init_version=false
677 ac_unrecognized_opts=
678 ac_unrecognized_sep=
679 # The variables have the same names as the options, with
680 # dashes changed to underlines.
681 cache_file=/dev/null
682 exec_prefix=NONE
683 no_create=
684 no_recursion=
685 prefix=NONE
686 program_prefix=NONE
687 program_suffix=NONE
688 program_transform_name=s,x,x,
689 silent=
690 site=
691 srcdir=
692 verbose=
693 x_includes=NONE
694 x_libraries=NONE
695
696 # Installation directory options.
697 # These are left unexpanded so users can "make install exec_prefix=/foo"
698 # and all the variables that are supposed to be based on exec_prefix
699 # by default will actually change.
700 # Use braces instead of parens because sh, perl, etc. also accept them.
701 # (The list follows the same order as the GNU Coding Standards.)
702 bindir='${exec_prefix}/bin'
703 sbindir='${exec_prefix}/sbin'
704 libexecdir='${exec_prefix}/libexec'
705 datarootdir='${prefix}/share'
706 datadir='${datarootdir}'
707 sysconfdir='${prefix}/etc'
708 sharedstatedir='${prefix}/com'
709 localstatedir='${prefix}/var'
710 includedir='${prefix}/include'
711 oldincludedir='/usr/include'
712 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
713 infodir='${datarootdir}/info'
714 htmldir='${docdir}'
715 dvidir='${docdir}'
716 pdfdir='${docdir}'
717 psdir='${docdir}'
718 libdir='${exec_prefix}/lib'
719 localedir='${datarootdir}/locale'
720 mandir='${datarootdir}/man'
721
722 ac_prev=
723 ac_dashdash=
724 for ac_option
725 do
726 # If the previous option needs an argument, assign it.
727 if test -n "$ac_prev"; then
728 eval $ac_prev=\$ac_option
729 ac_prev=
730 continue
731 fi
732
733 case $ac_option in
734 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
735 *=) ac_optarg= ;;
736 *) ac_optarg=yes ;;
737 esac
738
739 # Accept the important Cygnus configure options, so we can diagnose typos.
740
741 case $ac_dashdash$ac_option in
742 --)
743 ac_dashdash=yes ;;
744
745 -bindir | --bindir | --bindi | --bind | --bin | --bi)
746 ac_prev=bindir ;;
747 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
748 bindir=$ac_optarg ;;
749
750 -build | --build | --buil | --bui | --bu)
751 ac_prev=build_alias ;;
752 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
753 build_alias=$ac_optarg ;;
754
755 -cache-file | --cache-file | --cache-fil | --cache-fi \
756 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
757 ac_prev=cache_file ;;
758 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
759 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
760 cache_file=$ac_optarg ;;
761
762 --config-cache | -C)
763 cache_file=config.cache ;;
764
765 -datadir | --datadir | --datadi | --datad)
766 ac_prev=datadir ;;
767 -datadir=* | --datadir=* | --datadi=* | --datad=*)
768 datadir=$ac_optarg ;;
769
770 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
771 | --dataroo | --dataro | --datar)
772 ac_prev=datarootdir ;;
773 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
774 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
775 datarootdir=$ac_optarg ;;
776
777 -disable-* | --disable-*)
778 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
779 # Reject names that are not valid shell variable names.
780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
781 as_fn_error $? "invalid feature name: $ac_useropt"
782 ac_useropt_orig=$ac_useropt
783 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
784 case $ac_user_opts in
785 *"
786 "enable_$ac_useropt"
787 "*) ;;
788 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
789 ac_unrecognized_sep=', ';;
790 esac
791 eval enable_$ac_useropt=no ;;
792
793 -docdir | --docdir | --docdi | --doc | --do)
794 ac_prev=docdir ;;
795 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
796 docdir=$ac_optarg ;;
797
798 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
799 ac_prev=dvidir ;;
800 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
801 dvidir=$ac_optarg ;;
802
803 -enable-* | --enable-*)
804 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
805 # Reject names that are not valid shell variable names.
806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
807 as_fn_error $? "invalid feature name: $ac_useropt"
808 ac_useropt_orig=$ac_useropt
809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
810 case $ac_user_opts in
811 *"
812 "enable_$ac_useropt"
813 "*) ;;
814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
815 ac_unrecognized_sep=', ';;
816 esac
817 eval enable_$ac_useropt=\$ac_optarg ;;
818
819 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
820 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
821 | --exec | --exe | --ex)
822 ac_prev=exec_prefix ;;
823 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
824 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
825 | --exec=* | --exe=* | --ex=*)
826 exec_prefix=$ac_optarg ;;
827
828 -gas | --gas | --ga | --g)
829 # Obsolete; use --with-gas.
830 with_gas=yes ;;
831
832 -help | --help | --hel | --he | -h)
833 ac_init_help=long ;;
834 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
835 ac_init_help=recursive ;;
836 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
837 ac_init_help=short ;;
838
839 -host | --host | --hos | --ho)
840 ac_prev=host_alias ;;
841 -host=* | --host=* | --hos=* | --ho=*)
842 host_alias=$ac_optarg ;;
843
844 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
845 ac_prev=htmldir ;;
846 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
847 | --ht=*)
848 htmldir=$ac_optarg ;;
849
850 -includedir | --includedir | --includedi | --included | --include \
851 | --includ | --inclu | --incl | --inc)
852 ac_prev=includedir ;;
853 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
854 | --includ=* | --inclu=* | --incl=* | --inc=*)
855 includedir=$ac_optarg ;;
856
857 -infodir | --infodir | --infodi | --infod | --info | --inf)
858 ac_prev=infodir ;;
859 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
860 infodir=$ac_optarg ;;
861
862 -libdir | --libdir | --libdi | --libd)
863 ac_prev=libdir ;;
864 -libdir=* | --libdir=* | --libdi=* | --libd=*)
865 libdir=$ac_optarg ;;
866
867 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
868 | --libexe | --libex | --libe)
869 ac_prev=libexecdir ;;
870 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
871 | --libexe=* | --libex=* | --libe=*)
872 libexecdir=$ac_optarg ;;
873
874 -localedir | --localedir | --localedi | --localed | --locale)
875 ac_prev=localedir ;;
876 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
877 localedir=$ac_optarg ;;
878
879 -localstatedir | --localstatedir | --localstatedi | --localstated \
880 | --localstate | --localstat | --localsta | --localst | --locals)
881 ac_prev=localstatedir ;;
882 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
883 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
884 localstatedir=$ac_optarg ;;
885
886 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
887 ac_prev=mandir ;;
888 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
889 mandir=$ac_optarg ;;
890
891 -nfp | --nfp | --nf)
892 # Obsolete; use --without-fp.
893 with_fp=no ;;
894
895 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
896 | --no-cr | --no-c | -n)
897 no_create=yes ;;
898
899 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
900 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
901 no_recursion=yes ;;
902
903 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
904 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
905 | --oldin | --oldi | --old | --ol | --o)
906 ac_prev=oldincludedir ;;
907 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
908 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
909 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
910 oldincludedir=$ac_optarg ;;
911
912 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
913 ac_prev=prefix ;;
914 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
915 prefix=$ac_optarg ;;
916
917 -program-prefix | --program-prefix | --program-prefi | --program-pref \
918 | --program-pre | --program-pr | --program-p)
919 ac_prev=program_prefix ;;
920 -program-prefix=* | --program-prefix=* | --program-prefi=* \
921 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
922 program_prefix=$ac_optarg ;;
923
924 -program-suffix | --program-suffix | --program-suffi | --program-suff \
925 | --program-suf | --program-su | --program-s)
926 ac_prev=program_suffix ;;
927 -program-suffix=* | --program-suffix=* | --program-suffi=* \
928 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
929 program_suffix=$ac_optarg ;;
930
931 -program-transform-name | --program-transform-name \
932 | --program-transform-nam | --program-transform-na \
933 | --program-transform-n | --program-transform- \
934 | --program-transform | --program-transfor \
935 | --program-transfo | --program-transf \
936 | --program-trans | --program-tran \
937 | --progr-tra | --program-tr | --program-t)
938 ac_prev=program_transform_name ;;
939 -program-transform-name=* | --program-transform-name=* \
940 | --program-transform-nam=* | --program-transform-na=* \
941 | --program-transform-n=* | --program-transform-=* \
942 | --program-transform=* | --program-transfor=* \
943 | --program-transfo=* | --program-transf=* \
944 | --program-trans=* | --program-tran=* \
945 | --progr-tra=* | --program-tr=* | --program-t=*)
946 program_transform_name=$ac_optarg ;;
947
948 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
949 ac_prev=pdfdir ;;
950 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
951 pdfdir=$ac_optarg ;;
952
953 -psdir | --psdir | --psdi | --psd | --ps)
954 ac_prev=psdir ;;
955 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
956 psdir=$ac_optarg ;;
957
958 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
959 | -silent | --silent | --silen | --sile | --sil)
960 silent=yes ;;
961
962 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
963 ac_prev=sbindir ;;
964 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
965 | --sbi=* | --sb=*)
966 sbindir=$ac_optarg ;;
967
968 -sharedstatedir | --sharedstatedir | --sharedstatedi \
969 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
970 | --sharedst | --shareds | --shared | --share | --shar \
971 | --sha | --sh)
972 ac_prev=sharedstatedir ;;
973 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
974 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
975 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
976 | --sha=* | --sh=*)
977 sharedstatedir=$ac_optarg ;;
978
979 -site | --site | --sit)
980 ac_prev=site ;;
981 -site=* | --site=* | --sit=*)
982 site=$ac_optarg ;;
983
984 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
985 ac_prev=srcdir ;;
986 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
987 srcdir=$ac_optarg ;;
988
989 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
990 | --syscon | --sysco | --sysc | --sys | --sy)
991 ac_prev=sysconfdir ;;
992 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
993 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
994 sysconfdir=$ac_optarg ;;
995
996 -target | --target | --targe | --targ | --tar | --ta | --t)
997 ac_prev=target_alias ;;
998 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
999 target_alias=$ac_optarg ;;
1000
1001 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1002 verbose=yes ;;
1003
1004 -version | --version | --versio | --versi | --vers | -V)
1005 ac_init_version=: ;;
1006
1007 -with-* | --with-*)
1008 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011 as_fn_error $? "invalid package name: $ac_useropt"
1012 ac_useropt_orig=$ac_useropt
1013 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014 case $ac_user_opts in
1015 *"
1016 "with_$ac_useropt"
1017 "*) ;;
1018 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1019 ac_unrecognized_sep=', ';;
1020 esac
1021 eval with_$ac_useropt=\$ac_optarg ;;
1022
1023 -without-* | --without-*)
1024 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 as_fn_error $? "invalid package name: $ac_useropt"
1028 ac_useropt_orig=$ac_useropt
1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1031 *"
1032 "with_$ac_useropt"
1033 "*) ;;
1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1035 ac_unrecognized_sep=', ';;
1036 esac
1037 eval with_$ac_useropt=no ;;
1038
1039 --x)
1040 # Obsolete; use --with-x.
1041 with_x=yes ;;
1042
1043 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1044 | --x-incl | --x-inc | --x-in | --x-i)
1045 ac_prev=x_includes ;;
1046 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1047 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1048 x_includes=$ac_optarg ;;
1049
1050 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1051 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1052 ac_prev=x_libraries ;;
1053 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1054 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1055 x_libraries=$ac_optarg ;;
1056
1057 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1058 Try \`$0 --help' for more information"
1059 ;;
1060
1061 *=*)
1062 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1063 # Reject names that are not valid shell variable names.
1064 case $ac_envvar in #(
1065 '' | [0-9]* | *[!_$as_cr_alnum]* )
1066 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1067 esac
1068 eval $ac_envvar=\$ac_optarg
1069 export $ac_envvar ;;
1070
1071 *)
1072 # FIXME: should be removed in autoconf 3.0.
1073 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1074 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1075 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1076 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1077 ;;
1078
1079 esac
1080 done
1081
1082 if test -n "$ac_prev"; then
1083 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1084 as_fn_error $? "missing argument to $ac_option"
1085 fi
1086
1087 if test -n "$ac_unrecognized_opts"; then
1088 case $enable_option_checking in
1089 no) ;;
1090 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1091 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1092 esac
1093 fi
1094
1095 # Check all directory arguments for consistency.
1096 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1097 datadir sysconfdir sharedstatedir localstatedir includedir \
1098 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1099 libdir localedir mandir
1100 do
1101 eval ac_val=\$$ac_var
1102 # Remove trailing slashes.
1103 case $ac_val in
1104 */ )
1105 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1106 eval $ac_var=\$ac_val;;
1107 esac
1108 # Be sure to have absolute directory names.
1109 case $ac_val in
1110 [\\/$]* | ?:[\\/]* ) continue;;
1111 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1112 esac
1113 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1114 done
1115
1116 # There might be people who depend on the old broken behavior: `$host'
1117 # used to hold the argument of --host etc.
1118 # FIXME: To remove some day.
1119 build=$build_alias
1120 host=$host_alias
1121 target=$target_alias
1122
1123 # FIXME: To remove some day.
1124 if test "x$host_alias" != x; then
1125 if test "x$build_alias" = x; then
1126 cross_compiling=maybe
1127 elif test "x$build_alias" != "x$host_alias"; then
1128 cross_compiling=yes
1129 fi
1130 fi
1131
1132 ac_tool_prefix=
1133 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1134
1135 test "$silent" = yes && exec 6>/dev/null
1136
1137
1138 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1139 ac_ls_di=`ls -di .` &&
1140 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1141 as_fn_error $? "working directory cannot be determined"
1142 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1143 as_fn_error $? "pwd does not report name of working directory"
1144
1145
1146 # Find the source files, if location was not specified.
1147 if test -z "$srcdir"; then
1148 ac_srcdir_defaulted=yes
1149 # Try the directory containing this script, then the parent directory.
1150 ac_confdir=`$as_dirname -- "$as_myself" ||
1151 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1152 X"$as_myself" : 'X\(//\)[^/]' \| \
1153 X"$as_myself" : 'X\(//\)$' \| \
1154 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1155 $as_echo X"$as_myself" |
1156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1157 s//\1/
1158 q
1159 }
1160 /^X\(\/\/\)[^/].*/{
1161 s//\1/
1162 q
1163 }
1164 /^X\(\/\/\)$/{
1165 s//\1/
1166 q
1167 }
1168 /^X\(\/\).*/{
1169 s//\1/
1170 q
1171 }
1172 s/.*/./; q'`
1173 srcdir=$ac_confdir
1174 if test ! -r "$srcdir/$ac_unique_file"; then
1175 srcdir=..
1176 fi
1177 else
1178 ac_srcdir_defaulted=no
1179 fi
1180 if test ! -r "$srcdir/$ac_unique_file"; then
1181 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1182 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1183 fi
1184 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1185 ac_abs_confdir=`(
1186 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1187 pwd)`
1188 # When building in place, set srcdir=.
1189 if test "$ac_abs_confdir" = "$ac_pwd"; then
1190 srcdir=.
1191 fi
1192 # Remove unnecessary trailing slashes from srcdir.
1193 # Double slashes in file names in object file debugging info
1194 # mess up M-x gdb in Emacs.
1195 case $srcdir in
1196 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1197 esac
1198 for ac_var in $ac_precious_vars; do
1199 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1200 eval ac_env_${ac_var}_value=\$${ac_var}
1201 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1202 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1203 done
1204
1205 #
1206 # Report the --help message.
1207 #
1208 if test "$ac_init_help" = "long"; then
1209 # Omit some internal or obsolete options to make the list less imposing.
1210 # This message is too long to be a string in the A/UX 3.1 sh.
1211 cat <<_ACEOF
1212 \`configure' configures codylib 0.0 to adapt to many kinds of systems.
1213
1214 Usage: $0 [OPTION]... [VAR=VALUE]...
1215
1216 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1217 VAR=VALUE. See below for descriptions of some of the useful variables.
1218
1219 Defaults for the options are specified in brackets.
1220
1221 Configuration:
1222 -h, --help display this help and exit
1223 --help=short display options specific to this package
1224 --help=recursive display the short help of all the included packages
1225 -V, --version display version information and exit
1226 -q, --quiet, --silent do not print \`checking ...' messages
1227 --cache-file=FILE cache test results in FILE [disabled]
1228 -C, --config-cache alias for \`--cache-file=config.cache'
1229 -n, --no-create do not create output files
1230 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1231
1232 Installation directories:
1233 --prefix=PREFIX install architecture-independent files in PREFIX
1234 [$ac_default_prefix]
1235 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1236 [PREFIX]
1237
1238 By default, \`make install' will install all the files in
1239 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1240 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1241 for instance \`--prefix=\$HOME'.
1242
1243 For better control, use the options below.
1244
1245 Fine tuning of the installation directories:
1246 --bindir=DIR user executables [EPREFIX/bin]
1247 --sbindir=DIR system admin executables [EPREFIX/sbin]
1248 --libexecdir=DIR program executables [EPREFIX/libexec]
1249 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1250 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1251 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1252 --libdir=DIR object code libraries [EPREFIX/lib]
1253 --includedir=DIR C header files [PREFIX/include]
1254 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1255 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1256 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1257 --infodir=DIR info documentation [DATAROOTDIR/info]
1258 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1259 --mandir=DIR man documentation [DATAROOTDIR/man]
1260 --docdir=DIR documentation root [DATAROOTDIR/doc/codylib]
1261 --htmldir=DIR html documentation [DOCDIR]
1262 --dvidir=DIR dvi documentation [DOCDIR]
1263 --pdfdir=DIR pdf documentation [DOCDIR]
1264 --psdir=DIR ps documentation [DOCDIR]
1265 _ACEOF
1266
1267 cat <<\_ACEOF
1268
1269 System types:
1270 --build=BUILD configure for building on BUILD [guessed]
1271 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1272 _ACEOF
1273 fi
1274
1275 if test -n "$ac_init_help"; then
1276 case $ac_init_help in
1277 short | recursive ) echo "Configuration of codylib 0.0:";;
1278 esac
1279 cat <<\_ACEOF
1280
1281 Optional Features:
1282 --disable-option-checking ignore unrecognized --enable/--with options
1283 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1284 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1285 --enable-maintainer-mode
1286 enable maintainer mode. Add rules to rebuild
1287 configurey bits
1288 --enable-checking enable run-time checking
1289 --enable-exceptions enable exceptions & rtti
1290
1291 Optional Packages:
1292 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1293 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1294 --with-tools=DIR tool directory
1295 --with-compiler=NAME which compiler to use
1296 --with-bugurl=URL where to report bugs
1297
1298 Some influential environment variables:
1299 CXX C++ compiler command
1300 CXXFLAGS C++ compiler flags
1301 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1302 nonstandard directory <lib dir>
1303 LIBS libraries to pass to the linker, e.g. -l<library>
1304 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1305 you have headers in a nonstandard directory <include dir>
1306
1307 Use these variables to override the choices made by `configure' or to help
1308 it to find libraries and programs with nonstandard names/locations.
1309
1310 Report bugs to <github.com/urnathan/libcody>.
1311 _ACEOF
1312 ac_status=$?
1313 fi
1314
1315 if test "$ac_init_help" = "recursive"; then
1316 # If there are subdirs, report their specific --help.
1317 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1318 test -d "$ac_dir" ||
1319 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1320 continue
1321 ac_builddir=.
1322
1323 case "$ac_dir" in
1324 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1325 *)
1326 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1327 # A ".." for each directory in $ac_dir_suffix.
1328 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1329 case $ac_top_builddir_sub in
1330 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1332 esac ;;
1333 esac
1334 ac_abs_top_builddir=$ac_pwd
1335 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1336 # for backward compatibility:
1337 ac_top_builddir=$ac_top_build_prefix
1338
1339 case $srcdir in
1340 .) # We are building in place.
1341 ac_srcdir=.
1342 ac_top_srcdir=$ac_top_builddir_sub
1343 ac_abs_top_srcdir=$ac_pwd ;;
1344 [\\/]* | ?:[\\/]* ) # Absolute name.
1345 ac_srcdir=$srcdir$ac_dir_suffix;
1346 ac_top_srcdir=$srcdir
1347 ac_abs_top_srcdir=$srcdir ;;
1348 *) # Relative name.
1349 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1350 ac_top_srcdir=$ac_top_build_prefix$srcdir
1351 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1352 esac
1353 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1354
1355 cd "$ac_dir" || { ac_status=$?; continue; }
1356 # Check for guested configure.
1357 if test -f "$ac_srcdir/configure.gnu"; then
1358 echo &&
1359 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1360 elif test -f "$ac_srcdir/configure"; then
1361 echo &&
1362 $SHELL "$ac_srcdir/configure" --help=recursive
1363 else
1364 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1365 fi || ac_status=$?
1366 cd "$ac_pwd" || { ac_status=$?; break; }
1367 done
1368 fi
1369
1370 test -n "$ac_init_help" && exit $ac_status
1371 if $ac_init_version; then
1372 cat <<\_ACEOF
1373 codylib configure 0.0
1374 generated by GNU Autoconf 2.69
1375
1376 Copyright (C) 2012 Free Software Foundation, Inc.
1377 This configure script is free software; the Free Software Foundation
1378 gives unlimited permission to copy, distribute and modify it.
1379 _ACEOF
1380 exit
1381 fi
1382
1383 ## ------------------------ ##
1384 ## Autoconf initialization. ##
1385 ## ------------------------ ##
1386
1387 # ac_fn_cxx_try_compile LINENO
1388 # ----------------------------
1389 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1390 ac_fn_cxx_try_compile ()
1391 {
1392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1393 rm -f conftest.$ac_objext
1394 if { { ac_try="$ac_compile"
1395 case "(($ac_try" in
1396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1397 *) ac_try_echo=$ac_try;;
1398 esac
1399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1400 $as_echo "$ac_try_echo"; } >&5
1401 (eval "$ac_compile") 2>conftest.err
1402 ac_status=$?
1403 if test -s conftest.err; then
1404 grep -v '^ *+' conftest.err >conftest.er1
1405 cat conftest.er1 >&5
1406 mv -f conftest.er1 conftest.err
1407 fi
1408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1409 test $ac_status = 0; } && {
1410 test -z "$ac_cxx_werror_flag" ||
1411 test ! -s conftest.err
1412 } && test -s conftest.$ac_objext; then :
1413 ac_retval=0
1414 else
1415 $as_echo "$as_me: failed program was:" >&5
1416 sed 's/^/| /' conftest.$ac_ext >&5
1417
1418 ac_retval=1
1419 fi
1420 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1421 as_fn_set_status $ac_retval
1422
1423 } # ac_fn_cxx_try_compile
1424
1425 # ac_fn_cxx_try_link LINENO
1426 # -------------------------
1427 # Try to link conftest.$ac_ext, and return whether this succeeded.
1428 ac_fn_cxx_try_link ()
1429 {
1430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1431 rm -f conftest.$ac_objext conftest$ac_exeext
1432 if { { ac_try="$ac_link"
1433 case "(($ac_try" in
1434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435 *) ac_try_echo=$ac_try;;
1436 esac
1437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438 $as_echo "$ac_try_echo"; } >&5
1439 (eval "$ac_link") 2>conftest.err
1440 ac_status=$?
1441 if test -s conftest.err; then
1442 grep -v '^ *+' conftest.err >conftest.er1
1443 cat conftest.er1 >&5
1444 mv -f conftest.er1 conftest.err
1445 fi
1446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447 test $ac_status = 0; } && {
1448 test -z "$ac_cxx_werror_flag" ||
1449 test ! -s conftest.err
1450 } && test -s conftest$ac_exeext && {
1451 test "$cross_compiling" = yes ||
1452 test -x conftest$ac_exeext
1453 }; then :
1454 ac_retval=0
1455 else
1456 $as_echo "$as_me: failed program was:" >&5
1457 sed 's/^/| /' conftest.$ac_ext >&5
1458
1459 ac_retval=1
1460 fi
1461 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1462 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1463 # interfere with the next link command; also delete a directory that is
1464 # left behind by Apple's compiler. We do this before executing the actions.
1465 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1466 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1467 as_fn_set_status $ac_retval
1468
1469 } # ac_fn_cxx_try_link
1470 cat >config.log <<_ACEOF
1471 This file contains any messages produced by compilers while
1472 running configure, to aid debugging if configure makes a mistake.
1473
1474 It was created by codylib $as_me 0.0, which was
1475 generated by GNU Autoconf 2.69. Invocation command line was
1476
1477 $ $0 $@
1478
1479 _ACEOF
1480 exec 5>>config.log
1481 {
1482 cat <<_ASUNAME
1483 ## --------- ##
1484 ## Platform. ##
1485 ## --------- ##
1486
1487 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1488 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1489 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1490 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1491 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492
1493 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1494 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495
1496 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1497 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1498 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1499 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1500 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1501 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1502 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1503
1504 _ASUNAME
1505
1506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1507 for as_dir in $PATH
1508 do
1509 IFS=$as_save_IFS
1510 test -z "$as_dir" && as_dir=.
1511 $as_echo "PATH: $as_dir"
1512 done
1513 IFS=$as_save_IFS
1514
1515 } >&5
1516
1517 cat >&5 <<_ACEOF
1518
1519
1520 ## ----------- ##
1521 ## Core tests. ##
1522 ## ----------- ##
1523
1524 _ACEOF
1525
1526
1527 # Keep a trace of the command line.
1528 # Strip out --no-create and --no-recursion so they do not pile up.
1529 # Strip out --silent because we don't want to record it for future runs.
1530 # Also quote any args containing shell meta-characters.
1531 # Make two passes to allow for proper duplicate-argument suppression.
1532 ac_configure_args=
1533 ac_configure_args0=
1534 ac_configure_args1=
1535 ac_must_keep_next=false
1536 for ac_pass in 1 2
1537 do
1538 for ac_arg
1539 do
1540 case $ac_arg in
1541 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1543 | -silent | --silent | --silen | --sile | --sil)
1544 continue ;;
1545 *\'*)
1546 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 esac
1548 case $ac_pass in
1549 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1550 2)
1551 as_fn_append ac_configure_args1 " '$ac_arg'"
1552 if test $ac_must_keep_next = true; then
1553 ac_must_keep_next=false # Got value, back to normal.
1554 else
1555 case $ac_arg in
1556 *=* | --config-cache | -C | -disable-* | --disable-* \
1557 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1558 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1559 | -with-* | --with-* | -without-* | --without-* | --x)
1560 case "$ac_configure_args0 " in
1561 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 esac
1563 ;;
1564 -* ) ac_must_keep_next=true ;;
1565 esac
1566 fi
1567 as_fn_append ac_configure_args " '$ac_arg'"
1568 ;;
1569 esac
1570 done
1571 done
1572 { ac_configure_args0=; unset ac_configure_args0;}
1573 { ac_configure_args1=; unset ac_configure_args1;}
1574
1575 # When interrupted or exit'd, cleanup temporary files, and complete
1576 # config.log. We remove comments because anyway the quotes in there
1577 # would cause problems or look ugly.
1578 # WARNING: Use '\'' to represent an apostrophe within the trap.
1579 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1580 trap 'exit_status=$?
1581 # Save into config.log some information that might help in debugging.
1582 {
1583 echo
1584
1585 $as_echo "## ---------------- ##
1586 ## Cache variables. ##
1587 ## ---------------- ##"
1588 echo
1589 # The following way of writing the cache mishandles newlines in values,
1590 (
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1593 case $ac_val in #(
1594 *${as_nl}*)
1595 case $ac_var in #(
1596 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1597 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1598 esac
1599 case $ac_var in #(
1600 _ | IFS | as_nl) ;; #(
1601 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1602 *) { eval $ac_var=; unset $ac_var;} ;;
1603 esac ;;
1604 esac
1605 done
1606 (set) 2>&1 |
1607 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1608 *${as_nl}ac_space=\ *)
1609 sed -n \
1610 "s/'\''/'\''\\\\'\'''\''/g;
1611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1612 ;; #(
1613 *)
1614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 ;;
1616 esac |
1617 sort
1618 )
1619 echo
1620
1621 $as_echo "## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##"
1624 echo
1625 for ac_var in $ac_subst_vars
1626 do
1627 eval ac_val=\$$ac_var
1628 case $ac_val in
1629 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 esac
1631 $as_echo "$ac_var='\''$ac_val'\''"
1632 done | sort
1633 echo
1634
1635 if test -n "$ac_subst_files"; then
1636 $as_echo "## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##"
1639 echo
1640 for ac_var in $ac_subst_files
1641 do
1642 eval ac_val=\$$ac_var
1643 case $ac_val in
1644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1645 esac
1646 $as_echo "$ac_var='\''$ac_val'\''"
1647 done | sort
1648 echo
1649 fi
1650
1651 if test -s confdefs.h; then
1652 $as_echo "## ----------- ##
1653 ## confdefs.h. ##
1654 ## ----------- ##"
1655 echo
1656 cat confdefs.h
1657 echo
1658 fi
1659 test "$ac_signal" != 0 &&
1660 $as_echo "$as_me: caught signal $ac_signal"
1661 $as_echo "$as_me: exit $exit_status"
1662 } >&5
1663 rm -f core *.core core.conftest.* &&
1664 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1665 exit $exit_status
1666 ' 0
1667 for ac_signal in 1 2 13 15; do
1668 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1669 done
1670 ac_signal=0
1671
1672 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1673 rm -f -r conftest* confdefs.h
1674
1675 $as_echo "/* confdefs.h */" > confdefs.h
1676
1677 # Predefined preprocessor variables.
1678
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 _ACEOF
1682
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1685 _ACEOF
1686
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1689 _ACEOF
1690
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_STRING "$PACKAGE_STRING"
1693 _ACEOF
1694
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1697 _ACEOF
1698
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_URL "$PACKAGE_URL"
1701 _ACEOF
1702
1703
1704 # Let the site file select an alternate cache file if it wants to.
1705 # Prefer an explicitly selected file to automatically selected ones.
1706 ac_site_file1=NONE
1707 ac_site_file2=NONE
1708 if test -n "$CONFIG_SITE"; then
1709 # We do not want a PATH search for config.site.
1710 case $CONFIG_SITE in #((
1711 -*) ac_site_file1=./$CONFIG_SITE;;
1712 */*) ac_site_file1=$CONFIG_SITE;;
1713 *) ac_site_file1=./$CONFIG_SITE;;
1714 esac
1715 elif test "x$prefix" != xNONE; then
1716 ac_site_file1=$prefix/share/config.site
1717 ac_site_file2=$prefix/etc/config.site
1718 else
1719 ac_site_file1=$ac_default_prefix/share/config.site
1720 ac_site_file2=$ac_default_prefix/etc/config.site
1721 fi
1722 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1723 do
1724 test "x$ac_site_file" = xNONE && continue
1725 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1727 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1728 sed 's/^/| /' "$ac_site_file" >&5
1729 . "$ac_site_file" \
1730 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1732 as_fn_error $? "failed to load site script $ac_site_file
1733 See \`config.log' for more details" "$LINENO" 5; }
1734 fi
1735 done
1736
1737 if test -r "$cache_file"; then
1738 # Some versions of bash will fail to source /dev/null (special files
1739 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1740 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1742 $as_echo "$as_me: loading cache $cache_file" >&6;}
1743 case $cache_file in
1744 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1745 *) . "./$cache_file";;
1746 esac
1747 fi
1748 else
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1750 $as_echo "$as_me: creating cache $cache_file" >&6;}
1751 >$cache_file
1752 fi
1753
1754 # Check that the precious variables saved in the cache have kept the same
1755 # value.
1756 ac_cache_corrupted=false
1757 for ac_var in $ac_precious_vars; do
1758 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1759 eval ac_new_set=\$ac_env_${ac_var}_set
1760 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1761 eval ac_new_val=\$ac_env_${ac_var}_value
1762 case $ac_old_set,$ac_new_set in
1763 set,)
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1765 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1766 ac_cache_corrupted=: ;;
1767 ,set)
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1769 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1770 ac_cache_corrupted=: ;;
1771 ,);;
1772 *)
1773 if test "x$ac_old_val" != "x$ac_new_val"; then
1774 # differences in whitespace do not lead to failure.
1775 ac_old_val_w=`echo x $ac_old_val`
1776 ac_new_val_w=`echo x $ac_new_val`
1777 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1779 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1780 ac_cache_corrupted=:
1781 else
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1783 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1784 eval $ac_var=\$ac_old_val
1785 fi
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1787 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1789 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1790 fi;;
1791 esac
1792 # Pass precious variables to config.status.
1793 if test "$ac_new_set" = set; then
1794 case $ac_new_val in
1795 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1796 *) ac_arg=$ac_var=$ac_new_val ;;
1797 esac
1798 case " $ac_configure_args " in
1799 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1800 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1801 esac
1802 fi
1803 done
1804 if $ac_cache_corrupted; then
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1808 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1809 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1810 fi
1811 ## -------------------- ##
1812 ## Main body of script. ##
1813 ## -------------------- ##
1814
1815 ac_ext=c
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1820
1821
1822
1823 # Nathan's Common Config -*- mode:autoconf -*-
1824 # Copyright (C) 2020 Nathan Sidwell, nathan@acm.org
1825 # License: Apache v2.0
1826
1827 # Note: VAR+=... is not dashing, despite its looks
1828
1829
1830
1831 # thanks to Zack Weinberg for fixing this!
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863 ac_aux_dir=
1864 for ac_dir in build-aux "$srcdir"/build-aux; do
1865 if test -f "$ac_dir/install-sh"; then
1866 ac_aux_dir=$ac_dir
1867 ac_install_sh="$ac_aux_dir/install-sh -c"
1868 break
1869 elif test -f "$ac_dir/install.sh"; then
1870 ac_aux_dir=$ac_dir
1871 ac_install_sh="$ac_aux_dir/install.sh -c"
1872 break
1873 elif test -f "$ac_dir/shtool"; then
1874 ac_aux_dir=$ac_dir
1875 ac_install_sh="$ac_aux_dir/shtool install -c"
1876 break
1877 fi
1878 done
1879 if test -z "$ac_aux_dir"; then
1880 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1881 fi
1882
1883 # These three variables are undocumented and unsupported,
1884 # and are intended to be withdrawn in a future Autoconf release.
1885 # They can cause serious problems if a builder's source tree is in a directory
1886 # whose full name contains unusual characters.
1887 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1888 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1889 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1890
1891
1892
1893
1894 if test -e configure ; then
1895 as_fn_error $? "Do not build in the source tree. Reasons" "$LINENO" 5
1896 fi
1897 # Make sure we can run config.sub.
1898 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1899 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1900
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1902 $as_echo_n "checking build system type... " >&6; }
1903 if ${ac_cv_build+:} false; then :
1904 $as_echo_n "(cached) " >&6
1905 else
1906 ac_build_alias=$build_alias
1907 test "x$ac_build_alias" = x &&
1908 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1909 test "x$ac_build_alias" = x &&
1910 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1911 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1912 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1913
1914 fi
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1916 $as_echo "$ac_cv_build" >&6; }
1917 case $ac_cv_build in
1918 *-*-*) ;;
1919 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1920 esac
1921 build=$ac_cv_build
1922 ac_save_IFS=$IFS; IFS='-'
1923 set x $ac_cv_build
1924 shift
1925 build_cpu=$1
1926 build_vendor=$2
1927 shift; shift
1928 # Remember, the first character of IFS is used to create $*,
1929 # except with old shells:
1930 build_os=$*
1931 IFS=$ac_save_IFS
1932 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1933
1934
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1936 $as_echo_n "checking host system type... " >&6; }
1937 if ${ac_cv_host+:} false; then :
1938 $as_echo_n "(cached) " >&6
1939 else
1940 if test "x$host_alias" = x; then
1941 ac_cv_host=$ac_cv_build
1942 else
1943 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1944 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1945 fi
1946
1947 fi
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1949 $as_echo "$ac_cv_host" >&6; }
1950 case $ac_cv_host in
1951 *-*-*) ;;
1952 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1953 esac
1954 host=$ac_cv_host
1955 ac_save_IFS=$IFS; IFS='-'
1956 set x $ac_cv_host
1957 shift
1958 host_cpu=$1
1959 host_vendor=$2
1960 shift; shift
1961 # Remember, the first character of IFS is used to create $*,
1962 # except with old shells:
1963 host_os=$*
1964 IFS=$ac_save_IFS
1965 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1966
1967
1968
1969
1970
1971 # Check whether --with-tools was given.
1972 if test "${with_tools+set}" = set; then :
1973 withval=$with_tools; case $withval in #(
1974 yes) :
1975 as_fn_error $? "--with-tools requires an argument" "$LINENO" 5 ;; #(
1976 no) :
1977 : ;; #(
1978 *) :
1979 tools="${withval%/bin}" ;;
1980 esac
1981 fi
1982
1983
1984 if test -n "$tools" ; then
1985 if test -d "$tools/bin"; then
1986 PATH="$tools/bin:$PATH"
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: Using tools in $tools" >&5
1988 $as_echo "$as_me: Using tools in $tools" >&6;}
1989 else
1990 as_fn_error $? "tool location does not exist" "$LINENO" 5
1991 fi
1992 fi
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of CPUs" >&5
1994 $as_echo_n "checking number of CPUs... " >&6; }
1995 case $build in #(
1996 *-*-darwin*) :
1997 NUM_CPUS=$(sysctl -n hw.ncpu 2>/dev/null) ;; #(
1998 *) :
1999 NUM_CPUS=$(grep -c '^processor' /proc/cpuinfo 2>/dev/null) ;;
2000 esac
2001 test "$NUM_CPUS" = 0 && NUM_CPUS=
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${NUM_CPUS:-unknown}" >&5
2003 $as_echo "${NUM_CPUS:-unknown}" >&6; }
2004 test "$NUM_CPUS" = 1 && NUM_CPUS=
2005
2006 # Check whether --enable-maintainer-mode was given.
2007 if test "${enable_maintainer_mode+set}" = set; then :
2008 enableval=$enable_maintainer_mode;
2009 else
2010 enable_maintainer_mode=no
2011 fi
2012
2013 case $enable_maintainer_mode in #(
2014 yes) :
2015 maintainer_mode=yes ;; #(
2016 no) :
2017 maintainer=no ;; #(
2018 *) :
2019 as_fn_error $? "unknown maintainer mode $enable_maintainer_mode" "$LINENO" 5 ;;
2020 esac
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking maintainer-mode" >&5
2022 $as_echo_n "checking maintainer-mode... " >&6; }
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $maintainer_mode" >&5
2024 $as_echo "$maintainer_mode" >&6; }
2025 test "$maintainer_mode" = yes && MAINTAINER=yes
2026
2027
2028 # Check whether --with-compiler was given.
2029 if test "${with_compiler+set}" = set; then :
2030 withval=$with_compiler; { $as_echo "$as_me:${as_lineno-$LINENO}: checking C++ compiler" >&5
2031 $as_echo_n "checking C++ compiler... " >&6; }
2032 if test "$withval" = "yes" ; then
2033 as_fn_error $? "NAME not specified" "$LINENO" 5
2034 elif test "$withval" = "no" ; then
2035 as_fn_error $? "Gonna need a C++ compiler!" "$LINENO" 5
2036 else
2037 CXX="${withval}"
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2039 $as_echo "$CXX" >&6; }
2040 fi
2041 fi
2042
2043 ac_ext=cpp
2044 ac_cpp='$CXXCPP $CPPFLAGS'
2045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2048
2049 ac_ext=cpp
2050 ac_cpp='$CXXCPP $CPPFLAGS'
2051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2054 if test -z "$CXX"; then
2055 if test -n "$CCC"; then
2056 CXX=$CCC
2057 else
2058 if test -n "$ac_tool_prefix"; then
2059 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2060 do
2061 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2062 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2064 $as_echo_n "checking for $ac_word... " >&6; }
2065 if ${ac_cv_prog_CXX+:} false; then :
2066 $as_echo_n "(cached) " >&6
2067 else
2068 if test -n "$CXX"; then
2069 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2073 do
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2081 fi
2082 done
2083 done
2084 IFS=$as_save_IFS
2085
2086 fi
2087 fi
2088 CXX=$ac_cv_prog_CXX
2089 if test -n "$CXX"; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2091 $as_echo "$CXX" >&6; }
2092 else
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2094 $as_echo "no" >&6; }
2095 fi
2096
2097
2098 test -n "$CXX" && break
2099 done
2100 fi
2101 if test -z "$CXX"; then
2102 ac_ct_CXX=$CXX
2103 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2104 do
2105 # Extract the first word of "$ac_prog", so it can be a program name with args.
2106 set dummy $ac_prog; ac_word=$2
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2108 $as_echo_n "checking for $ac_word... " >&6; }
2109 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2110 $as_echo_n "(cached) " >&6
2111 else
2112 if test -n "$ac_ct_CXX"; then
2113 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2114 else
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 for as_dir in $PATH
2117 do
2118 IFS=$as_save_IFS
2119 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122 ac_cv_prog_ac_ct_CXX="$ac_prog"
2123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 break 2
2125 fi
2126 done
2127 done
2128 IFS=$as_save_IFS
2129
2130 fi
2131 fi
2132 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2133 if test -n "$ac_ct_CXX"; then
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2135 $as_echo "$ac_ct_CXX" >&6; }
2136 else
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2138 $as_echo "no" >&6; }
2139 fi
2140
2141
2142 test -n "$ac_ct_CXX" && break
2143 done
2144
2145 if test "x$ac_ct_CXX" = x; then
2146 CXX="g++"
2147 else
2148 case $cross_compiling:$ac_tool_warned in
2149 yes:)
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2152 ac_tool_warned=yes ;;
2153 esac
2154 CXX=$ac_ct_CXX
2155 fi
2156 fi
2157
2158 fi
2159 fi
2160 # Provide some information about the compiler.
2161 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2162 set X $ac_compile
2163 ac_compiler=$2
2164 for ac_option in --version -v -V -qversion; do
2165 { { ac_try="$ac_compiler $ac_option >&5"
2166 case "(($ac_try" in
2167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2168 *) ac_try_echo=$ac_try;;
2169 esac
2170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2171 $as_echo "$ac_try_echo"; } >&5
2172 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2173 ac_status=$?
2174 if test -s conftest.err; then
2175 sed '10a\
2176 ... rest of stderr output deleted ...
2177 10q' conftest.err >conftest.er1
2178 cat conftest.er1 >&5
2179 fi
2180 rm -f conftest.er1 conftest.err
2181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2182 test $ac_status = 0; }
2183 done
2184
2185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2187
2188 int
2189 main ()
2190 {
2191
2192 ;
2193 return 0;
2194 }
2195 _ACEOF
2196 ac_clean_files_save=$ac_clean_files
2197 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2198 # Try to create an executable without -o first, disregard a.out.
2199 # It will help us diagnose broken compilers, and finding out an intuition
2200 # of exeext.
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2202 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2203 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2204
2205 # The possible output files:
2206 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2207
2208 ac_rmfiles=
2209 for ac_file in $ac_files
2210 do
2211 case $ac_file in
2212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2213 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2214 esac
2215 done
2216 rm -f $ac_rmfiles
2217
2218 if { { ac_try="$ac_link_default"
2219 case "(($ac_try" in
2220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2221 *) ac_try_echo=$ac_try;;
2222 esac
2223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2224 $as_echo "$ac_try_echo"; } >&5
2225 (eval "$ac_link_default") 2>&5
2226 ac_status=$?
2227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2228 test $ac_status = 0; }; then :
2229 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2230 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2231 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2232 # so that the user can short-circuit this test for compilers unknown to
2233 # Autoconf.
2234 for ac_file in $ac_files ''
2235 do
2236 test -f "$ac_file" || continue
2237 case $ac_file in
2238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2239 ;;
2240 [ab].out )
2241 # We found the default executable, but exeext='' is most
2242 # certainly right.
2243 break;;
2244 *.* )
2245 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2246 then :; else
2247 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2248 fi
2249 # We set ac_cv_exeext here because the later test for it is not
2250 # safe: cross compilers may not add the suffix if given an `-o'
2251 # argument, so we may need to know it at that point already.
2252 # Even if this section looks crufty: it has the advantage of
2253 # actually working.
2254 break;;
2255 * )
2256 break;;
2257 esac
2258 done
2259 test "$ac_cv_exeext" = no && ac_cv_exeext=
2260
2261 else
2262 ac_file=''
2263 fi
2264 if test -z "$ac_file"; then :
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2266 $as_echo "no" >&6; }
2267 $as_echo "$as_me: failed program was:" >&5
2268 sed 's/^/| /' conftest.$ac_ext >&5
2269
2270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2272 as_fn_error 77 "C++ compiler cannot create executables
2273 See \`config.log' for more details" "$LINENO" 5; }
2274 else
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2276 $as_echo "yes" >&6; }
2277 fi
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2279 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2281 $as_echo "$ac_file" >&6; }
2282 ac_exeext=$ac_cv_exeext
2283
2284 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2285 ac_clean_files=$ac_clean_files_save
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2287 $as_echo_n "checking for suffix of executables... " >&6; }
2288 if { { ac_try="$ac_link"
2289 case "(($ac_try" in
2290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291 *) ac_try_echo=$ac_try;;
2292 esac
2293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2294 $as_echo "$ac_try_echo"; } >&5
2295 (eval "$ac_link") 2>&5
2296 ac_status=$?
2297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2298 test $ac_status = 0; }; then :
2299 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2300 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2301 # work properly (i.e., refer to `conftest.exe'), while it won't with
2302 # `rm'.
2303 for ac_file in conftest.exe conftest conftest.*; do
2304 test -f "$ac_file" || continue
2305 case $ac_file in
2306 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2307 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2308 break;;
2309 * ) break;;
2310 esac
2311 done
2312 else
2313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2315 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2316 See \`config.log' for more details" "$LINENO" 5; }
2317 fi
2318 rm -f conftest conftest$ac_cv_exeext
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2320 $as_echo "$ac_cv_exeext" >&6; }
2321
2322 rm -f conftest.$ac_ext
2323 EXEEXT=$ac_cv_exeext
2324 ac_exeext=$EXEEXT
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2327 #include <stdio.h>
2328 int
2329 main ()
2330 {
2331 FILE *f = fopen ("conftest.out", "w");
2332 return ferror (f) || fclose (f) != 0;
2333
2334 ;
2335 return 0;
2336 }
2337 _ACEOF
2338 ac_clean_files="$ac_clean_files conftest.out"
2339 # Check that the compiler produces executables we can run. If not, either
2340 # the compiler is broken, or we cross compile.
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2342 $as_echo_n "checking whether we are cross compiling... " >&6; }
2343 if test "$cross_compiling" != yes; then
2344 { { ac_try="$ac_link"
2345 case "(($ac_try" in
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2348 esac
2349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350 $as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_link") 2>&5
2352 ac_status=$?
2353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2354 test $ac_status = 0; }
2355 if { ac_try='./conftest$ac_cv_exeext'
2356 { { case "(($ac_try" in
2357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2358 *) ac_try_echo=$ac_try;;
2359 esac
2360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2361 $as_echo "$ac_try_echo"; } >&5
2362 (eval "$ac_try") 2>&5
2363 ac_status=$?
2364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365 test $ac_status = 0; }; }; then
2366 cross_compiling=no
2367 else
2368 if test "$cross_compiling" = maybe; then
2369 cross_compiling=yes
2370 else
2371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373 as_fn_error $? "cannot run C++ compiled programs.
2374 If you meant to cross compile, use \`--host'.
2375 See \`config.log' for more details" "$LINENO" 5; }
2376 fi
2377 fi
2378 fi
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2380 $as_echo "$cross_compiling" >&6; }
2381
2382 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2383 ac_clean_files=$ac_clean_files_save
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2385 $as_echo_n "checking for suffix of object files... " >&6; }
2386 if ${ac_cv_objext+:} false; then :
2387 $as_echo_n "(cached) " >&6
2388 else
2389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2390 /* end confdefs.h. */
2391
2392 int
2393 main ()
2394 {
2395
2396 ;
2397 return 0;
2398 }
2399 _ACEOF
2400 rm -f conftest.o conftest.obj
2401 if { { ac_try="$ac_compile"
2402 case "(($ac_try" in
2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2405 esac
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_compile") 2>&5
2409 ac_status=$?
2410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2411 test $ac_status = 0; }; then :
2412 for ac_file in conftest.o conftest.obj conftest.*; do
2413 test -f "$ac_file" || continue;
2414 case $ac_file in
2415 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2416 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2417 break;;
2418 esac
2419 done
2420 else
2421 $as_echo "$as_me: failed program was:" >&5
2422 sed 's/^/| /' conftest.$ac_ext >&5
2423
2424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2426 as_fn_error $? "cannot compute suffix of object files: cannot compile
2427 See \`config.log' for more details" "$LINENO" 5; }
2428 fi
2429 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2430 fi
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2432 $as_echo "$ac_cv_objext" >&6; }
2433 OBJEXT=$ac_cv_objext
2434 ac_objext=$OBJEXT
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2436 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2437 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2441 /* end confdefs.h. */
2442
2443 int
2444 main ()
2445 {
2446 #ifndef __GNUC__
2447 choke me
2448 #endif
2449
2450 ;
2451 return 0;
2452 }
2453 _ACEOF
2454 if ac_fn_cxx_try_compile "$LINENO"; then :
2455 ac_compiler_gnu=yes
2456 else
2457 ac_compiler_gnu=no
2458 fi
2459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2461
2462 fi
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2464 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2465 if test $ac_compiler_gnu = yes; then
2466 GXX=yes
2467 else
2468 GXX=
2469 fi
2470 ac_test_CXXFLAGS=${CXXFLAGS+set}
2471 ac_save_CXXFLAGS=$CXXFLAGS
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2473 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2474 if ${ac_cv_prog_cxx_g+:} false; then :
2475 $as_echo_n "(cached) " >&6
2476 else
2477 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2478 ac_cxx_werror_flag=yes
2479 ac_cv_prog_cxx_g=no
2480 CXXFLAGS="-g"
2481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2482 /* end confdefs.h. */
2483
2484 int
2485 main ()
2486 {
2487
2488 ;
2489 return 0;
2490 }
2491 _ACEOF
2492 if ac_fn_cxx_try_compile "$LINENO"; then :
2493 ac_cv_prog_cxx_g=yes
2494 else
2495 CXXFLAGS=""
2496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2498
2499 int
2500 main ()
2501 {
2502
2503 ;
2504 return 0;
2505 }
2506 _ACEOF
2507 if ac_fn_cxx_try_compile "$LINENO"; then :
2508
2509 else
2510 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2511 CXXFLAGS="-g"
2512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2513 /* end confdefs.h. */
2514
2515 int
2516 main ()
2517 {
2518
2519 ;
2520 return 0;
2521 }
2522 _ACEOF
2523 if ac_fn_cxx_try_compile "$LINENO"; then :
2524 ac_cv_prog_cxx_g=yes
2525 fi
2526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2527 fi
2528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2529 fi
2530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2531 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2532 fi
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2534 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2535 if test "$ac_test_CXXFLAGS" = set; then
2536 CXXFLAGS=$ac_save_CXXFLAGS
2537 elif test $ac_cv_prog_cxx_g = yes; then
2538 if test "$GXX" = yes; then
2539 CXXFLAGS="-g -O2"
2540 else
2541 CXXFLAGS="-g"
2542 fi
2543 else
2544 if test "$GXX" = yes; then
2545 CXXFLAGS="-O2"
2546 else
2547 CXXFLAGS=
2548 fi
2549 fi
2550 ac_ext=cpp
2551 ac_cpp='$CXXCPP $CPPFLAGS'
2552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2555
2556
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX is for C++11" >&5
2558 $as_echo_n "checking whether $CXX is for C++11... " >&6; }
2559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2560 /* end confdefs.h. */
2561
2562 #if __cplusplus != 201103
2563 #error "C++11 is required"
2564 #endif
2565
2566 int
2567 main ()
2568 {
2569
2570 ;
2571 return 0;
2572 }
2573 _ACEOF
2574 if ac_fn_cxx_try_compile "$LINENO"; then :
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2576 $as_echo "yes" >&6; }
2577 else
2578 CXX_ORIG="$CXX"
2579 CXX="$CXX -std=c++11"
2580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2581 /* end confdefs.h. */
2582
2583 #if __cplusplus != 201103
2584 #error "C++11 is required"
2585 #endif
2586
2587 int
2588 main ()
2589 {
2590
2591 ;
2592 return 0;
2593 }
2594 _ACEOF
2595 if ac_fn_cxx_try_compile "$LINENO"; then :
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: adding -std=c++11" >&5
2597 $as_echo "adding -std=c++11" >&6; }
2598 else
2599 CXX="$CXX_ORIG"
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2602
2603 #if __cplusplus > 201103
2604 #error "C++11 is required"
2605 #endif
2606
2607 int
2608 main ()
2609 {
2610
2611 ;
2612 return 0;
2613 }
2614 _ACEOF
2615 if ac_fn_cxx_try_compile "$LINENO"; then :
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: > C++11" >&5
2617 $as_echo "> C++11" >&6; }
2618 else
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620 $as_echo "no" >&6; }
2621 as_fn_error $? "C++11 is required" "$LINENO" 5
2622 fi
2623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2624 fi
2625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2626 unset CXX_ORIG
2627 fi
2628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2629 if test "$tools" && test -d "$tools/include" ; then
2630 CXX="$CXX -I$tools/include"
2631 fi
2632 if test "$tools" && test -d "$tools/lib" ; then
2633 toollib="$tools/lib"
2634 if os=$(CXX -print-multi-os-directory 2>/dev/null) ; then
2635 toollib="$toollib/${os}"
2636 fi
2637 LDFLAGS="$LDFLAGS -L $toollib"
2638 unset toollib
2639 fi
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking adding -Wl,--no-undefined to linker" >&5
2641 $as_echo_n "checking adding -Wl,--no-undefined to linker... " >&6; }
2642 ORIG_LDFLAGS="$LDFLAGS"
2643 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
2644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2645 /* end confdefs.h. */
2646
2647 int
2648 main ()
2649 {
2650
2651 ;
2652 return 0;
2653 }
2654 _ACEOF
2655 if ac_fn_cxx_try_link "$LINENO"; then :
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2657 $as_echo "ok" >&6; }
2658 else
2659 LDFLAGS="$ORIG_LDFLAGS"
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661 $as_echo "no" >&6; }
2662 fi
2663 rm -f core conftest.err conftest.$ac_objext \
2664 conftest$ac_exeext conftest.$ac_ext
2665 unset ORIG_LDFLAGS
2666 CONFIG_FILES="Makefile gdbinit dox.cfg"
2667 SUBDIRS=""
2668 for generated in config.h.in configure ; do
2669 if test $srcdir/configure.ac -nt $srcdir/$generated ; then
2670 touch $srcdir/$generated
2671 fi
2672 done
2673 for dir in . $SUBDIRS
2674 do
2675 CONFIG_FILES="$CONFIG_FILES $dir/Makesub"
2676 test -f ${srcdir}/$dir/tests/Makesub.in && CONFIG_FILES="$CONFIG_FILES $dir/tests/Makesub"
2677 done
2678 ac_config_files="$ac_config_files $CONFIG_FILES"
2679
2680 configure_args=$ac_configure_args
2681
2682
2683
2684
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bugurl" >&5
2686 $as_echo_n "checking bugurl... " >&6; }
2687
2688 # Check whether --with-bugurl was given.
2689 if test "${with_bugurl+set}" = set; then :
2690 withval=$with_bugurl; case "$withval" in #(
2691 yes) :
2692 as_fn_error $? "--with-bugurl requires an argument" "$LINENO" 5 ;; #(
2693 no) :
2694 BUGURL="" ;; #(
2695 *) :
2696 BUGURL="${withval}" ;;
2697 esac
2698 else
2699 BUGURL="${PACKAGE_BUGREPORT}"
2700 fi
2701
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUGURL" >&5
2703 $as_echo "$BUGURL" >&6; }
2704
2705 cat >>confdefs.h <<_ACEOF
2706 #define BUGURL "$BUGURL"
2707 _ACEOF
2708
2709 # Check whether --enable-checking was given.
2710 if test "${enable_checking+set}" = set; then :
2711 enableval=$enable_checking;
2712 else
2713 enable_checking="yes"
2714 fi
2715
2716 case $enable_checking in #(
2717 yes|all|yes,*) :
2718 nms_checking=yes ;; #(
2719 no|none|release) :
2720 nms_checking= ;; #(
2721 *) :
2722 as_fn_error $? "unknown check \"$enable_checking\"" "$LINENO" 5 ;;
2723 esac
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking" >&5
2725 $as_echo_n "checking checking... " >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nms_checking:-no}" >&5
2727 $as_echo "${nms_checking:-no}" >&6; }
2728 if test "$nms_checking" = yes ; then
2729
2730 cat >>confdefs.h <<_ACEOF
2731 #define NMS_CHECKING 0${nms_checking:+1}
2732 _ACEOF
2733
2734 fi
2735 # Check whether --enable-exceptions was given.
2736 if test "${enable_exceptions+set}" = set; then :
2737 enableval=$enable_exceptions;
2738 else
2739 enable_exceptions="no"
2740 fi
2741
2742 case $enable_exceptions in #(
2743 yes) :
2744 nms_exceptions=yes ;; #(
2745 no) :
2746 nms_exceptions=no ;; #(
2747 *) :
2748 as_fn_error $? "unknown exceptions $enable_exceptions" "$LINENO" 5 ;;
2749 esac
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking exceptions" >&5
2751 $as_echo_n "checking exceptions... " >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nms_exceptions" >&5
2753 $as_echo "$nms_exceptions" >&6; }
2754 if test "$nms_exceptions" != no ; then
2755 EXCEPTIONS=yes
2756 fi
2757
2758
2759 ac_config_headers="$ac_config_headers config.h"
2760
2761 if test -n "$ac_tool_prefix"; then
2762 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2763 set dummy ${ac_tool_prefix}ar; ac_word=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if ${ac_cv_prog_AR+:} false; then :
2767 $as_echo_n "(cached) " >&6
2768 else
2769 if test -n "$AR"; then
2770 ac_cv_prog_AR="$AR" # Let the user override the test.
2771 else
2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 for as_dir in $PATH
2774 do
2775 IFS=$as_save_IFS
2776 test -z "$as_dir" && as_dir=.
2777 for ac_exec_ext in '' $ac_executable_extensions; do
2778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2779 ac_cv_prog_AR="${ac_tool_prefix}ar"
2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 break 2
2782 fi
2783 done
2784 done
2785 IFS=$as_save_IFS
2786
2787 fi
2788 fi
2789 AR=$ac_cv_prog_AR
2790 if test -n "$AR"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2792 $as_echo "$AR" >&6; }
2793 else
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2796 fi
2797
2798
2799 fi
2800 if test -z "$ac_cv_prog_AR"; then
2801 ac_ct_AR=$AR
2802 # Extract the first word of "ar", so it can be a program name with args.
2803 set dummy ar; ac_word=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2807 $as_echo_n "(cached) " >&6
2808 else
2809 if test -n "$ac_ct_AR"; then
2810 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2811 else
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 for as_dir in $PATH
2814 do
2815 IFS=$as_save_IFS
2816 test -z "$as_dir" && as_dir=.
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2819 ac_cv_prog_ac_ct_AR="ar"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 break 2
2822 fi
2823 done
2824 done
2825 IFS=$as_save_IFS
2826
2827 fi
2828 fi
2829 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2830 if test -n "$ac_ct_AR"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2832 $as_echo "$ac_ct_AR" >&6; }
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2836 fi
2837
2838 if test "x$ac_ct_AR" = x; then
2839 AR=""
2840 else
2841 case $cross_compiling:$ac_tool_warned in
2842 yes:)
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2845 ac_tool_warned=yes ;;
2846 esac
2847 AR=$ac_ct_AR
2848 fi
2849 else
2850 AR="$ac_cv_prog_AR"
2851 fi
2852
2853 # Extract the first word of "doxygen", so it can be a program name with args.
2854 set dummy doxygen; ac_word=$2
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2856 $as_echo_n "checking for $ac_word... " >&6; }
2857 if ${ac_cv_prog_DOXYGEN+:} false; then :
2858 $as_echo_n "(cached) " >&6
2859 else
2860 if test -n "$DOXYGEN"; then
2861 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
2862 else
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 for as_dir in $PATH
2865 do
2866 IFS=$as_save_IFS
2867 test -z "$as_dir" && as_dir=.
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2870 ac_cv_prog_DOXYGEN="doxygen"
2871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 break 2
2873 fi
2874 done
2875 done
2876 IFS=$as_save_IFS
2877
2878 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=": NOTdoxygen"
2879 fi
2880 fi
2881 DOXYGEN=$ac_cv_prog_DOXYGEN
2882 if test -n "$DOXYGEN"; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
2884 $as_echo "$DOXYGEN" >&6; }
2885 else
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2887 $as_echo "no" >&6; }
2888 fi
2889
2890
2891 # Extract the first word of "aloy", so it can be a program name with args.
2892 set dummy aloy; ac_word=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if ${ac_cv_prog_ALOY+:} false; then :
2896 $as_echo_n "(cached) " >&6
2897 else
2898 if test -n "$ALOY"; then
2899 ac_cv_prog_ALOY="$ALOY" # Let the user override the test.
2900 else
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902 for as_dir in $PATH
2903 do
2904 IFS=$as_save_IFS
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908 ac_cv_prog_ALOY="aloy"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 break 2
2911 fi
2912 done
2913 done
2914 IFS=$as_save_IFS
2915
2916 test -z "$ac_cv_prog_ALOY" && ac_cv_prog_ALOY=": Joust testsuite missing"
2917 fi
2918 fi
2919 ALOY=$ac_cv_prog_ALOY
2920 if test -n "$ALOY"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALOY" >&5
2922 $as_echo "$ALOY" >&6; }
2923 else
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2926 fi
2927
2928
2929
2930
2931
2932 cat >confcache <<\_ACEOF
2933 # This file is a shell script that caches the results of configure
2934 # tests run on this system so they can be shared between configure
2935 # scripts and configure runs, see configure's option --config-cache.
2936 # It is not useful on other systems. If it contains results you don't
2937 # want to keep, you may remove or edit it.
2938 #
2939 # config.status only pays attention to the cache file if you give it
2940 # the --recheck option to rerun configure.
2941 #
2942 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2944 # following values.
2945
2946 _ACEOF
2947
2948 # The following way of writing the cache mishandles newlines in values,
2949 # but we know of no workaround that is simple, portable, and efficient.
2950 # So, we kill variables containing newlines.
2951 # Ultrix sh set writes to stderr and can't be redirected directly,
2952 # and sets the high bit in the cache file unless we assign to the vars.
2953 (
2954 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2955 eval ac_val=\$$ac_var
2956 case $ac_val in #(
2957 *${as_nl}*)
2958 case $ac_var in #(
2959 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2960 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2961 esac
2962 case $ac_var in #(
2963 _ | IFS | as_nl) ;; #(
2964 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2965 *) { eval $ac_var=; unset $ac_var;} ;;
2966 esac ;;
2967 esac
2968 done
2969
2970 (set) 2>&1 |
2971 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2972 *${as_nl}ac_space=\ *)
2973 # `set' does not quote correctly, so add quotes: double-quote
2974 # substitution turns \\\\ into \\, and sed turns \\ into \.
2975 sed -n \
2976 "s/'/'\\\\''/g;
2977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2978 ;; #(
2979 *)
2980 # `set' quotes correctly as required by POSIX, so do not add quotes.
2981 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2982 ;;
2983 esac |
2984 sort
2985 ) |
2986 sed '
2987 /^ac_cv_env_/b end
2988 t clear
2989 :clear
2990 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2991 t end
2992 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2993 :end' >>confcache
2994 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2995 if test -w "$cache_file"; then
2996 if test "x$cache_file" != "x/dev/null"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2998 $as_echo "$as_me: updating cache $cache_file" >&6;}
2999 if test ! -f "$cache_file" || test -h "$cache_file"; then
3000 cat confcache >"$cache_file"
3001 else
3002 case $cache_file in #(
3003 */* | ?:*)
3004 mv -f confcache "$cache_file"$$ &&
3005 mv -f "$cache_file"$$ "$cache_file" ;; #(
3006 *)
3007 mv -f confcache "$cache_file" ;;
3008 esac
3009 fi
3010 fi
3011 else
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3013 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3014 fi
3015 fi
3016 rm -f confcache
3017
3018 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3019 # Let make expand exec_prefix.
3020 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3021
3022 DEFS=-DHAVE_CONFIG_H
3023
3024 ac_libobjs=
3025 ac_ltlibobjs=
3026 U=
3027 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3028 # 1. Remove the extension, and $U if already installed.
3029 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3030 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3031 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3032 # will be set to the directory where LIBOBJS objects are built.
3033 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3034 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3035 done
3036 LIBOBJS=$ac_libobjs
3037
3038 LTLIBOBJS=$ac_ltlibobjs
3039
3040
3041
3042 : "${CONFIG_STATUS=./config.status}"
3043 ac_write_fail=0
3044 ac_clean_files_save=$ac_clean_files
3045 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3047 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3048 as_write_fail=0
3049 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3050 #! $SHELL
3051 # Generated by $as_me.
3052 # Run this file to recreate the current configuration.
3053 # Compiler output produced by configure, useful for debugging
3054 # configure, is in config.log if it exists.
3055
3056 debug=false
3057 ac_cs_recheck=false
3058 ac_cs_silent=false
3059
3060 SHELL=\${CONFIG_SHELL-$SHELL}
3061 export SHELL
3062 _ASEOF
3063 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3064 ## -------------------- ##
3065 ## M4sh Initialization. ##
3066 ## -------------------- ##
3067
3068 # Be more Bourne compatible
3069 DUALCASE=1; export DUALCASE # for MKS sh
3070 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3071 emulate sh
3072 NULLCMD=:
3073 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3074 # is contrary to our usage. Disable this feature.
3075 alias -g '${1+"$@"}'='"$@"'
3076 setopt NO_GLOB_SUBST
3077 else
3078 case `(set -o) 2>/dev/null` in #(
3079 *posix*) :
3080 set -o posix ;; #(
3081 *) :
3082 ;;
3083 esac
3084 fi
3085
3086
3087 as_nl='
3088 '
3089 export as_nl
3090 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3091 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3092 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3093 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3094 # Prefer a ksh shell builtin over an external printf program on Solaris,
3095 # but without wasting forks for bash or zsh.
3096 if test -z "$BASH_VERSION$ZSH_VERSION" \
3097 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3098 as_echo='print -r --'
3099 as_echo_n='print -rn --'
3100 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3101 as_echo='printf %s\n'
3102 as_echo_n='printf %s'
3103 else
3104 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3105 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3106 as_echo_n='/usr/ucb/echo -n'
3107 else
3108 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3109 as_echo_n_body='eval
3110 arg=$1;
3111 case $arg in #(
3112 *"$as_nl"*)
3113 expr "X$arg" : "X\\(.*\\)$as_nl";
3114 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3115 esac;
3116 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3117 '
3118 export as_echo_n_body
3119 as_echo_n='sh -c $as_echo_n_body as_echo'
3120 fi
3121 export as_echo_body
3122 as_echo='sh -c $as_echo_body as_echo'
3123 fi
3124
3125 # The user is always right.
3126 if test "${PATH_SEPARATOR+set}" != set; then
3127 PATH_SEPARATOR=:
3128 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3129 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3130 PATH_SEPARATOR=';'
3131 }
3132 fi
3133
3134
3135 # IFS
3136 # We need space, tab and new line, in precisely that order. Quoting is
3137 # there to prevent editors from complaining about space-tab.
3138 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3139 # splitting by setting IFS to empty value.)
3140 IFS=" "" $as_nl"
3141
3142 # Find who we are. Look in the path if we contain no directory separator.
3143 as_myself=
3144 case $0 in #((
3145 *[\\/]* ) as_myself=$0 ;;
3146 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 for as_dir in $PATH
3148 do
3149 IFS=$as_save_IFS
3150 test -z "$as_dir" && as_dir=.
3151 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3152 done
3153 IFS=$as_save_IFS
3154
3155 ;;
3156 esac
3157 # We did not find ourselves, most probably we were run as `sh COMMAND'
3158 # in which case we are not to be found in the path.
3159 if test "x$as_myself" = x; then
3160 as_myself=$0
3161 fi
3162 if test ! -f "$as_myself"; then
3163 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3164 exit 1
3165 fi
3166
3167 # Unset variables that we do not need and which cause bugs (e.g. in
3168 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3169 # suppresses any "Segmentation fault" message there. '((' could
3170 # trigger a bug in pdksh 5.2.14.
3171 for as_var in BASH_ENV ENV MAIL MAILPATH
3172 do eval test x\${$as_var+set} = xset \
3173 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3174 done
3175 PS1='$ '
3176 PS2='> '
3177 PS4='+ '
3178
3179 # NLS nuisances.
3180 LC_ALL=C
3181 export LC_ALL
3182 LANGUAGE=C
3183 export LANGUAGE
3184
3185 # CDPATH.
3186 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3187
3188
3189 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3190 # ----------------------------------------
3191 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3192 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3193 # script with STATUS, using 1 if that was 0.
3194 as_fn_error ()
3195 {
3196 as_status=$1; test $as_status -eq 0 && as_status=1
3197 if test "$4"; then
3198 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3199 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3200 fi
3201 $as_echo "$as_me: error: $2" >&2
3202 as_fn_exit $as_status
3203 } # as_fn_error
3204
3205
3206 # as_fn_set_status STATUS
3207 # -----------------------
3208 # Set $? to STATUS, without forking.
3209 as_fn_set_status ()
3210 {
3211 return $1
3212 } # as_fn_set_status
3213
3214 # as_fn_exit STATUS
3215 # -----------------
3216 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3217 as_fn_exit ()
3218 {
3219 set +e
3220 as_fn_set_status $1
3221 exit $1
3222 } # as_fn_exit
3223
3224 # as_fn_unset VAR
3225 # ---------------
3226 # Portably unset VAR.
3227 as_fn_unset ()
3228 {
3229 { eval $1=; unset $1;}
3230 }
3231 as_unset=as_fn_unset
3232 # as_fn_append VAR VALUE
3233 # ----------------------
3234 # Append the text in VALUE to the end of the definition contained in VAR. Take
3235 # advantage of any shell optimizations that allow amortized linear growth over
3236 # repeated appends, instead of the typical quadratic growth present in naive
3237 # implementations.
3238 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3239 eval 'as_fn_append ()
3240 {
3241 eval $1+=\$2
3242 }'
3243 else
3244 as_fn_append ()
3245 {
3246 eval $1=\$$1\$2
3247 }
3248 fi # as_fn_append
3249
3250 # as_fn_arith ARG...
3251 # ------------------
3252 # Perform arithmetic evaluation on the ARGs, and store the result in the
3253 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3254 # must be portable across $(()) and expr.
3255 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3256 eval 'as_fn_arith ()
3257 {
3258 as_val=$(( $* ))
3259 }'
3260 else
3261 as_fn_arith ()
3262 {
3263 as_val=`expr "$@" || test $? -eq 1`
3264 }
3265 fi # as_fn_arith
3266
3267
3268 if expr a : '\(a\)' >/dev/null 2>&1 &&
3269 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3270 as_expr=expr
3271 else
3272 as_expr=false
3273 fi
3274
3275 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3276 as_basename=basename
3277 else
3278 as_basename=false
3279 fi
3280
3281 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3282 as_dirname=dirname
3283 else
3284 as_dirname=false
3285 fi
3286
3287 as_me=`$as_basename -- "$0" ||
3288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3289 X"$0" : 'X\(//\)$' \| \
3290 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3291 $as_echo X/"$0" |
3292 sed '/^.*\/\([^/][^/]*\)\/*$/{
3293 s//\1/
3294 q
3295 }
3296 /^X\/\(\/\/\)$/{
3297 s//\1/
3298 q
3299 }
3300 /^X\/\(\/\).*/{
3301 s//\1/
3302 q
3303 }
3304 s/.*/./; q'`
3305
3306 # Avoid depending upon Character Ranges.
3307 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3308 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3309 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3310 as_cr_digits='0123456789'
3311 as_cr_alnum=$as_cr_Letters$as_cr_digits
3312
3313 ECHO_C= ECHO_N= ECHO_T=
3314 case `echo -n x` in #(((((
3315 -n*)
3316 case `echo 'xy\c'` in
3317 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3318 xy) ECHO_C='\c';;
3319 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3320 ECHO_T=' ';;
3321 esac;;
3322 *)
3323 ECHO_N='-n';;
3324 esac
3325
3326 rm -f conf$$ conf$$.exe conf$$.file
3327 if test -d conf$$.dir; then
3328 rm -f conf$$.dir/conf$$.file
3329 else
3330 rm -f conf$$.dir
3331 mkdir conf$$.dir 2>/dev/null
3332 fi
3333 if (echo >conf$$.file) 2>/dev/null; then
3334 if ln -s conf$$.file conf$$ 2>/dev/null; then
3335 as_ln_s='ln -s'
3336 # ... but there are two gotchas:
3337 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3338 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3339 # In both cases, we have to default to `cp -pR'.
3340 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3341 as_ln_s='cp -pR'
3342 elif ln conf$$.file conf$$ 2>/dev/null; then
3343 as_ln_s=ln
3344 else
3345 as_ln_s='cp -pR'
3346 fi
3347 else
3348 as_ln_s='cp -pR'
3349 fi
3350 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3351 rmdir conf$$.dir 2>/dev/null
3352
3353
3354 # as_fn_mkdir_p
3355 # -------------
3356 # Create "$as_dir" as a directory, including parents if necessary.
3357 as_fn_mkdir_p ()
3358 {
3359
3360 case $as_dir in #(
3361 -*) as_dir=./$as_dir;;
3362 esac
3363 test -d "$as_dir" || eval $as_mkdir_p || {
3364 as_dirs=
3365 while :; do
3366 case $as_dir in #(
3367 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3368 *) as_qdir=$as_dir;;
3369 esac
3370 as_dirs="'$as_qdir' $as_dirs"
3371 as_dir=`$as_dirname -- "$as_dir" ||
3372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3373 X"$as_dir" : 'X\(//\)[^/]' \| \
3374 X"$as_dir" : 'X\(//\)$' \| \
3375 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3376 $as_echo X"$as_dir" |
3377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3378 s//\1/
3379 q
3380 }
3381 /^X\(\/\/\)[^/].*/{
3382 s//\1/
3383 q
3384 }
3385 /^X\(\/\/\)$/{
3386 s//\1/
3387 q
3388 }
3389 /^X\(\/\).*/{
3390 s//\1/
3391 q
3392 }
3393 s/.*/./; q'`
3394 test -d "$as_dir" && break
3395 done
3396 test -z "$as_dirs" || eval "mkdir $as_dirs"
3397 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3398
3399
3400 } # as_fn_mkdir_p
3401 if mkdir -p . 2>/dev/null; then
3402 as_mkdir_p='mkdir -p "$as_dir"'
3403 else
3404 test -d ./-p && rmdir ./-p
3405 as_mkdir_p=false
3406 fi
3407
3408
3409 # as_fn_executable_p FILE
3410 # -----------------------
3411 # Test if FILE is an executable regular file.
3412 as_fn_executable_p ()
3413 {
3414 test -f "$1" && test -x "$1"
3415 } # as_fn_executable_p
3416 as_test_x='test -x'
3417 as_executable_p=as_fn_executable_p
3418
3419 # Sed expression to map a string onto a valid CPP name.
3420 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3421
3422 # Sed expression to map a string onto a valid variable name.
3423 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3424
3425
3426 exec 6>&1
3427 ## ----------------------------------- ##
3428 ## Main body of $CONFIG_STATUS script. ##
3429 ## ----------------------------------- ##
3430 _ASEOF
3431 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3432
3433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3434 # Save the log message, to keep $0 and so on meaningful, and to
3435 # report actual input values of CONFIG_FILES etc. instead of their
3436 # values after options handling.
3437 ac_log="
3438 This file was extended by codylib $as_me 0.0, which was
3439 generated by GNU Autoconf 2.69. Invocation command line was
3440
3441 CONFIG_FILES = $CONFIG_FILES
3442 CONFIG_HEADERS = $CONFIG_HEADERS
3443 CONFIG_LINKS = $CONFIG_LINKS
3444 CONFIG_COMMANDS = $CONFIG_COMMANDS
3445 $ $0 $@
3446
3447 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3448 "
3449
3450 _ACEOF
3451
3452 case $ac_config_files in *"
3453 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3454 esac
3455
3456 case $ac_config_headers in *"
3457 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3458 esac
3459
3460
3461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3462 # Files that config.status was made for.
3463 config_files="$ac_config_files"
3464 config_headers="$ac_config_headers"
3465
3466 _ACEOF
3467
3468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3469 ac_cs_usage="\
3470 \`$as_me' instantiates files and other configuration actions
3471 from templates according to the current configuration. Unless the files
3472 and actions are specified as TAGs, all are instantiated by default.
3473
3474 Usage: $0 [OPTION]... [TAG]...
3475
3476 -h, --help print this help, then exit
3477 -V, --version print version number and configuration settings, then exit
3478 --config print configuration, then exit
3479 -q, --quiet, --silent
3480 do not print progress messages
3481 -d, --debug don't remove temporary files
3482 --recheck update $as_me by reconfiguring in the same conditions
3483 --file=FILE[:TEMPLATE]
3484 instantiate the configuration file FILE
3485 --header=FILE[:TEMPLATE]
3486 instantiate the configuration header FILE
3487
3488 Configuration files:
3489 $config_files
3490
3491 Configuration headers:
3492 $config_headers
3493
3494 Report bugs to <github.com/urnathan/libcody>."
3495
3496 _ACEOF
3497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3498 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3499 ac_cs_version="\\
3500 codylib config.status 0.0
3501 configured by $0, generated by GNU Autoconf 2.69,
3502 with options \\"\$ac_cs_config\\"
3503
3504 Copyright (C) 2012 Free Software Foundation, Inc.
3505 This config.status script is free software; the Free Software Foundation
3506 gives unlimited permission to copy, distribute and modify it."
3507
3508 ac_pwd='$ac_pwd'
3509 srcdir='$srcdir'
3510 test -n "\$AWK" || AWK=awk
3511 _ACEOF
3512
3513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3514 # The default lists apply if the user does not specify any file.
3515 ac_need_defaults=:
3516 while test $# != 0
3517 do
3518 case $1 in
3519 --*=?*)
3520 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3521 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3522 ac_shift=:
3523 ;;
3524 --*=)
3525 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3526 ac_optarg=
3527 ac_shift=:
3528 ;;
3529 *)
3530 ac_option=$1
3531 ac_optarg=$2
3532 ac_shift=shift
3533 ;;
3534 esac
3535
3536 case $ac_option in
3537 # Handling of the options.
3538 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3539 ac_cs_recheck=: ;;
3540 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3541 $as_echo "$ac_cs_version"; exit ;;
3542 --config | --confi | --conf | --con | --co | --c )
3543 $as_echo "$ac_cs_config"; exit ;;
3544 --debug | --debu | --deb | --de | --d | -d )
3545 debug=: ;;
3546 --file | --fil | --fi | --f )
3547 $ac_shift
3548 case $ac_optarg in
3549 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3550 '') as_fn_error $? "missing file argument" ;;
3551 esac
3552 as_fn_append CONFIG_FILES " '$ac_optarg'"
3553 ac_need_defaults=false;;
3554 --header | --heade | --head | --hea )
3555 $ac_shift
3556 case $ac_optarg in
3557 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3558 esac
3559 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3560 ac_need_defaults=false;;
3561 --he | --h)
3562 # Conflict between --help and --header
3563 as_fn_error $? "ambiguous option: \`$1'
3564 Try \`$0 --help' for more information.";;
3565 --help | --hel | -h )
3566 $as_echo "$ac_cs_usage"; exit ;;
3567 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3568 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3569 ac_cs_silent=: ;;
3570
3571 # This is an error.
3572 -*) as_fn_error $? "unrecognized option: \`$1'
3573 Try \`$0 --help' for more information." ;;
3574
3575 *) as_fn_append ac_config_targets " $1"
3576 ac_need_defaults=false ;;
3577
3578 esac
3579 shift
3580 done
3581
3582 ac_configure_extra_args=
3583
3584 if $ac_cs_silent; then
3585 exec 6>/dev/null
3586 ac_configure_extra_args="$ac_configure_extra_args --silent"
3587 fi
3588
3589 _ACEOF
3590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3591 if \$ac_cs_recheck; then
3592 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3593 shift
3594 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3595 CONFIG_SHELL='$SHELL'
3596 export CONFIG_SHELL
3597 exec "\$@"
3598 fi
3599
3600 _ACEOF
3601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3602 exec 5>>config.log
3603 {
3604 echo
3605 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3606 ## Running $as_me. ##
3607 _ASBOX
3608 $as_echo "$ac_log"
3609 } >&5
3610
3611 _ACEOF
3612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3613 _ACEOF
3614
3615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3616
3617 # Handling of arguments.
3618 for ac_config_target in $ac_config_targets
3619 do
3620 case $ac_config_target in
3621 "$CONFIG_FILES") CONFIG_FILES="$CONFIG_FILES $CONFIG_FILES" ;;
3622 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3623
3624 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3625 esac
3626 done
3627
3628
3629 # If the user did not use the arguments to specify the items to instantiate,
3630 # then the envvar interface is used. Set only those that are not.
3631 # We use the long form for the default assignment because of an extremely
3632 # bizarre bug on SunOS 4.1.3.
3633 if $ac_need_defaults; then
3634 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3635 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3636 fi
3637
3638 # Have a temporary directory for convenience. Make it in the build tree
3639 # simply because there is no reason against having it here, and in addition,
3640 # creating and moving files from /tmp can sometimes cause problems.
3641 # Hook for its removal unless debugging.
3642 # Note that there is a small window in which the directory will not be cleaned:
3643 # after its creation but before its name has been assigned to `$tmp'.
3644 $debug ||
3645 {
3646 tmp= ac_tmp=
3647 trap 'exit_status=$?
3648 : "${ac_tmp:=$tmp}"
3649 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3650 ' 0
3651 trap 'as_fn_exit 1' 1 2 13 15
3652 }
3653 # Create a (secure) tmp directory for tmp files.
3654
3655 {
3656 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3657 test -d "$tmp"
3658 } ||
3659 {
3660 tmp=./conf$$-$RANDOM
3661 (umask 077 && mkdir "$tmp")
3662 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3663 ac_tmp=$tmp
3664
3665 # Set up the scripts for CONFIG_FILES section.
3666 # No need to generate them if there are no CONFIG_FILES.
3667 # This happens for instance with `./config.status config.h'.
3668 if test -n "$CONFIG_FILES"; then
3669
3670
3671 ac_cr=`echo X | tr X '\015'`
3672 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3673 # But we know of no other shell where ac_cr would be empty at this
3674 # point, so we can use a bashism as a fallback.
3675 if test "x$ac_cr" = x; then
3676 eval ac_cr=\$\'\\r\'
3677 fi
3678 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3679 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3680 ac_cs_awk_cr='\\r'
3681 else
3682 ac_cs_awk_cr=$ac_cr
3683 fi
3684
3685 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3686 _ACEOF
3687
3688
3689 {
3690 echo "cat >conf$$subs.awk <<_ACEOF" &&
3691 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3692 echo "_ACEOF"
3693 } >conf$$subs.sh ||
3694 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3695 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3696 ac_delim='%!_!# '
3697 for ac_last_try in false false false false false :; do
3698 . ./conf$$subs.sh ||
3699 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3700
3701 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3702 if test $ac_delim_n = $ac_delim_num; then
3703 break
3704 elif $ac_last_try; then
3705 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3706 else
3707 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3708 fi
3709 done
3710 rm -f conf$$subs.sh
3711
3712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3713 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3714 _ACEOF
3715 sed -n '
3716 h
3717 s/^/S["/; s/!.*/"]=/
3718 p
3719 g
3720 s/^[^!]*!//
3721 :repl
3722 t repl
3723 s/'"$ac_delim"'$//
3724 t delim
3725 :nl
3726 h
3727 s/\(.\{148\}\)..*/\1/
3728 t more1
3729 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3730 p
3731 n
3732 b repl
3733 :more1
3734 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3735 p
3736 g
3737 s/.\{148\}//
3738 t nl
3739 :delim
3740 h
3741 s/\(.\{148\}\)..*/\1/
3742 t more2
3743 s/["\\]/\\&/g; s/^/"/; s/$/"/
3744 p
3745 b
3746 :more2
3747 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3748 p
3749 g
3750 s/.\{148\}//
3751 t delim
3752 ' <conf$$subs.awk | sed '
3753 /^[^""]/{
3754 N
3755 s/\n//
3756 }
3757 ' >>$CONFIG_STATUS || ac_write_fail=1
3758 rm -f conf$$subs.awk
3759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3760 _ACAWK
3761 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3762 for (key in S) S_is_set[key] = 1
3763 FS = "\a"
3764
3765 }
3766 {
3767 line = $ 0
3768 nfields = split(line, field, "@")
3769 substed = 0
3770 len = length(field[1])
3771 for (i = 2; i < nfields; i++) {
3772 key = field[i]
3773 keylen = length(key)
3774 if (S_is_set[key]) {
3775 value = S[key]
3776 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3777 len += length(value) + length(field[++i])
3778 substed = 1
3779 } else
3780 len += 1 + keylen
3781 }
3782
3783 print line
3784 }
3785
3786 _ACAWK
3787 _ACEOF
3788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3789 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3790 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3791 else
3792 cat
3793 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3794 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3795 _ACEOF
3796
3797 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3798 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3799 # trailing colons and then remove the whole line if VPATH becomes empty
3800 # (actually we leave an empty line to preserve line numbers).
3801 if test "x$srcdir" = x.; then
3802 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3803 h
3804 s///
3805 s/^/:/
3806 s/[ ]*$/:/
3807 s/:\$(srcdir):/:/g
3808 s/:\${srcdir}:/:/g
3809 s/:@srcdir@:/:/g
3810 s/^:*//
3811 s/:*$//
3812 x
3813 s/\(=[ ]*\).*/\1/
3814 G
3815 s/\n//
3816 s/^[^=]*=[ ]*$//
3817 }'
3818 fi
3819
3820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3821 fi # test -n "$CONFIG_FILES"
3822
3823 # Set up the scripts for CONFIG_HEADERS section.
3824 # No need to generate them if there are no CONFIG_HEADERS.
3825 # This happens for instance with `./config.status Makefile'.
3826 if test -n "$CONFIG_HEADERS"; then
3827 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
3828 BEGIN {
3829 _ACEOF
3830
3831 # Transform confdefs.h into an awk script `defines.awk', embedded as
3832 # here-document in config.status, that substitutes the proper values into
3833 # config.h.in to produce config.h.
3834
3835 # Create a delimiter string that does not exist in confdefs.h, to ease
3836 # handling of long lines.
3837 ac_delim='%!_!# '
3838 for ac_last_try in false false :; do
3839 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
3840 if test -z "$ac_tt"; then
3841 break
3842 elif $ac_last_try; then
3843 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3844 else
3845 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3846 fi
3847 done
3848
3849 # For the awk script, D is an array of macro values keyed by name,
3850 # likewise P contains macro parameters if any. Preserve backslash
3851 # newline sequences.
3852
3853 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3854 sed -n '
3855 s/.\{148\}/&'"$ac_delim"'/g
3856 t rset
3857 :rset
3858 s/^[ ]*#[ ]*define[ ][ ]*/ /
3859 t def
3860 d
3861 :def
3862 s/\\$//
3863 t bsnl
3864 s/["\\]/\\&/g
3865 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3866 D["\1"]=" \3"/p
3867 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
3868 d
3869 :bsnl
3870 s/["\\]/\\&/g
3871 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3872 D["\1"]=" \3\\\\\\n"\\/p
3873 t cont
3874 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3875 t cont
3876 d
3877 :cont
3878 n
3879 s/.\{148\}/&'"$ac_delim"'/g
3880 t clear
3881 :clear
3882 s/\\$//
3883 t bsnlc
3884 s/["\\]/\\&/g; s/^/"/; s/$/"/p
3885 d
3886 :bsnlc
3887 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3888 b cont
3889 ' <confdefs.h | sed '
3890 s/'"$ac_delim"'/"\\\
3891 "/g' >>$CONFIG_STATUS || ac_write_fail=1
3892
3893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3894 for (key in D) D_is_set[key] = 1
3895 FS = "\a"
3896 }
3897 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3898 line = \$ 0
3899 split(line, arg, " ")
3900 if (arg[1] == "#") {
3901 defundef = arg[2]
3902 mac1 = arg[3]
3903 } else {
3904 defundef = substr(arg[1], 2)
3905 mac1 = arg[2]
3906 }
3907 split(mac1, mac2, "(") #)
3908 macro = mac2[1]
3909 prefix = substr(line, 1, index(line, defundef) - 1)
3910 if (D_is_set[macro]) {
3911 # Preserve the white space surrounding the "#".
3912 print prefix "define", macro P[macro] D[macro]
3913 next
3914 } else {
3915 # Replace #undef with comments. This is necessary, for example,
3916 # in the case of _POSIX_SOURCE, which is predefined and required
3917 # on some systems where configure will not decide to define it.
3918 if (defundef == "undef") {
3919 print "/*", prefix defundef, macro, "*/"
3920 next
3921 }
3922 }
3923 }
3924 { print }
3925 _ACAWK
3926 _ACEOF
3927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3928 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
3929 fi # test -n "$CONFIG_HEADERS"
3930
3931
3932 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
3933 shift
3934 for ac_tag
3935 do
3936 case $ac_tag in
3937 :[FHLC]) ac_mode=$ac_tag; continue;;
3938 esac
3939 case $ac_mode$ac_tag in
3940 :[FHL]*:*);;
3941 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3942 :[FH]-) ac_tag=-:-;;
3943 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3944 esac
3945 ac_save_IFS=$IFS
3946 IFS=:
3947 set x $ac_tag
3948 IFS=$ac_save_IFS
3949 shift
3950 ac_file=$1
3951 shift
3952
3953 case $ac_mode in
3954 :L) ac_source=$1;;
3955 :[FH])
3956 ac_file_inputs=
3957 for ac_f
3958 do
3959 case $ac_f in
3960 -) ac_f="$ac_tmp/stdin";;
3961 *) # Look for the file first in the build tree, then in the source tree
3962 # (if the path is not absolute). The absolute path cannot be DOS-style,
3963 # because $ac_f cannot contain `:'.
3964 test -f "$ac_f" ||
3965 case $ac_f in
3966 [\\/$]*) false;;
3967 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3968 esac ||
3969 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3970 esac
3971 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3972 as_fn_append ac_file_inputs " '$ac_f'"
3973 done
3974
3975 # Let's still pretend it is `configure' which instantiates (i.e., don't
3976 # use $as_me), people would be surprised to read:
3977 # /* config.h. Generated by config.status. */
3978 configure_input='Generated from '`
3979 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3980 `' by configure.'
3981 if test x"$ac_file" != x-; then
3982 configure_input="$ac_file. $configure_input"
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3984 $as_echo "$as_me: creating $ac_file" >&6;}
3985 fi
3986 # Neutralize special characters interpreted by sed in replacement strings.
3987 case $configure_input in #(
3988 *\&* | *\|* | *\\* )
3989 ac_sed_conf_input=`$as_echo "$configure_input" |
3990 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3991 *) ac_sed_conf_input=$configure_input;;
3992 esac
3993
3994 case $ac_tag in
3995 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3996 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3997 esac
3998 ;;
3999 esac
4000
4001 ac_dir=`$as_dirname -- "$ac_file" ||
4002 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4003 X"$ac_file" : 'X\(//\)[^/]' \| \
4004 X"$ac_file" : 'X\(//\)$' \| \
4005 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4006 $as_echo X"$ac_file" |
4007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4008 s//\1/
4009 q
4010 }
4011 /^X\(\/\/\)[^/].*/{
4012 s//\1/
4013 q
4014 }
4015 /^X\(\/\/\)$/{
4016 s//\1/
4017 q
4018 }
4019 /^X\(\/\).*/{
4020 s//\1/
4021 q
4022 }
4023 s/.*/./; q'`
4024 as_dir="$ac_dir"; as_fn_mkdir_p
4025 ac_builddir=.
4026
4027 case "$ac_dir" in
4028 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4029 *)
4030 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4031 # A ".." for each directory in $ac_dir_suffix.
4032 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4033 case $ac_top_builddir_sub in
4034 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4035 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4036 esac ;;
4037 esac
4038 ac_abs_top_builddir=$ac_pwd
4039 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4040 # for backward compatibility:
4041 ac_top_builddir=$ac_top_build_prefix
4042
4043 case $srcdir in
4044 .) # We are building in place.
4045 ac_srcdir=.
4046 ac_top_srcdir=$ac_top_builddir_sub
4047 ac_abs_top_srcdir=$ac_pwd ;;
4048 [\\/]* | ?:[\\/]* ) # Absolute name.
4049 ac_srcdir=$srcdir$ac_dir_suffix;
4050 ac_top_srcdir=$srcdir
4051 ac_abs_top_srcdir=$srcdir ;;
4052 *) # Relative name.
4053 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4054 ac_top_srcdir=$ac_top_build_prefix$srcdir
4055 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4056 esac
4057 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4058
4059
4060 case $ac_mode in
4061 :F)
4062 #
4063 # CONFIG_FILE
4064 #
4065
4066 _ACEOF
4067
4068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4069 # If the template does not know about datarootdir, expand it.
4070 # FIXME: This hack should be removed a few years after 2.60.
4071 ac_datarootdir_hack=; ac_datarootdir_seen=
4072 ac_sed_dataroot='
4073 /datarootdir/ {
4074 p
4075 q
4076 }
4077 /@datadir@/p
4078 /@docdir@/p
4079 /@infodir@/p
4080 /@localedir@/p
4081 /@mandir@/p'
4082 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4083 *datarootdir*) ac_datarootdir_seen=yes;;
4084 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4086 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4087 _ACEOF
4088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4089 ac_datarootdir_hack='
4090 s&@datadir@&$datadir&g
4091 s&@docdir@&$docdir&g
4092 s&@infodir@&$infodir&g
4093 s&@localedir@&$localedir&g
4094 s&@mandir@&$mandir&g
4095 s&\\\${datarootdir}&$datarootdir&g' ;;
4096 esac
4097 _ACEOF
4098
4099 # Neutralize VPATH when `$srcdir' = `.'.
4100 # Shell code in configure.ac might set extrasub.
4101 # FIXME: do we really want to maintain this feature?
4102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4103 ac_sed_extra="$ac_vpsub
4104 $extrasub
4105 _ACEOF
4106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4107 :t
4108 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4109 s|@configure_input@|$ac_sed_conf_input|;t t
4110 s&@top_builddir@&$ac_top_builddir_sub&;t t
4111 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4112 s&@srcdir@&$ac_srcdir&;t t
4113 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4114 s&@top_srcdir@&$ac_top_srcdir&;t t
4115 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4116 s&@builddir@&$ac_builddir&;t t
4117 s&@abs_builddir@&$ac_abs_builddir&;t t
4118 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4119 $ac_datarootdir_hack
4120 "
4121 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4122 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4123
4124 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4125 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4126 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4127 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4129 which seems to be undefined. Please make sure it is defined" >&5
4130 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4131 which seems to be undefined. Please make sure it is defined" >&2;}
4132
4133 rm -f "$ac_tmp/stdin"
4134 case $ac_file in
4135 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4136 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4137 esac \
4138 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4139 ;;
4140 :H)
4141 #
4142 # CONFIG_HEADER
4143 #
4144 if test x"$ac_file" != x-; then
4145 {
4146 $as_echo "/* $configure_input */" \
4147 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4148 } >"$ac_tmp/config.h" \
4149 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4150 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4152 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4153 else
4154 rm -f "$ac_file"
4155 mv "$ac_tmp/config.h" "$ac_file" \
4156 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4157 fi
4158 else
4159 $as_echo "/* $configure_input */" \
4160 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4161 || as_fn_error $? "could not create -" "$LINENO" 5
4162 fi
4163 ;;
4164
4165
4166 esac
4167
4168 done # for ac_tag
4169
4170
4171 as_fn_exit 0
4172 _ACEOF
4173 ac_clean_files=$ac_clean_files_save
4174
4175 test $ac_write_fail = 0 ||
4176 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4177
4178
4179 # configure is writing to config.log, and then calls config.status.
4180 # config.status does its own redirection, appending to config.log.
4181 # Unfortunately, on DOS this fails, as config.log is still kept open
4182 # by configure, so config.status won't be able to write to it; its
4183 # output is simply discarded. So we exec the FD to /dev/null,
4184 # effectively closing config.log, so it can be properly (re)opened and
4185 # appended to by config.status. When coming back to configure, we
4186 # need to make the FD available again.
4187 if test "$no_create" != yes; then
4188 ac_cs_success=:
4189 ac_config_status_args=
4190 test "$silent" = yes &&
4191 ac_config_status_args="$ac_config_status_args --quiet"
4192 exec 5>/dev/null
4193 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4194 exec 5>>config.log
4195 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4196 # would make configure fail if this is the last instruction.
4197 $ac_cs_success || as_fn_exit 1
4198 fi
4199 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4201 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4202 fi
4203