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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 ||
:
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.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || 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 :
206 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
211 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir
=.
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 :
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
239 if test "x$CONFIG_SHELL" != x
; then :
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.
247 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
249 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
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."
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."
278 SHELL
=${CONFIG_SHELL-/bin/sh}
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 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir
=.
/$as_dir;;
323 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
327 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
357 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
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
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
376 eval 'as_fn_append ()
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 :
400 as_val
=`expr "$@" || test $? -eq 1`
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.
412 as_status
=$1; test $as_status -eq 0 && as_status
=1
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
421 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
428 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
440 as_me
=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
498 # Exit status is that of the last command.
502 ECHO_C
= ECHO_N
= ECHO_T
=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
515 rm -f conf$$ conf$$.exe conf$$.
file
516 if test -d conf$$.dir
; then
517 rm -f conf$$.dir
/conf$$.
file
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
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 ||
531 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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"'
545 test -d .
/-p && rmdir .
/-p
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
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`
570 ac_default_prefix
=/usr
/local
572 ac_config_libobj_dir
=.
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'
587 ac_unique_file
="cody.hh"
588 ac_subst_vars
='LTLIBOBJS
641 program_transform_name
654 enable_option_checking
655 enable_maintainer_mode
662 ac_precious_vars
='build_alias
673 # Initialize some variables set by options.
675 ac_init_version
=false
676 ac_unrecognized_opts
=
678 # The variables have the same names as the options, with
679 # dashes changed to underlines.
687 program_transform_name
=s
,x
,x
,
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'
717 libdir
='${exec_prefix}/lib'
718 localedir
='${datarootdir}/locale'
719 mandir
='${datarootdir}/man'
725 # If the previous option needs an argument, assign it.
726 if test -n "$ac_prev"; then
727 eval $ac_prev=\
$ac_option
733 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
738 # Accept the important Cygnus configure options, so we can diagnose typos.
740 case $ac_dashdash$ac_option in
744 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
746 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
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 ;;
762 cache_file
=config.cache
;;
764 -datadir |
--datadir |
--datadi |
--datad)
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
787 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
788 ac_unrecognized_sep
=', ';;
790 eval enable_
$ac_useropt=no
;;
792 -docdir |
--docdir |
--docdi |
--doc |
--do)
794 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
797 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
799 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
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
813 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
814 ac_unrecognized_sep
=', ';;
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.
831 -help |
--help |
--hel |
--he |
-h)
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)
845 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
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)
858 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
859 infodir
=$ac_optarg ;;
861 -libdir |
--libdir |
--libdi |
--libd)
863 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
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)
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)
887 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
891 # Obsolete; use --without-fp.
894 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
895 |
--no-cr |
--no-c |
-n)
898 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
899 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
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)
913 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
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)
949 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
952 -psdir |
--psdir |
--psdi |
--psd |
--ps)
954 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
957 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
958 |
-silent |
--silent |
--silen |
--sile |
--sil)
961 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
963 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
965 sbindir
=$ac_optarg ;;
967 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
968 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
969 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
971 ac_prev
=sharedstatedir
;;
972 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
973 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
974 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
976 sharedstatedir
=$ac_optarg ;;
978 -site |
--site |
--sit)
980 -site=* |
--site=* |
--sit=*)
983 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
985 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
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)
1003 -version |
--version |
--versio |
--versi |
--vers |
-V)
1004 ac_init_version
=: ;;
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
1017 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1018 ac_unrecognized_sep
=', ';;
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
1033 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1034 ac_unrecognized_sep
=', ';;
1036 eval with_
$ac_useropt=no
;;
1039 # Obsolete; use --with-x.
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"
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'" ;;
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}"
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
1089 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1090 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
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.
1104 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1105 eval $ac_var=\
$ac_val;;
1107 # Be sure to have absolute directory names.
1109 [\\/$
]* | ?
:[\\/]* ) continue;;
1110 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1112 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
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.
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
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173 if test ! -r "$srcdir/$ac_unique_file"; then
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"
1185 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1187 # When building in place, set srcdir=.
1188 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1195 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
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.
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.
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
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]
1269 --build=BUILD configure
for building on BUILD
[guessed
]
1270 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1274 if test -n "$ac_init_help"; then
1275 case $ac_init_help in
1276 short | recursive
) echo "Configuration of codylib 0.0:";;
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
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
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
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>.
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"; } ||
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/ ;;
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
1343 .) # We are building in place.
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 ;;
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 ;;
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
1362 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1363 elif test -f "$ac_srcdir/configure"; then
1365 $SHELL "$ac_srcdir/configure" --help=recursive
1367 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1369 cd "$ac_pwd" || { ac_status=$?; break; }
1373 test -n "$ac_init_help" && exit $ac_status
1374 if $ac_init_version; then
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.
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"
1399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1400 *) ac_try_echo
=$ac_try;;
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
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 :
1418 $as_echo "$as_me: failed program was:" >&5
1419 sed 's/^/| /' conftest.
$ac_ext >&5
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"
1437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1438 *) ac_try_echo=$ac_try;;
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
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
1459 $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.$ac_ext >&5
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
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
`
1509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1513 test -z "$as_dir" && as_dir=.
1514 $as_echo "PATH: $as_dir"
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.
1538 ac_must_keep_next=false
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)
1549 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
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.
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 ;;
1567 -* ) ac_must_keep_next=true ;;
1570 as_fn_append ac_configure_args " '$ac_arg'"
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.
1588 $as_echo "## ---------------- ##
1589 ## Cache variables. ##
1590 ## ---------------- ##"
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
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;} ;;
1603 _ | IFS | as_nl) ;; #(
1604 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1605 *) { eval $ac_var=; unset $ac_var;} ;;
1610 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1611 *${as_nl}ac_space=\ *)
1613 "s/'\''/'\''\\\\'\'''\''/g;
1614 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1617 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1624 $as_echo "## ----------------- ##
1625 ## Output variables. ##
1626 ## ----------------- ##"
1628 for ac_var in $ac_subst_vars
1630 eval ac_val=\$$ac_var
1632 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 $as_echo "$ac_var='\''$ac_val'\''"
1638 if test -n "$ac_subst_files"; then
1639 $as_echo "## ------------------- ##
1640 ## File substitutions. ##
1641 ## ------------------- ##"
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1647 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 $as_echo "$ac_var='\''$ac_val'\''"
1654 if test -s confdefs.h; then
1655 $as_echo "## ----------- ##
1662 test "$ac_signal" != 0 &&
1663 $as_echo "$as_me: caught signal $ac_signal"
1664 $as_echo "$as_me: exit $exit_status"
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 for ac_signal in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
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"
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1698 cat >>confdefs.h <<_ACEOF
1699 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_URL "$PACKAGE_URL"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer an explicitly selected file to automatically selected ones.
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;;
1718 elif test "x$prefix" != xNONE; then
1719 ac_site_file1=$prefix/share/config.site
1720 ac_site_file2=$prefix/etc/config.site
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
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; }
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;}
1747 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1748 *) . "./$cache_file";;
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1753 $as_echo "$as_me: creating cache $cache_file" >&6;}
1757 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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;}
1795 # Pass precious variables to config.status.
1796 if test "$ac_new_set" = set; then
1798 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1799 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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 ## -------------------- ##
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
1846 for ac_dir in .. "$srcdir"/..; do
1847 if test -f "$ac_dir/install-sh"; then
1849 ac_install_sh="$ac_aux_dir/install-sh -c"
1851 elif test -f "$ac_dir/install.sh"; then
1853 ac_install_sh="$ac_aux_dir/install.sh -c"
1855 elif test -f "$ac_dir/shtool"; then
1857 ac_install_sh="$ac_aux_dir/shtool install -c"
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
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
1898 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1901 ac_save_IFS=$IFS; IFS='-'
1907 # Remember, the first character of IFS is used to create $*,
1908 # except with old shells:
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
1919 if test "x$host_alias" = x; then
1920 ac_cv_host=$ac_cv_build
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; }
1931 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1934 ac_save_IFS=$IFS; IFS='-'
1940 # Remember, the first character of IFS is used to create $*,
1941 # except with old shells:
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;
1952 enable_maintainer_mode=no
1955 case $enable_maintainer_mode in #(
1957 maintainer_mode=yes ;; #(
1961 as_fn_error $? "unknown maintainer mode $enable_maintainer_mode" "$LINENO" 5 ;;
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
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1981 $as_echo "$CXX" >&6; }
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
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
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
2010 if test -n "$CXX"; then
2011 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2031 if test -n "$CXX"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2033 $as_echo "$CXX" >&6; }
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2036 $as_echo "no" >&6; }
2040 test -n "$CXX" && break
2043 if test -z "$CXX"; then
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
2054 if test -n "$ac_ct_CXX"; then
2055 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2080 $as_echo "no" >&6; }
2084 test -n "$ac_ct_CXX" && break
2087 if test "x$ac_ct_CXX" = x; then
2090 case $cross_compiling:$ac_tool_warned in
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 ;;
2102 # Provide some information about the compiler.
2103 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2106 for ac_option in --version -v -V -qversion; do
2107 { { ac_try="$ac_compiler $ac_option >&5"
2109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2110 *) ac_try_echo
=$ac_try;;
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
2116 if test -s conftest.err
; then
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; }
2127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
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
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.*"
2151 for ac_file
in $ac_files
2154 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2155 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2160 if { { ac_try
="$ac_link_default"
2162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2163 *) ac_try_echo=$ac_try;;
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
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
2176 for ac_file in $ac_files ''
2178 test -f "$ac_file" || continue
2180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2183 # We found the default executable, but exeext='' is most
2187 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
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
2201 test "$ac_cv_exeext" = no && ac_cv_exeext=
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; }
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"
2232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2233 *) ac_try_echo=$ac_try;;
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
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
2245 for ac_file
in conftest.exe conftest conftest.
*; do
2246 test -f "$ac_file" ||
continue
2248 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2249 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
2267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2273 FILE *f = fopen ("conftest.out", "w");
2274 return ferror (f) || fclose (f) != 0;
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"
2288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2289 *) ac_try_echo=$ac_try;;
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
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;;
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
2306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307 test $ac_status = 0; }; }; then
2310 if test "$cross_compiling" = maybe
; then
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
2331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2332 /* end confdefs.h. */
2342 rm -f conftest.o conftest.obj
2343 if { { ac_try
="$ac_compile"
2345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2346 *) ac_try_echo=$ac_try;;
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
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;
2357 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2358 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
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
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
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2383 /* end confdefs.h. */
2396 if ac_fn_cxx_try_compile "$LINENO"; then :
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
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
2419 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2420 ac_cxx_werror_flag=yes
2423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424 /* end confdefs.h. */
2434 if ac_fn_cxx_try_compile "$LINENO"; then :
2435 ac_cv_prog_cxx_g=yes
2438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439 /* end confdefs.h. */
2449 if ac_fn_cxx_try_compile "$LINENO"; then :
2452 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
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
2486 if test "$GXX" = yes; then
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"
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; }
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"
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; }
2542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2543 /* end confdefs.h. */
2545 #if __cplusplus > 201103
2546 #error "C++11 is required"
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; }
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
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. */
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; }
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
2598 # Enable expensive internal checks
2600 if test -d $srcdir/../gcc \
2601 && test -f $srcdir/../gcc/DEV-PHASE \
2602 && test x"`cat $srcdir/..
/gcc
/DEV-PHASE
`" != xexperimental; then
2606 # Check whether --enable-checking was given.
2607 if test "${enable_checking+set}" = set; then :
2608 enableval=$enable_checking; ac_checking_flags="${enableval}"
2611 # Determine the default checks.
2612 if test x$is_release = x ; then
2613 ac_checking_flags=yes
2615 ac_checking_flags=release
2619 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS,"
2620 for check in release $ac_checking_flags
2623 yes|all|misc) ac_checking=1 ;;
2624 no|none|release) ac_checking= ;;
2631 if test x$ac_checking != x ; then
2633 $as_echo "#define NMS_CHECKING 1" >>confdefs.h
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
2658 elif test x$enable_host_pie = xyes; then
2664 if test x$enable_host_pie = xyes; then
2673 # Check whether --enable-exceptions was given.
2674 if test "${enable_exceptions+set}" = set; then :
2675 enableval=$enable_exceptions;
2677 enable_exceptions="no"
2680 case $enable_exceptions in #(
2682 nms_exceptions=yes ;; #(
2684 nms_exceptions=no ;; #(
2686 as_fn_error $? "unknown exceptions $enable_exceptions" "$LINENO" 5 ;;
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
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
2705 if test -n "$RANLIB"; then
2706 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
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
2745 if test -n "$ac_ct_RANLIB"; then
2746 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
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
2777 case $cross_compiling:$ac_tool_warned in
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 ;;
2783 RANLIB=$ac_ct_RANLIB
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
2797 if test -n "$AR"; then
2798 ac_cv_prog_AR="$AR" # Let the user override the test.
2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2818 if test -n "$AR"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2820 $as_echo "$AR" >&6; }
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
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
2837 if test -n "$ac_ct_AR"; then
2838 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
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
2869 case $cross_compiling:$ac_tool_warned in
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 ;;
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
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
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;} ;;
2922 _ | IFS | as_nl
) ;; #(
2923 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2924 *) { eval $ac_var=; unset $ac_var;} ;;
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 \.
2936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2939 # `set' quotes correctly as required by POSIX, so do not add quotes.
2940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2951 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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"
2961 case $cache_file in #(
2963 mv -f confcache
"$cache_file"$$
&&
2964 mv -f "$cache_file"$$
"$cache_file" ;; #(
2966 mv -f confcache
"$cache_file" ;;
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;}
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
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'
2997 LTLIBOBJS
=$ac_ltlibobjs
3001 : "${CONFIG_STATUS=./config.status}"
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;}
3008 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
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.
3019 SHELL=\${CONFIG_SHELL-$SHELL}
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 :
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
3037 case `(set -o) 2>/dev/null` in #(
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
'
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'
3067 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3068 as_echo_n_body='eval
3072 expr "X$arg" : "X\\(.*\\)$as_nl";
3073 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
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
'
3081 as_echo='sh
-c $as_echo_body as_echo
'
3084 # The user is always right.
3085 if test "${PATH_SEPARATOR+set}" != set; then
3087 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3088 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
3101 # Find who we are. Look in the path if we contain no directory separator.
3104 *[\\/]* ) as_myself=$0 ;;
3105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir=.
3110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
3121 if test ! -f "$as_myself"; then
3122 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 ||
:
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.
3155 as_status
=$1; test $as_status -eq 0 && as_status
=1
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
3165 # as_fn_set_status STATUS
3166 # -----------------------
3167 # Set $? to STATUS, without forking.
3171 } # as_fn_set_status
3175 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3185 # Portably unset VAR.
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
3197 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3198 eval '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 ()
3222 as_val
=`expr "$@" || test $? -eq 1`
3227 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3228 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3234 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3235 as_basename
=basename
3240 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3246 as_me
=`$as_basename -- "$0" ||
3247 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3248 X"$0" : 'X\(//\)$' \| \
3249 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3251 sed '/^.*\/\([^/][^/]*\)\/*$/{
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 #(((((
3275 case `echo 'xy\c'` in
3276 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3278 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3285 rm -f conf$$ conf$$.exe conf$$.
file
3286 if test -d conf$$.dir
; then
3287 rm -f conf$$.dir
/conf$$.
file
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
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 ||
3301 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3309 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3310 rmdir conf$$.dir
2>/dev
/null
3315 # Create "$as_dir" as a directory, including parents if necessary.
3320 -*) as_dir
=.
/$as_dir;;
3322 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3326 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3327 *) as_qdir
=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3353 test -d "$as_dir" && break
3355 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3356 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3360 if mkdir
-p .
2>/dev
/null
; then
3361 as_mkdir_p
='mkdir -p "$as_dir"'
3363 test -d .
/-p && rmdir .
/-p
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
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'"
3386 ## ----------------------------------- ##
3387 ## Main body of $CONFIG_STATUS script. ##
3388 ## ----------------------------------- ##
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.
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
3406 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3411 case $ac_config_files in *"
3412 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3415 case $ac_config_headers in *"
3416 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
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"
3427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
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:
3450 Configuration headers:
3453 Report bugs to <github.com/urnathan/libcody>."
3456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3457 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
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."
3469 test -n "\$AWK" || AWK=awk
3472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3473 # The default lists apply if the user does not specify any file.
3479 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3480 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3484 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3496 # Handling of the options.
3497 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
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 )
3505 --file |
--fil |
--fi |
--f )
3508 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3509 '') as_fn_error $?
"missing file argument" ;;
3511 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3512 ac_need_defaults
=false
;;
3513 --header |
--heade |
--head |
--hea )
3516 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3518 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
3519 ac_need_defaults
=false
;;
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)
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
;;
3541 ac_configure_extra_args
=
3543 if $ac_cs_silent; then
3545 ac_configure_extra_args
="$ac_configure_extra_args --silent"
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
3553 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3554 CONFIG_SHELL='$SHELL'
3560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3564 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3565 ## Running $as_me. ##
3571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
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;;
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'.
3606 trap 'exit_status=$?
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` &&
3619 tmp
=.
/conf$$
-$RANDOM
3620 (umask 077 && mkdir
"$tmp")
3621 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
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
3644 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3649 echo "cat >conf$$subs.awk <<_ACEOF" &&
3650 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3653 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3654 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
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
3663 elif $ac_last_try; then
3664 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3666 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3672 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
3676 s/^/S["/; s
/!.
*/"]=/
3686 s/\(.\{148\}\)..*/\1/
3688 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3693 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3700 s/\(.\{148\}\)..*/\1/
3702 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3706 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3711 ' <conf$$subs.awk | sed '
3716 ' >>$CONFIG_STATUS || ac_write_fail=1
3717 rm -f conf$$subs.awk
3718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3720 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
3721 for (key in S) S_is_set[key] = 1
3727 nfields = split(line, field, "@
")
3729 len = length(field[1])
3730 for (i = 2; i < nfields; i++) {
3732 keylen = length(key)
3733 if (S_is_set[key]) {
3735 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3736 len += length(value) + length(field[++i])
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
"
3752 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
3753 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
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[ ]*=[ ]*/{
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 ||
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.
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
3801 elif $ac_last_try; then
3802 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
3804 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
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]*
3814 s/.\{148\}/&'"$ac_delim"'/g
3817 s/^[ ]*#[ ]*define[ ][ ]*/ /
3824 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
3826 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
3830 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
3831 D["\
1"]=" \
3\\\\\\n
"\\/p
3833 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
3838 s/.\{148\}/&'"$ac_delim"'/g
3843 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
3846 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
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
3856 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3858 split(line, arg, " ")
3859 if (arg[1] == "#") {
3863 defundef
= substr
(arg
[1], 2)
3866 split(mac1
, mac2
, "(") #)
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
]
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
, "*/"
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 "
3896 :[FHLC
]) ac_mode
=$ac_tag; continue;;
3898 case $ac_mode$ac_tag in
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;;
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 `:'.
3926 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
3928 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3930 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3931 as_fn_append ac_file_inputs
" '$ac_f'"
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'
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;;
3954 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
3955 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3983 as_dir
="$ac_dir"; as_fn_mkdir_p
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/ ;;
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
4003 .
) # We are building in place.
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 ;;
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 ;;
4016 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
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
=
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;}
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' ;;
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
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"
4094 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4095 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4097 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
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;}
4114 mv "$ac_tmp/config.h" "$ac_file" \
4115 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
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
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
4148 ac_config_status_args
=
4149 test "$silent" = yes &&
4150 ac_config_status_args
="$ac_config_status_args --quiet"
4152 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
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;}