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
642 program_transform_name
655 enable_option_checking
657 enable_maintainer_mode
663 ac_precious_vars
='build_alias
674 # Initialize some variables set by options.
676 ac_init_version
=false
677 ac_unrecognized_opts
=
679 # The variables have the same names as the options, with
680 # dashes changed to underlines.
688 program_transform_name
=s
,x
,x
,
696 # Installation directory options.
697 # These are left unexpanded so users can "make install exec_prefix=/foo"
698 # and all the variables that are supposed to be based on exec_prefix
699 # by default will actually change.
700 # Use braces instead of parens because sh, perl, etc. also accept them.
701 # (The list follows the same order as the GNU Coding Standards.)
702 bindir
='${exec_prefix}/bin'
703 sbindir
='${exec_prefix}/sbin'
704 libexecdir
='${exec_prefix}/libexec'
705 datarootdir
='${prefix}/share'
706 datadir
='${datarootdir}'
707 sysconfdir
='${prefix}/etc'
708 sharedstatedir
='${prefix}/com'
709 localstatedir
='${prefix}/var'
710 includedir
='${prefix}/include'
711 oldincludedir
='/usr/include'
712 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
713 infodir
='${datarootdir}/info'
718 libdir
='${exec_prefix}/lib'
719 localedir
='${datarootdir}/locale'
720 mandir
='${datarootdir}/man'
726 # If the previous option needs an argument, assign it.
727 if test -n "$ac_prev"; then
728 eval $ac_prev=\
$ac_option
734 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
739 # Accept the important Cygnus configure options, so we can diagnose typos.
741 case $ac_dashdash$ac_option in
745 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
747 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
750 -build |
--build |
--buil |
--bui |
--bu)
751 ac_prev
=build_alias
;;
752 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
753 build_alias
=$ac_optarg ;;
755 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
756 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
757 ac_prev
=cache_file
;;
758 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
759 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
760 cache_file
=$ac_optarg ;;
763 cache_file
=config.cache
;;
765 -datadir |
--datadir |
--datadi |
--datad)
767 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
768 datadir
=$ac_optarg ;;
770 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
771 |
--dataroo |
--dataro |
--datar)
772 ac_prev
=datarootdir
;;
773 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
774 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
775 datarootdir
=$ac_optarg ;;
777 -disable-* |
--disable-*)
778 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
779 # Reject names that are not valid shell variable names.
780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
781 as_fn_error $?
"invalid feature name: $ac_useropt"
782 ac_useropt_orig
=$ac_useropt
783 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
784 case $ac_user_opts in
788 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
789 ac_unrecognized_sep
=', ';;
791 eval enable_
$ac_useropt=no
;;
793 -docdir |
--docdir |
--docdi |
--doc |
--do)
795 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
798 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
800 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
803 -enable-* |
--enable-*)
804 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
805 # Reject names that are not valid shell variable names.
806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
807 as_fn_error $?
"invalid feature name: $ac_useropt"
808 ac_useropt_orig
=$ac_useropt
809 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
810 case $ac_user_opts in
814 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
815 ac_unrecognized_sep
=', ';;
817 eval enable_
$ac_useropt=\
$ac_optarg ;;
819 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
820 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
821 |
--exec |
--exe |
--ex)
822 ac_prev
=exec_prefix
;;
823 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
824 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
825 |
--exec=* |
--exe=* |
--ex=*)
826 exec_prefix
=$ac_optarg ;;
828 -gas |
--gas |
--ga |
--g)
829 # Obsolete; use --with-gas.
832 -help |
--help |
--hel |
--he |
-h)
834 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
835 ac_init_help
=recursive
;;
836 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
837 ac_init_help
=short
;;
839 -host |
--host |
--hos |
--ho)
840 ac_prev
=host_alias
;;
841 -host=* |
--host=* |
--hos=* |
--ho=*)
842 host_alias
=$ac_optarg ;;
844 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
846 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
848 htmldir
=$ac_optarg ;;
850 -includedir |
--includedir |
--includedi |
--included |
--include \
851 |
--includ |
--inclu |
--incl |
--inc)
852 ac_prev
=includedir
;;
853 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
854 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
855 includedir
=$ac_optarg ;;
857 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
859 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
860 infodir
=$ac_optarg ;;
862 -libdir |
--libdir |
--libdi |
--libd)
864 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
867 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
868 |
--libexe |
--libex |
--libe)
869 ac_prev
=libexecdir
;;
870 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
871 |
--libexe=* |
--libex=* |
--libe=*)
872 libexecdir
=$ac_optarg ;;
874 -localedir |
--localedir |
--localedi |
--localed |
--locale)
876 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
877 localedir
=$ac_optarg ;;
879 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
880 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
881 ac_prev
=localstatedir
;;
882 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
883 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
884 localstatedir
=$ac_optarg ;;
886 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
888 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
892 # Obsolete; use --without-fp.
895 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
896 |
--no-cr |
--no-c |
-n)
899 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
900 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
903 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
904 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
905 |
--oldin |
--oldi |
--old |
--ol |
--o)
906 ac_prev
=oldincludedir
;;
907 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
908 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
909 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
910 oldincludedir
=$ac_optarg ;;
912 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
914 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
917 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
918 |
--program-pre |
--program-pr |
--program-p)
919 ac_prev
=program_prefix
;;
920 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
921 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
922 program_prefix
=$ac_optarg ;;
924 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
925 |
--program-suf |
--program-su |
--program-s)
926 ac_prev
=program_suffix
;;
927 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
928 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
929 program_suffix
=$ac_optarg ;;
931 -program-transform-name |
--program-transform-name \
932 |
--program-transform-nam |
--program-transform-na \
933 |
--program-transform-n |
--program-transform- \
934 |
--program-transform |
--program-transfor \
935 |
--program-transfo |
--program-transf \
936 |
--program-trans |
--program-tran \
937 |
--progr-tra |
--program-tr |
--program-t)
938 ac_prev
=program_transform_name
;;
939 -program-transform-name=* |
--program-transform-name=* \
940 |
--program-transform-nam=* |
--program-transform-na=* \
941 |
--program-transform-n=* |
--program-transform-=* \
942 |
--program-transform=* |
--program-transfor=* \
943 |
--program-transfo=* |
--program-transf=* \
944 |
--program-trans=* |
--program-tran=* \
945 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
946 program_transform_name
=$ac_optarg ;;
948 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
950 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
953 -psdir |
--psdir |
--psdi |
--psd |
--ps)
955 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
958 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
959 |
-silent |
--silent |
--silen |
--sile |
--sil)
962 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
964 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
966 sbindir
=$ac_optarg ;;
968 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
969 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
970 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
972 ac_prev
=sharedstatedir
;;
973 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
974 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
975 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
977 sharedstatedir
=$ac_optarg ;;
979 -site |
--site |
--sit)
981 -site=* |
--site=* |
--sit=*)
984 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
986 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
989 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
990 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
991 ac_prev
=sysconfdir
;;
992 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
993 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
994 sysconfdir
=$ac_optarg ;;
996 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
997 ac_prev
=target_alias
;;
998 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
999 target_alias
=$ac_optarg ;;
1001 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1004 -version |
--version |
--versio |
--versi |
--vers |
-V)
1005 ac_init_version
=: ;;
1008 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1011 as_fn_error $?
"invalid package name: $ac_useropt"
1012 ac_useropt_orig
=$ac_useropt
1013 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014 case $ac_user_opts in
1018 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1019 ac_unrecognized_sep
=', ';;
1021 eval with_
$ac_useropt=\
$ac_optarg ;;
1023 -without-* |
--without-*)
1024 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1027 as_fn_error $?
"invalid package name: $ac_useropt"
1028 ac_useropt_orig
=$ac_useropt
1029 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1034 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1035 ac_unrecognized_sep
=', ';;
1037 eval with_
$ac_useropt=no
;;
1040 # Obsolete; use --with-x.
1043 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1044 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1045 ac_prev
=x_includes
;;
1046 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1047 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1048 x_includes
=$ac_optarg ;;
1050 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1051 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1052 ac_prev
=x_libraries
;;
1053 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1054 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1055 x_libraries
=$ac_optarg ;;
1057 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1058 Try \`$0 --help' for more information"
1062 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1063 # Reject names that are not valid shell variable names.
1064 case $ac_envvar in #(
1065 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1066 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1068 eval $ac_envvar=\
$ac_optarg
1069 export $ac_envvar ;;
1072 # FIXME: should be removed in autoconf 3.0.
1073 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1074 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1075 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1076 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1082 if test -n "$ac_prev"; then
1083 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1084 as_fn_error $?
"missing argument to $ac_option"
1087 if test -n "$ac_unrecognized_opts"; then
1088 case $enable_option_checking in
1090 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1091 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1095 # Check all directory arguments for consistency.
1096 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1097 datadir sysconfdir sharedstatedir localstatedir includedir \
1098 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1099 libdir localedir mandir
1101 eval ac_val
=\$
$ac_var
1102 # Remove trailing slashes.
1105 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1106 eval $ac_var=\
$ac_val;;
1108 # Be sure to have absolute directory names.
1110 [\\/$
]* | ?
:[\\/]* ) continue;;
1111 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1113 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1116 # There might be people who depend on the old broken behavior: `$host'
1117 # used to hold the argument of --host etc.
1118 # FIXME: To remove some day.
1121 target
=$target_alias
1123 # FIXME: To remove some day.
1124 if test "x$host_alias" != x
; then
1125 if test "x$build_alias" = x
; then
1126 cross_compiling
=maybe
1127 elif test "x$build_alias" != "x$host_alias"; then
1133 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1135 test "$silent" = yes && exec 6>/dev
/null
1138 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1139 ac_ls_di
=`ls -di .` &&
1140 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1141 as_fn_error $?
"working directory cannot be determined"
1142 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1143 as_fn_error $?
"pwd does not report name of working directory"
1146 # Find the source files, if location was not specified.
1147 if test -z "$srcdir"; then
1148 ac_srcdir_defaulted
=yes
1149 # Try the directory containing this script, then the parent directory.
1150 ac_confdir
=`$as_dirname -- "$as_myself" ||
1151 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1152 X"$as_myself" : 'X\(//\)[^/]' \| \
1153 X"$as_myself" : 'X\(//\)$' \| \
1154 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1155 $as_echo X"$as_myself" |
1156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1174 if test ! -r "$srcdir/$ac_unique_file"; then
1178 ac_srcdir_defaulted
=no
1180 if test ! -r "$srcdir/$ac_unique_file"; then
1181 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1182 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1184 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1186 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1188 # When building in place, set srcdir=.
1189 if test "$ac_abs_confdir" = "$ac_pwd"; then
1192 # Remove unnecessary trailing slashes from srcdir.
1193 # Double slashes in file names in object file debugging info
1194 # mess up M-x gdb in Emacs.
1196 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1198 for ac_var
in $ac_precious_vars; do
1199 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1200 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1201 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1202 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1206 # Report the --help message.
1208 if test "$ac_init_help" = "long"; then
1209 # Omit some internal or obsolete options to make the list less imposing.
1210 # This message is too long to be a string in the A/UX 3.1 sh.
1212 \`configure' configures codylib 0.0 to adapt to many kinds of systems.
1214 Usage: $0 [OPTION]... [VAR=VALUE]...
1216 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1217 VAR=VALUE. See below for descriptions of some of the useful variables.
1219 Defaults for the options are specified in brackets.
1222 -h, --help display this help and exit
1223 --help=short display options specific to this package
1224 --help=recursive display the short help of all the included packages
1225 -V, --version display version information and exit
1226 -q, --quiet, --silent do not print \`checking ...' messages
1227 --cache-file=FILE cache test results in FILE [disabled]
1228 -C, --config-cache alias for \`--cache-file=config.cache'
1229 -n, --no-create do not create output files
1230 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1232 Installation directories:
1233 --prefix=PREFIX install architecture-independent files in PREFIX
1234 [$ac_default_prefix]
1235 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1238 By default, \`make install' will install all the files in
1239 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1240 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1241 for instance \`--prefix=\$HOME'.
1243 For better control, use the options below.
1245 Fine tuning of the installation directories:
1246 --bindir=DIR user executables [EPREFIX/bin]
1247 --sbindir=DIR system admin executables [EPREFIX/sbin]
1248 --libexecdir=DIR program executables [EPREFIX/libexec]
1249 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1250 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1251 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1252 --libdir=DIR object code libraries [EPREFIX/lib]
1253 --includedir=DIR C header files [PREFIX/include]
1254 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1255 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1256 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1257 --infodir=DIR info documentation [DATAROOTDIR/info]
1258 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1259 --mandir=DIR man documentation [DATAROOTDIR/man]
1260 --docdir=DIR documentation root [DATAROOTDIR/doc/codylib]
1261 --htmldir=DIR html documentation [DOCDIR]
1262 --dvidir=DIR dvi documentation [DOCDIR]
1263 --pdfdir=DIR pdf documentation [DOCDIR]
1264 --psdir=DIR ps documentation [DOCDIR]
1270 --build=BUILD configure
for building on BUILD
[guessed
]
1271 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1275 if test -n "$ac_init_help"; then
1276 case $ac_init_help in
1277 short | recursive
) echo "Configuration of codylib 0.0:";;
1282 --disable-option-checking ignore unrecognized
--enable/--with options
1283 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1284 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1285 --enable-maintainer-mode
1286 enable maintainer mode. Add rules to rebuild
1288 --enable-checking enable run-time checking
1289 --enable-exceptions enable exceptions
& rtti
1292 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1293 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1294 --with-tools=DIR tool directory
1295 --with-compiler=NAME
which compiler to use
1296 --with-bugurl=URL where to report bugs
1298 Some influential environment variables
:
1299 CXX C
++ compiler
command
1300 CXXFLAGS C
++ compiler flags
1301 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1302 nonstandard directory
<lib dir
>
1303 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1304 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1305 you have headers
in a nonstandard directory
<include dir
>
1307 Use these variables to override the choices made by
`configure' or to help
1308 it to find libraries and programs with nonstandard names/locations.
1310 Report bugs to <github.com/urnathan/libcody>.
1315 if test "$ac_init_help" = "recursive"; then
1316 # If there are subdirs, report their specific --help.
1317 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1318 test -d "$ac_dir" ||
1319 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1324 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1326 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1327 # A ".." for each directory in $ac_dir_suffix.
1328 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1329 case $ac_top_builddir_sub in
1330 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1334 ac_abs_top_builddir=$ac_pwd
1335 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1336 # for backward compatibility:
1337 ac_top_builddir=$ac_top_build_prefix
1340 .) # We are building in place.
1342 ac_top_srcdir=$ac_top_builddir_sub
1343 ac_abs_top_srcdir=$ac_pwd ;;
1344 [\\/]* | ?:[\\/]* ) # Absolute name.
1345 ac_srcdir=$srcdir$ac_dir_suffix;
1346 ac_top_srcdir=$srcdir
1347 ac_abs_top_srcdir=$srcdir ;;
1349 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1350 ac_top_srcdir=$ac_top_build_prefix$srcdir
1351 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1353 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1355 cd "$ac_dir" || { ac_status=$?; continue; }
1356 # Check for guested configure.
1357 if test -f "$ac_srcdir/configure.gnu"; then
1359 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1360 elif test -f "$ac_srcdir/configure"; then
1362 $SHELL "$ac_srcdir/configure" --help=recursive
1364 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1366 cd "$ac_pwd" || { ac_status=$?; break; }
1370 test -n "$ac_init_help" && exit $ac_status
1371 if $ac_init_version; then
1373 codylib configure 0.0
1374 generated by GNU Autoconf 2.69
1376 Copyright (C) 2012 Free Software Foundation, Inc.
1377 This configure script is free software; the Free Software Foundation
1378 gives unlimited permission to copy, distribute and modify it.
1383 ## ------------------------ ##
1384 ## Autoconf initialization. ##
1385 ## ------------------------ ##
1387 # ac_fn_cxx_try_compile LINENO
1388 # ----------------------------
1389 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1390 ac_fn_cxx_try_compile ()
1392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1393 rm -f conftest.$ac_objext
1394 if { { ac_try="$ac_compile"
1396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1397 *) ac_try_echo
=$ac_try;;
1399 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1400 $as_echo "$ac_try_echo"; } >&5
1401 (eval "$ac_compile") 2>conftest.err
1403 if test -s conftest.err
; then
1404 grep -v '^ *+' conftest.err
>conftest.er1
1405 cat conftest.er1
>&5
1406 mv -f conftest.er1 conftest.err
1408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1409 test $ac_status = 0; } && {
1410 test -z "$ac_cxx_werror_flag" ||
1411 test ! -s conftest.err
1412 } && test -s conftest.
$ac_objext; then :
1415 $as_echo "$as_me: failed program was:" >&5
1416 sed 's/^/| /' conftest.
$ac_ext >&5
1420 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1421 as_fn_set_status
$ac_retval
1423 } # ac_fn_cxx_try_compile
1425 # ac_fn_cxx_try_link LINENO
1426 # -------------------------
1427 # Try to link conftest.$ac_ext, and return whether this succeeded.
1428 ac_fn_cxx_try_link
()
1430 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1431 rm -f conftest.
$ac_objext conftest
$ac_exeext
1432 if { { ac_try
="$ac_link"
1434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1435 *) ac_try_echo=$ac_try;;
1437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438 $as_echo "$ac_try_echo"; } >&5
1439 (eval "$ac_link") 2>conftest.err
1441 if test -s conftest.err; then
1442 grep -v '^ *+' conftest.err >conftest.er1
1443 cat conftest.er1 >&5
1444 mv -f conftest.er1 conftest.err
1446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447 test $ac_status = 0; } && {
1448 test -z "$ac_cxx_werror_flag" ||
1449 test ! -s conftest.err
1450 } && test -s conftest$ac_exeext && {
1451 test "$cross_compiling" = yes ||
1452 test -x conftest$ac_exeext
1456 $as_echo "$as_me: failed program was:" >&5
1457 sed 's/^/| /' conftest.$ac_ext >&5
1461 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1462 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1463 # interfere with the next link command; also delete a directory that is
1464 # left behind by Apple's compiler. We do this before executing the actions.
1465 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1466 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1467 as_fn_set_status $ac_retval
1469 } # ac_fn_cxx_try_link
1470 cat >config.log <<_ACEOF
1471 This file contains any messages produced by compilers while
1472 running configure, to aid debugging if configure makes a mistake.
1474 It was created by codylib $as_me 0.0, which was
1475 generated by GNU Autoconf 2.69. Invocation command line was
1487 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1488 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1489 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1490 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1491 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1493 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1494 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1496 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1497 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1498 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1499 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1500 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1501 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1502 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1510 test -z "$as_dir" && as_dir=.
1511 $as_echo "PATH: $as_dir"
1527 # Keep a trace of the command line.
1528 # Strip out --no-create and --no-recursion so they do not pile up.
1529 # Strip out --silent because we don't want to record it for future runs.
1530 # Also quote any args containing shell meta-characters.
1531 # Make two passes to allow for proper duplicate-argument suppression.
1535 ac_must_keep_next=false
1541 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1543 | -silent | --silent | --silen | --sile | --sil)
1546 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1549 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1551 as_fn_append ac_configure_args1 " '$ac_arg'"
1552 if test $ac_must_keep_next = true; then
1553 ac_must_keep_next=false # Got value, back to normal.
1556 *=* | --config-cache | -C | -disable-* | --disable-* \
1557 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1558 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1559 | -with-* | --with-* | -without-* | --without-* | --x)
1560 case "$ac_configure_args0 " in
1561 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1564 -* ) ac_must_keep_next=true ;;
1567 as_fn_append ac_configure_args " '$ac_arg'"
1572 { ac_configure_args0=; unset ac_configure_args0;}
1573 { ac_configure_args1=; unset ac_configure_args1;}
1575 # When interrupted or exit'd, cleanup temporary files, and complete
1576 # config.log. We remove comments because anyway the quotes in there
1577 # would cause problems or look ugly.
1578 # WARNING: Use '\'' to represent an apostrophe within the trap.
1579 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1580 trap 'exit_status=$?
1581 # Save into config.log some information that might help in debugging.
1585 $as_echo "## ---------------- ##
1586 ## Cache variables. ##
1587 ## ---------------- ##"
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1592 eval ac_val=\$$ac_var
1596 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1597 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1600 _ | IFS | as_nl) ;; #(
1601 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1602 *) { eval $ac_var=; unset $ac_var;} ;;
1607 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1608 *${as_nl}ac_space=\ *)
1610 "s/'\''/'\''\\\\'\'''\''/g;
1611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1621 $as_echo "## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##"
1625 for ac_var in $ac_subst_vars
1627 eval ac_val=\$$ac_var
1629 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 $as_echo "$ac_var='\''$ac_val'\''"
1635 if test -n "$ac_subst_files"; then
1636 $as_echo "## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##"
1640 for ac_var in $ac_subst_files
1642 eval ac_val=\$$ac_var
1644 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646 $as_echo "$ac_var='\''$ac_val'\''"
1651 if test -s confdefs.h; then
1652 $as_echo "## ----------- ##
1659 test "$ac_signal" != 0 &&
1660 $as_echo "$as_me: caught signal $ac_signal"
1661 $as_echo "$as_me: exit $exit_status"
1663 rm -f core *.core core.conftest.* &&
1664 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1667 for ac_signal in 1 2 13 15; do
1668 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1672 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1673 rm -f -r conftest* confdefs.h
1675 $as_echo "/* confdefs.h */" > confdefs.h
1677 # Predefined preprocessor variables.
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_NAME "$PACKAGE_NAME"
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_STRING "$PACKAGE_STRING"
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_URL "$PACKAGE_URL"
1704 # Let the site file select an alternate cache file if it wants to.
1705 # Prefer an explicitly selected file to automatically selected ones.
1708 if test -n "$CONFIG_SITE"; then
1709 # We do not want a PATH search for config.site.
1710 case $CONFIG_SITE in #((
1711 -*) ac_site_file1=./$CONFIG_SITE;;
1712 */*) ac_site_file1=$CONFIG_SITE;;
1713 *) ac_site_file1=./$CONFIG_SITE;;
1715 elif test "x$prefix" != xNONE; then
1716 ac_site_file1=$prefix/share/config.site
1717 ac_site_file2=$prefix/etc/config.site
1719 ac_site_file1=$ac_default_prefix/share/config.site
1720 ac_site_file2=$ac_default_prefix/etc/config.site
1722 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1724 test "x$ac_site_file" = xNONE && continue
1725 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1727 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1728 sed 's/^/| /' "$ac_site_file" >&5
1730 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1732 as_fn_error $? "failed to load site
script $ac_site_file
1733 See \
`config.log' for more details" "$LINENO" 5; }
1737 if test -r "$cache_file"; then
1738 # Some versions of bash will fail to source /dev/null (special files
1739 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1740 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1742 $as_echo "$as_me: loading cache $cache_file" >&6;}
1744 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1745 *) . "./$cache_file";;
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1750 $as_echo "$as_me: creating cache $cache_file" >&6;}
1754 # Check that the precious variables saved in the cache have kept the same
1756 ac_cache_corrupted=false
1757 for ac_var in $ac_precious_vars; do
1758 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1759 eval ac_new_set=\$ac_env_${ac_var}_set
1760 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1761 eval ac_new_val=\$ac_env_${ac_var}_value
1762 case $ac_old_set,$ac_new_set in
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1765 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1766 ac_cache_corrupted=: ;;
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1769 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1770 ac_cache_corrupted=: ;;
1773 if test "x$ac_old_val" != "x$ac_new_val"; then
1774 # differences in whitespace do not lead to failure.
1775 ac_old_val_w=`echo x
$ac_old_val`
1776 ac_new_val_w=`echo x
$ac_new_val`
1777 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1779 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1780 ac_cache_corrupted=:
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1783 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1784 eval $ac_var=\$ac_old_val
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1787 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1789 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1792 # Pass precious variables to config.status.
1793 if test "$ac_new_set" = set; then
1795 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1796 *) ac_arg=$ac_var=$ac_new_val ;;
1798 case " $ac_configure_args " in
1799 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1800 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1804 if $ac_cache_corrupted; then
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1808 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1809 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1811 ## -------------------- ##
1812 ## Main body of script. ##
1813 ## -------------------- ##
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823 # Nathan's Common Config -*- mode:autoconf -*-
1824 # Copyright (C) 2020 Nathan Sidwell, nathan@acm.org
1825 # License: Apache v2.0
1827 # Note: VAR+=... is not dashing, despite its looks
1831 # thanks to Zack Weinberg for fixing this!
1864 for ac_dir in build-aux "$srcdir"/build-aux; do
1865 if test -f "$ac_dir/install-sh"; then
1867 ac_install_sh="$ac_aux_dir/install-sh -c"
1869 elif test -f "$ac_dir/install.sh"; then
1871 ac_install_sh="$ac_aux_dir/install.sh -c"
1873 elif test -f "$ac_dir/shtool"; then
1875 ac_install_sh="$ac_aux_dir/shtool install -c"
1879 if test -z "$ac_aux_dir"; then
1880 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1883 # These three variables are undocumented and unsupported,
1884 # and are intended to be withdrawn in a future Autoconf release.
1885 # They can cause serious problems if a builder's source tree is in a directory
1886 # whose full name contains unusual characters.
1887 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1888 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1889 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1894 if test -e configure ; then
1895 as_fn_error $? "Do not build in the source tree. Reasons" "$LINENO" 5
1897 # Make sure we can run config.sub.
1898 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1899 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1902 $as_echo_n "checking build system type... " >&6; }
1903 if ${ac_cv_build+:} false; then :
1904 $as_echo_n "(cached) " >&6
1906 ac_build_alias=$build_alias
1907 test "x$ac_build_alias" = x &&
1908 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1909 test "x$ac_build_alias" = x &&
1910 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1911 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1912 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1916 $as_echo "$ac_cv_build" >&6; }
1917 case $ac_cv_build in
1919 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1922 ac_save_IFS=$IFS; IFS='-'
1928 # Remember, the first character of IFS is used to create $*,
1929 # except with old shells:
1932 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1936 $as_echo_n "checking host system type... " >&6; }
1937 if ${ac_cv_host+:} false; then :
1938 $as_echo_n "(cached) " >&6
1940 if test "x$host_alias" = x; then
1941 ac_cv_host=$ac_cv_build
1943 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1944 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1949 $as_echo "$ac_cv_host" >&6; }
1952 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1955 ac_save_IFS=$IFS; IFS='-'
1961 # Remember, the first character of IFS is used to create $*,
1962 # except with old shells:
1965 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1971 # Check whether --with-tools was given.
1972 if test "${with_tools+set}" = set; then :
1973 withval=$with_tools; case $withval in #(
1975 as_fn_error $? "--with-tools requires an argument" "$LINENO" 5 ;; #(
1979 tools="${withval%/bin}" ;;
1984 if test -n "$tools" ; then
1985 if test -d "$tools/bin"; then
1986 PATH="$tools/bin:$PATH"
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: Using tools in $tools" >&5
1988 $as_echo "$as_me: Using tools in $tools" >&6;}
1990 as_fn_error $? "tool location does not exist" "$LINENO" 5
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of CPUs" >&5
1994 $as_echo_n "checking number of CPUs... " >&6; }
1997 NUM_CPUS=$(sysctl -n hw.ncpu 2>/dev/null) ;; #(
1999 NUM_CPUS=$(grep -c '^processor' /proc/cpuinfo 2>/dev/null) ;;
2001 test "$NUM_CPUS" = 0 && NUM_CPUS=
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${NUM_CPUS:-unknown}" >&5
2003 $as_echo "${NUM_CPUS:-unknown}" >&6; }
2004 test "$NUM_CPUS" = 1 && NUM_CPUS=
2006 # Check whether --enable-maintainer-mode was given.
2007 if test "${enable_maintainer_mode+set}" = set; then :
2008 enableval=$enable_maintainer_mode;
2010 enable_maintainer_mode=no
2013 case $enable_maintainer_mode in #(
2015 maintainer_mode=yes ;; #(
2019 as_fn_error $? "unknown maintainer mode $enable_maintainer_mode" "$LINENO" 5 ;;
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking maintainer-mode" >&5
2022 $as_echo_n "checking maintainer-mode... " >&6; }
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $maintainer_mode" >&5
2024 $as_echo "$maintainer_mode" >&6; }
2025 test "$maintainer_mode" = yes && MAINTAINER=yes
2028 # Check whether --with-compiler was given.
2029 if test "${with_compiler+set}" = set; then :
2030 withval=$with_compiler; { $as_echo "$as_me:${as_lineno-$LINENO}: checking C++ compiler" >&5
2031 $as_echo_n "checking C++ compiler... " >&6; }
2032 if test "$withval" = "yes" ; then
2033 as_fn_error $? "NAME not specified" "$LINENO" 5
2034 elif test "$withval" = "no" ; then
2035 as_fn_error $? "Gonna need a C++ compiler!" "$LINENO" 5
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2039 $as_echo "$CXX" >&6; }
2044 ac_cpp='$CXXCPP $CPPFLAGS'
2045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2050 ac_cpp='$CXXCPP $CPPFLAGS'
2051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2054 if test -z "$CXX"; then
2055 if test -n "$CCC"; then
2058 if test -n "$ac_tool_prefix"; then
2059 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2061 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2062 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2064 $as_echo_n "checking for $ac_word... " >&6; }
2065 if ${ac_cv_prog_CXX+:} false; then :
2066 $as_echo_n "(cached) " >&6
2068 if test -n "$CXX"; then
2069 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2089 if test -n "$CXX"; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2091 $as_echo "$CXX" >&6; }
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2094 $as_echo "no" >&6; }
2098 test -n "$CXX" && break
2101 if test -z "$CXX"; then
2103 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2105 # Extract the first word of "$ac_prog", so it can be a program name with args.
2106 set dummy $ac_prog; ac_word=$2
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2108 $as_echo_n "checking for $ac_word... " >&6; }
2109 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2110 $as_echo_n "(cached) " >&6
2112 if test -n "$ac_ct_CXX"; then
2113 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122 ac_cv_prog_ac_ct_CXX="$ac_prog"
2123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2133 if test -n "$ac_ct_CXX"; then
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2135 $as_echo "$ac_ct_CXX" >&6; }
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2138 $as_echo "no" >&6; }
2142 test -n "$ac_ct_CXX" && break
2145 if test "x$ac_ct_CXX" = x; then
2148 case $cross_compiling:$ac_tool_warned in
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2152 ac_tool_warned=yes ;;
2160 # Provide some information about the compiler.
2161 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2164 for ac_option in --version -v -V -qversion; do
2165 { { ac_try="$ac_compiler $ac_option >&5"
2167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2168 *) ac_try_echo
=$ac_try;;
2170 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2171 $as_echo "$ac_try_echo"; } >&5
2172 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2174 if test -s conftest.err
; then
2176 ... rest of stderr output deleted ...
2177 10q' conftest.err
>conftest.er1
2178 cat conftest.er1
>&5
2180 rm -f conftest.er1 conftest.err
2181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2182 test $ac_status = 0; }
2185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2196 ac_clean_files_save
=$ac_clean_files
2197 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2198 # Try to create an executable without -o first, disregard a.out.
2199 # It will help us diagnose broken compilers, and finding out an intuition
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2202 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2203 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2205 # The possible output files:
2206 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2209 for ac_file
in $ac_files
2212 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2213 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2218 if { { ac_try
="$ac_link_default"
2220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2221 *) ac_try_echo=$ac_try;;
2223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2224 $as_echo "$ac_try_echo"; } >&5
2225 (eval "$ac_link_default") 2>&5
2227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2228 test $ac_status = 0; }; then :
2229 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2230 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2231 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2232 # so that the user can short-circuit this test for compilers unknown to
2234 for ac_file in $ac_files ''
2236 test -f "$ac_file" || continue
2238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2241 # We found the default executable, but exeext='' is most
2245 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2247 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2249 # We set ac_cv_exeext here because the later test for it is not
2250 # safe: cross compilers may not add the suffix if given an `-o'
2251 # argument, so we may need to know it at that point already.
2252 # Even if this section looks crufty: it has the advantage of
2259 test "$ac_cv_exeext" = no && ac_cv_exeext=
2264 if test -z "$ac_file"; then :
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2266 $as_echo "no" >&6; }
2267 $as_echo "$as_me: failed program was:" >&5
2268 sed 's
/^
/|
/' conftest.$ac_ext >&5
2270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2271 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2272 as_fn_error 77 "C++ compiler cannot create executables
2273 See \`config.log
' for more details" "$LINENO" 5; }
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2276 $as_echo "yes" >&6; }
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2279 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2281 $as_echo "$ac_file" >&6; }
2282 ac_exeext=$ac_cv_exeext
2284 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2285 ac_clean_files=$ac_clean_files_save
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2287 $as_echo_n "checking for suffix of executables... " >&6; }
2288 if { { ac_try="$ac_link"
2290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291 *) ac_try_echo=$ac_try;;
2293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2294 $as_echo "$ac_try_echo"; } >&5
2295 (eval "$ac_link") 2>&5
2297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2298 test $ac_status = 0; }; then :
2299 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2300 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2301 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2303 for ac_file
in conftest.exe conftest conftest.
*; do
2304 test -f "$ac_file" ||
continue
2306 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2307 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2315 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2316 See \`config.log' for more details" "$LINENO" 5; }
2318 rm -f conftest conftest
$ac_cv_exeext
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2320 $as_echo "$ac_cv_exeext" >&6; }
2322 rm -f conftest.
$ac_ext
2323 EXEEXT
=$ac_cv_exeext
2325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2331 FILE *f = fopen ("conftest.out", "w");
2332 return ferror (f) || fclose (f) != 0;
2338 ac_clean_files
="$ac_clean_files conftest.out"
2339 # Check that the compiler produces executables we can run. If not, either
2340 # the compiler is broken, or we cross compile.
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2342 $as_echo_n "checking whether we are cross compiling... " >&6; }
2343 if test "$cross_compiling" != yes; then
2344 { { ac_try
="$ac_link"
2346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350 $as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_link") 2>&5
2353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2354 test $ac_status = 0; }
2355 if { ac_try='./conftest$ac_cv_exeext'
2356 { { case "(($ac_try" in
2357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2358 *) ac_try_echo
=$ac_try;;
2360 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2361 $as_echo "$ac_try_echo"; } >&5
2362 (eval "$ac_try") 2>&5
2364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365 test $ac_status = 0; }; }; then
2368 if test "$cross_compiling" = maybe
; then
2371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373 as_fn_error $?
"cannot run C++ compiled programs.
2374 If you meant to cross compile, use \`--host'.
2375 See \`config.log' for more details" "$LINENO" 5; }
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2380 $as_echo "$cross_compiling" >&6; }
2382 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2383 ac_clean_files
=$ac_clean_files_save
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2385 $as_echo_n "checking for suffix of object files... " >&6; }
2386 if ${ac_cv_objext+:} false
; then :
2387 $as_echo_n "(cached) " >&6
2389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2390 /* end confdefs.h. */
2400 rm -f conftest.o conftest.obj
2401 if { { ac_try
="$ac_compile"
2403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_compile") 2>&5
2410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2411 test $ac_status = 0; }; then :
2412 for ac_file in conftest.o conftest.obj conftest.*; do
2413 test -f "$ac_file" || continue;
2415 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2416 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2421 $as_echo "$as_me: failed program was:" >&5
2422 sed 's/^/| /' conftest.$ac_ext >&5
2424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2426 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2427 See \
`config.log' for more details" "$LINENO" 5; }
2429 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2432 $as_echo "$ac_cv_objext" >&6; }
2433 OBJEXT=$ac_cv_objext
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2436 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2437 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2438 $as_echo_n "(cached) " >&6
2440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2441 /* end confdefs.h. */
2454 if ac_fn_cxx_try_compile "$LINENO"; then :
2459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2464 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2465 if test $ac_compiler_gnu = yes; then
2470 ac_test_CXXFLAGS=${CXXFLAGS+set}
2471 ac_save_CXXFLAGS=$CXXFLAGS
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2473 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2474 if ${ac_cv_prog_cxx_g+:} false; then :
2475 $as_echo_n "(cached) " >&6
2477 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2478 ac_cxx_werror_flag=yes
2481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2482 /* end confdefs.h. */
2492 if ac_fn_cxx_try_compile "$LINENO"; then :
2493 ac_cv_prog_cxx_g=yes
2496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2507 if ac_fn_cxx_try_compile "$LINENO"; then :
2510 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2513 /* end confdefs.h. */
2523 if ac_fn_cxx_try_compile "$LINENO"; then :
2524 ac_cv_prog_cxx_g=yes
2526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2531 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2534 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2535 if test "$ac_test_CXXFLAGS" = set; then
2536 CXXFLAGS=$ac_save_CXXFLAGS
2537 elif test $ac_cv_prog_cxx_g = yes; then
2538 if test "$GXX" = yes; then
2544 if test "$GXX" = yes; then
2551 ac_cpp='$CXXCPP $CPPFLAGS'
2552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX is for C++11" >&5
2558 $as_echo_n "checking whether $CXX is for C++11... " >&6; }
2559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2560 /* end confdefs.h. */
2562 #if __cplusplus != 201103
2563 #error "C++11 is required"
2574 if ac_fn_cxx_try_compile "$LINENO"; then :
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2576 $as_echo "yes" >&6; }
2579 CXX="$CXX -std=c++11"
2580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2581 /* end confdefs.h. */
2583 #if __cplusplus != 201103
2584 #error "C++11 is required"
2595 if ac_fn_cxx_try_compile "$LINENO"; then :
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: adding -std=c++11" >&5
2597 $as_echo "adding -std=c++11" >&6; }
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2603 #if __cplusplus > 201103
2604 #error "C++11 is required"
2615 if ac_fn_cxx_try_compile "$LINENO"; then :
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: > C++11" >&5
2617 $as_echo "> C++11" >&6; }
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620 $as_echo "no" >&6; }
2621 as_fn_error $? "C++11 is required" "$LINENO" 5
2623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2629 if test "$tools" && test -d "$tools/include" ; then
2630 CXX="$CXX -I$tools/include"
2632 if test "$tools" && test -d "$tools/lib" ; then
2633 toollib="$tools/lib"
2634 if os=$(CXX -print-multi-os-directory 2>/dev/null) ; then
2635 toollib="$toollib/${os}"
2637 LDFLAGS="$LDFLAGS -L $toollib"
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking adding -Wl,--no-undefined to linker" >&5
2641 $as_echo_n "checking adding -Wl,--no-undefined to linker... " >&6; }
2642 ORIG_LDFLAGS="$LDFLAGS"
2643 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
2644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2645 /* end confdefs.h. */
2655 if ac_fn_cxx_try_link "$LINENO"; then :
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2657 $as_echo "ok" >&6; }
2659 LDFLAGS="$ORIG_LDFLAGS"
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661 $as_echo "no" >&6; }
2663 rm -f core conftest.err conftest.$ac_objext \
2664 conftest$ac_exeext conftest.$ac_ext
2666 CONFIG_FILES="Makefile gdbinit dox.cfg"
2668 for generated in config.h.in configure ; do
2669 if test $srcdir/configure.ac -nt $srcdir/$generated ; then
2670 touch $srcdir/$generated
2673 for dir in . $SUBDIRS
2675 CONFIG_FILES="$CONFIG_FILES $dir/Makesub"
2676 test -f ${srcdir}/$dir/tests/Makesub.in && CONFIG_FILES="$CONFIG_FILES $dir/tests/Makesub"
2678 ac_config_files="$ac_config_files $CONFIG_FILES"
2680 configure_args=$ac_configure_args
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bugurl" >&5
2686 $as_echo_n "checking bugurl... " >&6; }
2688 # Check whether --with-bugurl was given.
2689 if test "${with_bugurl+set}" = set; then :
2690 withval=$with_bugurl; case "$withval" in #(
2692 as_fn_error $? "--with-bugurl requires an argument" "$LINENO" 5 ;; #(
2696 BUGURL="${withval}" ;;
2699 BUGURL="${PACKAGE_BUGREPORT}"
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUGURL" >&5
2703 $as_echo "$BUGURL" >&6; }
2705 cat >>confdefs.h <<_ACEOF
2706 #define BUGURL "$BUGURL"
2709 # Check whether --enable-checking was given.
2710 if test "${enable_checking+set}" = set; then :
2711 enableval=$enable_checking;
2713 enable_checking="yes"
2716 case $enable_checking in #(
2718 nms_checking=yes ;; #(
2722 as_fn_error $? "unknown check \"$enable_checking\"" "$LINENO" 5 ;;
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking" >&5
2725 $as_echo_n "checking checking... " >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nms_checking:-no}" >&5
2727 $as_echo "${nms_checking:-no}" >&6; }
2728 if test "$nms_checking" = yes ; then
2730 cat >>confdefs.h <<_ACEOF
2731 #define NMS_CHECKING 0${nms_checking:+1}
2735 # Check whether --enable-exceptions was given.
2736 if test "${enable_exceptions+set}" = set; then :
2737 enableval=$enable_exceptions;
2739 enable_exceptions="no"
2742 case $enable_exceptions in #(
2744 nms_exceptions=yes ;; #(
2746 nms_exceptions=no ;; #(
2748 as_fn_error $? "unknown exceptions $enable_exceptions" "$LINENO" 5 ;;
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking exceptions" >&5
2751 $as_echo_n "checking exceptions... " >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nms_exceptions" >&5
2753 $as_echo "$nms_exceptions" >&6; }
2754 if test "$nms_exceptions" != no ; then
2759 ac_config_headers="$ac_config_headers config.h"
2761 if test -n "$ac_tool_prefix"; then
2762 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2763 set dummy ${ac_tool_prefix}ar; ac_word=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if ${ac_cv_prog_AR+:} false; then :
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$AR"; then
2770 ac_cv_prog_AR="$AR" # Let the user override the test.
2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir=.
2777 for ac_exec_ext in '' $ac_executable_extensions; do
2778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2779 ac_cv_prog_AR="${ac_tool_prefix}ar"
2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 if test -n "$AR"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2792 $as_echo "$AR" >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2800 if test -z "$ac_cv_prog_AR"; then
2802 # Extract the first word of "ar", so it can be a program name with args.
2803 set dummy ar; ac_word=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2807 $as_echo_n "(cached) " >&6
2809 if test -n "$ac_ct_AR"; then
2810 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir=.
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2819 ac_cv_prog_ac_ct_AR="ar"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2830 if test -n "$ac_ct_AR"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2832 $as_echo "$ac_ct_AR" >&6; }
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2838 if test "x$ac_ct_AR" = x; then
2841 case $cross_compiling:$ac_tool_warned in
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2845 ac_tool_warned=yes ;;
2853 # Extract the first word of "doxygen", so it can be a program name with args.
2854 set dummy doxygen; ac_word=$2
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2856 $as_echo_n "checking for $ac_word... " >&6; }
2857 if ${ac_cv_prog_DOXYGEN+:} false; then :
2858 $as_echo_n "(cached) " >&6
2860 if test -n "$DOXYGEN"; then
2861 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir=.
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2870 ac_cv_prog_DOXYGEN="doxygen"
2871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=": NOTdoxygen"
2881 DOXYGEN=$ac_cv_prog_DOXYGEN
2882 if test -n "$DOXYGEN"; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
2884 $as_echo "$DOXYGEN" >&6; }
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2887 $as_echo "no" >&6; }
2891 # Extract the first word of "aloy", so it can be a program name with args.
2892 set dummy aloy; ac_word=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if ${ac_cv_prog_ALOY+:} false; then :
2896 $as_echo_n "(cached) " >&6
2898 if test -n "$ALOY"; then
2899 ac_cv_prog_ALOY="$ALOY" # Let the user override the test.
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908 ac_cv_prog_ALOY="aloy"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2916 test -z "$ac_cv_prog_ALOY" && ac_cv_prog_ALOY=": Joust testsuite missing"
2919 ALOY=$ac_cv_prog_ALOY
2920 if test -n "$ALOY"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALOY" >&5
2922 $as_echo "$ALOY" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2932 cat >confcache <<\_ACEOF
2933 # This file is a shell script that caches the results of configure
2934 # tests run on this system so they can be shared between configure
2935 # scripts and configure runs, see configure's option --config-cache.
2936 # It is not useful on other systems. If it contains results you don't
2937 # want to keep, you may remove or edit it.
2939 # config.status only pays attention to the cache file if you give it
2940 # the --recheck option to rerun configure.
2942 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
2943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2948 # The following way of writing the cache mishandles newlines in values,
2949 # but we know of no workaround that is simple, portable, and efficient.
2950 # So, we kill variables containing newlines.
2951 # Ultrix sh set writes to stderr and can't be redirected directly,
2952 # and sets the high bit in the cache file unless we assign to the vars.
2954 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2955 eval ac_val
=\$
$ac_var
2959 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2960 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2963 _ | IFS | as_nl
) ;; #(
2964 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2965 *) { eval $ac_var=; unset $ac_var;} ;;
2971 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2972 *${as_nl}ac_space
=\
*)
2973 # `set' does not quote correctly, so add quotes: double-quote
2974 # substitution turns \\\\ into \\, and sed turns \\ into \.
2977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2980 # `set' quotes correctly as required by POSIX, so do not add quotes.
2981 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2990 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2992 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2994 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
2995 if test -w "$cache_file"; then
2996 if test "x$cache_file" != "x/dev/null"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2998 $as_echo "$as_me: updating cache $cache_file" >&6;}
2999 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3000 cat confcache
>"$cache_file"
3002 case $cache_file in #(
3004 mv -f confcache
"$cache_file"$$
&&
3005 mv -f "$cache_file"$$
"$cache_file" ;; #(
3007 mv -f confcache
"$cache_file" ;;
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3013 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3018 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3019 # Let make expand exec_prefix.
3020 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3022 DEFS
=-DHAVE_CONFIG_H
3027 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3028 # 1. Remove the extension, and $U if already installed.
3029 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3030 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3031 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3032 # will be set to the directory where LIBOBJS objects are built.
3033 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3034 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3038 LTLIBOBJS
=$ac_ltlibobjs
3042 : "${CONFIG_STATUS=./config.status}"
3044 ac_clean_files_save
=$ac_clean_files
3045 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3047 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3049 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3051 # Generated by $as_me.
3052 # Run this file to recreate the current configuration.
3053 # Compiler output produced by configure, useful for debugging
3054 # configure, is in config.log if it exists.
3060 SHELL=\${CONFIG_SHELL-$SHELL}
3063 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3064 ## -------------------- ##
3065 ## M4sh Initialization. ##
3066 ## -------------------- ##
3068 # Be more Bourne compatible
3069 DUALCASE
=1; export DUALCASE
# for MKS sh
3070 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3073 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3074 # is contrary to our usage. Disable this feature.
3075 alias -g '${1+"$@"}'='"$@"'
3076 setopt NO_GLOB_SUBST
3078 case `(set -o) 2>/dev/null` in #(
3090 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3091 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3092 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3093 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3094 # Prefer a ksh shell builtin over an external printf program on Solaris,
3095 # but without wasting forks for bash or zsh.
3096 if test -z "$BASH_VERSION$ZSH_VERSION" \
3097 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3098 as_echo='print
-r --'
3099 as_echo_n='print
-rn --'
3100 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3101 as_echo='printf %s
\n'
3102 as_echo_n='printf %s
'
3104 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3105 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3106 as_echo_n='/usr
/ucb
/echo -n'
3108 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3109 as_echo_n_body='eval
3113 expr "X$arg" : "X\\(.*\\)$as_nl";
3114 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3116 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3118 export as_echo_n_body
3119 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3122 as_echo='sh
-c $as_echo_body as_echo
'
3125 # The user is always right.
3126 if test "${PATH_SEPARATOR+set}" != set; then
3128 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3129 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3136 # We need space, tab and new line, in precisely that order. Quoting is
3137 # there to prevent editors from complaining about space-tab.
3138 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3139 # splitting by setting IFS to empty value.)
3142 # Find who we are. Look in the path if we contain no directory separator.
3145 *[\\/]* ) as_myself=$0 ;;
3146 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 test -z "$as_dir" && as_dir=.
3151 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3157 # We did not find ourselves, most probably we were run as `sh COMMAND'
3158 # in which case we are not to be found in the path.
3159 if test "x$as_myself" = x
; then
3162 if test ! -f "$as_myself"; then
3163 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3167 # Unset variables that we do not need and which cause bugs (e.g. in
3168 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3169 # suppresses any "Segmentation fault" message there. '((' could
3170 # trigger a bug in pdksh 5.2.14.
3171 for as_var
in BASH_ENV ENV MAIL MAILPATH
3172 do eval test x\
${$as_var+set} = xset \
3173 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3186 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3189 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3190 # ----------------------------------------
3191 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3192 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3193 # script with STATUS, using 1 if that was 0.
3196 as_status
=$1; test $as_status -eq 0 && as_status
=1
3198 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3199 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3201 $as_echo "$as_me: error: $2" >&2
3202 as_fn_exit
$as_status
3206 # as_fn_set_status STATUS
3207 # -----------------------
3208 # Set $? to STATUS, without forking.
3212 } # as_fn_set_status
3216 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3226 # Portably unset VAR.
3229 { eval $1=; unset $1;}
3231 as_unset
=as_fn_unset
3232 # as_fn_append VAR VALUE
3233 # ----------------------
3234 # Append the text in VALUE to the end of the definition contained in VAR. Take
3235 # advantage of any shell optimizations that allow amortized linear growth over
3236 # repeated appends, instead of the typical quadratic growth present in naive
3238 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3239 eval 'as_fn_append ()
3250 # as_fn_arith ARG...
3251 # ------------------
3252 # Perform arithmetic evaluation on the ARGs, and store the result in the
3253 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3254 # must be portable across $(()) and expr.
3255 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3256 eval 'as_fn_arith ()
3263 as_val
=`expr "$@" || test $? -eq 1`
3268 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3269 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3275 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3276 as_basename
=basename
3281 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3287 as_me
=`$as_basename -- "$0" ||
3288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3289 X"$0" : 'X\(//\)$' \| \
3290 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3292 sed '/^.*\/\([^/][^/]*\)\/*$/{
3306 # Avoid depending upon Character Ranges.
3307 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3308 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3309 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3310 as_cr_digits
='0123456789'
3311 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3313 ECHO_C
= ECHO_N
= ECHO_T
=
3314 case `echo -n x` in #(((((
3316 case `echo 'xy\c'` in
3317 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3319 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3326 rm -f conf$$ conf$$.exe conf$$.
file
3327 if test -d conf$$.dir
; then
3328 rm -f conf$$.dir
/conf$$.
file
3331 mkdir conf$$.dir
2>/dev
/null
3333 if (echo >conf$$.
file) 2>/dev
/null
; then
3334 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3336 # ... but there are two gotchas:
3337 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3338 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3339 # In both cases, we have to default to `cp -pR'.
3340 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3342 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3350 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3351 rmdir conf$$.dir
2>/dev
/null
3356 # Create "$as_dir" as a directory, including parents if necessary.
3361 -*) as_dir
=.
/$as_dir;;
3363 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3367 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3368 *) as_qdir
=$as_dir;;
3370 as_dirs
="'$as_qdir' $as_dirs"
3371 as_dir
=`$as_dirname -- "$as_dir" ||
3372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3373 X"$as_dir" : 'X\(//\)[^/]' \| \
3374 X"$as_dir" : 'X\(//\)$' \| \
3375 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3376 $as_echo X"$as_dir" |
3377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3394 test -d "$as_dir" && break
3396 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3397 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3401 if mkdir
-p .
2>/dev
/null
; then
3402 as_mkdir_p
='mkdir -p "$as_dir"'
3404 test -d .
/-p && rmdir .
/-p
3409 # as_fn_executable_p FILE
3410 # -----------------------
3411 # Test if FILE is an executable regular file.
3412 as_fn_executable_p
()
3414 test -f "$1" && test -x "$1"
3415 } # as_fn_executable_p
3417 as_executable_p
=as_fn_executable_p
3419 # Sed expression to map a string onto a valid CPP name.
3420 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3422 # Sed expression to map a string onto a valid variable name.
3423 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3427 ## ----------------------------------- ##
3428 ## Main body of $CONFIG_STATUS script. ##
3429 ## ----------------------------------- ##
3431 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3434 # Save the log message, to keep $0 and so on meaningful, and to
3435 # report actual input values of CONFIG_FILES etc. instead of their
3436 # values after options handling.
3438 This file was extended by codylib $as_me 0.0, which was
3439 generated by GNU Autoconf 2.69. Invocation command line was
3441 CONFIG_FILES = $CONFIG_FILES
3442 CONFIG_HEADERS = $CONFIG_HEADERS
3443 CONFIG_LINKS = $CONFIG_LINKS
3444 CONFIG_COMMANDS = $CONFIG_COMMANDS
3447 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3452 case $ac_config_files in *"
3453 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3456 case $ac_config_headers in *"
3457 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
3461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3462 # Files that config.status was made for.
3463 config_files="$ac_config_files"
3464 config_headers="$ac_config_headers"
3468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3470 \`$as_me' instantiates files and other configuration actions
3471 from templates according to the current configuration. Unless the files
3472 and actions are specified as TAGs, all are instantiated by default.
3474 Usage: $0 [OPTION]... [TAG]...
3476 -h, --help print this help, then exit
3477 -V, --version print version number and configuration settings, then exit
3478 --config print configuration, then exit
3479 -q, --quiet, --silent
3480 do not print progress messages
3481 -d, --debug don't remove temporary files
3482 --recheck update $as_me by reconfiguring in the same conditions
3483 --file=FILE[:TEMPLATE]
3484 instantiate the configuration file FILE
3485 --header=FILE[:TEMPLATE]
3486 instantiate the configuration header FILE
3488 Configuration files:
3491 Configuration headers:
3494 Report bugs to <github.com/urnathan/libcody>."
3497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3498 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3500 codylib config.status 0.0
3501 configured by $0, generated by GNU Autoconf 2.69,
3502 with options \\"\$ac_cs_config\\"
3504 Copyright (C) 2012 Free Software Foundation, Inc.
3505 This config.status script is free software; the Free Software Foundation
3506 gives unlimited permission to copy, distribute and modify it."
3510 test -n "\$AWK" || AWK=awk
3513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3514 # The default lists apply if the user does not specify any file.
3520 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3521 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3525 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3537 # Handling of the options.
3538 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3540 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3541 $as_echo "$ac_cs_version"; exit ;;
3542 --config |
--confi |
--conf |
--con |
--co |
--c )
3543 $as_echo "$ac_cs_config"; exit ;;
3544 --debug |
--debu |
--deb |
--de |
--d |
-d )
3546 --file |
--fil |
--fi |
--f )
3549 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3550 '') as_fn_error $?
"missing file argument" ;;
3552 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3553 ac_need_defaults
=false
;;
3554 --header |
--heade |
--head |
--hea )
3557 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3559 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
3560 ac_need_defaults
=false
;;
3562 # Conflict between --help and --header
3563 as_fn_error $?
"ambiguous option: \`$1'
3564 Try \`$0 --help' for more information.";;
3565 --help |
--hel |
-h )
3566 $as_echo "$ac_cs_usage"; exit ;;
3567 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3568 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3572 -*) as_fn_error $?
"unrecognized option: \`$1'
3573 Try \`$0 --help' for more information." ;;
3575 *) as_fn_append ac_config_targets
" $1"
3576 ac_need_defaults
=false
;;
3582 ac_configure_extra_args
=
3584 if $ac_cs_silent; then
3586 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3591 if \$ac_cs_recheck; then
3592 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3594 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3595 CONFIG_SHELL='$SHELL'
3601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3605 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3606 ## Running $as_me. ##
3612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3617 # Handling of arguments.
3618 for ac_config_target
in $ac_config_targets
3620 case $ac_config_target in
3621 "$CONFIG_FILES") CONFIG_FILES
="$CONFIG_FILES $CONFIG_FILES" ;;
3622 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
3624 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3629 # If the user did not use the arguments to specify the items to instantiate,
3630 # then the envvar interface is used. Set only those that are not.
3631 # We use the long form for the default assignment because of an extremely
3632 # bizarre bug on SunOS 4.1.3.
3633 if $ac_need_defaults; then
3634 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3635 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
3638 # Have a temporary directory for convenience. Make it in the build tree
3639 # simply because there is no reason against having it here, and in addition,
3640 # creating and moving files from /tmp can sometimes cause problems.
3641 # Hook for its removal unless debugging.
3642 # Note that there is a small window in which the directory will not be cleaned:
3643 # after its creation but before its name has been assigned to `$tmp'.
3647 trap 'exit_status=$?
3649 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3651 trap 'as_fn_exit 1' 1 2 13 15
3653 # Create a (secure) tmp directory for tmp files.
3656 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3660 tmp
=.
/conf$$
-$RANDOM
3661 (umask 077 && mkdir
"$tmp")
3662 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
3665 # Set up the scripts for CONFIG_FILES section.
3666 # No need to generate them if there are no CONFIG_FILES.
3667 # This happens for instance with `./config.status config.h'.
3668 if test -n "$CONFIG_FILES"; then
3671 ac_cr
=`echo X | tr X '\015'`
3672 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3673 # But we know of no other shell where ac_cr would be empty at this
3674 # point, so we can use a bashism as a fallback.
3675 if test "x$ac_cr" = x
; then
3676 eval ac_cr
=\$
\'\\r
\'
3678 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3679 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3685 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3690 echo "cat >conf$$subs.awk <<_ACEOF" &&
3691 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3694 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3695 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3697 for ac_last_try in false false false false false :; do
3698 . ./conf$$subs.sh ||
3699 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3701 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
3702 if test $ac_delim_n = $ac_delim_num; then
3704 elif $ac_last_try; then
3705 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3707 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3713 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
3717 s/^/S["/; s
/!.
*/"]=/
3727 s/\(.\{148\}\)..*/\1/
3729 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3734 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3741 s/\(.\{148\}\)..*/\1/
3743 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3747 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3752 ' <conf$$subs.awk | sed '
3757 ' >>$CONFIG_STATUS || ac_write_fail=1
3758 rm -f conf$$subs.awk
3759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3761 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
3762 for (key in S) S_is_set[key] = 1
3768 nfields = split(line, field, "@
")
3770 len = length(field[1])
3771 for (i = 2; i < nfields; i++) {
3773 keylen = length(key)
3774 if (S_is_set[key]) {
3776 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3777 len += length(value) + length(field[++i])
3788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3789 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3790 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
3793 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
3794 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
3797 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3798 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
3799 # trailing colons and then remove the whole line if VPATH becomes empty
3800 # (actually we leave an empty line to preserve line numbers).
3801 if test "x
$srcdir" = x.; then
3802 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3821 fi # test -n "$CONFIG_FILES"
3823 # Set up the scripts for CONFIG_HEADERS section.
3824 # No need to generate them if there are no CONFIG_HEADERS.
3825 # This happens for instance with `./config.status Makefile'.
3826 if test -n "$CONFIG_HEADERS"; then
3827 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
3831 # Transform confdefs.h into an awk script `defines.awk', embedded as
3832 # here-document in config.status, that substitutes the proper values into
3833 # config.h.in to produce config.h.
3835 # Create a delimiter string that does not exist in confdefs.h, to ease
3836 # handling of long lines.
3838 for ac_last_try in false false :; do
3839 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
3840 if test -z "$ac_tt"; then
3842 elif $ac_last_try; then
3843 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
3845 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3849 # For the awk script, D is an array of macro values keyed by name,
3850 # likewise P contains macro parameters if any. Preserve backslash
3851 # newline sequences.
3853 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3855 s/.\{148\}/&'"$ac_delim"'/g
3858 s/^[ ]*#[ ]*define[ ][ ]*/ /
3865 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
3867 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
3871 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
3872 D["\
1"]=" \
3\\\\\\n
"\\/p
3874 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
3879 s/.\{148\}/&'"$ac_delim"'/g
3884 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
3887 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
3889 ' <confdefs.h | sed '
3890 s/'"$ac_delim"'/"\\\
3891 "/g' >>$CONFIG_STATUS || ac_write_fail=1
3893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3894 for (key in D) D_is_set[key] = 1
3897 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3899 split(line, arg, " ")
3900 if (arg[1] == "#") {
3904 defundef
= substr
(arg
[1], 2)
3907 split(mac1
, mac2
, "(") #)
3909 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
3910 if (D_is_set
[macro
]) {
3911 # Preserve the white space surrounding the "#".
3912 print prefix
"define", macro P
[macro
] D
[macro
]
3915 # Replace #undef with comments. This is necessary, for example,
3916 # in the case of _POSIX_SOURCE, which is predefined and required
3917 # on some systems where configure will not decide to define it.
3918 if (defundef
== "undef") {
3919 print
"/*", prefix defundef
, macro
, "*/"
3927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3928 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
3929 fi # test -n "$CONFIG_HEADERS"
3932 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
3937 :[FHLC
]) ac_mode
=$ac_tag; continue;;
3939 case $ac_mode$ac_tag in
3941 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
3942 :[FH
]-) ac_tag
=-:-;;
3943 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
3960 -) ac_f
="$ac_tmp/stdin";;
3961 *) # Look for the file first in the build tree, then in the source tree
3962 # (if the path is not absolute). The absolute path cannot be DOS-style,
3963 # because $ac_f cannot contain `:'.
3967 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
3969 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3971 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3972 as_fn_append ac_file_inputs
" '$ac_f'"
3975 # Let's still pretend it is `configure' which instantiates (i.e., don't
3976 # use $as_me), people would be surprised to read:
3977 # /* config.h. Generated by config.status. */
3978 configure_input
='Generated from '`
3979 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3981 if test x
"$ac_file" != x-
; then
3982 configure_input
="$ac_file. $configure_input"
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3984 $as_echo "$as_me: creating $ac_file" >&6;}
3986 # Neutralize special characters interpreted by sed in replacement strings.
3987 case $configure_input in #(
3988 *\
&* |
*\|
* |
*\\* )
3989 ac_sed_conf_input
=`$as_echo "$configure_input" |
3990 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3991 *) ac_sed_conf_input
=$configure_input;;
3995 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
3996 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
4001 ac_dir
=`$as_dirname -- "$ac_file" ||
4002 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4003 X"$ac_file" : 'X\(//\)[^/]' \| \
4004 X"$ac_file" : 'X\(//\)$' \| \
4005 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4006 $as_echo X"$ac_file" |
4007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4024 as_dir
="$ac_dir"; as_fn_mkdir_p
4028 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4030 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4031 # A ".." for each directory in $ac_dir_suffix.
4032 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4033 case $ac_top_builddir_sub in
4034 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4035 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4038 ac_abs_top_builddir
=$ac_pwd
4039 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4040 # for backward compatibility:
4041 ac_top_builddir
=$ac_top_build_prefix
4044 .
) # We are building in place.
4046 ac_top_srcdir
=$ac_top_builddir_sub
4047 ac_abs_top_srcdir
=$ac_pwd ;;
4048 [\\/]* | ?
:[\\/]* ) # Absolute name.
4049 ac_srcdir
=$srcdir$ac_dir_suffix;
4050 ac_top_srcdir
=$srcdir
4051 ac_abs_top_srcdir
=$srcdir ;;
4053 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4054 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4055 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4057 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4069 # If the template does not know about datarootdir, expand it.
4070 # FIXME: This hack should be removed a few years after 2.60.
4071 ac_datarootdir_hack
=; ac_datarootdir_seen
=
4082 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4083 *datarootdir
*) ac_datarootdir_seen
=yes;;
4084 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4086 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4089 ac_datarootdir_hack='
4090 s&@datadir@&$datadir&g
4091 s&@docdir@&$docdir&g
4092 s&@infodir@&$infodir&g
4093 s&@localedir@&$localedir&g
4094 s&@mandir@&$mandir&g
4095 s&\\\${datarootdir}&$datarootdir&g' ;;
4099 # Neutralize VPATH when `$srcdir' = `.'.
4100 # Shell code in configure.ac might set extrasub.
4101 # FIXME: do we really want to maintain this feature?
4102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4103 ac_sed_extra="$ac_vpsub
4106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4108 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4109 s|@configure_input@|
$ac_sed_conf_input|
;t t
4110 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4111 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4112 s
&@srcdir@
&$ac_srcdir&;t t
4113 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4114 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4115 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4116 s
&@builddir@
&$ac_builddir&;t t
4117 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4118 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4119 $ac_datarootdir_hack
4121 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4122 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4124 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4125 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4126 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4127 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4129 which seems to be undefined. Please make sure it is defined" >&5
4130 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4131 which seems to be undefined. Please make sure it is defined" >&2;}
4133 rm -f "$ac_tmp/stdin"
4135 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4136 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4138 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4144 if test x"$ac_file" != x-; then
4146 $as_echo "/* $configure_input */" \
4147 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4148 } >"$ac_tmp/config.h" \
4149 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4150 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4152 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4155 mv "$ac_tmp/config.h" "$ac_file" \
4156 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4159 $as_echo "/* $configure_input */" \
4160 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4161 || as_fn_error $? "could not create -" "$LINENO" 5
4173 ac_clean_files=$ac_clean_files_save
4175 test $ac_write_fail = 0 ||
4176 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4179 # configure is writing to config.log, and then calls config.status.
4180 # config.status does its own redirection, appending to config.log.
4181 # Unfortunately, on DOS this fails, as config.log is still kept open
4182 # by configure, so config.status won't be able to
write to it
; its
4183 # output is simply discarded. So we exec the FD to /dev/null,
4184 # effectively closing config.log, so it can be properly (re)opened and
4185 # appended to by config.status. When coming back to configure, we
4186 # need to make the FD available again.
4187 if test "$no_create" != yes; then
4189 ac_config_status_args
=
4190 test "$silent" = yes &&
4191 ac_config_status_args
="$ac_config_status_args --quiet"
4193 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4195 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4196 # would make configure fail if this is the last instruction.
4197 $ac_cs_success || as_fn_exit
1
4199 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4201 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}