ada: Fix internal error on instantiation with private component type
[official-gcc.git] / libcody / configure
blob0e536c0ccb0626051d79954056932db644ef875e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for codylib 0.0.
5 # Report bugs to <github.com/urnathan/libcody>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 ## -------------------- ##
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 *) :
32 esac
36 as_nl='
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"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
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=';'
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"
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
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
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
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
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='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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
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 *) :
176 esac
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; }
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 :
192 else
193 exitcode=1; echo positional parameters were not saved.
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
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
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
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
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
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
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
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."
274 exit 1
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
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
292 { eval $1=; unset $1;}
294 as_unset=as_fn_unset
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
301 return $1
302 } # as_fn_set_status
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 ()
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
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/
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
345 /^X\(\/\/\)$/{
346 s//\1/
349 /^X\(\/\).*/{
350 s//\1/
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"
360 } # as_fn_mkdir_p
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
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 ()
378 eval $1+=\$2
380 else
381 as_fn_append ()
383 eval $1=\$$1\$2
385 fi # as_fn_append
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 ()
395 as_val=$(( $* ))
397 else
398 as_fn_arith ()
400 as_val=`expr "$@" || test $? -eq 1`
402 fi # as_fn_arith
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 ()
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
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
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
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
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
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/
449 /^X\/\(\/\/\)$/{
450 s//\1/
453 /^X\/\(\/\).*/{
454 s//\1/
457 s/.*/./; q'`
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
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 '
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
480 :lineno
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; }
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
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;;
512 ECHO_N='-n';;
513 esac
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
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'
536 else
537 as_ln_s='cp -pR'
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
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
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
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'"
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'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
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`
568 # Initializations.
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=
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=''
587 ac_unique_file="cody.hh"
588 ac_subst_vars='LTLIBOBJS
589 LIBOBJS
590 configure_args
592 RANLIB
593 EXCEPTIONS
594 LD_PICFLAG
595 PICFLAG
596 enable_host_pie
597 enable_host_shared
598 OBJEXT
599 EXEEXT
600 ac_ct_CXX
601 CPPFLAGS
602 LDFLAGS
603 CXXFLAGS
605 MAINTAINER
606 host_os
607 host_vendor
608 host_cpu
609 host
610 build_os
611 build_vendor
612 build_cpu
613 build
614 target_alias
615 host_alias
616 build_alias
617 LIBS
618 ECHO_T
619 ECHO_N
620 ECHO_C
621 DEFS
622 mandir
623 localedir
624 libdir
625 psdir
626 pdfdir
627 dvidir
628 htmldir
629 infodir
630 docdir
631 oldincludedir
632 includedir
633 localstatedir
634 sharedstatedir
635 sysconfdir
636 datadir
637 datarootdir
638 libexecdir
639 sbindir
640 bindir
641 program_transform_name
642 prefix
643 exec_prefix
644 PACKAGE_URL
645 PACKAGE_BUGREPORT
646 PACKAGE_STRING
647 PACKAGE_VERSION
648 PACKAGE_TARNAME
649 PACKAGE_NAME
650 PATH_SEPARATOR
651 SHELL'
652 ac_subst_files=''
653 ac_user_opts='
654 enable_option_checking
655 enable_maintainer_mode
656 with_compiler
657 enable_checking
658 enable_host_shared
659 enable_host_pie
660 enable_exceptions
662 ac_precious_vars='build_alias
663 host_alias
664 target_alias
666 CXXFLAGS
667 LDFLAGS
668 LIBS
669 CPPFLAGS
670 CCC'
673 # Initialize some variables set by options.
674 ac_init_help=
675 ac_init_version=false
676 ac_unrecognized_opts=
677 ac_unrecognized_sep=
678 # The variables have the same names as the options, with
679 # dashes changed to underlines.
680 cache_file=/dev/null
681 exec_prefix=NONE
682 no_create=
683 no_recursion=
684 prefix=NONE
685 program_prefix=NONE
686 program_suffix=NONE
687 program_transform_name=s,x,x,
688 silent=
689 site=
690 srcdir=
691 verbose=
692 x_includes=NONE
693 x_libraries=NONE
695 # Installation directory options.
696 # These are left unexpanded so users can "make install exec_prefix=/foo"
697 # and all the variables that are supposed to be based on exec_prefix
698 # by default will actually change.
699 # Use braces instead of parens because sh, perl, etc. also accept them.
700 # (The list follows the same order as the GNU Coding Standards.)
701 bindir='${exec_prefix}/bin'
702 sbindir='${exec_prefix}/sbin'
703 libexecdir='${exec_prefix}/libexec'
704 datarootdir='${prefix}/share'
705 datadir='${datarootdir}'
706 sysconfdir='${prefix}/etc'
707 sharedstatedir='${prefix}/com'
708 localstatedir='${prefix}/var'
709 includedir='${prefix}/include'
710 oldincludedir='/usr/include'
711 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
712 infodir='${datarootdir}/info'
713 htmldir='${docdir}'
714 dvidir='${docdir}'
715 pdfdir='${docdir}'
716 psdir='${docdir}'
717 libdir='${exec_prefix}/lib'
718 localedir='${datarootdir}/locale'
719 mandir='${datarootdir}/man'
721 ac_prev=
722 ac_dashdash=
723 for ac_option
725 # If the previous option needs an argument, assign it.
726 if test -n "$ac_prev"; then
727 eval $ac_prev=\$ac_option
728 ac_prev=
729 continue
732 case $ac_option in
733 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
734 *=) ac_optarg= ;;
735 *) ac_optarg=yes ;;
736 esac
738 # Accept the important Cygnus configure options, so we can diagnose typos.
740 case $ac_dashdash$ac_option in
742 ac_dashdash=yes ;;
744 -bindir | --bindir | --bindi | --bind | --bin | --bi)
745 ac_prev=bindir ;;
746 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
747 bindir=$ac_optarg ;;
749 -build | --build | --buil | --bui | --bu)
750 ac_prev=build_alias ;;
751 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
752 build_alias=$ac_optarg ;;
754 -cache-file | --cache-file | --cache-fil | --cache-fi \
755 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
756 ac_prev=cache_file ;;
757 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
758 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
759 cache_file=$ac_optarg ;;
761 --config-cache | -C)
762 cache_file=config.cache ;;
764 -datadir | --datadir | --datadi | --datad)
765 ac_prev=datadir ;;
766 -datadir=* | --datadir=* | --datadi=* | --datad=*)
767 datadir=$ac_optarg ;;
769 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
770 | --dataroo | --dataro | --datar)
771 ac_prev=datarootdir ;;
772 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
773 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
774 datarootdir=$ac_optarg ;;
776 -disable-* | --disable-*)
777 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
778 # Reject names that are not valid shell variable names.
779 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
780 as_fn_error $? "invalid feature name: $ac_useropt"
781 ac_useropt_orig=$ac_useropt
782 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
783 case $ac_user_opts in
785 "enable_$ac_useropt"
786 "*) ;;
787 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
788 ac_unrecognized_sep=', ';;
789 esac
790 eval enable_$ac_useropt=no ;;
792 -docdir | --docdir | --docdi | --doc | --do)
793 ac_prev=docdir ;;
794 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
795 docdir=$ac_optarg ;;
797 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
798 ac_prev=dvidir ;;
799 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
800 dvidir=$ac_optarg ;;
802 -enable-* | --enable-*)
803 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
804 # Reject names that are not valid shell variable names.
805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
806 as_fn_error $? "invalid feature name: $ac_useropt"
807 ac_useropt_orig=$ac_useropt
808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
809 case $ac_user_opts in
811 "enable_$ac_useropt"
812 "*) ;;
813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
814 ac_unrecognized_sep=', ';;
815 esac
816 eval enable_$ac_useropt=\$ac_optarg ;;
818 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
819 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
820 | --exec | --exe | --ex)
821 ac_prev=exec_prefix ;;
822 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
823 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
824 | --exec=* | --exe=* | --ex=*)
825 exec_prefix=$ac_optarg ;;
827 -gas | --gas | --ga | --g)
828 # Obsolete; use --with-gas.
829 with_gas=yes ;;
831 -help | --help | --hel | --he | -h)
832 ac_init_help=long ;;
833 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
834 ac_init_help=recursive ;;
835 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
836 ac_init_help=short ;;
838 -host | --host | --hos | --ho)
839 ac_prev=host_alias ;;
840 -host=* | --host=* | --hos=* | --ho=*)
841 host_alias=$ac_optarg ;;
843 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
844 ac_prev=htmldir ;;
845 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
846 | --ht=*)
847 htmldir=$ac_optarg ;;
849 -includedir | --includedir | --includedi | --included | --include \
850 | --includ | --inclu | --incl | --inc)
851 ac_prev=includedir ;;
852 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
853 | --includ=* | --inclu=* | --incl=* | --inc=*)
854 includedir=$ac_optarg ;;
856 -infodir | --infodir | --infodi | --infod | --info | --inf)
857 ac_prev=infodir ;;
858 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
859 infodir=$ac_optarg ;;
861 -libdir | --libdir | --libdi | --libd)
862 ac_prev=libdir ;;
863 -libdir=* | --libdir=* | --libdi=* | --libd=*)
864 libdir=$ac_optarg ;;
866 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
867 | --libexe | --libex | --libe)
868 ac_prev=libexecdir ;;
869 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
870 | --libexe=* | --libex=* | --libe=*)
871 libexecdir=$ac_optarg ;;
873 -localedir | --localedir | --localedi | --localed | --locale)
874 ac_prev=localedir ;;
875 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
876 localedir=$ac_optarg ;;
878 -localstatedir | --localstatedir | --localstatedi | --localstated \
879 | --localstate | --localstat | --localsta | --localst | --locals)
880 ac_prev=localstatedir ;;
881 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
882 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
883 localstatedir=$ac_optarg ;;
885 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
886 ac_prev=mandir ;;
887 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
888 mandir=$ac_optarg ;;
890 -nfp | --nfp | --nf)
891 # Obsolete; use --without-fp.
892 with_fp=no ;;
894 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
895 | --no-cr | --no-c | -n)
896 no_create=yes ;;
898 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
899 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
900 no_recursion=yes ;;
902 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
903 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
904 | --oldin | --oldi | --old | --ol | --o)
905 ac_prev=oldincludedir ;;
906 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
907 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
908 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
909 oldincludedir=$ac_optarg ;;
911 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
912 ac_prev=prefix ;;
913 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
914 prefix=$ac_optarg ;;
916 -program-prefix | --program-prefix | --program-prefi | --program-pref \
917 | --program-pre | --program-pr | --program-p)
918 ac_prev=program_prefix ;;
919 -program-prefix=* | --program-prefix=* | --program-prefi=* \
920 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
921 program_prefix=$ac_optarg ;;
923 -program-suffix | --program-suffix | --program-suffi | --program-suff \
924 | --program-suf | --program-su | --program-s)
925 ac_prev=program_suffix ;;
926 -program-suffix=* | --program-suffix=* | --program-suffi=* \
927 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
928 program_suffix=$ac_optarg ;;
930 -program-transform-name | --program-transform-name \
931 | --program-transform-nam | --program-transform-na \
932 | --program-transform-n | --program-transform- \
933 | --program-transform | --program-transfor \
934 | --program-transfo | --program-transf \
935 | --program-trans | --program-tran \
936 | --progr-tra | --program-tr | --program-t)
937 ac_prev=program_transform_name ;;
938 -program-transform-name=* | --program-transform-name=* \
939 | --program-transform-nam=* | --program-transform-na=* \
940 | --program-transform-n=* | --program-transform-=* \
941 | --program-transform=* | --program-transfor=* \
942 | --program-transfo=* | --program-transf=* \
943 | --program-trans=* | --program-tran=* \
944 | --progr-tra=* | --program-tr=* | --program-t=*)
945 program_transform_name=$ac_optarg ;;
947 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
948 ac_prev=pdfdir ;;
949 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
950 pdfdir=$ac_optarg ;;
952 -psdir | --psdir | --psdi | --psd | --ps)
953 ac_prev=psdir ;;
954 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
955 psdir=$ac_optarg ;;
957 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
958 | -silent | --silent | --silen | --sile | --sil)
959 silent=yes ;;
961 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
962 ac_prev=sbindir ;;
963 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
964 | --sbi=* | --sb=*)
965 sbindir=$ac_optarg ;;
967 -sharedstatedir | --sharedstatedir | --sharedstatedi \
968 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
969 | --sharedst | --shareds | --shared | --share | --shar \
970 | --sha | --sh)
971 ac_prev=sharedstatedir ;;
972 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
973 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
974 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
975 | --sha=* | --sh=*)
976 sharedstatedir=$ac_optarg ;;
978 -site | --site | --sit)
979 ac_prev=site ;;
980 -site=* | --site=* | --sit=*)
981 site=$ac_optarg ;;
983 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
984 ac_prev=srcdir ;;
985 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
986 srcdir=$ac_optarg ;;
988 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
989 | --syscon | --sysco | --sysc | --sys | --sy)
990 ac_prev=sysconfdir ;;
991 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
992 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
993 sysconfdir=$ac_optarg ;;
995 -target | --target | --targe | --targ | --tar | --ta | --t)
996 ac_prev=target_alias ;;
997 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
998 target_alias=$ac_optarg ;;
1000 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1001 verbose=yes ;;
1003 -version | --version | --versio | --versi | --vers | -V)
1004 ac_init_version=: ;;
1006 -with-* | --with-*)
1007 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010 as_fn_error $? "invalid package name: $ac_useropt"
1011 ac_useropt_orig=$ac_useropt
1012 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1015 "with_$ac_useropt"
1016 "*) ;;
1017 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1018 ac_unrecognized_sep=', ';;
1019 esac
1020 eval with_$ac_useropt=\$ac_optarg ;;
1022 -without-* | --without-*)
1023 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error $? "invalid package name: $ac_useropt"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1031 "with_$ac_useropt"
1032 "*) ;;
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1035 esac
1036 eval with_$ac_useropt=no ;;
1038 --x)
1039 # Obsolete; use --with-x.
1040 with_x=yes ;;
1042 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1043 | --x-incl | --x-inc | --x-in | --x-i)
1044 ac_prev=x_includes ;;
1045 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1046 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1047 x_includes=$ac_optarg ;;
1049 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1050 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1051 ac_prev=x_libraries ;;
1052 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1053 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1054 x_libraries=$ac_optarg ;;
1056 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1057 Try \`$0 --help' for more information"
1060 *=*)
1061 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1062 # Reject names that are not valid shell variable names.
1063 case $ac_envvar in #(
1064 '' | [0-9]* | *[!_$as_cr_alnum]* )
1065 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1066 esac
1067 eval $ac_envvar=\$ac_optarg
1068 export $ac_envvar ;;
1071 # FIXME: should be removed in autoconf 3.0.
1072 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1073 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1074 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1075 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1078 esac
1079 done
1081 if test -n "$ac_prev"; then
1082 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1083 as_fn_error $? "missing argument to $ac_option"
1086 if test -n "$ac_unrecognized_opts"; then
1087 case $enable_option_checking in
1088 no) ;;
1089 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1090 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1091 esac
1094 # Check all directory arguments for consistency.
1095 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1096 datadir sysconfdir sharedstatedir localstatedir includedir \
1097 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1098 libdir localedir mandir
1100 eval ac_val=\$$ac_var
1101 # Remove trailing slashes.
1102 case $ac_val in
1103 */ )
1104 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1105 eval $ac_var=\$ac_val;;
1106 esac
1107 # Be sure to have absolute directory names.
1108 case $ac_val in
1109 [\\/$]* | ?:[\\/]* ) continue;;
1110 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1111 esac
1112 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1113 done
1115 # There might be people who depend on the old broken behavior: `$host'
1116 # used to hold the argument of --host etc.
1117 # FIXME: To remove some day.
1118 build=$build_alias
1119 host=$host_alias
1120 target=$target_alias
1122 # FIXME: To remove some day.
1123 if test "x$host_alias" != x; then
1124 if test "x$build_alias" = x; then
1125 cross_compiling=maybe
1126 elif test "x$build_alias" != "x$host_alias"; then
1127 cross_compiling=yes
1131 ac_tool_prefix=
1132 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1134 test "$silent" = yes && exec 6>/dev/null
1137 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1138 ac_ls_di=`ls -di .` &&
1139 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1140 as_fn_error $? "working directory cannot be determined"
1141 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1142 as_fn_error $? "pwd does not report name of working directory"
1145 # Find the source files, if location was not specified.
1146 if test -z "$srcdir"; then
1147 ac_srcdir_defaulted=yes
1148 # Try the directory containing this script, then the parent directory.
1149 ac_confdir=`$as_dirname -- "$as_myself" ||
1150 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1151 X"$as_myself" : 'X\(//\)[^/]' \| \
1152 X"$as_myself" : 'X\(//\)$' \| \
1153 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1154 $as_echo X"$as_myself" |
1155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1156 s//\1/
1159 /^X\(\/\/\)[^/].*/{
1160 s//\1/
1163 /^X\(\/\/\)$/{
1164 s//\1/
1167 /^X\(\/\).*/{
1168 s//\1/
1171 s/.*/./; q'`
1172 srcdir=$ac_confdir
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1174 srcdir=..
1176 else
1177 ac_srcdir_defaulted=no
1179 if test ! -r "$srcdir/$ac_unique_file"; then
1180 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1181 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1183 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1184 ac_abs_confdir=`(
1185 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1186 pwd)`
1187 # When building in place, set srcdir=.
1188 if test "$ac_abs_confdir" = "$ac_pwd"; then
1189 srcdir=.
1191 # Remove unnecessary trailing slashes from srcdir.
1192 # Double slashes in file names in object file debugging info
1193 # mess up M-x gdb in Emacs.
1194 case $srcdir in
1195 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1196 esac
1197 for ac_var in $ac_precious_vars; do
1198 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1199 eval ac_env_${ac_var}_value=\$${ac_var}
1200 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1201 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1202 done
1205 # Report the --help message.
1207 if test "$ac_init_help" = "long"; then
1208 # Omit some internal or obsolete options to make the list less imposing.
1209 # This message is too long to be a string in the A/UX 3.1 sh.
1210 cat <<_ACEOF
1211 \`configure' configures codylib 0.0 to adapt to many kinds of systems.
1213 Usage: $0 [OPTION]... [VAR=VALUE]...
1215 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1216 VAR=VALUE. See below for descriptions of some of the useful variables.
1218 Defaults for the options are specified in brackets.
1220 Configuration:
1221 -h, --help display this help and exit
1222 --help=short display options specific to this package
1223 --help=recursive display the short help of all the included packages
1224 -V, --version display version information and exit
1225 -q, --quiet, --silent do not print \`checking ...' messages
1226 --cache-file=FILE cache test results in FILE [disabled]
1227 -C, --config-cache alias for \`--cache-file=config.cache'
1228 -n, --no-create do not create output files
1229 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1231 Installation directories:
1232 --prefix=PREFIX install architecture-independent files in PREFIX
1233 [$ac_default_prefix]
1234 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1235 [PREFIX]
1237 By default, \`make install' will install all the files in
1238 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1239 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1240 for instance \`--prefix=\$HOME'.
1242 For better control, use the options below.
1244 Fine tuning of the installation directories:
1245 --bindir=DIR user executables [EPREFIX/bin]
1246 --sbindir=DIR system admin executables [EPREFIX/sbin]
1247 --libexecdir=DIR program executables [EPREFIX/libexec]
1248 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1249 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1250 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1251 --libdir=DIR object code libraries [EPREFIX/lib]
1252 --includedir=DIR C header files [PREFIX/include]
1253 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1254 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1255 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1256 --infodir=DIR info documentation [DATAROOTDIR/info]
1257 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1258 --mandir=DIR man documentation [DATAROOTDIR/man]
1259 --docdir=DIR documentation root [DATAROOTDIR/doc/codylib]
1260 --htmldir=DIR html documentation [DOCDIR]
1261 --dvidir=DIR dvi documentation [DOCDIR]
1262 --pdfdir=DIR pdf documentation [DOCDIR]
1263 --psdir=DIR ps documentation [DOCDIR]
1264 _ACEOF
1266 cat <<\_ACEOF
1268 System types:
1269 --build=BUILD configure for building on BUILD [guessed]
1270 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1271 _ACEOF
1274 if test -n "$ac_init_help"; then
1275 case $ac_init_help in
1276 short | recursive ) echo "Configuration of codylib 0.0:";;
1277 esac
1278 cat <<\_ACEOF
1280 Optional Features:
1281 --disable-option-checking ignore unrecognized --enable/--with options
1282 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1283 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1284 --enable-maintainer-mode
1285 enable maintainer mode. Add rules to rebuild
1286 configurey bits
1287 --enable-checking[=LIST]
1288 enable expensive run-time checks. With LIST, enable
1289 only specific categories of checks. Categories are:
1290 yes,no,all,none,release. Flags are: misc,valgrind or
1291 other strings
1292 --enable-host-shared build host code as shared libraries
1293 --enable-host-pie build host code as PIE
1294 --enable-exceptions enable exceptions & rtti
1296 Optional Packages:
1297 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1298 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1299 --with-compiler=NAME which compiler to use
1301 Some influential environment variables:
1302 CXX C++ compiler command
1303 CXXFLAGS C++ compiler flags
1304 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1305 nonstandard directory <lib dir>
1306 LIBS libraries to pass to the linker, e.g. -l<library>
1307 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1308 you have headers in a nonstandard directory <include dir>
1310 Use these variables to override the choices made by `configure' or to help
1311 it to find libraries and programs with nonstandard names/locations.
1313 Report bugs to <github.com/urnathan/libcody>.
1314 _ACEOF
1315 ac_status=$?
1318 if test "$ac_init_help" = "recursive"; then
1319 # If there are subdirs, report their specific --help.
1320 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1321 test -d "$ac_dir" ||
1322 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1323 continue
1324 ac_builddir=.
1326 case "$ac_dir" in
1327 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1330 # A ".." for each directory in $ac_dir_suffix.
1331 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1332 case $ac_top_builddir_sub in
1333 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1335 esac ;;
1336 esac
1337 ac_abs_top_builddir=$ac_pwd
1338 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1339 # for backward compatibility:
1340 ac_top_builddir=$ac_top_build_prefix
1342 case $srcdir in
1343 .) # We are building in place.
1344 ac_srcdir=.
1345 ac_top_srcdir=$ac_top_builddir_sub
1346 ac_abs_top_srcdir=$ac_pwd ;;
1347 [\\/]* | ?:[\\/]* ) # Absolute name.
1348 ac_srcdir=$srcdir$ac_dir_suffix;
1349 ac_top_srcdir=$srcdir
1350 ac_abs_top_srcdir=$srcdir ;;
1351 *) # Relative name.
1352 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1353 ac_top_srcdir=$ac_top_build_prefix$srcdir
1354 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1355 esac
1356 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1358 cd "$ac_dir" || { ac_status=$?; continue; }
1359 # Check for guested configure.
1360 if test -f "$ac_srcdir/configure.gnu"; then
1361 echo &&
1362 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1363 elif test -f "$ac_srcdir/configure"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure" --help=recursive
1366 else
1367 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1368 fi || ac_status=$?
1369 cd "$ac_pwd" || { ac_status=$?; break; }
1370 done
1373 test -n "$ac_init_help" && exit $ac_status
1374 if $ac_init_version; then
1375 cat <<\_ACEOF
1376 codylib configure 0.0
1377 generated by GNU Autoconf 2.69
1379 Copyright (C) 2012 Free Software Foundation, Inc.
1380 This configure script is free software; the Free Software Foundation
1381 gives unlimited permission to copy, distribute and modify it.
1382 _ACEOF
1383 exit
1386 ## ------------------------ ##
1387 ## Autoconf initialization. ##
1388 ## ------------------------ ##
1390 # ac_fn_cxx_try_compile LINENO
1391 # ----------------------------
1392 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1393 ac_fn_cxx_try_compile ()
1395 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1396 rm -f conftest.$ac_objext
1397 if { { ac_try="$ac_compile"
1398 case "(($ac_try" in
1399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1400 *) ac_try_echo=$ac_try;;
1401 esac
1402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1403 $as_echo "$ac_try_echo"; } >&5
1404 (eval "$ac_compile") 2>conftest.err
1405 ac_status=$?
1406 if test -s conftest.err; then
1407 grep -v '^ *+' conftest.err >conftest.er1
1408 cat conftest.er1 >&5
1409 mv -f conftest.er1 conftest.err
1411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1412 test $ac_status = 0; } && {
1413 test -z "$ac_cxx_werror_flag" ||
1414 test ! -s conftest.err
1415 } && test -s conftest.$ac_objext; then :
1416 ac_retval=0
1417 else
1418 $as_echo "$as_me: failed program was:" >&5
1419 sed 's/^/| /' conftest.$ac_ext >&5
1421 ac_retval=1
1423 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1424 as_fn_set_status $ac_retval
1426 } # ac_fn_cxx_try_compile
1428 # ac_fn_cxx_try_link LINENO
1429 # -------------------------
1430 # Try to link conftest.$ac_ext, and return whether this succeeded.
1431 ac_fn_cxx_try_link ()
1433 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1434 rm -f conftest.$ac_objext conftest$ac_exeext
1435 if { { ac_try="$ac_link"
1436 case "(($ac_try" in
1437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1438 *) ac_try_echo=$ac_try;;
1439 esac
1440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1441 $as_echo "$ac_try_echo"; } >&5
1442 (eval "$ac_link") 2>conftest.err
1443 ac_status=$?
1444 if test -s conftest.err; then
1445 grep -v '^ *+' conftest.err >conftest.er1
1446 cat conftest.er1 >&5
1447 mv -f conftest.er1 conftest.err
1449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1450 test $ac_status = 0; } && {
1451 test -z "$ac_cxx_werror_flag" ||
1452 test ! -s conftest.err
1453 } && test -s conftest$ac_exeext && {
1454 test "$cross_compiling" = yes ||
1455 test -x conftest$ac_exeext
1456 }; then :
1457 ac_retval=0
1458 else
1459 $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.$ac_ext >&5
1462 ac_retval=1
1464 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1465 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1466 # interfere with the next link command; also delete a directory that is
1467 # left behind by Apple's compiler. We do this before executing the actions.
1468 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1469 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1470 as_fn_set_status $ac_retval
1472 } # ac_fn_cxx_try_link
1473 cat >config.log <<_ACEOF
1474 This file contains any messages produced by compilers while
1475 running configure, to aid debugging if configure makes a mistake.
1477 It was created by codylib $as_me 0.0, which was
1478 generated by GNU Autoconf 2.69. Invocation command line was
1480 $ $0 $@
1482 _ACEOF
1483 exec 5>>config.log
1485 cat <<_ASUNAME
1486 ## --------- ##
1487 ## Platform. ##
1488 ## --------- ##
1490 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1491 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1492 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1493 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1494 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1496 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1497 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1499 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1500 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1501 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1502 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1503 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1504 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1505 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1507 _ASUNAME
1509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1510 for as_dir in $PATH
1512 IFS=$as_save_IFS
1513 test -z "$as_dir" && as_dir=.
1514 $as_echo "PATH: $as_dir"
1515 done
1516 IFS=$as_save_IFS
1518 } >&5
1520 cat >&5 <<_ACEOF
1523 ## ----------- ##
1524 ## Core tests. ##
1525 ## ----------- ##
1527 _ACEOF
1530 # Keep a trace of the command line.
1531 # Strip out --no-create and --no-recursion so they do not pile up.
1532 # Strip out --silent because we don't want to record it for future runs.
1533 # Also quote any args containing shell meta-characters.
1534 # Make two passes to allow for proper duplicate-argument suppression.
1535 ac_configure_args=
1536 ac_configure_args0=
1537 ac_configure_args1=
1538 ac_must_keep_next=false
1539 for ac_pass in 1 2
1541 for ac_arg
1543 case $ac_arg in
1544 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1545 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1546 | -silent | --silent | --silen | --sile | --sil)
1547 continue ;;
1548 *\'*)
1549 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1550 esac
1551 case $ac_pass in
1552 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1554 as_fn_append ac_configure_args1 " '$ac_arg'"
1555 if test $ac_must_keep_next = true; then
1556 ac_must_keep_next=false # Got value, back to normal.
1557 else
1558 case $ac_arg in
1559 *=* | --config-cache | -C | -disable-* | --disable-* \
1560 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1561 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1562 | -with-* | --with-* | -without-* | --without-* | --x)
1563 case "$ac_configure_args0 " in
1564 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1565 esac
1567 -* ) ac_must_keep_next=true ;;
1568 esac
1570 as_fn_append ac_configure_args " '$ac_arg'"
1572 esac
1573 done
1574 done
1575 { ac_configure_args0=; unset ac_configure_args0;}
1576 { ac_configure_args1=; unset ac_configure_args1;}
1578 # When interrupted or exit'd, cleanup temporary files, and complete
1579 # config.log. We remove comments because anyway the quotes in there
1580 # would cause problems or look ugly.
1581 # WARNING: Use '\'' to represent an apostrophe within the trap.
1582 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1583 trap 'exit_status=$?
1584 # Save into config.log some information that might help in debugging.
1586 echo
1588 $as_echo "## ---------------- ##
1589 ## Cache variables. ##
1590 ## ---------------- ##"
1591 echo
1592 # The following way of writing the cache mishandles newlines in values,
1594 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1595 eval ac_val=\$$ac_var
1596 case $ac_val in #(
1597 *${as_nl}*)
1598 case $ac_var in #(
1599 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1600 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1601 esac
1602 case $ac_var in #(
1603 _ | IFS | as_nl) ;; #(
1604 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1605 *) { eval $ac_var=; unset $ac_var;} ;;
1606 esac ;;
1607 esac
1608 done
1609 (set) 2>&1 |
1610 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1611 *${as_nl}ac_space=\ *)
1612 sed -n \
1613 "s/'\''/'\''\\\\'\'''\''/g;
1614 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1615 ;; #(
1617 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1619 esac |
1620 sort
1622 echo
1624 $as_echo "## ----------------- ##
1625 ## Output variables. ##
1626 ## ----------------- ##"
1627 echo
1628 for ac_var in $ac_subst_vars
1630 eval ac_val=\$$ac_var
1631 case $ac_val in
1632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633 esac
1634 $as_echo "$ac_var='\''$ac_val'\''"
1635 done | sort
1636 echo
1638 if test -n "$ac_subst_files"; then
1639 $as_echo "## ------------------- ##
1640 ## File substitutions. ##
1641 ## ------------------- ##"
1642 echo
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1646 case $ac_val in
1647 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 esac
1649 $as_echo "$ac_var='\''$ac_val'\''"
1650 done | sort
1651 echo
1654 if test -s confdefs.h; then
1655 $as_echo "## ----------- ##
1656 ## confdefs.h. ##
1657 ## ----------- ##"
1658 echo
1659 cat confdefs.h
1660 echo
1662 test "$ac_signal" != 0 &&
1663 $as_echo "$as_me: caught signal $ac_signal"
1664 $as_echo "$as_me: exit $exit_status"
1665 } >&5
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1668 exit $exit_status
1670 for ac_signal in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1672 done
1673 ac_signal=0
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest* confdefs.h
1678 $as_echo "/* confdefs.h */" > confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 _ACEOF
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1688 _ACEOF
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1692 _ACEOF
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1696 _ACEOF
1698 cat >>confdefs.h <<_ACEOF
1699 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1700 _ACEOF
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_URL "$PACKAGE_URL"
1704 _ACEOF
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer an explicitly selected file to automatically selected ones.
1709 ac_site_file1=NONE
1710 ac_site_file2=NONE
1711 if test -n "$CONFIG_SITE"; then
1712 # We do not want a PATH search for config.site.
1713 case $CONFIG_SITE in #((
1714 -*) ac_site_file1=./$CONFIG_SITE;;
1715 */*) ac_site_file1=$CONFIG_SITE;;
1716 *) ac_site_file1=./$CONFIG_SITE;;
1717 esac
1718 elif test "x$prefix" != xNONE; then
1719 ac_site_file1=$prefix/share/config.site
1720 ac_site_file2=$prefix/etc/config.site
1721 else
1722 ac_site_file1=$ac_default_prefix/share/config.site
1723 ac_site_file2=$ac_default_prefix/etc/config.site
1725 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1727 test "x$ac_site_file" = xNONE && continue
1728 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1730 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1731 sed 's/^/| /' "$ac_site_file" >&5
1732 . "$ac_site_file" \
1733 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1735 as_fn_error $? "failed to load site script $ac_site_file
1736 See \`config.log' for more details" "$LINENO" 5; }
1738 done
1740 if test -r "$cache_file"; then
1741 # Some versions of bash will fail to source /dev/null (special files
1742 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1743 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1745 $as_echo "$as_me: loading cache $cache_file" >&6;}
1746 case $cache_file in
1747 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1748 *) . "./$cache_file";;
1749 esac
1751 else
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1753 $as_echo "$as_me: creating cache $cache_file" >&6;}
1754 >$cache_file
1757 # Check that the precious variables saved in the cache have kept the same
1758 # value.
1759 ac_cache_corrupted=false
1760 for ac_var in $ac_precious_vars; do
1761 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1762 eval ac_new_set=\$ac_env_${ac_var}_set
1763 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1764 eval ac_new_val=\$ac_env_${ac_var}_value
1765 case $ac_old_set,$ac_new_set in
1766 set,)
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1768 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1769 ac_cache_corrupted=: ;;
1770 ,set)
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1772 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1773 ac_cache_corrupted=: ;;
1774 ,);;
1776 if test "x$ac_old_val" != "x$ac_new_val"; then
1777 # differences in whitespace do not lead to failure.
1778 ac_old_val_w=`echo x $ac_old_val`
1779 ac_new_val_w=`echo x $ac_new_val`
1780 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1782 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1783 ac_cache_corrupted=:
1784 else
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1786 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1787 eval $ac_var=\$ac_old_val
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1790 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1792 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1793 fi;;
1794 esac
1795 # Pass precious variables to config.status.
1796 if test "$ac_new_set" = set; then
1797 case $ac_new_val in
1798 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1799 *) ac_arg=$ac_var=$ac_new_val ;;
1800 esac
1801 case " $ac_configure_args " in
1802 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1803 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1804 esac
1806 done
1807 if $ac_cache_corrupted; then
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1811 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1812 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1814 ## -------------------- ##
1815 ## Main body of script. ##
1816 ## -------------------- ##
1818 ac_ext=c
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1826 # Nathan's Common Config -*- mode:autoconf -*-
1827 # Copyright (C) 2020 Nathan Sidwell, nathan@acm.org
1828 # License: Apache v2.0
1830 # Note: VAR+=... is not dashing, despite its looks
1845 ac_aux_dir=
1846 for ac_dir in .. "$srcdir"/..; do
1847 if test -f "$ac_dir/install-sh"; then
1848 ac_aux_dir=$ac_dir
1849 ac_install_sh="$ac_aux_dir/install-sh -c"
1850 break
1851 elif test -f "$ac_dir/install.sh"; then
1852 ac_aux_dir=$ac_dir
1853 ac_install_sh="$ac_aux_dir/install.sh -c"
1854 break
1855 elif test -f "$ac_dir/shtool"; then
1856 ac_aux_dir=$ac_dir
1857 ac_install_sh="$ac_aux_dir/shtool install -c"
1858 break
1860 done
1861 if test -z "$ac_aux_dir"; then
1862 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
1865 # These three variables are undocumented and unsupported,
1866 # and are intended to be withdrawn in a future Autoconf release.
1867 # They can cause serious problems if a builder's source tree is in a directory
1868 # whose full name contains unusual characters.
1869 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1870 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1871 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1876 # Make sure we can run config.sub.
1877 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1878 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1881 $as_echo_n "checking build system type... " >&6; }
1882 if ${ac_cv_build+:} false; then :
1883 $as_echo_n "(cached) " >&6
1884 else
1885 ac_build_alias=$build_alias
1886 test "x$ac_build_alias" = x &&
1887 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1888 test "x$ac_build_alias" = x &&
1889 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1890 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1891 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1895 $as_echo "$ac_cv_build" >&6; }
1896 case $ac_cv_build in
1897 *-*-*) ;;
1898 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1899 esac
1900 build=$ac_cv_build
1901 ac_save_IFS=$IFS; IFS='-'
1902 set x $ac_cv_build
1903 shift
1904 build_cpu=$1
1905 build_vendor=$2
1906 shift; shift
1907 # Remember, the first character of IFS is used to create $*,
1908 # except with old shells:
1909 build_os=$*
1910 IFS=$ac_save_IFS
1911 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1915 $as_echo_n "checking host system type... " >&6; }
1916 if ${ac_cv_host+:} false; then :
1917 $as_echo_n "(cached) " >&6
1918 else
1919 if test "x$host_alias" = x; then
1920 ac_cv_host=$ac_cv_build
1921 else
1922 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1923 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1928 $as_echo "$ac_cv_host" >&6; }
1929 case $ac_cv_host in
1930 *-*-*) ;;
1931 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1932 esac
1933 host=$ac_cv_host
1934 ac_save_IFS=$IFS; IFS='-'
1935 set x $ac_cv_host
1936 shift
1937 host_cpu=$1
1938 host_vendor=$2
1939 shift; shift
1940 # Remember, the first character of IFS is used to create $*,
1941 # except with old shells:
1942 host_os=$*
1943 IFS=$ac_save_IFS
1944 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1948 # Check whether --enable-maintainer-mode was given.
1949 if test "${enable_maintainer_mode+set}" = set; then :
1950 enableval=$enable_maintainer_mode;
1951 else
1952 enable_maintainer_mode=no
1955 case $enable_maintainer_mode in #(
1956 yes) :
1957 maintainer_mode=yes ;; #(
1958 no) :
1959 maintainer=no ;; #(
1960 *) :
1961 as_fn_error $? "unknown maintainer mode $enable_maintainer_mode" "$LINENO" 5 ;;
1962 esac
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking maintainer-mode" >&5
1964 $as_echo_n "checking maintainer-mode... " >&6; }
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $maintainer_mode" >&5
1966 $as_echo "$maintainer_mode" >&6; }
1967 test "$maintainer_mode" = yes && MAINTAINER=yes
1970 # Check whether --with-compiler was given.
1971 if test "${with_compiler+set}" = set; then :
1972 withval=$with_compiler; { $as_echo "$as_me:${as_lineno-$LINENO}: checking C++ compiler" >&5
1973 $as_echo_n "checking C++ compiler... " >&6; }
1974 if test "$withval" = "yes" ; then
1975 as_fn_error $? "NAME not specified" "$LINENO" 5
1976 elif test "$withval" = "no" ; then
1977 as_fn_error $? "Gonna need a C++ compiler!" "$LINENO" 5
1978 else
1979 CXX="${withval}"
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1981 $as_echo "$CXX" >&6; }
1985 ac_ext=cpp
1986 ac_cpp='$CXXCPP $CPPFLAGS'
1987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1991 ac_ext=cpp
1992 ac_cpp='$CXXCPP $CPPFLAGS'
1993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1996 if test -z "$CXX"; then
1997 if test -n "$CCC"; then
1998 CXX=$CCC
1999 else
2000 if test -n "$ac_tool_prefix"; then
2001 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2004 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2006 $as_echo_n "checking for $ac_word... " >&6; }
2007 if ${ac_cv_prog_CXX+:} false; then :
2008 $as_echo_n "(cached) " >&6
2009 else
2010 if test -n "$CXX"; then
2011 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2012 else
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 for as_dir in $PATH
2016 IFS=$as_save_IFS
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 break 2
2024 done
2025 done
2026 IFS=$as_save_IFS
2030 CXX=$ac_cv_prog_CXX
2031 if test -n "$CXX"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2033 $as_echo "$CXX" >&6; }
2034 else
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2036 $as_echo "no" >&6; }
2040 test -n "$CXX" && break
2041 done
2043 if test -z "$CXX"; then
2044 ac_ct_CXX=$CXX
2045 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2047 # Extract the first word of "$ac_prog", so it can be a program name with args.
2048 set dummy $ac_prog; ac_word=$2
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2050 $as_echo_n "checking for $ac_word... " >&6; }
2051 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2052 $as_echo_n "(cached) " >&6
2053 else
2054 if test -n "$ac_ct_CXX"; then
2055 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2056 else
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 for as_dir in $PATH
2060 IFS=$as_save_IFS
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_ac_ct_CXX="$ac_prog"
2065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 break 2
2068 done
2069 done
2070 IFS=$as_save_IFS
2074 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2075 if test -n "$ac_ct_CXX"; then
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2077 $as_echo "$ac_ct_CXX" >&6; }
2078 else
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2080 $as_echo "no" >&6; }
2084 test -n "$ac_ct_CXX" && break
2085 done
2087 if test "x$ac_ct_CXX" = x; then
2088 CXX="g++"
2089 else
2090 case $cross_compiling:$ac_tool_warned in
2091 yes:)
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2094 ac_tool_warned=yes ;;
2095 esac
2096 CXX=$ac_ct_CXX
2102 # Provide some information about the compiler.
2103 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2104 set X $ac_compile
2105 ac_compiler=$2
2106 for ac_option in --version -v -V -qversion; do
2107 { { ac_try="$ac_compiler $ac_option >&5"
2108 case "(($ac_try" in
2109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2110 *) ac_try_echo=$ac_try;;
2111 esac
2112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2113 $as_echo "$ac_try_echo"; } >&5
2114 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2115 ac_status=$?
2116 if test -s conftest.err; then
2117 sed '10a\
2118 ... rest of stderr output deleted ...
2119 10q' conftest.err >conftest.er1
2120 cat conftest.er1 >&5
2122 rm -f conftest.er1 conftest.err
2123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124 test $ac_status = 0; }
2125 done
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2131 main ()
2135 return 0;
2137 _ACEOF
2138 ac_clean_files_save=$ac_clean_files
2139 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2140 # Try to create an executable without -o first, disregard a.out.
2141 # It will help us diagnose broken compilers, and finding out an intuition
2142 # of exeext.
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2144 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2145 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2147 # The possible output files:
2148 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2150 ac_rmfiles=
2151 for ac_file in $ac_files
2153 case $ac_file in
2154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2155 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2156 esac
2157 done
2158 rm -f $ac_rmfiles
2160 if { { ac_try="$ac_link_default"
2161 case "(($ac_try" in
2162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2163 *) ac_try_echo=$ac_try;;
2164 esac
2165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2166 $as_echo "$ac_try_echo"; } >&5
2167 (eval "$ac_link_default") 2>&5
2168 ac_status=$?
2169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2170 test $ac_status = 0; }; then :
2171 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2172 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2173 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2174 # so that the user can short-circuit this test for compilers unknown to
2175 # Autoconf.
2176 for ac_file in $ac_files ''
2178 test -f "$ac_file" || continue
2179 case $ac_file in
2180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2182 [ab].out )
2183 # We found the default executable, but exeext='' is most
2184 # certainly right.
2185 break;;
2186 *.* )
2187 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2188 then :; else
2189 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2191 # We set ac_cv_exeext here because the later test for it is not
2192 # safe: cross compilers may not add the suffix if given an `-o'
2193 # argument, so we may need to know it at that point already.
2194 # Even if this section looks crufty: it has the advantage of
2195 # actually working.
2196 break;;
2198 break;;
2199 esac
2200 done
2201 test "$ac_cv_exeext" = no && ac_cv_exeext=
2203 else
2204 ac_file=''
2206 if test -z "$ac_file"; then :
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2208 $as_echo "no" >&6; }
2209 $as_echo "$as_me: failed program was:" >&5
2210 sed 's/^/| /' conftest.$ac_ext >&5
2212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2214 as_fn_error 77 "C++ compiler cannot create executables
2215 See \`config.log' for more details" "$LINENO" 5; }
2216 else
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2218 $as_echo "yes" >&6; }
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2221 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2223 $as_echo "$ac_file" >&6; }
2224 ac_exeext=$ac_cv_exeext
2226 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2227 ac_clean_files=$ac_clean_files_save
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2229 $as_echo_n "checking for suffix of executables... " >&6; }
2230 if { { ac_try="$ac_link"
2231 case "(($ac_try" in
2232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2233 *) ac_try_echo=$ac_try;;
2234 esac
2235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2236 $as_echo "$ac_try_echo"; } >&5
2237 (eval "$ac_link") 2>&5
2238 ac_status=$?
2239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2240 test $ac_status = 0; }; then :
2241 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2242 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2243 # work properly (i.e., refer to `conftest.exe'), while it won't with
2244 # `rm'.
2245 for ac_file in conftest.exe conftest conftest.*; do
2246 test -f "$ac_file" || continue
2247 case $ac_file in
2248 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2249 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2250 break;;
2251 * ) break;;
2252 esac
2253 done
2254 else
2255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2257 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2258 See \`config.log' for more details" "$LINENO" 5; }
2260 rm -f conftest conftest$ac_cv_exeext
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2262 $as_echo "$ac_cv_exeext" >&6; }
2264 rm -f conftest.$ac_ext
2265 EXEEXT=$ac_cv_exeext
2266 ac_exeext=$EXEEXT
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2269 #include <stdio.h>
2271 main ()
2273 FILE *f = fopen ("conftest.out", "w");
2274 return ferror (f) || fclose (f) != 0;
2277 return 0;
2279 _ACEOF
2280 ac_clean_files="$ac_clean_files conftest.out"
2281 # Check that the compiler produces executables we can run. If not, either
2282 # the compiler is broken, or we cross compile.
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2284 $as_echo_n "checking whether we are cross compiling... " >&6; }
2285 if test "$cross_compiling" != yes; then
2286 { { ac_try="$ac_link"
2287 case "(($ac_try" in
2288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2289 *) ac_try_echo=$ac_try;;
2290 esac
2291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2292 $as_echo "$ac_try_echo"; } >&5
2293 (eval "$ac_link") 2>&5
2294 ac_status=$?
2295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2296 test $ac_status = 0; }
2297 if { ac_try='./conftest$ac_cv_exeext'
2298 { { case "(($ac_try" in
2299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300 *) ac_try_echo=$ac_try;;
2301 esac
2302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304 (eval "$ac_try") 2>&5
2305 ac_status=$?
2306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307 test $ac_status = 0; }; }; then
2308 cross_compiling=no
2309 else
2310 if test "$cross_compiling" = maybe; then
2311 cross_compiling=yes
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 run C++ compiled programs.
2316 If you meant to cross compile, use \`--host'.
2317 See \`config.log' for more details" "$LINENO" 5; }
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2322 $as_echo "$cross_compiling" >&6; }
2324 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2325 ac_clean_files=$ac_clean_files_save
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2327 $as_echo_n "checking for suffix of object files... " >&6; }
2328 if ${ac_cv_objext+:} false; then :
2329 $as_echo_n "(cached) " >&6
2330 else
2331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332 /* end confdefs.h. */
2335 main ()
2339 return 0;
2341 _ACEOF
2342 rm -f conftest.o conftest.obj
2343 if { { ac_try="$ac_compile"
2344 case "(($ac_try" in
2345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2346 *) ac_try_echo=$ac_try;;
2347 esac
2348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2349 $as_echo "$ac_try_echo"; } >&5
2350 (eval "$ac_compile") 2>&5
2351 ac_status=$?
2352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353 test $ac_status = 0; }; then :
2354 for ac_file in conftest.o conftest.obj conftest.*; do
2355 test -f "$ac_file" || continue;
2356 case $ac_file in
2357 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2358 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2359 break;;
2360 esac
2361 done
2362 else
2363 $as_echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.$ac_ext >&5
2366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2368 as_fn_error $? "cannot compute suffix of object files: cannot compile
2369 See \`config.log' for more details" "$LINENO" 5; }
2371 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2374 $as_echo "$ac_cv_objext" >&6; }
2375 OBJEXT=$ac_cv_objext
2376 ac_objext=$OBJEXT
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2378 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2379 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2380 $as_echo_n "(cached) " >&6
2381 else
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2383 /* end confdefs.h. */
2386 main ()
2388 #ifndef __GNUC__
2389 choke me
2390 #endif
2393 return 0;
2395 _ACEOF
2396 if ac_fn_cxx_try_compile "$LINENO"; then :
2397 ac_compiler_gnu=yes
2398 else
2399 ac_compiler_gnu=no
2401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2402 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2406 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2407 if test $ac_compiler_gnu = yes; then
2408 GXX=yes
2409 else
2410 GXX=
2412 ac_test_CXXFLAGS=${CXXFLAGS+set}
2413 ac_save_CXXFLAGS=$CXXFLAGS
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2415 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2416 if ${ac_cv_prog_cxx_g+:} false; then :
2417 $as_echo_n "(cached) " >&6
2418 else
2419 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2420 ac_cxx_werror_flag=yes
2421 ac_cv_prog_cxx_g=no
2422 CXXFLAGS="-g"
2423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424 /* end confdefs.h. */
2427 main ()
2431 return 0;
2433 _ACEOF
2434 if ac_fn_cxx_try_compile "$LINENO"; then :
2435 ac_cv_prog_cxx_g=yes
2436 else
2437 CXXFLAGS=""
2438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439 /* end confdefs.h. */
2442 main ()
2446 return 0;
2448 _ACEOF
2449 if ac_fn_cxx_try_compile "$LINENO"; then :
2451 else
2452 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2453 CXXFLAGS="-g"
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2458 main ()
2462 return 0;
2464 _ACEOF
2465 if ac_fn_cxx_try_compile "$LINENO"; then :
2466 ac_cv_prog_cxx_g=yes
2468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2476 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2477 if test "$ac_test_CXXFLAGS" = set; then
2478 CXXFLAGS=$ac_save_CXXFLAGS
2479 elif test $ac_cv_prog_cxx_g = yes; then
2480 if test "$GXX" = yes; then
2481 CXXFLAGS="-g -O2"
2482 else
2483 CXXFLAGS="-g"
2485 else
2486 if test "$GXX" = yes; then
2487 CXXFLAGS="-O2"
2488 else
2489 CXXFLAGS=
2492 ac_ext=cpp
2493 ac_cpp='$CXXCPP $CPPFLAGS'
2494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX is for C++11" >&5
2500 $as_echo_n "checking whether $CXX is for C++11... " >&6; }
2501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2502 /* end confdefs.h. */
2504 #if __cplusplus != 201103
2505 #error "C++11 is required"
2506 #endif
2509 main ()
2513 return 0;
2515 _ACEOF
2516 if ac_fn_cxx_try_compile "$LINENO"; then :
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2518 $as_echo "yes" >&6; }
2519 else
2520 CXX_ORIG="$CXX"
2521 CXX="$CXX -std=c++11"
2522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2523 /* end confdefs.h. */
2525 #if __cplusplus != 201103
2526 #error "C++11 is required"
2527 #endif
2530 main ()
2534 return 0;
2536 _ACEOF
2537 if ac_fn_cxx_try_compile "$LINENO"; then :
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: adding -std=c++11" >&5
2539 $as_echo "adding -std=c++11" >&6; }
2540 else
2541 CXX="$CXX_ORIG"
2542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2543 /* end confdefs.h. */
2545 #if __cplusplus > 201103
2546 #error "C++11 is required"
2547 #endif
2550 main ()
2554 return 0;
2556 _ACEOF
2557 if ac_fn_cxx_try_compile "$LINENO"; then :
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: > C++11" >&5
2559 $as_echo "> C++11" >&6; }
2560 else
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2562 $as_echo "no" >&6; }
2563 as_fn_error $? "C++11 is required" "$LINENO" 5
2565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2568 unset CXX_ORIG
2570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking adding -Wl,--no-undefined to linker" >&5
2572 $as_echo_n "checking adding -Wl,--no-undefined to linker... " >&6; }
2573 ORIG_LDFLAGS="$LDFLAGS"
2574 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
2575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2576 /* end confdefs.h. */
2579 main ()
2583 return 0;
2585 _ACEOF
2586 if ac_fn_cxx_try_link "$LINENO"; then :
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2588 $as_echo "ok" >&6; }
2589 else
2590 LDFLAGS="$ORIG_LDFLAGS"
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2592 $as_echo "no" >&6; }
2594 rm -f core conftest.err conftest.$ac_objext \
2595 conftest$ac_exeext conftest.$ac_ext
2596 unset ORIG_LDFLAGS
2598 # Enable expensive internal checks
2599 is_release=
2600 if test -d $srcdir/../gcc \
2601 && test -f $srcdir/../gcc/DEV-PHASE \
2602 && test x"`cat $srcdir/../gcc/DEV-PHASE`" != xexperimental; then
2603 is_release=yes
2606 # Check whether --enable-checking was given.
2607 if test "${enable_checking+set}" = set; then :
2608 enableval=$enable_checking; ac_checking_flags="${enableval}"
2609 else
2611 # Determine the default checks.
2612 if test x$is_release = x ; then
2613 ac_checking_flags=yes
2614 else
2615 ac_checking_flags=release
2619 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS,"
2620 for check in release $ac_checking_flags
2622 case $check in
2623 yes|all|misc) ac_checking=1 ;;
2624 no|none|release) ac_checking= ;;
2625 # accept
2626 *) ;;
2627 esac
2628 done
2629 IFS="$ac_save_IFS"
2631 if test x$ac_checking != x ; then
2633 $as_echo "#define NMS_CHECKING 1" >>confdefs.h
2635 else
2636 $as_echo "#define NMS_CHECKING 0" >>confdefs.h
2640 # Enable --enable-host-shared.
2641 # Check whether --enable-host-shared was given.
2642 if test "${enable_host_shared+set}" = set; then :
2643 enableval=$enable_host_shared;
2648 # Enable --enable-host-pie.
2649 # Check whether --enable-host-pie was given.
2650 if test "${enable_host_pie+set}" = set; then :
2651 enableval=$enable_host_pie;
2656 if test x$enable_host_shared = xyes; then
2657 PICFLAG=-fPIC
2658 elif test x$enable_host_pie = xyes; then
2659 PICFLAG=-fPIE
2660 else
2661 PICFLAG=
2664 if test x$enable_host_pie = xyes; then
2665 LD_PICFLAG=-pie
2666 else
2667 LD_PICFLAG=
2673 # Check whether --enable-exceptions was given.
2674 if test "${enable_exceptions+set}" = set; then :
2675 enableval=$enable_exceptions;
2676 else
2677 enable_exceptions="no"
2680 case $enable_exceptions in #(
2681 yes) :
2682 nms_exceptions=yes ;; #(
2683 no) :
2684 nms_exceptions=no ;; #(
2685 *) :
2686 as_fn_error $? "unknown exceptions $enable_exceptions" "$LINENO" 5 ;;
2687 esac
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking exceptions" >&5
2689 $as_echo_n "checking exceptions... " >&6; }
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nms_exceptions" >&5
2691 $as_echo "$nms_exceptions" >&6; }
2692 if test "$nms_exceptions" != no ; then
2693 EXCEPTIONS=yes
2697 if test -n "$ac_tool_prefix"; then
2698 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2699 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701 $as_echo_n "checking for $ac_word... " >&6; }
2702 if ${ac_cv_prog_RANLIB+:} false; then :
2703 $as_echo_n "(cached) " >&6
2704 else
2705 if test -n "$RANLIB"; then
2706 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2707 else
2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709 for as_dir in $PATH
2711 IFS=$as_save_IFS
2712 test -z "$as_dir" && as_dir=.
2713 for ac_exec_ext in '' $ac_executable_extensions; do
2714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2715 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 break 2
2719 done
2720 done
2721 IFS=$as_save_IFS
2725 RANLIB=$ac_cv_prog_RANLIB
2726 if test -n "$RANLIB"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2728 $as_echo "$RANLIB" >&6; }
2729 else
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731 $as_echo "no" >&6; }
2736 if test -z "$ac_cv_prog_RANLIB"; then
2737 ac_ct_RANLIB=$RANLIB
2738 # Extract the first word of "ranlib", so it can be a program name with args.
2739 set dummy ranlib; ac_word=$2
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741 $as_echo_n "checking for $ac_word... " >&6; }
2742 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2743 $as_echo_n "(cached) " >&6
2744 else
2745 if test -n "$ac_ct_RANLIB"; then
2746 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2747 else
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 for as_dir in $PATH
2751 IFS=$as_save_IFS
2752 test -z "$as_dir" && as_dir=.
2753 for ac_exec_ext in '' $ac_executable_extensions; do
2754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755 ac_cv_prog_ac_ct_RANLIB="ranlib"
2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 break 2
2759 done
2760 done
2761 IFS=$as_save_IFS
2765 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2766 if test -n "$ac_ct_RANLIB"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2768 $as_echo "$ac_ct_RANLIB" >&6; }
2769 else
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2774 if test "x$ac_ct_RANLIB" = x; then
2775 RANLIB=":"
2776 else
2777 case $cross_compiling:$ac_tool_warned in
2778 yes:)
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2781 ac_tool_warned=yes ;;
2782 esac
2783 RANLIB=$ac_ct_RANLIB
2785 else
2786 RANLIB="$ac_cv_prog_RANLIB"
2789 if test -n "$ac_tool_prefix"; then
2790 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2791 set dummy ${ac_tool_prefix}ar; ac_word=$2
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793 $as_echo_n "checking for $ac_word... " >&6; }
2794 if ${ac_cv_prog_AR+:} false; then :
2795 $as_echo_n "(cached) " >&6
2796 else
2797 if test -n "$AR"; then
2798 ac_cv_prog_AR="$AR" # Let the user override the test.
2799 else
2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801 for as_dir in $PATH
2803 IFS=$as_save_IFS
2804 test -z "$as_dir" && as_dir=.
2805 for ac_exec_ext in '' $ac_executable_extensions; do
2806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2807 ac_cv_prog_AR="${ac_tool_prefix}ar"
2808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 break 2
2811 done
2812 done
2813 IFS=$as_save_IFS
2817 AR=$ac_cv_prog_AR
2818 if test -n "$AR"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2820 $as_echo "$AR" >&6; }
2821 else
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823 $as_echo "no" >&6; }
2828 if test -z "$ac_cv_prog_AR"; then
2829 ac_ct_AR=$AR
2830 # Extract the first word of "ar", so it can be a program name with args.
2831 set dummy ar; ac_word=$2
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2833 $as_echo_n "checking for $ac_word... " >&6; }
2834 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2835 $as_echo_n "(cached) " >&6
2836 else
2837 if test -n "$ac_ct_AR"; then
2838 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2839 else
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 for as_dir in $PATH
2843 IFS=$as_save_IFS
2844 test -z "$as_dir" && as_dir=.
2845 for ac_exec_ext in '' $ac_executable_extensions; do
2846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2847 ac_cv_prog_ac_ct_AR="ar"
2848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 break 2
2851 done
2852 done
2853 IFS=$as_save_IFS
2857 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2858 if test -n "$ac_ct_AR"; then
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2860 $as_echo "$ac_ct_AR" >&6; }
2861 else
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863 $as_echo "no" >&6; }
2866 if test "x$ac_ct_AR" = x; then
2867 AR=""
2868 else
2869 case $cross_compiling:$ac_tool_warned in
2870 yes:)
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2873 ac_tool_warned=yes ;;
2874 esac
2875 AR=$ac_ct_AR
2877 else
2878 AR="$ac_cv_prog_AR"
2883 ac_config_headers="$ac_config_headers config.h"
2886 ac_config_files="$ac_config_files Makefile"
2888 configure_args=$ac_configure_args
2891 cat >confcache <<\_ACEOF
2892 # This file is a shell script that caches the results of configure
2893 # tests run on this system so they can be shared between configure
2894 # scripts and configure runs, see configure's option --config-cache.
2895 # It is not useful on other systems. If it contains results you don't
2896 # want to keep, you may remove or edit it.
2898 # config.status only pays attention to the cache file if you give it
2899 # the --recheck option to rerun configure.
2901 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2902 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2903 # following values.
2905 _ACEOF
2907 # The following way of writing the cache mishandles newlines in values,
2908 # but we know of no workaround that is simple, portable, and efficient.
2909 # So, we kill variables containing newlines.
2910 # Ultrix sh set writes to stderr and can't be redirected directly,
2911 # and sets the high bit in the cache file unless we assign to the vars.
2913 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2914 eval ac_val=\$$ac_var
2915 case $ac_val in #(
2916 *${as_nl}*)
2917 case $ac_var in #(
2918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2920 esac
2921 case $ac_var in #(
2922 _ | IFS | as_nl) ;; #(
2923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2924 *) { eval $ac_var=; unset $ac_var;} ;;
2925 esac ;;
2926 esac
2927 done
2929 (set) 2>&1 |
2930 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2931 *${as_nl}ac_space=\ *)
2932 # `set' does not quote correctly, so add quotes: double-quote
2933 # substitution turns \\\\ into \\, and sed turns \\ into \.
2934 sed -n \
2935 "s/'/'\\\\''/g;
2936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2937 ;; #(
2939 # `set' quotes correctly as required by POSIX, so do not add quotes.
2940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2942 esac |
2943 sort
2945 sed '
2946 /^ac_cv_env_/b end
2947 t clear
2948 :clear
2949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2950 t end
2951 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2952 :end' >>confcache
2953 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2954 if test -w "$cache_file"; then
2955 if test "x$cache_file" != "x/dev/null"; then
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2957 $as_echo "$as_me: updating cache $cache_file" >&6;}
2958 if test ! -f "$cache_file" || test -h "$cache_file"; then
2959 cat confcache >"$cache_file"
2960 else
2961 case $cache_file in #(
2962 */* | ?:*)
2963 mv -f confcache "$cache_file"$$ &&
2964 mv -f "$cache_file"$$ "$cache_file" ;; #(
2966 mv -f confcache "$cache_file" ;;
2967 esac
2970 else
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2972 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2975 rm -f confcache
2977 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2978 # Let make expand exec_prefix.
2979 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2981 DEFS=-DHAVE_CONFIG_H
2983 ac_libobjs=
2984 ac_ltlibobjs=
2986 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2987 # 1. Remove the extension, and $U if already installed.
2988 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2989 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2990 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2991 # will be set to the directory where LIBOBJS objects are built.
2992 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2993 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2994 done
2995 LIBOBJS=$ac_libobjs
2997 LTLIBOBJS=$ac_ltlibobjs
3001 : "${CONFIG_STATUS=./config.status}"
3002 ac_write_fail=0
3003 ac_clean_files_save=$ac_clean_files
3004 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3006 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3007 as_write_fail=0
3008 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3009 #! $SHELL
3010 # Generated by $as_me.
3011 # Run this file to recreate the current configuration.
3012 # Compiler output produced by configure, useful for debugging
3013 # configure, is in config.log if it exists.
3015 debug=false
3016 ac_cs_recheck=false
3017 ac_cs_silent=false
3019 SHELL=\${CONFIG_SHELL-$SHELL}
3020 export SHELL
3021 _ASEOF
3022 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3023 ## -------------------- ##
3024 ## M4sh Initialization. ##
3025 ## -------------------- ##
3027 # Be more Bourne compatible
3028 DUALCASE=1; export DUALCASE # for MKS sh
3029 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3030 emulate sh
3031 NULLCMD=:
3032 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3033 # is contrary to our usage. Disable this feature.
3034 alias -g '${1+"$@"}'='"$@"'
3035 setopt NO_GLOB_SUBST
3036 else
3037 case `(set -o) 2>/dev/null` in #(
3038 *posix*) :
3039 set -o posix ;; #(
3040 *) :
3042 esac
3046 as_nl='
3048 export as_nl
3049 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3050 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3051 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3052 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3053 # Prefer a ksh shell builtin over an external printf program on Solaris,
3054 # but without wasting forks for bash or zsh.
3055 if test -z "$BASH_VERSION$ZSH_VERSION" \
3056 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3057 as_echo='print -r --'
3058 as_echo_n='print -rn --'
3059 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3060 as_echo='printf %s\n'
3061 as_echo_n='printf %s'
3062 else
3063 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3064 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3065 as_echo_n='/usr/ucb/echo -n'
3066 else
3067 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3068 as_echo_n_body='eval
3069 arg=$1;
3070 case $arg in #(
3071 *"$as_nl"*)
3072 expr "X$arg" : "X\\(.*\\)$as_nl";
3073 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3074 esac;
3075 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3077 export as_echo_n_body
3078 as_echo_n='sh -c $as_echo_n_body as_echo'
3080 export as_echo_body
3081 as_echo='sh -c $as_echo_body as_echo'
3084 # The user is always right.
3085 if test "${PATH_SEPARATOR+set}" != set; then
3086 PATH_SEPARATOR=:
3087 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3088 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3089 PATH_SEPARATOR=';'
3094 # IFS
3095 # We need space, tab and new line, in precisely that order. Quoting is
3096 # there to prevent editors from complaining about space-tab.
3097 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3098 # splitting by setting IFS to empty value.)
3099 IFS=" "" $as_nl"
3101 # Find who we are. Look in the path if we contain no directory separator.
3102 as_myself=
3103 case $0 in #((
3104 *[\\/]* ) as_myself=$0 ;;
3105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 for as_dir in $PATH
3108 IFS=$as_save_IFS
3109 test -z "$as_dir" && as_dir=.
3110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3111 done
3112 IFS=$as_save_IFS
3115 esac
3116 # We did not find ourselves, most probably we were run as `sh COMMAND'
3117 # in which case we are not to be found in the path.
3118 if test "x$as_myself" = x; then
3119 as_myself=$0
3121 if test ! -f "$as_myself"; then
3122 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3123 exit 1
3126 # Unset variables that we do not need and which cause bugs (e.g. in
3127 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3128 # suppresses any "Segmentation fault" message there. '((' could
3129 # trigger a bug in pdksh 5.2.14.
3130 for as_var in BASH_ENV ENV MAIL MAILPATH
3131 do eval test x\${$as_var+set} = xset \
3132 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3133 done
3134 PS1='$ '
3135 PS2='> '
3136 PS4='+ '
3138 # NLS nuisances.
3139 LC_ALL=C
3140 export LC_ALL
3141 LANGUAGE=C
3142 export LANGUAGE
3144 # CDPATH.
3145 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3148 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3149 # ----------------------------------------
3150 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3151 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3152 # script with STATUS, using 1 if that was 0.
3153 as_fn_error ()
3155 as_status=$1; test $as_status -eq 0 && as_status=1
3156 if test "$4"; then
3157 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3158 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3160 $as_echo "$as_me: error: $2" >&2
3161 as_fn_exit $as_status
3162 } # as_fn_error
3165 # as_fn_set_status STATUS
3166 # -----------------------
3167 # Set $? to STATUS, without forking.
3168 as_fn_set_status ()
3170 return $1
3171 } # as_fn_set_status
3173 # as_fn_exit STATUS
3174 # -----------------
3175 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3176 as_fn_exit ()
3178 set +e
3179 as_fn_set_status $1
3180 exit $1
3181 } # as_fn_exit
3183 # as_fn_unset VAR
3184 # ---------------
3185 # Portably unset VAR.
3186 as_fn_unset ()
3188 { eval $1=; unset $1;}
3190 as_unset=as_fn_unset
3191 # as_fn_append VAR VALUE
3192 # ----------------------
3193 # Append the text in VALUE to the end of the definition contained in VAR. Take
3194 # advantage of any shell optimizations that allow amortized linear growth over
3195 # repeated appends, instead of the typical quadratic growth present in naive
3196 # implementations.
3197 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3198 eval 'as_fn_append ()
3200 eval $1+=\$2
3202 else
3203 as_fn_append ()
3205 eval $1=\$$1\$2
3207 fi # as_fn_append
3209 # as_fn_arith ARG...
3210 # ------------------
3211 # Perform arithmetic evaluation on the ARGs, and store the result in the
3212 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3213 # must be portable across $(()) and expr.
3214 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3215 eval 'as_fn_arith ()
3217 as_val=$(( $* ))
3219 else
3220 as_fn_arith ()
3222 as_val=`expr "$@" || test $? -eq 1`
3224 fi # as_fn_arith
3227 if expr a : '\(a\)' >/dev/null 2>&1 &&
3228 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3229 as_expr=expr
3230 else
3231 as_expr=false
3234 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3235 as_basename=basename
3236 else
3237 as_basename=false
3240 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3241 as_dirname=dirname
3242 else
3243 as_dirname=false
3246 as_me=`$as_basename -- "$0" ||
3247 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3248 X"$0" : 'X\(//\)$' \| \
3249 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3250 $as_echo X/"$0" |
3251 sed '/^.*\/\([^/][^/]*\)\/*$/{
3252 s//\1/
3255 /^X\/\(\/\/\)$/{
3256 s//\1/
3259 /^X\/\(\/\).*/{
3260 s//\1/
3263 s/.*/./; q'`
3265 # Avoid depending upon Character Ranges.
3266 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3267 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3268 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3269 as_cr_digits='0123456789'
3270 as_cr_alnum=$as_cr_Letters$as_cr_digits
3272 ECHO_C= ECHO_N= ECHO_T=
3273 case `echo -n x` in #(((((
3274 -n*)
3275 case `echo 'xy\c'` in
3276 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3277 xy) ECHO_C='\c';;
3278 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3279 ECHO_T=' ';;
3280 esac;;
3282 ECHO_N='-n';;
3283 esac
3285 rm -f conf$$ conf$$.exe conf$$.file
3286 if test -d conf$$.dir; then
3287 rm -f conf$$.dir/conf$$.file
3288 else
3289 rm -f conf$$.dir
3290 mkdir conf$$.dir 2>/dev/null
3292 if (echo >conf$$.file) 2>/dev/null; then
3293 if ln -s conf$$.file conf$$ 2>/dev/null; then
3294 as_ln_s='ln -s'
3295 # ... but there are two gotchas:
3296 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3297 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3298 # In both cases, we have to default to `cp -pR'.
3299 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3300 as_ln_s='cp -pR'
3301 elif ln conf$$.file conf$$ 2>/dev/null; then
3302 as_ln_s=ln
3303 else
3304 as_ln_s='cp -pR'
3306 else
3307 as_ln_s='cp -pR'
3309 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3310 rmdir conf$$.dir 2>/dev/null
3313 # as_fn_mkdir_p
3314 # -------------
3315 # Create "$as_dir" as a directory, including parents if necessary.
3316 as_fn_mkdir_p ()
3319 case $as_dir in #(
3320 -*) as_dir=./$as_dir;;
3321 esac
3322 test -d "$as_dir" || eval $as_mkdir_p || {
3323 as_dirs=
3324 while :; do
3325 case $as_dir in #(
3326 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3327 *) as_qdir=$as_dir;;
3328 esac
3329 as_dirs="'$as_qdir' $as_dirs"
3330 as_dir=`$as_dirname -- "$as_dir" ||
3331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3332 X"$as_dir" : 'X\(//\)[^/]' \| \
3333 X"$as_dir" : 'X\(//\)$' \| \
3334 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3335 $as_echo X"$as_dir" |
3336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3337 s//\1/
3340 /^X\(\/\/\)[^/].*/{
3341 s//\1/
3344 /^X\(\/\/\)$/{
3345 s//\1/
3348 /^X\(\/\).*/{
3349 s//\1/
3352 s/.*/./; q'`
3353 test -d "$as_dir" && break
3354 done
3355 test -z "$as_dirs" || eval "mkdir $as_dirs"
3356 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3359 } # as_fn_mkdir_p
3360 if mkdir -p . 2>/dev/null; then
3361 as_mkdir_p='mkdir -p "$as_dir"'
3362 else
3363 test -d ./-p && rmdir ./-p
3364 as_mkdir_p=false
3368 # as_fn_executable_p FILE
3369 # -----------------------
3370 # Test if FILE is an executable regular file.
3371 as_fn_executable_p ()
3373 test -f "$1" && test -x "$1"
3374 } # as_fn_executable_p
3375 as_test_x='test -x'
3376 as_executable_p=as_fn_executable_p
3378 # Sed expression to map a string onto a valid CPP name.
3379 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3381 # Sed expression to map a string onto a valid variable name.
3382 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3385 exec 6>&1
3386 ## ----------------------------------- ##
3387 ## Main body of $CONFIG_STATUS script. ##
3388 ## ----------------------------------- ##
3389 _ASEOF
3390 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3393 # Save the log message, to keep $0 and so on meaningful, and to
3394 # report actual input values of CONFIG_FILES etc. instead of their
3395 # values after options handling.
3396 ac_log="
3397 This file was extended by codylib $as_me 0.0, which was
3398 generated by GNU Autoconf 2.69. Invocation command line was
3400 CONFIG_FILES = $CONFIG_FILES
3401 CONFIG_HEADERS = $CONFIG_HEADERS
3402 CONFIG_LINKS = $CONFIG_LINKS
3403 CONFIG_COMMANDS = $CONFIG_COMMANDS
3404 $ $0 $@
3406 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3409 _ACEOF
3411 case $ac_config_files in *"
3412 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3413 esac
3415 case $ac_config_headers in *"
3416 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3417 esac
3420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3421 # Files that config.status was made for.
3422 config_files="$ac_config_files"
3423 config_headers="$ac_config_headers"
3425 _ACEOF
3427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3428 ac_cs_usage="\
3429 \`$as_me' instantiates files and other configuration actions
3430 from templates according to the current configuration. Unless the files
3431 and actions are specified as TAGs, all are instantiated by default.
3433 Usage: $0 [OPTION]... [TAG]...
3435 -h, --help print this help, then exit
3436 -V, --version print version number and configuration settings, then exit
3437 --config print configuration, then exit
3438 -q, --quiet, --silent
3439 do not print progress messages
3440 -d, --debug don't remove temporary files
3441 --recheck update $as_me by reconfiguring in the same conditions
3442 --file=FILE[:TEMPLATE]
3443 instantiate the configuration file FILE
3444 --header=FILE[:TEMPLATE]
3445 instantiate the configuration header FILE
3447 Configuration files:
3448 $config_files
3450 Configuration headers:
3451 $config_headers
3453 Report bugs to <github.com/urnathan/libcody>."
3455 _ACEOF
3456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3457 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3458 ac_cs_version="\\
3459 codylib config.status 0.0
3460 configured by $0, generated by GNU Autoconf 2.69,
3461 with options \\"\$ac_cs_config\\"
3463 Copyright (C) 2012 Free Software Foundation, Inc.
3464 This config.status script is free software; the Free Software Foundation
3465 gives unlimited permission to copy, distribute and modify it."
3467 ac_pwd='$ac_pwd'
3468 srcdir='$srcdir'
3469 test -n "\$AWK" || AWK=awk
3470 _ACEOF
3472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3473 # The default lists apply if the user does not specify any file.
3474 ac_need_defaults=:
3475 while test $# != 0
3477 case $1 in
3478 --*=?*)
3479 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3480 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3481 ac_shift=:
3483 --*=)
3484 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3485 ac_optarg=
3486 ac_shift=:
3489 ac_option=$1
3490 ac_optarg=$2
3491 ac_shift=shift
3493 esac
3495 case $ac_option in
3496 # Handling of the options.
3497 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3498 ac_cs_recheck=: ;;
3499 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3500 $as_echo "$ac_cs_version"; exit ;;
3501 --config | --confi | --conf | --con | --co | --c )
3502 $as_echo "$ac_cs_config"; exit ;;
3503 --debug | --debu | --deb | --de | --d | -d )
3504 debug=: ;;
3505 --file | --fil | --fi | --f )
3506 $ac_shift
3507 case $ac_optarg in
3508 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3509 '') as_fn_error $? "missing file argument" ;;
3510 esac
3511 as_fn_append CONFIG_FILES " '$ac_optarg'"
3512 ac_need_defaults=false;;
3513 --header | --heade | --head | --hea )
3514 $ac_shift
3515 case $ac_optarg in
3516 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3517 esac
3518 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3519 ac_need_defaults=false;;
3520 --he | --h)
3521 # Conflict between --help and --header
3522 as_fn_error $? "ambiguous option: \`$1'
3523 Try \`$0 --help' for more information.";;
3524 --help | --hel | -h )
3525 $as_echo "$ac_cs_usage"; exit ;;
3526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3527 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3528 ac_cs_silent=: ;;
3530 # This is an error.
3531 -*) as_fn_error $? "unrecognized option: \`$1'
3532 Try \`$0 --help' for more information." ;;
3534 *) as_fn_append ac_config_targets " $1"
3535 ac_need_defaults=false ;;
3537 esac
3538 shift
3539 done
3541 ac_configure_extra_args=
3543 if $ac_cs_silent; then
3544 exec 6>/dev/null
3545 ac_configure_extra_args="$ac_configure_extra_args --silent"
3548 _ACEOF
3549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3550 if \$ac_cs_recheck; then
3551 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3552 shift
3553 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3554 CONFIG_SHELL='$SHELL'
3555 export CONFIG_SHELL
3556 exec "\$@"
3559 _ACEOF
3560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3561 exec 5>>config.log
3563 echo
3564 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3565 ## Running $as_me. ##
3566 _ASBOX
3567 $as_echo "$ac_log"
3568 } >&5
3570 _ACEOF
3571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3572 _ACEOF
3574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3576 # Handling of arguments.
3577 for ac_config_target in $ac_config_targets
3579 case $ac_config_target in
3580 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3581 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3583 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3584 esac
3585 done
3588 # If the user did not use the arguments to specify the items to instantiate,
3589 # then the envvar interface is used. Set only those that are not.
3590 # We use the long form for the default assignment because of an extremely
3591 # bizarre bug on SunOS 4.1.3.
3592 if $ac_need_defaults; then
3593 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3594 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3597 # Have a temporary directory for convenience. Make it in the build tree
3598 # simply because there is no reason against having it here, and in addition,
3599 # creating and moving files from /tmp can sometimes cause problems.
3600 # Hook for its removal unless debugging.
3601 # Note that there is a small window in which the directory will not be cleaned:
3602 # after its creation but before its name has been assigned to `$tmp'.
3603 $debug ||
3605 tmp= ac_tmp=
3606 trap 'exit_status=$?
3607 : "${ac_tmp:=$tmp}"
3608 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3610 trap 'as_fn_exit 1' 1 2 13 15
3612 # Create a (secure) tmp directory for tmp files.
3615 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3616 test -d "$tmp"
3617 } ||
3619 tmp=./conf$$-$RANDOM
3620 (umask 077 && mkdir "$tmp")
3621 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3622 ac_tmp=$tmp
3624 # Set up the scripts for CONFIG_FILES section.
3625 # No need to generate them if there are no CONFIG_FILES.
3626 # This happens for instance with `./config.status config.h'.
3627 if test -n "$CONFIG_FILES"; then
3630 ac_cr=`echo X | tr X '\015'`
3631 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3632 # But we know of no other shell where ac_cr would be empty at this
3633 # point, so we can use a bashism as a fallback.
3634 if test "x$ac_cr" = x; then
3635 eval ac_cr=\$\'\\r\'
3637 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3638 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3639 ac_cs_awk_cr='\\r'
3640 else
3641 ac_cs_awk_cr=$ac_cr
3644 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3645 _ACEOF
3649 echo "cat >conf$$subs.awk <<_ACEOF" &&
3650 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3651 echo "_ACEOF"
3652 } >conf$$subs.sh ||
3653 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3654 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3655 ac_delim='%!_!# '
3656 for ac_last_try in false false false false false :; do
3657 . ./conf$$subs.sh ||
3658 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3660 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3661 if test $ac_delim_n = $ac_delim_num; then
3662 break
3663 elif $ac_last_try; then
3664 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3665 else
3666 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3668 done
3669 rm -f conf$$subs.sh
3671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3672 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3673 _ACEOF
3674 sed -n '
3676 s/^/S["/; s/!.*/"]=/
3679 s/^[^!]*!//
3680 :repl
3681 t repl
3682 s/'"$ac_delim"'$//
3683 t delim
3686 s/\(.\{148\}\)..*/\1/
3687 t more1
3688 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3691 b repl
3692 :more1
3693 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3696 s/.\{148\}//
3697 t nl
3698 :delim
3700 s/\(.\{148\}\)..*/\1/
3701 t more2
3702 s/["\\]/\\&/g; s/^/"/; s/$/"/
3705 :more2
3706 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3709 s/.\{148\}//
3710 t delim
3711 ' <conf$$subs.awk | sed '
3712 /^[^""]/{
3714 s/\n//
3716 ' >>$CONFIG_STATUS || ac_write_fail=1
3717 rm -f conf$$subs.awk
3718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3719 _ACAWK
3720 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3721 for (key in S) S_is_set[key] = 1
3722 FS = "\a"
3726 line = $ 0
3727 nfields = split(line, field, "@")
3728 substed = 0
3729 len = length(field[1])
3730 for (i = 2; i < nfields; i++) {
3731 key = field[i]
3732 keylen = length(key)
3733 if (S_is_set[key]) {
3734 value = S[key]
3735 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3736 len += length(value) + length(field[++i])
3737 substed = 1
3738 } else
3739 len += 1 + keylen
3742 print line
3745 _ACAWK
3746 _ACEOF
3747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3748 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3749 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3750 else
3752 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3753 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3754 _ACEOF
3756 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3757 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3758 # trailing colons and then remove the whole line if VPATH becomes empty
3759 # (actually we leave an empty line to preserve line numbers).
3760 if test "x$srcdir" = x.; then
3761 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3763 s///
3764 s/^/:/
3765 s/[ ]*$/:/
3766 s/:\$(srcdir):/:/g
3767 s/:\${srcdir}:/:/g
3768 s/:@srcdir@:/:/g
3769 s/^:*//
3770 s/:*$//
3772 s/\(=[ ]*\).*/\1/
3774 s/\n//
3775 s/^[^=]*=[ ]*$//
3779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3780 fi # test -n "$CONFIG_FILES"
3782 # Set up the scripts for CONFIG_HEADERS section.
3783 # No need to generate them if there are no CONFIG_HEADERS.
3784 # This happens for instance with `./config.status Makefile'.
3785 if test -n "$CONFIG_HEADERS"; then
3786 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
3787 BEGIN {
3788 _ACEOF
3790 # Transform confdefs.h into an awk script `defines.awk', embedded as
3791 # here-document in config.status, that substitutes the proper values into
3792 # config.h.in to produce config.h.
3794 # Create a delimiter string that does not exist in confdefs.h, to ease
3795 # handling of long lines.
3796 ac_delim='%!_!# '
3797 for ac_last_try in false false :; do
3798 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
3799 if test -z "$ac_tt"; then
3800 break
3801 elif $ac_last_try; then
3802 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3803 else
3804 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3806 done
3808 # For the awk script, D is an array of macro values keyed by name,
3809 # likewise P contains macro parameters if any. Preserve backslash
3810 # newline sequences.
3812 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3813 sed -n '
3814 s/.\{148\}/&'"$ac_delim"'/g
3815 t rset
3816 :rset
3817 s/^[ ]*#[ ]*define[ ][ ]*/ /
3818 t def
3820 :def
3821 s/\\$//
3822 t bsnl
3823 s/["\\]/\\&/g
3824 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3825 D["\1"]=" \3"/p
3826 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
3828 :bsnl
3829 s/["\\]/\\&/g
3830 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3831 D["\1"]=" \3\\\\\\n"\\/p
3832 t cont
3833 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3834 t cont
3836 :cont
3838 s/.\{148\}/&'"$ac_delim"'/g
3839 t clear
3840 :clear
3841 s/\\$//
3842 t bsnlc
3843 s/["\\]/\\&/g; s/^/"/; s/$/"/p
3845 :bsnlc
3846 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3847 b cont
3848 ' <confdefs.h | sed '
3849 s/'"$ac_delim"'/"\\\
3850 "/g' >>$CONFIG_STATUS || ac_write_fail=1
3852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3853 for (key in D) D_is_set[key] = 1
3854 FS = "\a"
3856 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3857 line = \$ 0
3858 split(line, arg, " ")
3859 if (arg[1] == "#") {
3860 defundef = arg[2]
3861 mac1 = arg[3]
3862 } else {
3863 defundef = substr(arg[1], 2)
3864 mac1 = arg[2]
3866 split(mac1, mac2, "(") #)
3867 macro = mac2[1]
3868 prefix = substr(line, 1, index(line, defundef) - 1)
3869 if (D_is_set[macro]) {
3870 # Preserve the white space surrounding the "#".
3871 print prefix "define", macro P[macro] D[macro]
3872 next
3873 } else {
3874 # Replace #undef with comments. This is necessary, for example,
3875 # in the case of _POSIX_SOURCE, which is predefined and required
3876 # on some systems where configure will not decide to define it.
3877 if (defundef == "undef") {
3878 print "/*", prefix defundef, macro, "*/"
3879 next
3883 { print }
3884 _ACAWK
3885 _ACEOF
3886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3887 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
3888 fi # test -n "$CONFIG_HEADERS"
3891 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
3892 shift
3893 for ac_tag
3895 case $ac_tag in
3896 :[FHLC]) ac_mode=$ac_tag; continue;;
3897 esac
3898 case $ac_mode$ac_tag in
3899 :[FHL]*:*);;
3900 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3901 :[FH]-) ac_tag=-:-;;
3902 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3903 esac
3904 ac_save_IFS=$IFS
3905 IFS=:
3906 set x $ac_tag
3907 IFS=$ac_save_IFS
3908 shift
3909 ac_file=$1
3910 shift
3912 case $ac_mode in
3913 :L) ac_source=$1;;
3914 :[FH])
3915 ac_file_inputs=
3916 for ac_f
3918 case $ac_f in
3919 -) ac_f="$ac_tmp/stdin";;
3920 *) # Look for the file first in the build tree, then in the source tree
3921 # (if the path is not absolute). The absolute path cannot be DOS-style,
3922 # because $ac_f cannot contain `:'.
3923 test -f "$ac_f" ||
3924 case $ac_f in
3925 [\\/$]*) false;;
3926 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3927 esac ||
3928 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3929 esac
3930 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3931 as_fn_append ac_file_inputs " '$ac_f'"
3932 done
3934 # Let's still pretend it is `configure' which instantiates (i.e., don't
3935 # use $as_me), people would be surprised to read:
3936 # /* config.h. Generated by config.status. */
3937 configure_input='Generated from '`
3938 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3939 `' by configure.'
3940 if test x"$ac_file" != x-; then
3941 configure_input="$ac_file. $configure_input"
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3943 $as_echo "$as_me: creating $ac_file" >&6;}
3945 # Neutralize special characters interpreted by sed in replacement strings.
3946 case $configure_input in #(
3947 *\&* | *\|* | *\\* )
3948 ac_sed_conf_input=`$as_echo "$configure_input" |
3949 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3950 *) ac_sed_conf_input=$configure_input;;
3951 esac
3953 case $ac_tag in
3954 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3955 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3956 esac
3958 esac
3960 ac_dir=`$as_dirname -- "$ac_file" ||
3961 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3962 X"$ac_file" : 'X\(//\)[^/]' \| \
3963 X"$ac_file" : 'X\(//\)$' \| \
3964 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3965 $as_echo X"$ac_file" |
3966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3967 s//\1/
3970 /^X\(\/\/\)[^/].*/{
3971 s//\1/
3974 /^X\(\/\/\)$/{
3975 s//\1/
3978 /^X\(\/\).*/{
3979 s//\1/
3982 s/.*/./; q'`
3983 as_dir="$ac_dir"; as_fn_mkdir_p
3984 ac_builddir=.
3986 case "$ac_dir" in
3987 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3989 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3990 # A ".." for each directory in $ac_dir_suffix.
3991 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3992 case $ac_top_builddir_sub in
3993 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3994 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3995 esac ;;
3996 esac
3997 ac_abs_top_builddir=$ac_pwd
3998 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3999 # for backward compatibility:
4000 ac_top_builddir=$ac_top_build_prefix
4002 case $srcdir in
4003 .) # We are building in place.
4004 ac_srcdir=.
4005 ac_top_srcdir=$ac_top_builddir_sub
4006 ac_abs_top_srcdir=$ac_pwd ;;
4007 [\\/]* | ?:[\\/]* ) # Absolute name.
4008 ac_srcdir=$srcdir$ac_dir_suffix;
4009 ac_top_srcdir=$srcdir
4010 ac_abs_top_srcdir=$srcdir ;;
4011 *) # Relative name.
4012 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4013 ac_top_srcdir=$ac_top_build_prefix$srcdir
4014 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4015 esac
4016 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4019 case $ac_mode in
4022 # CONFIG_FILE
4025 _ACEOF
4027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4028 # If the template does not know about datarootdir, expand it.
4029 # FIXME: This hack should be removed a few years after 2.60.
4030 ac_datarootdir_hack=; ac_datarootdir_seen=
4031 ac_sed_dataroot='
4032 /datarootdir/ {
4036 /@datadir@/p
4037 /@docdir@/p
4038 /@infodir@/p
4039 /@localedir@/p
4040 /@mandir@/p'
4041 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4042 *datarootdir*) ac_datarootdir_seen=yes;;
4043 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4045 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4046 _ACEOF
4047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4048 ac_datarootdir_hack='
4049 s&@datadir@&$datadir&g
4050 s&@docdir@&$docdir&g
4051 s&@infodir@&$infodir&g
4052 s&@localedir@&$localedir&g
4053 s&@mandir@&$mandir&g
4054 s&\\\${datarootdir}&$datarootdir&g' ;;
4055 esac
4056 _ACEOF
4058 # Neutralize VPATH when `$srcdir' = `.'.
4059 # Shell code in configure.ac might set extrasub.
4060 # FIXME: do we really want to maintain this feature?
4061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4062 ac_sed_extra="$ac_vpsub
4063 $extrasub
4064 _ACEOF
4065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4068 s|@configure_input@|$ac_sed_conf_input|;t t
4069 s&@top_builddir@&$ac_top_builddir_sub&;t t
4070 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4071 s&@srcdir@&$ac_srcdir&;t t
4072 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4073 s&@top_srcdir@&$ac_top_srcdir&;t t
4074 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4075 s&@builddir@&$ac_builddir&;t t
4076 s&@abs_builddir@&$ac_abs_builddir&;t t
4077 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4078 $ac_datarootdir_hack
4080 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4081 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4083 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4084 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4085 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4086 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4088 which seems to be undefined. Please make sure it is defined" >&5
4089 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4090 which seems to be undefined. Please make sure it is defined" >&2;}
4092 rm -f "$ac_tmp/stdin"
4093 case $ac_file in
4094 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4095 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4096 esac \
4097 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4101 # CONFIG_HEADER
4103 if test x"$ac_file" != x-; then
4105 $as_echo "/* $configure_input */" \
4106 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4107 } >"$ac_tmp/config.h" \
4108 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4109 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4111 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4112 else
4113 rm -f "$ac_file"
4114 mv "$ac_tmp/config.h" "$ac_file" \
4115 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4117 else
4118 $as_echo "/* $configure_input */" \
4119 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4120 || as_fn_error $? "could not create -" "$LINENO" 5
4125 esac
4127 done # for ac_tag
4130 as_fn_exit 0
4131 _ACEOF
4132 ac_clean_files=$ac_clean_files_save
4134 test $ac_write_fail = 0 ||
4135 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4138 # configure is writing to config.log, and then calls config.status.
4139 # config.status does its own redirection, appending to config.log.
4140 # Unfortunately, on DOS this fails, as config.log is still kept open
4141 # by configure, so config.status won't be able to write to it; its
4142 # output is simply discarded. So we exec the FD to /dev/null,
4143 # effectively closing config.log, so it can be properly (re)opened and
4144 # appended to by config.status. When coming back to configure, we
4145 # need to make the FD available again.
4146 if test "$no_create" != yes; then
4147 ac_cs_success=:
4148 ac_config_status_args=
4149 test "$silent" = yes &&
4150 ac_config_status_args="$ac_config_status_args --quiet"
4151 exec 5>/dev/null
4152 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4153 exec 5>>config.log
4154 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4155 # would make configure fail if this is the last instruction.
4156 $ac_cs_success || as_fn_exit 1
4158 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4160 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}