ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/configure
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/configure (file contents):
Revision 9307 by michael, Wed Feb 26 17:04:10 2020 UTC vs.
Revision 10117 by michael, Mon Jun 13 15:12:33 2022 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 9260 2020-02-02 19:22:23Z michael .
2 > # From configure.ac Id: configure.ac 10115 2022-06-13 13:06:56Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.30.
4 > # Generated by GNU Autoconf 2.71 for ircd-hybrid 8.2.40.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 > # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
10 > # Inc.
11   #
12   #
13   # This configure script is free software; the Free Software Foundation
# Line 17 | Line 18
18  
19   # Be more Bourne compatible
20   DUALCASE=1; export DUALCASE # for MKS sh
21 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 > as_nop=:
22 > if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23 > then :
24    emulate sh
25    NULLCMD=:
26    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27    # is contrary to our usage.  Disable this feature.
28    alias -g '${1+"$@"}'='"$@"'
29    setopt NO_GLOB_SUBST
30 < else
30 > else $as_nop
31    case `(set -o) 2>/dev/null` in #(
32    *posix*) :
33      set -o posix ;; #(
# Line 34 | Line 37 | esac
37   fi
38  
39  
40 +
41 + # Reset variables that may have inherited troublesome values from
42 + # the environment.
43 +
44 + # IFS needs to be set, to space, tab, and newline, in precisely that order.
45 + # (If _AS_PATH_WALK were called with IFS unset, it would have the
46 + # side effect of setting IFS to empty, thus disabling word splitting.)
47 + # Quoting is to prevent editors from complaining about space-tab.
48   as_nl='
49   '
50   export as_nl
51 < # Printing a long string crashes Solaris 7 /usr/bin/printf.
52 < as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
53 < as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
54 < as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
55 < # Prefer a ksh shell builtin over an external printf program on Solaris,
56 < # but without wasting forks for bash or zsh.
57 < if test -z "$BASH_VERSION$ZSH_VERSION" \
58 <    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59 <  as_echo='print -r --'
60 <  as_echo_n='print -rn --'
61 < elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
62 <  as_echo='printf %s\n'
63 <  as_echo_n='printf %s'
64 < else
65 <  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66 <    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
67 <    as_echo_n='/usr/ucb/echo -n'
68 <  else
69 <    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
70 <    as_echo_n_body='eval
71 <      arg=$1;
72 <      case $arg in #(
73 <      *"$as_nl"*)
74 <        expr "X$arg" : "X\\(.*\\)$as_nl";
75 <        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
76 <      esac;
66 <      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 <    '
68 <    export as_echo_n_body
69 <    as_echo_n='sh -c $as_echo_n_body as_echo'
70 <  fi
71 <  export as_echo_body
72 <  as_echo='sh -c $as_echo_body as_echo'
73 < fi
51 > IFS=" ""        $as_nl"
52 >
53 > PS1='$ '
54 > PS2='> '
55 > PS4='+ '
56 >
57 > # Ensure predictable behavior from utilities with locale-dependent output.
58 > LC_ALL=C
59 > export LC_ALL
60 > LANGUAGE=C
61 > export LANGUAGE
62 >
63 > # We cannot yet rely on "unset" to work, but we need these variables
64 > # to be unset--not just set to an empty or harmless value--now, to
65 > # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
66 > # also avoids known problems related to "unset" and subshell syntax
67 > # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
68 > for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
69 > do eval test \${$as_var+y} \
70 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
71 > done
72 >
73 > # Ensure that fds 0, 1, and 2 are open.
74 > if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
75 > if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
76 > if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
77  
78   # The user is always right.
79 < if test "${PATH_SEPARATOR+set}" != set; then
79 > if ${PATH_SEPARATOR+false} :; then
80    PATH_SEPARATOR=:
81    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
# Line 82 | Line 85 | if test "${PATH_SEPARATOR+set}" != set;
85   fi
86  
87  
85 # IFS
86 # We need space, tab and new line, in precisely that order.  Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" ""        $as_nl"
91
88   # Find who we are.  Look in the path if we contain no directory separator.
89   as_myself=
90   case $0 in #((
# Line 97 | Line 93 | case $0 in #((
93   for as_dir in $PATH
94   do
95    IFS=$as_save_IFS
96 <  test -z "$as_dir" && as_dir=.
97 <    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
96 >  case $as_dir in #(((
97 >    '') as_dir=./ ;;
98 >    */) ;;
99 >    *) as_dir=$as_dir/ ;;
100 >  esac
101 >    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
102    done
103   IFS=$as_save_IFS
104  
# Line 110 | Line 110 | if test "x$as_myself" = x; then
110    as_myself=$0
111   fi
112   if test ! -f "$as_myself"; then
113 <  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 >  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114    exit 1
115   fi
116  
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
117  
118   # Use a proper internal environment variable to ensure we don't fall
119    # into an infinite loop, continuously re-executing ourselves.
# Line 155 | Line 135 | esac
135   exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
136   # Admittedly, this is quite paranoid, since all the known shells bail
137   # out after a failed `exec'.
138 < $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
139 < as_fn_exit 255
138 > printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
139 > exit 255
140    fi
141    # We don't want this to propagate to other subprocesses.
142            { _as_can_reexec=; unset _as_can_reexec;}
143   if test "x$CONFIG_SHELL" = x; then
144 <  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144 >  as_bourne_compatible="as_nop=:
145 > if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
146 > then :
147    emulate sh
148    NULLCMD=:
149    # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
150    # is contrary to our usage.  Disable this feature.
151    alias -g '\${1+\"\$@\"}'='\"\$@\"'
152    setopt NO_GLOB_SUBST
153 < else
153 > else \$as_nop
154    case \`(set -o) 2>/dev/null\` in #(
155    *posix*) :
156      set -o posix ;; #(
# Line 188 | Line 170 | as_fn_success || { exitcode=1; echo as_f
170   as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
171   as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
172   as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
173 < if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
173 > if ( set x; as_fn_ret_success y && test x = \"\$1\" )
174 > then :
175  
176 < else
176 > else \$as_nop
177    exitcode=1; echo positional parameters were not saved.
178   fi
179   test x\$exitcode = x0 || exit 1
180 + blah=\$(echo \$(echo blah))
181 + test x\"\$blah\" = xblah || exit 1
182   test -x / || exit 1"
183    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
# Line 208 | Line 193 | test -x / || exit 1"
193      test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
194        || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
195   test \$(( 1 + 1 )) = 2 || exit 1"
196 <  if (eval "$as_required") 2>/dev/null; then :
196 >  if (eval "$as_required") 2>/dev/null
197 > then :
198    as_have_required=yes
199 < else
199 > else $as_nop
200    as_have_required=no
201   fi
202 <  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
202 >  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
203 > then :
204  
205 < else
205 > else $as_nop
206    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
207   as_found=false
208   for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
209   do
210    IFS=$as_save_IFS
211 <  test -z "$as_dir" && as_dir=.
211 >  case $as_dir in #(((
212 >    '') as_dir=./ ;;
213 >    */) ;;
214 >    *) as_dir=$as_dir/ ;;
215 >  esac
216    as_found=:
217    case $as_dir in #(
218           /*)
219             for as_base in sh bash ksh sh5; do
220               # Try only shells that exist, to save several forks.
221 <             as_shell=$as_dir/$as_base
221 >             as_shell=$as_dir$as_base
222               if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 <                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 >                    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
224 > then :
225    CONFIG_SHELL=$as_shell as_have_required=yes
226 <                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 >                   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
227 > then :
228    break 2
229   fi
230   fi
# Line 239 | Line 232 | fi
232         esac
233    as_found=false
234   done
242 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
243              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
244  CONFIG_SHELL=$SHELL as_have_required=yes
245 fi; }
235   IFS=$as_save_IFS
236 + if $as_found
237 + then :
238 +
239 + else $as_nop
240 +  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
241 +              as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
242 + then :
243 +  CONFIG_SHELL=$SHELL as_have_required=yes
244 + fi
245 + fi
246  
247  
248 <      if test "x$CONFIG_SHELL" != x; then :
248 >      if test "x$CONFIG_SHELL" != x
249 > then :
250    export CONFIG_SHELL
251               # We cannot yet assume a decent shell, so we have to provide a
252   # neutralization value for shells without unset; and this also
# Line 264 | Line 264 | esac
264   exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265   # Admittedly, this is quite paranoid, since all the known shells bail
266   # out after a failed `exec'.
267 < $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 > printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
268   exit 255
269   fi
270  
271 <    if test x$as_have_required = xno; then :
272 <  $as_echo "$0: This script requires a shell more modern than all"
273 <  $as_echo "$0: the shells that I found on your system."
274 <  if test x${ZSH_VERSION+set} = xset ; then
275 <    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 <    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
271 >    if test x$as_have_required = xno
272 > then :
273 >  printf "%s\n" "$0: This script requires a shell more modern than all"
274 >  printf "%s\n" "$0: the shells that I found on your system."
275 >  if test ${ZSH_VERSION+y} ; then
276 >    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 >    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
278    else
279 <    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 >    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
280   $0: bugs@ircd-hybrid.org about your system, including any
281   $0: error possibly output before this message. Then install
282   $0: a modern shell, or manually run the script under such a
# Line 303 | Line 304 | as_fn_unset ()
304   }
305   as_unset=as_fn_unset
306  
307 +
308   # as_fn_set_status STATUS
309   # -----------------------
310   # Set $? to STATUS, without forking.
# Line 320 | Line 322 | as_fn_exit ()
322    as_fn_set_status $1
323    exit $1
324   } # as_fn_exit
325 + # as_fn_nop
326 + # ---------
327 + # Do nothing but, unlike ":", preserve the value of $?.
328 + as_fn_nop ()
329 + {
330 +  return $?
331 + }
332 + as_nop=as_fn_nop
333  
334   # as_fn_mkdir_p
335   # -------------
# Line 334 | Line 344 | as_fn_mkdir_p ()
344      as_dirs=
345      while :; do
346        case $as_dir in #(
347 <      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
347 >      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
348        *) as_qdir=$as_dir;;
349        esac
350        as_dirs="'$as_qdir' $as_dirs"
# Line 343 | Line 353 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/
353           X"$as_dir" : 'X\(//\)[^/]' \| \
354           X"$as_dir" : 'X\(//\)$' \| \
355           X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
356 < $as_echo X"$as_dir" |
356 > printf "%s\n" X"$as_dir" |
357      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
358              s//\1/
359              q
# Line 382 | Line 392 | as_fn_executable_p ()
392   # advantage of any shell optimizations that allow amortized linear growth over
393   # repeated appends, instead of the typical quadratic growth present in naive
394   # implementations.
395 < if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
395 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
396 > then :
397    eval 'as_fn_append ()
398    {
399      eval $1+=\$2
400    }'
401 < else
401 > else $as_nop
402    as_fn_append ()
403    {
404      eval $1=\$$1\$2
# Line 399 | Line 410 | fi # as_fn_append
410   # Perform arithmetic evaluation on the ARGs, and store the result in the
411   # global $as_val. Take advantage of shells that can avoid forks. The arguments
412   # must be portable across $(()) and expr.
413 < if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
413 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
414 > then :
415    eval 'as_fn_arith ()
416    {
417      as_val=$(( $* ))
418    }'
419 < else
419 > else $as_nop
420    as_fn_arith ()
421    {
422      as_val=`expr "$@" || test $? -eq 1`
423    }
424   fi # as_fn_arith
425  
426 + # as_fn_nop
427 + # ---------
428 + # Do nothing but, unlike ":", preserve the value of $?.
429 + as_fn_nop ()
430 + {
431 +  return $?
432 + }
433 + as_nop=as_fn_nop
434  
435   # as_fn_error STATUS ERROR [LINENO LOG_FD]
436   # ----------------------------------------
# Line 422 | Line 442 | as_fn_error ()
442    as_status=$1; test $as_status -eq 0 && as_status=1
443    if test "$4"; then
444      as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
445 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
445 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
446    fi
447 <  $as_echo "$as_me: error: $2" >&2
447 >  printf "%s\n" "$as_me: error: $2" >&2
448    as_fn_exit $as_status
449   } # as_fn_error
450  
# Line 451 | Line 471 | as_me=`$as_basename -- "$0" ||
471   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
472           X"$0" : 'X\(//\)$' \| \
473           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
474 < $as_echo X/"$0" |
474 > printf "%s\n" X/"$0" |
475      sed '/^.*\/\([^/][^/]*\)\/*$/{
476              s//\1/
477              q
# Line 495 | Line 515 | as_cr_alnum=$as_cr_Letters$as_cr_digits
515        s/-\n.*//
516      ' >$as_me.lineno &&
517    chmod +x "$as_me.lineno" ||
518 <    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
518 >    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
519  
520    # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
521    # already done that, so ensure we don't try to do so again and fall
# Line 509 | Line 529 | as_cr_alnum=$as_cr_Letters$as_cr_digits
529    exit
530   }
531  
532 +
533 + # Determine whether it's possible to make 'echo' print without a newline.
534 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
535 + # for compatibility with existing Makefiles.
536   ECHO_C= ECHO_N= ECHO_T=
537   case `echo -n x` in #(((((
538   -n*)
# Line 522 | Line 546 | case `echo -n x` in #(((((
546    ECHO_N='-n';;
547   esac
548  
549 + # For backward compatibility with old third-party macros, we provide
550 + # the shell variables $as_echo and $as_echo_n.  New code should use
551 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
552 + as_echo='printf %s\n'
553 + as_echo_n='printf %s'
554 +
555 +
556   rm -f conf$$ conf$$.exe conf$$.file
557   if test -d conf$$.dir; then
558    rm -f conf$$.dir/conf$$.file
# Line 593 | Line 624 | MAKEFLAGS=
624   # Identity of this package.
625   PACKAGE_NAME='ircd-hybrid'
626   PACKAGE_TARNAME='ircd-hybrid'
627 < PACKAGE_VERSION='8.2.30'
628 < PACKAGE_STRING='ircd-hybrid 8.2.30'
627 > PACKAGE_VERSION='8.2.40'
628 > PACKAGE_STRING='ircd-hybrid 8.2.40'
629   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
630   PACKAGE_URL=''
631  
632   ac_unique_file="src/ircd.c"
633   # Factoring default headers for most tests.
634   ac_includes_default="\
635 < #include <stdio.h>
636 < #ifdef HAVE_SYS_TYPES_H
637 < # include <sys/types.h>
635 > #include <stddef.h>
636 > #ifdef HAVE_STDIO_H
637 > # include <stdio.h>
638   #endif
639 < #ifdef HAVE_SYS_STAT_H
609 < # include <sys/stat.h>
610 < #endif
611 < #ifdef STDC_HEADERS
639 > #ifdef HAVE_STDLIB_H
640   # include <stdlib.h>
613 # include <stddef.h>
614 #else
615 # ifdef HAVE_STDLIB_H
616 #  include <stdlib.h>
617 # endif
641   #endif
642   #ifdef HAVE_STRING_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #  include <memory.h>
622 # endif
643   # include <string.h>
644   #endif
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
627 #endif
645   #ifdef HAVE_INTTYPES_H
646   # include <inttypes.h>
647   #endif
648   #ifdef HAVE_STDINT_H
649   # include <stdint.h>
650   #endif
651 + #ifdef HAVE_STRINGS_H
652 + # include <strings.h>
653 + #endif
654 + #ifdef HAVE_SYS_TYPES_H
655 + # include <sys/types.h>
656 + #endif
657 + #ifdef HAVE_SYS_STAT_H
658 + # include <sys/stat.h>
659 + #endif
660   #ifdef HAVE_UNISTD_H
661   # include <unistd.h>
662   #endif"
663  
664 < ac_func_list=
665 < ac_header_list=
664 > ac_header_c_list=
665 > ac_func_c_list=
666   ac_subst_vars='ltdl_LTLIBOBJS
667   ltdl_LIBOBJS
668   am__EXEEXT_FALSE
# Line 666 | Line 692 | INCLTDL
692   LTDLINCL
693   LTDLDEPS
694   LIBLTDL
669 CPP
695   LT_SYS_LIBRARY_PATH
696   OTOOL64
697   OTOOL
# Line 679 | Line 704 | ac_ct_AR
704   AR
705   DLLTOOL
706   OBJDUMP
707 + FILECMD
708   LN_S
709   NM
710   ac_ct_DUMPBIN
# Line 725 | Line 751 | AM_BACKSLASH
751   AM_DEFAULT_VERBOSITY
752   AM_DEFAULT_V
753   AM_V
754 + CSCOPE
755 + ETAGS
756 + CTAGS
757   am__untar
758   am__tar
759   AMTAR
# Line 808 | Line 837 | with_ltdl_lib
837   enable_ltdl_install
838   enable_kqueue
839   enable_epoll
811 enable_devpoll
840   enable_poll
841   enable_assert
842   enable_debugging
# Line 826 | Line 854 | LIBS
854   CPPFLAGS
855   YACC
856   YFLAGS
857 < LT_SYS_LIBRARY_PATH
830 < CPP'
857 > LT_SYS_LIBRARY_PATH'
858  
859  
860   # Initialize some variables set by options.
# Line 896 | Line 923 | do
923    *)    ac_optarg=yes ;;
924    esac
925  
899  # Accept the important Cygnus configure options, so we can diagnose typos.
900
926    case $ac_dashdash$ac_option in
927    --)
928      ac_dashdash=yes ;;
# Line 938 | Line 963 | do
963      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
964      # Reject names that are not valid shell variable names.
965      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 <      as_fn_error $? "invalid feature name: $ac_useropt"
966 >      as_fn_error $? "invalid feature name: \`$ac_useropt'"
967      ac_useropt_orig=$ac_useropt
968 <    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 >    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
969      case $ac_user_opts in
970        *"
971   "enable_$ac_useropt"
# Line 964 | Line 989 | do
989      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
990      # Reject names that are not valid shell variable names.
991      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992 <      as_fn_error $? "invalid feature name: $ac_useropt"
992 >      as_fn_error $? "invalid feature name: \`$ac_useropt'"
993      ac_useropt_orig=$ac_useropt
994 <    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 >    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
995      case $ac_user_opts in
996        *"
997   "enable_$ac_useropt"
# Line 1177 | Line 1202 | do
1202      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1203      # Reject names that are not valid shell variable names.
1204      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1205 <      as_fn_error $? "invalid package name: $ac_useropt"
1205 >      as_fn_error $? "invalid package name: \`$ac_useropt'"
1206      ac_useropt_orig=$ac_useropt
1207 <    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 >    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1208      case $ac_user_opts in
1209        *"
1210   "with_$ac_useropt"
# Line 1193 | Line 1218 | do
1218      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1219      # Reject names that are not valid shell variable names.
1220      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1221 <      as_fn_error $? "invalid package name: $ac_useropt"
1221 >      as_fn_error $? "invalid package name: \`$ac_useropt'"
1222      ac_useropt_orig=$ac_useropt
1223 <    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 >    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1224      case $ac_user_opts in
1225        *"
1226   "with_$ac_useropt"
# Line 1239 | Line 1264 | Try \`$0 --help' for more information"
1264  
1265    *)
1266      # FIXME: should be removed in autoconf 3.0.
1267 <    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267 >    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1268      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1269 <      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269 >      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1270      : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1271      ;;
1272  
# Line 1257 | Line 1282 | if test -n "$ac_unrecognized_opts"; then
1282    case $enable_option_checking in
1283      no) ;;
1284      fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1285 <    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1285 >    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1286    esac
1287   fi
1288  
# Line 1321 | Line 1346 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*
1346           X"$as_myself" : 'X\(//\)[^/]' \| \
1347           X"$as_myself" : 'X\(//\)$' \| \
1348           X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1349 < $as_echo X"$as_myself" |
1349 > printf "%s\n" X"$as_myself" |
1350      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1351              s//\1/
1352              q
# Line 1378 | Line 1403 | if test "$ac_init_help" = "long"; then
1403    # Omit some internal or obsolete options to make the list less imposing.
1404    # This message is too long to be a string in the A/UX 3.1 sh.
1405    cat <<_ACEOF
1406 < \`configure' configures ircd-hybrid 8.2.30 to adapt to many kinds of systems.
1406 > \`configure' configures ircd-hybrid 8.2.40 to adapt to many kinds of systems.
1407  
1408   Usage: $0 [OPTION]... [VAR=VALUE]...
1409  
# Line 1449 | Line 1474 | fi
1474  
1475   if test -n "$ac_init_help"; then
1476    case $ac_init_help in
1477 <     short | recursive ) echo "Configuration of ircd-hybrid 8.2.30:";;
1477 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.40:";;
1478     esac
1479    cat <<\_ACEOF
1480  
# Line 1474 | Line 1499 | Optional Features:
1499    --enable-ltdl-install   install libltdl
1500    --enable-kqueue         Force kqueue usage.
1501    --enable-epoll          Force epoll usage.
1477  --enable-devpoll        Force devpoll usage.
1502    --enable-poll           Force poll usage.
1503    --enable-assert         Enable assert() statements
1504    --enable-debugging      Enable debugging.
# Line 1515 | Line 1539 | Some influential environment variables:
1539                default value of `-d' given by some make applications.
1540    LT_SYS_LIBRARY_PATH
1541                User-defined run-time library search path.
1518  CPP         C preprocessor
1542  
1543   Use these variables to override the choices made by `configure' or to help
1544   it to find libraries and programs with nonstandard names/locations.
# Line 1536 | Line 1559 | if test "$ac_init_help" = "recursive"; t
1559   case "$ac_dir" in
1560   .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561   *)
1562 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1562 >  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1563    # A ".." for each directory in $ac_dir_suffix.
1564 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1564 >  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1565    case $ac_top_builddir_sub in
1566    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 1566 | Line 1589 | esac
1589   ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1590  
1591      cd "$ac_dir" || { ac_status=$?; continue; }
1592 <    # Check for guested configure.
1592 >    # Check for configure.gnu first; this name is used for a wrapper for
1593 >    # Metaconfig's "Configure" on case-insensitive file systems.
1594      if test -f "$ac_srcdir/configure.gnu"; then
1595        echo &&
1596        $SHELL "$ac_srcdir/configure.gnu" --help=recursive
# Line 1574 | Line 1598 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
1598        echo &&
1599        $SHELL "$ac_srcdir/configure" --help=recursive
1600      else
1601 <      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1601 >      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1602      fi || ac_status=$?
1603      cd "$ac_pwd" || { ac_status=$?; break; }
1604    done
# Line 1583 | Line 1607 | fi
1607   test -n "$ac_init_help" && exit $ac_status
1608   if $ac_init_version; then
1609    cat <<\_ACEOF
1610 < ircd-hybrid configure 8.2.30
1611 < generated by GNU Autoconf 2.69
1610 > ircd-hybrid configure 8.2.40
1611 > generated by GNU Autoconf 2.71
1612  
1613 < Copyright (C) 2012 Free Software Foundation, Inc.
1613 > Copyright (C) 2021 Free Software Foundation, Inc.
1614   This configure script is free software; the Free Software Foundation
1615   gives unlimited permission to copy, distribute and modify it.
1616   _ACEOF
# Line 1603 | Line 1627 | fi
1627   ac_fn_c_try_compile ()
1628   {
1629    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 <  rm -f conftest.$ac_objext
1630 >  rm -f conftest.$ac_objext conftest.beam
1631    if { { ac_try="$ac_compile"
1632   case "(($ac_try" in
1633    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634    *) ac_try_echo=$ac_try;;
1635   esac
1636   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 < $as_echo "$ac_try_echo"; } >&5
1637 > printf "%s\n" "$ac_try_echo"; } >&5
1638    (eval "$ac_compile") 2>conftest.err
1639    ac_status=$?
1640    if test -s conftest.err; then
# Line 1618 | Line 1642 | $as_echo "$ac_try_echo"; } >&5
1642      cat conftest.er1 >&5
1643      mv -f conftest.er1 conftest.err
1644    fi
1645 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646    test $ac_status = 0; } && {
1647           test -z "$ac_c_werror_flag" ||
1648           test ! -s conftest.err
1649 <       } && test -s conftest.$ac_objext; then :
1649 >       } && test -s conftest.$ac_objext
1650 > then :
1651    ac_retval=0
1652 < else
1653 <  $as_echo "$as_me: failed program was:" >&5
1652 > else $as_nop
1653 >  printf "%s\n" "$as_me: failed program was:" >&5
1654   sed 's/^/| /' conftest.$ac_ext >&5
1655  
1656          ac_retval=1
# Line 1641 | Line 1666 | fi
1666   ac_fn_c_try_link ()
1667   {
1668    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 <  rm -f conftest.$ac_objext conftest$ac_exeext
1669 >  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1670    if { { ac_try="$ac_link"
1671   case "(($ac_try" in
1672    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673    *) ac_try_echo=$ac_try;;
1674   esac
1675   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 < $as_echo "$ac_try_echo"; } >&5
1676 > printf "%s\n" "$ac_try_echo"; } >&5
1677    (eval "$ac_link") 2>conftest.err
1678    ac_status=$?
1679    if test -s conftest.err; then
# Line 1656 | Line 1681 | $as_echo "$ac_try_echo"; } >&5
1681      cat conftest.er1 >&5
1682      mv -f conftest.er1 conftest.err
1683    fi
1684 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685    test $ac_status = 0; } && {
1686           test -z "$ac_c_werror_flag" ||
1687           test ! -s conftest.err
1688         } && test -s conftest$ac_exeext && {
1689           test "$cross_compiling" = yes ||
1690           test -x conftest$ac_exeext
1691 <       }; then :
1691 >       }
1692 > then :
1693    ac_retval=0
1694 < else
1695 <  $as_echo "$as_me: failed program was:" >&5
1694 > else $as_nop
1695 >  printf "%s\n" "$as_me: failed program was:" >&5
1696   sed 's/^/| /' conftest.$ac_ext >&5
1697  
1698          ac_retval=1
# Line 1688 | Line 1714 | fi
1714   ac_fn_c_check_header_compile ()
1715   {
1716    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1718 < $as_echo_n "checking for $2... " >&6; }
1719 < if eval \${$3+:} false; then :
1720 <  $as_echo_n "(cached) " >&6
1721 < else
1717 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1718 > printf %s "checking for $2... " >&6; }
1719 > if eval test \${$3+y}
1720 > then :
1721 >  printf %s "(cached) " >&6
1722 > else $as_nop
1723    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1724   /* end confdefs.h.  */
1725   $4
1726   #include <$2>
1727   _ACEOF
1728 < if ac_fn_c_try_compile "$LINENO"; then :
1728 > if ac_fn_c_try_compile "$LINENO"
1729 > then :
1730    eval "$3=yes"
1731 < else
1731 > else $as_nop
1732    eval "$3=no"
1733   fi
1734 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1734 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1735   fi
1736   eval ac_res=\$$3
1737 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738 < $as_echo "$ac_res" >&6; }
1737 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738 > printf "%s\n" "$ac_res" >&6; }
1739    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740  
1741   } # ac_fn_c_check_header_compile
1742  
1715 # ac_fn_c_try_cpp LINENO
1716 # ----------------------
1717 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_cpp ()
1719 {
1720  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721  if { { ac_try="$ac_cpp conftest.$ac_ext"
1722 case "(($ac_try" in
1723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724  *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1729  ac_status=$?
1730  if test -s conftest.err; then
1731    grep -v '^ *+' conftest.err >conftest.er1
1732    cat conftest.er1 >&5
1733    mv -f conftest.er1 conftest.err
1734  fi
1735  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736  test $ac_status = 0; } > conftest.i && {
1737         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1738         test ! -s conftest.err
1739       }; then :
1740  ac_retval=0
1741 else
1742  $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1744
1745    ac_retval=1
1746 fi
1747  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748  as_fn_set_status $ac_retval
1749
1750 } # ac_fn_c_try_cpp
1751
1752 # ac_fn_c_try_run LINENO
1753 # ----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1755 # that executables *can* be run.
1756 ac_fn_c_try_run ()
1757 {
1758  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759  if { { ac_try="$ac_link"
1760 case "(($ac_try" in
1761  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762  *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766  (eval "$ac_link") 2>&5
1767  ac_status=$?
1768  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1770  { { case "(($ac_try" in
1771  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772  *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776  (eval "$ac_try") 2>&5
1777  ac_status=$?
1778  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779  test $ac_status = 0; }; }; then :
1780  ac_retval=0
1781 else
1782  $as_echo "$as_me: program exited with status $ac_status" >&5
1783       $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1785
1786       ac_retval=$ac_status
1787 fi
1788  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790  as_fn_set_status $ac_retval
1791
1792 } # ac_fn_c_try_run
1793
1743   # ac_fn_c_check_func LINENO FUNC VAR
1744   # ----------------------------------
1745   # Tests whether FUNC exists, setting the cache variable VAR accordingly
1746   ac_fn_c_check_func ()
1747   {
1748    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 < $as_echo_n "checking for $2... " >&6; }
1751 < if eval \${$3+:} false; then :
1752 <  $as_echo_n "(cached) " >&6
1753 < else
1749 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 > printf %s "checking for $2... " >&6; }
1751 > if eval test \${$3+y}
1752 > then :
1753 >  printf %s "(cached) " >&6
1754 > else $as_nop
1755    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756   /* end confdefs.h.  */
1757   /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
# Line 1809 | Line 1759 | else
1759   #define $2 innocuous_$2
1760  
1761   /* System header to define __stub macros and hopefully few prototypes,
1762 <    which can conflict with char $2 (); below.
1813 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1814 <    <limits.h> exists even on freestanding compilers.  */
1815 <
1816 < #ifdef __STDC__
1817 < # include <limits.h>
1818 < #else
1819 < # include <assert.h>
1820 < #endif
1762 >   which can conflict with char $2 (); below.  */
1763  
1764 + #include <limits.h>
1765   #undef $2
1766  
1767   /* Override any GCC internal prototype to avoid an error.
# Line 1836 | Line 1779 | choke me
1779   #endif
1780  
1781   int
1782 < main ()
1782 > main (void)
1783   {
1784   return $2 ();
1785    ;
1786    return 0;
1787   }
1788   _ACEOF
1789 < if ac_fn_c_try_link "$LINENO"; then :
1789 > if ac_fn_c_try_link "$LINENO"
1790 > then :
1791    eval "$3=yes"
1792 < else
1792 > else $as_nop
1793    eval "$3=no"
1794   fi
1795 < rm -f core conftest.err conftest.$ac_objext \
1795 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
1796      conftest$ac_exeext conftest.$ac_ext
1797   fi
1798   eval ac_res=\$$3
1799 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1800 < $as_echo "$ac_res" >&6; }
1799 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1800 > printf "%s\n" "$ac_res" >&6; }
1801    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802  
1803   } # ac_fn_c_check_func
1804  
1805 < # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1806 < # ---------------------------------------------
1805 > # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1806 > # ------------------------------------------------------------------
1807   # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1808 < # accordingly.
1809 < ac_fn_c_check_decl ()
1808 > # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1809 > ac_fn_check_decl ()
1810   {
1811    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812    as_decl_name=`echo $2|sed 's/ *(.*//'`
1813 +  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1814 + printf %s "checking whether $as_decl_name is declared... " >&6; }
1815 + if eval test \${$3+y}
1816 + then :
1817 +  printf %s "(cached) " >&6
1818 + else $as_nop
1819    as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1820 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1821 < $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1872 < if eval \${$3+:} false; then :
1873 <  $as_echo_n "(cached) " >&6
1874 < else
1820 >  eval ac_save_FLAGS=\$$6
1821 >  as_fn_append $6 " $5"
1822    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823   /* end confdefs.h.  */
1824   $4
1825   int
1826 < main ()
1826 > main (void)
1827   {
1828   #ifndef $as_decl_name
1829   #ifdef __cplusplus
# Line 1890 | Line 1837 | main ()
1837    return 0;
1838   }
1839   _ACEOF
1840 < if ac_fn_c_try_compile "$LINENO"; then :
1840 > if ac_fn_c_try_compile "$LINENO"
1841 > then :
1842    eval "$3=yes"
1843 < else
1843 > else $as_nop
1844    eval "$3=no"
1845   fi
1846 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1847 >  eval $6=\$ac_save_FLAGS
1848 >
1849   fi
1850   eval ac_res=\$$3
1851 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 < $as_echo "$ac_res" >&6; }
1851 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 > printf "%s\n" "$ac_res" >&6; }
1853    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854  
1855 < } # ac_fn_c_check_decl
1855 > } # ac_fn_check_decl
1856  
1857   # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1858   # -------------------------------------------
# Line 1911 | Line 1861 | $as_echo "$ac_res" >&6; }
1861   ac_fn_c_check_type ()
1862   {
1863    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 < $as_echo_n "checking for $2... " >&6; }
1866 < if eval \${$3+:} false; then :
1867 <  $as_echo_n "(cached) " >&6
1868 < else
1864 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 > printf %s "checking for $2... " >&6; }
1866 > if eval test \${$3+y}
1867 > then :
1868 >  printf %s "(cached) " >&6
1869 > else $as_nop
1870    eval "$3=no"
1871    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1872   /* end confdefs.h.  */
1873   $4
1874   int
1875 < main ()
1875 > main (void)
1876   {
1877   if (sizeof ($2))
1878           return 0;
# Line 1929 | Line 1880 | if (sizeof ($2))
1880    return 0;
1881   }
1882   _ACEOF
1883 < if ac_fn_c_try_compile "$LINENO"; then :
1883 > if ac_fn_c_try_compile "$LINENO"
1884 > then :
1885    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886   /* end confdefs.h.  */
1887   $4
1888   int
1889 < main ()
1889 > main (void)
1890   {
1891   if (sizeof (($2)))
1892              return 0;
# Line 1942 | Line 1894 | if (sizeof (($2)))
1894    return 0;
1895   }
1896   _ACEOF
1897 < if ac_fn_c_try_compile "$LINENO"; then :
1897 > if ac_fn_c_try_compile "$LINENO"
1898 > then :
1899  
1900 < else
1900 > else $as_nop
1901    eval "$3=yes"
1902   fi
1903 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1904   fi
1905 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1905 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1906   fi
1907   eval ac_res=\$$3
1908 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 < $as_echo "$ac_res" >&6; }
1908 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 > printf "%s\n" "$ac_res" >&6; }
1910    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1911  
1912   } # ac_fn_c_check_type
1913  
1914 < # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1915 < # -------------------------------------------------------
1916 < # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1917 < # the include files in INCLUDES and setting the cache variable VAR
1918 < # accordingly.
1966 < ac_fn_c_check_header_mongrel ()
1914 > # ac_fn_c_try_run LINENO
1915 > # ----------------------
1916 > # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1917 > # executables *can* be run.
1918 > ac_fn_c_try_run ()
1919   {
1920    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921 <  if eval \${$3+:} false; then :
1922 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 < $as_echo_n "checking for $2... " >&6; }
1924 < if eval \${$3+:} false; then :
1925 <  $as_echo_n "(cached) " >&6
1926 < fi
1927 < eval ac_res=\$$3
1928 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 < $as_echo "$ac_res" >&6; }
1930 < else
1931 <  # Is the header compilable?
1932 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1933 < $as_echo_n "checking $2 usability... " >&6; }
1934 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 < /* end confdefs.h.  */
1936 < $4
1937 < #include <$2>
1938 < _ACEOF
1939 < if ac_fn_c_try_compile "$LINENO"; then :
1940 <  ac_header_compiler=yes
1941 < else
1942 <  ac_header_compiler=no
1943 < fi
1944 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1945 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1946 < $as_echo "$ac_header_compiler" >&6; }
1947 <
1948 < # Is the header present?
1949 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1998 < $as_echo_n "checking $2 presence... " >&6; }
1999 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000 < /* end confdefs.h.  */
2001 < #include <$2>
2002 < _ACEOF
2003 < if ac_fn_c_try_cpp "$LINENO"; then :
2004 <  ac_header_preproc=yes
2005 < else
2006 <  ac_header_preproc=no
2007 < fi
2008 < rm -f conftest.err conftest.i conftest.$ac_ext
2009 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2010 < $as_echo "$ac_header_preproc" >&6; }
2011 <
2012 < # So?  What about this header?
2013 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2014 <  yes:no: )
2015 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2016 < $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2017 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2018 < $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2019 <    ;;
2020 <  no:yes:* )
2021 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2022 < $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2023 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2024 < $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2025 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2026 < $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2027 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2028 < $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2029 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2030 < $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2031 < ( $as_echo "## ----------------------------------- ##
2032 < ## Report this to bugs@ircd-hybrid.org ##
2033 < ## ----------------------------------- ##"
2034 <     ) | sed "s/^/$as_me: WARNING:     /" >&2
2035 <    ;;
2036 < esac
2037 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2038 < $as_echo_n "checking for $2... " >&6; }
2039 < if eval \${$3+:} false; then :
2040 <  $as_echo_n "(cached) " >&6
2041 < else
2042 <  eval "$3=\$ac_header_compiler"
2043 < fi
2044 < eval ac_res=\$$3
2045 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2046 < $as_echo "$ac_res" >&6; }
1921 >  if { { ac_try="$ac_link"
1922 > case "(($ac_try" in
1923 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924 >  *) ac_try_echo=$ac_try;;
1925 > esac
1926 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 > printf "%s\n" "$ac_try_echo"; } >&5
1928 >  (eval "$ac_link") 2>&5
1929 >  ac_status=$?
1930 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 >  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1932 >  { { case "(($ac_try" in
1933 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1934 >  *) ac_try_echo=$ac_try;;
1935 > esac
1936 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1937 > printf "%s\n" "$ac_try_echo"; } >&5
1938 >  (eval "$ac_try") 2>&5
1939 >  ac_status=$?
1940 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941 >  test $ac_status = 0; }; }
1942 > then :
1943 >  ac_retval=0
1944 > else $as_nop
1945 >  printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1946 >       printf "%s\n" "$as_me: failed program was:" >&5
1947 > sed 's/^/| /' conftest.$ac_ext >&5
1948 >
1949 >       ac_retval=$ac_status
1950   fi
1951 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 +  as_fn_set_status $ac_retval
1954 +
1955 + } # ac_fn_c_try_run
1956 + ac_configure_args_raw=
1957 + for ac_arg
1958 + do
1959 +  case $ac_arg in
1960 +  *\'*)
1961 +    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1962 +  esac
1963 +  as_fn_append ac_configure_args_raw " '$ac_arg'"
1964 + done
1965 +
1966 + case $ac_configure_args_raw in
1967 +  *$as_nl*)
1968 +    ac_safe_unquote= ;;
1969 +  *)
1970 +    ac_unsafe_z='|&;<>()$`\\"*?[ ''     ' # This string ends in space, tab.
1971 +    ac_unsafe_a="$ac_unsafe_z#~"
1972 +    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1973 +    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1974 + esac
1975  
2050 } # ac_fn_c_check_header_mongrel
1976   cat >config.log <<_ACEOF
1977   This file contains any messages produced by compilers while
1978   running configure, to aid debugging if configure makes a mistake.
1979  
1980 < It was created by ircd-hybrid $as_me 8.2.30, which was
1981 < generated by GNU Autoconf 2.69.  Invocation command line was
1980 > It was created by ircd-hybrid $as_me 8.2.40, which was
1981 > generated by GNU Autoconf 2.71.  Invocation command line was
1982  
1983 <  $ $0 $@
1983 >  $ $0$ac_configure_args_raw
1984  
1985   _ACEOF
1986   exec 5>>config.log
# Line 2088 | Line 2013 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2013   for as_dir in $PATH
2014   do
2015    IFS=$as_save_IFS
2016 <  test -z "$as_dir" && as_dir=.
2017 <    $as_echo "PATH: $as_dir"
2016 >  case $as_dir in #(((
2017 >    '') as_dir=./ ;;
2018 >    */) ;;
2019 >    *) as_dir=$as_dir/ ;;
2020 >  esac
2021 >    printf "%s\n" "PATH: $as_dir"
2022    done
2023   IFS=$as_save_IFS
2024  
# Line 2124 | Line 2053 | do
2053      | -silent | --silent | --silen | --sile | --sil)
2054        continue ;;
2055      *\'*)
2056 <      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2056 >      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2057      esac
2058      case $ac_pass in
2059      1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
# Line 2159 | Line 2088 | done
2088   # WARNING: Use '\'' to represent an apostrophe within the trap.
2089   # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2090   trap 'exit_status=$?
2091 +  # Sanitize IFS.
2092 +  IFS=" ""      $as_nl"
2093    # Save into config.log some information that might help in debugging.
2094    {
2095      echo
2096  
2097 <    $as_echo "## ---------------- ##
2097 >    printf "%s\n" "## ---------------- ##
2098   ## Cache variables. ##
2099   ## ---------------- ##"
2100      echo
# Line 2174 | Line 2105 | trap 'exit_status=$?
2105      case $ac_val in #(
2106      *${as_nl}*)
2107        case $ac_var in #(
2108 <      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2109 < $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2108 >      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2109 > printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2110        esac
2111        case $ac_var in #(
2112        _ | IFS | as_nl) ;; #(
# Line 2199 | Line 2130 | $as_echo "$as_me: WARNING: cache variabl
2130   )
2131      echo
2132  
2133 <    $as_echo "## ----------------- ##
2133 >    printf "%s\n" "## ----------------- ##
2134   ## Output variables. ##
2135   ## ----------------- ##"
2136      echo
# Line 2207 | Line 2138 | $as_echo "$as_me: WARNING: cache variabl
2138      do
2139        eval ac_val=\$$ac_var
2140        case $ac_val in
2141 <      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2141 >      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2142        esac
2143 <      $as_echo "$ac_var='\''$ac_val'\''"
2143 >      printf "%s\n" "$ac_var='\''$ac_val'\''"
2144      done | sort
2145      echo
2146  
2147      if test -n "$ac_subst_files"; then
2148 <      $as_echo "## ------------------- ##
2148 >      printf "%s\n" "## ------------------- ##
2149   ## File substitutions. ##
2150   ## ------------------- ##"
2151        echo
# Line 2222 | Line 2153 | $as_echo "$as_me: WARNING: cache variabl
2153        do
2154          eval ac_val=\$$ac_var
2155          case $ac_val in
2156 <        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2156 >        *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2157          esac
2158 <        $as_echo "$ac_var='\''$ac_val'\''"
2158 >        printf "%s\n" "$ac_var='\''$ac_val'\''"
2159        done | sort
2160        echo
2161      fi
2162  
2163      if test -s confdefs.h; then
2164 <      $as_echo "## ----------- ##
2164 >      printf "%s\n" "## ----------- ##
2165   ## confdefs.h. ##
2166   ## ----------- ##"
2167        echo
# Line 2238 | Line 2169 | $as_echo "$as_me: WARNING: cache variabl
2169        echo
2170      fi
2171      test "$ac_signal" != 0 &&
2172 <      $as_echo "$as_me: caught signal $ac_signal"
2173 <    $as_echo "$as_me: exit $exit_status"
2172 >      printf "%s\n" "$as_me: caught signal $ac_signal"
2173 >    printf "%s\n" "$as_me: exit $exit_status"
2174    } >&5
2175    rm -f core *.core core.conftest.* &&
2176      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
# Line 2253 | Line 2184 | ac_signal=0
2184   # confdefs.h avoids OS command line length limits that DEFS can exceed.
2185   rm -f -r conftest* confdefs.h
2186  
2187 < $as_echo "/* confdefs.h */" > confdefs.h
2187 > printf "%s\n" "/* confdefs.h */" > confdefs.h
2188  
2189   # Predefined preprocessor variables.
2190  
2191 < cat >>confdefs.h <<_ACEOF
2261 < #define PACKAGE_NAME "$PACKAGE_NAME"
2262 < _ACEOF
2191 > printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2192  
2193 < cat >>confdefs.h <<_ACEOF
2265 < #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2266 < _ACEOF
2193 > printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2194  
2195 < cat >>confdefs.h <<_ACEOF
2269 < #define PACKAGE_VERSION "$PACKAGE_VERSION"
2270 < _ACEOF
2195 > printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2196  
2197 < cat >>confdefs.h <<_ACEOF
2273 < #define PACKAGE_STRING "$PACKAGE_STRING"
2274 < _ACEOF
2197 > printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2198  
2199 < cat >>confdefs.h <<_ACEOF
2277 < #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2278 < _ACEOF
2199 > printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2200  
2201 < cat >>confdefs.h <<_ACEOF
2281 < #define PACKAGE_URL "$PACKAGE_URL"
2282 < _ACEOF
2201 > printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2202  
2203  
2204   # Let the site file select an alternate cache file if it wants to.
2205   # Prefer an explicitly selected file to automatically selected ones.
2287 ac_site_file1=NONE
2288 ac_site_file2=NONE
2206   if test -n "$CONFIG_SITE"; then
2207 <  # We do not want a PATH search for config.site.
2291 <  case $CONFIG_SITE in #((
2292 <    -*)  ac_site_file1=./$CONFIG_SITE;;
2293 <    */*) ac_site_file1=$CONFIG_SITE;;
2294 <    *)   ac_site_file1=./$CONFIG_SITE;;
2295 <  esac
2207 >  ac_site_files="$CONFIG_SITE"
2208   elif test "x$prefix" != xNONE; then
2209 <  ac_site_file1=$prefix/share/config.site
2298 <  ac_site_file2=$prefix/etc/config.site
2209 >  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2210   else
2211 <  ac_site_file1=$ac_default_prefix/share/config.site
2301 <  ac_site_file2=$ac_default_prefix/etc/config.site
2211 >  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2212   fi
2213 < for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2213 >
2214 > for ac_site_file in $ac_site_files
2215   do
2216 <  test "x$ac_site_file" = xNONE && continue
2217 <  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2218 <    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2219 < $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2216 >  case $ac_site_file in #(
2217 >  */*) :
2218 >     ;; #(
2219 >  *) :
2220 >    ac_site_file=./$ac_site_file ;;
2221 > esac
2222 >  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2223 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2224 > printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2225      sed 's/^/| /' "$ac_site_file" >&5
2226      . "$ac_site_file" \
2227 <      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2228 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2227 >      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2228 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2229   as_fn_error $? "failed to load site script $ac_site_file
2230   See \`config.log' for more details" "$LINENO" 5; }
2231    fi
# Line 2319 | Line 2235 | if test -r "$cache_file"; then
2235    # Some versions of bash will fail to source /dev/null (special files
2236    # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2237    if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2238 <    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2239 < $as_echo "$as_me: loading cache $cache_file" >&6;}
2238 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2239 > printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2240      case $cache_file in
2241        [\\/]* | ?:[\\/]* ) . "$cache_file";;
2242        *)                      . "./$cache_file";;
2243      esac
2244    fi
2245   else
2246 <  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2247 < $as_echo "$as_me: creating cache $cache_file" >&6;}
2246 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2247 > printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2248    >$cache_file
2249   fi
2250  
2251 < as_fn_append ac_func_list " strtok_r"
2252 < as_fn_append ac_func_list " strlcat"
2253 < as_fn_append ac_func_list " strlcpy"
2254 < as_fn_append ac_header_list " crypt.h"
2255 < as_fn_append ac_header_list " sys/param.h"
2256 < as_fn_append ac_header_list " types.h"
2257 < as_fn_append ac_header_list " socket.h"
2258 < as_fn_append ac_header_list " sys/wait.h"
2251 > # Test code for whether the C compiler supports C89 (global declarations)
2252 > ac_c_conftest_c89_globals='
2253 > /* Does the compiler advertise C89 conformance?
2254 >   Do not test the value of __STDC__, because some compilers set it to 0
2255 >   while being otherwise adequately conformant. */
2256 > #if !defined __STDC__
2257 > # error "Compiler does not advertise C89 conformance"
2258 > #endif
2259 >
2260 > #include <stddef.h>
2261 > #include <stdarg.h>
2262 > struct stat;
2263 > /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2264 > struct buf { int x; };
2265 > struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2266 > static char *e (p, i)
2267 >     char **p;
2268 >     int i;
2269 > {
2270 >  return p[i];
2271 > }
2272 > static char *f (char * (*g) (char **, int), char **p, ...)
2273 > {
2274 >  char *s;
2275 >  va_list v;
2276 >  va_start (v,p);
2277 >  s = g (p, va_arg (v,int));
2278 >  va_end (v);
2279 >  return s;
2280 > }
2281 >
2282 > /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2283 >   function prototypes and stuff, but not \xHH hex character constants.
2284 >   These do not provoke an error unfortunately, instead are silently treated
2285 >   as an "x".  The following induces an error, until -std is added to get
2286 >   proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2287 >   array size at least.  It is necessary to write \x00 == 0 to get something
2288 >   that is true only with -std.  */
2289 > int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2290 >
2291 > /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2292 >   inside strings and character constants.  */
2293 > #define FOO(x) '\''x'\''
2294 > int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2295 >
2296 > int test (int i, double x);
2297 > struct s1 {int (*f) (int a);};
2298 > struct s2 {int (*f) (double a);};
2299 > int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2300 >               int, int);'
2301 >
2302 > # Test code for whether the C compiler supports C89 (body of main).
2303 > ac_c_conftest_c89_main='
2304 > ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2305 > '
2306 >
2307 > # Test code for whether the C compiler supports C99 (global declarations)
2308 > ac_c_conftest_c99_globals='
2309 > // Does the compiler advertise C99 conformance?
2310 > #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2311 > # error "Compiler does not advertise C99 conformance"
2312 > #endif
2313 >
2314 > #include <stdbool.h>
2315 > extern int puts (const char *);
2316 > extern int printf (const char *, ...);
2317 > extern int dprintf (int, const char *, ...);
2318 > extern void *malloc (size_t);
2319 >
2320 > // Check varargs macros.  These examples are taken from C99 6.10.3.5.
2321 > // dprintf is used instead of fprintf to avoid needing to declare
2322 > // FILE and stderr.
2323 > #define debug(...) dprintf (2, __VA_ARGS__)
2324 > #define showlist(...) puts (#__VA_ARGS__)
2325 > #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2326 > static void
2327 > test_varargs_macros (void)
2328 > {
2329 >  int x = 1234;
2330 >  int y = 5678;
2331 >  debug ("Flag");
2332 >  debug ("X = %d\n", x);
2333 >  showlist (The first, second, and third items.);
2334 >  report (x>y, "x is %d but y is %d", x, y);
2335 > }
2336 >
2337 > // Check long long types.
2338 > #define BIG64 18446744073709551615ull
2339 > #define BIG32 4294967295ul
2340 > #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2341 > #if !BIG_OK
2342 >  #error "your preprocessor is broken"
2343 > #endif
2344 > #if BIG_OK
2345 > #else
2346 >  #error "your preprocessor is broken"
2347 > #endif
2348 > static long long int bignum = -9223372036854775807LL;
2349 > static unsigned long long int ubignum = BIG64;
2350 >
2351 > struct incomplete_array
2352 > {
2353 >  int datasize;
2354 >  double data[];
2355 > };
2356 >
2357 > struct named_init {
2358 >  int number;
2359 >  const wchar_t *name;
2360 >  double average;
2361 > };
2362 >
2363 > typedef const char *ccp;
2364 >
2365 > static inline int
2366 > test_restrict (ccp restrict text)
2367 > {
2368 >  // See if C++-style comments work.
2369 >  // Iterate through items via the restricted pointer.
2370 >  // Also check for declarations in for loops.
2371 >  for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2372 >    continue;
2373 >  return 0;
2374 > }
2375 >
2376 > // Check varargs and va_copy.
2377 > static bool
2378 > test_varargs (const char *format, ...)
2379 > {
2380 >  va_list args;
2381 >  va_start (args, format);
2382 >  va_list args_copy;
2383 >  va_copy (args_copy, args);
2384 >
2385 >  const char *str = "";
2386 >  int number = 0;
2387 >  float fnumber = 0;
2388 >
2389 >  while (*format)
2390 >    {
2391 >      switch (*format++)
2392 >        {
2393 >        case '\''s'\'': // string
2394 >          str = va_arg (args_copy, const char *);
2395 >          break;
2396 >        case '\''d'\'': // int
2397 >          number = va_arg (args_copy, int);
2398 >          break;
2399 >        case '\''f'\'': // float
2400 >          fnumber = va_arg (args_copy, double);
2401 >          break;
2402 >        default:
2403 >          break;
2404 >        }
2405 >    }
2406 >  va_end (args_copy);
2407 >  va_end (args);
2408 >
2409 >  return *str && number && fnumber;
2410 > }
2411 > '
2412 >
2413 > # Test code for whether the C compiler supports C99 (body of main).
2414 > ac_c_conftest_c99_main='
2415 >  // Check bool.
2416 >  _Bool success = false;
2417 >  success |= (argc != 0);
2418 >
2419 >  // Check restrict.
2420 >  if (test_restrict ("String literal") == 0)
2421 >    success = true;
2422 >  char *restrict newvar = "Another string";
2423 >
2424 >  // Check varargs.
2425 >  success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2426 >  test_varargs_macros ();
2427 >
2428 >  // Check flexible array members.
2429 >  struct incomplete_array *ia =
2430 >    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2431 >  ia->datasize = 10;
2432 >  for (int i = 0; i < ia->datasize; ++i)
2433 >    ia->data[i] = i * 1.234;
2434 >
2435 >  // Check named initializers.
2436 >  struct named_init ni = {
2437 >    .number = 34,
2438 >    .name = L"Test wide string",
2439 >    .average = 543.34343,
2440 >  };
2441 >
2442 >  ni.number = 58;
2443 >
2444 >  int dynamic_array[ni.number];
2445 >  dynamic_array[0] = argv[0][0];
2446 >  dynamic_array[ni.number - 1] = 543;
2447 >
2448 >  // work around unused variable warnings
2449 >  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2450 >         || dynamic_array[ni.number - 1] != 543);
2451 > '
2452 >
2453 > # Test code for whether the C compiler supports C11 (global declarations)
2454 > ac_c_conftest_c11_globals='
2455 > // Does the compiler advertise C11 conformance?
2456 > #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2457 > # error "Compiler does not advertise C11 conformance"
2458 > #endif
2459 >
2460 > // Check _Alignas.
2461 > char _Alignas (double) aligned_as_double;
2462 > char _Alignas (0) no_special_alignment;
2463 > extern char aligned_as_int;
2464 > char _Alignas (0) _Alignas (int) aligned_as_int;
2465 >
2466 > // Check _Alignof.
2467 > enum
2468 > {
2469 >  int_alignment = _Alignof (int),
2470 >  int_array_alignment = _Alignof (int[100]),
2471 >  char_alignment = _Alignof (char)
2472 > };
2473 > _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2474 >
2475 > // Check _Noreturn.
2476 > int _Noreturn does_not_return (void) { for (;;) continue; }
2477 >
2478 > // Check _Static_assert.
2479 > struct test_static_assert
2480 > {
2481 >  int x;
2482 >  _Static_assert (sizeof (int) <= sizeof (long int),
2483 >                  "_Static_assert does not work in struct");
2484 >  long int y;
2485 > };
2486 >
2487 > // Check UTF-8 literals.
2488 > #define u8 syntax error!
2489 > char const utf8_literal[] = u8"happens to be ASCII" "another string";
2490 >
2491 > // Check duplicate typedefs.
2492 > typedef long *long_ptr;
2493 > typedef long int *long_ptr;
2494 > typedef long_ptr long_ptr;
2495 >
2496 > // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2497 > struct anonymous
2498 > {
2499 >  union {
2500 >    struct { int i; int j; };
2501 >    struct { int k; long int l; } w;
2502 >  };
2503 >  int m;
2504 > } v1;
2505 > '
2506 >
2507 > # Test code for whether the C compiler supports C11 (body of main).
2508 > ac_c_conftest_c11_main='
2509 >  _Static_assert ((offsetof (struct anonymous, i)
2510 >                   == offsetof (struct anonymous, w.k)),
2511 >                  "Anonymous union alignment botch");
2512 >  v1.i = 2;
2513 >  v1.w.k = 5;
2514 >  ok |= v1.i != 5;
2515 > '
2516 >
2517 > # Test code for whether the C compiler supports C11 (complete).
2518 > ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2519 > ${ac_c_conftest_c99_globals}
2520 > ${ac_c_conftest_c11_globals}
2521 >
2522 > int
2523 > main (int argc, char **argv)
2524 > {
2525 >  int ok = 0;
2526 >  ${ac_c_conftest_c89_main}
2527 >  ${ac_c_conftest_c99_main}
2528 >  ${ac_c_conftest_c11_main}
2529 >  return ok;
2530 > }
2531 > "
2532 >
2533 > # Test code for whether the C compiler supports C99 (complete).
2534 > ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2535 > ${ac_c_conftest_c99_globals}
2536 >
2537 > int
2538 > main (int argc, char **argv)
2539 > {
2540 >  int ok = 0;
2541 >  ${ac_c_conftest_c89_main}
2542 >  ${ac_c_conftest_c99_main}
2543 >  return ok;
2544 > }
2545 > "
2546 >
2547 > # Test code for whether the C compiler supports C89 (complete).
2548 > ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2549 >
2550 > int
2551 > main (int argc, char **argv)
2552 > {
2553 >  int ok = 0;
2554 >  ${ac_c_conftest_c89_main}
2555 >  return ok;
2556 > }
2557 > "
2558 >
2559 > as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2560 > as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2561 > as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2562 > as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2563 > as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2564 > as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2565 > as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2566 > as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2567 > as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2568 > as_fn_append ac_func_c_list " strlcat HAVE_STRLCAT"
2569 > as_fn_append ac_func_c_list " strlcpy HAVE_STRLCPY"
2570 > as_fn_append ac_header_c_list " crypt.h crypt_h HAVE_CRYPT_H"
2571 > as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
2572 > as_fn_append ac_header_c_list " types.h types_h HAVE_TYPES_H"
2573 > as_fn_append ac_header_c_list " socket.h socket_h HAVE_SOCKET_H"
2574 > as_fn_append ac_header_c_list " sys/wait.h sys_wait_h HAVE_SYS_WAIT_H"
2575 >
2576 > # Auxiliary files required by this configure script.
2577 > ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
2578 >
2579 > # Locations in which to look for auxiliary files.
2580 > ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2581 >
2582 > # Search for a directory containing all of the required auxiliary files,
2583 > # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2584 > # If we don't find one directory that contains all the files we need,
2585 > # we report the set of missing files from the *first* directory in
2586 > # $ac_aux_dir_candidates and give up.
2587 > ac_missing_aux_files=""
2588 > ac_first_candidate=:
2589 > printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2590 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 > as_found=false
2592 > for as_dir in $ac_aux_dir_candidates
2593 > do
2594 >  IFS=$as_save_IFS
2595 >  case $as_dir in #(((
2596 >    '') as_dir=./ ;;
2597 >    */) ;;
2598 >    *) as_dir=$as_dir/ ;;
2599 >  esac
2600 >  as_found=:
2601 >
2602 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
2603 >  ac_aux_dir_found=yes
2604 >  ac_install_sh=
2605 >  for ac_aux in $ac_aux_files
2606 >  do
2607 >    # As a special case, if "install-sh" is required, that requirement
2608 >    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2609 >    # and $ac_install_sh is set appropriately for whichever one is found.
2610 >    if test x"$ac_aux" = x"install-sh"
2611 >    then
2612 >      if test -f "${as_dir}install-sh"; then
2613 >        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
2614 >        ac_install_sh="${as_dir}install-sh -c"
2615 >      elif test -f "${as_dir}install.sh"; then
2616 >        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
2617 >        ac_install_sh="${as_dir}install.sh -c"
2618 >      elif test -f "${as_dir}shtool"; then
2619 >        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
2620 >        ac_install_sh="${as_dir}shtool install -c"
2621 >      else
2622 >        ac_aux_dir_found=no
2623 >        if $ac_first_candidate; then
2624 >          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2625 >        else
2626 >          break
2627 >        fi
2628 >      fi
2629 >    else
2630 >      if test -f "${as_dir}${ac_aux}"; then
2631 >        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
2632 >      else
2633 >        ac_aux_dir_found=no
2634 >        if $ac_first_candidate; then
2635 >          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2636 >        else
2637 >          break
2638 >        fi
2639 >      fi
2640 >    fi
2641 >  done
2642 >  if test "$ac_aux_dir_found" = yes; then
2643 >    ac_aux_dir="$as_dir"
2644 >    break
2645 >  fi
2646 >  ac_first_candidate=false
2647 >
2648 >  as_found=false
2649 > done
2650 > IFS=$as_save_IFS
2651 > if $as_found
2652 > then :
2653 >
2654 > else $as_nop
2655 >  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2656 > fi
2657 >
2658 >
2659 > # These three variables are undocumented and unsupported,
2660 > # and are intended to be withdrawn in a future Autoconf release.
2661 > # They can cause serious problems if a builder's source tree is in a directory
2662 > # whose full name contains unusual characters.
2663 > if test -f "${ac_aux_dir}config.guess"; then
2664 >  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2665 > fi
2666 > if test -f "${ac_aux_dir}config.sub"; then
2667 >  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2668 > fi
2669 > if test -f "$ac_aux_dir/configure"; then
2670 >  ac_configure="$SHELL ${ac_aux_dir}configure"
2671 > fi
2672 >
2673   # Check that the precious variables saved in the cache have kept the same
2674   # value.
2675   ac_cache_corrupted=false
# Line 2350 | Line 2680 | for ac_var in $ac_precious_vars; do
2680    eval ac_new_val=\$ac_env_${ac_var}_value
2681    case $ac_old_set,$ac_new_set in
2682      set,)
2683 <      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2684 < $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2683 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2684 > printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2685        ac_cache_corrupted=: ;;
2686      ,set)
2687 <      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2688 < $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2687 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2688 > printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2689        ac_cache_corrupted=: ;;
2690      ,);;
2691      *)
# Line 2364 | Line 2694 | $as_echo "$as_me: error: \`$ac_var' was
2694          ac_old_val_w=`echo x $ac_old_val`
2695          ac_new_val_w=`echo x $ac_new_val`
2696          if test "$ac_old_val_w" != "$ac_new_val_w"; then
2697 <          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2698 < $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2697 >          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2698 > printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2699            ac_cache_corrupted=:
2700          else
2701 <          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2702 < $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2701 >          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2702 > printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2703            eval $ac_var=\$ac_old_val
2704          fi
2705 <        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2706 < $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2707 <        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2708 < $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2705 >        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2706 > printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
2707 >        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2708 > printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
2709        fi;;
2710    esac
2711    # Pass precious variables to config.status.
2712    if test "$ac_new_set" = set; then
2713      case $ac_new_val in
2714 <    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2714 >    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2715      *) ac_arg=$ac_var=$ac_new_val ;;
2716      esac
2717      case " $ac_configure_args " in
# Line 2391 | Line 2721 | $as_echo "$as_me:   current value: \`$ac
2721    fi
2722   done
2723   if $ac_cache_corrupted; then
2724 <  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2725 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2726 <  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2727 < $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2728 <  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2724 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2725 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2726 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2727 > printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2728 >  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2729 >            and start over" "$LINENO" 5
2730   fi
2731   ## -------------------- ##
2732   ## Main body of script. ##
# Line 2410 | Line 2741 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
2741  
2742   am__api_version='1.16'
2743  
2413 ac_aux_dir=
2414 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2415  if test -f "$ac_dir/install-sh"; then
2416    ac_aux_dir=$ac_dir
2417    ac_install_sh="$ac_aux_dir/install-sh -c"
2418    break
2419  elif test -f "$ac_dir/install.sh"; then
2420    ac_aux_dir=$ac_dir
2421    ac_install_sh="$ac_aux_dir/install.sh -c"
2422    break
2423  elif test -f "$ac_dir/shtool"; then
2424    ac_aux_dir=$ac_dir
2425    ac_install_sh="$ac_aux_dir/shtool install -c"
2426    break
2427  fi
2428 done
2429 if test -z "$ac_aux_dir"; then
2430  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2431 fi
2432
2433 # These three variables are undocumented and unsupported,
2434 # and are intended to be withdrawn in a future Autoconf release.
2435 # They can cause serious problems if a builder's source tree is in a directory
2436 # whose full name contains unusual characters.
2437 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2438 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2439 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2744  
2745  
2746 < # Find a good install program.  We prefer a C program (faster),
2746 >  # Find a good install program.  We prefer a C program (faster),
2747   # so one script is as good as another.  But avoid the broken or
2748   # incompatible versions:
2749   # SysV /etc/install, /usr/sbin/install
# Line 2453 | Line 2757 | ac_configure="$SHELL $ac_aux_dir/configu
2757   # OS/2's system install, which has a completely different semantic
2758   # ./install, which can be erroneously created by make from ./install.sh.
2759   # Reject install programs that cannot install multiple files.
2760 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2761 < $as_echo_n "checking for a BSD-compatible install... " >&6; }
2760 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2761 > printf %s "checking for a BSD-compatible install... " >&6; }
2762   if test -z "$INSTALL"; then
2763 < if ${ac_cv_path_install+:} false; then :
2764 <  $as_echo_n "(cached) " >&6
2765 < else
2763 > if test ${ac_cv_path_install+y}
2764 > then :
2765 >  printf %s "(cached) " >&6
2766 > else $as_nop
2767    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768   for as_dir in $PATH
2769   do
2770    IFS=$as_save_IFS
2771 <  test -z "$as_dir" && as_dir=.
2772 <    # Account for people who put trailing slashes in PATH elements.
2773 < case $as_dir/ in #((
2774 <  ./ | .// | /[cC]/* | \
2771 >  case $as_dir in #(((
2772 >    '') as_dir=./ ;;
2773 >    */) ;;
2774 >    *) as_dir=$as_dir/ ;;
2775 >  esac
2776 >    # Account for fact that we put trailing slashes in our PATH walk.
2777 > case $as_dir in #((
2778 >  ./ | /[cC]/* | \
2779    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2780    ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2781    /usr/ucb/* ) ;;
# Line 2476 | Line 2785 | case $as_dir/ in #((
2785      # by default.
2786      for ac_prog in ginstall scoinst install; do
2787        for ac_exec_ext in '' $ac_executable_extensions; do
2788 <        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2788 >        if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2789            if test $ac_prog = install &&
2790 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2790 >            grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2791              # AIX install.  It has an incompatible calling convention.
2792              :
2793            elif test $ac_prog = install &&
2794 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2794 >            grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2795              # program-specific install script used by HP pwplus--don't use.
2796              :
2797            else
# Line 2490 | Line 2799 | case $as_dir/ in #((
2799              echo one > conftest.one
2800              echo two > conftest.two
2801              mkdir conftest.dir
2802 <            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2802 >            if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2803                test -s conftest.one && test -s conftest.two &&
2804                test -s conftest.dir/conftest.one &&
2805                test -s conftest.dir/conftest.two
2806              then
2807 <              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2807 >              ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2808                break 3
2809              fi
2810            fi
# Line 2511 | Line 2820 | IFS=$as_save_IFS
2820   rm -rf conftest.one conftest.two conftest.dir
2821  
2822   fi
2823 <  if test "${ac_cv_path_install+set}" = set; then
2823 >  if test ${ac_cv_path_install+y}; then
2824      INSTALL=$ac_cv_path_install
2825    else
2826      # As a last resort, use the slow shell script.  Don't cache a
# Line 2521 | Line 2830 | fi
2830      INSTALL=$ac_install_sh
2831    fi
2832   fi
2833 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2834 < $as_echo "$INSTALL" >&6; }
2833 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2834 > printf "%s\n" "$INSTALL" >&6; }
2835  
2836   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2837   # It thinks the first close brace ends the variable substitution.
# Line 2532 | Line 2841 | test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2841  
2842   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2843  
2844 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2845 < $as_echo_n "checking whether build environment is sane... " >&6; }
2844 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2845 > printf %s "checking whether build environment is sane... " >&6; }
2846   # Reject unsafe characters in $srcdir or the absolute working directory
2847   # name.  Accept space and tab only in the latter.
2848   am_lf='
# Line 2587 | Line 2896 | else
2896     as_fn_error $? "newly created file is older than distributed files!
2897   Check your system clock" "$LINENO" 5
2898   fi
2899 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2900 < $as_echo "yes" >&6; }
2899 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2900 > printf "%s\n" "yes" >&6; }
2901   # If we didn't sleep, we still need to ensure time stamps of config.status and
2902   # generated files are strictly newer.
2903   am_sleep_pid=
# Line 2607 | Line 2916 | test "$program_suffix" != NONE &&
2916   # Double any \ or $.
2917   # By default was `s,x,x', remove it if useless.
2918   ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2919 < program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2919 > program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2920 >
2921  
2922   # Expand $ac_aux_dir to an absolute path.
2923   am_aux_dir=`cd "$ac_aux_dir" && pwd`
2924  
2925 < if test x"${MISSING+set}" != xset; then
2926 <  case $am_aux_dir in
2927 <  *\ * | *\     *)
2618 <    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2619 <  *)
2620 <    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2621 <  esac
2925 >
2926 >  if test x"${MISSING+set}" != xset; then
2927 >  MISSING="\${SHELL} '$am_aux_dir/missing'"
2928   fi
2929   # Use eval to expand $SHELL
2930   if eval "$MISSING --is-lightweight"; then
2931    am_missing_run="$MISSING "
2932   else
2933    am_missing_run=
2934 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2935 < $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2934 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2935 > printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2936   fi
2937  
2938   if test x"${install_sh+set}" != xset; then
# Line 2646 | Line 2952 | if test "$cross_compiling" != no; then
2952    if test -n "$ac_tool_prefix"; then
2953    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2954   set dummy ${ac_tool_prefix}strip; ac_word=$2
2955 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 < $as_echo_n "checking for $ac_word... " >&6; }
2957 < if ${ac_cv_prog_STRIP+:} false; then :
2958 <  $as_echo_n "(cached) " >&6
2959 < else
2955 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 > printf %s "checking for $ac_word... " >&6; }
2957 > if test ${ac_cv_prog_STRIP+y}
2958 > then :
2959 >  printf %s "(cached) " >&6
2960 > else $as_nop
2961    if test -n "$STRIP"; then
2962    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2963   else
# Line 2658 | Line 2965 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965   for as_dir in $PATH
2966   do
2967    IFS=$as_save_IFS
2968 <  test -z "$as_dir" && as_dir=.
2968 >  case $as_dir in #(((
2969 >    '') as_dir=./ ;;
2970 >    */) ;;
2971 >    *) as_dir=$as_dir/ ;;
2972 >  esac
2973      for ac_exec_ext in '' $ac_executable_extensions; do
2974 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2974 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2975      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2976 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2977      break 2
2978    fi
2979   done
# Line 2673 | Line 2984 | fi
2984   fi
2985   STRIP=$ac_cv_prog_STRIP
2986   if test -n "$STRIP"; then
2987 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2988 < $as_echo "$STRIP" >&6; }
2987 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2988 > printf "%s\n" "$STRIP" >&6; }
2989   else
2990 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 < $as_echo "no" >&6; }
2990 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 > printf "%s\n" "no" >&6; }
2992   fi
2993  
2994  
# Line 2686 | Line 2997 | if test -z "$ac_cv_prog_STRIP"; then
2997    ac_ct_STRIP=$STRIP
2998    # Extract the first word of "strip", so it can be a program name with args.
2999   set dummy strip; ac_word=$2
3000 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001 < $as_echo_n "checking for $ac_word... " >&6; }
3002 < if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3003 <  $as_echo_n "(cached) " >&6
3004 < else
3000 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001 > printf %s "checking for $ac_word... " >&6; }
3002 > if test ${ac_cv_prog_ac_ct_STRIP+y}
3003 > then :
3004 >  printf %s "(cached) " >&6
3005 > else $as_nop
3006    if test -n "$ac_ct_STRIP"; then
3007    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3008   else
# Line 2698 | Line 3010 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010   for as_dir in $PATH
3011   do
3012    IFS=$as_save_IFS
3013 <  test -z "$as_dir" && as_dir=.
3013 >  case $as_dir in #(((
3014 >    '') as_dir=./ ;;
3015 >    */) ;;
3016 >    *) as_dir=$as_dir/ ;;
3017 >  esac
3018      for ac_exec_ext in '' $ac_executable_extensions; do
3019 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3019 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3020      ac_cv_prog_ac_ct_STRIP="strip"
3021 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3022      break 2
3023    fi
3024   done
# Line 2713 | Line 3029 | fi
3029   fi
3030   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3031   if test -n "$ac_ct_STRIP"; then
3032 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3033 < $as_echo "$ac_ct_STRIP" >&6; }
3032 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3033 > printf "%s\n" "$ac_ct_STRIP" >&6; }
3034   else
3035 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036 < $as_echo "no" >&6; }
3035 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036 > printf "%s\n" "no" >&6; }
3037   fi
3038  
3039    if test "x$ac_ct_STRIP" = x; then
# Line 2725 | Line 3041 | fi
3041    else
3042      case $cross_compiling:$ac_tool_warned in
3043   yes:)
3044 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3045 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3044 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3045 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3046   ac_tool_warned=yes ;;
3047   esac
3048      STRIP=$ac_ct_STRIP
# Line 2738 | Line 3054 | fi
3054   fi
3055   INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3056  
3057 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3058 < $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3057 >
3058 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3059 > printf %s "checking for a race-free mkdir -p... " >&6; }
3060   if test -z "$MKDIR_P"; then
3061 <  if ${ac_cv_path_mkdir+:} false; then :
3062 <  $as_echo_n "(cached) " >&6
3063 < else
3061 >  if test ${ac_cv_path_mkdir+y}
3062 > then :
3063 >  printf %s "(cached) " >&6
3064 > else $as_nop
3065    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066   for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3067   do
3068    IFS=$as_save_IFS
3069 <  test -z "$as_dir" && as_dir=.
3069 >  case $as_dir in #(((
3070 >    '') as_dir=./ ;;
3071 >    */) ;;
3072 >    *) as_dir=$as_dir/ ;;
3073 >  esac
3074      for ac_prog in mkdir gmkdir; do
3075           for ac_exec_ext in '' $ac_executable_extensions; do
3076 <           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3077 <           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3078 <             'mkdir (GNU coreutils) '* | \
3079 <             'mkdir (coreutils) '* | \
3076 >           as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3077 >           case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3078 >             'mkdir ('*'coreutils) '* | \
3079 >             'BusyBox '* | \
3080               'mkdir (fileutils) '4.1*)
3081 <               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3081 >               ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3082                 break 3;;
3083             esac
3084           done
# Line 2767 | Line 3089 | IFS=$as_save_IFS
3089   fi
3090  
3091    test -d ./--version && rmdir ./--version
3092 <  if test "${ac_cv_path_mkdir+set}" = set; then
3092 >  if test ${ac_cv_path_mkdir+y}; then
3093      MKDIR_P="$ac_cv_path_mkdir -p"
3094    else
3095      # As a last resort, use the slow shell script.  Don't cache a
# Line 2777 | Line 3099 | fi
3099      MKDIR_P="$ac_install_sh -d"
3100    fi
3101   fi
3102 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3103 < $as_echo "$MKDIR_P" >&6; }
3102 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3103 > printf "%s\n" "$MKDIR_P" >&6; }
3104  
3105   for ac_prog in gawk mawk nawk awk
3106   do
3107    # Extract the first word of "$ac_prog", so it can be a program name with args.
3108   set dummy $ac_prog; ac_word=$2
3109 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110 < $as_echo_n "checking for $ac_word... " >&6; }
3111 < if ${ac_cv_prog_AWK+:} false; then :
3112 <  $as_echo_n "(cached) " >&6
3113 < else
3109 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110 > printf %s "checking for $ac_word... " >&6; }
3111 > if test ${ac_cv_prog_AWK+y}
3112 > then :
3113 >  printf %s "(cached) " >&6
3114 > else $as_nop
3115    if test -n "$AWK"; then
3116    ac_cv_prog_AWK="$AWK" # Let the user override the test.
3117   else
# Line 2796 | Line 3119 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119   for as_dir in $PATH
3120   do
3121    IFS=$as_save_IFS
3122 <  test -z "$as_dir" && as_dir=.
3122 >  case $as_dir in #(((
3123 >    '') as_dir=./ ;;
3124 >    */) ;;
3125 >    *) as_dir=$as_dir/ ;;
3126 >  esac
3127      for ac_exec_ext in '' $ac_executable_extensions; do
3128 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3128 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3129      ac_cv_prog_AWK="$ac_prog"
3130 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3131      break 2
3132    fi
3133   done
# Line 2811 | Line 3138 | fi
3138   fi
3139   AWK=$ac_cv_prog_AWK
3140   if test -n "$AWK"; then
3141 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3142 < $as_echo "$AWK" >&6; }
3141 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3142 > printf "%s\n" "$AWK" >&6; }
3143   else
3144 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 < $as_echo "no" >&6; }
3144 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 > printf "%s\n" "no" >&6; }
3146   fi
3147  
3148  
3149    test -n "$AWK" && break
3150   done
3151  
3152 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3153 < $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3152 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3153 > printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3154   set x ${MAKE-make}
3155 < ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3156 < if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3157 <  $as_echo_n "(cached) " >&6
3158 < else
3155 > ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3156 > if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3157 > then :
3158 >  printf %s "(cached) " >&6
3159 > else $as_nop
3160    cat >conftest.make <<\_ACEOF
3161   SHELL = /bin/sh
3162   all:
# Line 2844 | Line 3172 | esac
3172   rm -f conftest.make
3173   fi
3174   if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3175 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3176 < $as_echo "yes" >&6; }
3175 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3176 > printf "%s\n" "yes" >&6; }
3177    SET_MAKE=
3178   else
3179 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 < $as_echo "no" >&6; }
3179 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 > printf "%s\n" "no" >&6; }
3181    SET_MAKE="MAKE=${MAKE-make}"
3182   fi
3183  
# Line 2863 | Line 3191 | fi
3191   rmdir .tst 2>/dev/null
3192  
3193   # Check whether --enable-silent-rules was given.
3194 < if test "${enable_silent_rules+set}" = set; then :
3194 > if test ${enable_silent_rules+y}
3195 > then :
3196    enableval=$enable_silent_rules;
3197   fi
3198  
# Line 2873 | Line 3202 | case $enable_silent_rules in # (((
3202      *) AM_DEFAULT_VERBOSITY=1;;
3203   esac
3204   am_make=${MAKE-make}
3205 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3206 < $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3207 < if ${am_cv_make_support_nested_variables+:} false; then :
3208 <  $as_echo_n "(cached) " >&6
3209 < else
3210 <  if $as_echo 'TRUE=$(BAR$(V))
3205 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3206 > printf %s "checking whether $am_make supports nested variables... " >&6; }
3207 > if test ${am_cv_make_support_nested_variables+y}
3208 > then :
3209 >  printf %s "(cached) " >&6
3210 > else $as_nop
3211 >  if printf "%s\n" 'TRUE=$(BAR$(V))
3212   BAR0=false
3213   BAR1=true
3214   V=1
# Line 2890 | Line 3220 | else
3220    am_cv_make_support_nested_variables=no
3221   fi
3222   fi
3223 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3224 < $as_echo "$am_cv_make_support_nested_variables" >&6; }
3223 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3224 > printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3225   if test $am_cv_make_support_nested_variables = yes; then
3226      AM_V='$(V)'
3227    AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# Line 2923 | Line 3253 | fi
3253  
3254   # Define the identity of the package.
3255   PACKAGE='ircd-hybrid'
3256 < VERSION='8.2.30'
3256 > VERSION='8.2.40'
3257  
3258  
3259 < cat >>confdefs.h <<_ACEOF
2930 < #define PACKAGE "$PACKAGE"
2931 < _ACEOF
3259 > printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3260  
3261  
3262 < cat >>confdefs.h <<_ACEOF
2935 < #define VERSION "$VERSION"
2936 < _ACEOF
3262 > printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3263  
3264   # Some tools Automake needs.
3265  
# Line 2973 | Line 3299 | am__tar='$${TAR-tar} chof - "$$tardir"'
3299  
3300  
3301  
3302 + # Variables for tags utilities; see am/tags.am
3303 + if test -z "$CTAGS"; then
3304 +  CTAGS=ctags
3305 + fi
3306 +
3307 + if test -z "$ETAGS"; then
3308 +  ETAGS=etags
3309 + fi
3310 +
3311 + if test -z "$CSCOPE"; then
3312 +  CSCOPE=cscope
3313 + fi
3314 +
3315 +
3316  
3317   # POSIX will say in a future version that running "rm -f" with no argument
3318   # is OK; and we want to be able to make that assumption in our Makefile
# Line 3017 | Line 3357 | END
3357   fi
3358  
3359  
3360 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3361 < $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3360 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3361 > printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3362      # Check whether --enable-maintainer-mode was given.
3363 < if test "${enable_maintainer_mode+set}" = set; then :
3363 > if test ${enable_maintainer_mode+y}
3364 > then :
3365    enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3366 < else
3366 > else $as_nop
3367    USE_MAINTAINER_MODE=no
3368   fi
3369  
3370 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3371 < $as_echo "$USE_MAINTAINER_MODE" >&6; }
3370 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3371 > printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
3372     if test $USE_MAINTAINER_MODE = yes; then
3373    MAINTAINER_MODE_TRUE=
3374    MAINTAINER_MODE_FALSE='#'
# Line 3045 | Line 3386 | ac_config_headers="$ac_config_headers co
3386  
3387  
3388   # Checks for programs.
3048 DEPDIR="${am__leading_dot}deps"
3389  
3050 ac_config_commands="$ac_config_commands depfiles"
3390  
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3053 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3054 cat > confinc.mk << 'END'
3055 am__doit:
3056        @echo this is the am__doit target >confinc.out
3057 .PHONY: am__doit
3058 END
3059 am__include="#"
3060 am__quote=
3061 # BSD make does it like this.
3062 echo '.include "confinc.mk" # ignored' > confmf.BSD
3063 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3064 echo 'include confinc.mk # ignored' > confmf.GNU
3065 _am_result=no
3066 for s in GNU BSD; do
3067  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3068   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3069   ac_status=$?
3070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071   (exit $ac_status); }
3072  case $?:`cat confinc.out 2>/dev/null` in #(
3073  '0:this is the am__doit target') :
3074    case $s in #(
3075  BSD) :
3076    am__include='.include' am__quote='"' ;; #(
3077  *) :
3078    am__include='include' am__quote='' ;;
3079 esac ;; #(
3080  *) :
3081     ;;
3082 esac
3083  if test "$am__include" != "#"; then
3084    _am_result="yes ($s style)"
3085    break
3086  fi
3087 done
3088 rm -f confinc.* confmf.*
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3090 $as_echo "${_am_result}" >&6; }
3391  
3092 # Check whether --enable-dependency-tracking was given.
3093 if test "${enable_dependency_tracking+set}" = set; then :
3094  enableval=$enable_dependency_tracking;
3095 fi
3392  
3393 < if test "x$enable_dependency_tracking" != xno; then
3394 <  am_depcomp="$ac_aux_dir/depcomp"
3395 <  AMDEPBACKSLASH='\'
3100 <  am__nodep='_no'
3101 < fi
3102 < if test "x$enable_dependency_tracking" != xno; then
3103 <  AMDEP_TRUE=
3104 <  AMDEP_FALSE='#'
3105 < else
3106 <  AMDEP_TRUE='#'
3107 <  AMDEP_FALSE=
3108 < fi
3393 >
3394 >
3395 >
3396  
3397  
3398   ac_ext=c
# Line 3116 | Line 3403 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3403   if test -n "$ac_tool_prefix"; then
3404    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3405   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3406 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3407 < $as_echo_n "checking for $ac_word... " >&6; }
3408 < if ${ac_cv_prog_CC+:} false; then :
3409 <  $as_echo_n "(cached) " >&6
3410 < else
3406 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3407 > printf %s "checking for $ac_word... " >&6; }
3408 > if test ${ac_cv_prog_CC+y}
3409 > then :
3410 >  printf %s "(cached) " >&6
3411 > else $as_nop
3412    if test -n "$CC"; then
3413    ac_cv_prog_CC="$CC" # Let the user override the test.
3414   else
# Line 3128 | Line 3416 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3416   for as_dir in $PATH
3417   do
3418    IFS=$as_save_IFS
3419 <  test -z "$as_dir" && as_dir=.
3419 >  case $as_dir in #(((
3420 >    '') as_dir=./ ;;
3421 >    */) ;;
3422 >    *) as_dir=$as_dir/ ;;
3423 >  esac
3424      for ac_exec_ext in '' $ac_executable_extensions; do
3425 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3425 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3426      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3427 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3428      break 2
3429    fi
3430   done
# Line 3143 | Line 3435 | fi
3435   fi
3436   CC=$ac_cv_prog_CC
3437   if test -n "$CC"; then
3438 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3439 < $as_echo "$CC" >&6; }
3438 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3439 > printf "%s\n" "$CC" >&6; }
3440   else
3441 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 < $as_echo "no" >&6; }
3441 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 > printf "%s\n" "no" >&6; }
3443   fi
3444  
3445  
# Line 3156 | Line 3448 | if test -z "$ac_cv_prog_CC"; then
3448    ac_ct_CC=$CC
3449    # Extract the first word of "gcc", so it can be a program name with args.
3450   set dummy gcc; ac_word=$2
3451 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3452 < $as_echo_n "checking for $ac_word... " >&6; }
3453 < if ${ac_cv_prog_ac_ct_CC+:} false; then :
3454 <  $as_echo_n "(cached) " >&6
3455 < else
3451 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3452 > printf %s "checking for $ac_word... " >&6; }
3453 > if test ${ac_cv_prog_ac_ct_CC+y}
3454 > then :
3455 >  printf %s "(cached) " >&6
3456 > else $as_nop
3457    if test -n "$ac_ct_CC"; then
3458    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3459   else
# Line 3168 | Line 3461 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3461   for as_dir in $PATH
3462   do
3463    IFS=$as_save_IFS
3464 <  test -z "$as_dir" && as_dir=.
3464 >  case $as_dir in #(((
3465 >    '') as_dir=./ ;;
3466 >    */) ;;
3467 >    *) as_dir=$as_dir/ ;;
3468 >  esac
3469      for ac_exec_ext in '' $ac_executable_extensions; do
3470 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3470 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3471      ac_cv_prog_ac_ct_CC="gcc"
3472 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3472 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3473      break 2
3474    fi
3475   done
# Line 3183 | Line 3480 | fi
3480   fi
3481   ac_ct_CC=$ac_cv_prog_ac_ct_CC
3482   if test -n "$ac_ct_CC"; then
3483 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3484 < $as_echo "$ac_ct_CC" >&6; }
3483 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3484 > printf "%s\n" "$ac_ct_CC" >&6; }
3485   else
3486 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487 < $as_echo "no" >&6; }
3486 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487 > printf "%s\n" "no" >&6; }
3488   fi
3489  
3490    if test "x$ac_ct_CC" = x; then
# Line 3195 | Line 3492 | fi
3492    else
3493      case $cross_compiling:$ac_tool_warned in
3494   yes:)
3495 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3496 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3495 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3496 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3497   ac_tool_warned=yes ;;
3498   esac
3499      CC=$ac_ct_CC
# Line 3209 | Line 3506 | if test -z "$CC"; then
3506            if test -n "$ac_tool_prefix"; then
3507      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3508   set dummy ${ac_tool_prefix}cc; ac_word=$2
3509 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 < $as_echo_n "checking for $ac_word... " >&6; }
3511 < if ${ac_cv_prog_CC+:} false; then :
3512 <  $as_echo_n "(cached) " >&6
3513 < else
3509 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 > printf %s "checking for $ac_word... " >&6; }
3511 > if test ${ac_cv_prog_CC+y}
3512 > then :
3513 >  printf %s "(cached) " >&6
3514 > else $as_nop
3515    if test -n "$CC"; then
3516    ac_cv_prog_CC="$CC" # Let the user override the test.
3517   else
# Line 3221 | Line 3519 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3519   for as_dir in $PATH
3520   do
3521    IFS=$as_save_IFS
3522 <  test -z "$as_dir" && as_dir=.
3522 >  case $as_dir in #(((
3523 >    '') as_dir=./ ;;
3524 >    */) ;;
3525 >    *) as_dir=$as_dir/ ;;
3526 >  esac
3527      for ac_exec_ext in '' $ac_executable_extensions; do
3528 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3528 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3529      ac_cv_prog_CC="${ac_tool_prefix}cc"
3530 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3530 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3531      break 2
3532    fi
3533   done
# Line 3236 | Line 3538 | fi
3538   fi
3539   CC=$ac_cv_prog_CC
3540   if test -n "$CC"; then
3541 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3542 < $as_echo "$CC" >&6; }
3541 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3542 > printf "%s\n" "$CC" >&6; }
3543   else
3544 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 < $as_echo "no" >&6; }
3544 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 > printf "%s\n" "no" >&6; }
3546   fi
3547  
3548  
# Line 3249 | Line 3551 | fi
3551   if test -z "$CC"; then
3552    # Extract the first word of "cc", so it can be a program name with args.
3553   set dummy cc; ac_word=$2
3554 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 < $as_echo_n "checking for $ac_word... " >&6; }
3556 < if ${ac_cv_prog_CC+:} false; then :
3557 <  $as_echo_n "(cached) " >&6
3558 < else
3554 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 > printf %s "checking for $ac_word... " >&6; }
3556 > if test ${ac_cv_prog_CC+y}
3557 > then :
3558 >  printf %s "(cached) " >&6
3559 > else $as_nop
3560    if test -n "$CC"; then
3561    ac_cv_prog_CC="$CC" # Let the user override the test.
3562   else
# Line 3262 | Line 3565 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565   for as_dir in $PATH
3566   do
3567    IFS=$as_save_IFS
3568 <  test -z "$as_dir" && as_dir=.
3568 >  case $as_dir in #(((
3569 >    '') as_dir=./ ;;
3570 >    */) ;;
3571 >    *) as_dir=$as_dir/ ;;
3572 >  esac
3573      for ac_exec_ext in '' $ac_executable_extensions; do
3574 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3575 <    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3574 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3575 >    if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3576         ac_prog_rejected=yes
3577         continue
3578       fi
3579      ac_cv_prog_CC="cc"
3580 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3581      break 2
3582    fi
3583   done
# Line 3286 | Line 3593 | if test $ac_prog_rejected = yes; then
3593      # However, it has the same basename, so the bogon will be chosen
3594      # first if we set CC to just the basename; use the full file name.
3595      shift
3596 <    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3596 >    ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3597    fi
3598   fi
3599   fi
3600   fi
3601   CC=$ac_cv_prog_CC
3602   if test -n "$CC"; then
3603 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3604 < $as_echo "$CC" >&6; }
3603 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3604 > printf "%s\n" "$CC" >&6; }
3605   else
3606 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 < $as_echo "no" >&6; }
3606 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 > printf "%s\n" "no" >&6; }
3608   fi
3609  
3610  
# Line 3308 | Line 3615 | if test -z "$CC"; then
3615    do
3616      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3617   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3618 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 < $as_echo_n "checking for $ac_word... " >&6; }
3620 < if ${ac_cv_prog_CC+:} false; then :
3621 <  $as_echo_n "(cached) " >&6
3622 < else
3618 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 > printf %s "checking for $ac_word... " >&6; }
3620 > if test ${ac_cv_prog_CC+y}
3621 > then :
3622 >  printf %s "(cached) " >&6
3623 > else $as_nop
3624    if test -n "$CC"; then
3625    ac_cv_prog_CC="$CC" # Let the user override the test.
3626   else
# Line 3320 | Line 3628 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628   for as_dir in $PATH
3629   do
3630    IFS=$as_save_IFS
3631 <  test -z "$as_dir" && as_dir=.
3631 >  case $as_dir in #(((
3632 >    '') as_dir=./ ;;
3633 >    */) ;;
3634 >    *) as_dir=$as_dir/ ;;
3635 >  esac
3636      for ac_exec_ext in '' $ac_executable_extensions; do
3637 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3637 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3638      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3639 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3639 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3640      break 2
3641    fi
3642   done
# Line 3335 | Line 3647 | fi
3647   fi
3648   CC=$ac_cv_prog_CC
3649   if test -n "$CC"; then
3650 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3651 < $as_echo "$CC" >&6; }
3650 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3651 > printf "%s\n" "$CC" >&6; }
3652   else
3653 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3654 < $as_echo "no" >&6; }
3653 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3654 > printf "%s\n" "no" >&6; }
3655   fi
3656  
3657  
# Line 3352 | Line 3664 | if test -z "$CC"; then
3664   do
3665    # Extract the first word of "$ac_prog", so it can be a program name with args.
3666   set dummy $ac_prog; ac_word=$2
3667 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3668 < $as_echo_n "checking for $ac_word... " >&6; }
3669 < if ${ac_cv_prog_ac_ct_CC+:} false; then :
3670 <  $as_echo_n "(cached) " >&6
3671 < else
3667 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3668 > printf %s "checking for $ac_word... " >&6; }
3669 > if test ${ac_cv_prog_ac_ct_CC+y}
3670 > then :
3671 >  printf %s "(cached) " >&6
3672 > else $as_nop
3673    if test -n "$ac_ct_CC"; then
3674    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3675   else
# Line 3364 | Line 3677 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3677   for as_dir in $PATH
3678   do
3679    IFS=$as_save_IFS
3680 <  test -z "$as_dir" && as_dir=.
3680 >  case $as_dir in #(((
3681 >    '') as_dir=./ ;;
3682 >    */) ;;
3683 >    *) as_dir=$as_dir/ ;;
3684 >  esac
3685      for ac_exec_ext in '' $ac_executable_extensions; do
3686 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3686 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3687      ac_cv_prog_ac_ct_CC="$ac_prog"
3688 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3688 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3689      break 2
3690    fi
3691   done
# Line 3379 | Line 3696 | fi
3696   fi
3697   ac_ct_CC=$ac_cv_prog_ac_ct_CC
3698   if test -n "$ac_ct_CC"; then
3699 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3700 < $as_echo "$ac_ct_CC" >&6; }
3699 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3700 > printf "%s\n" "$ac_ct_CC" >&6; }
3701   else
3702 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 < $as_echo "no" >&6; }
3702 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 > printf "%s\n" "no" >&6; }
3704   fi
3705  
3706  
# Line 3395 | Line 3712 | done
3712    else
3713      case $cross_compiling:$ac_tool_warned in
3714   yes:)
3715 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 > ac_tool_warned=yes ;;
3718 > esac
3719 >    CC=$ac_ct_CC
3720 >  fi
3721 > fi
3722 >
3723 > fi
3724 > if test -z "$CC"; then
3725 >  if test -n "$ac_tool_prefix"; then
3726 >  # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3727 > set dummy ${ac_tool_prefix}clang; ac_word=$2
3728 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 > printf %s "checking for $ac_word... " >&6; }
3730 > if test ${ac_cv_prog_CC+y}
3731 > then :
3732 >  printf %s "(cached) " >&6
3733 > else $as_nop
3734 >  if test -n "$CC"; then
3735 >  ac_cv_prog_CC="$CC" # Let the user override the test.
3736 > else
3737 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 > for as_dir in $PATH
3739 > do
3740 >  IFS=$as_save_IFS
3741 >  case $as_dir in #(((
3742 >    '') as_dir=./ ;;
3743 >    */) ;;
3744 >    *) as_dir=$as_dir/ ;;
3745 >  esac
3746 >    for ac_exec_ext in '' $ac_executable_extensions; do
3747 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3748 >    ac_cv_prog_CC="${ac_tool_prefix}clang"
3749 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3750 >    break 2
3751 >  fi
3752 > done
3753 >  done
3754 > IFS=$as_save_IFS
3755 >
3756 > fi
3757 > fi
3758 > CC=$ac_cv_prog_CC
3759 > if test -n "$CC"; then
3760 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3761 > printf "%s\n" "$CC" >&6; }
3762 > else
3763 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 > printf "%s\n" "no" >&6; }
3765 > fi
3766 >
3767 >
3768 > fi
3769 > if test -z "$ac_cv_prog_CC"; then
3770 >  ac_ct_CC=$CC
3771 >  # Extract the first word of "clang", so it can be a program name with args.
3772 > set dummy clang; ac_word=$2
3773 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774 > printf %s "checking for $ac_word... " >&6; }
3775 > if test ${ac_cv_prog_ac_ct_CC+y}
3776 > then :
3777 >  printf %s "(cached) " >&6
3778 > else $as_nop
3779 >  if test -n "$ac_ct_CC"; then
3780 >  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3781 > else
3782 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 > for as_dir in $PATH
3784 > do
3785 >  IFS=$as_save_IFS
3786 >  case $as_dir in #(((
3787 >    '') as_dir=./ ;;
3788 >    */) ;;
3789 >    *) as_dir=$as_dir/ ;;
3790 >  esac
3791 >    for ac_exec_ext in '' $ac_executable_extensions; do
3792 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3793 >    ac_cv_prog_ac_ct_CC="clang"
3794 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3795 >    break 2
3796 >  fi
3797 > done
3798 >  done
3799 > IFS=$as_save_IFS
3800 >
3801 > fi
3802 > fi
3803 > ac_ct_CC=$ac_cv_prog_ac_ct_CC
3804 > if test -n "$ac_ct_CC"; then
3805 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 > printf "%s\n" "$ac_ct_CC" >&6; }
3807 > else
3808 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 > printf "%s\n" "no" >&6; }
3810 > fi
3811 >
3812 >  if test "x$ac_ct_CC" = x; then
3813 >    CC=""
3814 >  else
3815 >    case $cross_compiling:$ac_tool_warned in
3816 > yes:)
3817 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3818 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3819   ac_tool_warned=yes ;;
3820   esac
3821      CC=$ac_ct_CC
3822    fi
3823 + else
3824 +  CC="$ac_cv_prog_CC"
3825   fi
3826  
3827   fi
3828  
3829  
3830 < test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3831 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3830 > test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3831 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3832   as_fn_error $? "no acceptable C compiler found in \$PATH
3833   See \`config.log' for more details" "$LINENO" 5; }
3834  
3835   # Provide some information about the compiler.
3836 < $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3836 > printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3837   set X $ac_compile
3838   ac_compiler=$2
3839 < for ac_option in --version -v -V -qversion; do
3839 > for ac_option in --version -v -V -qversion -version; do
3840    { { ac_try="$ac_compiler $ac_option >&5"
3841   case "(($ac_try" in
3842    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843    *) ac_try_echo=$ac_try;;
3844   esac
3845   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3846 < $as_echo "$ac_try_echo"; } >&5
3846 > printf "%s\n" "$ac_try_echo"; } >&5
3847    (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3848    ac_status=$?
3849    if test -s conftest.err; then
# Line 3432 | Line 3853 | $as_echo "$ac_try_echo"; } >&5
3853      cat conftest.er1 >&5
3854    fi
3855    rm -f conftest.er1 conftest.err
3856 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3857    test $ac_status = 0; }
3858   done
3859  
# Line 3440 | Line 3861 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3861   /* end confdefs.h.  */
3862  
3863   int
3864 < main ()
3864 > main (void)
3865   {
3866  
3867    ;
# Line 3452 | Line 3873 | ac_clean_files="$ac_clean_files a.out a.
3873   # Try to create an executable without -o first, disregard a.out.
3874   # It will help us diagnose broken compilers, and finding out an intuition
3875   # of exeext.
3876 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3877 < $as_echo_n "checking whether the C compiler works... " >&6; }
3878 < ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3876 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3877 > printf %s "checking whether the C compiler works... " >&6; }
3878 > ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3879  
3880   # The possible output files:
3881   ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
# Line 3475 | Line 3896 | case "(($ac_try" in
3896    *) ac_try_echo=$ac_try;;
3897   esac
3898   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3899 < $as_echo "$ac_try_echo"; } >&5
3899 > printf "%s\n" "$ac_try_echo"; } >&5
3900    (eval "$ac_link_default") 2>&5
3901    ac_status=$?
3902 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3903 <  test $ac_status = 0; }; then :
3902 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3903 >  test $ac_status = 0; }
3904 > then :
3905    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3906   # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3907   # in a Makefile.  We should not override ac_cv_exeext if it was cached,
# Line 3496 | Line 3918 | do
3918          # certainly right.
3919          break;;
3920      *.* )
3921 <        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3921 >        if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3922          then :; else
3923             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3924          fi
# Line 3512 | Line 3934 | do
3934   done
3935   test "$ac_cv_exeext" = no && ac_cv_exeext=
3936  
3937 < else
3937 > else $as_nop
3938    ac_file=''
3939   fi
3940 < if test -z "$ac_file"; then :
3941 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942 < $as_echo "no" >&6; }
3943 < $as_echo "$as_me: failed program was:" >&5
3940 > if test -z "$ac_file"
3941 > then :
3942 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943 > printf "%s\n" "no" >&6; }
3944 > printf "%s\n" "$as_me: failed program was:" >&5
3945   sed 's/^/| /' conftest.$ac_ext >&5
3946  
3947 < { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3948 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3947 > { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3948 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3949   as_fn_error 77 "C compiler cannot create executables
3950   See \`config.log' for more details" "$LINENO" 5; }
3951 < else
3952 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3953 < $as_echo "yes" >&6; }
3954 < fi
3955 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3956 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3957 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3958 < $as_echo "$ac_file" >&6; }
3951 > else $as_nop
3952 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3953 > printf "%s\n" "yes" >&6; }
3954 > fi
3955 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3956 > printf %s "checking for C compiler default output file name... " >&6; }
3957 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3958 > printf "%s\n" "$ac_file" >&6; }
3959   ac_exeext=$ac_cv_exeext
3960  
3961   rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3962   ac_clean_files=$ac_clean_files_save
3963 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3964 < $as_echo_n "checking for suffix of executables... " >&6; }
3963 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3964 > printf %s "checking for suffix of executables... " >&6; }
3965   if { { ac_try="$ac_link"
3966   case "(($ac_try" in
3967    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968    *) ac_try_echo=$ac_try;;
3969   esac
3970   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3971 < $as_echo "$ac_try_echo"; } >&5
3971 > printf "%s\n" "$ac_try_echo"; } >&5
3972    (eval "$ac_link") 2>&5
3973    ac_status=$?
3974 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3975 <  test $ac_status = 0; }; then :
3974 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3975 >  test $ac_status = 0; }
3976 > then :
3977    # If both `conftest.exe' and `conftest' are `present' (well, observable)
3978   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3979   # work properly (i.e., refer to `conftest.exe'), while it won't with
# Line 3563 | Line 3987 | for ac_file in conftest.exe conftest con
3987      * ) break;;
3988    esac
3989   done
3990 < else
3991 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3992 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3990 > else $as_nop
3991 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3992 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3993   as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3994   See \`config.log' for more details" "$LINENO" 5; }
3995   fi
3996   rm -f conftest conftest$ac_cv_exeext
3997 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3998 < $as_echo "$ac_cv_exeext" >&6; }
3997 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3998 > printf "%s\n" "$ac_cv_exeext" >&6; }
3999  
4000   rm -f conftest.$ac_ext
4001   EXEEXT=$ac_cv_exeext
# Line 3580 | Line 4004 | cat confdefs.h - <<_ACEOF >conftest.$ac_
4004   /* end confdefs.h.  */
4005   #include <stdio.h>
4006   int
4007 < main ()
4007 > main (void)
4008   {
4009   FILE *f = fopen ("conftest.out", "w");
4010   return ferror (f) || fclose (f) != 0;
# Line 3592 | Line 4016 | _ACEOF
4016   ac_clean_files="$ac_clean_files conftest.out"
4017   # Check that the compiler produces executables we can run.  If not, either
4018   # the compiler is broken, or we cross compile.
4019 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4020 < $as_echo_n "checking whether we are cross compiling... " >&6; }
4019 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4020 > printf %s "checking whether we are cross compiling... " >&6; }
4021   if test "$cross_compiling" != yes; then
4022    { { ac_try="$ac_link"
4023   case "(($ac_try" in
# Line 3601 | Line 4025 | case "(($ac_try" in
4025    *) ac_try_echo=$ac_try;;
4026   esac
4027   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028 < $as_echo "$ac_try_echo"; } >&5
4028 > printf "%s\n" "$ac_try_echo"; } >&5
4029    (eval "$ac_link") 2>&5
4030    ac_status=$?
4031 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4031 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4032    test $ac_status = 0; }
4033    if { ac_try='./conftest$ac_cv_exeext'
4034    { { case "(($ac_try" in
# Line 3612 | Line 4036 | $as_echo "$ac_try_echo"; } >&5
4036    *) ac_try_echo=$ac_try;;
4037   esac
4038   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4039 < $as_echo "$ac_try_echo"; } >&5
4039 > printf "%s\n" "$ac_try_echo"; } >&5
4040    (eval "$ac_try") 2>&5
4041    ac_status=$?
4042 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043    test $ac_status = 0; }; }; then
4044      cross_compiling=no
4045    else
4046      if test "$cross_compiling" = maybe; then
4047          cross_compiling=yes
4048      else
4049 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4051 < as_fn_error $? "cannot run C compiled programs.
4049 >        { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4051 > as_fn_error 77 "cannot run C compiled programs.
4052   If you meant to cross compile, use \`--host'.
4053   See \`config.log' for more details" "$LINENO" 5; }
4054      fi
4055    fi
4056   fi
4057 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4058 < $as_echo "$cross_compiling" >&6; }
4057 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4058 > printf "%s\n" "$cross_compiling" >&6; }
4059  
4060   rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4061   ac_clean_files=$ac_clean_files_save
4062 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4063 < $as_echo_n "checking for suffix of object files... " >&6; }
4064 < if ${ac_cv_objext+:} false; then :
4065 <  $as_echo_n "(cached) " >&6
4066 < else
4062 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4063 > printf %s "checking for suffix of object files... " >&6; }
4064 > if test ${ac_cv_objext+y}
4065 > then :
4066 >  printf %s "(cached) " >&6
4067 > else $as_nop
4068    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069   /* end confdefs.h.  */
4070  
4071   int
4072 < main ()
4072 > main (void)
4073   {
4074  
4075    ;
# Line 3658 | Line 4083 | case "(($ac_try" in
4083    *) ac_try_echo=$ac_try;;
4084   esac
4085   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4086 < $as_echo "$ac_try_echo"; } >&5
4086 > printf "%s\n" "$ac_try_echo"; } >&5
4087    (eval "$ac_compile") 2>&5
4088    ac_status=$?
4089 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4090 <  test $ac_status = 0; }; then :
4089 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4090 >  test $ac_status = 0; }
4091 > then :
4092    for ac_file in conftest.o conftest.obj conftest.*; do
4093    test -f "$ac_file" || continue;
4094    case $ac_file in
# Line 3671 | Line 4097 | $as_echo "$ac_try_echo"; } >&5
4097         break;;
4098    esac
4099   done
4100 < else
4101 <  $as_echo "$as_me: failed program was:" >&5
4100 > else $as_nop
4101 >  printf "%s\n" "$as_me: failed program was:" >&5
4102   sed 's/^/| /' conftest.$ac_ext >&5
4103  
4104 < { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4104 > { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4106   as_fn_error $? "cannot compute suffix of object files: cannot compile
4107   See \`config.log' for more details" "$LINENO" 5; }
4108   fi
4109   rm -f conftest.$ac_cv_objext conftest.$ac_ext
4110   fi
4111 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4112 < $as_echo "$ac_cv_objext" >&6; }
4111 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4112 > printf "%s\n" "$ac_cv_objext" >&6; }
4113   OBJEXT=$ac_cv_objext
4114   ac_objext=$OBJEXT
4115 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4116 < $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4117 < if ${ac_cv_c_compiler_gnu+:} false; then :
4118 <  $as_echo_n "(cached) " >&6
4119 < else
4115 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4116 > printf %s "checking whether the compiler supports GNU C... " >&6; }
4117 > if test ${ac_cv_c_compiler_gnu+y}
4118 > then :
4119 >  printf %s "(cached) " >&6
4120 > else $as_nop
4121    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122   /* end confdefs.h.  */
4123  
4124   int
4125 < main ()
4125 > main (void)
4126   {
4127   #ifndef __GNUC__
4128         choke me
# Line 3705 | Line 4132 | main ()
4132    return 0;
4133   }
4134   _ACEOF
4135 < if ac_fn_c_try_compile "$LINENO"; then :
4135 > if ac_fn_c_try_compile "$LINENO"
4136 > then :
4137    ac_compiler_gnu=yes
4138 < else
4138 > else $as_nop
4139    ac_compiler_gnu=no
4140   fi
4141 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4142   ac_cv_c_compiler_gnu=$ac_compiler_gnu
4143  
4144   fi
4145 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4146 < $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4145 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4146 > printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4147 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
4148 >
4149   if test $ac_compiler_gnu = yes; then
4150    GCC=yes
4151   else
4152    GCC=
4153   fi
4154 < ac_test_CFLAGS=${CFLAGS+set}
4154 > ac_test_CFLAGS=${CFLAGS+y}
4155   ac_save_CFLAGS=$CFLAGS
4156 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4157 < $as_echo_n "checking whether $CC accepts -g... " >&6; }
4158 < if ${ac_cv_prog_cc_g+:} false; then :
4159 <  $as_echo_n "(cached) " >&6
4160 < else
4156 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4157 > printf %s "checking whether $CC accepts -g... " >&6; }
4158 > if test ${ac_cv_prog_cc_g+y}
4159 > then :
4160 >  printf %s "(cached) " >&6
4161 > else $as_nop
4162    ac_save_c_werror_flag=$ac_c_werror_flag
4163     ac_c_werror_flag=yes
4164     ac_cv_prog_cc_g=no
# Line 3736 | Line 4167 | else
4167   /* end confdefs.h.  */
4168  
4169   int
4170 < main ()
4170 > main (void)
4171   {
4172  
4173    ;
4174    return 0;
4175   }
4176   _ACEOF
4177 < if ac_fn_c_try_compile "$LINENO"; then :
4177 > if ac_fn_c_try_compile "$LINENO"
4178 > then :
4179    ac_cv_prog_cc_g=yes
4180 < else
4180 > else $as_nop
4181    CFLAGS=""
4182        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183   /* end confdefs.h.  */
4184  
4185   int
4186 < main ()
4186 > main (void)
4187   {
4188  
4189    ;
4190    return 0;
4191   }
4192   _ACEOF
4193 < if ac_fn_c_try_compile "$LINENO"; then :
4193 > if ac_fn_c_try_compile "$LINENO"
4194 > then :
4195  
4196 < else
4196 > else $as_nop
4197    ac_c_werror_flag=$ac_save_c_werror_flag
4198           CFLAGS="-g"
4199           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200   /* end confdefs.h.  */
4201  
4202   int
4203 < main ()
4203 > main (void)
4204   {
4205  
4206    ;
4207    return 0;
4208   }
4209   _ACEOF
4210 < if ac_fn_c_try_compile "$LINENO"; then :
4210 > if ac_fn_c_try_compile "$LINENO"
4211 > then :
4212    ac_cv_prog_cc_g=yes
4213   fi
4214 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4215   fi
4216 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4217   fi
4218 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4219     ac_c_werror_flag=$ac_save_c_werror_flag
4220   fi
4221 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4222 < $as_echo "$ac_cv_prog_cc_g" >&6; }
4223 < if test "$ac_test_CFLAGS" = set; then
4221 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4222 > printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4223 > if test $ac_test_CFLAGS; then
4224    CFLAGS=$ac_save_CFLAGS
4225   elif test $ac_cv_prog_cc_g = yes; then
4226    if test "$GCC" = yes; then
# Line 3801 | Line 4235 | else
4235      CFLAGS=
4236    fi
4237   fi
4238 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4239 < $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4240 < if ${ac_cv_prog_cc_c89+:} false; then :
4241 <  $as_echo_n "(cached) " >&6
4242 < else
4243 <  ac_cv_prog_cc_c89=no
4238 > ac_prog_cc_stdc=no
4239 > if test x$ac_prog_cc_stdc = xno
4240 > then :
4241 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4242 > printf %s "checking for $CC option to enable C11 features... " >&6; }
4243 > if test ${ac_cv_prog_cc_c11+y}
4244 > then :
4245 >  printf %s "(cached) " >&6
4246 > else $as_nop
4247 >  ac_cv_prog_cc_c11=no
4248   ac_save_CC=$CC
4249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250   /* end confdefs.h.  */
4251 < #include <stdarg.h>
4252 < #include <stdio.h>
4253 < struct stat;
4254 < /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4255 < struct buf { int x; };
4256 < FILE * (*rcsopen) (struct buf *, struct stat *, int);
4257 < static char *e (p, i)
4258 <     char **p;
4259 <     int i;
4260 < {
4261 <  return p[i];
4262 < }
4263 < static char *f (char * (*g) (char **, int), char **p, ...)
4264 < {
4265 <  char *s;
3828 <  va_list v;
3829 <  va_start (v,p);
3830 <  s = g (p, va_arg (v,int));
3831 <  va_end (v);
3832 <  return s;
3833 < }
3834 <
3835 < /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3836 <   function prototypes and stuff, but not '\xHH' hex character constants.
3837 <   These don't provoke an error unfortunately, instead are silently treated
3838 <   as 'x'.  The following induces an error, until -std is added to get
3839 <   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3840 <   array size at least.  It's necessary to write '\x00'==0 to get something
3841 <   that's true only with -std.  */
3842 < int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4251 > $ac_c_conftest_c11_program
4252 > _ACEOF
4253 > for ac_arg in '' -std=gnu11
4254 > do
4255 >  CC="$ac_save_CC $ac_arg"
4256 >  if ac_fn_c_try_compile "$LINENO"
4257 > then :
4258 >  ac_cv_prog_cc_c11=$ac_arg
4259 > fi
4260 > rm -f core conftest.err conftest.$ac_objext conftest.beam
4261 >  test "x$ac_cv_prog_cc_c11" != "xno" && break
4262 > done
4263 > rm -f conftest.$ac_ext
4264 > CC=$ac_save_CC
4265 > fi
4266  
4267 < /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4268 <   inside strings and character constants.  */
4269 < #define FOO(x) 'x'
4270 < int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4267 > if test "x$ac_cv_prog_cc_c11" = xno
4268 > then :
4269 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4270 > printf "%s\n" "unsupported" >&6; }
4271 > else $as_nop
4272 >  if test "x$ac_cv_prog_cc_c11" = x
4273 > then :
4274 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4275 > printf "%s\n" "none needed" >&6; }
4276 > else $as_nop
4277 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4278 > printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4279 >     CC="$CC $ac_cv_prog_cc_c11"
4280 > fi
4281 >  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4282 >  ac_prog_cc_stdc=c11
4283 > fi
4284 > fi
4285 > if test x$ac_prog_cc_stdc = xno
4286 > then :
4287 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4288 > printf %s "checking for $CC option to enable C99 features... " >&6; }
4289 > if test ${ac_cv_prog_cc_c99+y}
4290 > then :
4291 >  printf %s "(cached) " >&6
4292 > else $as_nop
4293 >  ac_cv_prog_cc_c99=no
4294 > ac_save_CC=$CC
4295 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4296 > /* end confdefs.h.  */
4297 > $ac_c_conftest_c99_program
4298 > _ACEOF
4299 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4300 > do
4301 >  CC="$ac_save_CC $ac_arg"
4302 >  if ac_fn_c_try_compile "$LINENO"
4303 > then :
4304 >  ac_cv_prog_cc_c99=$ac_arg
4305 > fi
4306 > rm -f core conftest.err conftest.$ac_objext conftest.beam
4307 >  test "x$ac_cv_prog_cc_c99" != "xno" && break
4308 > done
4309 > rm -f conftest.$ac_ext
4310 > CC=$ac_save_CC
4311 > fi
4312  
4313 < int test (int i, double x);
4314 < struct s1 {int (*f) (int a);};
4315 < struct s2 {int (*f) (double a);};
4316 < int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4317 < int argc;
4318 < char **argv;
4319 < int
4320 < main ()
4321 < {
4322 < return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4323 <  ;
4324 <  return 0;
4325 < }
4313 > if test "x$ac_cv_prog_cc_c99" = xno
4314 > then :
4315 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4316 > printf "%s\n" "unsupported" >&6; }
4317 > else $as_nop
4318 >  if test "x$ac_cv_prog_cc_c99" = x
4319 > then :
4320 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4321 > printf "%s\n" "none needed" >&6; }
4322 > else $as_nop
4323 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4324 > printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4325 >     CC="$CC $ac_cv_prog_cc_c99"
4326 > fi
4327 >  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4328 >  ac_prog_cc_stdc=c99
4329 > fi
4330 > fi
4331 > if test x$ac_prog_cc_stdc = xno
4332 > then :
4333 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4334 > printf %s "checking for $CC option to enable C89 features... " >&6; }
4335 > if test ${ac_cv_prog_cc_c89+y}
4336 > then :
4337 >  printf %s "(cached) " >&6
4338 > else $as_nop
4339 >  ac_cv_prog_cc_c89=no
4340 > ac_save_CC=$CC
4341 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 > /* end confdefs.h.  */
4343 > $ac_c_conftest_c89_program
4344   _ACEOF
4345 < for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3864 <        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4345 > for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4346   do
4347    CC="$ac_save_CC $ac_arg"
4348 <  if ac_fn_c_try_compile "$LINENO"; then :
4348 >  if ac_fn_c_try_compile "$LINENO"
4349 > then :
4350    ac_cv_prog_cc_c89=$ac_arg
4351   fi
4352 < rm -f core conftest.err conftest.$ac_objext
4352 > rm -f core conftest.err conftest.$ac_objext conftest.beam
4353    test "x$ac_cv_prog_cc_c89" != "xno" && break
4354   done
4355   rm -f conftest.$ac_ext
4356   CC=$ac_save_CC
3875
4357   fi
3877 # AC_CACHE_VAL
3878 case "x$ac_cv_prog_cc_c89" in
3879  x)
3880    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3881 $as_echo "none needed" >&6; } ;;
3882  xno)
3883    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3884 $as_echo "unsupported" >&6; } ;;
3885  *)
3886    CC="$CC $ac_cv_prog_cc_c89"
3887    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3888 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3889 esac
3890 if test "x$ac_cv_prog_cc_c89" != xno; then :
4358  
4359 + if test "x$ac_cv_prog_cc_c89" = xno
4360 + then :
4361 +  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4362 + printf "%s\n" "unsupported" >&6; }
4363 + else $as_nop
4364 +  if test "x$ac_cv_prog_cc_c89" = x
4365 + then :
4366 +  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4367 + printf "%s\n" "none needed" >&6; }
4368 + else $as_nop
4369 +  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4370 + printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4371 +     CC="$CC $ac_cv_prog_cc_c89"
4372 + fi
4373 +  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4374 +  ac_prog_cc_stdc=c89
4375 + fi
4376   fi
4377  
4378   ac_ext=c
# Line 3897 | Line 4381 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
4381   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4382   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4383  
4384 < ac_ext=c
4384 >
4385 >  ac_ext=c
4386   ac_cpp='$CPP $CPPFLAGS'
4387   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4390 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4391 < $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4392 < if ${am_cv_prog_cc_c_o+:} false; then :
4393 <  $as_echo_n "(cached) " >&6
4394 < else
4390 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4391 > printf %s "checking whether $CC understands -c and -o together... " >&6; }
4392 > if test ${am_cv_prog_cc_c_o+y}
4393 > then :
4394 >  printf %s "(cached) " >&6
4395 > else $as_nop
4396    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397   /* end confdefs.h.  */
4398  
4399   int
4400 < main ()
4400 > main (void)
4401   {
4402  
4403    ;
# Line 3939 | Line 4425 | _ACEOF
4425    rm -f core conftest*
4426    unset am_i
4427   fi
4428 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4429 < $as_echo "$am_cv_prog_cc_c_o" >&6; }
4428 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4429 > printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4430   if test "$am_cv_prog_cc_c_o" != yes; then
4431     # Losing compiler, so override with the script.
4432     # FIXME: It is wrong to rewrite CC.
# Line 3955 | Line 4441 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
4441   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4442   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4443  
4444 + DEPDIR="${am__leading_dot}deps"
4445  
4446 < depcc="$CC"   am_compiler_list=
4446 > ac_config_commands="$ac_config_commands depfiles"
4447  
4448 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4449 < $as_echo_n "checking dependency style of $depcc... " >&6; }
4450 < if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4451 <  $as_echo_n "(cached) " >&6
4448 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4449 > printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4450 > cat > confinc.mk << 'END'
4451 > am__doit:
4452 >        @echo this is the am__doit target >confinc.out
4453 > .PHONY: am__doit
4454 > END
4455 > am__include="#"
4456 > am__quote=
4457 > # BSD make does it like this.
4458 > echo '.include "confinc.mk" # ignored' > confmf.BSD
4459 > # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4460 > echo 'include confinc.mk # ignored' > confmf.GNU
4461 > _am_result=no
4462 > for s in GNU BSD; do
4463 >  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4464 >   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4465 >   ac_status=$?
4466 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 >   (exit $ac_status); }
4468 >  case $?:`cat confinc.out 2>/dev/null` in #(
4469 >  '0:this is the am__doit target') :
4470 >    case $s in #(
4471 >  BSD) :
4472 >    am__include='.include' am__quote='"' ;; #(
4473 >  *) :
4474 >    am__include='include' am__quote='' ;;
4475 > esac ;; #(
4476 >  *) :
4477 >     ;;
4478 > esac
4479 >  if test "$am__include" != "#"; then
4480 >    _am_result="yes ($s style)"
4481 >    break
4482 >  fi
4483 > done
4484 > rm -f confinc.* confmf.*
4485 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4486 > printf "%s\n" "${_am_result}" >&6; }
4487 >
4488 > # Check whether --enable-dependency-tracking was given.
4489 > if test ${enable_dependency_tracking+y}
4490 > then :
4491 >  enableval=$enable_dependency_tracking;
4492 > fi
4493 >
4494 > if test "x$enable_dependency_tracking" != xno; then
4495 >  am_depcomp="$ac_aux_dir/depcomp"
4496 >  AMDEPBACKSLASH='\'
4497 >  am__nodep='_no'
4498 > fi
4499 > if test "x$enable_dependency_tracking" != xno; then
4500 >  AMDEP_TRUE=
4501 >  AMDEP_FALSE='#'
4502   else
4503 +  AMDEP_TRUE='#'
4504 +  AMDEP_FALSE=
4505 + fi
4506 +
4507 +
4508 +
4509 + depcc="$CC"   am_compiler_list=
4510 +
4511 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4512 + printf %s "checking dependency style of $depcc... " >&6; }
4513 + if test ${am_cv_CC_dependencies_compiler_type+y}
4514 + then :
4515 +  printf %s "(cached) " >&6
4516 + else $as_nop
4517    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4518    # We make a subdir and do the tests there.  Otherwise we can end up
4519    # making bogus files that we don't know about and never remove.  For
# Line 4069 | Line 4620 | else
4620   fi
4621  
4622   fi
4623 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4624 < $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4623 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4624 > printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4625   CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4626  
4627   if
# Line 4084 | Line 4635 | else
4635   fi
4636  
4637  
4087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4088 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4089 if ${ac_cv_prog_cc_c99+:} false; then :
4090  $as_echo_n "(cached) " >&6
4091 else
4092  ac_cv_prog_cc_c99=no
4093 ac_save_CC=$CC
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h.  */
4096 #include <stdarg.h>
4097 #include <stdbool.h>
4098 #include <stdlib.h>
4099 #include <wchar.h>
4100 #include <stdio.h>
4101
4102 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4103 #define debug(...) fprintf (stderr, __VA_ARGS__)
4104 #define showlist(...) puts (#__VA_ARGS__)
4105 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4106 static void
4107 test_varargs_macros (void)
4108 {
4109  int x = 1234;
4110  int y = 5678;
4111  debug ("Flag");
4112  debug ("X = %d\n", x);
4113  showlist (The first, second, and third items.);
4114  report (x>y, "x is %d but y is %d", x, y);
4115 }
4116
4117 // Check long long types.
4118 #define BIG64 18446744073709551615ull
4119 #define BIG32 4294967295ul
4120 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4121 #if !BIG_OK
4122  your preprocessor is broken;
4123 #endif
4124 #if BIG_OK
4125 #else
4126  your preprocessor is broken;
4127 #endif
4128 static long long int bignum = -9223372036854775807LL;
4129 static unsigned long long int ubignum = BIG64;
4130
4131 struct incomplete_array
4132 {
4133  int datasize;
4134  double data[];
4135 };
4136
4137 struct named_init {
4138  int number;
4139  const wchar_t *name;
4140  double average;
4141 };
4142
4143 typedef const char *ccp;
4144
4145 static inline int
4146 test_restrict (ccp restrict text)
4147 {
4148  // See if C++-style comments work.
4149  // Iterate through items via the restricted pointer.
4150  // Also check for declarations in for loops.
4151  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4152    continue;
4153  return 0;
4154 }
4155
4156 // Check varargs and va_copy.
4157 static void
4158 test_varargs (const char *format, ...)
4159 {
4160  va_list args;
4161  va_start (args, format);
4162  va_list args_copy;
4163  va_copy (args_copy, args);
4164
4165  const char *str;
4166  int number;
4167  float fnumber;
4168
4169  while (*format)
4170    {
4171      switch (*format++)
4172        {
4173        case 's': // string
4174          str = va_arg (args_copy, const char *);
4175          break;
4176        case 'd': // int
4177          number = va_arg (args_copy, int);
4178          break;
4179        case 'f': // float
4180          fnumber = va_arg (args_copy, double);
4181          break;
4182        default:
4183          break;
4184        }
4185    }
4186  va_end (args_copy);
4187  va_end (args);
4188 }
4189
4190 int
4191 main ()
4192 {
4193
4194  // Check bool.
4195  _Bool success = false;
4196
4197  // Check restrict.
4198  if (test_restrict ("String literal") == 0)
4199    success = true;
4200  char *restrict newvar = "Another string";
4201
4202  // Check varargs.
4203  test_varargs ("s, d' f .", "string", 65, 34.234);
4204  test_varargs_macros ();
4205
4206  // Check flexible array members.
4207  struct incomplete_array *ia =
4208    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4209  ia->datasize = 10;
4210  for (int i = 0; i < ia->datasize; ++i)
4211    ia->data[i] = i * 1.234;
4212
4213  // Check named initializers.
4214  struct named_init ni = {
4215    .number = 34,
4216    .name = L"Test wide string",
4217    .average = 543.34343,
4218  };
4219
4220  ni.number = 58;
4221
4222  int dynamic_array[ni.number];
4223  dynamic_array[ni.number - 1] = 543;
4224
4225  // work around unused variable warnings
4226  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4227          || dynamic_array[ni.number - 1] != 543);
4228
4229  ;
4230  return 0;
4231 }
4232 _ACEOF
4233 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4234 do
4235  CC="$ac_save_CC $ac_arg"
4236  if ac_fn_c_try_compile "$LINENO"; then :
4237  ac_cv_prog_cc_c99=$ac_arg
4238 fi
4239 rm -f core conftest.err conftest.$ac_objext
4240  test "x$ac_cv_prog_cc_c99" != "xno" && break
4241 done
4242 rm -f conftest.$ac_ext
4243 CC=$ac_save_CC
4244
4245 fi
4246 # AC_CACHE_VAL
4247 case "x$ac_cv_prog_cc_c99" in
4248  x)
4249    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4250 $as_echo "none needed" >&6; } ;;
4251  xno)
4252    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4253 $as_echo "unsupported" >&6; } ;;
4254  *)
4255    CC="$CC $ac_cv_prog_cc_c99"
4256    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4257 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4258 esac
4259 if test "x$ac_cv_prog_cc_c99" != xno; then :
4260
4261 fi
4262
4263
4264 if test "$ac_cv_prog_cc_c99" = "no"; then :
4265  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4266 fi
4638   for ac_prog in 'bison -y' byacc
4639   do
4640    # Extract the first word of "$ac_prog", so it can be a program name with args.
4641   set dummy $ac_prog; ac_word=$2
4642 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643 < $as_echo_n "checking for $ac_word... " >&6; }
4644 < if ${ac_cv_prog_YACC+:} false; then :
4645 <  $as_echo_n "(cached) " >&6
4646 < else
4642 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643 > printf %s "checking for $ac_word... " >&6; }
4644 > if test ${ac_cv_prog_YACC+y}
4645 > then :
4646 >  printf %s "(cached) " >&6
4647 > else $as_nop
4648    if test -n "$YACC"; then
4649    ac_cv_prog_YACC="$YACC" # Let the user override the test.
4650   else
# Line 4280 | Line 4652 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652   for as_dir in $PATH
4653   do
4654    IFS=$as_save_IFS
4655 <  test -z "$as_dir" && as_dir=.
4655 >  case $as_dir in #(((
4656 >    '') as_dir=./ ;;
4657 >    */) ;;
4658 >    *) as_dir=$as_dir/ ;;
4659 >  esac
4660      for ac_exec_ext in '' $ac_executable_extensions; do
4661 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4661 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4662      ac_cv_prog_YACC="$ac_prog"
4663 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4664      break 2
4665    fi
4666   done
# Line 4295 | Line 4671 | fi
4671   fi
4672   YACC=$ac_cv_prog_YACC
4673   if test -n "$YACC"; then
4674 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4675 < $as_echo "$YACC" >&6; }
4674 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4675 > printf "%s\n" "$YACC" >&6; }
4676   else
4677 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 < $as_echo "no" >&6; }
4677 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 > printf "%s\n" "no" >&6; }
4679   fi
4680  
4681  
# Line 4312 | Line 4688 | for ac_prog in flex lex
4688   do
4689    # Extract the first word of "$ac_prog", so it can be a program name with args.
4690   set dummy $ac_prog; ac_word=$2
4691 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4692 < $as_echo_n "checking for $ac_word... " >&6; }
4693 < if ${ac_cv_prog_LEX+:} false; then :
4694 <  $as_echo_n "(cached) " >&6
4695 < else
4691 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4692 > printf %s "checking for $ac_word... " >&6; }
4693 > if test ${ac_cv_prog_LEX+y}
4694 > then :
4695 >  printf %s "(cached) " >&6
4696 > else $as_nop
4697    if test -n "$LEX"; then
4698    ac_cv_prog_LEX="$LEX" # Let the user override the test.
4699   else
# Line 4324 | Line 4701 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701   for as_dir in $PATH
4702   do
4703    IFS=$as_save_IFS
4704 <  test -z "$as_dir" && as_dir=.
4704 >  case $as_dir in #(((
4705 >    '') as_dir=./ ;;
4706 >    */) ;;
4707 >    *) as_dir=$as_dir/ ;;
4708 >  esac
4709      for ac_exec_ext in '' $ac_executable_extensions; do
4710 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4710 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4711      ac_cv_prog_LEX="$ac_prog"
4712 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4713      break 2
4714    fi
4715   done
# Line 4339 | Line 4720 | fi
4720   fi
4721   LEX=$ac_cv_prog_LEX
4722   if test -n "$LEX"; then
4723 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4724 < $as_echo "$LEX" >&6; }
4723 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4724 > printf "%s\n" "$LEX" >&6; }
4725   else
4726 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 < $as_echo "no" >&6; }
4726 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 > printf "%s\n" "no" >&6; }
4728   fi
4729  
4730  
# Line 4351 | Line 4732 | fi
4732   done
4733   test -n "$LEX" || LEX=":"
4734  
4735 < if test "x$LEX" != "x:"; then
4736 <  cat >conftest.l <<_ACEOF
4735 >  if test "x$LEX" != "x:"; then
4736 >    cat >conftest.l <<_ACEOF
4737 > %{
4738 > #ifdef __cplusplus
4739 > extern "C"
4740 > #endif
4741 > int yywrap(void);
4742 > %}
4743   %%
4744   a { ECHO; }
4745   b { REJECT; }
4746   c { yymore (); }
4747   d { yyless (1); }
4748   e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4749 <    yyless ((input () != 0)); }
4749 > #ifdef __cplusplus
4750 >    yyless ((yyinput () != 0));
4751 > #else
4752 >    yyless ((input () != 0));
4753 > #endif
4754 >  }
4755   f { unput (yytext[0]); }
4756   . { BEGIN INITIAL; }
4757   %%
# Line 4367 | Line 4759 | f { unput (yytext[0]); }
4759   extern char *yytext;
4760   #endif
4761   int
4762 + yywrap (void)
4763 + {
4764 +  return 1;
4765 + }
4766 + int
4767   main (void)
4768   {
4769 <  return ! yylex () + ! yywrap ();
4769 >  return ! yylex ();
4770   }
4771   _ACEOF
4772 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5
4773 + printf %s "checking for lex output file root... " >&6; }
4774 + if test ${ac_cv_prog_lex_root+y}
4775 + then :
4776 +  printf %s "(cached) " >&6
4777 + else $as_nop
4778 +
4779 + ac_cv_prog_lex_root=unknown
4780   { { ac_try="$LEX conftest.l"
4781   case "(($ac_try" in
4782    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4783    *) ac_try_echo=$ac_try;;
4784   esac
4785   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4786 < $as_echo "$ac_try_echo"; } >&5
4786 > printf "%s\n" "$ac_try_echo"; } >&5
4787    (eval "$LEX conftest.l") 2>&5
4788    ac_status=$?
4789 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4790 <  test $ac_status = 0; }
4386 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4387 < $as_echo_n "checking lex output file root... " >&6; }
4388 < if ${ac_cv_prog_lex_root+:} false; then :
4389 <  $as_echo_n "(cached) " >&6
4390 < else
4391 <
4789 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4790 >  test $ac_status = 0; } &&
4791   if test -f lex.yy.c; then
4792    ac_cv_prog_lex_root=lex.yy
4793   elif test -f lexyy.c; then
4794    ac_cv_prog_lex_root=lexyy
4396 else
4397  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4795   fi
4796   fi
4797 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4798 < $as_echo "$ac_cv_prog_lex_root" >&6; }
4797 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4798 > printf "%s\n" "$ac_cv_prog_lex_root" >&6; }
4799 > if test "$ac_cv_prog_lex_root" = unknown
4800 > then :
4801 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5
4802 > printf "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;}
4803 >   LEX=: LEXLIB=
4804 > fi
4805   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4806  
4807 < if test -z "${LEXLIB+set}"; then
4808 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4809 < $as_echo_n "checking lex library... " >&6; }
4810 < if ${ac_cv_lib_lex+:} false; then :
4811 <  $as_echo_n "(cached) " >&6
4812 < else
4807 > if test ${LEXLIB+y}
4808 > then :
4809 >
4810 > else $as_nop
4811 >
4812 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5
4813 > printf %s "checking for lex library... " >&6; }
4814 > if test ${ac_cv_lib_lex+y}
4815 > then :
4816 >  printf %s "(cached) " >&6
4817 > else $as_nop
4818 >
4819 >    ac_save_LIBS="$LIBS"
4820 >    ac_found=false
4821 >    for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do
4822 >      case $ac_cv_lib_lex in #(
4823 >  'none needed') :
4824 >     ;; #(
4825 >  'not found') :
4826 >    break ;; #(
4827 >  *) :
4828 >    LIBS="$ac_cv_lib_lex $ac_save_LIBS" ;; #(
4829 >  *) :
4830 >     ;;
4831 > esac
4832  
4411    ac_save_LIBS=$LIBS
4412    ac_cv_lib_lex='none needed'
4413    for ac_lib in '' -lfl -ll; do
4414      LIBS="$ac_lib $ac_save_LIBS"
4833        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834   /* end confdefs.h.  */
4835   `cat $LEX_OUTPUT_ROOT.c`
4836   _ACEOF
4837 < if ac_fn_c_try_link "$LINENO"; then :
4838 <  ac_cv_lib_lex=$ac_lib
4837 > if ac_fn_c_try_link "$LINENO"
4838 > then :
4839 >  ac_found=:
4840   fi
4841 < rm -f core conftest.err conftest.$ac_objext \
4841 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
4842      conftest$ac_exeext conftest.$ac_ext
4843 <      test "$ac_cv_lib_lex" != 'none needed' && break
4843 >      if $ac_found; then
4844 >        break
4845 >      fi
4846      done
4847 <    LIBS=$ac_save_LIBS
4847 >    LIBS="$ac_save_LIBS"
4848  
4849   fi
4850 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4851 < $as_echo "$ac_cv_lib_lex" >&6; }
4852 <  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4850 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4851 > printf "%s\n" "$ac_cv_lib_lex" >&6; }
4852 >  if test "$ac_cv_lib_lex" = 'not found'
4853 > then :
4854 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5
4855 > printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;}
4856 >         LEX=: LEXLIB=
4857 > elif test "$ac_cv_lib_lex" = 'none needed'
4858 > then :
4859 >  LEXLIB=''
4860 > else $as_nop
4861 >  LEXLIB=$ac_cv_lib_lex
4862   fi
4863  
4864 + fi
4865  
4866 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4867 < $as_echo_n "checking whether yytext is a pointer... " >&6; }
4868 < if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4869 <  $as_echo_n "(cached) " >&6
4870 < else
4866 >
4867 > if test "$LEX" != :
4868 > then :
4869 >
4870 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4871 > printf %s "checking whether yytext is a pointer... " >&6; }
4872 > if test ${ac_cv_prog_lex_yytext_pointer+y}
4873 > then :
4874 >  printf %s "(cached) " >&6
4875 > else $as_nop
4876    # POSIX says lex can declare yytext either as a pointer or an array; the
4877   # default is implementation-dependent.  Figure out which it is, since
4878   # not all implementations provide the %pointer and %array declarations.
4879   ac_cv_prog_lex_yytext_pointer=no
4444 ac_save_LIBS=$LIBS
4445 LIBS="$LEXLIB $ac_save_LIBS"
4880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881   /* end confdefs.h.  */
4882  
4883    #define YYTEXT_POINTER 1
4884   `cat $LEX_OUTPUT_ROOT.c`
4885   _ACEOF
4886 < if ac_fn_c_try_link "$LINENO"; then :
4886 > if ac_fn_c_try_compile "$LINENO"
4887 > then :
4888    ac_cv_prog_lex_yytext_pointer=yes
4889   fi
4890 < rm -f core conftest.err conftest.$ac_objext \
4456 <    conftest$ac_exeext conftest.$ac_ext
4457 < LIBS=$ac_save_LIBS
4890 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4891  
4892   fi
4893 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4894 < $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4893 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4894 > printf "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; }
4895   if test $ac_cv_prog_lex_yytext_pointer = yes; then
4896  
4897 < $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4897 > printf "%s\n" "#define YYTEXT_POINTER 1" >>confdefs.h
4898  
4899   fi
4467 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4900  
4901   fi
4902 < if test "$LEX" = :; then
4903 <  LEX=${am_missing_run}flex
4902 > rm -f conftest.l $LEX_OUTPUT_ROOT.c
4903 >
4904   fi
4905  
4906  
# Line 4482 | Line 4914 | fi
4914  
4915   case `pwd` in
4916    *\ * | *\     *)
4917 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4918 < $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4917 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4918 > printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4919   esac
4920  
4921  
4922  
4923 < macro_version='2.4.6'
4924 < macro_revision='2.4.6'
4923 > macro_version='2.4.7'
4924 > macro_revision='2.4.7'
4925 >
4926  
4927  
4928  
# Line 4505 | Line 4938 | macro_revision='2.4.6'
4938  
4939   ltmain=$ac_aux_dir/ltmain.sh
4940  
4941 < # Make sure we can run config.sub.
4942 < $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4943 <  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4944 <
4945 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4946 < $as_echo_n "checking build system type... " >&6; }
4947 < if ${ac_cv_build+:} false; then :
4948 <  $as_echo_n "(cached) " >&6
4949 < else
4941 >
4942 >
4943 >  # Make sure we can run config.sub.
4944 > $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4945 >  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4946 >
4947 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4948 > printf %s "checking build system type... " >&6; }
4949 > if test ${ac_cv_build+y}
4950 > then :
4951 >  printf %s "(cached) " >&6
4952 > else $as_nop
4953    ac_build_alias=$build_alias
4954   test "x$ac_build_alias" = x &&
4955 <  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4955 >  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4956   test "x$ac_build_alias" = x &&
4957    as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4958 < ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4959 <  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4958 > ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4959 >  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4960  
4961   fi
4962 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4963 < $as_echo "$ac_cv_build" >&6; }
4962 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4963 > printf "%s\n" "$ac_cv_build" >&6; }
4964   case $ac_cv_build in
4965   *-*-*) ;;
4966   *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
# Line 4543 | Line 4979 | IFS=$ac_save_IFS
4979   case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4980  
4981  
4982 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4983 < $as_echo_n "checking host system type... " >&6; }
4984 < if ${ac_cv_host+:} false; then :
4985 <  $as_echo_n "(cached) " >&6
4986 < else
4982 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4983 > printf %s "checking host system type... " >&6; }
4984 > if test ${ac_cv_host+y}
4985 > then :
4986 >  printf %s "(cached) " >&6
4987 > else $as_nop
4988    if test "x$host_alias" = x; then
4989    ac_cv_host=$ac_cv_build
4990   else
4991 <  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4992 <    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4991 >  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4992 >    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4993   fi
4994  
4995   fi
4996 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4997 < $as_echo "$ac_cv_host" >&6; }
4996 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4997 > printf "%s\n" "$ac_cv_host" >&6; }
4998   case $ac_cv_host in
4999   *-*-*) ;;
5000   *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
# Line 4597 | Line 5034 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
5034   ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5035   ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5036  
5037 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5038 < $as_echo_n "checking how to print strings... " >&6; }
5037 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5038 > printf %s "checking how to print strings... " >&6; }
5039   # Test print first, because it will be a builtin if present.
5040   if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5041     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4624 | Line 5061 | func_echo_all ()
5061   }
5062  
5063   case $ECHO in
5064 <  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5065 < $as_echo "printf" >&6; } ;;
5066 <  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5067 < $as_echo "print -r" >&6; } ;;
5068 <  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5069 < $as_echo "cat" >&6; } ;;
5064 >  printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5065 > printf "%s\n" "printf" >&6; } ;;
5066 >  print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5067 > printf "%s\n" "print -r" >&6; } ;;
5068 >  *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5069 > printf "%s\n" "cat" >&6; } ;;
5070   esac
5071  
5072  
# Line 4645 | Line 5082 | esac
5082  
5083  
5084  
5085 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5086 < $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5087 < if ${ac_cv_path_SED+:} false; then :
5088 <  $as_echo_n "(cached) " >&6
5089 < else
5085 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5086 > printf %s "checking for a sed that does not truncate output... " >&6; }
5087 > if test ${ac_cv_path_SED+y}
5088 > then :
5089 >  printf %s "(cached) " >&6
5090 > else $as_nop
5091              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5092       for ac_i in 1 2 3 4 5 6 7; do
5093         ac_script="$ac_script$as_nl$ac_script"
# Line 4663 | Line 5101 | else
5101   for as_dir in $PATH
5102   do
5103    IFS=$as_save_IFS
5104 <  test -z "$as_dir" && as_dir=.
5105 <    for ac_prog in sed gsed; do
5104 >  case $as_dir in #(((
5105 >    '') as_dir=./ ;;
5106 >    */) ;;
5107 >    *) as_dir=$as_dir/ ;;
5108 >  esac
5109 >    for ac_prog in sed gsed
5110 >   do
5111      for ac_exec_ext in '' $ac_executable_extensions; do
5112 <      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5112 >      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5113        as_fn_executable_p "$ac_path_SED" || continue
5114   # Check for GNU ac_path_SED and select it if it is found.
5115    # Check for GNU $ac_path_SED
# Line 4675 | Line 5118 | case `"$ac_path_SED" --version 2>&1` in
5118    ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5119   *)
5120    ac_count=0
5121 <  $as_echo_n 0123456789 >"conftest.in"
5121 >  printf %s 0123456789 >"conftest.in"
5122    while :
5123    do
5124      cat "conftest.in" "conftest.in" >"conftest.tmp"
5125      mv "conftest.tmp" "conftest.in"
5126      cp "conftest.in" "conftest.nl"
5127 <    $as_echo '' >> "conftest.nl"
5127 >    printf "%s\n" '' >> "conftest.nl"
5128      "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5129      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5130      as_fn_arith $ac_count + 1 && ac_count=$as_val
# Line 4709 | Line 5152 | else
5152   fi
5153  
5154   fi
5155 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5156 < $as_echo "$ac_cv_path_SED" >&6; }
5155 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5156 > printf "%s\n" "$ac_cv_path_SED" >&6; }
5157   SED="$ac_cv_path_SED"
5158    rm -f conftest.sed
5159  
# Line 4727 | Line 5170 | Xsed="$SED -e 1s/^X//"
5170  
5171  
5172  
5173 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5174 < $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5175 < if ${ac_cv_path_GREP+:} false; then :
5176 <  $as_echo_n "(cached) " >&6
5177 < else
5173 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5174 > printf %s "checking for grep that handles long lines and -e... " >&6; }
5175 > if test ${ac_cv_path_GREP+y}
5176 > then :
5177 >  printf %s "(cached) " >&6
5178 > else $as_nop
5179    if test -z "$GREP"; then
5180    ac_path_GREP_found=false
5181    # Loop through the user's path and test for each of PROGNAME-LIST
# Line 4739 | Line 5183 | else
5183   for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5184   do
5185    IFS=$as_save_IFS
5186 <  test -z "$as_dir" && as_dir=.
5187 <    for ac_prog in grep ggrep; do
5186 >  case $as_dir in #(((
5187 >    '') as_dir=./ ;;
5188 >    */) ;;
5189 >    *) as_dir=$as_dir/ ;;
5190 >  esac
5191 >    for ac_prog in grep ggrep
5192 >   do
5193      for ac_exec_ext in '' $ac_executable_extensions; do
5194 <      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5194 >      ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5195        as_fn_executable_p "$ac_path_GREP" || continue
5196   # Check for GNU ac_path_GREP and select it if it is found.
5197    # Check for GNU $ac_path_GREP
# Line 4751 | Line 5200 | case `"$ac_path_GREP" --version 2>&1` in
5200    ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5201   *)
5202    ac_count=0
5203 <  $as_echo_n 0123456789 >"conftest.in"
5203 >  printf %s 0123456789 >"conftest.in"
5204    while :
5205    do
5206      cat "conftest.in" "conftest.in" >"conftest.tmp"
5207      mv "conftest.tmp" "conftest.in"
5208      cp "conftest.in" "conftest.nl"
5209 <    $as_echo 'GREP' >> "conftest.nl"
5209 >    printf "%s\n" 'GREP' >> "conftest.nl"
5210      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5211      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5212      as_fn_arith $ac_count + 1 && ac_count=$as_val
# Line 4785 | Line 5234 | else
5234   fi
5235  
5236   fi
5237 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5238 < $as_echo "$ac_cv_path_GREP" >&6; }
5237 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5238 > printf "%s\n" "$ac_cv_path_GREP" >&6; }
5239   GREP="$ac_cv_path_GREP"
5240  
5241  
5242 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5243 < $as_echo_n "checking for egrep... " >&6; }
5244 < if ${ac_cv_path_EGREP+:} false; then :
5245 <  $as_echo_n "(cached) " >&6
5246 < else
5242 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5243 > printf %s "checking for egrep... " >&6; }
5244 > if test ${ac_cv_path_EGREP+y}
5245 > then :
5246 >  printf %s "(cached) " >&6
5247 > else $as_nop
5248    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5249     then ac_cv_path_EGREP="$GREP -E"
5250     else
# Line 4805 | Line 5255 | else
5255   for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5256   do
5257    IFS=$as_save_IFS
5258 <  test -z "$as_dir" && as_dir=.
5259 <    for ac_prog in egrep; do
5258 >  case $as_dir in #(((
5259 >    '') as_dir=./ ;;
5260 >    */) ;;
5261 >    *) as_dir=$as_dir/ ;;
5262 >  esac
5263 >    for ac_prog in egrep
5264 >   do
5265      for ac_exec_ext in '' $ac_executable_extensions; do
5266 <      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5266 >      ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5267        as_fn_executable_p "$ac_path_EGREP" || continue
5268   # Check for GNU ac_path_EGREP and select it if it is found.
5269    # Check for GNU $ac_path_EGREP
# Line 4817 | Line 5272 | case `"$ac_path_EGREP" --version 2>&1` i
5272    ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5273   *)
5274    ac_count=0
5275 <  $as_echo_n 0123456789 >"conftest.in"
5275 >  printf %s 0123456789 >"conftest.in"
5276    while :
5277    do
5278      cat "conftest.in" "conftest.in" >"conftest.tmp"
5279      mv "conftest.tmp" "conftest.in"
5280      cp "conftest.in" "conftest.nl"
5281 <    $as_echo 'EGREP' >> "conftest.nl"
5281 >    printf "%s\n" 'EGREP' >> "conftest.nl"
5282      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5283      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5284      as_fn_arith $ac_count + 1 && ac_count=$as_val
# Line 4852 | Line 5307 | fi
5307  
5308     fi
5309   fi
5310 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5311 < $as_echo "$ac_cv_path_EGREP" >&6; }
5310 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5311 > printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5312   EGREP="$ac_cv_path_EGREP"
5313  
5314  
5315 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5316 < $as_echo_n "checking for fgrep... " >&6; }
5317 < if ${ac_cv_path_FGREP+:} false; then :
5318 <  $as_echo_n "(cached) " >&6
5319 < else
5315 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5316 > printf %s "checking for fgrep... " >&6; }
5317 > if test ${ac_cv_path_FGREP+y}
5318 > then :
5319 >  printf %s "(cached) " >&6
5320 > else $as_nop
5321    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5322     then ac_cv_path_FGREP="$GREP -F"
5323     else
# Line 4872 | Line 5328 | else
5328   for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5329   do
5330    IFS=$as_save_IFS
5331 <  test -z "$as_dir" && as_dir=.
5332 <    for ac_prog in fgrep; do
5331 >  case $as_dir in #(((
5332 >    '') as_dir=./ ;;
5333 >    */) ;;
5334 >    *) as_dir=$as_dir/ ;;
5335 >  esac
5336 >    for ac_prog in fgrep
5337 >   do
5338      for ac_exec_ext in '' $ac_executable_extensions; do
5339 <      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5339 >      ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5340        as_fn_executable_p "$ac_path_FGREP" || continue
5341   # Check for GNU ac_path_FGREP and select it if it is found.
5342    # Check for GNU $ac_path_FGREP
# Line 4884 | Line 5345 | case `"$ac_path_FGREP" --version 2>&1` i
5345    ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5346   *)
5347    ac_count=0
5348 <  $as_echo_n 0123456789 >"conftest.in"
5348 >  printf %s 0123456789 >"conftest.in"
5349    while :
5350    do
5351      cat "conftest.in" "conftest.in" >"conftest.tmp"
5352      mv "conftest.tmp" "conftest.in"
5353      cp "conftest.in" "conftest.nl"
5354 <    $as_echo 'FGREP' >> "conftest.nl"
5354 >    printf "%s\n" 'FGREP' >> "conftest.nl"
5355      "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5356      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5357      as_fn_arith $ac_count + 1 && ac_count=$as_val
# Line 4919 | Line 5380 | fi
5380  
5381     fi
5382   fi
5383 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5384 < $as_echo "$ac_cv_path_FGREP" >&6; }
5383 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5384 > printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5385   FGREP="$ac_cv_path_FGREP"
5386  
5387  
# Line 4945 | Line 5406 | test -z "$GREP" && GREP=grep
5406  
5407  
5408   # Check whether --with-gnu-ld was given.
5409 < if test "${with_gnu_ld+set}" = set; then :
5409 > if test ${with_gnu_ld+y}
5410 > then :
5411    withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5412 < else
5412 > else $as_nop
5413    with_gnu_ld=no
5414   fi
5415  
5416   ac_prog=ld
5417   if test yes = "$GCC"; then
5418    # Check if gcc -print-prog-name=ld gives a path.
5419 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5420 < $as_echo_n "checking for ld used by $CC... " >&6; }
5419 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5420 > printf %s "checking for ld used by $CC... " >&6; }
5421    case $host in
5422    *-*-mingw*)
5423      # gcc leaves a trailing carriage return, which upsets mingw
# Line 4984 | Line 5446 | $as_echo_n "checking for ld used by $CC.
5446      ;;
5447    esac
5448   elif test yes = "$with_gnu_ld"; then
5449 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5450 < $as_echo_n "checking for GNU ld... " >&6; }
5449 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5450 > printf %s "checking for GNU ld... " >&6; }
5451   else
5452 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5453 < $as_echo_n "checking for non-GNU ld... " >&6; }
5452 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5453 > printf %s "checking for non-GNU ld... " >&6; }
5454   fi
5455 < if ${lt_cv_path_LD+:} false; then :
5456 <  $as_echo_n "(cached) " >&6
5457 < else
5455 > if test ${lt_cv_path_LD+y}
5456 > then :
5457 >  printf %s "(cached) " >&6
5458 > else $as_nop
5459    if test -z "$LD"; then
5460    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5461    for ac_dir in $PATH; do
# Line 5021 | Line 5484 | fi
5484  
5485   LD=$lt_cv_path_LD
5486   if test -n "$LD"; then
5487 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5488 < $as_echo "$LD" >&6; }
5487 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5488 > printf "%s\n" "$LD" >&6; }
5489   else
5490 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 < $as_echo "no" >&6; }
5490 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 > printf "%s\n" "no" >&6; }
5492   fi
5493   test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5494 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5495 < $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5496 < if ${lt_cv_prog_gnu_ld+:} false; then :
5497 <  $as_echo_n "(cached) " >&6
5498 < else
5494 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5495 > printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5496 > if test ${lt_cv_prog_gnu_ld+y}
5497 > then :
5498 >  printf %s "(cached) " >&6
5499 > else $as_nop
5500    # I'd rather use --version here, but apparently some GNU lds only accept -v.
5501   case `$LD -v 2>&1 </dev/null` in
5502   *GNU* | *'with BFD'*)
# Line 5043 | Line 5507 | case `$LD -v 2>&1 </dev/null` in
5507    ;;
5508   esac
5509   fi
5510 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5511 < $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5510 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5511 > printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5512   with_gnu_ld=$lt_cv_prog_gnu_ld
5513  
5514  
# Line 5055 | Line 5519 | with_gnu_ld=$lt_cv_prog_gnu_ld
5519  
5520  
5521  
5522 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5523 < $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5524 < if ${lt_cv_path_NM+:} false; then :
5525 <  $as_echo_n "(cached) " >&6
5526 < else
5522 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5523 > printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5524 > if test ${lt_cv_path_NM+y}
5525 > then :
5526 >  printf %s "(cached) " >&6
5527 > else $as_nop
5528    if test -n "$NM"; then
5529    # Let the user override the test.
5530    lt_cv_path_NM=$NM
# Line 5084 | Line 5549 | else
5549          mingw*) lt_bad_file=conftest.nm/nofile ;;
5550          *) lt_bad_file=/dev/null ;;
5551          esac
5552 <        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5552 >        case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5553          *$lt_bad_file* | *'Invalid file or object type'*)
5554            lt_cv_path_NM="$tmp_nm -B"
5555            break 2
5556            ;;
5557          *)
5558 <          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5558 >          case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5559            */dev/null*)
5560              lt_cv_path_NM="$tmp_nm -p"
5561              break 2
# Line 5109 | Line 5574 | else
5574    : ${lt_cv_path_NM=no}
5575   fi
5576   fi
5577 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5578 < $as_echo "$lt_cv_path_NM" >&6; }
5577 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5578 > printf "%s\n" "$lt_cv_path_NM" >&6; }
5579   if test no != "$lt_cv_path_NM"; then
5580    NM=$lt_cv_path_NM
5581   else
# Line 5123 | Line 5588 | else
5588    do
5589      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5590   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5591 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 < $as_echo_n "checking for $ac_word... " >&6; }
5593 < if ${ac_cv_prog_DUMPBIN+:} false; then :
5594 <  $as_echo_n "(cached) " >&6
5595 < else
5591 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 > printf %s "checking for $ac_word... " >&6; }
5593 > if test ${ac_cv_prog_DUMPBIN+y}
5594 > then :
5595 >  printf %s "(cached) " >&6
5596 > else $as_nop
5597    if test -n "$DUMPBIN"; then
5598    ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5599   else
# Line 5135 | Line 5601 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601   for as_dir in $PATH
5602   do
5603    IFS=$as_save_IFS
5604 <  test -z "$as_dir" && as_dir=.
5604 >  case $as_dir in #(((
5605 >    '') as_dir=./ ;;
5606 >    */) ;;
5607 >    *) as_dir=$as_dir/ ;;
5608 >  esac
5609      for ac_exec_ext in '' $ac_executable_extensions; do
5610 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5610 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5611      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5612 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5613      break 2
5614    fi
5615   done
# Line 5150 | Line 5620 | fi
5620   fi
5621   DUMPBIN=$ac_cv_prog_DUMPBIN
5622   if test -n "$DUMPBIN"; then
5623 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5624 < $as_echo "$DUMPBIN" >&6; }
5623 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5624 > printf "%s\n" "$DUMPBIN" >&6; }
5625   else
5626 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 < $as_echo "no" >&6; }
5626 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 > printf "%s\n" "no" >&6; }
5628   fi
5629  
5630  
# Line 5167 | Line 5637 | if test -z "$DUMPBIN"; then
5637   do
5638    # Extract the first word of "$ac_prog", so it can be a program name with args.
5639   set dummy $ac_prog; ac_word=$2
5640 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 < $as_echo_n "checking for $ac_word... " >&6; }
5642 < if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5643 <  $as_echo_n "(cached) " >&6
5644 < else
5640 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 > printf %s "checking for $ac_word... " >&6; }
5642 > if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5643 > then :
5644 >  printf %s "(cached) " >&6
5645 > else $as_nop
5646    if test -n "$ac_ct_DUMPBIN"; then
5647    ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5648   else
# Line 5179 | Line 5650 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650   for as_dir in $PATH
5651   do
5652    IFS=$as_save_IFS
5653 <  test -z "$as_dir" && as_dir=.
5653 >  case $as_dir in #(((
5654 >    '') as_dir=./ ;;
5655 >    */) ;;
5656 >    *) as_dir=$as_dir/ ;;
5657 >  esac
5658      for ac_exec_ext in '' $ac_executable_extensions; do
5659 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5659 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5660      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5661 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5662      break 2
5663    fi
5664   done
# Line 5194 | Line 5669 | fi
5669   fi
5670   ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5671   if test -n "$ac_ct_DUMPBIN"; then
5672 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5673 < $as_echo "$ac_ct_DUMPBIN" >&6; }
5672 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5673 > printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5674   else
5675 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 < $as_echo "no" >&6; }
5675 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 > printf "%s\n" "no" >&6; }
5677   fi
5678  
5679  
# Line 5210 | Line 5685 | done
5685    else
5686      case $cross_compiling:$ac_tool_warned in
5687   yes:)
5688 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5689 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5688 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5689 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5690   ac_tool_warned=yes ;;
5691   esac
5692      DUMPBIN=$ac_ct_DUMPBIN
5693    fi
5694   fi
5695  
5696 <    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5696 >    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
5697      *COFF*)
5698        DUMPBIN="$DUMPBIN -symbols -headers"
5699        ;;
# Line 5239 | Line 5714 | test -z "$NM" && NM=nm
5714  
5715  
5716  
5717 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5718 < $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5719 < if ${lt_cv_nm_interface+:} false; then :
5720 <  $as_echo_n "(cached) " >&6
5721 < else
5717 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5718 > printf %s "checking the name lister ($NM) interface... " >&6; }
5719 > if test ${lt_cv_nm_interface+y}
5720 > then :
5721 >  printf %s "(cached) " >&6
5722 > else $as_nop
5723    lt_cv_nm_interface="BSD nm"
5724    echo "int some_variable = 0;" > conftest.$ac_ext
5725    (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
# Line 5259 | Line 5735 | else
5735    fi
5736    rm -f conftest*
5737   fi
5738 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5739 < $as_echo "$lt_cv_nm_interface" >&6; }
5738 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5739 > printf "%s\n" "$lt_cv_nm_interface" >&6; }
5740  
5741 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5742 < $as_echo_n "checking whether ln -s works... " >&6; }
5741 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5742 > printf %s "checking whether ln -s works... " >&6; }
5743   LN_S=$as_ln_s
5744   if test "$LN_S" = "ln -s"; then
5745 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5746 < $as_echo "yes" >&6; }
5745 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5746 > printf "%s\n" "yes" >&6; }
5747   else
5748 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5749 < $as_echo "no, using $LN_S" >&6; }
5748 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5749 > printf "%s\n" "no, using $LN_S" >&6; }
5750   fi
5751  
5752   # find the maximum length of command line arguments
5753 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5754 < $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5755 < if ${lt_cv_sys_max_cmd_len+:} false; then :
5756 <  $as_echo_n "(cached) " >&6
5757 < else
5753 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5754 > printf %s "checking the maximum length of command line arguments... " >&6; }
5755 > if test ${lt_cv_sys_max_cmd_len+y}
5756 > then :
5757 >  printf %s "(cached) " >&6
5758 > else $as_nop
5759      i=0
5760    teststring=ABCD
5761  
# Line 5320 | Line 5797 | else
5797      lt_cv_sys_max_cmd_len=8192;
5798      ;;
5799  
5800 <  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5800 >  bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
5801      # This has been around since 386BSD, at least.  Likely further.
5802      if test -x /sbin/sysctl; then
5803        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
# Line 5363 | Line 5840 | else
5840    sysv5* | sco5v6* | sysv4.2uw2*)
5841      kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5842      if test -n "$kargmax"; then
5843 <      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5843 >      lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[         ]//'`
5844      else
5845        lt_cv_sys_max_cmd_len=32768
5846      fi
# Line 5405 | Line 5882 | else
5882   fi
5883  
5884   if test -n "$lt_cv_sys_max_cmd_len"; then
5885 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5886 < $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5885 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5886 > printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
5887   else
5888 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5889 < $as_echo "none" >&6; }
5888 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
5889 > printf "%s\n" "none" >&6; }
5890   fi
5891   max_cmd_len=$lt_cv_sys_max_cmd_len
5892  
# Line 5453 | Line 5930 | esac
5930  
5931  
5932  
5933 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5934 < $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5935 < if ${lt_cv_to_host_file_cmd+:} false; then :
5936 <  $as_echo_n "(cached) " >&6
5937 < else
5933 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5934 > printf %s "checking how to convert $build file names to $host format... " >&6; }
5935 > if test ${lt_cv_to_host_file_cmd+y}
5936 > then :
5937 >  printf %s "(cached) " >&6
5938 > else $as_nop
5939    case $host in
5940    *-*-mingw* )
5941      case $build in
# Line 5493 | Line 5971 | esac
5971   fi
5972  
5973   to_host_file_cmd=$lt_cv_to_host_file_cmd
5974 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5975 < $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5974 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5975 > printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
5976  
5977  
5978  
5979  
5980  
5981 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5982 < $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5983 < if ${lt_cv_to_tool_file_cmd+:} false; then :
5984 <  $as_echo_n "(cached) " >&6
5985 < else
5981 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5982 > printf %s "checking how to convert $build file names to toolchain format... " >&6; }
5983 > if test ${lt_cv_to_tool_file_cmd+y}
5984 > then :
5985 >  printf %s "(cached) " >&6
5986 > else $as_nop
5987    #assume ordinary cross tools, or native build.
5988   lt_cv_to_tool_file_cmd=func_convert_file_noop
5989   case $host in
# Line 5520 | Line 5999 | esac
5999   fi
6000  
6001   to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6002 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6003 < $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6002 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6003 > printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6004  
6005  
6006  
6007  
6008  
6009 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6010 < $as_echo_n "checking for $LD option to reload object files... " >&6; }
6011 < if ${lt_cv_ld_reload_flag+:} false; then :
6012 <  $as_echo_n "(cached) " >&6
6013 < else
6009 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6010 > printf %s "checking for $LD option to reload object files... " >&6; }
6011 > if test ${lt_cv_ld_reload_flag+y}
6012 > then :
6013 >  printf %s "(cached) " >&6
6014 > else $as_nop
6015    lt_cv_ld_reload_flag='-r'
6016   fi
6017 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6018 < $as_echo "$lt_cv_ld_reload_flag" >&6; }
6017 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6018 > printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6019   reload_flag=$lt_cv_ld_reload_flag
6020   case $reload_flag in
6021   "" | " "*) ;;
# Line 5566 | Line 6046 | esac
6046  
6047  
6048   if test -n "$ac_tool_prefix"; then
6049 +  # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
6050 + set dummy ${ac_tool_prefix}file; ac_word=$2
6051 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052 + printf %s "checking for $ac_word... " >&6; }
6053 + if test ${ac_cv_prog_FILECMD+y}
6054 + then :
6055 +  printf %s "(cached) " >&6
6056 + else $as_nop
6057 +  if test -n "$FILECMD"; then
6058 +  ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6059 + else
6060 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 + for as_dir in $PATH
6062 + do
6063 +  IFS=$as_save_IFS
6064 +  case $as_dir in #(((
6065 +    '') as_dir=./ ;;
6066 +    */) ;;
6067 +    *) as_dir=$as_dir/ ;;
6068 +  esac
6069 +    for ac_exec_ext in '' $ac_executable_extensions; do
6070 +  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6071 +    ac_cv_prog_FILECMD="${ac_tool_prefix}file"
6072 +    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6073 +    break 2
6074 +  fi
6075 + done
6076 +  done
6077 + IFS=$as_save_IFS
6078 +
6079 + fi
6080 + fi
6081 + FILECMD=$ac_cv_prog_FILECMD
6082 + if test -n "$FILECMD"; then
6083 +  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6084 + printf "%s\n" "$FILECMD" >&6; }
6085 + else
6086 +  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 + printf "%s\n" "no" >&6; }
6088 + fi
6089 +
6090 +
6091 + fi
6092 + if test -z "$ac_cv_prog_FILECMD"; then
6093 +  ac_ct_FILECMD=$FILECMD
6094 +  # Extract the first word of "file", so it can be a program name with args.
6095 + set dummy file; ac_word=$2
6096 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097 + printf %s "checking for $ac_word... " >&6; }
6098 + if test ${ac_cv_prog_ac_ct_FILECMD+y}
6099 + then :
6100 +  printf %s "(cached) " >&6
6101 + else $as_nop
6102 +  if test -n "$ac_ct_FILECMD"; then
6103 +  ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
6104 + else
6105 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 + for as_dir in $PATH
6107 + do
6108 +  IFS=$as_save_IFS
6109 +  case $as_dir in #(((
6110 +    '') as_dir=./ ;;
6111 +    */) ;;
6112 +    *) as_dir=$as_dir/ ;;
6113 +  esac
6114 +    for ac_exec_ext in '' $ac_executable_extensions; do
6115 +  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6116 +    ac_cv_prog_ac_ct_FILECMD="file"
6117 +    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6118 +    break 2
6119 +  fi
6120 + done
6121 +  done
6122 + IFS=$as_save_IFS
6123 +
6124 + fi
6125 + fi
6126 + ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
6127 + if test -n "$ac_ct_FILECMD"; then
6128 +  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
6129 + printf "%s\n" "$ac_ct_FILECMD" >&6; }
6130 + else
6131 +  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 + printf "%s\n" "no" >&6; }
6133 + fi
6134 +
6135 +  if test "x$ac_ct_FILECMD" = x; then
6136 +    FILECMD=":"
6137 +  else
6138 +    case $cross_compiling:$ac_tool_warned in
6139 + yes:)
6140 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142 + ac_tool_warned=yes ;;
6143 + esac
6144 +    FILECMD=$ac_ct_FILECMD
6145 +  fi
6146 + else
6147 +  FILECMD="$ac_cv_prog_FILECMD"
6148 + fi
6149 +
6150 +
6151 +
6152 +
6153 +
6154 +
6155 +
6156 + if test -n "$ac_tool_prefix"; then
6157    # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6158   set dummy ${ac_tool_prefix}objdump; ac_word=$2
6159 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 < $as_echo_n "checking for $ac_word... " >&6; }
6161 < if ${ac_cv_prog_OBJDUMP+:} false; then :
6162 <  $as_echo_n "(cached) " >&6
6163 < else
6159 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 > printf %s "checking for $ac_word... " >&6; }
6161 > if test ${ac_cv_prog_OBJDUMP+y}
6162 > then :
6163 >  printf %s "(cached) " >&6
6164 > else $as_nop
6165    if test -n "$OBJDUMP"; then
6166    ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6167   else
# Line 5580 | Line 6169 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169   for as_dir in $PATH
6170   do
6171    IFS=$as_save_IFS
6172 <  test -z "$as_dir" && as_dir=.
6172 >  case $as_dir in #(((
6173 >    '') as_dir=./ ;;
6174 >    */) ;;
6175 >    *) as_dir=$as_dir/ ;;
6176 >  esac
6177      for ac_exec_ext in '' $ac_executable_extensions; do
6178 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6178 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6179      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6180 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6180 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6181      break 2
6182    fi
6183   done
# Line 5595 | Line 6188 | fi
6188   fi
6189   OBJDUMP=$ac_cv_prog_OBJDUMP
6190   if test -n "$OBJDUMP"; then
6191 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6192 < $as_echo "$OBJDUMP" >&6; }
6191 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6192 > printf "%s\n" "$OBJDUMP" >&6; }
6193   else
6194 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 < $as_echo "no" >&6; }
6194 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 > printf "%s\n" "no" >&6; }
6196   fi
6197  
6198  
# Line 5608 | Line 6201 | if test -z "$ac_cv_prog_OBJDUMP"; then
6201    ac_ct_OBJDUMP=$OBJDUMP
6202    # Extract the first word of "objdump", so it can be a program name with args.
6203   set dummy objdump; ac_word=$2
6204 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6205 < $as_echo_n "checking for $ac_word... " >&6; }
6206 < if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6207 <  $as_echo_n "(cached) " >&6
6208 < else
6204 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6205 > printf %s "checking for $ac_word... " >&6; }
6206 > if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6207 > then :
6208 >  printf %s "(cached) " >&6
6209 > else $as_nop
6210    if test -n "$ac_ct_OBJDUMP"; then
6211    ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6212   else
# Line 5620 | Line 6214 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214   for as_dir in $PATH
6215   do
6216    IFS=$as_save_IFS
6217 <  test -z "$as_dir" && as_dir=.
6217 >  case $as_dir in #(((
6218 >    '') as_dir=./ ;;
6219 >    */) ;;
6220 >    *) as_dir=$as_dir/ ;;
6221 >  esac
6222      for ac_exec_ext in '' $ac_executable_extensions; do
6223 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6224      ac_cv_prog_ac_ct_OBJDUMP="objdump"
6225 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6226      break 2
6227    fi
6228   done
# Line 5635 | Line 6233 | fi
6233   fi
6234   ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6235   if test -n "$ac_ct_OBJDUMP"; then
6236 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6237 < $as_echo "$ac_ct_OBJDUMP" >&6; }
6236 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6237 > printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6238   else
6239 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6240 < $as_echo "no" >&6; }
6239 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6240 > printf "%s\n" "no" >&6; }
6241   fi
6242  
6243    if test "x$ac_ct_OBJDUMP" = x; then
# Line 5647 | Line 6245 | fi
6245    else
6246      case $cross_compiling:$ac_tool_warned in
6247   yes:)
6248 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6249 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6248 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6249 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6250   ac_tool_warned=yes ;;
6251   esac
6252      OBJDUMP=$ac_ct_OBJDUMP
# Line 5667 | Line 6265 | test -z "$OBJDUMP" && OBJDUMP=objdump
6265  
6266  
6267  
6268 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6269 < $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6270 < if ${lt_cv_deplibs_check_method+:} false; then :
6271 <  $as_echo_n "(cached) " >&6
6272 < else
6268 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6269 > printf %s "checking how to recognize dependent libraries... " >&6; }
6270 > if test ${lt_cv_deplibs_check_method+y}
6271 > then :
6272 >  printf %s "(cached) " >&6
6273 > else $as_nop
6274    lt_cv_file_magic_cmd='$MAGIC_CMD'
6275   lt_cv_file_magic_test_file=
6276   lt_cv_deplibs_check_method='unknown'
# Line 5697 | Line 6296 | beos*)
6296  
6297   bsdi[45]*)
6298    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6299 <  lt_cv_file_magic_cmd='/usr/bin/file -L'
6299 >  lt_cv_file_magic_cmd='$FILECMD -L'
6300    lt_cv_file_magic_test_file=/shlib/libc.so
6301    ;;
6302  
# Line 5731 | Line 6330 | darwin* | rhapsody*)
6330    lt_cv_deplibs_check_method=pass_all
6331    ;;
6332  
6333 < freebsd* | dragonfly*)
6333 > freebsd* | dragonfly* | midnightbsd*)
6334    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6335      case $host_cpu in
6336      i*86 )
6337        # Not sure whether the presence of OpenBSD here was a mistake.
6338        # Let's accept both of them until this is cleared up.
6339        lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6340 <      lt_cv_file_magic_cmd=/usr/bin/file
6340 >      lt_cv_file_magic_cmd=$FILECMD
6341        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6342        ;;
6343      esac
# Line 5752 | Line 6351 | haiku*)
6351    ;;
6352  
6353   hpux10.20* | hpux11*)
6354 <  lt_cv_file_magic_cmd=/usr/bin/file
6354 >  lt_cv_file_magic_cmd=$FILECMD
6355    case $host_cpu in
6356    ia64*)
6357      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
# Line 5789 | Line 6388 | linux* | k*bsd*-gnu | kopensolaris*-gnu
6388    lt_cv_deplibs_check_method=pass_all
6389    ;;
6390  
6391 < netbsd* | netbsdelf*-gnu)
6391 > netbsd*)
6392    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6393      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6394    else
# Line 5799 | Line 6398 | netbsd* | netbsdelf*-gnu)
6398  
6399   newos6*)
6400    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6401 <  lt_cv_file_magic_cmd=/usr/bin/file
6401 >  lt_cv_file_magic_cmd=$FILECMD
6402    lt_cv_file_magic_test_file=/usr/lib/libnls.so
6403    ;;
6404  
# Line 5867 | Line 6466 | os2*)
6466   esac
6467  
6468   fi
6469 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6470 < $as_echo "$lt_cv_deplibs_check_method" >&6; }
6469 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6470 > printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6471  
6472   file_magic_glob=
6473   want_nocaseglob=no
# Line 5912 | Line 6511 | test -z "$deplibs_check_method" && depli
6511   if test -n "$ac_tool_prefix"; then
6512    # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6513   set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6514 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 < $as_echo_n "checking for $ac_word... " >&6; }
6516 < if ${ac_cv_prog_DLLTOOL+:} false; then :
6517 <  $as_echo_n "(cached) " >&6
6518 < else
6514 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 > printf %s "checking for $ac_word... " >&6; }
6516 > if test ${ac_cv_prog_DLLTOOL+y}
6517 > then :
6518 >  printf %s "(cached) " >&6
6519 > else $as_nop
6520    if test -n "$DLLTOOL"; then
6521    ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6522   else
# Line 5924 | Line 6524 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524   for as_dir in $PATH
6525   do
6526    IFS=$as_save_IFS
6527 <  test -z "$as_dir" && as_dir=.
6527 >  case $as_dir in #(((
6528 >    '') as_dir=./ ;;
6529 >    */) ;;
6530 >    *) as_dir=$as_dir/ ;;
6531 >  esac
6532      for ac_exec_ext in '' $ac_executable_extensions; do
6533 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6533 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6534      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6535 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6535 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6536      break 2
6537    fi
6538   done
# Line 5939 | Line 6543 | fi
6543   fi
6544   DLLTOOL=$ac_cv_prog_DLLTOOL
6545   if test -n "$DLLTOOL"; then
6546 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6547 < $as_echo "$DLLTOOL" >&6; }
6546 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6547 > printf "%s\n" "$DLLTOOL" >&6; }
6548   else
6549 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 < $as_echo "no" >&6; }
6549 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 > printf "%s\n" "no" >&6; }
6551   fi
6552  
6553  
# Line 5952 | Line 6556 | if test -z "$ac_cv_prog_DLLTOOL"; then
6556    ac_ct_DLLTOOL=$DLLTOOL
6557    # Extract the first word of "dlltool", so it can be a program name with args.
6558   set dummy dlltool; ac_word=$2
6559 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 < $as_echo_n "checking for $ac_word... " >&6; }
6561 < if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6562 <  $as_echo_n "(cached) " >&6
6563 < else
6559 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 > printf %s "checking for $ac_word... " >&6; }
6561 > if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6562 > then :
6563 >  printf %s "(cached) " >&6
6564 > else $as_nop
6565    if test -n "$ac_ct_DLLTOOL"; then
6566    ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6567   else
# Line 5964 | Line 6569 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569   for as_dir in $PATH
6570   do
6571    IFS=$as_save_IFS
6572 <  test -z "$as_dir" && as_dir=.
6572 >  case $as_dir in #(((
6573 >    '') as_dir=./ ;;
6574 >    */) ;;
6575 >    *) as_dir=$as_dir/ ;;
6576 >  esac
6577      for ac_exec_ext in '' $ac_executable_extensions; do
6578 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6578 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6579      ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6580 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6580 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6581      break 2
6582    fi
6583   done
# Line 5979 | Line 6588 | fi
6588   fi
6589   ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6590   if test -n "$ac_ct_DLLTOOL"; then
6591 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6592 < $as_echo "$ac_ct_DLLTOOL" >&6; }
6591 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6592 > printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6593   else
6594 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 < $as_echo "no" >&6; }
6594 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 > printf "%s\n" "no" >&6; }
6596   fi
6597  
6598    if test "x$ac_ct_DLLTOOL" = x; then
# Line 5991 | Line 6600 | fi
6600    else
6601      case $cross_compiling:$ac_tool_warned in
6602   yes:)
6603 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6603 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605   ac_tool_warned=yes ;;
6606   esac
6607      DLLTOOL=$ac_ct_DLLTOOL
# Line 6012 | Line 6621 | test -z "$DLLTOOL" && DLLTOOL=dlltool
6621  
6622  
6623  
6624 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6625 < $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6626 < if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6627 <  $as_echo_n "(cached) " >&6
6628 < else
6624 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6625 > printf %s "checking how to associate runtime and link libraries... " >&6; }
6626 > if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6627 > then :
6628 >  printf %s "(cached) " >&6
6629 > else $as_nop
6630    lt_cv_sharedlib_from_linklib_cmd='unknown'
6631  
6632   case $host_os in
# Line 6039 | Line 6649 | cygwin* | mingw* | pw32* | cegcc*)
6649   esac
6650  
6651   fi
6652 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6653 < $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6652 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6653 > printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6654   sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6655   test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6656  
# Line 6055 | Line 6665 | if test -n "$ac_tool_prefix"; then
6665    do
6666      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6667   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6668 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 < $as_echo_n "checking for $ac_word... " >&6; }
6670 < if ${ac_cv_prog_AR+:} false; then :
6671 <  $as_echo_n "(cached) " >&6
6672 < else
6668 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 > printf %s "checking for $ac_word... " >&6; }
6670 > if test ${ac_cv_prog_AR+y}
6671 > then :
6672 >  printf %s "(cached) " >&6
6673 > else $as_nop
6674    if test -n "$AR"; then
6675    ac_cv_prog_AR="$AR" # Let the user override the test.
6676   else
# Line 6067 | Line 6678 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678   for as_dir in $PATH
6679   do
6680    IFS=$as_save_IFS
6681 <  test -z "$as_dir" && as_dir=.
6681 >  case $as_dir in #(((
6682 >    '') as_dir=./ ;;
6683 >    */) ;;
6684 >    *) as_dir=$as_dir/ ;;
6685 >  esac
6686      for ac_exec_ext in '' $ac_executable_extensions; do
6687 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6687 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6688      ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6689 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6690      break 2
6691    fi
6692   done
# Line 6082 | Line 6697 | fi
6697   fi
6698   AR=$ac_cv_prog_AR
6699   if test -n "$AR"; then
6700 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6701 < $as_echo "$AR" >&6; }
6700 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6701 > printf "%s\n" "$AR" >&6; }
6702   else
6703 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6704 < $as_echo "no" >&6; }
6703 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6704 > printf "%s\n" "no" >&6; }
6705   fi
6706  
6707  
# Line 6099 | Line 6714 | if test -z "$AR"; then
6714   do
6715    # Extract the first word of "$ac_prog", so it can be a program name with args.
6716   set dummy $ac_prog; ac_word=$2
6717 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 < $as_echo_n "checking for $ac_word... " >&6; }
6719 < if ${ac_cv_prog_ac_ct_AR+:} false; then :
6720 <  $as_echo_n "(cached) " >&6
6721 < else
6717 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 > printf %s "checking for $ac_word... " >&6; }
6719 > if test ${ac_cv_prog_ac_ct_AR+y}
6720 > then :
6721 >  printf %s "(cached) " >&6
6722 > else $as_nop
6723    if test -n "$ac_ct_AR"; then
6724    ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6725   else
# Line 6111 | Line 6727 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727   for as_dir in $PATH
6728   do
6729    IFS=$as_save_IFS
6730 <  test -z "$as_dir" && as_dir=.
6730 >  case $as_dir in #(((
6731 >    '') as_dir=./ ;;
6732 >    */) ;;
6733 >    *) as_dir=$as_dir/ ;;
6734 >  esac
6735      for ac_exec_ext in '' $ac_executable_extensions; do
6736 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6736 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6737      ac_cv_prog_ac_ct_AR="$ac_prog"
6738 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6738 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6739      break 2
6740    fi
6741   done
# Line 6126 | Line 6746 | fi
6746   fi
6747   ac_ct_AR=$ac_cv_prog_ac_ct_AR
6748   if test -n "$ac_ct_AR"; then
6749 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6750 < $as_echo "$ac_ct_AR" >&6; }
6749 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6750 > printf "%s\n" "$ac_ct_AR" >&6; }
6751   else
6752 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 < $as_echo "no" >&6; }
6752 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 > printf "%s\n" "no" >&6; }
6754   fi
6755  
6756  
# Line 6142 | Line 6762 | done
6762    else
6763      case $cross_compiling:$ac_tool_warned in
6764   yes:)
6765 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6766 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6765 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6766 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6767   ac_tool_warned=yes ;;
6768   esac
6769      AR=$ac_ct_AR
# Line 6151 | Line 6771 | esac
6771   fi
6772  
6773   : ${AR=ar}
6154 : ${AR_FLAGS=cru}
6774  
6775  
6776  
6777  
6778  
6779  
6780 + # Use ARFLAGS variable as AR's operation code to sync the variable naming with
6781 + # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6782 + # higher priority because thats what people were doing historically (setting
6783 + # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
6784 + # variable obsoleted/removed.
6785  
6786 + test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6787 + lt_ar_flags=$AR_FLAGS
6788  
6789  
6790  
6791  
6792 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6793 < $as_echo_n "checking for archiver @FILE support... " >&6; }
6794 < if ${lt_cv_ar_at_file+:} false; then :
6795 <  $as_echo_n "(cached) " >&6
6796 < else
6792 >
6793 >
6794 > # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
6795 > # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6796 >
6797 >
6798 >
6799 >
6800 >
6801 >
6802 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6803 > printf %s "checking for archiver @FILE support... " >&6; }
6804 > if test ${lt_cv_ar_at_file+y}
6805 > then :
6806 >  printf %s "(cached) " >&6
6807 > else $as_nop
6808    lt_cv_ar_at_file=no
6809     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6810   /* end confdefs.h.  */
6811  
6812   int
6813 < main ()
6813 > main (void)
6814   {
6815  
6816    ;
6817    return 0;
6818   }
6819   _ACEOF
6820 < if ac_fn_c_try_compile "$LINENO"; then :
6820 > if ac_fn_c_try_compile "$LINENO"
6821 > then :
6822    echo conftest.$ac_objext > conftest.lst
6823        lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6824        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6825    (eval $lt_ar_try) 2>&5
6826    ac_status=$?
6827 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6827 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6828    test $ac_status = 0; }
6829        if test 0 -eq "$ac_status"; then
6830          # Ensure the archiver fails upon bogus file names.
# Line 6194 | Line 6832 | if ac_fn_c_try_compile "$LINENO"; then :
6832          { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6833    (eval $lt_ar_try) 2>&5
6834    ac_status=$?
6835 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6835 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6836    test $ac_status = 0; }
6837          if test 0 -ne "$ac_status"; then
6838            lt_cv_ar_at_file=@
# Line 6203 | Line 6841 | if ac_fn_c_try_compile "$LINENO"; then :
6841        rm -f conftest.* libconftest.a
6842  
6843   fi
6844 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6844 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6845  
6846   fi
6847 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6848 < $as_echo "$lt_cv_ar_at_file" >&6; }
6847 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6848 > printf "%s\n" "$lt_cv_ar_at_file" >&6; }
6849  
6850   if test no = "$lt_cv_ar_at_file"; then
6851    archiver_list_spec=
# Line 6224 | Line 6862 | fi
6862   if test -n "$ac_tool_prefix"; then
6863    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6864   set dummy ${ac_tool_prefix}strip; ac_word=$2
6865 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866 < $as_echo_n "checking for $ac_word... " >&6; }
6867 < if ${ac_cv_prog_STRIP+:} false; then :
6868 <  $as_echo_n "(cached) " >&6
6869 < else
6865 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866 > printf %s "checking for $ac_word... " >&6; }
6867 > if test ${ac_cv_prog_STRIP+y}
6868 > then :
6869 >  printf %s "(cached) " >&6
6870 > else $as_nop
6871    if test -n "$STRIP"; then
6872    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6873   else
# Line 6236 | Line 6875 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875   for as_dir in $PATH
6876   do
6877    IFS=$as_save_IFS
6878 <  test -z "$as_dir" && as_dir=.
6878 >  case $as_dir in #(((
6879 >    '') as_dir=./ ;;
6880 >    */) ;;
6881 >    *) as_dir=$as_dir/ ;;
6882 >  esac
6883      for ac_exec_ext in '' $ac_executable_extensions; do
6884 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6884 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6885      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6886 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6886 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6887      break 2
6888    fi
6889   done
# Line 6251 | Line 6894 | fi
6894   fi
6895   STRIP=$ac_cv_prog_STRIP
6896   if test -n "$STRIP"; then
6897 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6898 < $as_echo "$STRIP" >&6; }
6897 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6898 > printf "%s\n" "$STRIP" >&6; }
6899   else
6900 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 < $as_echo "no" >&6; }
6900 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 > printf "%s\n" "no" >&6; }
6902   fi
6903  
6904  
# Line 6264 | Line 6907 | if test -z "$ac_cv_prog_STRIP"; then
6907    ac_ct_STRIP=$STRIP
6908    # Extract the first word of "strip", so it can be a program name with args.
6909   set dummy strip; ac_word=$2
6910 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6911 < $as_echo_n "checking for $ac_word... " >&6; }
6912 < if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6913 <  $as_echo_n "(cached) " >&6
6914 < else
6910 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6911 > printf %s "checking for $ac_word... " >&6; }
6912 > if test ${ac_cv_prog_ac_ct_STRIP+y}
6913 > then :
6914 >  printf %s "(cached) " >&6
6915 > else $as_nop
6916    if test -n "$ac_ct_STRIP"; then
6917    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6918   else
# Line 6276 | Line 6920 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920   for as_dir in $PATH
6921   do
6922    IFS=$as_save_IFS
6923 <  test -z "$as_dir" && as_dir=.
6923 >  case $as_dir in #(((
6924 >    '') as_dir=./ ;;
6925 >    */) ;;
6926 >    *) as_dir=$as_dir/ ;;
6927 >  esac
6928      for ac_exec_ext in '' $ac_executable_extensions; do
6929 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6929 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6930      ac_cv_prog_ac_ct_STRIP="strip"
6931 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6932      break 2
6933    fi
6934   done
# Line 6291 | Line 6939 | fi
6939   fi
6940   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6941   if test -n "$ac_ct_STRIP"; then
6942 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6943 < $as_echo "$ac_ct_STRIP" >&6; }
6942 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6943 > printf "%s\n" "$ac_ct_STRIP" >&6; }
6944   else
6945 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6946 < $as_echo "no" >&6; }
6945 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6946 > printf "%s\n" "no" >&6; }
6947   fi
6948  
6949    if test "x$ac_ct_STRIP" = x; then
# Line 6303 | Line 6951 | fi
6951    else
6952      case $cross_compiling:$ac_tool_warned in
6953   yes:)
6954 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6955 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6954 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6955 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6956   ac_tool_warned=yes ;;
6957   esac
6958      STRIP=$ac_ct_STRIP
# Line 6323 | Line 6971 | test -z "$STRIP" && STRIP=:
6971   if test -n "$ac_tool_prefix"; then
6972    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6973   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6974 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975 < $as_echo_n "checking for $ac_word... " >&6; }
6976 < if ${ac_cv_prog_RANLIB+:} false; then :
6977 <  $as_echo_n "(cached) " >&6
6978 < else
6974 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975 > printf %s "checking for $ac_word... " >&6; }
6976 > if test ${ac_cv_prog_RANLIB+y}
6977 > then :
6978 >  printf %s "(cached) " >&6
6979 > else $as_nop
6980    if test -n "$RANLIB"; then
6981    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6982   else
# Line 6335 | Line 6984 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6984   for as_dir in $PATH
6985   do
6986    IFS=$as_save_IFS
6987 <  test -z "$as_dir" && as_dir=.
6987 >  case $as_dir in #(((
6988 >    '') as_dir=./ ;;
6989 >    */) ;;
6990 >    *) as_dir=$as_dir/ ;;
6991 >  esac
6992      for ac_exec_ext in '' $ac_executable_extensions; do
6993 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6993 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6994      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6995 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6995 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6996      break 2
6997    fi
6998   done
# Line 6350 | Line 7003 | fi
7003   fi
7004   RANLIB=$ac_cv_prog_RANLIB
7005   if test -n "$RANLIB"; then
7006 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7007 < $as_echo "$RANLIB" >&6; }
7006 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7007 > printf "%s\n" "$RANLIB" >&6; }
7008   else
7009 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 < $as_echo "no" >&6; }
7009 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 > printf "%s\n" "no" >&6; }
7011   fi
7012  
7013  
# Line 6363 | Line 7016 | if test -z "$ac_cv_prog_RANLIB"; then
7016    ac_ct_RANLIB=$RANLIB
7017    # Extract the first word of "ranlib", so it can be a program name with args.
7018   set dummy ranlib; ac_word=$2
7019 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7020 < $as_echo_n "checking for $ac_word... " >&6; }
7021 < if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7022 <  $as_echo_n "(cached) " >&6
7023 < else
7019 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7020 > printf %s "checking for $ac_word... " >&6; }
7021 > if test ${ac_cv_prog_ac_ct_RANLIB+y}
7022 > then :
7023 >  printf %s "(cached) " >&6
7024 > else $as_nop
7025    if test -n "$ac_ct_RANLIB"; then
7026    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7027   else
# Line 6375 | Line 7029 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029   for as_dir in $PATH
7030   do
7031    IFS=$as_save_IFS
7032 <  test -z "$as_dir" && as_dir=.
7032 >  case $as_dir in #(((
7033 >    '') as_dir=./ ;;
7034 >    */) ;;
7035 >    *) as_dir=$as_dir/ ;;
7036 >  esac
7037      for ac_exec_ext in '' $ac_executable_extensions; do
7038 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7038 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7039      ac_cv_prog_ac_ct_RANLIB="ranlib"
7040 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7040 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7041      break 2
7042    fi
7043   done
# Line 6390 | Line 7048 | fi
7048   fi
7049   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7050   if test -n "$ac_ct_RANLIB"; then
7051 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7052 < $as_echo "$ac_ct_RANLIB" >&6; }
7051 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7052 > printf "%s\n" "$ac_ct_RANLIB" >&6; }
7053   else
7054 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7055 < $as_echo "no" >&6; }
7054 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7055 > printf "%s\n" "no" >&6; }
7056   fi
7057  
7058    if test "x$ac_ct_RANLIB" = x; then
# Line 6402 | Line 7060 | fi
7060    else
7061      case $cross_compiling:$ac_tool_warned in
7062   yes:)
7063 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7064 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7064 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7065   ac_tool_warned=yes ;;
7066   esac
7067      RANLIB=$ac_ct_RANLIB
# Line 6492 | Line 7150 | compiler=$CC
7150  
7151  
7152   # Check for command to grab the raw symbol name followed by C symbol from nm.
7153 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7154 < $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7155 < if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7156 <  $as_echo_n "(cached) " >&6
7157 < else
7153 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7154 > printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7155 > if test ${lt_cv_sys_global_symbol_pipe+y}
7156 > then :
7157 >  printf %s "(cached) " >&6
7158 > else $as_nop
7159  
7160   # These are sane defaults that work on at least a few old systems.
7161   # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
# Line 6551 | Line 7210 | esac
7210  
7211   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7212    # Gets list of data symbols to import.
7213 <  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7213 >  lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7214    # Adjust the below global symbol transforms to fixup imported variables.
7215    lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7216    lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
# Line 6569 | Line 7228 | fi
7228   # Transform an extracted symbol line into a proper C declaration.
7229   # Some systems (esp. on ia64) link data and code symbols differently,
7230   # so use this general approach.
7231 < lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7231 > lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7232   $lt_cdecl_hook\
7233   " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7234   " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7235  
7236   # Transform an extracted symbol line into symbol name and symbol address
7237 < lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7237 > lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7238   $lt_c_name_hook\
7239   " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7240   " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7241  
7242   # Transform an extracted symbol line into symbol name with lib prefix and
7243   # symbol address.
7244 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7244 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7245   $lt_c_name_lib_hook\
7246   " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7247   " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
# Line 6606 | Line 7265 | for ac_symprfx in "" "_"; do
7265    if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7266      # Fake it for dumpbin and say T for any non-static function,
7267      # D for any global variable and I for any imported variable.
7268 <    # Also find C++ and __fastcall symbols from MSVC++,
7268 >    # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7269      # which start with @ or ?.
7270      lt_cv_sys_global_symbol_pipe="$AWK '"\
7271   "     {last_section=section; section=\$ 3};"\
# Line 6624 | Line 7283 | for ac_symprfx in "" "_"; do
7283   "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7284   "     ' prfx=^$ac_symprfx"
7285    else
7286 <    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7286 >    lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7287    fi
7288 <  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7288 >  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7289  
7290    # Check to see that the pipe works correctly.
7291    pipe_works=no
# Line 6648 | Line 7307 | _LT_EOF
7307    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7308    (eval $ac_compile) 2>&5
7309    ac_status=$?
7310 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7310 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7311    test $ac_status = 0; }; then
7312      # Now try to grab the symbols.
7313      nlist=conftest.nm
7314 <    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7315 <    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7314 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7315 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7316 >  ac_status=$?
7317 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7318 >  test $ac_status = 0; } && test -s "$nlist"; then
7319        # Try sorting and uniquifying the output.
7320        if sort "$nlist" | uniq > "$nlist"T; then
7321          mv -f "$nlist"T "$nlist"
# Line 6721 | Line 7383 | _LT_EOF
7383            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7384    (eval $ac_link) 2>&5
7385    ac_status=$?
7386 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7386 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7387    test $ac_status = 0; } && test -s conftest$ac_exeext; then
7388              pipe_works=yes
7389            fi
# Line 6756 | Line 7418 | if test -z "$lt_cv_sys_global_symbol_pip
7418    lt_cv_sys_global_symbol_to_cdecl=
7419   fi
7420   if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7421 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7422 < $as_echo "failed" >&6; }
7421 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7422 > printf "%s\n" "failed" >&6; }
7423   else
7424 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7425 < $as_echo "ok" >&6; }
7424 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7425 > printf "%s\n" "ok" >&6; }
7426   fi
7427  
7428   # Response file support.
# Line 6806 | Line 7468 | fi
7468  
7469  
7470  
7471 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7472 < $as_echo_n "checking for sysroot... " >&6; }
7471 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7472 > printf %s "checking for sysroot... " >&6; }
7473  
7474   # Check whether --with-sysroot was given.
7475 < if test "${with_sysroot+set}" = set; then :
7475 > if test ${with_sysroot+y}
7476 > then :
7477    withval=$with_sysroot;
7478 < else
7478 > else $as_nop
7479    with_sysroot=no
7480   fi
7481  
# Line 6825 | Line 7488 | case $with_sysroot in #(
7488     fi
7489     ;; #(
7490   /*)
7491 <   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7491 >   lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7492     ;; #(
7493   no|'')
7494     ;; #(
7495   *)
7496 <   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7497 < $as_echo "$with_sysroot" >&6; }
7496 >   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7497 > printf "%s\n" "$with_sysroot" >&6; }
7498     as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7499     ;;
7500   esac
7501  
7502 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7503 < $as_echo "${lt_sysroot:-no}" >&6; }
7502 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7503 > printf "%s\n" "${lt_sysroot:-no}" >&6; }
7504  
7505  
7506  
7507  
7508  
7509 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7510 < $as_echo_n "checking for a working dd... " >&6; }
7511 < if ${ac_cv_path_lt_DD+:} false; then :
7512 <  $as_echo_n "(cached) " >&6
7513 < else
7509 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7510 > printf %s "checking for a working dd... " >&6; }
7511 > if test ${ac_cv_path_lt_DD+y}
7512 > then :
7513 >  printf %s "(cached) " >&6
7514 > else $as_nop
7515    printf 0123456789abcdef0123456789abcdef >conftest.i
7516   cat conftest.i conftest.i >conftest2.i
7517   : ${lt_DD:=$DD}
# Line 6858 | Line 7522 | if test -z "$lt_DD"; then
7522   for as_dir in $PATH
7523   do
7524    IFS=$as_save_IFS
7525 <  test -z "$as_dir" && as_dir=.
7526 <    for ac_prog in dd; do
7525 >  case $as_dir in #(((
7526 >    '') as_dir=./ ;;
7527 >    */) ;;
7528 >    *) as_dir=$as_dir/ ;;
7529 >  esac
7530 >    for ac_prog in dd
7531 >   do
7532      for ac_exec_ext in '' $ac_executable_extensions; do
7533 <      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7533 >      ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7534        as_fn_executable_p "$ac_path_lt_DD" || continue
7535   if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7536    cmp -s conftest.i conftest.out \
# Line 6881 | Line 7550 | fi
7550  
7551   rm -f conftest.i conftest2.i conftest.out
7552   fi
7553 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7554 < $as_echo "$ac_cv_path_lt_DD" >&6; }
7553 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7554 > printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7555  
7556  
7557 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7558 < $as_echo_n "checking how to truncate binary pipes... " >&6; }
7559 < if ${lt_cv_truncate_bin+:} false; then :
7560 <  $as_echo_n "(cached) " >&6
7561 < else
7557 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7558 > printf %s "checking how to truncate binary pipes... " >&6; }
7559 > if test ${lt_cv_truncate_bin+y}
7560 > then :
7561 >  printf %s "(cached) " >&6
7562 > else $as_nop
7563    printf 0123456789abcdef0123456789abcdef >conftest.i
7564   cat conftest.i conftest.i >conftest2.i
7565   lt_cv_truncate_bin=
# Line 6900 | Line 7570 | fi
7570   rm -f conftest.i conftest2.i conftest.out
7571   test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7572   fi
7573 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7574 < $as_echo "$lt_cv_truncate_bin" >&6; }
7573 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7574 > printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7575  
7576  
7577  
# Line 6924 | Line 7594 | func_cc_basename ()
7594   }
7595  
7596   # Check whether --enable-libtool-lock was given.
7597 < if test "${enable_libtool_lock+set}" = set; then :
7597 > if test ${enable_libtool_lock+y}
7598 > then :
7599    enableval=$enable_libtool_lock;
7600   fi
7601  
# Line 6940 | Line 7611 | ia64-*-hpux*)
7611    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7612    (eval $ac_compile) 2>&5
7613    ac_status=$?
7614 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7614 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7615    test $ac_status = 0; }; then
7616 <    case `/usr/bin/file conftest.$ac_objext` in
7616 >    case `$FILECMD conftest.$ac_objext` in
7617        *ELF-32*)
7618          HPUX_IA64_MODE=32
7619          ;;
# Line 6960 | Line 7631 | ia64-*-hpux*)
7631    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7632    (eval $ac_compile) 2>&5
7633    ac_status=$?
7634 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7634 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7635    test $ac_status = 0; }; then
7636      if test yes = "$lt_cv_prog_gnu_ld"; then
7637 <      case `/usr/bin/file conftest.$ac_objext` in
7637 >      case `$FILECMD conftest.$ac_objext` in
7638          *32-bit*)
7639            LD="${LD-ld} -melf32bsmip"
7640            ;;
# Line 6975 | Line 7646 | ia64-*-hpux*)
7646          ;;
7647        esac
7648      else
7649 <      case `/usr/bin/file conftest.$ac_objext` in
7649 >      case `$FILECMD conftest.$ac_objext` in
7650          *32-bit*)
7651            LD="${LD-ld} -32"
7652            ;;
# Line 6998 | Line 7669 | mips64*-*linux*)
7669    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7670    (eval $ac_compile) 2>&5
7671    ac_status=$?
7672 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7672 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7673    test $ac_status = 0; }; then
7674      emul=elf
7675 <    case `/usr/bin/file conftest.$ac_objext` in
7675 >    case `$FILECMD conftest.$ac_objext` in
7676        *32-bit*)
7677          emul="${emul}32"
7678          ;;
# Line 7009 | Line 7680 | mips64*-*linux*)
7680          emul="${emul}64"
7681          ;;
7682      esac
7683 <    case `/usr/bin/file conftest.$ac_objext` in
7683 >    case `$FILECMD conftest.$ac_objext` in
7684        *MSB*)
7685          emul="${emul}btsmip"
7686          ;;
# Line 7017 | Line 7688 | mips64*-*linux*)
7688          emul="${emul}ltsmip"
7689          ;;
7690      esac
7691 <    case `/usr/bin/file conftest.$ac_objext` in
7691 >    case `$FILECMD conftest.$ac_objext` in
7692        *N32*)
7693          emul="${emul}n32"
7694          ;;
# Line 7039 | Line 7710 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7710    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7711    (eval $ac_compile) 2>&5
7712    ac_status=$?
7713 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7713 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7714    test $ac_status = 0; }; then
7715 <    case `/usr/bin/file conftest.o` in
7715 >    case `$FILECMD conftest.o` in
7716        *32-bit*)
7717          case $host in
7718            x86_64-*kfreebsd*-gnu)
7719              LD="${LD-ld} -m elf_i386_fbsd"
7720              ;;
7721            x86_64-*linux*)
7722 <            case `/usr/bin/file conftest.o` in
7722 >            case `$FILECMD conftest.o` in
7723                *x86-64*)
7724                  LD="${LD-ld} -m elf32_x86_64"
7725                  ;;
# Line 7102 | Line 7773 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7773    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7774    SAVE_CFLAGS=$CFLAGS
7775    CFLAGS="$CFLAGS -belf"
7776 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7777 < $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7778 < if ${lt_cv_cc_needs_belf+:} false; then :
7779 <  $as_echo_n "(cached) " >&6
7780 < else
7776 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7777 > printf %s "checking whether the C compiler needs -belf... " >&6; }
7778 > if test ${lt_cv_cc_needs_belf+y}
7779 > then :
7780 >  printf %s "(cached) " >&6
7781 > else $as_nop
7782    ac_ext=c
7783   ac_cpp='$CPP $CPPFLAGS'
7784   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7117 | Line 7789 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7789   /* end confdefs.h.  */
7790  
7791   int
7792 < main ()
7792 > main (void)
7793   {
7794  
7795    ;
7796    return 0;
7797   }
7798   _ACEOF
7799 < if ac_fn_c_try_link "$LINENO"; then :
7799 > if ac_fn_c_try_link "$LINENO"
7800 > then :
7801    lt_cv_cc_needs_belf=yes
7802 < else
7802 > else $as_nop
7803    lt_cv_cc_needs_belf=no
7804   fi
7805 < rm -f core conftest.err conftest.$ac_objext \
7805 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
7806      conftest$ac_exeext conftest.$ac_ext
7807       ac_ext=c
7808   ac_cpp='$CPP $CPPFLAGS'
# Line 7138 | Line 7811 | ac_link='$CC -o conftest$ac_exeext $CFLA
7811   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7812  
7813   fi
7814 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7815 < $as_echo "$lt_cv_cc_needs_belf" >&6; }
7814 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7815 > printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
7816    if test yes != "$lt_cv_cc_needs_belf"; then
7817      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7818      CFLAGS=$SAVE_CFLAGS
# Line 7152 | Line 7825 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7825    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7826    (eval $ac_compile) 2>&5
7827    ac_status=$?
7828 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7828 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7829    test $ac_status = 0; }; then
7830 <    case `/usr/bin/file conftest.o` in
7830 >    case `$FILECMD conftest.o` in
7831      *64-bit*)
7832        case $lt_cv_prog_gnu_ld in
7833        yes*)
# Line 7189 | Line 7862 | need_locks=$enable_libtool_lock
7862   if test -n "$ac_tool_prefix"; then
7863    # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7864   set dummy ${ac_tool_prefix}mt; ac_word=$2
7865 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7866 < $as_echo_n "checking for $ac_word... " >&6; }
7867 < if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7868 <  $as_echo_n "(cached) " >&6
7869 < else
7865 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7866 > printf %s "checking for $ac_word... " >&6; }
7867 > if test ${ac_cv_prog_MANIFEST_TOOL+y}
7868 > then :
7869 >  printf %s "(cached) " >&6
7870 > else $as_nop
7871    if test -n "$MANIFEST_TOOL"; then
7872    ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7873   else
# Line 7201 | Line 7875 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875   for as_dir in $PATH
7876   do
7877    IFS=$as_save_IFS
7878 <  test -z "$as_dir" && as_dir=.
7878 >  case $as_dir in #(((
7879 >    '') as_dir=./ ;;
7880 >    */) ;;
7881 >    *) as_dir=$as_dir/ ;;
7882 >  esac
7883      for ac_exec_ext in '' $ac_executable_extensions; do
7884 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7884 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7885      ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7886 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7886 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7887      break 2
7888    fi
7889   done
# Line 7216 | Line 7894 | fi
7894   fi
7895   MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7896   if test -n "$MANIFEST_TOOL"; then
7897 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7898 < $as_echo "$MANIFEST_TOOL" >&6; }
7897 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7898 > printf "%s\n" "$MANIFEST_TOOL" >&6; }
7899   else
7900 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7901 < $as_echo "no" >&6; }
7900 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7901 > printf "%s\n" "no" >&6; }
7902   fi
7903  
7904  
# Line 7229 | Line 7907 | if test -z "$ac_cv_prog_MANIFEST_TOOL";
7907    ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7908    # Extract the first word of "mt", so it can be a program name with args.
7909   set dummy mt; ac_word=$2
7910 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7911 < $as_echo_n "checking for $ac_word... " >&6; }
7912 < if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7913 <  $as_echo_n "(cached) " >&6
7914 < else
7910 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7911 > printf %s "checking for $ac_word... " >&6; }
7912 > if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
7913 > then :
7914 >  printf %s "(cached) " >&6
7915 > else $as_nop
7916    if test -n "$ac_ct_MANIFEST_TOOL"; then
7917    ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7918   else
# Line 7241 | Line 7920 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920   for as_dir in $PATH
7921   do
7922    IFS=$as_save_IFS
7923 <  test -z "$as_dir" && as_dir=.
7923 >  case $as_dir in #(((
7924 >    '') as_dir=./ ;;
7925 >    */) ;;
7926 >    *) as_dir=$as_dir/ ;;
7927 >  esac
7928      for ac_exec_ext in '' $ac_executable_extensions; do
7929 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7930      ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7931 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7932      break 2
7933    fi
7934   done
# Line 7256 | Line 7939 | fi
7939   fi
7940   ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7941   if test -n "$ac_ct_MANIFEST_TOOL"; then
7942 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7943 < $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7942 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7943 > printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
7944   else
7945 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 < $as_echo "no" >&6; }
7945 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 > printf "%s\n" "no" >&6; }
7947   fi
7948  
7949    if test "x$ac_ct_MANIFEST_TOOL" = x; then
# Line 7268 | Line 7951 | fi
7951    else
7952      case $cross_compiling:$ac_tool_warned in
7953   yes:)
7954 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7955 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7954 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7955 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7956   ac_tool_warned=yes ;;
7957   esac
7958      MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
# Line 7279 | Line 7962 | else
7962   fi
7963  
7964   test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7965 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7966 < $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7967 < if ${lt_cv_path_mainfest_tool+:} false; then :
7968 <  $as_echo_n "(cached) " >&6
7969 < else
7965 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7966 > printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7967 > if test ${lt_cv_path_mainfest_tool+y}
7968 > then :
7969 >  printf %s "(cached) " >&6
7970 > else $as_nop
7971    lt_cv_path_mainfest_tool=no
7972    echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7973    $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
# Line 7293 | Line 7977 | else
7977    fi
7978    rm -f conftest*
7979   fi
7980 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7981 < $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7980 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7981 > printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
7982   if test yes != "$lt_cv_path_mainfest_tool"; then
7983    MANIFEST_TOOL=:
7984   fi
# Line 7309 | Line 7993 | fi
7993      if test -n "$ac_tool_prefix"; then
7994    # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7995   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7996 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7997 < $as_echo_n "checking for $ac_word... " >&6; }
7998 < if ${ac_cv_prog_DSYMUTIL+:} false; then :
7999 <  $as_echo_n "(cached) " >&6
8000 < else
7996 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7997 > printf %s "checking for $ac_word... " >&6; }
7998 > if test ${ac_cv_prog_DSYMUTIL+y}
7999 > then :
8000 >  printf %s "(cached) " >&6
8001 > else $as_nop
8002    if test -n "$DSYMUTIL"; then
8003    ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8004   else
# Line 7321 | Line 8006 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8006   for as_dir in $PATH
8007   do
8008    IFS=$as_save_IFS
8009 <  test -z "$as_dir" && as_dir=.
8009 >  case $as_dir in #(((
8010 >    '') as_dir=./ ;;
8011 >    */) ;;
8012 >    *) as_dir=$as_dir/ ;;
8013 >  esac
8014      for ac_exec_ext in '' $ac_executable_extensions; do
8015 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8016      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8017 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8017 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8018      break 2
8019    fi
8020   done
# Line 7336 | Line 8025 | fi
8025   fi
8026   DSYMUTIL=$ac_cv_prog_DSYMUTIL
8027   if test -n "$DSYMUTIL"; then
8028 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8029 < $as_echo "$DSYMUTIL" >&6; }
8028 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8029 > printf "%s\n" "$DSYMUTIL" >&6; }
8030   else
8031 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8032 < $as_echo "no" >&6; }
8031 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8032 > printf "%s\n" "no" >&6; }
8033   fi
8034  
8035  
# Line 7349 | Line 8038 | if test -z "$ac_cv_prog_DSYMUTIL"; then
8038    ac_ct_DSYMUTIL=$DSYMUTIL
8039    # Extract the first word of "dsymutil", so it can be a program name with args.
8040   set dummy dsymutil; ac_word=$2
8041 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8042 < $as_echo_n "checking for $ac_word... " >&6; }
8043 < if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8044 <  $as_echo_n "(cached) " >&6
8045 < else
8041 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8042 > printf %s "checking for $ac_word... " >&6; }
8043 > if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8044 > then :
8045 >  printf %s "(cached) " >&6
8046 > else $as_nop
8047    if test -n "$ac_ct_DSYMUTIL"; then
8048    ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8049   else
# Line 7361 | Line 8051 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8051   for as_dir in $PATH
8052   do
8053    IFS=$as_save_IFS
8054 <  test -z "$as_dir" && as_dir=.
8054 >  case $as_dir in #(((
8055 >    '') as_dir=./ ;;
8056 >    */) ;;
8057 >    *) as_dir=$as_dir/ ;;
8058 >  esac
8059      for ac_exec_ext in '' $ac_executable_extensions; do
8060 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8060 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8061      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8062 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8062 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8063      break 2
8064    fi
8065   done
# Line 7376 | Line 8070 | fi
8070   fi
8071   ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8072   if test -n "$ac_ct_DSYMUTIL"; then
8073 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8074 < $as_echo "$ac_ct_DSYMUTIL" >&6; }
8073 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8074 > printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8075   else
8076 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 < $as_echo "no" >&6; }
8076 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 > printf "%s\n" "no" >&6; }
8078   fi
8079  
8080    if test "x$ac_ct_DSYMUTIL" = x; then
# Line 7388 | Line 8082 | fi
8082    else
8083      case $cross_compiling:$ac_tool_warned in
8084   yes:)
8085 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8086 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8085 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8086 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8087   ac_tool_warned=yes ;;
8088   esac
8089      DSYMUTIL=$ac_ct_DSYMUTIL
# Line 7401 | Line 8095 | fi
8095      if test -n "$ac_tool_prefix"; then
8096    # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8097   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8098 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8099 < $as_echo_n "checking for $ac_word... " >&6; }
8100 < if ${ac_cv_prog_NMEDIT+:} false; then :
8101 <  $as_echo_n "(cached) " >&6
8102 < else
8098 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8099 > printf %s "checking for $ac_word... " >&6; }
8100 > if test ${ac_cv_prog_NMEDIT+y}
8101 > then :
8102 >  printf %s "(cached) " >&6
8103 > else $as_nop
8104    if test -n "$NMEDIT"; then
8105    ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8106   else
# Line 7413 | Line 8108 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8108   for as_dir in $PATH
8109   do
8110    IFS=$as_save_IFS
8111 <  test -z "$as_dir" && as_dir=.
8111 >  case $as_dir in #(((
8112 >    '') as_dir=./ ;;
8113 >    */) ;;
8114 >    *) as_dir=$as_dir/ ;;
8115 >  esac
8116      for ac_exec_ext in '' $ac_executable_extensions; do
8117 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8118      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8119 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8120      break 2
8121    fi
8122   done
# Line 7428 | Line 8127 | fi
8127   fi
8128   NMEDIT=$ac_cv_prog_NMEDIT
8129   if test -n "$NMEDIT"; then
8130 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8131 < $as_echo "$NMEDIT" >&6; }
8130 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8131 > printf "%s\n" "$NMEDIT" >&6; }
8132   else
8133 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 < $as_echo "no" >&6; }
8133 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 > printf "%s\n" "no" >&6; }
8135   fi
8136  
8137  
# Line 7441 | Line 8140 | if test -z "$ac_cv_prog_NMEDIT"; then
8140    ac_ct_NMEDIT=$NMEDIT
8141    # Extract the first word of "nmedit", so it can be a program name with args.
8142   set dummy nmedit; ac_word=$2
8143 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8144 < $as_echo_n "checking for $ac_word... " >&6; }
8145 < if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8146 <  $as_echo_n "(cached) " >&6
8147 < else
8143 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8144 > printf %s "checking for $ac_word... " >&6; }
8145 > if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8146 > then :
8147 >  printf %s "(cached) " >&6
8148 > else $as_nop
8149    if test -n "$ac_ct_NMEDIT"; then
8150    ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8151   else
# Line 7453 | Line 8153 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8153   for as_dir in $PATH
8154   do
8155    IFS=$as_save_IFS
8156 <  test -z "$as_dir" && as_dir=.
8156 >  case $as_dir in #(((
8157 >    '') as_dir=./ ;;
8158 >    */) ;;
8159 >    *) as_dir=$as_dir/ ;;
8160 >  esac
8161      for ac_exec_ext in '' $ac_executable_extensions; do
8162 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8162 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8163      ac_cv_prog_ac_ct_NMEDIT="nmedit"
8164 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8164 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8165      break 2
8166    fi
8167   done
# Line 7468 | Line 8172 | fi
8172   fi
8173   ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8174   if test -n "$ac_ct_NMEDIT"; then
8175 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8176 < $as_echo "$ac_ct_NMEDIT" >&6; }
8175 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8176 > printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8177   else
8178 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179 < $as_echo "no" >&6; }
8178 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179 > printf "%s\n" "no" >&6; }
8180   fi
8181  
8182    if test "x$ac_ct_NMEDIT" = x; then
# Line 7480 | Line 8184 | fi
8184    else
8185      case $cross_compiling:$ac_tool_warned in
8186   yes:)
8187 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8188 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8187 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8188 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8189   ac_tool_warned=yes ;;
8190   esac
8191      NMEDIT=$ac_ct_NMEDIT
# Line 7493 | Line 8197 | fi
8197      if test -n "$ac_tool_prefix"; then
8198    # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8199   set dummy ${ac_tool_prefix}lipo; ac_word=$2
8200 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201 < $as_echo_n "checking for $ac_word... " >&6; }
8202 < if ${ac_cv_prog_LIPO+:} false; then :
8203 <  $as_echo_n "(cached) " >&6
8204 < else
8200 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201 > printf %s "checking for $ac_word... " >&6; }
8202 > if test ${ac_cv_prog_LIPO+y}
8203 > then :
8204 >  printf %s "(cached) " >&6
8205 > else $as_nop
8206    if test -n "$LIPO"; then
8207    ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8208   else
# Line 7505 | Line 8210 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210   for as_dir in $PATH
8211   do
8212    IFS=$as_save_IFS
8213 <  test -z "$as_dir" && as_dir=.
8213 >  case $as_dir in #(((
8214 >    '') as_dir=./ ;;
8215 >    */) ;;
8216 >    *) as_dir=$as_dir/ ;;
8217 >  esac
8218      for ac_exec_ext in '' $ac_executable_extensions; do
8219 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8220      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8221 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8221 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8222      break 2
8223    fi
8224   done
# Line 7520 | Line 8229 | fi
8229   fi
8230   LIPO=$ac_cv_prog_LIPO
8231   if test -n "$LIPO"; then
8232 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8233 < $as_echo "$LIPO" >&6; }
8232 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8233 > printf "%s\n" "$LIPO" >&6; }
8234   else
8235 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 < $as_echo "no" >&6; }
8235 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 > printf "%s\n" "no" >&6; }
8237   fi
8238  
8239  
# Line 7533 | Line 8242 | if test -z "$ac_cv_prog_LIPO"; then
8242    ac_ct_LIPO=$LIPO
8243    # Extract the first word of "lipo", so it can be a program name with args.
8244   set dummy lipo; ac_word=$2
8245 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8246 < $as_echo_n "checking for $ac_word... " >&6; }
8247 < if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8248 <  $as_echo_n "(cached) " >&6
8249 < else
8245 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8246 > printf %s "checking for $ac_word... " >&6; }
8247 > if test ${ac_cv_prog_ac_ct_LIPO+y}
8248 > then :
8249 >  printf %s "(cached) " >&6
8250 > else $as_nop
8251    if test -n "$ac_ct_LIPO"; then
8252    ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8253   else
# Line 7545 | Line 8255 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255   for as_dir in $PATH
8256   do
8257    IFS=$as_save_IFS
8258 <  test -z "$as_dir" && as_dir=.
8258 >  case $as_dir in #(((
8259 >    '') as_dir=./ ;;
8260 >    */) ;;
8261 >    *) as_dir=$as_dir/ ;;
8262 >  esac
8263      for ac_exec_ext in '' $ac_executable_extensions; do
8264 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8264 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8265      ac_cv_prog_ac_ct_LIPO="lipo"
8266 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8266 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8267      break 2
8268    fi
8269   done
# Line 7560 | Line 8274 | fi
8274   fi
8275   ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8276   if test -n "$ac_ct_LIPO"; then
8277 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8278 < $as_echo "$ac_ct_LIPO" >&6; }
8277 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8278 > printf "%s\n" "$ac_ct_LIPO" >&6; }
8279   else
8280 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281 < $as_echo "no" >&6; }
8280 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281 > printf "%s\n" "no" >&6; }
8282   fi
8283  
8284    if test "x$ac_ct_LIPO" = x; then
# Line 7572 | Line 8286 | fi
8286    else
8287      case $cross_compiling:$ac_tool_warned in
8288   yes:)
8289 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8290 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8289 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8290 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8291   ac_tool_warned=yes ;;
8292   esac
8293      LIPO=$ac_ct_LIPO
# Line 7585 | Line 8299 | fi
8299      if test -n "$ac_tool_prefix"; then
8300    # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8301   set dummy ${ac_tool_prefix}otool; ac_word=$2
8302 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8303 < $as_echo_n "checking for $ac_word... " >&6; }
8304 < if ${ac_cv_prog_OTOOL+:} false; then :
8305 <  $as_echo_n "(cached) " >&6
8306 < else
8302 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8303 > printf %s "checking for $ac_word... " >&6; }
8304 > if test ${ac_cv_prog_OTOOL+y}
8305 > then :
8306 >  printf %s "(cached) " >&6
8307 > else $as_nop
8308    if test -n "$OTOOL"; then
8309    ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8310   else
# Line 7597 | Line 8312 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8312   for as_dir in $PATH
8313   do
8314    IFS=$as_save_IFS
8315 <  test -z "$as_dir" && as_dir=.
8315 >  case $as_dir in #(((
8316 >    '') as_dir=./ ;;
8317 >    */) ;;
8318 >    *) as_dir=$as_dir/ ;;
8319 >  esac
8320      for ac_exec_ext in '' $ac_executable_extensions; do
8321 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8321 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8322      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8323 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8323 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8324      break 2
8325    fi
8326   done
# Line 7612 | Line 8331 | fi
8331   fi
8332   OTOOL=$ac_cv_prog_OTOOL
8333   if test -n "$OTOOL"; then
8334 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8335 < $as_echo "$OTOOL" >&6; }
8334 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8335 > printf "%s\n" "$OTOOL" >&6; }
8336   else
8337 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 < $as_echo "no" >&6; }
8337 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 > printf "%s\n" "no" >&6; }
8339   fi
8340  
8341  
# Line 7625 | Line 8344 | if test -z "$ac_cv_prog_OTOOL"; then
8344    ac_ct_OTOOL=$OTOOL
8345    # Extract the first word of "otool", so it can be a program name with args.
8346   set dummy otool; ac_word=$2
8347 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 < $as_echo_n "checking for $ac_word... " >&6; }
8349 < if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8350 <  $as_echo_n "(cached) " >&6
8351 < else
8347 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 > printf %s "checking for $ac_word... " >&6; }
8349 > if test ${ac_cv_prog_ac_ct_OTOOL+y}
8350 > then :
8351 >  printf %s "(cached) " >&6
8352 > else $as_nop
8353    if test -n "$ac_ct_OTOOL"; then
8354    ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8355   else
# Line 7637 | Line 8357 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8357   for as_dir in $PATH
8358   do
8359    IFS=$as_save_IFS
8360 <  test -z "$as_dir" && as_dir=.
8360 >  case $as_dir in #(((
8361 >    '') as_dir=./ ;;
8362 >    */) ;;
8363 >    *) as_dir=$as_dir/ ;;
8364 >  esac
8365      for ac_exec_ext in '' $ac_executable_extensions; do
8366 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8366 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8367      ac_cv_prog_ac_ct_OTOOL="otool"
8368 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8368 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8369      break 2
8370    fi
8371   done
# Line 7652 | Line 8376 | fi
8376   fi
8377   ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8378   if test -n "$ac_ct_OTOOL"; then
8379 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8380 < $as_echo "$ac_ct_OTOOL" >&6; }
8379 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8380 > printf "%s\n" "$ac_ct_OTOOL" >&6; }
8381   else
8382 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8383 < $as_echo "no" >&6; }
8382 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8383 > printf "%s\n" "no" >&6; }
8384   fi
8385  
8386    if test "x$ac_ct_OTOOL" = x; then
# Line 7664 | Line 8388 | fi
8388    else
8389      case $cross_compiling:$ac_tool_warned in
8390   yes:)
8391 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8392 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8391 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8392 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8393   ac_tool_warned=yes ;;
8394   esac
8395      OTOOL=$ac_ct_OTOOL
# Line 7677 | Line 8401 | fi
8401      if test -n "$ac_tool_prefix"; then
8402    # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8403   set dummy ${ac_tool_prefix}otool64; ac_word=$2
8404 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8405 < $as_echo_n "checking for $ac_word... " >&6; }
8406 < if ${ac_cv_prog_OTOOL64+:} false; then :
8407 <  $as_echo_n "(cached) " >&6
8408 < else
8404 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8405 > printf %s "checking for $ac_word... " >&6; }
8406 > if test ${ac_cv_prog_OTOOL64+y}
8407 > then :
8408 >  printf %s "(cached) " >&6
8409 > else $as_nop
8410    if test -n "$OTOOL64"; then
8411    ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8412   else
# Line 7689 | Line 8414 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8414   for as_dir in $PATH
8415   do
8416    IFS=$as_save_IFS
8417 <  test -z "$as_dir" && as_dir=.
8417 >  case $as_dir in #(((
8418 >    '') as_dir=./ ;;
8419 >    */) ;;
8420 >    *) as_dir=$as_dir/ ;;
8421 >  esac
8422      for ac_exec_ext in '' $ac_executable_extensions; do
8423 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8423 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8424      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8425 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8425 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8426      break 2
8427    fi
8428   done
# Line 7704 | Line 8433 | fi
8433   fi
8434   OTOOL64=$ac_cv_prog_OTOOL64
8435   if test -n "$OTOOL64"; then
8436 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8437 < $as_echo "$OTOOL64" >&6; }
8436 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8437 > printf "%s\n" "$OTOOL64" >&6; }
8438   else
8439 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8440 < $as_echo "no" >&6; }
8439 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8440 > printf "%s\n" "no" >&6; }
8441   fi
8442  
8443  
# Line 7717 | Line 8446 | if test -z "$ac_cv_prog_OTOOL64"; then
8446    ac_ct_OTOOL64=$OTOOL64
8447    # Extract the first word of "otool64", so it can be a program name with args.
8448   set dummy otool64; ac_word=$2
8449 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8450 < $as_echo_n "checking for $ac_word... " >&6; }
8451 < if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8452 <  $as_echo_n "(cached) " >&6
8453 < else
8449 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8450 > printf %s "checking for $ac_word... " >&6; }
8451 > if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8452 > then :
8453 >  printf %s "(cached) " >&6
8454 > else $as_nop
8455    if test -n "$ac_ct_OTOOL64"; then
8456    ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8457   else
# Line 7729 | Line 8459 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8459   for as_dir in $PATH
8460   do
8461    IFS=$as_save_IFS
8462 <  test -z "$as_dir" && as_dir=.
8462 >  case $as_dir in #(((
8463 >    '') as_dir=./ ;;
8464 >    */) ;;
8465 >    *) as_dir=$as_dir/ ;;
8466 >  esac
8467      for ac_exec_ext in '' $ac_executable_extensions; do
8468 <  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8468 >  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8469      ac_cv_prog_ac_ct_OTOOL64="otool64"
8470 <    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8470 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8471      break 2
8472    fi
8473   done
# Line 7744 | Line 8478 | fi
8478   fi
8479   ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8480   if test -n "$ac_ct_OTOOL64"; then
8481 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8482 < $as_echo "$ac_ct_OTOOL64" >&6; }
8481 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8482 > printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8483   else
8484 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8485 < $as_echo "no" >&6; }
8484 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8485 > printf "%s\n" "no" >&6; }
8486   fi
8487  
8488    if test "x$ac_ct_OTOOL64" = x; then
# Line 7756 | Line 8490 | fi
8490    else
8491      case $cross_compiling:$ac_tool_warned in
8492   yes:)
8493 < { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8494 < $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8493 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8494 > printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8495   ac_tool_warned=yes ;;
8496   esac
8497      OTOOL64=$ac_ct_OTOOL64
# Line 7792 | Line 8526 | fi
8526  
8527  
8528  
8529 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8530 < $as_echo_n "checking for -single_module linker flag... " >&6; }
8531 < if ${lt_cv_apple_cc_single_mod+:} false; then :
8532 <  $as_echo_n "(cached) " >&6
8533 < else
8529 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8530 > printf %s "checking for -single_module linker flag... " >&6; }
8531 > if test ${lt_cv_apple_cc_single_mod+y}
8532 > then :
8533 >  printf %s "(cached) " >&6
8534 > else $as_nop
8535    lt_cv_apple_cc_single_mod=no
8536        if test -z "$LT_MULTI_MODULE"; then
8537          # By default we will add the -single_module flag. You can override
# Line 7825 | Line 8560 | else
8560          rm -f conftest.*
8561        fi
8562   fi
8563 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8564 < $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8563 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8564 > printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8565  
8566 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8567 < $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8568 < if ${lt_cv_ld_exported_symbols_list+:} false; then :
8569 <  $as_echo_n "(cached) " >&6
8570 < else
8566 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8567 > printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8568 > if test ${lt_cv_ld_exported_symbols_list+y}
8569 > then :
8570 >  printf %s "(cached) " >&6
8571 > else $as_nop
8572    lt_cv_ld_exported_symbols_list=no
8573        save_LDFLAGS=$LDFLAGS
8574        echo "_main" > conftest.sym
# Line 7841 | Line 8577 | else
8577   /* end confdefs.h.  */
8578  
8579   int
8580 < main ()
8580 > main (void)
8581   {
8582  
8583    ;
8584    return 0;
8585   }
8586   _ACEOF
8587 < if ac_fn_c_try_link "$LINENO"; then :
8587 > if ac_fn_c_try_link "$LINENO"
8588 > then :
8589    lt_cv_ld_exported_symbols_list=yes
8590 < else
8590 > else $as_nop
8591    lt_cv_ld_exported_symbols_list=no
8592   fi
8593 < rm -f core conftest.err conftest.$ac_objext \
8593 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
8594      conftest$ac_exeext conftest.$ac_ext
8595          LDFLAGS=$save_LDFLAGS
8596  
8597   fi
8598 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8599 < $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8598 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8599 > printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8600  
8601 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8602 < $as_echo_n "checking for -force_load linker flag... " >&6; }
8603 < if ${lt_cv_ld_force_load+:} false; then :
8604 <  $as_echo_n "(cached) " >&6
8605 < else
8601 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8602 > printf %s "checking for -force_load linker flag... " >&6; }
8603 > if test ${lt_cv_ld_force_load+y}
8604 > then :
8605 >  printf %s "(cached) " >&6
8606 > else $as_nop
8607    lt_cv_ld_force_load=no
8608        cat > conftest.c << _LT_EOF
8609   int forced_loaded() { return 2;}
8610   _LT_EOF
8611        echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8612        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8613 <      echo "$AR cru libconftest.a conftest.o" >&5
8614 <      $AR cru libconftest.a conftest.o 2>&5
8613 >      echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8614 >      $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8615        echo "$RANLIB libconftest.a" >&5
8616        $RANLIB libconftest.a 2>&5
8617        cat > conftest.c << _LT_EOF
# Line 7893 | Line 8631 | _LT_EOF
8631          rm -rf conftest.dSYM
8632  
8633   fi
8634 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8635 < $as_echo "$lt_cv_ld_force_load" >&6; }
8634 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8635 > printf "%s\n" "$lt_cv_ld_force_load" >&6; }
8636      case $host_os in
8637      rhapsody* | darwin1.[012])
8638        _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8639      darwin1.*)
8640        _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8641 <    darwin*) # darwin 5.x on
8642 <      # if running on 10.5 or later, the deployment target defaults
8643 <      # to the OS version, if on x86, and 10.4, the deployment
8644 <      # target defaults to 10.4. Don't you love it?
8645 <      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8646 <        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7909 <          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7910 <        10.[012][,.]*)
7911 <          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7912 <        10.*)
7913 <          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8641 >    darwin*)
8642 >      case $MACOSX_DEPLOYMENT_TARGET,$host in
8643 >        10.[012],*|,*powerpc*-darwin[5-8]*)
8644 >          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8645 >        *)
8646 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8647        esac
8648      ;;
8649    esac
# Line 7965 | Line 8698 | func_munge_path_list ()
8698      esac
8699   }
8700  
8701 < ac_ext=c
8702 < ac_cpp='$CPP $CPPFLAGS'
7970 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7971 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7972 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7973 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7974 < $as_echo_n "checking how to run the C preprocessor... " >&6; }
7975 < # On Suns, sometimes $CPP names a directory.
7976 < if test -n "$CPP" && test -d "$CPP"; then
7977 <  CPP=
7978 < fi
7979 < if test -z "$CPP"; then
7980 <  if ${ac_cv_prog_CPP+:} false; then :
7981 <  $as_echo_n "(cached) " >&6
7982 < else
7983 <      # Double quotes because CPP needs to be expanded
7984 <    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7985 <    do
7986 <      ac_preproc_ok=false
7987 < for ac_c_preproc_warn_flag in '' yes
8701 > ac_header= ac_cache=
8702 > for ac_item in $ac_header_c_list
8703   do
8704 <  # Use a header file that comes with gcc, so configuring glibc
8705 <  # with a fresh cross-compiler works.
8706 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8707 <  # <limits.h> exists even on freestanding compilers.
8708 <  # On the NeXT, cc -E runs the code through the compiler's parser,
8709 <  # not just through cpp. "Syntax error" is here to catch this case.
8710 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 < /* end confdefs.h.  */
8712 < #ifdef __STDC__
8713 < # include <limits.h>
8714 < #else
8000 < # include <assert.h>
8001 < #endif
8002 <                     Syntax error
8003 < _ACEOF
8004 < if ac_fn_c_try_cpp "$LINENO"; then :
8005 <
8006 < else
8007 <  # Broken: fails on valid input.
8008 < continue
8009 < fi
8010 < rm -f conftest.err conftest.i conftest.$ac_ext
8011 <
8012 <  # OK, works on sane cases.  Now check whether nonexistent headers
8013 <  # can be detected and how.
8014 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8015 < /* end confdefs.h.  */
8016 < #include <ac_nonexistent.h>
8017 < _ACEOF
8018 < if ac_fn_c_try_cpp "$LINENO"; then :
8019 <  # Broken: success on invalid input.
8020 < continue
8021 < else
8022 <  # Passes both tests.
8023 < ac_preproc_ok=:
8024 < break
8025 < fi
8026 < rm -f conftest.err conftest.i conftest.$ac_ext
8027 <
8028 < done
8029 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8030 < rm -f conftest.i conftest.err conftest.$ac_ext
8031 < if $ac_preproc_ok; then :
8032 <  break
8033 < fi
8034 <
8035 <    done
8036 <    ac_cv_prog_CPP=$CPP
8037 <
8038 < fi
8039 <  CPP=$ac_cv_prog_CPP
8040 < else
8041 <  ac_cv_prog_CPP=$CPP
8042 < fi
8043 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8044 < $as_echo "$CPP" >&6; }
8045 < ac_preproc_ok=false
8046 < for ac_c_preproc_warn_flag in '' yes
8047 < do
8048 <  # Use a header file that comes with gcc, so configuring glibc
8049 <  # with a fresh cross-compiler works.
8050 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8051 <  # <limits.h> exists even on freestanding compilers.
8052 <  # On the NeXT, cc -E runs the code through the compiler's parser,
8053 <  # not just through cpp. "Syntax error" is here to catch this case.
8054 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8055 < /* end confdefs.h.  */
8056 < #ifdef __STDC__
8057 < # include <limits.h>
8058 < #else
8059 < # include <assert.h>
8060 < #endif
8061 <                     Syntax error
8062 < _ACEOF
8063 < if ac_fn_c_try_cpp "$LINENO"; then :
8064 <
8065 < else
8066 <  # Broken: fails on valid input.
8067 < continue
8068 < fi
8069 < rm -f conftest.err conftest.i conftest.$ac_ext
8070 <
8071 <  # OK, works on sane cases.  Now check whether nonexistent headers
8072 <  # can be detected and how.
8073 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074 < /* end confdefs.h.  */
8075 < #include <ac_nonexistent.h>
8076 < _ACEOF
8077 < if ac_fn_c_try_cpp "$LINENO"; then :
8078 <  # Broken: success on invalid input.
8079 < continue
8080 < else
8081 <  # Passes both tests.
8082 < ac_preproc_ok=:
8083 < break
8084 < fi
8085 < rm -f conftest.err conftest.i conftest.$ac_ext
8086 <
8704 >  if test $ac_cache; then
8705 >    ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8706 >    if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8707 >      printf "%s\n" "#define $ac_item 1" >> confdefs.h
8708 >    fi
8709 >    ac_header= ac_cache=
8710 >  elif test $ac_header; then
8711 >    ac_cache=$ac_item
8712 >  else
8713 >    ac_header=$ac_item
8714 >  fi
8715   done
8088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8089 rm -f conftest.i conftest.err conftest.$ac_ext
8090 if $ac_preproc_ok; then :
8091
8092 else
8093  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8095 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8096 See \`config.log' for more details" "$LINENO" 5; }
8097 fi
8098
8099 ac_ext=c
8100 ac_cpp='$CPP $CPPFLAGS'
8101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8716  
8717  
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8107 $as_echo_n "checking for ANSI C header files... " >&6; }
8108 if ${ac_cv_header_stdc+:} false; then :
8109  $as_echo_n "(cached) " >&6
8110 else
8111  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8112 /* end confdefs.h.  */
8113 #include <stdlib.h>
8114 #include <stdarg.h>
8115 #include <string.h>
8116 #include <float.h>
8117
8118 int
8119 main ()
8120 {
8718  
8122  ;
8123  return 0;
8124 }
8125 _ACEOF
8126 if ac_fn_c_try_compile "$LINENO"; then :
8127  ac_cv_header_stdc=yes
8128 else
8129  ac_cv_header_stdc=no
8130 fi
8131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8719  
8133 if test $ac_cv_header_stdc = yes; then
8134  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8135  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8136 /* end confdefs.h.  */
8137 #include <string.h>
8720  
8139 _ACEOF
8140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8141  $EGREP "memchr" >/dev/null 2>&1; then :
8142
8143 else
8144  ac_cv_header_stdc=no
8145 fi
8146 rm -f conftest*
8147
8148 fi
8149
8150 if test $ac_cv_header_stdc = yes; then
8151  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8152  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8153 /* end confdefs.h.  */
8154 #include <stdlib.h>
8155
8156 _ACEOF
8157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8158  $EGREP "free" >/dev/null 2>&1; then :
8159
8160 else
8161  ac_cv_header_stdc=no
8162 fi
8163 rm -f conftest*
8164
8165 fi
8166
8167 if test $ac_cv_header_stdc = yes; then
8168  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8169  if test "$cross_compiling" = yes; then :
8170  :
8171 else
8172  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8173 /* end confdefs.h.  */
8174 #include <ctype.h>
8175 #include <stdlib.h>
8176 #if ((' ' & 0x0FF) == 0x020)
8177 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8178 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8179 #else
8180 # define ISLOWER(c) \
8181                   (('a' <= (c) && (c) <= 'i') \
8182                     || ('j' <= (c) && (c) <= 'r') \
8183                     || ('s' <= (c) && (c) <= 'z'))
8184 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8185 #endif
8186
8187 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8188 int
8189 main ()
8190 {
8191  int i;
8192  for (i = 0; i < 256; i++)
8193    if (XOR (islower (i), ISLOWER (i))
8194        || toupper (i) != TOUPPER (i))
8195      return 2;
8196  return 0;
8197 }
8198 _ACEOF
8199 if ac_fn_c_try_run "$LINENO"; then :
8200
8201 else
8202  ac_cv_header_stdc=no
8203 fi
8204 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8205  conftest.$ac_objext conftest.beam conftest.$ac_ext
8206 fi
8721  
8208 fi
8209 fi
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8211 $as_echo "$ac_cv_header_stdc" >&6; }
8212 if test $ac_cv_header_stdc = yes; then
8722  
8214 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8723  
8724 < fi
8724 > if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8725 > then :
8726  
8727 < # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8219 < for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8220 <                  inttypes.h stdint.h unistd.h
8221 < do :
8222 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8223 < ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8224 < "
8225 < if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8226 <  cat >>confdefs.h <<_ACEOF
8227 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8228 < _ACEOF
8727 > printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8728  
8729   fi
8730 <
8232 < done
8233 <
8234 <
8235 < for ac_header in dlfcn.h
8236 < do :
8237 <  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8730 > ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8731   "
8732 < if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8733 <  cat >>confdefs.h <<_ACEOF
8734 < #define HAVE_DLFCN_H 1
8242 < _ACEOF
8732 > if test "x$ac_cv_header_dlfcn_h" = xyes
8733 > then :
8734 >  printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8735  
8736   fi
8737  
8246 done
8247
8738  
8739  
8740  
# Line 8252 | Line 8742 | done
8742   # Set options
8743   enable_dlopen=yes
8744   # Check whether --enable-static was given.
8745 < if test "${enable_static+set}" = set; then :
8745 > if test ${enable_static+y}
8746 > then :
8747    enableval=$enable_static; p=${PACKAGE-default}
8748      case $enableval in
8749      yes) enable_static=yes ;;
# Line 8270 | Line 8761 | if test "${enable_static+set}" = set; th
8761        IFS=$lt_save_ifs
8762        ;;
8763      esac
8764 < else
8764 > else $as_nop
8765    enable_static=no
8766   fi
8767  
# Line 8288 | Line 8779 | fi
8779  
8780  
8781              # Check whether --enable-shared was given.
8782 < if test "${enable_shared+set}" = set; then :
8782 > if test ${enable_shared+y}
8783 > then :
8784    enableval=$enable_shared; p=${PACKAGE-default}
8785      case $enableval in
8786      yes) enable_shared=yes ;;
# Line 8306 | Line 8798 | if test "${enable_shared+set}" = set; th
8798        IFS=$lt_save_ifs
8799        ;;
8800      esac
8801 < else
8801 > else $as_nop
8802    enable_shared=yes
8803   fi
8804  
# Line 8321 | Line 8813 | fi
8813  
8814  
8815   # Check whether --with-pic was given.
8816 < if test "${with_pic+set}" = set; then :
8816 > if test ${with_pic+y}
8817 > then :
8818    withval=$with_pic; lt_p=${PACKAGE-default}
8819      case $withval in
8820      yes|no) pic_mode=$withval ;;
# Line 8338 | Line 8831 | if test "${with_pic+set}" = set; then :
8831        IFS=$lt_save_ifs
8832        ;;
8833      esac
8834 < else
8834 > else $as_nop
8835    pic_mode=default
8836   fi
8837  
# Line 8350 | Line 8843 | fi
8843  
8844  
8845    # Check whether --enable-fast-install was given.
8846 < if test "${enable_fast_install+set}" = set; then :
8846 > if test ${enable_fast_install+y}
8847 > then :
8848    enableval=$enable_fast_install; p=${PACKAGE-default}
8849      case $enableval in
8850      yes) enable_fast_install=yes ;;
# Line 8368 | Line 8862 | if test "${enable_fast_install+set}" = s
8862        IFS=$lt_save_ifs
8863        ;;
8864      esac
8865 < else
8865 > else $as_nop
8866    enable_fast_install=yes
8867   fi
8868  
# Line 8382 | Line 8876 | fi
8876    shared_archive_member_spec=
8877   case $host,$enable_shared in
8878   power*-*-aix[5-9]*,yes)
8879 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8880 < $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8879 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8880 > printf %s "checking which variant of shared library versioning to provide... " >&6; }
8881  
8882   # Check whether --with-aix-soname was given.
8883 < if test "${with_aix_soname+set}" = set; then :
8883 > if test ${with_aix_soname+y}
8884 > then :
8885    withval=$with_aix_soname; case $withval in
8886      aix|svr4|both)
8887        ;;
# Line 8395 | Line 8890 | if test "${with_aix_soname+set}" = set;
8890        ;;
8891      esac
8892      lt_cv_with_aix_soname=$with_aix_soname
8893 < else
8894 <  if ${lt_cv_with_aix_soname+:} false; then :
8895 <  $as_echo_n "(cached) " >&6
8896 < else
8893 > else $as_nop
8894 >  if test ${lt_cv_with_aix_soname+y}
8895 > then :
8896 >  printf %s "(cached) " >&6
8897 > else $as_nop
8898    lt_cv_with_aix_soname=aix
8899   fi
8900  
8901      with_aix_soname=$lt_cv_with_aix_soname
8902   fi
8903  
8904 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8905 < $as_echo "$with_aix_soname" >&6; }
8904 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8905 > printf "%s\n" "$with_aix_soname" >&6; }
8906    if test aix != "$with_aix_soname"; then
8907      # For the AIX way of multilib, we name the shared archive member
8908      # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
# Line 8488 | Line 8984 | if test -n "${ZSH_VERSION+set}"; then
8984     setopt NO_GLOB_SUBST
8985   fi
8986  
8987 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8988 < $as_echo_n "checking for objdir... " >&6; }
8989 < if ${lt_cv_objdir+:} false; then :
8990 <  $as_echo_n "(cached) " >&6
8991 < else
8987 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8988 > printf %s "checking for objdir... " >&6; }
8989 > if test ${lt_cv_objdir+y}
8990 > then :
8991 >  printf %s "(cached) " >&6
8992 > else $as_nop
8993    rm -f .libs 2>/dev/null
8994   mkdir .libs 2>/dev/null
8995   if test -d .libs; then
# Line 8503 | Line 9000 | else
9000   fi
9001   rmdir .libs 2>/dev/null
9002   fi
9003 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9004 < $as_echo "$lt_cv_objdir" >&6; }
9003 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9004 > printf "%s\n" "$lt_cv_objdir" >&6; }
9005   objdir=$lt_cv_objdir
9006  
9007  
9008  
9009  
9010  
9011 < cat >>confdefs.h <<_ACEOF
8515 < #define LT_OBJDIR "$lt_cv_objdir/"
8516 < _ACEOF
9011 > printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
9012  
9013  
9014  
# Line 8534 | Line 9029 | esac
9029   ofile=libtool
9030   can_build_shared=yes
9031  
9032 < # All known linkers require a '.a' archive for static linking (except MSVC,
9033 < # which needs '.lib').
9032 > # All known linkers require a '.a' archive for static linking (except MSVC and
9033 > # ICC, which need '.lib').
9034   libext=a
9035  
9036   with_gnu_ld=$lt_cv_prog_gnu_ld
# Line 8559 | Line 9054 | test -z "$MAGIC_CMD" && MAGIC_CMD=file
9054   case $deplibs_check_method in
9055   file_magic*)
9056    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9057 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9058 < $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9059 < if ${lt_cv_path_MAGIC_CMD+:} false; then :
9060 <  $as_echo_n "(cached) " >&6
9061 < else
9057 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9058 > printf %s "checking for ${ac_tool_prefix}file... " >&6; }
9059 > if test ${lt_cv_path_MAGIC_CMD+y}
9060 > then :
9061 >  printf %s "(cached) " >&6
9062 > else $as_nop
9063    case $MAGIC_CMD in
9064   [\\/*] |  ?:[\\/]*)
9065    lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
# Line 8612 | Line 9108 | fi
9108  
9109   MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9110   if test -n "$MAGIC_CMD"; then
9111 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9112 < $as_echo "$MAGIC_CMD" >&6; }
9111 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9112 > printf "%s\n" "$MAGIC_CMD" >&6; }
9113   else
9114 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9115 < $as_echo "no" >&6; }
9114 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9115 > printf "%s\n" "no" >&6; }
9116   fi
9117  
9118  
# Line 8625 | Line 9121 | fi
9121  
9122   if test -z "$lt_cv_path_MAGIC_CMD"; then
9123    if test -n "$ac_tool_prefix"; then
9124 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9125 < $as_echo_n "checking for file... " >&6; }
9126 < if ${lt_cv_path_MAGIC_CMD+:} false; then :
9127 <  $as_echo_n "(cached) " >&6
9128 < else
9124 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9125 > printf %s "checking for file... " >&6; }
9126 > if test ${lt_cv_path_MAGIC_CMD+y}
9127 > then :
9128 >  printf %s "(cached) " >&6
9129 > else $as_nop
9130    case $MAGIC_CMD in
9131   [\\/*] |  ?:[\\/]*)
9132    lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
# Line 8678 | Line 9175 | fi
9175  
9176   MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9177   if test -n "$MAGIC_CMD"; then
9178 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9179 < $as_echo "$MAGIC_CMD" >&6; }
9178 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9179 > printf "%s\n" "$MAGIC_CMD" >&6; }
9180   else
9181 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9182 < $as_echo "no" >&6; }
9181 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9182 > printf "%s\n" "no" >&6; }
9183   fi
9184  
9185  
# Line 8767 | Line 9264 | if test yes = "$GCC"; then
9264      lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9265    esac
9266  
9267 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9268 < $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9269 < if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9270 <  $as_echo_n "(cached) " >&6
9271 < else
9267 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9268 > printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9269 > if test ${lt_cv_prog_compiler_rtti_exceptions+y}
9270 > then :
9271 >  printf %s "(cached) " >&6
9272 > else $as_nop
9273    lt_cv_prog_compiler_rtti_exceptions=no
9274     ac_outfile=conftest.$ac_objext
9275     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
# Line 8802 | Line 9300 | else
9300     $RM conftest*
9301  
9302   fi
9303 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9304 < $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9303 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9304 > printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9305  
9306   if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9307      lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
# Line 9000 | Line 9498 | lt_prog_compiler_static=
9498          lt_prog_compiler_pic='-KPIC'
9499          lt_prog_compiler_static='-static'
9500          ;;
9003      # flang / f18. f95 an alias for gfortran or flang on Debian
9004      flang* | f18* | f95*)
9005        lt_prog_compiler_wl='-Wl,'
9006        lt_prog_compiler_pic='-fPIC'
9007        lt_prog_compiler_static='-static'
9008        ;;
9501        # icc used to be incompatible with GCC.
9502        # ICC 10 doesn't accept -KPIC any more.
9503        icc* | ifort*)
# Line 9050 | Line 9542 | lt_prog_compiler_static=
9542          lt_prog_compiler_static='-qstaticlink'
9543          ;;
9544        *)
9545 <        case `$CC -V 2>&1 | sed 5q` in
9545 >        case `$CC -V 2>&1 | $SED 5q` in
9546          *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9547            # Sun Fortran 8.3 passes all unrecognized flags to the linker
9548            lt_prog_compiler_pic='-KPIC'
# Line 9166 | Line 9658 | case $host_os in
9658      ;;
9659   esac
9660  
9661 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9662 < $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9663 < if ${lt_cv_prog_compiler_pic+:} false; then :
9664 <  $as_echo_n "(cached) " >&6
9665 < else
9661 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9662 > printf %s "checking for $compiler option to produce PIC... " >&6; }
9663 > if test ${lt_cv_prog_compiler_pic+y}
9664 > then :
9665 >  printf %s "(cached) " >&6
9666 > else $as_nop
9667    lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9668   fi
9669 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9670 < $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9669 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9670 > printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
9671   lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9672  
9673   #
9674   # Check to make sure the PIC flag actually works.
9675   #
9676   if test -n "$lt_prog_compiler_pic"; then
9677 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9678 < $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9679 < if ${lt_cv_prog_compiler_pic_works+:} false; then :
9680 <  $as_echo_n "(cached) " >&6
9681 < else
9677 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9678 > printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9679 > if test ${lt_cv_prog_compiler_pic_works+y}
9680 > then :
9681 >  printf %s "(cached) " >&6
9682 > else $as_nop
9683    lt_cv_prog_compiler_pic_works=no
9684     ac_outfile=conftest.$ac_objext
9685     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
# Line 9216 | Line 9710 | else
9710     $RM conftest*
9711  
9712   fi
9713 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9714 < $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9713 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9714 > printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
9715  
9716   if test yes = "$lt_cv_prog_compiler_pic_works"; then
9717      case $lt_prog_compiler_pic in
# Line 9245 | Line 9739 | fi
9739   # Check to make sure the static flag actually works.
9740   #
9741   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9742 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9743 < $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9744 < if ${lt_cv_prog_compiler_static_works+:} false; then :
9745 <  $as_echo_n "(cached) " >&6
9746 < else
9742 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9743 > printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9744 > if test ${lt_cv_prog_compiler_static_works+y}
9745 > then :
9746 >  printf %s "(cached) " >&6
9747 > else $as_nop
9748    lt_cv_prog_compiler_static_works=no
9749     save_LDFLAGS=$LDFLAGS
9750     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
# Line 9273 | Line 9768 | else
9768     LDFLAGS=$save_LDFLAGS
9769  
9770   fi
9771 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9772 < $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9771 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9772 > printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
9773  
9774   if test yes = "$lt_cv_prog_compiler_static_works"; then
9775      :
# Line 9288 | Line 9783 | fi
9783  
9784  
9785  
9786 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9787 < $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9788 < if ${lt_cv_prog_compiler_c_o+:} false; then :
9789 <  $as_echo_n "(cached) " >&6
9790 < else
9786 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9787 > printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9788 > if test ${lt_cv_prog_compiler_c_o+y}
9789 > then :
9790 >  printf %s "(cached) " >&6
9791 > else $as_nop
9792    lt_cv_prog_compiler_c_o=no
9793     $RM -r conftest 2>/dev/null
9794     mkdir conftest
# Line 9335 | Line 9831 | else
9831     $RM conftest*
9832  
9833   fi
9834 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9835 < $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9834 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9835 > printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9836  
9837  
9838  
9839  
9840  
9841  
9842 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9843 < $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9844 < if ${lt_cv_prog_compiler_c_o+:} false; then :
9845 <  $as_echo_n "(cached) " >&6
9846 < else
9842 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9843 > printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9844 > if test ${lt_cv_prog_compiler_c_o+y}
9845 > then :
9846 >  printf %s "(cached) " >&6
9847 > else $as_nop
9848    lt_cv_prog_compiler_c_o=no
9849     $RM -r conftest 2>/dev/null
9850     mkdir conftest
# Line 9390 | Line 9887 | else
9887     $RM conftest*
9888  
9889   fi
9890 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9891 < $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9890 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9891 > printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9892  
9893  
9894  
# Line 9399 | Line 9896 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9896   hard_links=nottested
9897   if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9898    # do not overwrite the value of need_locks provided by the user
9899 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9900 < $as_echo_n "checking if we can lock with hard links... " >&6; }
9899 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9900 > printf %s "checking if we can lock with hard links... " >&6; }
9901    hard_links=yes
9902    $RM conftest*
9903    ln conftest.a conftest.b 2>/dev/null && hard_links=no
9904    touch conftest.a
9905    ln conftest.a conftest.b 2>&5 || hard_links=no
9906    ln conftest.a conftest.b 2>/dev/null && hard_links=no
9907 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9908 < $as_echo "$hard_links" >&6; }
9907 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9908 > printf "%s\n" "$hard_links" >&6; }
9909    if test no = "$hard_links"; then
9910 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9911 < $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9910 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9911 > printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9912      need_locks=warn
9913    fi
9914   else
# Line 9423 | Line 9920 | fi
9920  
9921  
9922  
9923 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9924 < $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9923 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9924 > printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9925  
9926    runpath_var=
9927    allow_undefined_flag=
# Line 9468 | Line 9965 | $as_echo_n "checking whether the $compil
9965  
9966    case $host_os in
9967    cygwin* | mingw* | pw32* | cegcc*)
9968 <    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9968 >    # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
9969      # When not using gcc, we currently assume that we are using
9970 <    # Microsoft Visual C++.
9970 >    # Microsoft Visual C++ or Intel C++ Compiler.
9971      if test yes != "$GCC"; then
9972        with_gnu_ld=no
9973      fi
9974      ;;
9975    interix*)
9976 <    # we just hope/assume this is gcc and not c89 (= MSVC++)
9976 >    # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
9977      with_gnu_ld=yes
9978      ;;
9979    openbsd* | bitrig*)
9980      with_gnu_ld=no
9981      ;;
9485  linux* | k*bsd*-gnu | gnu*)
9486    link_all_deplibs=no
9487    ;;
9982    esac
9983  
9984    ld_shlibs=yes
# Line 9531 | Line 10025 | $as_echo_n "checking whether the $compil
10025        whole_archive_flag_spec=
10026      fi
10027      supports_anon_versioning=no
10028 <    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10028 >    case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
10029        *GNU\ gold*) supports_anon_versioning=yes ;;
10030        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10031        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
# Line 9643 | Line 10137 | _LT_EOF
10137          emximp -o $lib $output_objdir/$libname.def'
10138        old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10139        enable_shared_with_static_runtimes=yes
10140 +      file_list_spec='@'
10141        ;;
10142  
10143      interix[3-9]*)
# Line 9657 | Line 10152 | _LT_EOF
10152        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10153        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10154        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10155 <      archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10155 >      archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10156        ;;
10157  
10158      gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
# Line 9700 | Line 10195 | _LT_EOF
10195            compiler_needs_object=yes
10196            ;;
10197          esac
10198 <        case `$CC -V 2>&1 | sed 5q` in
10198 >        case `$CC -V 2>&1 | $SED 5q` in
10199          *Sun\ C*)                       # Sun C 5.9
10200            whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10201            compiler_needs_object=yes
# Line 9712 | Line 10207 | _LT_EOF
10207  
10208          if test yes = "$supports_anon_versioning"; then
10209            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10210 <            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10210 >            cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10211              echo "local: *; };" >> $output_objdir/$libname.ver~
10212              $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10213          fi
# Line 9728 | Line 10223 | _LT_EOF
10223            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10224            if test yes = "$supports_anon_versioning"; then
10225              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10226 <              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10226 >              cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10227                echo "local: *; };" >> $output_objdir/$libname.ver~
10228                $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10229            fi
# Line 9739 | Line 10234 | _LT_EOF
10234        fi
10235        ;;
10236  
10237 <    netbsd* | netbsdelf*-gnu)
10237 >    netbsd*)
10238        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10239          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10240          wlarc=
# Line 9860 | Line 10355 | _LT_EOF
10355          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10356            export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10357          else
10358 <          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10358 >          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10359          fi
10360          aix_use_runtimelinking=no
10361  
# Line 9982 | Line 10477 | _LT_EOF
10477          if test set = "${lt_cv_aix_libpath+set}"; then
10478    aix_libpath=$lt_cv_aix_libpath
10479   else
10480 <  if ${lt_cv_aix_libpath_+:} false; then :
10481 <  $as_echo_n "(cached) " >&6
10482 < else
10480 >  if test ${lt_cv_aix_libpath_+y}
10481 > then :
10482 >  printf %s "(cached) " >&6
10483 > else $as_nop
10484    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10485   /* end confdefs.h.  */
10486  
10487   int
10488 < main ()
10488 > main (void)
10489   {
10490  
10491    ;
10492    return 0;
10493   }
10494   _ACEOF
10495 < if ac_fn_c_try_link "$LINENO"; then :
10495 > if ac_fn_c_try_link "$LINENO"
10496 > then :
10497  
10498    lt_aix_libpath_sed='
10499        /Import File Strings/,/^$/ {
# Line 10011 | Line 10508 | if ac_fn_c_try_link "$LINENO"; then :
10508      lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10509    fi
10510   fi
10511 < rm -f core conftest.err conftest.$ac_objext \
10511 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
10512      conftest$ac_exeext conftest.$ac_ext
10513    if test -z "$lt_cv_aix_libpath_"; then
10514      lt_cv_aix_libpath_=/usr/lib:/lib
# Line 10035 | Line 10532 | fi
10532           if test set = "${lt_cv_aix_libpath+set}"; then
10533    aix_libpath=$lt_cv_aix_libpath
10534   else
10535 <  if ${lt_cv_aix_libpath_+:} false; then :
10536 <  $as_echo_n "(cached) " >&6
10537 < else
10535 >  if test ${lt_cv_aix_libpath_+y}
10536 > then :
10537 >  printf %s "(cached) " >&6
10538 > else $as_nop
10539    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10540   /* end confdefs.h.  */
10541  
10542   int
10543 < main ()
10543 > main (void)
10544   {
10545  
10546    ;
10547    return 0;
10548   }
10549   _ACEOF
10550 < if ac_fn_c_try_link "$LINENO"; then :
10550 > if ac_fn_c_try_link "$LINENO"
10551 > then :
10552  
10553    lt_aix_libpath_sed='
10554        /Import File Strings/,/^$/ {
# Line 10064 | Line 10563 | if ac_fn_c_try_link "$LINENO"; then :
10563      lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10564    fi
10565   fi
10566 < rm -f core conftest.err conftest.$ac_objext \
10566 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
10567      conftest$ac_exeext conftest.$ac_ext
10568    if test -z "$lt_cv_aix_libpath_"; then
10569      lt_cv_aix_libpath_=/usr/lib:/lib
# Line 10127 | Line 10626 | fi
10626  
10627      cygwin* | mingw* | pw32* | cegcc*)
10628        # When not using gcc, we currently assume that we are using
10629 <      # Microsoft Visual C++.
10629 >      # Microsoft Visual C++ or Intel C++ Compiler.
10630        # hardcode_libdir_flag_spec is actually meaningless, as there is
10631        # no search path for DLLs.
10632        case $cc_basename in
10633 <      cl*)
10634 <        # Native MSVC
10633 >      cl* | icl*)
10634 >        # Native MSVC or ICC
10635          hardcode_libdir_flag_spec=' '
10636          allow_undefined_flag=unsupported
10637          always_export_symbols=yes
# Line 10173 | Line 10672 | fi
10672            fi'
10673          ;;
10674        *)
10675 <        # Assume MSVC wrapper
10675 >        # Assume MSVC and ICC wrapper
10676          hardcode_libdir_flag_spec=' '
10677          allow_undefined_flag=unsupported
10678          # Tell ltmain to make .lib files, not .a files.
# Line 10214 | Line 10713 | fi
10713      output_verbose_link_cmd=func_echo_all
10714      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10715      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10716 <    archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
10717 <    module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
10716 >    archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
10717 >    module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
10718  
10719    else
10720    ld_shlibs=no
# Line 10249 | Line 10748 | fi
10748        ;;
10749  
10750      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10751 <    freebsd* | dragonfly*)
10751 >    freebsd* | dragonfly* | midnightbsd*)
10752        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10753        hardcode_libdir_flag_spec='-R$libdir'
10754        hardcode_direct=yes
# Line 10315 | Line 10814 | fi
10814  
10815            # Older versions of the 11.00 compiler do not understand -b yet
10816            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10817 <          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10818 < $as_echo_n "checking if $CC understands -b... " >&6; }
10819 < if ${lt_cv_prog_compiler__b+:} false; then :
10820 <  $as_echo_n "(cached) " >&6
10821 < else
10817 >          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10818 > printf %s "checking if $CC understands -b... " >&6; }
10819 > if test ${lt_cv_prog_compiler__b+y}
10820 > then :
10821 >  printf %s "(cached) " >&6
10822 > else $as_nop
10823    lt_cv_prog_compiler__b=no
10824     save_LDFLAGS=$LDFLAGS
10825     LDFLAGS="$LDFLAGS -b"
# Line 10343 | Line 10843 | else
10843     LDFLAGS=$save_LDFLAGS
10844  
10845   fi
10846 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10847 < $as_echo "$lt_cv_prog_compiler__b" >&6; }
10846 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10847 > printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
10848  
10849   if test yes = "$lt_cv_prog_compiler__b"; then
10850      archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
# Line 10384 | Line 10884 | fi
10884          # work, assume that -exports_file does not work either and
10885          # implicitly export all symbols.
10886          # This should be the same for all languages, so no per-tag cache variable.
10887 <        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10888 < $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10889 < if ${lt_cv_irix_exported_symbol+:} false; then :
10890 <  $as_echo_n "(cached) " >&6
10891 < else
10887 >        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10888 > printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10889 > if test ${lt_cv_irix_exported_symbol+y}
10890 > then :
10891 >  printf %s "(cached) " >&6
10892 > else $as_nop
10893    save_LDFLAGS=$LDFLAGS
10894             LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10895             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896   /* end confdefs.h.  */
10897   int foo (void) { return 0; }
10898   _ACEOF
10899 < if ac_fn_c_try_link "$LINENO"; then :
10899 > if ac_fn_c_try_link "$LINENO"
10900 > then :
10901    lt_cv_irix_exported_symbol=yes
10902 < else
10902 > else $as_nop
10903    lt_cv_irix_exported_symbol=no
10904   fi
10905 < rm -f core conftest.err conftest.$ac_objext \
10905 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
10906      conftest$ac_exeext conftest.$ac_ext
10907             LDFLAGS=$save_LDFLAGS
10908   fi
10909 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10910 < $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10909 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10910 > printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
10911          if test yes = "$lt_cv_irix_exported_symbol"; then
10912            archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
10913          fi
10412        link_all_deplibs=no
10914        else
10915          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10916          archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
# Line 10431 | Line 10932 | $as_echo "$lt_cv_irix_exported_symbol" >
10932        esac
10933        ;;
10934  
10935 <    netbsd* | netbsdelf*-gnu)
10935 >    netbsd*)
10936        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10937          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10938        else
# Line 10498 | Line 10999 | $as_echo "$lt_cv_irix_exported_symbol" >
10999          emximp -o $lib $output_objdir/$libname.def'
11000        old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11001        enable_shared_with_static_runtimes=yes
11002 +      file_list_spec='@'
11003        ;;
11004  
11005      osf3*)
# Line 10686 | Line 11188 | $as_echo "$lt_cv_irix_exported_symbol" >
11188      fi
11189    fi
11190  
11191 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11192 < $as_echo "$ld_shlibs" >&6; }
11191 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11192 > printf "%s\n" "$ld_shlibs" >&6; }
11193   test no = "$ld_shlibs" && can_build_shared=no
11194  
11195   with_gnu_ld=$with_gnu_ld
# Line 10723 | Line 11225 | x|xyes)
11225        # Test whether the compiler implicitly links with -lc since on some
11226        # systems, -lgcc has to come before -lc. If gcc already passes -lc
11227        # to ld, don't add -lc before -lgcc.
11228 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11229 < $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11230 < if ${lt_cv_archive_cmds_need_lc+:} false; then :
11231 <  $as_echo_n "(cached) " >&6
11232 < else
11228 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11229 > printf %s "checking whether -lc should be explicitly linked in... " >&6; }
11230 > if test ${lt_cv_archive_cmds_need_lc+y}
11231 > then :
11232 >  printf %s "(cached) " >&6
11233 > else $as_nop
11234    $RM conftest*
11235          echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11236  
11237          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11238    (eval $ac_compile) 2>&5
11239    ac_status=$?
11240 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11240 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11241    test $ac_status = 0; } 2>conftest.err; then
11242            soname=conftest
11243            lib=conftest
# Line 10752 | Line 11255 | else
11255            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11256    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11257    ac_status=$?
11258 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11258 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11259    test $ac_status = 0; }
11260            then
11261              lt_cv_archive_cmds_need_lc=no
# Line 10766 | Line 11269 | else
11269          $RM conftest*
11270  
11271   fi
11272 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11273 < $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11272 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11273 > printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
11274        archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11275        ;;
11276      esac
# Line 10926 | Line 11429 | esac
11429  
11430  
11431  
11432 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11433 < $as_echo_n "checking dynamic linker characteristics... " >&6; }
11432 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11433 > printf %s "checking dynamic linker characteristics... " >&6; }
11434  
11435   if test yes = "$GCC"; then
11436    case $host_os in
# Line 11189 | Line 11692 | cygwin* | mingw* | pw32* | cegcc*)
11692      case $host_os in
11693      cygwin*)
11694        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11695 <      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11695 >      soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11696  
11697        sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11698        ;;
# Line 11199 | Line 11702 | cygwin* | mingw* | pw32* | cegcc*)
11702        ;;
11703      pw32*)
11704        # pw32 DLLs use 'pw' prefix rather than 'lib'
11705 <      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11705 >      library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11706        ;;
11707      esac
11708      dynamic_linker='Win32 ld.exe'
11709      ;;
11710  
11711 <  *,cl*)
11712 <    # Native MSVC
11711 >  *,cl* | *,icl*)
11712 >    # Native MSVC or ICC
11713      libname_spec='$name'
11714      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11715      library_names_spec='$libname.dll.lib'
# Line 11225 | Line 11728 | cygwin* | mingw* | pw32* | cegcc*)
11728        done
11729        IFS=$lt_save_ifs
11730        # Convert to MSYS style.
11731 <      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11731 >      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11732        ;;
11733      cygwin*)
11734        # Convert to unix form, then to dos form, then back to unix form
# Line 11262 | Line 11765 | cygwin* | mingw* | pw32* | cegcc*)
11765      ;;
11766  
11767    *)
11768 <    # Assume MSVC wrapper
11768 >    # Assume MSVC and ICC wrapper
11769      library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11770      dynamic_linker='Win32 ld.exe'
11771      ;;
# Line 11295 | Line 11798 | dgux*)
11798    shlibpath_var=LD_LIBRARY_PATH
11799    ;;
11800  
11801 < freebsd* | dragonfly*)
11801 > freebsd* | dragonfly* | midnightbsd*)
11802    # DragonFly does not have aout.  When/if they implement a new
11803    # versioning mechanism, adjust this.
11804    if test -x /usr/bin/objformat; then
# Line 11488 | Line 11991 | linux* | k*bsd*-gnu | kopensolaris*-gnu
11991    shlibpath_overrides_runpath=no
11992  
11993    # Some binutils ld are patched to set DT_RUNPATH
11994 <  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11995 <  $as_echo_n "(cached) " >&6
11996 < else
11994 >  if test ${lt_cv_shlibpath_overrides_runpath+y}
11995 > then :
11996 >  printf %s "(cached) " >&6
11997 > else $as_nop
11998    lt_cv_shlibpath_overrides_runpath=no
11999      save_LDFLAGS=$LDFLAGS
12000      save_libdir=$libdir
# Line 11500 | Line 12004 | else
12004   /* end confdefs.h.  */
12005  
12006   int
12007 < main ()
12007 > main (void)
12008   {
12009  
12010    ;
12011    return 0;
12012   }
12013   _ACEOF
12014 < if ac_fn_c_try_link "$LINENO"; then :
12015 <  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12014 > if ac_fn_c_try_link "$LINENO"
12015 > then :
12016 >  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
12017 > then :
12018    lt_cv_shlibpath_overrides_runpath=yes
12019   fi
12020   fi
12021 < rm -f core conftest.err conftest.$ac_objext \
12021 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
12022      conftest$ac_exeext conftest.$ac_ext
12023      LDFLAGS=$save_LDFLAGS
12024      libdir=$save_libdir
# Line 11546 | Line 12052 | fi
12052    dynamic_linker='GNU/Linux ld.so'
12053    ;;
12054  
11549 netbsdelf*-gnu)
11550  version_type=linux
11551  need_lib_prefix=no
11552  need_version=no
11553  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11554  soname_spec='${libname}${release}${shared_ext}$major'
11555  shlibpath_var=LD_LIBRARY_PATH
11556  shlibpath_overrides_runpath=no
11557  hardcode_into_libs=yes
11558  dynamic_linker='NetBSD ld.elf_so'
11559  ;;
11560
12055   netbsd*)
12056    version_type=sunos
12057    need_lib_prefix=no
# Line 11756 | Line 12250 | uts4*)
12250    dynamic_linker=no
12251    ;;
12252   esac
12253 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12254 < $as_echo "$dynamic_linker" >&6; }
12253 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12254 > printf "%s\n" "$dynamic_linker" >&6; }
12255   test no = "$dynamic_linker" && can_build_shared=no
12256  
12257   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
# Line 11878 | Line 12372 | configure_time_lt_sys_library_path=$LT_S
12372  
12373  
12374  
12375 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12376 < $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12375 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12376 > printf %s "checking how to hardcode library paths into programs... " >&6; }
12377   hardcode_action=
12378   if test -n "$hardcode_libdir_flag_spec" ||
12379     test -n "$runpath_var" ||
# Line 11903 | Line 12397 | else
12397    # directories.
12398    hardcode_action=unsupported
12399   fi
12400 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12401 < $as_echo "$hardcode_action" >&6; }
12400 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12401 > printf "%s\n" "$hardcode_action" >&6; }
12402  
12403   if test relink = "$hardcode_action" ||
12404     test yes = "$inherit_rpath"; then
# Line 11948 | Line 12442 | else
12442  
12443    darwin*)
12444      # if libdl is installed we need to link against it
12445 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12446 < $as_echo_n "checking for dlopen in -ldl... " >&6; }
12447 < if ${ac_cv_lib_dl_dlopen+:} false; then :
12448 <  $as_echo_n "(cached) " >&6
12449 < else
12445 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12446 > printf %s "checking for dlopen in -ldl... " >&6; }
12447 > if test ${ac_cv_lib_dl_dlopen+y}
12448 > then :
12449 >  printf %s "(cached) " >&6
12450 > else $as_nop
12451    ac_check_lib_save_LIBS=$LIBS
12452   LIBS="-ldl  $LIBS"
12453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 11961 | Line 12456 | cat confdefs.h - <<_ACEOF >conftest.$ac_
12456   /* Override any GCC internal prototype to avoid an error.
12457     Use char because int might match the return type of a GCC
12458     builtin and then its argument prototype would still apply.  */
11964 #ifdef __cplusplus
11965 extern "C"
11966 #endif
12459   char dlopen ();
12460   int
12461 < main ()
12461 > main (void)
12462   {
12463   return dlopen ();
12464    ;
12465    return 0;
12466   }
12467   _ACEOF
12468 < if ac_fn_c_try_link "$LINENO"; then :
12468 > if ac_fn_c_try_link "$LINENO"
12469 > then :
12470    ac_cv_lib_dl_dlopen=yes
12471 < else
12471 > else $as_nop
12472    ac_cv_lib_dl_dlopen=no
12473   fi
12474 < rm -f core conftest.err conftest.$ac_objext \
12474 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
12475      conftest$ac_exeext conftest.$ac_ext
12476   LIBS=$ac_check_lib_save_LIBS
12477   fi
12478 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12479 < $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12480 < if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12478 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12479 > printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12480 > if test "x$ac_cv_lib_dl_dlopen" = xyes
12481 > then :
12482    lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12483 < else
12483 > else $as_nop
12484  
12485      lt_cv_dlopen=dyld
12486      lt_cv_dlopen_libs=
# Line 12006 | Line 12500 | fi
12500  
12501    *)
12502      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12503 < if test "x$ac_cv_func_shl_load" = xyes; then :
12503 > if test "x$ac_cv_func_shl_load" = xyes
12504 > then :
12505    lt_cv_dlopen=shl_load
12506 < else
12507 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12508 < $as_echo_n "checking for shl_load in -ldld... " >&6; }
12509 < if ${ac_cv_lib_dld_shl_load+:} false; then :
12510 <  $as_echo_n "(cached) " >&6
12511 < else
12506 > else $as_nop
12507 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12508 > printf %s "checking for shl_load in -ldld... " >&6; }
12509 > if test ${ac_cv_lib_dld_shl_load+y}
12510 > then :
12511 >  printf %s "(cached) " >&6
12512 > else $as_nop
12513    ac_check_lib_save_LIBS=$LIBS
12514   LIBS="-ldld  $LIBS"
12515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 12022 | Line 12518 | cat confdefs.h - <<_ACEOF >conftest.$ac_
12518   /* Override any GCC internal prototype to avoid an error.
12519     Use char because int might match the return type of a GCC
12520     builtin and then its argument prototype would still apply.  */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12521   char shl_load ();
12522   int
12523 < main ()
12523 > main (void)
12524   {
12525   return shl_load ();
12526    ;
12527    return 0;
12528   }
12529   _ACEOF
12530 < if ac_fn_c_try_link "$LINENO"; then :
12530 > if ac_fn_c_try_link "$LINENO"
12531 > then :
12532    ac_cv_lib_dld_shl_load=yes
12533 < else
12533 > else $as_nop
12534    ac_cv_lib_dld_shl_load=no
12535   fi
12536 < rm -f core conftest.err conftest.$ac_objext \
12536 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
12537      conftest$ac_exeext conftest.$ac_ext
12538   LIBS=$ac_check_lib_save_LIBS
12539   fi
12540 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12541 < $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12542 < if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12540 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12541 > printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
12542 > if test "x$ac_cv_lib_dld_shl_load" = xyes
12543 > then :
12544    lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12545 < else
12545 > else $as_nop
12546    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12547 < if test "x$ac_cv_func_dlopen" = xyes; then :
12547 > if test "x$ac_cv_func_dlopen" = xyes
12548 > then :
12549    lt_cv_dlopen=dlopen
12550 < else
12551 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12552 < $as_echo_n "checking for dlopen in -ldl... " >&6; }
12553 < if ${ac_cv_lib_dl_dlopen+:} false; then :
12554 <  $as_echo_n "(cached) " >&6
12555 < else
12550 > else $as_nop
12551 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12552 > printf %s "checking for dlopen in -ldl... " >&6; }
12553 > if test ${ac_cv_lib_dl_dlopen+y}
12554 > then :
12555 >  printf %s "(cached) " >&6
12556 > else $as_nop
12557    ac_check_lib_save_LIBS=$LIBS
12558   LIBS="-ldl  $LIBS"
12559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 12065 | Line 12562 | cat confdefs.h - <<_ACEOF >conftest.$ac_
12562   /* Override any GCC internal prototype to avoid an error.
12563     Use char because int might match the return type of a GCC
12564     builtin and then its argument prototype would still apply.  */
12068 #ifdef __cplusplus
12069 extern "C"
12070 #endif
12565   char dlopen ();
12566   int
12567 < main ()
12567 > main (void)
12568   {
12569   return dlopen ();
12570    ;
12571    return 0;
12572   }
12573   _ACEOF
12574 < if ac_fn_c_try_link "$LINENO"; then :
12574 > if ac_fn_c_try_link "$LINENO"
12575 > then :
12576    ac_cv_lib_dl_dlopen=yes
12577 < else
12577 > else $as_nop
12578    ac_cv_lib_dl_dlopen=no
12579   fi
12580 < rm -f core conftest.err conftest.$ac_objext \
12580 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
12581      conftest$ac_exeext conftest.$ac_ext
12582   LIBS=$ac_check_lib_save_LIBS
12583   fi
12584 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12585 < $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12586 < if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12584 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12585 > printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12586 > if test "x$ac_cv_lib_dl_dlopen" = xyes
12587 > then :
12588    lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12589 < else
12590 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12591 < $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12592 < if ${ac_cv_lib_svld_dlopen+:} false; then :
12593 <  $as_echo_n "(cached) " >&6
12594 < else
12589 > else $as_nop
12590 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12591 > printf %s "checking for dlopen in -lsvld... " >&6; }
12592 > if test ${ac_cv_lib_svld_dlopen+y}
12593 > then :
12594 >  printf %s "(cached) " >&6
12595 > else $as_nop
12596    ac_check_lib_save_LIBS=$LIBS
12597   LIBS="-lsvld  $LIBS"
12598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 12104 | Line 12601 | cat confdefs.h - <<_ACEOF >conftest.$ac_
12601   /* Override any GCC internal prototype to avoid an error.
12602     Use char because int might match the return type of a GCC
12603     builtin and then its argument prototype would still apply.  */
12107 #ifdef __cplusplus
12108 extern "C"
12109 #endif
12604   char dlopen ();
12605   int
12606 < main ()
12606 > main (void)
12607   {
12608   return dlopen ();
12609    ;
12610    return 0;
12611   }
12612   _ACEOF
12613 < if ac_fn_c_try_link "$LINENO"; then :
12613 > if ac_fn_c_try_link "$LINENO"
12614 > then :
12615    ac_cv_lib_svld_dlopen=yes
12616 < else
12616 > else $as_nop
12617    ac_cv_lib_svld_dlopen=no
12618   fi
12619 < rm -f core conftest.err conftest.$ac_objext \
12619 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
12620      conftest$ac_exeext conftest.$ac_ext
12621   LIBS=$ac_check_lib_save_LIBS
12622   fi
12623 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12624 < $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12625 < if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12623 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12624 > printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
12625 > if test "x$ac_cv_lib_svld_dlopen" = xyes
12626 > then :
12627    lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12628 < else
12629 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12630 < $as_echo_n "checking for dld_link in -ldld... " >&6; }
12631 < if ${ac_cv_lib_dld_dld_link+:} false; then :
12632 <  $as_echo_n "(cached) " >&6
12633 < else
12628 > else $as_nop
12629 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12630 > printf %s "checking for dld_link in -ldld... " >&6; }
12631 > if test ${ac_cv_lib_dld_dld_link+y}
12632 > then :
12633 >  printf %s "(cached) " >&6
12634 > else $as_nop
12635    ac_check_lib_save_LIBS=$LIBS
12636   LIBS="-ldld  $LIBS"
12637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 12143 | Line 12640 | cat confdefs.h - <<_ACEOF >conftest.$ac_
12640   /* Override any GCC internal prototype to avoid an error.
12641     Use char because int might match the return type of a GCC
12642     builtin and then its argument prototype would still apply.  */
12146 #ifdef __cplusplus
12147 extern "C"
12148 #endif
12643   char dld_link ();
12644   int
12645 < main ()
12645 > main (void)
12646   {
12647   return dld_link ();
12648    ;
12649    return 0;
12650   }
12651   _ACEOF
12652 < if ac_fn_c_try_link "$LINENO"; then :
12652 > if ac_fn_c_try_link "$LINENO"
12653 > then :
12654    ac_cv_lib_dld_dld_link=yes
12655 < else
12655 > else $as_nop
12656    ac_cv_lib_dld_dld_link=no
12657   fi
12658 < rm -f core conftest.err conftest.$ac_objext \
12658 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
12659      conftest$ac_exeext conftest.$ac_ext
12660   LIBS=$ac_check_lib_save_LIBS
12661   fi
12662 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12663 < $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12664 < if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12662 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12663 > printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
12664 > if test "x$ac_cv_lib_dld_dld_link" = xyes
12665 > then :
12666    lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12667   fi
12668  
# Line 12205 | Line 12701 | fi
12701      save_LIBS=$LIBS
12702      LIBS="$lt_cv_dlopen_libs $LIBS"
12703  
12704 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12705 < $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12706 < if ${lt_cv_dlopen_self+:} false; then :
12707 <  $as_echo_n "(cached) " >&6
12708 < else
12704 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12705 > printf %s "checking whether a program can dlopen itself... " >&6; }
12706 > if test ${lt_cv_dlopen_self+y}
12707 > then :
12708 >  printf %s "(cached) " >&6
12709 > else $as_nop
12710            if test yes = "$cross_compiling"; then :
12711    lt_cv_dlopen_self=cross
12712   else
# Line 12288 | Line 12785 | _LT_EOF
12785    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12786    (eval $ac_link) 2>&5
12787    ac_status=$?
12788 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12788 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12789    test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12790      (./conftest; exit; ) >&5 2>/dev/null
12791      lt_status=$?
# Line 12306 | Line 12803 | rm -fr conftest*
12803  
12804  
12805   fi
12806 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12807 < $as_echo "$lt_cv_dlopen_self" >&6; }
12806 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12807 > printf "%s\n" "$lt_cv_dlopen_self" >&6; }
12808  
12809      if test yes = "$lt_cv_dlopen_self"; then
12810        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12811 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12812 < $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12813 < if ${lt_cv_dlopen_self_static+:} false; then :
12814 <  $as_echo_n "(cached) " >&6
12815 < else
12811 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12812 > printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
12813 > if test ${lt_cv_dlopen_self_static+y}
12814 > then :
12815 >  printf %s "(cached) " >&6
12816 > else $as_nop
12817            if test yes = "$cross_compiling"; then :
12818    lt_cv_dlopen_self_static=cross
12819   else
# Line 12394 | Line 12892 | _LT_EOF
12892    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12893    (eval $ac_link) 2>&5
12894    ac_status=$?
12895 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12895 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12896    test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12897      (./conftest; exit; ) >&5 2>/dev/null
12898      lt_status=$?
# Line 12412 | Line 12910 | rm -fr conftest*
12910  
12911  
12912   fi
12913 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12914 < $as_echo "$lt_cv_dlopen_self_static" >&6; }
12913 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12914 > printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
12915      fi
12916  
12917      CPPFLAGS=$save_CPPFLAGS
# Line 12451 | Line 12949 | fi
12949  
12950   striplib=
12951   old_striplib=
12952 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12953 < $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12954 < if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12955 <  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12956 <  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12957 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12958 < $as_echo "yes" >&6; }
12959 < else
12960 < # FIXME - insert some real tests, host_os isn't really good enough
12961 <  case $host_os in
12962 <  darwin*)
12963 <    if test -n "$STRIP"; then
12952 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12953 > printf %s "checking whether stripping libraries is possible... " >&6; }
12954 > if test -z "$STRIP"; then
12955 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 > printf "%s\n" "no" >&6; }
12957 > else
12958 >  if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12959 >    old_striplib="$STRIP --strip-debug"
12960 >    striplib="$STRIP --strip-unneeded"
12961 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12962 > printf "%s\n" "yes" >&6; }
12963 >  else
12964 >    case $host_os in
12965 >    darwin*)
12966 >      # FIXME - insert some real tests, host_os isn't really good enough
12967        striplib="$STRIP -x"
12968        old_striplib="$STRIP -S"
12969 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12970 < $as_echo "yes" >&6; }
12971 <    else
12972 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12973 < $as_echo "no" >&6; }
12974 <    fi
12975 <    ;;
12976 <  *)
12977 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12978 < $as_echo "no" >&6; }
12979 <    ;;
12980 <  esac
12969 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12970 > printf "%s\n" "yes" >&6; }
12971 >      ;;
12972 >    freebsd*)
12973 >      if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
12974 >        old_striplib="$STRIP --strip-debug"
12975 >        striplib="$STRIP --strip-unneeded"
12976 >        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12977 > printf "%s\n" "yes" >&6; }
12978 >      else
12979 >        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12980 > printf "%s\n" "no" >&6; }
12981 >      fi
12982 >      ;;
12983 >    *)
12984 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12985 > printf "%s\n" "no" >&6; }
12986 >      ;;
12987 >    esac
12988 >  fi
12989   fi
12990  
12991  
# Line 12491 | Line 13000 | fi
13000  
13001  
13002    # Report what library types will actually be built
13003 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13004 < $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13005 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13006 < $as_echo "$can_build_shared" >&6; }
13003 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13004 > printf %s "checking if libtool supports shared libraries... " >&6; }
13005 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13006 > printf "%s\n" "$can_build_shared" >&6; }
13007  
13008 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13009 < $as_echo_n "checking whether to build shared libraries... " >&6; }
13008 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13009 > printf %s "checking whether to build shared libraries... " >&6; }
13010    test no = "$can_build_shared" && enable_shared=no
13011  
13012    # On AIX, shared libraries and static libraries use the same namespace, and
# Line 12521 | Line 13030 | $as_echo_n "checking whether to build sh
13030      fi
13031      ;;
13032    esac
13033 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13034 < $as_echo "$enable_shared" >&6; }
13033 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13034 > printf "%s\n" "$enable_shared" >&6; }
13035  
13036 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13037 < $as_echo_n "checking whether to build static libraries... " >&6; }
13036 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13037 > printf %s "checking whether to build static libraries... " >&6; }
13038    # Make sure either enable_shared or enable_static is yes.
13039    test yes = "$enable_shared" || enable_static=yes
13040 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13041 < $as_echo "$enable_static" >&6; }
13040 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13041 > printf "%s\n" "$enable_static" >&6; }
13042  
13043  
13044  
# Line 12565 | Line 13074 | CC=$lt_save_CC
13074   # Only expand once:
13075  
13076  
13077 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
13078 < $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
13079 < if ${libltdl_cv_shlibext+:} false; then :
13080 <  $as_echo_n "(cached) " >&6
13081 < else
13077 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
13078 > printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
13079 > if test ${ac_cv_c_undeclared_builtin_options+y}
13080 > then :
13081 >  printf %s "(cached) " >&6
13082 > else $as_nop
13083 >  ac_save_CFLAGS=$CFLAGS
13084 >   ac_cv_c_undeclared_builtin_options='cannot detect'
13085 >   for ac_arg in '' -fno-builtin; do
13086 >     CFLAGS="$ac_save_CFLAGS $ac_arg"
13087 >     # This test program should *not* compile successfully.
13088 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13089 > /* end confdefs.h.  */
13090 >
13091 > int
13092 > main (void)
13093 > {
13094 > (void) strchr;
13095 >  ;
13096 >  return 0;
13097 > }
13098 > _ACEOF
13099 > if ac_fn_c_try_compile "$LINENO"
13100 > then :
13101 >
13102 > else $as_nop
13103 >  # This test program should compile successfully.
13104 >        # No library function is consistently available on
13105 >        # freestanding implementations, so test against a dummy
13106 >        # declaration.  Include always-available headers on the
13107 >        # off chance that they somehow elicit warnings.
13108 >        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 > /* end confdefs.h.  */
13110 > #include <float.h>
13111 > #include <limits.h>
13112 > #include <stdarg.h>
13113 > #include <stddef.h>
13114 > extern void ac_decl (int, char *);
13115 >
13116 > int
13117 > main (void)
13118 > {
13119 > (void) ac_decl (0, (char *) 0);
13120 >  (void) ac_decl;
13121 >
13122 >  ;
13123 >  return 0;
13124 > }
13125 > _ACEOF
13126 > if ac_fn_c_try_compile "$LINENO"
13127 > then :
13128 >  if test x"$ac_arg" = x
13129 > then :
13130 >  ac_cv_c_undeclared_builtin_options='none needed'
13131 > else $as_nop
13132 >  ac_cv_c_undeclared_builtin_options=$ac_arg
13133 > fi
13134 >          break
13135 > fi
13136 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13137 > fi
13138 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13139 >    done
13140 >    CFLAGS=$ac_save_CFLAGS
13141 >
13142 > fi
13143 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
13144 > printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
13145 >  case $ac_cv_c_undeclared_builtin_options in #(
13146 >  'cannot detect') :
13147 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13148 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13149 > as_fn_error $? "cannot make $CC report undeclared builtins
13150 > See \`config.log' for more details" "$LINENO" 5; } ;; #(
13151 >  'none needed') :
13152 >    ac_c_undeclared_builtin_options='' ;; #(
13153 >  *) :
13154 >    ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
13155 > esac
13156 >
13157 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
13158 > printf %s "checking what extension is used for runtime loadable modules... " >&6; }
13159 > if test ${libltdl_cv_shlibext+y}
13160 > then :
13161 >  printf %s "(cached) " >&6
13162 > else $as_nop
13163  
13164   module=yes
13165   eval libltdl_cv_shlibext=$shrext_cmds
# Line 12577 | Line 13167 | module=no
13167   eval libltdl_cv_shrext=$shrext_cmds
13168  
13169   fi
13170 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
13171 < $as_echo "$libltdl_cv_shlibext" >&6; }
13170 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
13171 > printf "%s\n" "$libltdl_cv_shlibext" >&6; }
13172   if test -n "$libltdl_cv_shlibext"; then
13173  
13174 < cat >>confdefs.h <<_ACEOF
12585 < #define LT_MODULE_EXT "$libltdl_cv_shlibext"
12586 < _ACEOF
13174 > printf "%s\n" "#define LT_MODULE_EXT \"$libltdl_cv_shlibext\"" >>confdefs.h
13175  
13176   fi
13177   if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
13178  
13179 < cat >>confdefs.h <<_ACEOF
12592 < #define LT_SHARED_EXT "$libltdl_cv_shrext"
12593 < _ACEOF
13179 > printf "%s\n" "#define LT_SHARED_EXT \"$libltdl_cv_shrext\"" >>confdefs.h
13180  
13181   fi
13182   if test -n "$shared_archive_member_spec"; then
13183  
13184 < cat >>confdefs.h <<_ACEOF
12599 < #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
12600 < _ACEOF
13184 > printf "%s\n" "#define LT_SHARED_LIB_MEMBER \"($shared_archive_member_spec.o)\"" >>confdefs.h
13185  
13186   fi
13187  
13188 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
13189 < $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
13190 < if ${lt_cv_module_path_var+:} false; then :
13191 <  $as_echo_n "(cached) " >&6
13192 < else
13188 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
13189 > printf %s "checking what variable specifies run-time module search path... " >&6; }
13190 > if test ${lt_cv_module_path_var+y}
13191 > then :
13192 >  printf %s "(cached) " >&6
13193 > else $as_nop
13194    lt_cv_module_path_var=$shlibpath_var
13195   fi
13196 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
13197 < $as_echo "$lt_cv_module_path_var" >&6; }
13196 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
13197 > printf "%s\n" "$lt_cv_module_path_var" >&6; }
13198   if test -n "$lt_cv_module_path_var"; then
13199  
13200 < cat >>confdefs.h <<_ACEOF
12616 < #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
12617 < _ACEOF
13200 > printf "%s\n" "#define LT_MODULE_PATH_VAR \"$lt_cv_module_path_var\"" >>confdefs.h
13201  
13202   fi
13203  
13204 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
13205 < $as_echo_n "checking for the default library search path... " >&6; }
13206 < if ${lt_cv_sys_dlsearch_path+:} false; then :
13207 <  $as_echo_n "(cached) " >&6
13208 < else
13204 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
13205 > printf %s "checking for the default library search path... " >&6; }
13206 > if test ${lt_cv_sys_dlsearch_path+y}
13207 > then :
13208 >  printf %s "(cached) " >&6
13209 > else $as_nop
13210    lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
13211   fi
13212 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
13213 < $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
13212 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
13213 > printf "%s\n" "$lt_cv_sys_dlsearch_path" >&6; }
13214   if test -n "$lt_cv_sys_dlsearch_path"; then
13215    sys_dlsearch_path=
13216    for dir in $lt_cv_sys_dlsearch_path; do
# Line 12637 | Line 13221 | if test -n "$lt_cv_sys_dlsearch_path"; t
13221      fi
13222    done
13223  
13224 < cat >>confdefs.h <<_ACEOF
12641 < #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
12642 < _ACEOF
13224 > printf "%s\n" "#define LT_DLSEARCH_PATH \"$sys_dlsearch_path\"" >>confdefs.h
13225  
13226   fi
13227  
# Line 12656 | Line 13238 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
13238   lt_dlload_save_LIBS=$LIBS
13239  
13240   LIBADD_DLOPEN=
13241 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13242 < $as_echo_n "checking for library containing dlopen... " >&6; }
13243 < if ${ac_cv_search_dlopen+:} false; then :
13244 <  $as_echo_n "(cached) " >&6
13245 < else
13241 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13242 > printf %s "checking for library containing dlopen... " >&6; }
13243 > if test ${ac_cv_search_dlopen+y}
13244 > then :
13245 >  printf %s "(cached) " >&6
13246 > else $as_nop
13247    ac_func_search_save_LIBS=$LIBS
13248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249   /* end confdefs.h.  */
# Line 12668 | Line 13251 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13251   /* Override any GCC internal prototype to avoid an error.
13252     Use char because int might match the return type of a GCC
13253     builtin and then its argument prototype would still apply.  */
12671 #ifdef __cplusplus
12672 extern "C"
12673 #endif
13254   char dlopen ();
13255   int
13256 < main ()
13256 > main (void)
13257   {
13258   return dlopen ();
13259    ;
13260    return 0;
13261   }
13262   _ACEOF
13263 < for ac_lib in '' dl; do
13263 > for ac_lib in '' dl
13264 > do
13265    if test -z "$ac_lib"; then
13266      ac_res="none required"
13267    else
13268      ac_res=-l$ac_lib
13269      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13270    fi
13271 <  if ac_fn_c_try_link "$LINENO"; then :
13271 >  if ac_fn_c_try_link "$LINENO"
13272 > then :
13273    ac_cv_search_dlopen=$ac_res
13274   fi
13275 < rm -f core conftest.err conftest.$ac_objext \
13275 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
13276      conftest$ac_exeext
13277 <  if ${ac_cv_search_dlopen+:} false; then :
13277 >  if test ${ac_cv_search_dlopen+y}
13278 > then :
13279    break
13280   fi
13281   done
13282 < if ${ac_cv_search_dlopen+:} false; then :
13282 > if test ${ac_cv_search_dlopen+y}
13283 > then :
13284  
13285 < else
13285 > else $as_nop
13286    ac_cv_search_dlopen=no
13287   fi
13288   rm conftest.$ac_ext
13289   LIBS=$ac_func_search_save_LIBS
13290   fi
13291 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13292 < $as_echo "$ac_cv_search_dlopen" >&6; }
13291 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13292 > printf "%s\n" "$ac_cv_search_dlopen" >&6; }
13293   ac_res=$ac_cv_search_dlopen
13294 < if test "$ac_res" != no; then :
13294 > if test "$ac_res" != no
13295 > then :
13296    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13297  
13298 < $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13298 > printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
13299  
13300          if test "$ac_cv_search_dlopen" != "none required"; then
13301            LIBADD_DLOPEN=-ldl
13302          fi
13303          libltdl_cv_lib_dl_dlopen=yes
13304          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13305 < else
13305 > else $as_nop
13306    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307   /* end confdefs.h.  */
13308   #if HAVE_DLFCN_H
# Line 12725 | Line 13310 | else
13310   #endif
13311  
13312   int
13313 < main ()
13313 > main (void)
13314   {
13315   dlopen(0, 0);
13316    ;
13317    return 0;
13318   }
13319   _ACEOF
13320 < if ac_fn_c_try_link "$LINENO"; then :
13320 > if ac_fn_c_try_link "$LINENO"
13321 > then :
13322  
13323 < $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13323 > printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
13324  
13325              libltdl_cv_func_dlopen=yes
13326              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13327 < else
13328 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13329 < $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13330 < if ${ac_cv_lib_svld_dlopen+:} false; then :
13331 <  $as_echo_n "(cached) " >&6
13332 < else
13327 > else $as_nop
13328 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13329 > printf %s "checking for dlopen in -lsvld... " >&6; }
13330 > if test ${ac_cv_lib_svld_dlopen+y}
13331 > then :
13332 >  printf %s "(cached) " >&6
13333 > else $as_nop
13334    ac_check_lib_save_LIBS=$LIBS
13335   LIBS="-lsvld  $LIBS"
13336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 12752 | Line 13339 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13339   /* Override any GCC internal prototype to avoid an error.
13340     Use char because int might match the return type of a GCC
13341     builtin and then its argument prototype would still apply.  */
12755 #ifdef __cplusplus
12756 extern "C"
12757 #endif
13342   char dlopen ();
13343   int
13344 < main ()
13344 > main (void)
13345   {
13346   return dlopen ();
13347    ;
13348    return 0;
13349   }
13350   _ACEOF
13351 < if ac_fn_c_try_link "$LINENO"; then :
13351 > if ac_fn_c_try_link "$LINENO"
13352 > then :
13353    ac_cv_lib_svld_dlopen=yes
13354 < else
13354 > else $as_nop
13355    ac_cv_lib_svld_dlopen=no
13356   fi
13357 < rm -f core conftest.err conftest.$ac_objext \
13357 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
13358      conftest$ac_exeext conftest.$ac_ext
13359   LIBS=$ac_check_lib_save_LIBS
13360   fi
13361 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13362 < $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13363 < if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13361 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13362 > printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
13363 > if test "x$ac_cv_lib_svld_dlopen" = xyes
13364 > then :
13365  
13366 < $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13366 > printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
13367  
13368                  LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
13369                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13370   fi
13371  
13372   fi
13373 < rm -f core conftest.err conftest.$ac_objext \
13373 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
13374      conftest$ac_exeext conftest.$ac_ext
13375   fi
13376  
# Line 12792 | Line 13378 | if test yes = "$libltdl_cv_func_dlopen"
13378   then
13379    lt_save_LIBS=$LIBS
13380    LIBS="$LIBS $LIBADD_DLOPEN"
12795  for ac_func in dlerror
12796 do :
13381    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
13382 < if test "x$ac_cv_func_dlerror" = xyes; then :
13383 <  cat >>confdefs.h <<_ACEOF
13384 < #define HAVE_DLERROR 1
12801 < _ACEOF
13382 > if test "x$ac_cv_func_dlerror" = xyes
13383 > then :
13384 >  printf "%s\n" "#define HAVE_DLERROR 1" >>confdefs.h
13385  
13386   fi
12804 done
13387  
13388    LIBS=$lt_save_LIBS
13389   fi
# Line 12809 | Line 13391 | fi
13391  
13392   LIBADD_SHL_LOAD=
13393   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13394 < if test "x$ac_cv_func_shl_load" = xyes; then :
13394 > if test "x$ac_cv_func_shl_load" = xyes
13395 > then :
13396  
13397 < $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
13397 > printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
13398  
13399          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
13400 < else
13401 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13402 < $as_echo_n "checking for shl_load in -ldld... " >&6; }
13403 < if ${ac_cv_lib_dld_shl_load+:} false; then :
13404 <  $as_echo_n "(cached) " >&6
13405 < else
13400 > else $as_nop
13401 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13402 > printf %s "checking for shl_load in -ldld... " >&6; }
13403 > if test ${ac_cv_lib_dld_shl_load+y}
13404 > then :
13405 >  printf %s "(cached) " >&6
13406 > else $as_nop
13407    ac_check_lib_save_LIBS=$LIBS
13408   LIBS="-ldld  $LIBS"
13409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 12828 | Line 13412 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13412   /* Override any GCC internal prototype to avoid an error.
13413     Use char because int might match the return type of a GCC
13414     builtin and then its argument prototype would still apply.  */
12831 #ifdef __cplusplus
12832 extern "C"
12833 #endif
13415   char shl_load ();
13416   int
13417 < main ()
13417 > main (void)
13418   {
13419   return shl_load ();
13420    ;
13421    return 0;
13422   }
13423   _ACEOF
13424 < if ac_fn_c_try_link "$LINENO"; then :
13424 > if ac_fn_c_try_link "$LINENO"
13425 > then :
13426    ac_cv_lib_dld_shl_load=yes
13427 < else
13427 > else $as_nop
13428    ac_cv_lib_dld_shl_load=no
13429   fi
13430 < rm -f core conftest.err conftest.$ac_objext \
13430 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
13431      conftest$ac_exeext conftest.$ac_ext
13432   LIBS=$ac_check_lib_save_LIBS
13433   fi
13434 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13435 < $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13436 < if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13434 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13435 > printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
13436 > if test "x$ac_cv_lib_dld_shl_load" = xyes
13437 > then :
13438  
13439 < $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
13439 > printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
13440  
13441              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
13442              LIBADD_SHL_LOAD=-ldld
# Line 12867 | Line 13450 | case $host_os in
13450   darwin[1567].*)
13451   # We only want this for pre-Mac OS X 10.4.
13452    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
13453 < if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
13453 > if test "x$ac_cv_func__dyld_func_lookup" = xyes
13454 > then :
13455  
13456 < $as_echo "#define HAVE_DYLD 1" >>confdefs.h
13456 > printf "%s\n" "#define HAVE_DYLD 1" >>confdefs.h
13457  
13458          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
13459   fi
# Line 12879 | Line 13463 | beos*)
13463    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
13464    ;;
13465   cygwin* | mingw* | pw32*)
13466 <  ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
13467 < "
13468 < if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
13466 >  ac_fn_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
13467 > " "$ac_c_undeclared_builtin_options" "CFLAGS"
13468 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
13469 > then :
13470    ac_have_decl=1
13471 < else
13471 > else $as_nop
13472    ac_have_decl=0
13473   fi
13474 <
12890 < cat >>confdefs.h <<_ACEOF
12891 < #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
12892 < _ACEOF
13474 > printf "%s\n" "#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl" >>confdefs.h
13475  
13476    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
13477    ;;
13478   esac
13479  
13480 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13481 < $as_echo_n "checking for dld_link in -ldld... " >&6; }
13482 < if ${ac_cv_lib_dld_dld_link+:} false; then :
13483 <  $as_echo_n "(cached) " >&6
13484 < else
13480 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13481 > printf %s "checking for dld_link in -ldld... " >&6; }
13482 > if test ${ac_cv_lib_dld_dld_link+y}
13483 > then :
13484 >  printf %s "(cached) " >&6
13485 > else $as_nop
13486    ac_check_lib_save_LIBS=$LIBS
13487   LIBS="-ldld  $LIBS"
13488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 12908 | Line 13491 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13491   /* Override any GCC internal prototype to avoid an error.
13492     Use char because int might match the return type of a GCC
13493     builtin and then its argument prototype would still apply.  */
12911 #ifdef __cplusplus
12912 extern "C"
12913 #endif
13494   char dld_link ();
13495   int
13496 < main ()
13496 > main (void)
13497   {
13498   return dld_link ();
13499    ;
13500    return 0;
13501   }
13502   _ACEOF
13503 < if ac_fn_c_try_link "$LINENO"; then :
13503 > if ac_fn_c_try_link "$LINENO"
13504 > then :
13505    ac_cv_lib_dld_dld_link=yes
13506 < else
13506 > else $as_nop
13507    ac_cv_lib_dld_dld_link=no
13508   fi
13509 < rm -f core conftest.err conftest.$ac_objext \
13509 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
13510      conftest$ac_exeext conftest.$ac_ext
13511   LIBS=$ac_check_lib_save_LIBS
13512   fi
13513 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13514 < $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13515 < if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13513 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13514 > printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
13515 > if test "x$ac_cv_lib_dld_dld_link" = xyes
13516 > then :
13517  
13518 < $as_echo "#define HAVE_DLD 1" >>confdefs.h
13518 > printf "%s\n" "#define HAVE_DLD 1" >>confdefs.h
13519  
13520                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
13521   fi
# Line 12948 | Line 13530 | then
13530      LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
13531    done
13532  
13533 < $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
13533 > printf "%s\n" "#define HAVE_LIBDLLOADER 1" >>confdefs.h
13534  
13535   fi
13536  
# Line 12964 | Line 13546 | ac_link='$CC -o conftest$ac_exeext $CFLA
13546   ac_compiler_gnu=$ac_cv_c_compiler_gnu
13547  
13548  
13549 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
13550 < $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
13551 < if ${lt_cv_sys_symbol_underscore+:} false; then :
13552 <  $as_echo_n "(cached) " >&6
13553 < else
13549 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
13550 > printf %s "checking for _ prefix in compiled symbols... " >&6; }
13551 > if test ${lt_cv_sys_symbol_underscore+y}
13552 > then :
13553 >  printf %s "(cached) " >&6
13554 > else $as_nop
13555    lt_cv_sys_symbol_underscore=no
13556    cat > conftest.$ac_ext <<_LT_EOF
13557   void nm_test_func(){}
# Line 12977 | Line 13560 | _LT_EOF
13560    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13561    (eval $ac_compile) 2>&5
13562    ac_status=$?
13563 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13563 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13564    test $ac_status = 0; }; then
13565      # Now try to grab the symbols.
13566      ac_nlist=conftest.nm
13567      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
13568    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
13569    ac_status=$?
13570 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13570 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13571    test $ac_status = 0; } && test -s "$ac_nlist"; then
13572        # See whether the symbols have a leading underscore.
13573        if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
# Line 13006 | Line 13589 | _LT_EOF
13589    rm -rf conftest*
13590  
13591   fi
13592 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
13593 < $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
13592 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
13593 > printf "%s\n" "$lt_cv_sys_symbol_underscore" >&6; }
13594    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
13595  
13596  
13597   if test yes = "$lt_cv_sys_symbol_underscore"; then
13598    if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
13599 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
13600 < $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
13601 < if ${libltdl_cv_need_uscore+:} false; then :
13602 <  $as_echo_n "(cached) " >&6
13603 < else
13599 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
13600 > printf %s "checking whether we have to add an underscore for dlsym... " >&6; }
13601 > if test ${libltdl_cv_need_uscore+y}
13602 > then :
13603 >  printf %s "(cached) " >&6
13604 > else $as_nop
13605    libltdl_cv_need_uscore=unknown
13606        dlsym_uscore_save_LIBS=$LIBS
13607        LIBS="$LIBS $LIBADD_DLOPEN"
# Line 13098 | Line 13682 | _LT_EOF
13682        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13683    (eval $ac_link) 2>&5
13684    ac_status=$?
13685 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13685 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13686    test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13687          (./conftest; exit; ) >&5 2>/dev/null
13688          libltdl_status=$?
# Line 13112 | Line 13696 | _LT_EOF
13696        LIBS=$dlsym_uscore_save_LIBS
13697  
13698   fi
13699 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
13700 < $as_echo "$libltdl_cv_need_uscore" >&6; }
13699 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
13700 > printf "%s\n" "$libltdl_cv_need_uscore" >&6; }
13701    fi
13702   fi
13703  
13704   if test yes = "$libltdl_cv_need_uscore"; then
13705  
13706 < $as_echo "#define NEED_USCORE 1" >>confdefs.h
13706 > printf "%s\n" "#define NEED_USCORE 1" >>confdefs.h
13707  
13708   fi
13709  
13710 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
13711 < $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
13712 < if ${lt_cv_sys_dlopen_deplibs+:} false; then :
13713 <  $as_echo_n "(cached) " >&6
13714 < else
13710 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
13711 > printf %s "checking whether deplibs are loaded by dlopen... " >&6; }
13712 > if test ${lt_cv_sys_dlopen_deplibs+y}
13713 > then :
13714 >  printf %s "(cached) " >&6
13715 > else $as_nop
13716    # PORTME does your system automatically load deplibs for dlopen?
13717    # or its logical equivalent (e.g. shl_load for HP-UX < 11)
13718    # For now, we just catch OSes we know something about -- in the
# Line 13157 | Line 13742 | else
13742      # If you are looking for one http://www.opendarwin.org/projects/dlcompat
13743      lt_cv_sys_dlopen_deplibs=yes
13744      ;;
13745 <  freebsd* | dragonfly*)
13745 >  freebsd* | dragonfly* | midnightbsd*)
13746      lt_cv_sys_dlopen_deplibs=yes
13747      ;;
13748    gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
# Line 13180 | Line 13765 | else
13765      # at 6.2 and later dlopen does load deplibs.
13766      lt_cv_sys_dlopen_deplibs=yes
13767      ;;
13768 <  netbsd* | netbsdelf*-gnu)
13768 >  netbsd*)
13769      lt_cv_sys_dlopen_deplibs=yes
13770      ;;
13771    openbsd*)
# Line 13220 | Line 13805 | else
13805    esac
13806  
13807   fi
13808 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
13809 < $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
13808 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
13809 > printf "%s\n" "$lt_cv_sys_dlopen_deplibs" >&6; }
13810   if test yes != "$lt_cv_sys_dlopen_deplibs"; then
13811  
13812 < $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
13812 > printf "%s\n" "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
13813  
13814   fi
13815  
13816  
13817 < for ac_header in argz.h
13233 < do :
13234 <  ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
13817 > ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
13818   "
13819 < if test "x$ac_cv_header_argz_h" = xyes; then :
13820 <  cat >>confdefs.h <<_ACEOF
13821 < #define HAVE_ARGZ_H 1
13239 < _ACEOF
13819 > if test "x$ac_cv_header_argz_h" = xyes
13820 > then :
13821 >  printf "%s\n" "#define HAVE_ARGZ_H 1" >>confdefs.h
13822  
13823   fi
13824  
13243 done
13244
13825  
13826   ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
13827   #  include <argz.h>
13828   #endif
13829   "
13830 < if test "x$ac_cv_type_error_t" = xyes; then :
13830 > if test "x$ac_cv_type_error_t" = xyes
13831 > then :
13832  
13833 < cat >>confdefs.h <<_ACEOF
13253 < #define HAVE_ERROR_T 1
13254 < _ACEOF
13833 > printf "%s\n" "#define HAVE_ERROR_T 1" >>confdefs.h
13834  
13835  
13836 < else
13836 > else $as_nop
13837  
13838 < $as_echo "#define error_t int" >>confdefs.h
13838 > printf "%s\n" "#define error_t int" >>confdefs.h
13839  
13840  
13841 < $as_echo "#define __error_t_defined 1" >>confdefs.h
13841 > printf "%s\n" "#define __error_t_defined 1" >>confdefs.h
13842  
13843   fi
13844  
13845  
13846   LT_ARGZ_H=
13847 < for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
13848 <        argz_next argz_stringify
13847 >
13848 >  for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert argz_next argz_stringify
13849   do :
13850 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13850 >  as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
13851   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13852 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13852 > if eval test \"x\$"$as_ac_var"\" = x"yes"
13853 > then :
13854    cat >>confdefs.h <<_ACEOF
13855 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13855 > #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
13856   _ACEOF
13857  
13858 < else
13858 > else $as_nop
13859    LT_ARGZ_H=lt__argz.h;
13860  
13861    _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13862  
13863   fi
13284 done
13864  
13865 + done
13866  
13867 < if test -z "$LT_ARGZ_H"; then :
13868 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13869 < $as_echo_n "checking if argz actually works... " >&6; }
13870 < if ${lt_cv_sys_argz_works+:} false; then :
13871 <  $as_echo_n "(cached) " >&6
13872 < else
13867 > if test -z "$LT_ARGZ_H"
13868 > then :
13869 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13870 > printf %s "checking if argz actually works... " >&6; }
13871 > if test ${lt_cv_sys_argz_works+y}
13872 > then :
13873 >  printf %s "(cached) " >&6
13874 > else $as_nop
13875    case $host_os in #(
13876           *cygwin*)
13877             lt_cv_sys_argz_works=no
# Line 13299 | Line 13881 | else
13881               lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
13882               save_IFS=$IFS
13883               IFS=-.
13884 <             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
13884 >             set x `uname -r | $SED -e "$lt_sed_extract_leading_digits"`
13885               IFS=$save_IFS
13886               lt_os_major=${2-0}
13887               lt_os_minor=${3-0}
# Line 13316 | Line 13898 | else
13898           *) lt_cv_sys_argz_works=yes ;;
13899           esac
13900   fi
13901 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
13902 < $as_echo "$lt_cv_sys_argz_works" >&6; }
13903 <     if test yes = "$lt_cv_sys_argz_works"; then :
13901 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
13902 > printf "%s\n" "$lt_cv_sys_argz_works" >&6; }
13903 >     if test yes = "$lt_cv_sys_argz_works"
13904 > then :
13905  
13906 < $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13906 > printf "%s\n" "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13907  
13908 < else
13908 > else $as_nop
13909    LT_ARGZ_H=lt__argz.h
13910  
13911  
# Line 13333 | Line 13916 | fi
13916  
13917  
13918  
13919 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
13920 < $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
13921 < if ${libltdl_cv_preloaded_symbols+:} false; then :
13922 <  $as_echo_n "(cached) " >&6
13923 < else
13919 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
13920 > printf %s "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
13921 > if test ${libltdl_cv_preloaded_symbols+y}
13922 > then :
13923 >  printf %s "(cached) " >&6
13924 > else $as_nop
13925    if test -n "$lt_cv_sys_global_symbol_pipe"; then
13926      libltdl_cv_preloaded_symbols=yes
13927    else
# Line 13345 | Line 13929 | else
13929    fi
13930  
13931   fi
13932 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
13933 < $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
13932 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
13933 > printf "%s\n" "$libltdl_cv_preloaded_symbols" >&6; }
13934   if test yes = "$libltdl_cv_preloaded_symbols"; then
13935  
13936 < $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
13936 > printf "%s\n" "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
13937  
13938   fi
13939  
# Line 13366 | Line 13950 | fi
13950  
13951  
13952   # Check whether --with-included_ltdl was given.
13953 < if test "${with_included_ltdl+set}" = set; then :
13953 > if test ${with_included_ltdl+y}
13954 > then :
13955    withval=$with_included_ltdl;
13956   fi
13957  
# Line 13377 | Line 13962 | if test yes != "$with_included_ltdl"; th
13962    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
13963  
13964   "
13965 < if test "x$ac_cv_header_ltdl_h" = xyes; then :
13966 <  ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
13965 > if test "x$ac_cv_header_ltdl_h" = xyes
13966 > then :
13967 >  ac_fn_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
13968              #include <ltdl.h>
13969 < "
13970 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
13971 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
13972 < $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
13973 < if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
13974 <  $as_echo_n "(cached) " >&6
13975 < else
13969 > " "$ac_c_undeclared_builtin_options" "CFLAGS"
13970 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes
13971 > then :
13972 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
13973 > printf %s "checking for lt_dladvise_preload in -lltdl... " >&6; }
13974 > if test ${ac_cv_lib_ltdl_lt_dladvise_preload+y}
13975 > then :
13976 >  printf %s "(cached) " >&6
13977 > else $as_nop
13978    ac_check_lib_save_LIBS=$LIBS
13979   LIBS="-lltdl  $LIBS"
13980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 13395 | Line 13983 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13983   /* Override any GCC internal prototype to avoid an error.
13984     Use char because int might match the return type of a GCC
13985     builtin and then its argument prototype would still apply.  */
13398 #ifdef __cplusplus
13399 extern "C"
13400 #endif
13986   char lt_dladvise_preload ();
13987   int
13988 < main ()
13988 > main (void)
13989   {
13990   return lt_dladvise_preload ();
13991    ;
13992    return 0;
13993   }
13994   _ACEOF
13995 < if ac_fn_c_try_link "$LINENO"; then :
13995 > if ac_fn_c_try_link "$LINENO"
13996 > then :
13997    ac_cv_lib_ltdl_lt_dladvise_preload=yes
13998 < else
13998 > else $as_nop
13999    ac_cv_lib_ltdl_lt_dladvise_preload=no
14000   fi
14001 < rm -f core conftest.err conftest.$ac_objext \
14001 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
14002      conftest$ac_exeext conftest.$ac_ext
14003   LIBS=$ac_check_lib_save_LIBS
14004   fi
14005 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
14006 < $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
14007 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
14005 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
14006 > printf "%s\n" "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
14007 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes
14008 > then :
14009    with_included_ltdl=no
14010 < else
14010 > else $as_nop
14011    with_included_ltdl=yes
14012   fi
14013  
14014 < else
14014 > else $as_nop
14015    with_included_ltdl=yes
14016   fi
14017 <
13431 < else
14017 > else $as_nop
14018    with_included_ltdl=yes
14019   fi
14020  
13435
14021   fi
14022  
14023  
14024  
14025  
14026   # Check whether --with-ltdl_include was given.
14027 < if test "${with_ltdl_include+set}" = set; then :
14027 > if test ${with_ltdl_include+y}
14028 > then :
14029    withval=$with_ltdl_include;
14030   fi
14031  
# Line 13455 | Line 14041 | fi
14041  
14042  
14043   # Check whether --with-ltdl_lib was given.
14044 < if test "${with_ltdl_lib+set}" = set; then :
14044 > if test ${with_ltdl_lib+y}
14045 > then :
14046    withval=$with_ltdl_lib;
14047   fi
14048  
# Line 13493 | Line 14080 | INCLTDL=$LTDLINCL
14080          # If the included ltdl is not to be used, then use the
14081          # preinstalled libltdl we found.
14082  
14083 < $as_echo "#define HAVE_LTDL 1" >>confdefs.h
14083 > printf "%s\n" "#define HAVE_LTDL 1" >>confdefs.h
14084  
14085          LIBLTDL=-lltdl
14086          LTDLDEPS=
# Line 13511 | Line 14098 | esac
14098   INCLTDL=$LTDLINCL
14099  
14100   # Report our decision...
14101 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
14102 < $as_echo_n "checking where to find libltdl headers... " >&6; }
14103 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
14104 < $as_echo "$LTDLINCL" >&6; }
14105 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
14106 < $as_echo_n "checking where to find libltdl library... " >&6; }
14107 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
14108 < $as_echo "$LIBLTDL" >&6; }
14101 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
14102 > printf %s "checking where to find libltdl headers... " >&6; }
14103 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
14104 > printf "%s\n" "$LTDLINCL" >&6; }
14105 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
14106 > printf %s "checking where to find libltdl library... " >&6; }
14107 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
14108 > printf "%s\n" "$LIBLTDL" >&6; }
14109  
14110  
14111  
14112   # Check whether --enable-ltdl-install was given.
14113 < if test "${enable_ltdl_install+set}" = set; then :
14113 > if test ${enable_ltdl_install+y}
14114 > then :
14115    enableval=$enable_ltdl_install;
14116   fi
14117  
# Line 13562 | Line 14150 | fi
14150  
14151  
14152  
14153 < for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
13566 < do :
13567 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13568 < ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14153 > ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default
14154   "
14155 < if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14156 <  cat >>confdefs.h <<_ACEOF
14157 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13573 < _ACEOF
14155 > if test "x$ac_cv_header_unistd_h" = xyes
14156 > then :
14157 >  printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
14158  
14159   fi
14160 + ac_fn_c_check_header_compile "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default
14161 + "
14162 + if test "x$ac_cv_header_dl_h" = xyes
14163 + then :
14164 +  printf "%s\n" "#define HAVE_DL_H 1" >>confdefs.h
14165  
14166 < done
14166 > fi
14167 > ac_fn_c_check_header_compile "$LINENO" "sys/dl.h" "ac_cv_header_sys_dl_h" "$ac_includes_default
14168 > "
14169 > if test "x$ac_cv_header_sys_dl_h" = xyes
14170 > then :
14171 >  printf "%s\n" "#define HAVE_SYS_DL_H 1" >>confdefs.h
14172  
14173 + fi
14174 + ac_fn_c_check_header_compile "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default
14175 + "
14176 + if test "x$ac_cv_header_dld_h" = xyes
14177 + then :
14178 +  printf "%s\n" "#define HAVE_DLD_H 1" >>confdefs.h
14179 +
14180 + fi
14181 + ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default
14182 + "
14183 + if test "x$ac_cv_header_mach_o_dyld_h" = xyes
14184 + then :
14185 +  printf "%s\n" "#define HAVE_MACH_O_DYLD_H 1" >>confdefs.h
14186 +
14187 + fi
14188 + ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default
14189 + "
14190 + if test "x$ac_cv_header_dirent_h" = xyes
14191 + then :
14192 +  printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
14193  
14194 < for ac_func in closedir opendir readdir
14194 > fi
14195 >
14196 >
14197 >
14198 >  for ac_func in closedir opendir readdir
14199   do :
14200 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14200 >  as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
14201   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14202 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14202 > if eval test \"x\$"$as_ac_var"\" = x"yes"
14203 > then :
14204    cat >>confdefs.h <<_ACEOF
14205 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14205 > #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
14206   _ACEOF
14207  
14208 < else
14208 > else $as_nop
14209  
14210  
14211    _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
14212  
14213   fi
14214 +
14215   done
14216  
14217 < for ac_func in strlcat strlcpy
14217 >  for ac_func in strlcat strlcpy
14218   do :
14219 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14219 >  as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
14220   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14221 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14221 > if eval test \"x\$"$as_ac_var"\" = x"yes"
14222 > then :
14223    cat >>confdefs.h <<_ACEOF
14224 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14224 > #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
14225   _ACEOF
14226  
14227 < else
14227 > else $as_nop
14228  
14229  
14230    _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
14231  
14232   fi
13612 done
14233  
14234 + done
14235  
14236  
14237 < cat >>confdefs.h <<_ACEOF
13617 < #define LT_LIBEXT "$libext"
13618 < _ACEOF
14237 > printf "%s\n" "#define LT_LIBEXT \"$libext\"" >>confdefs.h
14238  
14239  
14240   name=
14241   eval "lt_libprefix=\"$libname_spec\""
14242  
14243 < cat >>confdefs.h <<_ACEOF
13625 < #define LT_LIBPREFIX "$lt_libprefix"
13626 < _ACEOF
14243 > printf "%s\n" "#define LT_LIBPREFIX \"$lt_libprefix\"" >>confdefs.h
14244  
14245  
14246   name=ltdl
# Line 13645 | Line 14262 | LIBTOOL="$LIBTOOL --silent"
14262  
14263  
14264    if test "X$CC" != "X"; then
14265 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5
14266 < $as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; }
14267 < if ${ssp_cv_cc+:} false; then :
14268 <  $as_echo_n "(cached) " >&6
14269 < else
14265 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5
14266 > printf %s "checking whether ${CC} accepts -fstack-protector-strong... " >&6; }
14267 > if test ${ssp_cv_cc+y}
14268 > then :
14269 >  printf %s "(cached) " >&6
14270 > else $as_nop
14271    ssp_old_cflags="$CFLAGS"
14272         CFLAGS="$CFLAGS -fstack-protector-strong"
14273         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274   /* end confdefs.h.  */
14275  
14276   int
14277 < main ()
14277 > main (void)
14278   {
14279  
14280    ;
14281    return 0;
14282   }
14283   _ACEOF
14284 < if ac_fn_c_try_compile "$LINENO"; then :
14284 > if ac_fn_c_try_compile "$LINENO"
14285 > then :
14286    ssp_cv_cc=yes
14287 < else
14287 > else $as_nop
14288    ssp_cv_cc=no
14289   fi
14290 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14290 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14291         CFLAGS="$ssp_old_cflags"
14292  
14293   fi
14294 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
14295 < $as_echo "$ssp_cv_cc" >&6; }
14294 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
14295 > printf "%s\n" "$ssp_cv_cc" >&6; }
14296      if test $ssp_cv_cc = yes; then
14297        CFLAGS="$CFLAGS -fstack-protector-strong"
14298  
14299 < $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
14299 > printf "%s\n" "#define ENABLE_SSP_CC 1" >>confdefs.h
14300  
14301      else
14302        unset ssp_cv_cc
14303 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
14304 < $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
14305 < if ${ssp_cv_cc+:} false; then :
14306 <  $as_echo_n "(cached) " >&6
14307 < else
14303 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
14304 > printf %s "checking whether ${CC} accepts -fstack-protector... " >&6; }
14305 > if test ${ssp_cv_cc+y}
14306 > then :
14307 >  printf %s "(cached) " >&6
14308 > else $as_nop
14309    ssp_old_cflags="$CFLAGS"
14310           CFLAGS="$CFLAGS -fstack-protector"
14311           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312   /* end confdefs.h.  */
14313  
14314   int
14315 < main ()
14315 > main (void)
14316   {
14317  
14318    ;
14319    return 0;
14320   }
14321   _ACEOF
14322 < if ac_fn_c_try_compile "$LINENO"; then :
14322 > if ac_fn_c_try_compile "$LINENO"
14323 > then :
14324    ssp_cv_cc=yes
14325 < else
14325 > else $as_nop
14326    ssp_cv_cc=no
14327   fi
14328 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14328 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14329           CFLAGS="$ssp_old_cflags"
14330  
14331   fi
14332 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
14333 < $as_echo "$ssp_cv_cc" >&6; }
14332 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
14333 > printf "%s\n" "$ssp_cv_cc" >&6; }
14334        if test $ssp_cv_cc = yes; then
14335          CFLAGS="$CFLAGS -fstack-protector"
14336  
14337 < $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
14337 > printf "%s\n" "#define ENABLE_SSP_CC 1" >>confdefs.h
14338  
14339        fi
14340      fi
14341    fi
14342  
14343  
14344 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
14345 < $as_echo_n "checking whether libssp exists... " >&6; }
14346 < if ${ssp_cv_lib+:} false; then :
14347 <  $as_echo_n "(cached) " >&6
14348 < else
14344 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
14345 > printf %s "checking whether libssp exists... " >&6; }
14346 > if test ${ssp_cv_lib+y}
14347 > then :
14348 >  printf %s "(cached) " >&6
14349 > else $as_nop
14350    ssp_old_libs="$LIBS"
14351       LIBS="$LIBS -lssp"
14352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14353   /* end confdefs.h.  */
14354  
14355   int
14356 < main ()
14356 > main (void)
14357   {
14358  
14359    ;
14360    return 0;
14361   }
14362   _ACEOF
14363 < if ac_fn_c_try_link "$LINENO"; then :
14363 > if ac_fn_c_try_link "$LINENO"
14364 > then :
14365    ssp_cv_lib=yes
14366 < else
14366 > else $as_nop
14367    ssp_cv_lib=no
14368   fi
14369 < rm -f core conftest.err conftest.$ac_objext \
14369 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
14370      conftest$ac_exeext conftest.$ac_ext
14371       LIBS="$ssp_old_libs"
14372  
14373   fi
14374 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
14375 < $as_echo "$ssp_cv_lib" >&6; }
14374 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
14375 > printf "%s\n" "$ssp_cv_lib" >&6; }
14376    if test $ssp_cv_lib = yes; then
14377      LIBS="$LIBS -lssp"
14378    fi
14379  
14380  
14381    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
14382 < if test "x$ac_cv_func_getaddrinfo" = xyes; then :
14382 > if test "x$ac_cv_func_getaddrinfo" = xyes
14383 > then :
14384  
14385 < else
14386 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
14387 < $as_echo_n "checking for library containing getaddrinfo... " >&6; }
14388 < if ${ac_cv_search_getaddrinfo+:} false; then :
14389 <  $as_echo_n "(cached) " >&6
14390 < else
14385 > else $as_nop
14386 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
14387 > printf %s "checking for library containing getaddrinfo... " >&6; }
14388 > if test ${ac_cv_search_getaddrinfo+y}
14389 > then :
14390 >  printf %s "(cached) " >&6
14391 > else $as_nop
14392    ac_func_search_save_LIBS=$LIBS
14393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394   /* end confdefs.h.  */
# Line 13771 | Line 14396 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14396   /* Override any GCC internal prototype to avoid an error.
14397     Use char because int might match the return type of a GCC
14398     builtin and then its argument prototype would still apply.  */
13774 #ifdef __cplusplus
13775 extern "C"
13776 #endif
14399   char getaddrinfo ();
14400   int
14401 < main ()
14401 > main (void)
14402   {
14403   return getaddrinfo ();
14404    ;
14405    return 0;
14406   }
14407   _ACEOF
14408 < for ac_lib in '' nsl; do
14408 > for ac_lib in '' nsl
14409 > do
14410    if test -z "$ac_lib"; then
14411      ac_res="none required"
14412    else
14413      ac_res=-l$ac_lib
14414      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14415    fi
14416 <  if ac_fn_c_try_link "$LINENO"; then :
14416 >  if ac_fn_c_try_link "$LINENO"
14417 > then :
14418    ac_cv_search_getaddrinfo=$ac_res
14419   fi
14420 < rm -f core conftest.err conftest.$ac_objext \
14420 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
14421      conftest$ac_exeext
14422 <  if ${ac_cv_search_getaddrinfo+:} false; then :
14422 >  if test ${ac_cv_search_getaddrinfo+y}
14423 > then :
14424    break
14425   fi
14426   done
14427 < if ${ac_cv_search_getaddrinfo+:} false; then :
14427 > if test ${ac_cv_search_getaddrinfo+y}
14428 > then :
14429  
14430 < else
14430 > else $as_nop
14431    ac_cv_search_getaddrinfo=no
14432   fi
14433   rm conftest.$ac_ext
14434   LIBS=$ac_func_search_save_LIBS
14435   fi
14436 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
14437 < $as_echo "$ac_cv_search_getaddrinfo" >&6; }
14436 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
14437 > printf "%s\n" "$ac_cv_search_getaddrinfo" >&6; }
14438   ac_res=$ac_cv_search_getaddrinfo
14439 < if test "$ac_res" != no; then :
14439 > if test "$ac_res" != no
14440 > then :
14441    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14442  
14443   fi
# Line 13818 | Line 14445 | fi
14445   fi
14446  
14447    ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
14448 < if test "x$ac_cv_func_getnameinfo" = xyes; then :
14448 > if test "x$ac_cv_func_getnameinfo" = xyes
14449 > then :
14450  
14451 < else
14452 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
14453 < $as_echo_n "checking for library containing getnameinfo... " >&6; }
14454 < if ${ac_cv_search_getnameinfo+:} false; then :
14455 <  $as_echo_n "(cached) " >&6
14456 < else
14451 > else $as_nop
14452 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
14453 > printf %s "checking for library containing getnameinfo... " >&6; }
14454 > if test ${ac_cv_search_getnameinfo+y}
14455 > then :
14456 >  printf %s "(cached) " >&6
14457 > else $as_nop
14458    ac_func_search_save_LIBS=$LIBS
14459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460   /* end confdefs.h.  */
# Line 13833 | Line 14462 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14462   /* Override any GCC internal prototype to avoid an error.
14463     Use char because int might match the return type of a GCC
14464     builtin and then its argument prototype would still apply.  */
13836 #ifdef __cplusplus
13837 extern "C"
13838 #endif
14465   char getnameinfo ();
14466   int
14467 < main ()
14467 > main (void)
14468   {
14469   return getnameinfo ();
14470    ;
14471    return 0;
14472   }
14473   _ACEOF
14474 < for ac_lib in '' nsl; do
14474 > for ac_lib in '' nsl
14475 > do
14476    if test -z "$ac_lib"; then
14477      ac_res="none required"
14478    else
14479      ac_res=-l$ac_lib
14480      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14481    fi
14482 <  if ac_fn_c_try_link "$LINENO"; then :
14482 >  if ac_fn_c_try_link "$LINENO"
14483 > then :
14484    ac_cv_search_getnameinfo=$ac_res
14485   fi
14486 < rm -f core conftest.err conftest.$ac_objext \
14486 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
14487      conftest$ac_exeext
14488 <  if ${ac_cv_search_getnameinfo+:} false; then :
14488 >  if test ${ac_cv_search_getnameinfo+y}
14489 > then :
14490    break
14491   fi
14492   done
14493 < if ${ac_cv_search_getnameinfo+:} false; then :
14493 > if test ${ac_cv_search_getnameinfo+y}
14494 > then :
14495  
14496 < else
14496 > else $as_nop
14497    ac_cv_search_getnameinfo=no
14498   fi
14499   rm conftest.$ac_ext
14500   LIBS=$ac_func_search_save_LIBS
14501   fi
14502 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
14503 < $as_echo "$ac_cv_search_getnameinfo" >&6; }
14502 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
14503 > printf "%s\n" "$ac_cv_search_getnameinfo" >&6; }
14504   ac_res=$ac_cv_search_getnameinfo
14505 < if test "$ac_res" != no; then :
14505 > if test "$ac_res" != no
14506 > then :
14507    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14508  
14509   fi
14510  
14511   fi
14512  
14513 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
14514 < $as_echo_n "checking for library containing socket... " >&6; }
14515 < if ${ac_cv_search_socket+:} false; then :
14516 <  $as_echo_n "(cached) " >&6
14517 < else
14513 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
14514 > printf %s "checking for library containing socket... " >&6; }
14515 > if test ${ac_cv_search_socket+y}
14516 > then :
14517 >  printf %s "(cached) " >&6
14518 > else $as_nop
14519    ac_func_search_save_LIBS=$LIBS
14520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14521   /* end confdefs.h.  */
# Line 13891 | Line 14523 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14523   /* Override any GCC internal prototype to avoid an error.
14524     Use char because int might match the return type of a GCC
14525     builtin and then its argument prototype would still apply.  */
13894 #ifdef __cplusplus
13895 extern "C"
13896 #endif
14526   char socket ();
14527   int
14528 < main ()
14528 > main (void)
14529   {
14530   return socket ();
14531    ;
14532    return 0;
14533   }
14534   _ACEOF
14535 < for ac_lib in '' socket; do
14535 > for ac_lib in '' socket
14536 > do
14537    if test -z "$ac_lib"; then
14538      ac_res="none required"
14539    else
14540      ac_res=-l$ac_lib
14541      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14542    fi
14543 <  if ac_fn_c_try_link "$LINENO"; then :
14543 >  if ac_fn_c_try_link "$LINENO"
14544 > then :
14545    ac_cv_search_socket=$ac_res
14546   fi
14547 < rm -f core conftest.err conftest.$ac_objext \
14547 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
14548      conftest$ac_exeext
14549 <  if ${ac_cv_search_socket+:} false; then :
14549 >  if test ${ac_cv_search_socket+y}
14550 > then :
14551    break
14552   fi
14553   done
14554 < if ${ac_cv_search_socket+:} false; then :
14554 > if test ${ac_cv_search_socket+y}
14555 > then :
14556  
14557 < else
14557 > else $as_nop
14558    ac_cv_search_socket=no
14559   fi
14560   rm conftest.$ac_ext
14561   LIBS=$ac_func_search_save_LIBS
14562   fi
14563 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
14564 < $as_echo "$ac_cv_search_socket" >&6; }
14563 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
14564 > printf "%s\n" "$ac_cv_search_socket" >&6; }
14565   ac_res=$ac_cv_search_socket
14566 < if test "$ac_res" != no; then :
14566 > if test "$ac_res" != no
14567 > then :
14568    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14569  
14570 < else
14570 > else $as_nop
14571    as_fn_error $? "socket library not found" "$LINENO" 5
14572   fi
14573  
14574  
14575  
14576   # Checks for typedefs, structures, and compiler characteristics.
14577 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14578 < $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14579 < if ${ac_cv_c_bigendian+:} false; then :
14580 <  $as_echo_n "(cached) " >&6
14581 < else
14577 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14578 > printf %s "checking whether byte ordering is bigendian... " >&6; }
14579 > if test ${ac_cv_c_bigendian+y}
14580 > then :
14581 >  printf %s "(cached) " >&6
14582 > else $as_nop
14583    ac_cv_c_bigendian=unknown
14584      # See if we're dealing with a universal compiler.
14585      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 13955 | Line 14590 | else
14590               typedef int dummy;
14591  
14592   _ACEOF
14593 < if ac_fn_c_try_compile "$LINENO"; then :
14593 > if ac_fn_c_try_compile "$LINENO"
14594 > then :
14595  
14596          # Check for potential -arch flags.  It is not universal unless
14597          # there are at least two -arch flags with different values.
# Line 13979 | Line 14615 | if ac_fn_c_try_compile "$LINENO"; then :
14615           fi
14616         done
14617   fi
14618 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14618 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14619      if test $ac_cv_c_bigendian = unknown; then
14620        # See if sys/param.h defines the BYTE_ORDER macro.
14621        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 13988 | Line 14624 | rm -f core conftest.err conftest.$ac_obj
14624               #include <sys/param.h>
14625  
14626   int
14627 < main ()
14627 > main (void)
14628   {
14629   #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14630                       && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
# Line 14000 | Line 14636 | main ()
14636    return 0;
14637   }
14638   _ACEOF
14639 < if ac_fn_c_try_compile "$LINENO"; then :
14639 > if ac_fn_c_try_compile "$LINENO"
14640 > then :
14641    # It does; now see whether it defined to BIG_ENDIAN or not.
14642           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643   /* end confdefs.h.  */
# Line 14008 | Line 14645 | if ac_fn_c_try_compile "$LINENO"; then :
14645                  #include <sys/param.h>
14646  
14647   int
14648 < main ()
14648 > main (void)
14649   {
14650   #if BYTE_ORDER != BIG_ENDIAN
14651                   not big endian
# Line 14018 | Line 14655 | main ()
14655    return 0;
14656   }
14657   _ACEOF
14658 < if ac_fn_c_try_compile "$LINENO"; then :
14658 > if ac_fn_c_try_compile "$LINENO"
14659 > then :
14660    ac_cv_c_bigendian=yes
14661 < else
14661 > else $as_nop
14662    ac_cv_c_bigendian=no
14663   fi
14664 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14664 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14665   fi
14666 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14666 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14667      fi
14668      if test $ac_cv_c_bigendian = unknown; then
14669        # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
# Line 14034 | Line 14672 | rm -f core conftest.err conftest.$ac_obj
14672   #include <limits.h>
14673  
14674   int
14675 < main ()
14675 > main (void)
14676   {
14677   #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14678                bogus endian macros
# Line 14044 | Line 14682 | main ()
14682    return 0;
14683   }
14684   _ACEOF
14685 < if ac_fn_c_try_compile "$LINENO"; then :
14685 > if ac_fn_c_try_compile "$LINENO"
14686 > then :
14687    # It does; now see whether it defined to _BIG_ENDIAN or not.
14688           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689   /* end confdefs.h.  */
14690   #include <limits.h>
14691  
14692   int
14693 < main ()
14693 > main (void)
14694   {
14695   #ifndef _BIG_ENDIAN
14696                   not big endian
# Line 14061 | Line 14700 | main ()
14700    return 0;
14701   }
14702   _ACEOF
14703 < if ac_fn_c_try_compile "$LINENO"; then :
14703 > if ac_fn_c_try_compile "$LINENO"
14704 > then :
14705    ac_cv_c_bigendian=yes
14706 < else
14706 > else $as_nop
14707    ac_cv_c_bigendian=no
14708   fi
14709 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14709 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14710   fi
14711 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14711 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14712      fi
14713      if test $ac_cv_c_bigendian = unknown; then
14714        # Compile a test program.
14715 <      if test "$cross_compiling" = yes; then :
14715 >      if test "$cross_compiling" = yes
14716 > then :
14717    # Try to guess by grepping values from an object file.
14718           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14719   /* end confdefs.h.  */
14720 < short int ascii_mm[] =
14720 > unsigned short int ascii_mm[] =
14721                    { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14722 <                short int ascii_ii[] =
14722 >                unsigned short int ascii_ii[] =
14723                    { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14724                  int use_ascii (int i) {
14725                    return ascii_mm[i] + ascii_ii[i];
14726                  }
14727 <                short int ebcdic_ii[] =
14727 >                unsigned short int ebcdic_ii[] =
14728                    { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14729 <                short int ebcdic_mm[] =
14729 >                unsigned short int ebcdic_mm[] =
14730                    { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14731                  int use_ebcdic (int i) {
14732                    return ebcdic_mm[i] + ebcdic_ii[i];
# Line 14093 | Line 14734 | short int ascii_mm[] =
14734                  extern int foo;
14735  
14736   int
14737 < main ()
14737 > main (void)
14738   {
14739   return use_ascii (foo) == use_ebcdic (foo);
14740    ;
14741    return 0;
14742   }
14743   _ACEOF
14744 < if ac_fn_c_try_compile "$LINENO"; then :
14744 > if ac_fn_c_try_compile "$LINENO"
14745 > then :
14746    if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14747                ac_cv_c_bigendian=yes
14748              fi
# Line 14113 | Line 14755 | if ac_fn_c_try_compile "$LINENO"; then :
14755                fi
14756              fi
14757   fi
14758 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14759 < else
14758 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14759 > else $as_nop
14760    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761   /* end confdefs.h.  */
14762   $ac_includes_default
14763   int
14764 < main ()
14764 > main (void)
14765   {
14766  
14767               /* Are we little or big endian?  From Harbison&Steele.  */
# Line 14135 | Line 14777 | main ()
14777    return 0;
14778   }
14779   _ACEOF
14780 < if ac_fn_c_try_run "$LINENO"; then :
14780 > if ac_fn_c_try_run "$LINENO"
14781 > then :
14782    ac_cv_c_bigendian=no
14783 < else
14783 > else $as_nop
14784    ac_cv_c_bigendian=yes
14785   fi
14786   rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
# Line 14146 | Line 14789 | fi
14789  
14790      fi
14791   fi
14792 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14793 < $as_echo "$ac_cv_c_bigendian" >&6; }
14792 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14793 > printf "%s\n" "$ac_cv_c_bigendian" >&6; }
14794   case $ac_cv_c_bigendian in #(
14795     yes)
14796 <     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14796 >     printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
14797   ;; #(
14798     no)
14799        ;; #(
14800     universal)
14801  
14802 < $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14802 > printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14803  
14804       ;; #(
14805     *)
# Line 14166 | Line 14809 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
14809  
14810  
14811   # Checks for library functions.
14812 <
14813 <
14814 <
14815 <  for ac_func in $ac_func_list
14816 < do :
14817 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14818 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14819 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14820 <  cat >>confdefs.h <<_ACEOF
14821 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14822 < _ACEOF
14823 <
14181 < fi
14812 > ac_func=
14813 > for ac_item in $ac_func_c_list
14814 > do
14815 >  if test $ac_func; then
14816 >    ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
14817 >    if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
14818 >      echo "#define $ac_item 1" >> confdefs.h
14819 >    fi
14820 >    ac_func=
14821 >  else
14822 >    ac_func=$ac_item
14823 >  fi
14824   done
14825  
14826  
14827  
14186
14187
14188
14189
14190
14191
14828   # Checks for header files.
14829  
14830  
14831  
14196  for ac_header in $ac_header_list
14197 do :
14198  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14199 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14200 "
14201 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14202  cat >>confdefs.h <<_ACEOF
14203 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14204 _ACEOF
14205
14206 fi
14207
14208 done
14209
14210
14211
14212
14832  
14833  
14834  
14835  
14836 <
14837 <
14838 <
14839 <
14840 <
14841 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14223 < $as_echo_n "checking for library containing crypt... " >&6; }
14224 < if ${ac_cv_search_crypt+:} false; then :
14225 <  $as_echo_n "(cached) " >&6
14226 < else
14836 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14837 > printf %s "checking for library containing crypt... " >&6; }
14838 > if test ${ac_cv_search_crypt+y}
14839 > then :
14840 >  printf %s "(cached) " >&6
14841 > else $as_nop
14842    ac_func_search_save_LIBS=$LIBS
14843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844   /* end confdefs.h.  */
# Line 14231 | Line 14846 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14846   /* Override any GCC internal prototype to avoid an error.
14847     Use char because int might match the return type of a GCC
14848     builtin and then its argument prototype would still apply.  */
14234 #ifdef __cplusplus
14235 extern "C"
14236 #endif
14849   char crypt ();
14850   int
14851 < main ()
14851 > main (void)
14852   {
14853   return crypt ();
14854    ;
14855    return 0;
14856   }
14857   _ACEOF
14858 < for ac_lib in '' crypt; do
14858 > for ac_lib in '' crypt
14859 > do
14860    if test -z "$ac_lib"; then
14861      ac_res="none required"
14862    else
14863      ac_res=-l$ac_lib
14864      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14865    fi
14866 <  if ac_fn_c_try_link "$LINENO"; then :
14866 >  if ac_fn_c_try_link "$LINENO"
14867 > then :
14868    ac_cv_search_crypt=$ac_res
14869   fi
14870 < rm -f core conftest.err conftest.$ac_objext \
14870 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
14871      conftest$ac_exeext
14872 <  if ${ac_cv_search_crypt+:} false; then :
14872 >  if test ${ac_cv_search_crypt+y}
14873 > then :
14874    break
14875   fi
14876   done
14877 < if ${ac_cv_search_crypt+:} false; then :
14877 > if test ${ac_cv_search_crypt+y}
14878 > then :
14879  
14880 < else
14880 > else $as_nop
14881    ac_cv_search_crypt=no
14882   fi
14883   rm conftest.$ac_ext
14884   LIBS=$ac_func_search_save_LIBS
14885   fi
14886 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
14887 < $as_echo "$ac_cv_search_crypt" >&6; }
14886 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
14887 > printf "%s\n" "$ac_cv_search_crypt" >&6; }
14888   ac_res=$ac_cv_search_crypt
14889 < if test "$ac_res" != no; then :
14889 > if test "$ac_res" != no
14890 > then :
14891    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14892  
14893   fi
14894  
14895  
14896 + # Set -Werror=unknown-warning-option for clang so subsequent
14897 + # AX_APPEND_COMPILE_FLAGS executions work properly.
14898 +
14899 +
14900 +
14901 +
14902 + for flag in -Werror=unknown-warning-option; do
14903 +  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14904 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14905 + printf %s "checking whether C compiler accepts $flag... " >&6; }
14906 + if eval test \${$as_CACHEVAR+y}
14907 + then :
14908 +  printf %s "(cached) " >&6
14909 + else $as_nop
14910 +
14911 +  ax_check_save_flags=$CFLAGS
14912 +  CFLAGS="$CFLAGS  $flag"
14913 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14914 + /* end confdefs.h.  */
14915 +
14916 + int
14917 + main (void)
14918 + {
14919 +
14920 +  ;
14921 +  return 0;
14922 + }
14923 + _ACEOF
14924 + if ac_fn_c_try_compile "$LINENO"
14925 + then :
14926 +  eval "$as_CACHEVAR=yes"
14927 + else $as_nop
14928 +  eval "$as_CACHEVAR=no"
14929 + fi
14930 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14931 +  CFLAGS=$ax_check_save_flags
14932 + fi
14933 + eval ac_res=\$$as_CACHEVAR
14934 +               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14935 + printf "%s\n" "$ac_res" >&6; }
14936 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14937 + then :
14938 +
14939 + if test ${CFLAGS+y}
14940 + then :
14941 +
14942 +  case " $CFLAGS " in #(
14943 +  *" $flag "*) :
14944 +    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14945 +  (: CFLAGS already contains $flag) 2>&5
14946 +  ac_status=$?
14947 +  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14948 +  test $ac_status = 0; } ;; #(
14949 +  *) :
14950 +
14951 +     as_fn_append CFLAGS " $flag"
14952 +     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14953 +  (: CFLAGS="$CFLAGS") 2>&5
14954 +  ac_status=$?
14955 +  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14956 +  test $ac_status = 0; }
14957 +     ;;
14958 + esac
14959 +
14960 + else $as_nop
14961 +
14962 +  CFLAGS=$flag
14963 +  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14964 +  (: CFLAGS="$CFLAGS") 2>&5
14965 +  ac_status=$?
14966 +  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967 +  test $ac_status = 0; }
14968 +
14969 + fi
14970 +
14971 + else $as_nop
14972 +  :
14973 + fi
14974 +
14975 + done
14976 +
14977 + # Disable -Wformat-truncation specifically for gcc.
14978 +
14979 +
14980 +
14981 +
14982 + for flag in -Wno-format-truncation; do
14983 +  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14984 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14985 + printf %s "checking whether C compiler accepts $flag... " >&6; }
14986 + if eval test \${$as_CACHEVAR+y}
14987 + then :
14988 +  printf %s "(cached) " >&6
14989 + else $as_nop
14990 +
14991 +  ax_check_save_flags=$CFLAGS
14992 +  CFLAGS="$CFLAGS  $flag"
14993 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14994 + /* end confdefs.h.  */
14995 +
14996 + int
14997 + main (void)
14998 + {
14999 +
15000 +  ;
15001 +  return 0;
15002 + }
15003 + _ACEOF
15004 + if ac_fn_c_try_compile "$LINENO"
15005 + then :
15006 +  eval "$as_CACHEVAR=yes"
15007 + else $as_nop
15008 +  eval "$as_CACHEVAR=no"
15009 + fi
15010 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15011 +  CFLAGS=$ax_check_save_flags
15012 + fi
15013 + eval ac_res=\$$as_CACHEVAR
15014 +               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15015 + printf "%s\n" "$ac_res" >&6; }
15016 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15017 + then :
15018 +
15019 + if test ${CFLAGS+y}
15020 + then :
15021 +
15022 +  case " $CFLAGS " in #(
15023 +  *" $flag "*) :
15024 +    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15025 +  (: CFLAGS already contains $flag) 2>&5
15026 +  ac_status=$?
15027 +  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15028 +  test $ac_status = 0; } ;; #(
15029 +  *) :
15030 +
15031 +     as_fn_append CFLAGS " $flag"
15032 +     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15033 +  (: CFLAGS="$CFLAGS") 2>&5
15034 +  ac_status=$?
15035 +  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15036 +  test $ac_status = 0; }
15037 +     ;;
15038 + esac
15039 +
15040 + else $as_nop
15041 +
15042 +  CFLAGS=$flag
15043 +  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15044 +  (: CFLAGS="$CFLAGS") 2>&5
15045 +  ac_status=$?
15046 +  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15047 +  test $ac_status = 0; }
15048 +
15049 + fi
15050 +
15051 + else $as_nop
15052 +  :
15053 + fi
15054 +
15055 + done
15056 +
15057 +
15058   # Argument processing.
15059  
15060    desired_iopoll_mechanism="none"
15061  
15062    # Check whether --enable-kqueue was given.
15063 < if test "${enable_kqueue+set}" = set; then :
15063 > if test ${enable_kqueue+y}
15064 > then :
15065    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
15066   fi
15067  
15068    # Check whether --enable-epoll was given.
15069 < if test "${enable_epoll+set}" = set; then :
15069 > if test ${enable_epoll+y}
15070 > then :
15071    enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
15072   fi
15073  
14293  # Check whether --enable-devpoll was given.
14294 if test "${enable_devpoll+set}" = set; then :
14295  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14296 fi
14297
15074    # Check whether --enable-poll was given.
15075 < if test "${enable_poll+set}" = set; then :
15075 > if test ${enable_poll+y}
15076 > then :
15077    enableval=$enable_poll; desired_iopoll_mechanism="poll"
15078   fi
15079  
15080  
15081 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
15082 < $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
15081 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
15082 > printf %s "checking for optimal/desired iopoll mechanism... " >&6; }
15083  
15084    iopoll_mechanism_none=0
15085  
15086 < cat >>confdefs.h <<_ACEOF
14310 < #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14311 < _ACEOF
15086 > printf "%s\n" "#define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none" >>confdefs.h
15087  
15088  
15089    iopoll_mechanism_kqueue=1
15090  
15091 < cat >>confdefs.h <<_ACEOF
14317 < #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
14318 < _ACEOF
15091 > printf "%s\n" "#define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue" >>confdefs.h
15092  
15093    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094   /* end confdefs.h.  */
# Line 14324 | Line 15097 | _ACEOF
15097   #define kevent innocuous_kevent
15098  
15099   /* System header to define __stub macros and hopefully few prototypes,
15100 <    which can conflict with char kevent (); below.
14328 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14329 <    <limits.h> exists even on freestanding compilers.  */
14330 <
14331 < #ifdef __STDC__
14332 < # include <limits.h>
14333 < #else
14334 < # include <assert.h>
14335 < #endif
15100 >   which can conflict with char kevent (); below.  */
15101  
15102 + #include <limits.h>
15103   #undef kevent
15104  
15105   /* Override any GCC internal prototype to avoid an error.
# Line 14351 | Line 15117 | choke me
15117   #endif
15118  
15119   int
15120 < main ()
15120 > main (void)
15121   {
15122   return kevent ();
15123    ;
15124    return 0;
15125   }
15126   _ACEOF
15127 < if ac_fn_c_try_link "$LINENO"; then :
15127 > if ac_fn_c_try_link "$LINENO"
15128 > then :
15129    is_kqueue_mechanism_available="yes"
15130 < else
15130 > else $as_nop
15131    is_kqueue_mechanism_available="no"
15132   fi
15133 < rm -f core conftest.err conftest.$ac_objext \
15133 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
15134      conftest$ac_exeext conftest.$ac_ext
15135  
15136    iopoll_mechanism_epoll=2
15137  
15138 < cat >>confdefs.h <<_ACEOF
14372 < #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14373 < _ACEOF
15138 > printf "%s\n" "#define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll" >>confdefs.h
15139  
15140    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141   /* end confdefs.h.  */
15142   #include <sys/epoll.h>
15143   int
15144 < main ()
15144 > main (void)
15145   {
15146   epoll_create1(EPOLL_CLOEXEC);
15147    ;
15148    return 0;
15149   }
15150   _ACEOF
15151 < if ac_fn_c_try_link "$LINENO"; then :
15151 > if ac_fn_c_try_link "$LINENO"
15152 > then :
15153    is_epoll_mechanism_available="yes"
15154 < else
15154 > else $as_nop
15155    is_epoll_mechanism_available="no"
15156   fi
15157 < rm -f core conftest.err conftest.$ac_objext \
15157 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
15158      conftest$ac_exeext conftest.$ac_ext
15159  
15160 <  iopoll_mechanism_devpoll=3
14395 <
14396 < cat >>confdefs.h <<_ACEOF
14397 < #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
14398 < _ACEOF
14399 <
14400 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14401 < /* end confdefs.h.  */
14402 < #include <devpoll.h>
14403 < int
14404 < main ()
14405 < {
14406 <
14407 <  ;
14408 <  return 0;
14409 < }
14410 < _ACEOF
14411 < if ac_fn_c_try_compile "$LINENO"; then :
14412 <  is_devpoll_mechanism_available="yes"
14413 < else
14414 <  is_devpoll_mechanism_available="no"
14415 < fi
14416 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14417 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
15160 >  iopoll_mechanism_poll=3
15161  
15162 < $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
14420 <
14421 <  fi
14422 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14423 < /* end confdefs.h.  */
14424 < #include <sys/devpoll.h>
14425 < int
14426 < main ()
14427 < {
14428 <
14429 <  ;
14430 <  return 0;
14431 < }
14432 < _ACEOF
14433 < if ac_fn_c_try_compile "$LINENO"; then :
14434 <  is_devpoll_mechanism_available="yes"
14435 < else
14436 <  is_devpoll_mechanism_available="no"
14437 < fi
14438 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14439 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
14440 <
14441 < $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14442 <
14443 <  fi
14444 <
14445 <  iopoll_mechanism_poll=4
14446 <
14447 < cat >>confdefs.h <<_ACEOF
14448 < #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
14449 < _ACEOF
15162 > printf "%s\n" "#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll" >>confdefs.h
15163  
15164    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165   /* end confdefs.h.  */
# Line 14455 | Line 15168 | _ACEOF
15168   #define poll innocuous_poll
15169  
15170   /* System header to define __stub macros and hopefully few prototypes,
15171 <    which can conflict with char poll (); below.
14459 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14460 <    <limits.h> exists even on freestanding compilers.  */
14461 <
14462 < #ifdef __STDC__
14463 < # include <limits.h>
14464 < #else
14465 < # include <assert.h>
14466 < #endif
15171 >   which can conflict with char poll (); below.  */
15172  
15173 + #include <limits.h>
15174   #undef poll
15175  
15176   /* Override any GCC internal prototype to avoid an error.
# Line 14482 | Line 15188 | choke me
15188   #endif
15189  
15190   int
15191 < main ()
15191 > main (void)
15192   {
15193   return poll ();
15194    ;
15195    return 0;
15196   }
15197   _ACEOF
15198 < if ac_fn_c_try_link "$LINENO"; then :
15198 > if ac_fn_c_try_link "$LINENO"
15199 > then :
15200    is_poll_mechanism_available="yes"
15201 < else
15201 > else $as_nop
15202    is_poll_mechanism_available="no"
15203   fi
15204 < rm -f core conftest.err conftest.$ac_objext \
15204 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
15205      conftest$ac_exeext conftest.$ac_ext
15206  
15207    optimal_iopoll_mechanism="none"
15208 <  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
15208 >  for mechanism in "kqueue" "epoll" "poll" ; do # order is important
15209      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
15210      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
15211        optimal_iopoll_mechanism="$mechanism"
# Line 14508 | Line 15215 | rm -f core conftest.err conftest.$ac_obj
15215  
15216    if test "$desired_iopoll_mechanism" = "none" ; then
15217      if test "$optimal_iopoll_mechanism" = "none" ; then
15218 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
15219 < $as_echo "none" >&6; }
15218 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
15219 > printf "%s\n" "none" >&6; }
15220        as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
15221      else
15222        selected_iopoll_mechanism=$optimal_iopoll_mechanism
15223 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
15224 < $as_echo "$selected_iopoll_mechanism" >&6; }
15223 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
15224 > printf "%s\n" "$selected_iopoll_mechanism" >&6; }
15225      fi
15226    else
15227      eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
15228      if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
15229        selected_iopoll_mechanism=$desired_iopoll_mechanism
15230 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
15231 < $as_echo "$selected_iopoll_mechanism" >&6; }
15230 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
15231 > printf "%s\n" "$selected_iopoll_mechanism" >&6; }
15232      else
15233 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
15234 < $as_echo "none" >&6; }
15233 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
15234 > printf "%s\n" "none" >&6; }
15235        as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
15236      fi
15237    fi
15238  
15239    eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
15240  
15241 < cat >>confdefs.h <<_ACEOF
14535 < #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
14536 < _ACEOF
15241 > printf "%s\n" "#define USE_IOPOLL_MECHANISM $use_iopoll_mechanism" >>confdefs.h
15242  
15243  
15244  
15245    # Check whether --enable-assert was given.
15246 < if test "${enable_assert+set}" = set; then :
15246 > if test ${enable_assert+y}
15247 > then :
15248    enableval=$enable_assert; assert=$enableval
15249 < else
15249 > else $as_nop
15250    assert=no
15251   fi
15252  
15253  
15254 <  if test "$assert" = "no"; then :
15254 >  if test "$assert" = "no"
15255 > then :
15256  
15257 < $as_echo "#define NDEBUG 1" >>confdefs.h
15257 > printf "%s\n" "#define NDEBUG 1" >>confdefs.h
15258  
15259   fi
15260  
15261  
15262    # Check whether --enable-debugging was given.
15263 < if test "${enable_debugging+set}" = set; then :
15263 > if test ${enable_debugging+y}
15264 > then :
15265    enableval=$enable_debugging; debugging="$enableval"
15266 < else
15266 > else $as_nop
15267    debugging="no"
15268   fi
15269  
15270  
15271 <  if test "$debugging" = "yes"; then :
15271 >  if test "$debugging" = "yes"
15272 > then :
15273 >
15274 >    CFLAGS=$(echo "$CFLAGS" | sed -e 's/-O[0-9s]*//g')
15275 >    CFLAGS=$(echo "$CFLAGS" | sed -e 's/-g[0-9]*//g')
15276 >
15277 > if test ${CFLAGS+y}
15278 > then :
15279 >
15280 >  case " $CFLAGS " in #(
15281 >  *" -g -O0 "*) :
15282 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -g -O0"; } >&5
15283 >  (: CFLAGS already contains -g -O0) 2>&5
15284 >  ac_status=$?
15285 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15286 >  test $ac_status = 0; } ;; #(
15287 >  *) :
15288 >
15289 >     as_fn_append CFLAGS " -g -O0"
15290 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15291 >  (: CFLAGS="$CFLAGS") 2>&5
15292 >  ac_status=$?
15293 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15294 >  test $ac_status = 0; }
15295 >     ;;
15296 > esac
15297 >
15298 > else $as_nop
15299 >
15300 >  CFLAGS=-g -O0
15301 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15302 >  (: CFLAGS="$CFLAGS") 2>&5
15303 >  ac_status=$?
15304 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15305 >  test $ac_status = 0; }
15306 >
15307 > fi
15308  
14565    CFLAGS="-Wall -g -O0"
15309  
15310   fi
15311  
15312  
15313    # Check whether --enable-warnings was given.
15314 < if test "${enable_warnings+set}" = set; then :
15314 > if test ${enable_warnings+y}
15315 > then :
15316    enableval=$enable_warnings; warnings="$enableval"
15317 < else
15317 > else $as_nop
15318    warnings="no"
15319   fi
15320  
15321  
15322 <  if test "$warnings" = "yes"; then :
15322 >  if test "$warnings" = "yes"
15323 > then :
15324  
15325  
15326  
15327  
15328  
15329   for flag in -Wall; do
15330 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15331 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15332 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15333 < if eval \${$as_CACHEVAR+:} false; then :
15334 <  $as_echo_n "(cached) " >&6
15335 < else
15330 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15331 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15332 > printf %s "checking whether C compiler accepts $flag... " >&6; }
15333 > if eval test \${$as_CACHEVAR+y}
15334 > then :
15335 >  printf %s "(cached) " >&6
15336 > else $as_nop
15337  
15338    ax_check_save_flags=$CFLAGS
15339    CFLAGS="$CFLAGS  $flag"
# Line 14595 | Line 15341 | else
15341   /* end confdefs.h.  */
15342  
15343   int
15344 < main ()
15344 > main (void)
15345   {
15346  
15347    ;
15348    return 0;
15349   }
15350   _ACEOF
15351 < if ac_fn_c_try_compile "$LINENO"; then :
15351 > if ac_fn_c_try_compile "$LINENO"
15352 > then :
15353    eval "$as_CACHEVAR=yes"
15354 < else
15354 > else $as_nop
15355    eval "$as_CACHEVAR=no"
15356   fi
15357 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15357 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15358    CFLAGS=$ax_check_save_flags
15359   fi
15360   eval ac_res=\$$as_CACHEVAR
15361 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15362 < $as_echo "$ac_res" >&6; }
15363 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15361 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15362 > printf "%s\n" "$ac_res" >&6; }
15363 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15364 > then :
15365  
15366 < if ${CFLAGS+:} false; then :
15366 > if test ${CFLAGS+y}
15367 > then :
15368  
15369    case " $CFLAGS " in #(
15370    *" $flag "*) :
15371 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15371 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15372    (: CFLAGS already contains $flag) 2>&5
15373    ac_status=$?
15374 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15374 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15375    test $ac_status = 0; } ;; #(
15376    *) :
15377  
15378       as_fn_append CFLAGS " $flag"
15379 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15379 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15380    (: CFLAGS="$CFLAGS") 2>&5
15381    ac_status=$?
15382 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15383    test $ac_status = 0; }
15384       ;;
15385   esac
15386  
15387 < else
15387 > else $as_nop
15388  
15389    CFLAGS=$flag
15390 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15390 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15391    (: CFLAGS="$CFLAGS") 2>&5
15392    ac_status=$?
15393 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15393 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15394    test $ac_status = 0; }
15395  
15396   fi
15397  
15398 < else
15398 > else $as_nop
15399    :
15400   fi
15401  
# Line 14657 | Line 15406 | done
15406  
15407  
15408   for flag in -Wbad-function-cast; do
15409 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15410 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15411 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15412 < if eval \${$as_CACHEVAR+:} false; then :
15413 <  $as_echo_n "(cached) " >&6
15414 < else
15409 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15410 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15411 > printf %s "checking whether C compiler accepts $flag... " >&6; }
15412 > if eval test \${$as_CACHEVAR+y}
15413 > then :
15414 >  printf %s "(cached) " >&6
15415 > else $as_nop
15416  
15417    ax_check_save_flags=$CFLAGS
15418    CFLAGS="$CFLAGS  $flag"
# Line 14670 | Line 15420 | else
15420   /* end confdefs.h.  */
15421  
15422   int
15423 < main ()
15423 > main (void)
15424   {
15425  
15426    ;
15427    return 0;
15428   }
15429   _ACEOF
15430 < if ac_fn_c_try_compile "$LINENO"; then :
15430 > if ac_fn_c_try_compile "$LINENO"
15431 > then :
15432    eval "$as_CACHEVAR=yes"
15433 < else
15433 > else $as_nop
15434    eval "$as_CACHEVAR=no"
15435   fi
15436 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15436 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15437    CFLAGS=$ax_check_save_flags
15438   fi
15439   eval ac_res=\$$as_CACHEVAR
15440 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15441 < $as_echo "$ac_res" >&6; }
15442 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15440 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15441 > printf "%s\n" "$ac_res" >&6; }
15442 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15443 > then :
15444  
15445 < if ${CFLAGS+:} false; then :
15445 > if test ${CFLAGS+y}
15446 > then :
15447  
15448    case " $CFLAGS " in #(
15449    *" $flag "*) :
15450 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15450 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15451    (: CFLAGS already contains $flag) 2>&5
15452    ac_status=$?
15453 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15453 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15454    test $ac_status = 0; } ;; #(
15455    *) :
15456  
15457       as_fn_append CFLAGS " $flag"
15458 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15458 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15459    (: CFLAGS="$CFLAGS") 2>&5
15460    ac_status=$?
15461 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15461 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15462    test $ac_status = 0; }
15463       ;;
15464   esac
15465  
15466 < else
15466 > else $as_nop
15467  
15468    CFLAGS=$flag
15469 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15469 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15470    (: CFLAGS="$CFLAGS") 2>&5
15471    ac_status=$?
15472 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15472 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15473    test $ac_status = 0; }
15474  
15475   fi
15476  
15477 < else
15477 > else $as_nop
15478    :
15479   fi
15480  
# Line 14732 | Line 15485 | done
15485  
15486  
15487   for flag in -Wcast-align; do
15488 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15489 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15490 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15491 < if eval \${$as_CACHEVAR+:} false; then :
15492 <  $as_echo_n "(cached) " >&6
15493 < else
15488 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15489 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15490 > printf %s "checking whether C compiler accepts $flag... " >&6; }
15491 > if eval test \${$as_CACHEVAR+y}
15492 > then :
15493 >  printf %s "(cached) " >&6
15494 > else $as_nop
15495  
15496    ax_check_save_flags=$CFLAGS
15497    CFLAGS="$CFLAGS  $flag"
# Line 14745 | Line 15499 | else
15499   /* end confdefs.h.  */
15500  
15501   int
15502 < main ()
15502 > main (void)
15503   {
15504  
15505    ;
15506    return 0;
15507   }
15508   _ACEOF
15509 < if ac_fn_c_try_compile "$LINENO"; then :
15509 > if ac_fn_c_try_compile "$LINENO"
15510 > then :
15511    eval "$as_CACHEVAR=yes"
15512 < else
15512 > else $as_nop
15513    eval "$as_CACHEVAR=no"
15514   fi
15515 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15515 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15516    CFLAGS=$ax_check_save_flags
15517   fi
15518   eval ac_res=\$$as_CACHEVAR
15519 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15520 < $as_echo "$ac_res" >&6; }
15521 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15519 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15520 > printf "%s\n" "$ac_res" >&6; }
15521 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15522 > then :
15523  
15524 < if ${CFLAGS+:} false; then :
15524 > if test ${CFLAGS+y}
15525 > then :
15526  
15527    case " $CFLAGS " in #(
15528    *" $flag "*) :
15529 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15529 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15530    (: CFLAGS already contains $flag) 2>&5
15531    ac_status=$?
15532 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15532 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15533    test $ac_status = 0; } ;; #(
15534    *) :
15535  
15536       as_fn_append CFLAGS " $flag"
15537 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15537 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15538    (: CFLAGS="$CFLAGS") 2>&5
15539    ac_status=$?
15540 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15540 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15541    test $ac_status = 0; }
15542       ;;
15543   esac
15544  
15545 < else
15545 > else $as_nop
15546  
15547    CFLAGS=$flag
15548 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15548 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15549    (: CFLAGS="$CFLAGS") 2>&5
15550    ac_status=$?
15551 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15551 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15552    test $ac_status = 0; }
15553  
15554   fi
15555  
15556 < else
15556 > else $as_nop
15557    :
15558   fi
15559  
# Line 14807 | Line 15564 | done
15564  
15565  
15566   for flag in -Wcast-function-type; do
15567 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15568 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15569 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15570 < if eval \${$as_CACHEVAR+:} false; then :
15571 <  $as_echo_n "(cached) " >&6
15572 < else
15567 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15568 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15569 > printf %s "checking whether C compiler accepts $flag... " >&6; }
15570 > if eval test \${$as_CACHEVAR+y}
15571 > then :
15572 >  printf %s "(cached) " >&6
15573 > else $as_nop
15574  
15575    ax_check_save_flags=$CFLAGS
15576    CFLAGS="$CFLAGS  $flag"
# Line 14820 | Line 15578 | else
15578   /* end confdefs.h.  */
15579  
15580   int
15581 < main ()
15581 > main (void)
15582   {
15583  
15584    ;
15585    return 0;
15586   }
15587   _ACEOF
15588 < if ac_fn_c_try_compile "$LINENO"; then :
15588 > if ac_fn_c_try_compile "$LINENO"
15589 > then :
15590    eval "$as_CACHEVAR=yes"
15591 < else
15591 > else $as_nop
15592    eval "$as_CACHEVAR=no"
15593   fi
15594 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15594 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15595    CFLAGS=$ax_check_save_flags
15596   fi
15597   eval ac_res=\$$as_CACHEVAR
15598 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15599 < $as_echo "$ac_res" >&6; }
15600 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15598 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15599 > printf "%s\n" "$ac_res" >&6; }
15600 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15601 > then :
15602  
15603 < if ${CFLAGS+:} false; then :
15603 > if test ${CFLAGS+y}
15604 > then :
15605  
15606    case " $CFLAGS " in #(
15607    *" $flag "*) :
15608 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15608 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15609    (: CFLAGS already contains $flag) 2>&5
15610    ac_status=$?
15611 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15611 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15612    test $ac_status = 0; } ;; #(
15613    *) :
15614  
15615       as_fn_append CFLAGS " $flag"
15616 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15616 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15617    (: CFLAGS="$CFLAGS") 2>&5
15618    ac_status=$?
15619 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15619 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15620    test $ac_status = 0; }
15621       ;;
15622   esac
15623  
15624 < else
15624 > else $as_nop
15625  
15626    CFLAGS=$flag
15627 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15627 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15628    (: CFLAGS="$CFLAGS") 2>&5
15629    ac_status=$?
15630 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15630 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15631    test $ac_status = 0; }
15632  
15633   fi
15634  
15635 < else
15635 > else $as_nop
15636    :
15637   fi
15638  
# Line 14882 | Line 15643 | done
15643  
15644  
15645   for flag in -Wcast-qual; do
15646 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15647 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15648 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15649 < if eval \${$as_CACHEVAR+:} false; then :
15650 <  $as_echo_n "(cached) " >&6
15651 < else
15646 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15647 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15648 > printf %s "checking whether C compiler accepts $flag... " >&6; }
15649 > if eval test \${$as_CACHEVAR+y}
15650 > then :
15651 >  printf %s "(cached) " >&6
15652 > else $as_nop
15653  
15654    ax_check_save_flags=$CFLAGS
15655    CFLAGS="$CFLAGS  $flag"
# Line 14895 | Line 15657 | else
15657   /* end confdefs.h.  */
15658  
15659   int
15660 < main ()
15660 > main (void)
15661   {
15662  
15663    ;
15664    return 0;
15665   }
15666   _ACEOF
15667 < if ac_fn_c_try_compile "$LINENO"; then :
15667 > if ac_fn_c_try_compile "$LINENO"
15668 > then :
15669    eval "$as_CACHEVAR=yes"
15670 < else
15670 > else $as_nop
15671    eval "$as_CACHEVAR=no"
15672   fi
15673 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15673 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15674    CFLAGS=$ax_check_save_flags
15675   fi
15676   eval ac_res=\$$as_CACHEVAR
15677 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15678 < $as_echo "$ac_res" >&6; }
15679 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15677 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15678 > printf "%s\n" "$ac_res" >&6; }
15679 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15680 > then :
15681  
15682 < if ${CFLAGS+:} false; then :
15682 > if test ${CFLAGS+y}
15683 > then :
15684  
15685    case " $CFLAGS " in #(
15686    *" $flag "*) :
15687 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15687 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15688    (: CFLAGS already contains $flag) 2>&5
15689    ac_status=$?
15690 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15690 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15691    test $ac_status = 0; } ;; #(
15692    *) :
15693  
15694       as_fn_append CFLAGS " $flag"
15695 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15695 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15696    (: CFLAGS="$CFLAGS") 2>&5
15697    ac_status=$?
15698 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15698 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15699    test $ac_status = 0; }
15700       ;;
15701   esac
15702  
15703 < else
15703 > else $as_nop
15704  
15705    CFLAGS=$flag
15706 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15706 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15707    (: CFLAGS="$CFLAGS") 2>&5
15708    ac_status=$?
15709 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15709 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15710    test $ac_status = 0; }
15711  
15712   fi
15713  
15714 < else
15714 > else $as_nop
15715    :
15716   fi
15717  
# Line 14957 | Line 15722 | done
15722  
15723  
15724   for flag in -Wclobbered; do
15725 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15726 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15727 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15728 < if eval \${$as_CACHEVAR+:} false; then :
15729 <  $as_echo_n "(cached) " >&6
15730 < else
15725 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15726 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15727 > printf %s "checking whether C compiler accepts $flag... " >&6; }
15728 > if eval test \${$as_CACHEVAR+y}
15729 > then :
15730 >  printf %s "(cached) " >&6
15731 > else $as_nop
15732  
15733    ax_check_save_flags=$CFLAGS
15734    CFLAGS="$CFLAGS  $flag"
# Line 14970 | Line 15736 | else
15736   /* end confdefs.h.  */
15737  
15738   int
15739 < main ()
15739 > main (void)
15740   {
15741  
15742    ;
15743    return 0;
15744   }
15745   _ACEOF
15746 < if ac_fn_c_try_compile "$LINENO"; then :
15746 > if ac_fn_c_try_compile "$LINENO"
15747 > then :
15748    eval "$as_CACHEVAR=yes"
15749 < else
15749 > else $as_nop
15750    eval "$as_CACHEVAR=no"
15751   fi
15752 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15753    CFLAGS=$ax_check_save_flags
15754   fi
15755   eval ac_res=\$$as_CACHEVAR
15756 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15757 < $as_echo "$ac_res" >&6; }
15758 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15756 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15757 > printf "%s\n" "$ac_res" >&6; }
15758 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15759 > then :
15760  
15761 < if ${CFLAGS+:} false; then :
15761 > if test ${CFLAGS+y}
15762 > then :
15763  
15764    case " $CFLAGS " in #(
15765    *" $flag "*) :
15766 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15766 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15767    (: CFLAGS already contains $flag) 2>&5
15768    ac_status=$?
15769 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15769 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15770    test $ac_status = 0; } ;; #(
15771    *) :
15772  
15773       as_fn_append CFLAGS " $flag"
15774 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15774 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15775    (: CFLAGS="$CFLAGS") 2>&5
15776    ac_status=$?
15777 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15777 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15778    test $ac_status = 0; }
15779       ;;
15780   esac
15781  
15782 < else
15782 > else $as_nop
15783  
15784    CFLAGS=$flag
15785 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15785 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15786    (: CFLAGS="$CFLAGS") 2>&5
15787    ac_status=$?
15788 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15788 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15789    test $ac_status = 0; }
15790  
15791   fi
15792  
15793 < else
15793 > else $as_nop
15794    :
15795   fi
15796  
# Line 15032 | Line 15801 | done
15801  
15802  
15803   for flag in -Wduplicated-cond; do
15804 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15805 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15806 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15807 < if eval \${$as_CACHEVAR+:} false; then :
15808 <  $as_echo_n "(cached) " >&6
15809 < else
15804 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15805 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15806 > printf %s "checking whether C compiler accepts $flag... " >&6; }
15807 > if eval test \${$as_CACHEVAR+y}
15808 > then :
15809 >  printf %s "(cached) " >&6
15810 > else $as_nop
15811  
15812    ax_check_save_flags=$CFLAGS
15813    CFLAGS="$CFLAGS  $flag"
# Line 15045 | Line 15815 | else
15815   /* end confdefs.h.  */
15816  
15817   int
15818 < main ()
15818 > main (void)
15819   {
15820  
15821    ;
15822    return 0;
15823   }
15824   _ACEOF
15825 < if ac_fn_c_try_compile "$LINENO"; then :
15825 > if ac_fn_c_try_compile "$LINENO"
15826 > then :
15827    eval "$as_CACHEVAR=yes"
15828 < else
15828 > else $as_nop
15829    eval "$as_CACHEVAR=no"
15830   fi
15831 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15831 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15832    CFLAGS=$ax_check_save_flags
15833   fi
15834   eval ac_res=\$$as_CACHEVAR
15835 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15836 < $as_echo "$ac_res" >&6; }
15837 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15835 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15836 > printf "%s\n" "$ac_res" >&6; }
15837 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15838 > then :
15839  
15840 < if ${CFLAGS+:} false; then :
15840 > if test ${CFLAGS+y}
15841 > then :
15842  
15843    case " $CFLAGS " in #(
15844    *" $flag "*) :
15845 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15845 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15846    (: CFLAGS already contains $flag) 2>&5
15847    ac_status=$?
15848 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15848 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15849    test $ac_status = 0; } ;; #(
15850    *) :
15851  
15852       as_fn_append CFLAGS " $flag"
15853 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15853 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15854    (: CFLAGS="$CFLAGS") 2>&5
15855    ac_status=$?
15856 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15856 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15857    test $ac_status = 0; }
15858       ;;
15859   esac
15860  
15861 < else
15861 > else $as_nop
15862  
15863    CFLAGS=$flag
15864 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15864 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15865    (: CFLAGS="$CFLAGS") 2>&5
15866    ac_status=$?
15867 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15867 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15868    test $ac_status = 0; }
15869  
15870   fi
15871  
15872 < else
15872 > else $as_nop
15873    :
15874   fi
15875  
# Line 15107 | Line 15880 | done
15880  
15881  
15882   for flag in -Wempty-body; do
15883 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15884 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15885 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15886 < if eval \${$as_CACHEVAR+:} false; then :
15887 <  $as_echo_n "(cached) " >&6
15888 < else
15883 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15884 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15885 > printf %s "checking whether C compiler accepts $flag... " >&6; }
15886 > if eval test \${$as_CACHEVAR+y}
15887 > then :
15888 >  printf %s "(cached) " >&6
15889 > else $as_nop
15890  
15891    ax_check_save_flags=$CFLAGS
15892    CFLAGS="$CFLAGS  $flag"
# Line 15120 | Line 15894 | else
15894   /* end confdefs.h.  */
15895  
15896   int
15897 < main ()
15897 > main (void)
15898   {
15899  
15900    ;
15901    return 0;
15902   }
15903   _ACEOF
15904 < if ac_fn_c_try_compile "$LINENO"; then :
15904 > if ac_fn_c_try_compile "$LINENO"
15905 > then :
15906    eval "$as_CACHEVAR=yes"
15907 < else
15907 > else $as_nop
15908    eval "$as_CACHEVAR=no"
15909   fi
15910 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15911    CFLAGS=$ax_check_save_flags
15912   fi
15913   eval ac_res=\$$as_CACHEVAR
15914 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15915 < $as_echo "$ac_res" >&6; }
15916 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15914 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15915 > printf "%s\n" "$ac_res" >&6; }
15916 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15917 > then :
15918  
15919 < if ${CFLAGS+:} false; then :
15919 > if test ${CFLAGS+y}
15920 > then :
15921  
15922    case " $CFLAGS " in #(
15923    *" $flag "*) :
15924 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15924 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15925    (: CFLAGS already contains $flag) 2>&5
15926    ac_status=$?
15927 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15927 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15928    test $ac_status = 0; } ;; #(
15929    *) :
15930  
15931       as_fn_append CFLAGS " $flag"
15932 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15932 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15933    (: CFLAGS="$CFLAGS") 2>&5
15934    ac_status=$?
15935 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15935 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15936    test $ac_status = 0; }
15937       ;;
15938   esac
15939  
15940 < else
15940 > else $as_nop
15941  
15942    CFLAGS=$flag
15943 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15943 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15944    (: CFLAGS="$CFLAGS") 2>&5
15945    ac_status=$?
15946 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15946 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15947    test $ac_status = 0; }
15948  
15949   fi
15950  
15951 < else
15951 > else $as_nop
15952    :
15953   fi
15954  
# Line 15182 | Line 15959 | done
15959  
15960  
15961   for flag in -Wignored-qualifiers; do
15962 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15963 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15964 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15965 < if eval \${$as_CACHEVAR+:} false; then :
15966 <  $as_echo_n "(cached) " >&6
15967 < else
15962 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15963 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15964 > printf %s "checking whether C compiler accepts $flag... " >&6; }
15965 > if eval test \${$as_CACHEVAR+y}
15966 > then :
15967 >  printf %s "(cached) " >&6
15968 > else $as_nop
15969  
15970    ax_check_save_flags=$CFLAGS
15971    CFLAGS="$CFLAGS  $flag"
# Line 15195 | Line 15973 | else
15973   /* end confdefs.h.  */
15974  
15975   int
15976 < main ()
15976 > main (void)
15977   {
15978  
15979    ;
15980    return 0;
15981   }
15982   _ACEOF
15983 < if ac_fn_c_try_compile "$LINENO"; then :
15983 > if ac_fn_c_try_compile "$LINENO"
15984 > then :
15985    eval "$as_CACHEVAR=yes"
15986 < else
15986 > else $as_nop
15987    eval "$as_CACHEVAR=no"
15988   fi
15989 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15989 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15990    CFLAGS=$ax_check_save_flags
15991   fi
15992   eval ac_res=\$$as_CACHEVAR
15993 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15994 < $as_echo "$ac_res" >&6; }
15995 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15993 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15994 > printf "%s\n" "$ac_res" >&6; }
15995 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15996 > then :
15997  
15998 < if ${CFLAGS+:} false; then :
15998 > if test ${CFLAGS+y}
15999 > then :
16000  
16001    case " $CFLAGS " in #(
16002    *" $flag "*) :
16003 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16003 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16004    (: CFLAGS already contains $flag) 2>&5
16005    ac_status=$?
16006 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16006 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16007    test $ac_status = 0; } ;; #(
16008    *) :
16009  
16010       as_fn_append CFLAGS " $flag"
16011 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16011 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16012    (: CFLAGS="$CFLAGS") 2>&5
16013    ac_status=$?
16014 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16014 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16015    test $ac_status = 0; }
16016       ;;
16017   esac
16018  
16019 < else
16019 > else $as_nop
16020  
16021    CFLAGS=$flag
16022 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16022 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16023    (: CFLAGS="$CFLAGS") 2>&5
16024    ac_status=$?
16025 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16025 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16026    test $ac_status = 0; }
16027  
16028   fi
16029  
16030 < else
16030 > else $as_nop
16031    :
16032   fi
16033  
# Line 15257 | Line 16038 | done
16038  
16039  
16040   for flag in -Wlogical-op; do
16041 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16042 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16043 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16044 < if eval \${$as_CACHEVAR+:} false; then :
16045 <  $as_echo_n "(cached) " >&6
16046 < else
16041 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16042 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16043 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16044 > if eval test \${$as_CACHEVAR+y}
16045 > then :
16046 >  printf %s "(cached) " >&6
16047 > else $as_nop
16048  
16049    ax_check_save_flags=$CFLAGS
16050    CFLAGS="$CFLAGS  $flag"
# Line 15270 | Line 16052 | else
16052   /* end confdefs.h.  */
16053  
16054   int
16055 < main ()
16055 > main (void)
16056   {
16057  
16058    ;
16059    return 0;
16060   }
16061   _ACEOF
16062 < if ac_fn_c_try_compile "$LINENO"; then :
16062 > if ac_fn_c_try_compile "$LINENO"
16063 > then :
16064    eval "$as_CACHEVAR=yes"
16065 < else
16065 > else $as_nop
16066    eval "$as_CACHEVAR=no"
16067   fi
16068 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16068 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16069    CFLAGS=$ax_check_save_flags
16070   fi
16071   eval ac_res=\$$as_CACHEVAR
16072 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16073 < $as_echo "$ac_res" >&6; }
16074 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16072 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16073 > printf "%s\n" "$ac_res" >&6; }
16074 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16075 > then :
16076  
16077 < if ${CFLAGS+:} false; then :
16077 > if test ${CFLAGS+y}
16078 > then :
16079  
16080    case " $CFLAGS " in #(
16081    *" $flag "*) :
16082 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16082 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16083    (: CFLAGS already contains $flag) 2>&5
16084    ac_status=$?
16085 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16085 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16086    test $ac_status = 0; } ;; #(
16087    *) :
16088  
16089       as_fn_append CFLAGS " $flag"
16090 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16090 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16091    (: CFLAGS="$CFLAGS") 2>&5
16092    ac_status=$?
16093 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16093 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16094    test $ac_status = 0; }
16095       ;;
16096   esac
16097  
16098 < else
16098 > else $as_nop
16099  
16100    CFLAGS=$flag
16101 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16101 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16102    (: CFLAGS="$CFLAGS") 2>&5
16103    ac_status=$?
16104 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16104 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16105    test $ac_status = 0; }
16106  
16107   fi
16108  
16109 < else
16109 > else $as_nop
16110    :
16111   fi
16112  
# Line 15332 | Line 16117 | done
16117  
16118  
16119   for flag in -Wmissing-declarations; do
16120 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16121 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16122 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16123 < if eval \${$as_CACHEVAR+:} false; then :
16124 <  $as_echo_n "(cached) " >&6
16125 < else
16120 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16121 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16122 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16123 > if eval test \${$as_CACHEVAR+y}
16124 > then :
16125 >  printf %s "(cached) " >&6
16126 > else $as_nop
16127  
16128    ax_check_save_flags=$CFLAGS
16129    CFLAGS="$CFLAGS  $flag"
# Line 15345 | Line 16131 | else
16131   /* end confdefs.h.  */
16132  
16133   int
16134 < main ()
16134 > main (void)
16135   {
16136  
16137    ;
16138    return 0;
16139   }
16140   _ACEOF
16141 < if ac_fn_c_try_compile "$LINENO"; then :
16141 > if ac_fn_c_try_compile "$LINENO"
16142 > then :
16143    eval "$as_CACHEVAR=yes"
16144 < else
16144 > else $as_nop
16145    eval "$as_CACHEVAR=no"
16146   fi
16147 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16147 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16148    CFLAGS=$ax_check_save_flags
16149   fi
16150   eval ac_res=\$$as_CACHEVAR
16151 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16152 < $as_echo "$ac_res" >&6; }
16153 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16151 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16152 > printf "%s\n" "$ac_res" >&6; }
16153 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16154 > then :
16155  
16156 < if ${CFLAGS+:} false; then :
16156 > if test ${CFLAGS+y}
16157 > then :
16158  
16159    case " $CFLAGS " in #(
16160    *" $flag "*) :
16161 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16161 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16162    (: CFLAGS already contains $flag) 2>&5
16163    ac_status=$?
16164 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16164 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16165    test $ac_status = 0; } ;; #(
16166    *) :
16167  
16168       as_fn_append CFLAGS " $flag"
16169 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16169 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16170    (: CFLAGS="$CFLAGS") 2>&5
16171    ac_status=$?
16172 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16172 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16173    test $ac_status = 0; }
16174       ;;
16175   esac
16176  
16177 < else
16177 > else $as_nop
16178  
16179    CFLAGS=$flag
16180 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16180 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16181    (: CFLAGS="$CFLAGS") 2>&5
16182    ac_status=$?
16183 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16183 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16184    test $ac_status = 0; }
16185  
16186   fi
16187  
16188 < else
16188 > else $as_nop
16189    :
16190   fi
16191  
# Line 15407 | Line 16196 | done
16196  
16197  
16198   for flag in -Wmissing-field-initializers; do
16199 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16200 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16201 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16202 < if eval \${$as_CACHEVAR+:} false; then :
16203 <  $as_echo_n "(cached) " >&6
16204 < else
16199 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16200 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16201 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16202 > if eval test \${$as_CACHEVAR+y}
16203 > then :
16204 >  printf %s "(cached) " >&6
16205 > else $as_nop
16206  
16207    ax_check_save_flags=$CFLAGS
16208    CFLAGS="$CFLAGS  $flag"
# Line 15420 | Line 16210 | else
16210   /* end confdefs.h.  */
16211  
16212   int
16213 < main ()
16213 > main (void)
16214   {
16215  
16216    ;
16217    return 0;
16218   }
16219   _ACEOF
16220 < if ac_fn_c_try_compile "$LINENO"; then :
16220 > if ac_fn_c_try_compile "$LINENO"
16221 > then :
16222    eval "$as_CACHEVAR=yes"
16223 < else
16223 > else $as_nop
16224    eval "$as_CACHEVAR=no"
16225   fi
16226 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16226 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16227    CFLAGS=$ax_check_save_flags
16228   fi
16229   eval ac_res=\$$as_CACHEVAR
16230 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16231 < $as_echo "$ac_res" >&6; }
16232 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16230 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16231 > printf "%s\n" "$ac_res" >&6; }
16232 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16233 > then :
16234  
16235 < if ${CFLAGS+:} false; then :
16235 > if test ${CFLAGS+y}
16236 > then :
16237  
16238    case " $CFLAGS " in #(
16239    *" $flag "*) :
16240 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16240 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16241    (: CFLAGS already contains $flag) 2>&5
16242    ac_status=$?
16243 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16243 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16244    test $ac_status = 0; } ;; #(
16245    *) :
16246  
16247       as_fn_append CFLAGS " $flag"
16248 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16248 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16249    (: CFLAGS="$CFLAGS") 2>&5
16250    ac_status=$?
16251 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16251 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16252    test $ac_status = 0; }
16253       ;;
16254   esac
16255  
16256 < else
16256 > else $as_nop
16257  
16258    CFLAGS=$flag
16259 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16259 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16260    (: CFLAGS="$CFLAGS") 2>&5
16261    ac_status=$?
16262 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16262 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16263    test $ac_status = 0; }
16264  
16265   fi
16266  
16267 < else
16267 > else $as_nop
16268    :
16269   fi
16270  
# Line 15482 | Line 16275 | done
16275  
16276  
16277   for flag in -Wmissing-include-dirs; do
16278 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16279 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16280 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16281 < if eval \${$as_CACHEVAR+:} false; then :
16282 <  $as_echo_n "(cached) " >&6
16283 < else
16278 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16279 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16280 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16281 > if eval test \${$as_CACHEVAR+y}
16282 > then :
16283 >  printf %s "(cached) " >&6
16284 > else $as_nop
16285  
16286    ax_check_save_flags=$CFLAGS
16287    CFLAGS="$CFLAGS  $flag"
# Line 15495 | Line 16289 | else
16289   /* end confdefs.h.  */
16290  
16291   int
16292 < main ()
16292 > main (void)
16293   {
16294  
16295    ;
16296    return 0;
16297   }
16298   _ACEOF
16299 < if ac_fn_c_try_compile "$LINENO"; then :
16299 > if ac_fn_c_try_compile "$LINENO"
16300 > then :
16301    eval "$as_CACHEVAR=yes"
16302 < else
16302 > else $as_nop
16303    eval "$as_CACHEVAR=no"
16304   fi
16305 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16305 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16306    CFLAGS=$ax_check_save_flags
16307   fi
16308   eval ac_res=\$$as_CACHEVAR
16309 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16310 < $as_echo "$ac_res" >&6; }
16311 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16309 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16310 > printf "%s\n" "$ac_res" >&6; }
16311 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16312 > then :
16313  
16314 < if ${CFLAGS+:} false; then :
16314 > if test ${CFLAGS+y}
16315 > then :
16316  
16317    case " $CFLAGS " in #(
16318    *" $flag "*) :
16319 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16319 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16320    (: CFLAGS already contains $flag) 2>&5
16321    ac_status=$?
16322 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16322 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16323    test $ac_status = 0; } ;; #(
16324    *) :
16325  
16326       as_fn_append CFLAGS " $flag"
16327 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16327 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16328    (: CFLAGS="$CFLAGS") 2>&5
16329    ac_status=$?
16330 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16330 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16331    test $ac_status = 0; }
16332       ;;
16333   esac
16334  
16335 < else
16335 > else $as_nop
16336  
16337    CFLAGS=$flag
16338 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16338 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16339    (: CFLAGS="$CFLAGS") 2>&5
16340    ac_status=$?
16341 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16341 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16342    test $ac_status = 0; }
16343  
16344   fi
16345  
16346 < else
16346 > else $as_nop
16347    :
16348   fi
16349  
# Line 15557 | Line 16354 | done
16354  
16355  
16356   for flag in -Wmissing-parameter-type; do
16357 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16358 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16359 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16360 < if eval \${$as_CACHEVAR+:} false; then :
16361 <  $as_echo_n "(cached) " >&6
16362 < else
16357 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16358 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16359 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16360 > if eval test \${$as_CACHEVAR+y}
16361 > then :
16362 >  printf %s "(cached) " >&6
16363 > else $as_nop
16364  
16365    ax_check_save_flags=$CFLAGS
16366    CFLAGS="$CFLAGS  $flag"
# Line 15570 | Line 16368 | else
16368   /* end confdefs.h.  */
16369  
16370   int
16371 < main ()
16371 > main (void)
16372   {
16373  
16374    ;
16375    return 0;
16376   }
16377   _ACEOF
16378 < if ac_fn_c_try_compile "$LINENO"; then :
16378 > if ac_fn_c_try_compile "$LINENO"
16379 > then :
16380    eval "$as_CACHEVAR=yes"
16381 < else
16381 > else $as_nop
16382    eval "$as_CACHEVAR=no"
16383   fi
16384 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16384 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16385    CFLAGS=$ax_check_save_flags
16386   fi
16387   eval ac_res=\$$as_CACHEVAR
16388 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16389 < $as_echo "$ac_res" >&6; }
16390 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16388 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16389 > printf "%s\n" "$ac_res" >&6; }
16390 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16391 > then :
16392  
16393 < if ${CFLAGS+:} false; then :
16393 > if test ${CFLAGS+y}
16394 > then :
16395  
16396    case " $CFLAGS " in #(
16397    *" $flag "*) :
16398 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16398 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16399    (: CFLAGS already contains $flag) 2>&5
16400    ac_status=$?
16401 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16401 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16402    test $ac_status = 0; } ;; #(
16403    *) :
16404  
16405       as_fn_append CFLAGS " $flag"
16406 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16406 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16407    (: CFLAGS="$CFLAGS") 2>&5
16408    ac_status=$?
16409 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16409 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16410    test $ac_status = 0; }
16411       ;;
16412   esac
16413  
16414 < else
16414 > else $as_nop
16415  
16416    CFLAGS=$flag
16417 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16417 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16418    (: CFLAGS="$CFLAGS") 2>&5
16419    ac_status=$?
16420 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16420 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16421    test $ac_status = 0; }
16422  
16423   fi
16424  
16425 < else
16425 > else $as_nop
16426    :
16427   fi
16428  
# Line 15632 | Line 16433 | done
16433  
16434  
16435   for flag in -Wmissing-prototypes; do
16436 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16437 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16438 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16439 < if eval \${$as_CACHEVAR+:} false; then :
16440 <  $as_echo_n "(cached) " >&6
16441 < else
16436 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16437 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16438 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16439 > if eval test \${$as_CACHEVAR+y}
16440 > then :
16441 >  printf %s "(cached) " >&6
16442 > else $as_nop
16443  
16444    ax_check_save_flags=$CFLAGS
16445    CFLAGS="$CFLAGS  $flag"
# Line 15645 | Line 16447 | else
16447   /* end confdefs.h.  */
16448  
16449   int
16450 < main ()
16450 > main (void)
16451   {
16452  
16453    ;
16454    return 0;
16455   }
16456   _ACEOF
16457 < if ac_fn_c_try_compile "$LINENO"; then :
16457 > if ac_fn_c_try_compile "$LINENO"
16458 > then :
16459    eval "$as_CACHEVAR=yes"
16460 < else
16460 > else $as_nop
16461    eval "$as_CACHEVAR=no"
16462   fi
16463 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16463 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16464    CFLAGS=$ax_check_save_flags
16465   fi
16466   eval ac_res=\$$as_CACHEVAR
16467 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16468 < $as_echo "$ac_res" >&6; }
16469 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16467 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16468 > printf "%s\n" "$ac_res" >&6; }
16469 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16470 > then :
16471  
16472 < if ${CFLAGS+:} false; then :
16472 > if test ${CFLAGS+y}
16473 > then :
16474  
16475    case " $CFLAGS " in #(
16476    *" $flag "*) :
16477 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16477 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16478    (: CFLAGS already contains $flag) 2>&5
16479    ac_status=$?
16480 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16480 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16481    test $ac_status = 0; } ;; #(
16482    *) :
16483  
16484       as_fn_append CFLAGS " $flag"
16485 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16485 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16486    (: CFLAGS="$CFLAGS") 2>&5
16487    ac_status=$?
16488 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16488 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16489    test $ac_status = 0; }
16490       ;;
16491   esac
16492  
16493 < else
16493 > else $as_nop
16494  
16495    CFLAGS=$flag
16496 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16496 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16497    (: CFLAGS="$CFLAGS") 2>&5
16498    ac_status=$?
16499 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16499 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16500    test $ac_status = 0; }
16501  
16502   fi
16503  
16504 < else
16504 > else $as_nop
16505    :
16506   fi
16507  
# Line 15707 | Line 16512 | done
16512  
16513  
16514   for flag in -Wnested-externs; do
16515 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16516 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16517 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16518 < if eval \${$as_CACHEVAR+:} false; then :
16519 <  $as_echo_n "(cached) " >&6
16520 < else
16515 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16516 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16517 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16518 > if eval test \${$as_CACHEVAR+y}
16519 > then :
16520 >  printf %s "(cached) " >&6
16521 > else $as_nop
16522  
16523    ax_check_save_flags=$CFLAGS
16524    CFLAGS="$CFLAGS  $flag"
# Line 15720 | Line 16526 | else
16526   /* end confdefs.h.  */
16527  
16528   int
16529 < main ()
16529 > main (void)
16530   {
16531  
16532    ;
16533    return 0;
16534   }
16535   _ACEOF
16536 < if ac_fn_c_try_compile "$LINENO"; then :
16536 > if ac_fn_c_try_compile "$LINENO"
16537 > then :
16538    eval "$as_CACHEVAR=yes"
16539 < else
16539 > else $as_nop
16540    eval "$as_CACHEVAR=no"
16541   fi
16542 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16542 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16543    CFLAGS=$ax_check_save_flags
16544   fi
16545   eval ac_res=\$$as_CACHEVAR
16546 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16547 < $as_echo "$ac_res" >&6; }
16548 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16546 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16547 > printf "%s\n" "$ac_res" >&6; }
16548 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16549 > then :
16550  
16551 < if ${CFLAGS+:} false; then :
16551 > if test ${CFLAGS+y}
16552 > then :
16553  
16554    case " $CFLAGS " in #(
16555    *" $flag "*) :
16556 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16556 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16557    (: CFLAGS already contains $flag) 2>&5
16558    ac_status=$?
16559 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16559 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16560    test $ac_status = 0; } ;; #(
16561    *) :
16562  
16563       as_fn_append CFLAGS " $flag"
16564 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16564 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16565    (: CFLAGS="$CFLAGS") 2>&5
16566    ac_status=$?
16567 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16567 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16568    test $ac_status = 0; }
16569       ;;
16570   esac
16571  
16572 < else
16572 > else $as_nop
16573  
16574    CFLAGS=$flag
16575 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16575 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16576    (: CFLAGS="$CFLAGS") 2>&5
16577    ac_status=$?
16578 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16578 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16579    test $ac_status = 0; }
16580  
16581   fi
16582  
16583 < else
16583 > else $as_nop
16584    :
16585   fi
16586  
# Line 15782 | Line 16591 | done
16591  
16592  
16593   for flag in -Wold-style-declaration; do
16594 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16595 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16596 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16597 < if eval \${$as_CACHEVAR+:} false; then :
16598 <  $as_echo_n "(cached) " >&6
16599 < else
16594 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16595 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16596 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16597 > if eval test \${$as_CACHEVAR+y}
16598 > then :
16599 >  printf %s "(cached) " >&6
16600 > else $as_nop
16601  
16602    ax_check_save_flags=$CFLAGS
16603    CFLAGS="$CFLAGS  $flag"
# Line 15795 | Line 16605 | else
16605   /* end confdefs.h.  */
16606  
16607   int
16608 < main ()
16608 > main (void)
16609   {
16610  
16611    ;
16612    return 0;
16613   }
16614   _ACEOF
16615 < if ac_fn_c_try_compile "$LINENO"; then :
16615 > if ac_fn_c_try_compile "$LINENO"
16616 > then :
16617    eval "$as_CACHEVAR=yes"
16618 < else
16618 > else $as_nop
16619    eval "$as_CACHEVAR=no"
16620   fi
16621 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16621 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16622    CFLAGS=$ax_check_save_flags
16623   fi
16624   eval ac_res=\$$as_CACHEVAR
16625 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16626 < $as_echo "$ac_res" >&6; }
16627 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16625 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16626 > printf "%s\n" "$ac_res" >&6; }
16627 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16628 > then :
16629  
16630 < if ${CFLAGS+:} false; then :
16630 > if test ${CFLAGS+y}
16631 > then :
16632  
16633    case " $CFLAGS " in #(
16634    *" $flag "*) :
16635 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16635 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16636    (: CFLAGS already contains $flag) 2>&5
16637    ac_status=$?
16638 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16638 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16639    test $ac_status = 0; } ;; #(
16640    *) :
16641  
16642       as_fn_append CFLAGS " $flag"
16643 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16643 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16644    (: CFLAGS="$CFLAGS") 2>&5
16645    ac_status=$?
16646 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16646 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16647    test $ac_status = 0; }
16648       ;;
16649   esac
16650  
16651 < else
16651 > else $as_nop
16652  
16653    CFLAGS=$flag
16654 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16654 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16655    (: CFLAGS="$CFLAGS") 2>&5
16656    ac_status=$?
16657 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16657 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16658    test $ac_status = 0; }
16659  
16660   fi
16661  
16662 < else
16662 > else $as_nop
16663    :
16664   fi
16665  
# Line 15857 | Line 16670 | done
16670  
16671  
16672   for flag in -Woverride-init; do
16673 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16674 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16675 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16676 < if eval \${$as_CACHEVAR+:} false; then :
16677 <  $as_echo_n "(cached) " >&6
16678 < else
16673 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16674 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16675 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16676 > if eval test \${$as_CACHEVAR+y}
16677 > then :
16678 >  printf %s "(cached) " >&6
16679 > else $as_nop
16680  
16681    ax_check_save_flags=$CFLAGS
16682    CFLAGS="$CFLAGS  $flag"
# Line 15870 | Line 16684 | else
16684   /* end confdefs.h.  */
16685  
16686   int
16687 < main ()
16687 > main (void)
16688   {
16689  
16690    ;
16691    return 0;
16692   }
16693   _ACEOF
16694 < if ac_fn_c_try_compile "$LINENO"; then :
16694 > if ac_fn_c_try_compile "$LINENO"
16695 > then :
16696    eval "$as_CACHEVAR=yes"
16697 < else
16697 > else $as_nop
16698    eval "$as_CACHEVAR=no"
16699   fi
16700 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16700 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16701    CFLAGS=$ax_check_save_flags
16702   fi
16703   eval ac_res=\$$as_CACHEVAR
16704 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16705 < $as_echo "$ac_res" >&6; }
16706 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16704 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16705 > printf "%s\n" "$ac_res" >&6; }
16706 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16707 > then :
16708  
16709 < if ${CFLAGS+:} false; then :
16709 > if test ${CFLAGS+y}
16710 > then :
16711  
16712    case " $CFLAGS " in #(
16713    *" $flag "*) :
16714 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16714 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16715    (: CFLAGS already contains $flag) 2>&5
16716    ac_status=$?
16717 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16717 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16718    test $ac_status = 0; } ;; #(
16719    *) :
16720  
16721       as_fn_append CFLAGS " $flag"
16722 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16722 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16723    (: CFLAGS="$CFLAGS") 2>&5
16724    ac_status=$?
16725 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16725 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16726    test $ac_status = 0; }
16727       ;;
16728   esac
16729  
16730 < else
16730 > else $as_nop
16731  
16732    CFLAGS=$flag
16733 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16733 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16734    (: CFLAGS="$CFLAGS") 2>&5
16735    ac_status=$?
16736 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16736 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16737    test $ac_status = 0; }
16738  
16739   fi
16740  
16741 < else
16741 > else $as_nop
16742    :
16743   fi
16744  
# Line 15932 | Line 16749 | done
16749  
16750  
16751   for flag in -Wpointer-arith; do
16752 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16753 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16754 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16755 < if eval \${$as_CACHEVAR+:} false; then :
16756 <  $as_echo_n "(cached) " >&6
16757 < else
16752 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16753 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16754 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16755 > if eval test \${$as_CACHEVAR+y}
16756 > then :
16757 >  printf %s "(cached) " >&6
16758 > else $as_nop
16759  
16760    ax_check_save_flags=$CFLAGS
16761    CFLAGS="$CFLAGS  $flag"
# Line 15945 | Line 16763 | else
16763   /* end confdefs.h.  */
16764  
16765   int
16766 < main ()
16766 > main (void)
16767   {
16768  
16769    ;
16770    return 0;
16771   }
16772   _ACEOF
16773 < if ac_fn_c_try_compile "$LINENO"; then :
16773 > if ac_fn_c_try_compile "$LINENO"
16774 > then :
16775    eval "$as_CACHEVAR=yes"
16776 < else
16776 > else $as_nop
16777    eval "$as_CACHEVAR=no"
16778   fi
16779 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16779 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16780    CFLAGS=$ax_check_save_flags
16781   fi
16782   eval ac_res=\$$as_CACHEVAR
16783 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16784 < $as_echo "$ac_res" >&6; }
16785 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16783 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16784 > printf "%s\n" "$ac_res" >&6; }
16785 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16786 > then :
16787  
16788 < if ${CFLAGS+:} false; then :
16788 > if test ${CFLAGS+y}
16789 > then :
16790  
16791    case " $CFLAGS " in #(
16792    *" $flag "*) :
16793 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16793 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16794    (: CFLAGS already contains $flag) 2>&5
16795    ac_status=$?
16796 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16796 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16797    test $ac_status = 0; } ;; #(
16798    *) :
16799  
16800       as_fn_append CFLAGS " $flag"
16801 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16801 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16802    (: CFLAGS="$CFLAGS") 2>&5
16803    ac_status=$?
16804 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16804 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16805    test $ac_status = 0; }
16806       ;;
16807   esac
16808  
16809 < else
16809 > else $as_nop
16810  
16811    CFLAGS=$flag
16812 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16812 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16813    (: CFLAGS="$CFLAGS") 2>&5
16814    ac_status=$?
16815 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16815 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16816    test $ac_status = 0; }
16817  
16818   fi
16819  
16820 < else
16820 > else $as_nop
16821    :
16822   fi
16823  
# Line 16007 | Line 16828 | done
16828  
16829  
16830   for flag in -Wredundant-decls; do
16831 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16832 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16833 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16834 < if eval \${$as_CACHEVAR+:} false; then :
16835 <  $as_echo_n "(cached) " >&6
16836 < else
16831 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16832 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16833 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16834 > if eval test \${$as_CACHEVAR+y}
16835 > then :
16836 >  printf %s "(cached) " >&6
16837 > else $as_nop
16838  
16839    ax_check_save_flags=$CFLAGS
16840    CFLAGS="$CFLAGS  $flag"
# Line 16020 | Line 16842 | else
16842   /* end confdefs.h.  */
16843  
16844   int
16845 < main ()
16845 > main (void)
16846   {
16847  
16848    ;
16849    return 0;
16850   }
16851   _ACEOF
16852 < if ac_fn_c_try_compile "$LINENO"; then :
16852 > if ac_fn_c_try_compile "$LINENO"
16853 > then :
16854    eval "$as_CACHEVAR=yes"
16855 < else
16855 > else $as_nop
16856    eval "$as_CACHEVAR=no"
16857   fi
16858 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16858 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16859    CFLAGS=$ax_check_save_flags
16860   fi
16861   eval ac_res=\$$as_CACHEVAR
16862 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16863 < $as_echo "$ac_res" >&6; }
16864 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16862 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16863 > printf "%s\n" "$ac_res" >&6; }
16864 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16865 > then :
16866  
16867 < if ${CFLAGS+:} false; then :
16867 > if test ${CFLAGS+y}
16868 > then :
16869  
16870    case " $CFLAGS " in #(
16871    *" $flag "*) :
16872 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16872 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16873    (: CFLAGS already contains $flag) 2>&5
16874    ac_status=$?
16875 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16875 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16876    test $ac_status = 0; } ;; #(
16877    *) :
16878  
16879       as_fn_append CFLAGS " $flag"
16880 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16880 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16881    (: CFLAGS="$CFLAGS") 2>&5
16882    ac_status=$?
16883 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16883 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16884    test $ac_status = 0; }
16885       ;;
16886   esac
16887  
16888 < else
16888 > else $as_nop
16889  
16890    CFLAGS=$flag
16891 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16891 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16892    (: CFLAGS="$CFLAGS") 2>&5
16893    ac_status=$?
16894 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16894 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16895    test $ac_status = 0; }
16896  
16897   fi
16898  
16899 < else
16899 > else $as_nop
16900    :
16901   fi
16902  
# Line 16082 | Line 16907 | done
16907  
16908  
16909   for flag in -Wshadow; do
16910 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16911 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16912 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16913 < if eval \${$as_CACHEVAR+:} false; then :
16914 <  $as_echo_n "(cached) " >&6
16915 < else
16910 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16911 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16912 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16913 > if eval test \${$as_CACHEVAR+y}
16914 > then :
16915 >  printf %s "(cached) " >&6
16916 > else $as_nop
16917  
16918    ax_check_save_flags=$CFLAGS
16919    CFLAGS="$CFLAGS  $flag"
# Line 16095 | Line 16921 | else
16921   /* end confdefs.h.  */
16922  
16923   int
16924 < main ()
16924 > main (void)
16925   {
16926  
16927    ;
16928    return 0;
16929   }
16930   _ACEOF
16931 < if ac_fn_c_try_compile "$LINENO"; then :
16931 > if ac_fn_c_try_compile "$LINENO"
16932 > then :
16933    eval "$as_CACHEVAR=yes"
16934 < else
16934 > else $as_nop
16935    eval "$as_CACHEVAR=no"
16936   fi
16937 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16937 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16938    CFLAGS=$ax_check_save_flags
16939   fi
16940   eval ac_res=\$$as_CACHEVAR
16941 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16942 < $as_echo "$ac_res" >&6; }
16943 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16941 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16942 > printf "%s\n" "$ac_res" >&6; }
16943 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
16944 > then :
16945  
16946 < if ${CFLAGS+:} false; then :
16946 > if test ${CFLAGS+y}
16947 > then :
16948  
16949    case " $CFLAGS " in #(
16950    *" $flag "*) :
16951 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16951 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16952    (: CFLAGS already contains $flag) 2>&5
16953    ac_status=$?
16954 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16954 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16955    test $ac_status = 0; } ;; #(
16956    *) :
16957  
16958       as_fn_append CFLAGS " $flag"
16959 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16959 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16960    (: CFLAGS="$CFLAGS") 2>&5
16961    ac_status=$?
16962 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16962 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16963    test $ac_status = 0; }
16964       ;;
16965   esac
16966  
16967 < else
16967 > else $as_nop
16968  
16969    CFLAGS=$flag
16970 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16970 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16971    (: CFLAGS="$CFLAGS") 2>&5
16972    ac_status=$?
16973 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16973 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16974    test $ac_status = 0; }
16975  
16976   fi
16977  
16978 < else
16978 > else $as_nop
16979    :
16980   fi
16981  
# Line 16157 | Line 16986 | done
16986  
16987  
16988   for flag in -Wshift-negative-value; do
16989 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16990 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16991 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16992 < if eval \${$as_CACHEVAR+:} false; then :
16993 <  $as_echo_n "(cached) " >&6
16994 < else
16989 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
16990 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16991 > printf %s "checking whether C compiler accepts $flag... " >&6; }
16992 > if eval test \${$as_CACHEVAR+y}
16993 > then :
16994 >  printf %s "(cached) " >&6
16995 > else $as_nop
16996  
16997    ax_check_save_flags=$CFLAGS
16998    CFLAGS="$CFLAGS  $flag"
# Line 16170 | Line 17000 | else
17000   /* end confdefs.h.  */
17001  
17002   int
17003 < main ()
17003 > main (void)
17004   {
17005  
17006    ;
17007    return 0;
17008   }
17009   _ACEOF
17010 < if ac_fn_c_try_compile "$LINENO"; then :
17010 > if ac_fn_c_try_compile "$LINENO"
17011 > then :
17012    eval "$as_CACHEVAR=yes"
17013 < else
17013 > else $as_nop
17014    eval "$as_CACHEVAR=no"
17015   fi
17016 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17017    CFLAGS=$ax_check_save_flags
17018   fi
17019   eval ac_res=\$$as_CACHEVAR
17020 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17021 < $as_echo "$ac_res" >&6; }
17022 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17020 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17021 > printf "%s\n" "$ac_res" >&6; }
17022 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
17023 > then :
17024  
17025 < if ${CFLAGS+:} false; then :
17025 > if test ${CFLAGS+y}
17026 > then :
17027  
17028    case " $CFLAGS " in #(
17029    *" $flag "*) :
17030 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17030 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17031    (: CFLAGS already contains $flag) 2>&5
17032    ac_status=$?
17033 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17033 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17034    test $ac_status = 0; } ;; #(
17035    *) :
17036  
17037       as_fn_append CFLAGS " $flag"
17038 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17038 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17039    (: CFLAGS="$CFLAGS") 2>&5
17040    ac_status=$?
17041 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17041 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17042    test $ac_status = 0; }
17043       ;;
17044   esac
17045  
17046 < else
17046 > else $as_nop
17047  
17048    CFLAGS=$flag
17049 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17049 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17050    (: CFLAGS="$CFLAGS") 2>&5
17051    ac_status=$?
17052 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17052 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17053    test $ac_status = 0; }
17054  
17055   fi
17056  
17057 < else
17057 > else $as_nop
17058    :
17059   fi
17060  
# Line 16232 | Line 17065 | done
17065  
17066  
17067   for flag in -Wsign-compare; do
17068 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
17069 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17070 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
17071 < if eval \${$as_CACHEVAR+:} false; then :
17072 <  $as_echo_n "(cached) " >&6
17073 < else
17068 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
17069 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17070 > printf %s "checking whether C compiler accepts $flag... " >&6; }
17071 > if eval test \${$as_CACHEVAR+y}
17072 > then :
17073 >  printf %s "(cached) " >&6
17074 > else $as_nop
17075  
17076    ax_check_save_flags=$CFLAGS
17077    CFLAGS="$CFLAGS  $flag"
# Line 16245 | Line 17079 | else
17079   /* end confdefs.h.  */
17080  
17081   int
17082 < main ()
17082 > main (void)
17083   {
17084  
17085    ;
17086    return 0;
17087   }
17088   _ACEOF
17089 < if ac_fn_c_try_compile "$LINENO"; then :
17089 > if ac_fn_c_try_compile "$LINENO"
17090 > then :
17091    eval "$as_CACHEVAR=yes"
17092 < else
17092 > else $as_nop
17093    eval "$as_CACHEVAR=no"
17094   fi
17095 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17095 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17096    CFLAGS=$ax_check_save_flags
17097   fi
17098   eval ac_res=\$$as_CACHEVAR
17099 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17100 < $as_echo "$ac_res" >&6; }
17101 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17099 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17100 > printf "%s\n" "$ac_res" >&6; }
17101 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
17102 > then :
17103  
17104 < if ${CFLAGS+:} false; then :
17104 > if test ${CFLAGS+y}
17105 > then :
17106  
17107    case " $CFLAGS " in #(
17108    *" $flag "*) :
17109 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17109 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17110    (: CFLAGS already contains $flag) 2>&5
17111    ac_status=$?
17112 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17112 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17113    test $ac_status = 0; } ;; #(
17114    *) :
17115  
17116       as_fn_append CFLAGS " $flag"
17117 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17117 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17118    (: CFLAGS="$CFLAGS") 2>&5
17119    ac_status=$?
17120 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17120 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17121    test $ac_status = 0; }
17122       ;;
17123   esac
17124  
17125 < else
17125 > else $as_nop
17126  
17127    CFLAGS=$flag
17128 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17128 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17129    (: CFLAGS="$CFLAGS") 2>&5
17130    ac_status=$?
17131 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17131 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17132    test $ac_status = 0; }
17133  
17134   fi
17135  
17136 < else
17136 > else $as_nop
17137    :
17138   fi
17139  
# Line 16307 | Line 17144 | done
17144  
17145  
17146   for flag in -Wtype-limits; do
17147 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
17148 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17149 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
17150 < if eval \${$as_CACHEVAR+:} false; then :
17151 <  $as_echo_n "(cached) " >&6
17152 < else
17147 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
17148 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17149 > printf %s "checking whether C compiler accepts $flag... " >&6; }
17150 > if eval test \${$as_CACHEVAR+y}
17151 > then :
17152 >  printf %s "(cached) " >&6
17153 > else $as_nop
17154  
17155    ax_check_save_flags=$CFLAGS
17156    CFLAGS="$CFLAGS  $flag"
# Line 16320 | Line 17158 | else
17158   /* end confdefs.h.  */
17159  
17160   int
17161 < main ()
17161 > main (void)
17162   {
17163  
17164    ;
17165    return 0;
17166   }
17167   _ACEOF
17168 < if ac_fn_c_try_compile "$LINENO"; then :
17168 > if ac_fn_c_try_compile "$LINENO"
17169 > then :
17170    eval "$as_CACHEVAR=yes"
17171 < else
17171 > else $as_nop
17172    eval "$as_CACHEVAR=no"
17173   fi
17174 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17174 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17175    CFLAGS=$ax_check_save_flags
17176   fi
17177   eval ac_res=\$$as_CACHEVAR
17178 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17179 < $as_echo "$ac_res" >&6; }
17180 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17178 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17179 > printf "%s\n" "$ac_res" >&6; }
17180 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
17181 > then :
17182  
17183 < if ${CFLAGS+:} false; then :
17183 > if test ${CFLAGS+y}
17184 > then :
17185  
17186    case " $CFLAGS " in #(
17187    *" $flag "*) :
17188 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17188 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17189    (: CFLAGS already contains $flag) 2>&5
17190    ac_status=$?
17191 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17191 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17192    test $ac_status = 0; } ;; #(
17193    *) :
17194  
17195       as_fn_append CFLAGS " $flag"
17196 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17196 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17197    (: CFLAGS="$CFLAGS") 2>&5
17198    ac_status=$?
17199 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17199 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17200    test $ac_status = 0; }
17201       ;;
17202   esac
17203  
17204 < else
17204 > else $as_nop
17205  
17206    CFLAGS=$flag
17207 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17207 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17208    (: CFLAGS="$CFLAGS") 2>&5
17209    ac_status=$?
17210 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17210 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17211    test $ac_status = 0; }
17212  
17213   fi
17214  
17215 < else
17215 > else $as_nop
17216    :
17217   fi
17218  
# Line 16382 | Line 17223 | done
17223  
17224  
17225   for flag in -Wundef; do
17226 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
17227 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17228 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
17229 < if eval \${$as_CACHEVAR+:} false; then :
17230 <  $as_echo_n "(cached) " >&6
17231 < else
17226 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
17227 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17228 > printf %s "checking whether C compiler accepts $flag... " >&6; }
17229 > if eval test \${$as_CACHEVAR+y}
17230 > then :
17231 >  printf %s "(cached) " >&6
17232 > else $as_nop
17233  
17234    ax_check_save_flags=$CFLAGS
17235    CFLAGS="$CFLAGS  $flag"
# Line 16395 | Line 17237 | else
17237   /* end confdefs.h.  */
17238  
17239   int
17240 < main ()
17240 > main (void)
17241   {
17242  
17243    ;
17244    return 0;
17245   }
17246   _ACEOF
17247 < if ac_fn_c_try_compile "$LINENO"; then :
17247 > if ac_fn_c_try_compile "$LINENO"
17248 > then :
17249    eval "$as_CACHEVAR=yes"
17250 < else
17250 > else $as_nop
17251    eval "$as_CACHEVAR=no"
17252   fi
17253 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17254    CFLAGS=$ax_check_save_flags
17255   fi
17256   eval ac_res=\$$as_CACHEVAR
17257 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17258 < $as_echo "$ac_res" >&6; }
17259 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17257 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17258 > printf "%s\n" "$ac_res" >&6; }
17259 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
17260 > then :
17261  
17262 < if ${CFLAGS+:} false; then :
17262 > if test ${CFLAGS+y}
17263 > then :
17264  
17265    case " $CFLAGS " in #(
17266    *" $flag "*) :
17267 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17267 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17268    (: CFLAGS already contains $flag) 2>&5
17269    ac_status=$?
17270 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17270 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17271    test $ac_status = 0; } ;; #(
17272    *) :
17273  
17274       as_fn_append CFLAGS " $flag"
17275 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17275 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17276    (: CFLAGS="$CFLAGS") 2>&5
17277    ac_status=$?
17278 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17278 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17279    test $ac_status = 0; }
17280       ;;
17281   esac
17282  
17283 < else
17283 > else $as_nop
17284  
17285    CFLAGS=$flag
17286 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17286 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17287    (: CFLAGS="$CFLAGS") 2>&5
17288    ac_status=$?
17289 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17289 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17290    test $ac_status = 0; }
17291  
17292   fi
17293  
17294 < else
17294 > else $as_nop
17295    :
17296   fi
17297  
# Line 16457 | Line 17302 | done
17302  
17303  
17304   for flag in -Wuninitialized; do
17305 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
17306 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17307 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
17308 < if eval \${$as_CACHEVAR+:} false; then :
17309 <  $as_echo_n "(cached) " >&6
17310 < else
17305 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
17306 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17307 > printf %s "checking whether C compiler accepts $flag... " >&6; }
17308 > if eval test \${$as_CACHEVAR+y}
17309 > then :
17310 >  printf %s "(cached) " >&6
17311 > else $as_nop
17312  
17313    ax_check_save_flags=$CFLAGS
17314    CFLAGS="$CFLAGS  $flag"
# Line 16470 | Line 17316 | else
17316   /* end confdefs.h.  */
17317  
17318   int
17319 < main ()
17319 > main (void)
17320   {
17321  
17322    ;
17323    return 0;
17324   }
17325   _ACEOF
17326 < if ac_fn_c_try_compile "$LINENO"; then :
17326 > if ac_fn_c_try_compile "$LINENO"
17327 > then :
17328    eval "$as_CACHEVAR=yes"
17329 < else
17329 > else $as_nop
17330    eval "$as_CACHEVAR=no"
17331   fi
17332 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17332 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17333    CFLAGS=$ax_check_save_flags
17334   fi
17335   eval ac_res=\$$as_CACHEVAR
17336 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17337 < $as_echo "$ac_res" >&6; }
17338 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17336 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17337 > printf "%s\n" "$ac_res" >&6; }
17338 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
17339 > then :
17340  
17341 < if ${CFLAGS+:} false; then :
17341 > if test ${CFLAGS+y}
17342 > then :
17343  
17344    case " $CFLAGS " in #(
17345    *" $flag "*) :
17346 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17346 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17347    (: CFLAGS already contains $flag) 2>&5
17348    ac_status=$?
17349 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17349 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17350    test $ac_status = 0; } ;; #(
17351    *) :
17352  
17353       as_fn_append CFLAGS " $flag"
17354 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17354 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17355    (: CFLAGS="$CFLAGS") 2>&5
17356    ac_status=$?
17357 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17357 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17358    test $ac_status = 0; }
17359       ;;
17360   esac
17361  
17362 < else
17362 > else $as_nop
17363  
17364    CFLAGS=$flag
17365 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17365 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17366    (: CFLAGS="$CFLAGS") 2>&5
17367    ac_status=$?
17368 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17368 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17369    test $ac_status = 0; }
17370  
17371   fi
17372  
17373 < else
17373 > else $as_nop
17374    :
17375   fi
17376  
# Line 16532 | Line 17381 | done
17381  
17382  
17383   for flag in -Wwrite-strings; do
17384 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
17385 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17386 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
17387 < if eval \${$as_CACHEVAR+:} false; then :
17388 <  $as_echo_n "(cached) " >&6
17389 < else
17384 >  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
17385 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17386 > printf %s "checking whether C compiler accepts $flag... " >&6; }
17387 > if eval test \${$as_CACHEVAR+y}
17388 > then :
17389 >  printf %s "(cached) " >&6
17390 > else $as_nop
17391  
17392    ax_check_save_flags=$CFLAGS
17393    CFLAGS="$CFLAGS  $flag"
# Line 16545 | Line 17395 | else
17395   /* end confdefs.h.  */
17396  
17397   int
17398 < main ()
17398 > main (void)
17399   {
17400  
17401    ;
17402    return 0;
17403   }
17404   _ACEOF
17405 < if ac_fn_c_try_compile "$LINENO"; then :
17405 > if ac_fn_c_try_compile "$LINENO"
17406 > then :
17407    eval "$as_CACHEVAR=yes"
17408 < else
17408 > else $as_nop
17409    eval "$as_CACHEVAR=no"
17410   fi
17411 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17411 > rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17412    CFLAGS=$ax_check_save_flags
17413   fi
17414   eval ac_res=\$$as_CACHEVAR
17415 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17416 < $as_echo "$ac_res" >&6; }
17417 < if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17415 >               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17416 > printf "%s\n" "$ac_res" >&6; }
17417 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
17418 > then :
17419  
17420 < if ${CFLAGS+:} false; then :
17420 > if test ${CFLAGS+y}
17421 > then :
17422  
17423    case " $CFLAGS " in #(
17424    *" $flag "*) :
17425 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17425 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17426    (: CFLAGS already contains $flag) 2>&5
17427    ac_status=$?
17428 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17428 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17429    test $ac_status = 0; } ;; #(
17430    *) :
17431  
17432       as_fn_append CFLAGS " $flag"
17433 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17433 >     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17434    (: CFLAGS="$CFLAGS") 2>&5
17435    ac_status=$?
17436 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17436 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17437    test $ac_status = 0; }
17438       ;;
17439   esac
17440  
17441 < else
17441 > else $as_nop
17442  
17443    CFLAGS=$flag
17444 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17444 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17445    (: CFLAGS="$CFLAGS") 2>&5
17446    ac_status=$?
17447 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17447 >  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17448    test $ac_status = 0; }
17449  
17450   fi
17451  
17452 < else
17452 > else $as_nop
17453    :
17454   fi
17455  
# Line 16607 | Line 17460 | fi
17460  
17461  
17462    # Check whether --enable-efence was given.
17463 < if test "${enable_efence+set}" = set; then :
17463 > if test ${enable_efence+y}
17464 > then :
17465    enableval=$enable_efence; efence="$enableval"
17466 < else
17466 > else $as_nop
17467    efence="no"
17468   fi
17469  
17470  
17471 <  if test "$efence" = "yes"; then :
17471 >  if test "$efence" = "yes"
17472 > then :
17473  
17474 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
17475 < $as_echo_n "checking for library containing EF_Print... " >&6; }
17476 < if ${ac_cv_search_EF_Print+:} false; then :
17477 <  $as_echo_n "(cached) " >&6
17478 < else
17474 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
17475 > printf %s "checking for library containing EF_Print... " >&6; }
17476 > if test ${ac_cv_search_EF_Print+y}
17477 > then :
17478 >  printf %s "(cached) " >&6
17479 > else $as_nop
17480    ac_func_search_save_LIBS=$LIBS
17481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482   /* end confdefs.h.  */
# Line 16628 | Line 17484 | cat confdefs.h - <<_ACEOF >conftest.$ac_
17484   /* Override any GCC internal prototype to avoid an error.
17485     Use char because int might match the return type of a GCC
17486     builtin and then its argument prototype would still apply.  */
16631 #ifdef __cplusplus
16632 extern "C"
16633 #endif
17487   char EF_Print ();
17488   int
17489 < main ()
17489 > main (void)
17490   {
17491   return EF_Print ();
17492    ;
17493    return 0;
17494   }
17495   _ACEOF
17496 < for ac_lib in '' efence; do
17496 > for ac_lib in '' efence
17497 > do
17498    if test -z "$ac_lib"; then
17499      ac_res="none required"
17500    else
17501      ac_res=-l$ac_lib
17502      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17503    fi
17504 <  if ac_fn_c_try_link "$LINENO"; then :
17504 >  if ac_fn_c_try_link "$LINENO"
17505 > then :
17506    ac_cv_search_EF_Print=$ac_res
17507   fi
17508 < rm -f core conftest.err conftest.$ac_objext \
17508 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
17509      conftest$ac_exeext
17510 <  if ${ac_cv_search_EF_Print+:} false; then :
17510 >  if test ${ac_cv_search_EF_Print+y}
17511 > then :
17512    break
17513   fi
17514   done
17515 < if ${ac_cv_search_EF_Print+:} false; then :
17515 > if test ${ac_cv_search_EF_Print+y}
17516 > then :
17517  
17518 < else
17518 > else $as_nop
17519    ac_cv_search_EF_Print=no
17520   fi
17521   rm conftest.$ac_ext
17522   LIBS=$ac_func_search_save_LIBS
17523   fi
17524 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
17525 < $as_echo "$ac_cv_search_EF_Print" >&6; }
17524 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
17525 > printf "%s\n" "$ac_cv_search_EF_Print" >&6; }
17526   ac_res=$ac_cv_search_EF_Print
17527 < if test "$ac_res" != no; then :
17527 > if test "$ac_res" != no
17528 > then :
17529    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17530  
17531 < else
17532 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17533 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17531 > else $as_nop
17532 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17533 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
17534   as_fn_error $? "Electric Fence 'efence' library not found
17535   See \`config.log' for more details" "$LINENO" 5; }
17536   fi
# Line 16684 | Line 17542 | fi
17542  
17543  
17544   # Check whether --with-tls was given.
17545 < if test "${with_tls+set}" = set; then :
17545 > if test ${with_tls+y}
17546 > then :
17547    withval=$with_tls; with_tls=$withval
17548 < else
17548 > else $as_nop
17549    with_tls=auto
17550   fi
17551  
17552  
17553   if test "$with_tls" = "openssl" ||
17554     test "$with_tls" = "auto"; then
17555 <    ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default"
17556 < if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then :
17557 <
17558 <      if test "$cross_compiling" = yes; then :
17559 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17560 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17555 >    ac_fn_c_check_header_compile "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default"
17556 > if test "x$ac_cv_header_openssl_opensslv_h" = xyes
17557 > then :
17558 >
17559 >      if test "$cross_compiling" = yes
17560 > then :
17561 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17562 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
17563   as_fn_error $? "cannot run test program while cross compiling
17564   See \`config.log' for more details" "$LINENO" 5; }
17565 < else
17565 > else $as_nop
17566    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567   /* end confdefs.h.  */
17568  
# Line 16709 | Line 17570 | else
17570            #include <openssl/opensslv.h>
17571            #include <stdlib.h>
17572   int
17573 < main ()
17573 > main (void)
17574   {
17575  
17576            exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL));
# Line 16717 | Line 17578 | main ()
17578    return 0;
17579   }
17580   _ACEOF
17581 < if ac_fn_c_try_run "$LINENO"; then :
17582 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
17583 < $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
17584 < if ${ac_cv_lib_crypto_RSA_free+:} false; then :
17585 <  $as_echo_n "(cached) " >&6
17586 < else
17581 > if ac_fn_c_try_run "$LINENO"
17582 > then :
17583 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
17584 > printf %s "checking for RSA_free in -lcrypto... " >&6; }
17585 > if test ${ac_cv_lib_crypto_RSA_free+y}
17586 > then :
17587 >  printf %s "(cached) " >&6
17588 > else $as_nop
17589    ac_check_lib_save_LIBS=$LIBS
17590   LIBS="-lcrypto  $LIBS"
17591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 16731 | Line 17594 | cat confdefs.h - <<_ACEOF >conftest.$ac_
17594   /* Override any GCC internal prototype to avoid an error.
17595     Use char because int might match the return type of a GCC
17596     builtin and then its argument prototype would still apply.  */
16734 #ifdef __cplusplus
16735 extern "C"
16736 #endif
17597   char RSA_free ();
17598   int
17599 < main ()
17599 > main (void)
17600   {
17601   return RSA_free ();
17602    ;
17603    return 0;
17604   }
17605   _ACEOF
17606 < if ac_fn_c_try_link "$LINENO"; then :
17606 > if ac_fn_c_try_link "$LINENO"
17607 > then :
17608    ac_cv_lib_crypto_RSA_free=yes
17609 < else
17609 > else $as_nop
17610    ac_cv_lib_crypto_RSA_free=no
17611   fi
17612 < rm -f core conftest.err conftest.$ac_objext \
17612 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
17613      conftest$ac_exeext conftest.$ac_ext
17614   LIBS=$ac_check_lib_save_LIBS
17615   fi
17616 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
17617 < $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
17618 < if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
17619 <  cat >>confdefs.h <<_ACEOF
17620 < #define HAVE_LIBCRYPTO 1
16760 < _ACEOF
17616 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
17617 > printf "%s\n" "$ac_cv_lib_crypto_RSA_free" >&6; }
17618 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes
17619 > then :
17620 >  printf "%s\n" "#define HAVE_LIBCRYPTO 1" >>confdefs.h
17621  
17622    LIBS="-lcrypto $LIBS"
17623  
# Line 16771 | Line 17631 | fi
17631   fi
17632  
17633  
17634 <
17635 <    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
17636 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
17637 < $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
17638 < if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
17639 <  $as_echo_n "(cached) " >&6
17640 < else
17634 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"
17635 > then :
17636 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
17637 > printf %s "checking for SSL_connect in -lssl... " >&6; }
17638 > if test ${ac_cv_lib_ssl_SSL_connect+y}
17639 > then :
17640 >  printf %s "(cached) " >&6
17641 > else $as_nop
17642    ac_check_lib_save_LIBS=$LIBS
17643   LIBS="-lssl  $LIBS"
17644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 16786 | Line 17647 | cat confdefs.h - <<_ACEOF >conftest.$ac_
17647   /* Override any GCC internal prototype to avoid an error.
17648     Use char because int might match the return type of a GCC
17649     builtin and then its argument prototype would still apply.  */
16789 #ifdef __cplusplus
16790 extern "C"
16791 #endif
17650   char SSL_connect ();
17651   int
17652 < main ()
17652 > main (void)
17653   {
17654   return SSL_connect ();
17655    ;
17656    return 0;
17657   }
17658   _ACEOF
17659 < if ac_fn_c_try_link "$LINENO"; then :
17659 > if ac_fn_c_try_link "$LINENO"
17660 > then :
17661    ac_cv_lib_ssl_SSL_connect=yes
17662 < else
17662 > else $as_nop
17663    ac_cv_lib_ssl_SSL_connect=no
17664   fi
17665 < rm -f core conftest.err conftest.$ac_objext \
17665 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
17666      conftest$ac_exeext conftest.$ac_ext
17667   LIBS=$ac_check_lib_save_LIBS
17668   fi
17669 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
17670 < $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
17671 < if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
17672 <  cat >>confdefs.h <<_ACEOF
17673 < #define HAVE_LIBSSL 1
16815 < _ACEOF
17669 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
17670 > printf "%s\n" "$ac_cv_lib_ssl_SSL_connect" >&6; }
17671 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes
17672 > then :
17673 >  printf "%s\n" "#define HAVE_LIBSSL 1" >>confdefs.h
17674  
17675    LIBS="-lssl $LIBS"
17676  
# Line 16820 | Line 17678 | fi
17678  
17679   fi
17680  
17681 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5
17682 < $as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; }
17683 <    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
17684 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
17685 < $as_echo "found" >&6; }
17686 < else
17687 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
17688 < $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
17681 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5
17682 > printf %s "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; }
17683 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"
17684 > then :
17685 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
17686 > printf "%s\n" "found" >&6; }
17687 > else $as_nop
17688 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
17689 > printf "%s\n" "no - LibreSSL/OpenSSL support disabled" >&6; }
17690   fi
17691  
17692   fi
# Line 16836 | Line 17695 | if test "$with_tls" = "gnutls" ||
17695     test "$with_tls" = "auto"; then
17696    if test "$ac_cv_lib_ssl_SSL_connect" != "yes"; then
17697  
17698 <    ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
17699 < if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
17700 <
17701 <      if test "$cross_compiling" = yes; then :
17702 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17703 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17698 >    ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
17699 > if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
17700 > then :
17701 >
17702 >      if test "$cross_compiling" = yes
17703 > then :
17704 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17705 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
17706   as_fn_error $? "cannot run test program while cross compiling
17707   See \`config.log' for more details" "$LINENO" 5; }
17708 < else
17708 > else $as_nop
17709    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17710   /* end confdefs.h.  */
17711  
# Line 16852 | Line 17713 | else
17713            #include <gnutls/gnutls.h>
17714            #include <stdlib.h>
17715   int
17716 < main ()
17716 > main (void)
17717   {
17718  
17719            exit(!(GNUTLS_VERSION_NUMBER >= 0x030605));
# Line 16860 | Line 17721 | main ()
17721    return 0;
17722   }
17723   _ACEOF
17724 < if ac_fn_c_try_run "$LINENO"; then :
17725 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5
17726 < $as_echo_n "checking for gnutls_init in -lgnutls... " >&6; }
17727 < if ${ac_cv_lib_gnutls_gnutls_init+:} false; then :
17728 <  $as_echo_n "(cached) " >&6
17729 < else
17724 > if ac_fn_c_try_run "$LINENO"
17725 > then :
17726 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5
17727 > printf %s "checking for gnutls_init in -lgnutls... " >&6; }
17728 > if test ${ac_cv_lib_gnutls_gnutls_init+y}
17729 > then :
17730 >  printf %s "(cached) " >&6
17731 > else $as_nop
17732    ac_check_lib_save_LIBS=$LIBS
17733   LIBS="-lgnutls  $LIBS"
17734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 16874 | Line 17737 | cat confdefs.h - <<_ACEOF >conftest.$ac_
17737   /* Override any GCC internal prototype to avoid an error.
17738     Use char because int might match the return type of a GCC
17739     builtin and then its argument prototype would still apply.  */
16877 #ifdef __cplusplus
16878 extern "C"
16879 #endif
17740   char gnutls_init ();
17741   int
17742 < main ()
17742 > main (void)
17743   {
17744   return gnutls_init ();
17745    ;
17746    return 0;
17747   }
17748   _ACEOF
17749 < if ac_fn_c_try_link "$LINENO"; then :
17749 > if ac_fn_c_try_link "$LINENO"
17750 > then :
17751    ac_cv_lib_gnutls_gnutls_init=yes
17752 < else
17752 > else $as_nop
17753    ac_cv_lib_gnutls_gnutls_init=no
17754   fi
17755 < rm -f core conftest.err conftest.$ac_objext \
17755 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
17756      conftest$ac_exeext conftest.$ac_ext
17757   LIBS=$ac_check_lib_save_LIBS
17758   fi
17759 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5
17760 < $as_echo "$ac_cv_lib_gnutls_gnutls_init" >&6; }
17761 < if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes; then :
17762 <  cat >>confdefs.h <<_ACEOF
17763 < #define HAVE_LIBGNUTLS 1
16903 < _ACEOF
17759 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5
17760 > printf "%s\n" "$ac_cv_lib_gnutls_gnutls_init" >&6; }
17761 > if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes
17762 > then :
17763 >  printf "%s\n" "#define HAVE_LIBGNUTLS 1" >>confdefs.h
17764  
17765    LIBS="-lgnutls $LIBS"
17766  
# Line 16914 | Line 17774 | fi
17774   fi
17775  
17776  
17777 <
17778 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.6.5 and above" >&5
17779 < $as_echo_n "checking for GnuTLS 3.6.5 and above... " >&6; }
17780 <    if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then :
17781 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
17782 < $as_echo "found" >&6; }
17783 < else
17784 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5
17785 < $as_echo "no - GnuTLS support disabled" >&6; }
17777 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.6.5 and above" >&5
17778 > printf %s "checking for GnuTLS 3.6.5 and above... " >&6; }
17779 >    if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"
17780 > then :
17781 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
17782 > printf "%s\n" "found" >&6; }
17783 > else $as_nop
17784 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5
17785 > printf "%s\n" "no - GnuTLS support disabled" >&6; }
17786   fi
17787  
17788    fi
# Line 16933 | Line 17793 | if test "$with_tls" = "wolfssl" ||
17793    if test "$ac_cv_lib_ssl_SSL_connect" != "yes" &&
17794       test "$ac_cv_lib_gnutls_gnutls_init" != "yes"; then
17795  
17796 <    ac_fn_c_check_header_mongrel "$LINENO" "wolfssl/ssl.h" "ac_cv_header_wolfssl_ssl_h" "$ac_includes_default"
17797 < if test "x$ac_cv_header_wolfssl_ssl_h" = xyes; then :
17798 <
17799 <      if test "$cross_compiling" = yes; then :
17800 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17801 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17796 >    ac_fn_c_check_header_compile "$LINENO" "wolfssl/ssl.h" "ac_cv_header_wolfssl_ssl_h" "$ac_includes_default"
17797 > if test "x$ac_cv_header_wolfssl_ssl_h" = xyes
17798 > then :
17799 >
17800 >      if test "$cross_compiling" = yes
17801 > then :
17802 >  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17803 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
17804   as_fn_error $? "cannot run test program while cross compiling
17805   See \`config.log' for more details" "$LINENO" 5; }
17806 < else
17806 > else $as_nop
17807    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17808   /* end confdefs.h.  */
17809  
# Line 16949 | Line 17811 | else
17811            #include <wolfssl/version.h>
17812            #include <stdlib.h>
17813   int
17814 < main ()
17814 > main (void)
17815   {
17816  
17817            exit(!(LIBWOLFSSL_VERSION_HEX >= 0x04003000));
# Line 16957 | Line 17819 | main ()
17819    return 0;
17820   }
17821   _ACEOF
17822 < if ac_fn_c_try_run "$LINENO"; then :
17823 <   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_X509_digest in -lwolfssl" >&5
17824 < $as_echo_n "checking for wolfSSL_X509_digest in -lwolfssl... " >&6; }
17825 < if ${ac_cv_lib_wolfssl_wolfSSL_X509_digest+:} false; then :
17826 <  $as_echo_n "(cached) " >&6
17827 < else
17822 > if ac_fn_c_try_run "$LINENO"
17823 > then :
17824 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_X509_digest in -lwolfssl" >&5
17825 > printf %s "checking for wolfSSL_X509_digest in -lwolfssl... " >&6; }
17826 > if test ${ac_cv_lib_wolfssl_wolfSSL_X509_digest+y}
17827 > then :
17828 >  printf %s "(cached) " >&6
17829 > else $as_nop
17830    ac_check_lib_save_LIBS=$LIBS
17831   LIBS="-lwolfssl  $LIBS"
17832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 16971 | Line 17835 | cat confdefs.h - <<_ACEOF >conftest.$ac_
17835   /* Override any GCC internal prototype to avoid an error.
17836     Use char because int might match the return type of a GCC
17837     builtin and then its argument prototype would still apply.  */
16974 #ifdef __cplusplus
16975 extern "C"
16976 #endif
17838   char wolfSSL_X509_digest ();
17839   int
17840 < main ()
17840 > main (void)
17841   {
17842   return wolfSSL_X509_digest ();
17843    ;
17844    return 0;
17845   }
17846   _ACEOF
17847 < if ac_fn_c_try_link "$LINENO"; then :
17847 > if ac_fn_c_try_link "$LINENO"
17848 > then :
17849    ac_cv_lib_wolfssl_wolfSSL_X509_digest=yes
17850 < else
17850 > else $as_nop
17851    ac_cv_lib_wolfssl_wolfSSL_X509_digest=no
17852   fi
17853 < rm -f core conftest.err conftest.$ac_objext \
17853 > rm -f core conftest.err conftest.$ac_objext conftest.beam \
17854      conftest$ac_exeext conftest.$ac_ext
17855   LIBS=$ac_check_lib_save_LIBS
17856   fi
17857 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&5
17858 < $as_echo "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&6; }
17859 < if test "x$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = xyes; then :
17860 <  cat >>confdefs.h <<_ACEOF
17861 < #define HAVE_LIBWOLFSSL 1
17000 < _ACEOF
17857 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&5
17858 > printf "%s\n" "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&6; }
17859 > if test "x$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = xyes
17860 > then :
17861 >  printf "%s\n" "#define HAVE_LIBWOLFSSL 1" >>confdefs.h
17862  
17863    LIBS="-lwolfssl $LIBS"
17864  
# Line 17011 | Line 17872 | fi
17872   fi
17873  
17874  
17875 <
17876 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer" >&5
17877 < $as_echo_n "checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer... " >&6; }
17878 <    if test "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = "yes"; then :
17879 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
17880 < $as_echo "found" >&6; }
17881 < else
17882 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - wolfSSL support disabled" >&5
17883 < $as_echo "no - wolfSSL support disabled" >&6; }
17875 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer" >&5
17876 > printf %s "checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer... " >&6; }
17877 >    if test "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = "yes"
17878 > then :
17879 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
17880 > printf "%s\n" "found" >&6; }
17881 > else $as_nop
17882 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - wolfSSL support disabled" >&5
17883 > printf "%s\n" "no - wolfSSL support disabled" >&6; }
17884   fi
17885  
17886    fi
# Line 17027 | Line 17888 | fi
17888  
17889  
17890  
17030 # Disable -Wformat-truncation
17031
17032
17033
17034
17035 for flag in -Wno-format-truncation; do
17036  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17038 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
17039 if eval \${$as_CACHEVAR+:} false; then :
17040  $as_echo_n "(cached) " >&6
17041 else
17042
17043  ax_check_save_flags=$CFLAGS
17044  CFLAGS="$CFLAGS  $flag"
17045  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h.  */
17047
17048 int
17049 main ()
17050 {
17051
17052  ;
17053  return 0;
17054 }
17055 _ACEOF
17056 if ac_fn_c_try_compile "$LINENO"; then :
17057  eval "$as_CACHEVAR=yes"
17058 else
17059  eval "$as_CACHEVAR=no"
17060 fi
17061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17062  CFLAGS=$ax_check_save_flags
17063 fi
17064 eval ac_res=\$$as_CACHEVAR
17065               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17066 $as_echo "$ac_res" >&6; }
17067 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17068
17069 if ${CFLAGS+:} false; then :
17070
17071  case " $CFLAGS " in #(
17072  *" $flag "*) :
17073    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17074  (: CFLAGS already contains $flag) 2>&5
17075  ac_status=$?
17076  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17077  test $ac_status = 0; } ;; #(
17078  *) :
17079
17080     as_fn_append CFLAGS " $flag"
17081     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17082  (: CFLAGS="$CFLAGS") 2>&5
17083  ac_status=$?
17084  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17085  test $ac_status = 0; }
17086     ;;
17087 esac
17088
17089 else
17090
17091  CFLAGS=$flag
17092  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17093  (: CFLAGS="$CFLAGS") 2>&5
17094  ac_status=$?
17095  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17096  test $ac_status = 0; }
17097
17098 fi
17099
17100 else
17101  :
17102 fi
17103
17104 done
17105
17106
17891  
17892    prefix_NONE=
17893    exec_prefix_NONE=
17894    test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
17895    test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
17896 <  eval ac_define_dir="\"$prefix\""
17897 <  eval ac_define_dir="\"$ac_define_dir\""
17898 <  PREFIX="$ac_define_dir"
17896 >  eval ax_define_dir="\"$prefix\""
17897 >  eval ax_define_dir="\"$ax_define_dir\""
17898 >  PREFIX="$ax_define_dir"
17899  
17900  
17901 < cat >>confdefs.h <<_ACEOF
17118 < #define PREFIX "$ac_define_dir"
17119 < _ACEOF
17901 > printf "%s\n" "#define PREFIX \"$ax_define_dir\"" >>confdefs.h
17902  
17903    test "$prefix_NONE" && prefix=NONE
17904    test "$exec_prefix_NONE" && exec_prefix=NONE
# Line 17126 | Line 17908 | _ACEOF
17908    exec_prefix_NONE=
17909    test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
17910    test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
17911 <  eval ac_define_dir="\"$sysconfdir\""
17912 <  eval ac_define_dir="\"$ac_define_dir\""
17913 <  SYSCONFDIR="$ac_define_dir"
17911 >  eval ax_define_dir="\"$sysconfdir\""
17912 >  eval ax_define_dir="\"$ax_define_dir\""
17913 >  SYSCONFDIR="$ax_define_dir"
17914  
17915  
17916 < cat >>confdefs.h <<_ACEOF
17135 < #define SYSCONFDIR "$ac_define_dir"
17136 < _ACEOF
17916 > printf "%s\n" "#define SYSCONFDIR \"$ax_define_dir\"" >>confdefs.h
17917  
17918    test "$prefix_NONE" && prefix=NONE
17919    test "$exec_prefix_NONE" && exec_prefix=NONE
# Line 17143 | Line 17923 | _ACEOF
17923    exec_prefix_NONE=
17924    test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
17925    test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
17926 <  eval ac_define_dir="\"$libdir\""
17927 <  eval ac_define_dir="\"$ac_define_dir\""
17928 <  LIBDIR="$ac_define_dir"
17926 >  eval ax_define_dir="\"$libdir\""
17927 >  eval ax_define_dir="\"$ax_define_dir\""
17928 >  LIBDIR="$ax_define_dir"
17929  
17930  
17931 < cat >>confdefs.h <<_ACEOF
17152 < #define LIBDIR "$ac_define_dir"
17153 < _ACEOF
17931 > printf "%s\n" "#define LIBDIR \"$ax_define_dir\"" >>confdefs.h
17932  
17933    test "$prefix_NONE" && prefix=NONE
17934    test "$exec_prefix_NONE" && exec_prefix=NONE
# Line 17160 | Line 17938 | _ACEOF
17938    exec_prefix_NONE=
17939    test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
17940    test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
17941 <  eval ac_define_dir="\"$datadir\""
17942 <  eval ac_define_dir="\"$ac_define_dir\""
17943 <  DATADIR="$ac_define_dir"
17941 >  eval ax_define_dir="\"$datadir\""
17942 >  eval ax_define_dir="\"$ax_define_dir\""
17943 >  DATADIR="$ax_define_dir"
17944  
17945  
17946 < cat >>confdefs.h <<_ACEOF
17169 < #define DATADIR "$ac_define_dir"
17170 < _ACEOF
17946 > printf "%s\n" "#define DATADIR \"$ax_define_dir\"" >>confdefs.h
17947  
17948    test "$prefix_NONE" && prefix=NONE
17949    test "$exec_prefix_NONE" && exec_prefix=NONE
# Line 17177 | Line 17953 | _ACEOF
17953    exec_prefix_NONE=
17954    test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
17955    test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
17956 <  eval ac_define_dir="\"$localstatedir\""
17957 <  eval ac_define_dir="\"$ac_define_dir\""
17958 <  LOCALSTATEDIR="$ac_define_dir"
17956 >  eval ax_define_dir="\"$localstatedir\""
17957 >  eval ax_define_dir="\"$ax_define_dir\""
17958 >  LOCALSTATEDIR="$ax_define_dir"
17959  
17960  
17961 < cat >>confdefs.h <<_ACEOF
17186 < #define LOCALSTATEDIR "$ac_define_dir"
17187 < _ACEOF
17961 > printf "%s\n" "#define LOCALSTATEDIR \"$ax_define_dir\"" >>confdefs.h
17962  
17963    test "$prefix_NONE" && prefix=NONE
17964    test "$exec_prefix_NONE" && exec_prefix=NONE
# Line 17220 | Line 17994 | _ACEOF
17994      case $ac_val in #(
17995      *${as_nl}*)
17996        case $ac_var in #(
17997 <      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17998 < $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17997 >      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17998 > printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17999        esac
18000        case $ac_var in #(
18001        _ | IFS | as_nl) ;; #(
# Line 17251 | Line 18025 | $as_echo "$as_me: WARNING: cache variabl
18025       /^ac_cv_env_/b end
18026       t clear
18027       :clear
18028 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18028 >     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
18029       t end
18030       s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18031       :end' >>confcache
18032   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18033    if test -w "$cache_file"; then
18034      if test "x$cache_file" != "x/dev/null"; then
18035 <      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18036 < $as_echo "$as_me: updating cache $cache_file" >&6;}
18035 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18036 > printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
18037        if test ! -f "$cache_file" || test -h "$cache_file"; then
18038          cat confcache >"$cache_file"
18039        else
# Line 17273 | Line 18047 | $as_echo "$as_me: updating cache $cache_
18047        fi
18048      fi
18049    else
18050 <    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18051 < $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18050 >    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18051 > printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
18052    fi
18053   fi
18054   rm -f confcache
# Line 17291 | Line 18065 | U=
18065   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18066    # 1. Remove the extension, and $U if already installed.
18067    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18068 <  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18068 >  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
18069    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18070    #    will be set to the directory where LIBOBJS objects are built.
18071    as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
# Line 17302 | Line 18076 | LIBOBJS=$ac_libobjs
18076   LTLIBOBJS=$ac_ltlibobjs
18077  
18078  
18079 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18080 < $as_echo_n "checking that generated files are newer than configure... " >&6; }
18079 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18080 > printf %s "checking that generated files are newer than configure... " >&6; }
18081     if test -n "$am_sleep_pid"; then
18082       # Hide warnings about reused PIDs.
18083       wait $am_sleep_pid 2>/dev/null
18084     fi
18085 <   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18086 < $as_echo "done" >&6; }
18085 >   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
18086 > printf "%s\n" "done" >&6; }
18087   if test -n "$EXEEXT"; then
18088    am__EXEEXT_TRUE=
18089    am__EXEEXT_FALSE='#'
# Line 17345 | Line 18119 | LT_CONFIG_H=config.h
18119      if test -n "$_LT_LIBOBJS"; then
18120        # Remove the extension.
18121        _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
18122 <      for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
18122 >      for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | $SED "$_lt_sed_drop_objext" | sort -u`; do
18123          _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
18124          _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
18125        done
# Line 17361 | Line 18135 | LT_CONFIG_H=config.h
18135   ac_write_fail=0
18136   ac_clean_files_save=$ac_clean_files
18137   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18138 < { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18139 < $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18138 > { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18139 > printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
18140   as_write_fail=0
18141   cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18142   #! $SHELL
# Line 17385 | Line 18159 | cat >>$CONFIG_STATUS <<\_ASEOF || as_wri
18159  
18160   # Be more Bourne compatible
18161   DUALCASE=1; export DUALCASE # for MKS sh
18162 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18162 > as_nop=:
18163 > if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
18164 > then :
18165    emulate sh
18166    NULLCMD=:
18167    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18168    # is contrary to our usage.  Disable this feature.
18169    alias -g '${1+"$@"}'='"$@"'
18170    setopt NO_GLOB_SUBST
18171 < else
18171 > else $as_nop
18172    case `(set -o) 2>/dev/null` in #(
18173    *posix*) :
18174      set -o posix ;; #(
# Line 17402 | Line 18178 | esac
18178   fi
18179  
18180  
18181 +
18182 + # Reset variables that may have inherited troublesome values from
18183 + # the environment.
18184 +
18185 + # IFS needs to be set, to space, tab, and newline, in precisely that order.
18186 + # (If _AS_PATH_WALK were called with IFS unset, it would have the
18187 + # side effect of setting IFS to empty, thus disabling word splitting.)
18188 + # Quoting is to prevent editors from complaining about space-tab.
18189   as_nl='
18190   '
18191   export as_nl
18192 < # Printing a long string crashes Solaris 7 /usr/bin/printf.
18193 < as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18194 < as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18195 < as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18196 < # Prefer a ksh shell builtin over an external printf program on Solaris,
18197 < # but without wasting forks for bash or zsh.
18198 < if test -z "$BASH_VERSION$ZSH_VERSION" \
18199 <    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18200 <  as_echo='print -r --'
18201 <  as_echo_n='print -rn --'
18202 < elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18203 <  as_echo='printf %s\n'
18204 <  as_echo_n='printf %s'
18205 < else
18206 <  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18207 <    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18208 <    as_echo_n='/usr/ucb/echo -n'
18209 <  else
18210 <    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18211 <    as_echo_n_body='eval
18212 <      arg=$1;
18213 <      case $arg in #(
18214 <      *"$as_nl"*)
18215 <        expr "X$arg" : "X\\(.*\\)$as_nl";
18216 <        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18217 <      esac;
17434 <      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17435 <    '
17436 <    export as_echo_n_body
17437 <    as_echo_n='sh -c $as_echo_n_body as_echo'
17438 <  fi
17439 <  export as_echo_body
17440 <  as_echo='sh -c $as_echo_body as_echo'
17441 < fi
18192 > IFS=" ""        $as_nl"
18193 >
18194 > PS1='$ '
18195 > PS2='> '
18196 > PS4='+ '
18197 >
18198 > # Ensure predictable behavior from utilities with locale-dependent output.
18199 > LC_ALL=C
18200 > export LC_ALL
18201 > LANGUAGE=C
18202 > export LANGUAGE
18203 >
18204 > # We cannot yet rely on "unset" to work, but we need these variables
18205 > # to be unset--not just set to an empty or harmless value--now, to
18206 > # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
18207 > # also avoids known problems related to "unset" and subshell syntax
18208 > # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
18209 > for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
18210 > do eval test \${$as_var+y} \
18211 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18212 > done
18213 >
18214 > # Ensure that fds 0, 1, and 2 are open.
18215 > if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
18216 > if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
18217 > if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
18218  
18219   # The user is always right.
18220 < if test "${PATH_SEPARATOR+set}" != set; then
18220 > if ${PATH_SEPARATOR+false} :; then
18221    PATH_SEPARATOR=:
18222    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18223      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
# Line 17450 | Line 18226 | if test "${PATH_SEPARATOR+set}" != set;
18226   fi
18227  
18228  
17453 # IFS
17454 # We need space, tab and new line, in precisely that order.  Quoting is
17455 # there to prevent editors from complaining about space-tab.
17456 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17457 # splitting by setting IFS to empty value.)
17458 IFS=" ""        $as_nl"
17459
18229   # Find who we are.  Look in the path if we contain no directory separator.
18230   as_myself=
18231   case $0 in #((
# Line 17465 | Line 18234 | case $0 in #((
18234   for as_dir in $PATH
18235   do
18236    IFS=$as_save_IFS
18237 <  test -z "$as_dir" && as_dir=.
18238 <    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18237 >  case $as_dir in #(((
18238 >    '') as_dir=./ ;;
18239 >    */) ;;
18240 >    *) as_dir=$as_dir/ ;;
18241 >  esac
18242 >    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
18243    done
18244   IFS=$as_save_IFS
18245  
# Line 17478 | Line 18251 | if test "x$as_myself" = x; then
18251    as_myself=$0
18252   fi
18253   if test ! -f "$as_myself"; then
18254 <  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18254 >  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18255    exit 1
18256   fi
18257  
17485 # Unset variables that we do not need and which cause bugs (e.g. in
17486 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17487 # suppresses any "Segmentation fault" message there.  '((' could
17488 # trigger a bug in pdksh 5.2.14.
17489 for as_var in BASH_ENV ENV MAIL MAILPATH
17490 do eval test x\${$as_var+set} = xset \
17491  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17492 done
17493 PS1='$ '
17494 PS2='> '
17495 PS4='+ '
17496
17497 # NLS nuisances.
17498 LC_ALL=C
17499 export LC_ALL
17500 LANGUAGE=C
17501 export LANGUAGE
17502
17503 # CDPATH.
17504 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18258  
18259  
18260   # as_fn_error STATUS ERROR [LINENO LOG_FD]
# Line 17514 | Line 18267 | as_fn_error ()
18267    as_status=$1; test $as_status -eq 0 && as_status=1
18268    if test "$4"; then
18269      as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18270 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18270 >    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18271    fi
18272 <  $as_echo "$as_me: error: $2" >&2
18272 >  printf "%s\n" "$as_me: error: $2" >&2
18273    as_fn_exit $as_status
18274   } # as_fn_error
18275  
18276  
18277 +
18278   # as_fn_set_status STATUS
18279   # -----------------------
18280   # Set $? to STATUS, without forking.
# Line 17547 | Line 18301 | as_fn_unset ()
18301    { eval $1=; unset $1;}
18302   }
18303   as_unset=as_fn_unset
18304 +
18305   # as_fn_append VAR VALUE
18306   # ----------------------
18307   # Append the text in VALUE to the end of the definition contained in VAR. Take
18308   # advantage of any shell optimizations that allow amortized linear growth over
18309   # repeated appends, instead of the typical quadratic growth present in naive
18310   # implementations.
18311 < if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18311 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
18312 > then :
18313    eval 'as_fn_append ()
18314    {
18315      eval $1+=\$2
18316    }'
18317 < else
18317 > else $as_nop
18318    as_fn_append ()
18319    {
18320      eval $1=\$$1\$2
# Line 17570 | Line 18326 | fi # as_fn_append
18326   # Perform arithmetic evaluation on the ARGs, and store the result in the
18327   # global $as_val. Take advantage of shells that can avoid forks. The arguments
18328   # must be portable across $(()) and expr.
18329 < if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18329 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
18330 > then :
18331    eval 'as_fn_arith ()
18332    {
18333      as_val=$(( $* ))
18334    }'
18335 < else
18335 > else $as_nop
18336    as_fn_arith ()
18337    {
18338      as_val=`expr "$@" || test $? -eq 1`
# Line 17606 | Line 18363 | as_me=`$as_basename -- "$0" ||
18363   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18364           X"$0" : 'X\(//\)$' \| \
18365           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18366 < $as_echo X/"$0" |
18366 > printf "%s\n" X/"$0" |
18367      sed '/^.*\/\([^/][^/]*\)\/*$/{
18368              s//\1/
18369              q
# Line 17628 | Line 18385 | as_cr_Letters=$as_cr_letters$as_cr_LETTE
18385   as_cr_digits='0123456789'
18386   as_cr_alnum=$as_cr_Letters$as_cr_digits
18387  
18388 +
18389 + # Determine whether it's possible to make 'echo' print without a newline.
18390 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
18391 + # for compatibility with existing Makefiles.
18392   ECHO_C= ECHO_N= ECHO_T=
18393   case `echo -n x` in #(((((
18394   -n*)
# Line 17641 | Line 18402 | case `echo -n x` in #(((((
18402    ECHO_N='-n';;
18403   esac
18404  
18405 + # For backward compatibility with old third-party macros, we provide
18406 + # the shell variables $as_echo and $as_echo_n.  New code should use
18407 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
18408 + as_echo='printf %s\n'
18409 + as_echo_n='printf %s'
18410 +
18411   rm -f conf$$ conf$$.exe conf$$.file
18412   if test -d conf$$.dir; then
18413    rm -f conf$$.dir/conf$$.file
# Line 17682 | Line 18449 | as_fn_mkdir_p ()
18449      as_dirs=
18450      while :; do
18451        case $as_dir in #(
18452 <      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18452 >      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18453        *) as_qdir=$as_dir;;
18454        esac
18455        as_dirs="'$as_qdir' $as_dirs"
# Line 17691 | Line 18458 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/
18458           X"$as_dir" : 'X\(//\)[^/]' \| \
18459           X"$as_dir" : 'X\(//\)$' \| \
18460           X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18461 < $as_echo X"$as_dir" |
18461 > printf "%s\n" X"$as_dir" |
18462      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18463              s//\1/
18464              q
# Line 17753 | Line 18520 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
18520   # report actual input values of CONFIG_FILES etc. instead of their
18521   # values after options handling.
18522   ac_log="
18523 < This file was extended by ircd-hybrid $as_me 8.2.30, which was
18524 < generated by GNU Autoconf 2.69.  Invocation command line was
18523 > This file was extended by ircd-hybrid $as_me 8.2.40, which was
18524 > generated by GNU Autoconf 2.71.  Invocation command line was
18525  
18526    CONFIG_FILES    = $CONFIG_FILES
18527    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 17816 | Line 18583 | $config_commands
18583   Report bugs to <bugs@ircd-hybrid.org>."
18584  
18585   _ACEOF
18586 + ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
18587 + ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
18588   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18589 < ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18589 > ac_cs_config='$ac_cs_config_escaped'
18590   ac_cs_version="\\
18591 < ircd-hybrid config.status 8.2.30
18592 < configured by $0, generated by GNU Autoconf 2.69,
18591 > ircd-hybrid config.status 8.2.40
18592 > configured by $0, generated by GNU Autoconf 2.71,
18593    with options \\"\$ac_cs_config\\"
18594  
18595 < Copyright (C) 2012 Free Software Foundation, Inc.
18595 > Copyright (C) 2021 Free Software Foundation, Inc.
18596   This config.status script is free software; the Free Software Foundation
18597   gives unlimited permission to copy, distribute and modify it."
18598  
# Line 17863 | Line 18632 | do
18632    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18633      ac_cs_recheck=: ;;
18634    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18635 <    $as_echo "$ac_cs_version"; exit ;;
18635 >    printf "%s\n" "$ac_cs_version"; exit ;;
18636    --config | --confi | --conf | --con | --co | --c )
18637 <    $as_echo "$ac_cs_config"; exit ;;
18637 >    printf "%s\n" "$ac_cs_config"; exit ;;
18638    --debug | --debu | --deb | --de | --d | -d )
18639      debug=: ;;
18640    --file | --fil | --fi | --f )
18641      $ac_shift
18642      case $ac_optarg in
18643 <    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18643 >    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18644      '') as_fn_error $? "missing file argument" ;;
18645      esac
18646      as_fn_append CONFIG_FILES " '$ac_optarg'"
# Line 17879 | Line 18648 | do
18648    --header | --heade | --head | --hea )
18649      $ac_shift
18650      case $ac_optarg in
18651 <    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18651 >    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18652      esac
18653      as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18654      ac_need_defaults=false;;
# Line 17888 | Line 18657 | do
18657      as_fn_error $? "ambiguous option: \`$1'
18658   Try \`$0 --help' for more information.";;
18659    --help | --hel | -h )
18660 <    $as_echo "$ac_cs_usage"; exit ;;
18660 >    printf "%s\n" "$ac_cs_usage"; exit ;;
18661    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18662    | -silent | --silent | --silen | --sile | --sil | --si | --s)
18663      ac_cs_silent=: ;;
# Line 17916 | Line 18685 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
18685   if \$ac_cs_recheck; then
18686    set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18687    shift
18688 <  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18688 >  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
18689    CONFIG_SHELL='$SHELL'
18690    export CONFIG_SHELL
18691    exec "\$@"
# Line 17930 | Line 18699 | exec 5>>config.log
18699    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18700   ## Running $as_me. ##
18701   _ASBOX
18702 <  $as_echo "$ac_log"
18702 >  printf "%s\n" "$ac_log"
18703   } >&5
18704  
18705   _ACEOF
# Line 17982 | Line 18751 | lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_t
18751   lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18752   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18753   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18754 + FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
18755   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18756   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18757   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
# Line 17990 | Line 18760 | want_nocaseglob='`$ECHO "$want_nocaseglo
18760   DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18761   sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18762   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18763 + lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
18764   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18765   archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18766   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
# Line 18110 | Line 18881 | LN_S \
18881   lt_SP2NL \
18882   lt_NL2SP \
18883   reload_flag \
18884 + FILECMD \
18885   OBJDUMP \
18886   deplibs_check_method \
18887   file_magic_cmd \
# Line 18118 | Line 18890 | want_nocaseglob \
18890   DLLTOOL \
18891   sharedlib_from_linklib_cmd \
18892   AR \
18121 AR_FLAGS \
18893   archiver_list_spec \
18894   STRIP \
18895   RANLIB \
# Line 18254 | Line 19025 | done
19025   # We use the long form for the default assignment because of an extremely
19026   # bizarre bug on SunOS 4.1.3.
19027   if $ac_need_defaults; then
19028 <  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19029 <  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19030 <  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19028 >  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
19029 >  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
19030 >  test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
19031   fi
19032  
19033   # Have a temporary directory for convenience.  Make it in the build tree
# Line 18592 | Line 19363 | do
19363             esac ||
19364             as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19365        esac
19366 <      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19366 >      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19367        as_fn_append ac_file_inputs " '$ac_f'"
19368      done
19369  
# Line 18600 | Line 19371 | do
19371      # use $as_me), people would be surprised to read:
19372      #    /* config.h.  Generated by config.status.  */
19373      configure_input='Generated from '`
19374 <          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19374 >          printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19375          `' by configure.'
19376      if test x"$ac_file" != x-; then
19377        configure_input="$ac_file.  $configure_input"
19378 <      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19379 < $as_echo "$as_me: creating $ac_file" >&6;}
19378 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19379 > printf "%s\n" "$as_me: creating $ac_file" >&6;}
19380      fi
19381      # Neutralize special characters interpreted by sed in replacement strings.
19382      case $configure_input in #(
19383      *\&* | *\|* | *\\* )
19384 <       ac_sed_conf_input=`$as_echo "$configure_input" |
19384 >       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
19385         sed 's/[\\\\&|]/\\\\&/g'`;; #(
19386      *) ac_sed_conf_input=$configure_input;;
19387      esac
# Line 18627 | Line 19398 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^
19398           X"$ac_file" : 'X\(//\)[^/]' \| \
19399           X"$ac_file" : 'X\(//\)$' \| \
19400           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19401 < $as_echo X"$ac_file" |
19401 > printf "%s\n" X"$ac_file" |
19402      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19403              s//\1/
19404              q
# Line 18651 | Line 19422 | $as_echo X"$ac_file" |
19422   case "$ac_dir" in
19423   .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19424   *)
19425 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19425 >  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
19426    # A ".." for each directory in $ac_dir_suffix.
19427 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19427 >  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19428    case $ac_top_builddir_sub in
19429    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19430    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 18715 | Line 19486 | ac_sed_dataroot='
19486   case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19487   *datarootdir*) ac_datarootdir_seen=yes;;
19488   *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19489 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19490 < $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19489 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19490 > printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19491   _ACEOF
19492   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19493    ac_datarootdir_hack='
# Line 18760 | Line 19531 | test -z "$ac_datarootdir_hack$ac_dataroo
19531    { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19532    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
19533        "$ac_tmp/out"`; test -z "$ac_out"; } &&
19534 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19534 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19535   which seems to be undefined.  Please make sure it is defined" >&5
19536 < $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19536 > printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19537   which seems to be undefined.  Please make sure it is defined" >&2;}
19538  
19539    rm -f "$ac_tmp/stdin"
# Line 18778 | Line 19549 | which seems to be undefined.  Please mak
19549    #
19550    if test x"$ac_file" != x-; then
19551      {
19552 <      $as_echo "/* $configure_input  */" \
19552 >      printf "%s\n" "/* $configure_input  */" >&1 \
19553        && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19554      } >"$ac_tmp/config.h" \
19555        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19556      if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19557 <      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19558 < $as_echo "$as_me: $ac_file is unchanged" >&6;}
19557 >      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19558 > printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
19559      else
19560        rm -f "$ac_file"
19561        mv "$ac_tmp/config.h" "$ac_file" \
19562          || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19563      fi
19564    else
19565 <    $as_echo "/* $configure_input  */" \
19565 >    printf "%s\n" "/* $configure_input  */" >&1 \
19566        && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19567        || as_fn_error $? "could not create -" "$LINENO" 5
19568    fi
# Line 18811 | Line 19582 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^
19582           X"$_am_arg" : 'X\(//\)[^/]' \| \
19583           X"$_am_arg" : 'X\(//\)$' \| \
19584           X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19585 < $as_echo X"$_am_arg" |
19585 > printf "%s\n" X"$_am_arg" |
19586      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19587              s//\1/
19588              q
# Line 18831 | Line 19602 | $as_echo X"$_am_arg" |
19602            s/.*/./; q'`/stamp-h$_am_stamp_count
19603   ;;
19604  
19605 <  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19606 < $as_echo "$as_me: executing $ac_file commands" >&6;}
19605 >  :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19606 > printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
19607   ;;
19608    esac
19609  
# Line 18858 | Line 19629 | esac
19629    for am_mf
19630    do
19631      # Strip MF so we end up with the name of the file.
19632 <    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
19632 >    am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
19633      # Check whether this is an Automake generated Makefile which includes
19634      # dependency-tracking related rules and includes.
19635      # Grep'ing the whole file directly is not great: AIX grep has a line
# Line 18870 | Line 19641 | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/]
19641           X"$am_mf" : 'X\(//\)[^/]' \| \
19642           X"$am_mf" : 'X\(//\)$' \| \
19643           X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19644 < $as_echo X"$am_mf" |
19644 > printf "%s\n" X"$am_mf" |
19645      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19646              s//\1/
19647              q
# Line 18892 | Line 19663 | $as_echo X"$am_mf" |
19663   $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19664           X"$am_mf" : 'X\(//\)$' \| \
19665           X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19666 < $as_echo X/"$am_mf" |
19666 > printf "%s\n" X/"$am_mf" |
19667      sed '/^.*\/\([^/][^/]*\)\/*$/{
19668              s//\1/
19669              q
# Line 18917 | Line 19688 | $as_echo X/"$am_mf" |
19688     (exit $ac_status); } || am_rc=$?
19689    done
19690    if test $am_rc -ne 0; then
19691 <    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19692 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19691 >    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19692 > printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
19693   as_fn_error $? "Something went wrong bootstrapping makefile fragments
19694 <    for automatic dependency tracking.  Try re-running configure with the
19694 >    for automatic dependency tracking.  If GNU make was not used, consider
19695 >    re-running the configure script with MAKE=\"gmake\" (or whatever is
19696 >    necessary).  You can also try re-running configure with the
19697      '--disable-dependency-tracking' option to at least be able to build
19698      the package (albeit without support for automatic dependency tracking).
19699   See \`config.log' for more details" "$LINENO" 5; }
# Line 18947 | Line 19720 | See \`config.log' for more details" "$LI
19720      cat <<_LT_EOF >> "$cfgfile"
19721   #! $SHELL
19722   # Generated automatically by $as_me ($PACKAGE) $VERSION
19723 + # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19724   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19725  
19726   # Provide generalized library-building support services.
# Line 19066 | Line 19840 | to_host_file_cmd=$lt_cv_to_host_file_cmd
19840   # convert \$build files to toolchain format.
19841   to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19842  
19843 + # A file(cmd) program that detects file types.
19844 + FILECMD=$lt_FILECMD
19845 +
19846   # An object symbol dumper.
19847   OBJDUMP=$lt_OBJDUMP
19848  
# Line 19090 | Line 19867 | sharedlib_from_linklib_cmd=$lt_sharedlib
19867   # The archiver.
19868   AR=$lt_AR
19869  
19870 + # Flags to create an archive (by configure).
19871 + lt_ar_flags=$lt_ar_flags
19872 +
19873   # Flags to create an archive.
19874 < AR_FLAGS=$lt_AR_FLAGS
19874 > AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
19875  
19876   # How to feed a file listing to the archiver.
19877   archiver_list_spec=$lt_archiver_list_spec
# Line 19459 | Line 20239 | _LT_EOF
20239    esac
20240  
20241  
20242 +
20243   ltmain=$ac_aux_dir/ltmain.sh
20244  
20245  
# Line 19466 | Line 20247 | ltmain=$ac_aux_dir/ltmain.sh
20247    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20248    # text mode, it properly converts lines to CR/LF.  This bash problem
20249    # is reportedly fixed, but why not run on old versions too?
20250 <  sed '$q' "$ltmain" >> "$cfgfile" \
20250 >  $SED '$q' "$ltmain" >> "$cfgfile" \
20251       || (rm -f "$cfgfile"; exit 1)
20252  
20253     mv -f "$cfgfile" "$ofile" ||
# Line 19508 | Line 20289 | if test "$no_create" != yes; then
20289    $ac_cs_success || as_fn_exit 1
20290   fi
20291   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20292 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20293 < $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20292 >  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20293 > printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20294   fi
20295  
20296  
# Line 19519 | Line 20300 | echo
20300   echo "ircd-hybrid will be installed in ${prefix}.  To change this, run:"
20301   echo "   ./configure --prefix=DIRECTORY"
20302   echo "###############################################################################"
20303 +

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)