ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/releases/8.0.0beta2/configure
(Generate patch)

Comparing ircd-hybrid-7.2/configure (file contents):
Revision 948 by michael, Tue Jul 21 17:34:06 2009 UTC vs.
Revision 998 by michael, Sun Aug 23 12:43:17 2009 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 + # From configure.ac Id: configure.ac 982 2009-08-13 22:15:08Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.63 for ircd-hybrid 7.2.4.
4 > # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
5   #
6   # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 > # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
8 > # Foundation, Inc.
9 > #
10   # This configure script is free software; the Free Software Foundation
11   # gives unlimited permission to copy, distribute and modify it.
12 < ## --------------------- ##
13 < ## M4sh Initialization.  ##
14 < ## --------------------- ##
12 > ## -------------------- ##
13 > ## M4sh Initialization. ##
14 > ## -------------------- ##
15  
16   # Be more Bourne compatible
17   DUALCASE=1; export DUALCASE # for MKS sh
18 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19    emulate sh
20    NULLCMD=:
21    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# Line 20 | Line 23 | if test -n "${ZSH_VERSION+set}" && (emul
23    alias -g '${1+"$@"}'='"$@"'
24    setopt NO_GLOB_SUBST
25   else
26 <  case `(set -o) 2>/dev/null` in
27 <  *posix*) set -o posix ;;
26 >  case `(set -o) 2>/dev/null` in #(
27 >  *posix*) :
28 >    set -o posix ;; #(
29 >  *) :
30 >     ;;
31   esac
26
32   fi
33  
34  
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
35   as_nl='
36   '
37   export as_nl
# Line 44 | Line 39 | export as_nl
39   as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 < if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
42 > # Prefer a ksh shell builtin over an external printf program on Solaris,
43 > # but without wasting forks for bash or zsh.
44 > if test -z "$BASH_VERSION$ZSH_VERSION" \
45 >    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 >  as_echo='print -r --'
47 >  as_echo_n='print -rn --'
48 > elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49    as_echo='printf %s\n'
50    as_echo_n='printf %s'
51   else
# Line 55 | Line 56 | else
56      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57      as_echo_n_body='eval
58        arg=$1;
59 <      case $arg in
59 >      case $arg in #(
60        *"$as_nl"*)
61          expr "X$arg" : "X\\(.*\\)$as_nl";
62          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 78 | Line 79 | if test "${PATH_SEPARATOR+set}" != set;
79    }
80   fi
81  
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83  as_unset=unset
84 else
85  as_unset=false
86 fi
87
82  
83   # IFS
84   # We need space, tab and new line, in precisely that order.  Quoting is
# Line 94 | Line 88 | fi
88   IFS=" ""        $as_nl"
89  
90   # Find who we are.  Look in the path if we contain no directory separator.
91 < case $0 in
91 > case $0 in #((
92    *[\\/]* ) as_myself=$0 ;;
93    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94   for as_dir in $PATH
95   do
96    IFS=$as_save_IFS
97    test -z "$as_dir" && as_dir=.
98 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 < done
98 >    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 >  done
100   IFS=$as_save_IFS
101  
102       ;;
# Line 114 | Line 108 | if test "x$as_myself" = x; then
108   fi
109   if test ! -f "$as_myself"; then
110    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 <  { (exit 1); exit 1; }
111 >  exit 1
112   fi
113  
114 < # Work around bugs in pre-3.0 UWIN ksh.
115 < for as_var in ENV MAIL MAILPATH
116 < do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 > # Unset variables that we do not need and which cause bugs (e.g. in
115 > # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 > # suppresses any "Segmentation fault" message there.  '((' could
117 > # trigger a bug in pdksh 5.2.14.
118 > for as_var in BASH_ENV ENV MAIL MAILPATH
119 > do eval test x\${$as_var+set} = xset \
120 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121   done
122   PS1='$ '
123   PS2='> '
# Line 131 | Line 129 | export LC_ALL
129   LANGUAGE=C
130   export LANGUAGE
131  
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137  as_expr=expr
138 else
139  as_expr=false
140 fi
141
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143  as_basename=basename
144 else
145  as_basename=false
146 fi
147
148
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152         X"$0" : 'X\(//\)$' \| \
153         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154 $as_echo X/"$0" |
155    sed '/^.*\/\([^/][^/]*\)\/*$/{
156            s//\1/
157            q
158          }
159          /^X\/\(\/\/\)$/{
160            s//\1/
161            q
162          }
163          /^X\/\(\/\).*/{
164            s//\1/
165            q
166          }
167          s/.*/./; q'`
168
132   # CDPATH.
133 < $as_unset CDPATH
171 <
133 > (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134  
135   if test "x$CONFIG_SHELL" = x; then
136 <  if (eval ":") 2>/dev/null; then
137 <  as_have_required=yes
136 >  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
137 >  emulate sh
138 >  NULLCMD=:
139 >  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
140 >  # is contrary to our usage.  Disable this feature.
141 >  alias -g '\${1+\"\$@\"}'='\"\$@\"'
142 >  setopt NO_GLOB_SUBST
143   else
144 <  as_have_required=no
144 >  case \`(set -o) 2>/dev/null\` in #(
145 >  *posix*) :
146 >    set -o posix ;; #(
147 >  *) :
148 >     ;;
149 > esac
150   fi
151 <
152 <  if test $as_have_required = yes &&     (eval ":
153 < (as_func_return () {
154 <  (exit \$1)
155 < }
156 < as_func_success () {
185 <  as_func_return 0
186 < }
187 < as_func_failure () {
188 <  as_func_return 1
189 < }
190 < as_func_ret_success () {
191 <  return 0
192 < }
193 < as_func_ret_failure () {
194 <  return 1
195 < }
151 > "
152 >  as_required="as_fn_return () { (exit \$1); }
153 > as_fn_success () { as_fn_return 0; }
154 > as_fn_failure () { as_fn_return 1; }
155 > as_fn_ret_success () { return 0; }
156 > as_fn_ret_failure () { return 1; }
157  
158   exitcode=0
159 < if as_func_success; then
160 <  :
161 < else
162 <  exitcode=1
163 <  echo as_func_success failed.
164 < fi
165 <
166 < if as_func_failure; then
167 <  exitcode=1
168 <  echo as_func_failure succeeded.
169 < fi
170 <
171 < if as_func_ret_success; then
172 <  :
173 < else
174 <  exitcode=1
175 <  echo as_func_ret_success failed.
215 < fi
216 <
217 < if as_func_ret_failure; then
218 <  exitcode=1
219 <  echo as_func_ret_failure succeeded.
220 < fi
221 <
222 < if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223 <  :
159 > as_fn_success || { exitcode=1; echo as_fn_success failed.; }
160 > as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
161 > as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
162 > as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
163 > if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 >
165 > else
166 >  exitcode=1; echo positional parameters were not saved.
167 > fi
168 > test x\$exitcode = x0 || exit 1"
169 >  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
170 >  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
171 >  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
172 >  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 > test \$(( 1 + 1 )) = 2 || exit 1"
174 >  if (eval "$as_required") 2>/dev/null; then :
175 >  as_have_required=yes
176   else
177 <  exitcode=1
226 <  echo positional parameters were not saved.
177 >  as_have_required=no
178   fi
179 +  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180  
229 test \$exitcode = 0) || { (exit 1); exit 1; }
230
231 (
232  as_lineno_1=\$LINENO
233  as_lineno_2=\$LINENO
234  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
237  :
181   else
182 <  as_candidate_shells=
183 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 > as_found=false
184   for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185   do
186    IFS=$as_save_IFS
187    test -z "$as_dir" && as_dir=.
188 <  case $as_dir in
188 >  as_found=:
189 >  case $as_dir in #(
190           /*)
191             for as_base in sh bash ksh sh5; do
192 <             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
192 >             # Try only shells that exist, to save several forks.
193 >             as_shell=$as_dir/$as_base
194 >             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 >                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 >  CONFIG_SHELL=$as_shell as_have_required=yes
197 >                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 >  break 2
199 > fi
200 > fi
201             done;;
202         esac
203 +  as_found=false
204   done
205 + $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 +              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 +  CONFIG_SHELL=$SHELL as_have_required=yes
208 + fi; }
209   IFS=$as_save_IFS
210  
211  
212 <      for as_shell in $as_candidate_shells $SHELL; do
213 <         # Try only shells that exist, to save several forks.
214 <         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
215 <                { ("$as_shell") 2> /dev/null <<\_ASEOF
216 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
217 <  emulate sh
218 <  NULLCMD=:
262 <  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 <  # is contrary to our usage.  Disable this feature.
264 <  alias -g '${1+"$@"}'='"$@"'
265 <  setopt NO_GLOB_SUBST
266 < else
267 <  case `(set -o) 2>/dev/null` in
268 <  *posix*) set -o posix ;;
269 < esac
270 <
271 < fi
272 <
273 <
274 < :
275 < _ASEOF
276 < }; then
277 <  CONFIG_SHELL=$as_shell
278 <               as_have_required=yes
279 <               if { "$as_shell" 2> /dev/null <<\_ASEOF
280 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281 <  emulate sh
282 <  NULLCMD=:
283 <  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 <  # is contrary to our usage.  Disable this feature.
285 <  alias -g '${1+"$@"}'='"$@"'
286 <  setopt NO_GLOB_SUBST
287 < else
288 <  case `(set -o) 2>/dev/null` in
289 <  *posix*) set -o posix ;;
290 < esac
291 <
292 < fi
293 <
294 <
295 < :
296 < (as_func_return () {
297 <  (exit $1)
298 < }
299 < as_func_success () {
300 <  as_func_return 0
301 < }
302 < as_func_failure () {
303 <  as_func_return 1
304 < }
305 < as_func_ret_success () {
306 <  return 0
307 < }
308 < as_func_ret_failure () {
309 <  return 1
310 < }
311 <
312 < exitcode=0
313 < if as_func_success; then
314 <  :
315 < else
316 <  exitcode=1
317 <  echo as_func_success failed.
318 < fi
319 <
320 < if as_func_failure; then
321 <  exitcode=1
322 <  echo as_func_failure succeeded.
323 < fi
324 <
325 < if as_func_ret_success; then
326 <  :
327 < else
328 <  exitcode=1
329 <  echo as_func_ret_success failed.
330 < fi
331 <
332 < if as_func_ret_failure; then
333 <  exitcode=1
334 <  echo as_func_ret_failure succeeded.
335 < fi
336 <
337 < if ( set x; as_func_ret_success y && test x = "$1" ); then
338 <  :
339 < else
340 <  exitcode=1
341 <  echo positional parameters were not saved.
342 < fi
343 <
344 < test $exitcode = 0) || { (exit 1); exit 1; }
345 <
346 < (
347 <  as_lineno_1=$LINENO
348 <  as_lineno_2=$LINENO
349 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
350 <  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351 <
352 < _ASEOF
353 < }; then
354 <  break
355 < fi
356 <
357 < fi
358 <
359 <      done
360 <
361 <      if test "x$CONFIG_SHELL" != x; then
362 <  for as_var in BASH_ENV ENV
363 <        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364 <        done
212 >      if test "x$CONFIG_SHELL" != x; then :
213 >  # We cannot yet assume a decent shell, so we have to provide a
214 >        # neutralization value for shells without unset; and this also
215 >        # works around shells that cannot unset nonexistent variables.
216 >        BASH_ENV=/dev/null
217 >        ENV=/dev/null
218 >        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219          export CONFIG_SHELL
220          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221   fi
222  
223 <
224 <    if test $as_have_required = no; then
225 <  echo This script requires a shell more modern than all the
226 <      echo shells that I found on your system.  Please install a
227 <      echo modern shell, or manually run the script under such a
228 <      echo shell if you do have one.
229 <      { (exit 1); exit 1; }
223 >    if test x$as_have_required = xno; then :
224 >  $as_echo "$0: This script requires a shell more modern than all"
225 >  $as_echo "$0: the shells that I found on your system."
226 >  if test x${ZSH_VERSION+set} = xset ; then
227 >    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 >    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 >  else
230 >    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 > $0: including any error possibly output before this
232 > $0: message. Then install a modern shell, or manually run
233 > $0: the script under such a shell if you do have one."
234 >  fi
235 >  exit 1
236   fi
377
378
237   fi
380
238   fi
239 + SHELL=${CONFIG_SHELL-/bin/sh}
240 + export SHELL
241 + # Unset more variables known to interfere with behavior of common tools.
242 + CLICOLOR_FORCE= GREP_OPTIONS=
243 + unset CLICOLOR_FORCE GREP_OPTIONS
244  
245 + ## --------------------- ##
246 + ## M4sh Shell Functions. ##
247 + ## --------------------- ##
248 + # as_fn_unset VAR
249 + # ---------------
250 + # Portably unset VAR.
251 + as_fn_unset ()
252 + {
253 +  { eval $1=; unset $1;}
254 + }
255 + as_unset=as_fn_unset
256 +
257 + # as_fn_set_status STATUS
258 + # -----------------------
259 + # Set $? to STATUS, without forking.
260 + as_fn_set_status ()
261 + {
262 +  return $1
263 + } # as_fn_set_status
264 +
265 + # as_fn_exit STATUS
266 + # -----------------
267 + # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
268 + as_fn_exit ()
269 + {
270 +  set +e
271 +  as_fn_set_status $1
272 +  exit $1
273 + } # as_fn_exit
274 +
275 + # as_fn_mkdir_p
276 + # -------------
277 + # Create "$as_dir" as a directory, including parents if necessary.
278 + as_fn_mkdir_p ()
279 + {
280  
281 +  case $as_dir in #(
282 +  -*) as_dir=./$as_dir;;
283 +  esac
284 +  test -d "$as_dir" || eval $as_mkdir_p || {
285 +    as_dirs=
286 +    while :; do
287 +      case $as_dir in #(
288 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 +      *) as_qdir=$as_dir;;
290 +      esac
291 +      as_dirs="'$as_qdir' $as_dirs"
292 +      as_dir=`$as_dirname -- "$as_dir" ||
293 + $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 +         X"$as_dir" : 'X\(//\)[^/]' \| \
295 +         X"$as_dir" : 'X\(//\)$' \| \
296 +         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 + $as_echo X"$as_dir" |
298 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
299 +            s//\1/
300 +            q
301 +          }
302 +          /^X\(\/\/\)[^/].*/{
303 +            s//\1/
304 +            q
305 +          }
306 +          /^X\(\/\/\)$/{
307 +            s//\1/
308 +            q
309 +          }
310 +          /^X\(\/\).*/{
311 +            s//\1/
312 +            q
313 +          }
314 +          s/.*/./; q'`
315 +      test -d "$as_dir" && break
316 +    done
317 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
318 +  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
319  
385 (eval "as_func_return () {
386  (exit \$1)
387 }
388 as_func_success () {
389  as_func_return 0
390 }
391 as_func_failure () {
392  as_func_return 1
393 }
394 as_func_ret_success () {
395  return 0
396 }
397 as_func_ret_failure () {
398  return 1
399 }
320  
321 < exitcode=0
322 < if as_func_success; then
323 <  :
321 > } # as_fn_mkdir_p
322 > # as_fn_append VAR VALUE
323 > # ----------------------
324 > # Append the text in VALUE to the end of the definition contained in VAR. Take
325 > # advantage of any shell optimizations that allow amortized linear growth over
326 > # repeated appends, instead of the typical quadratic growth present in naive
327 > # implementations.
328 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 >  eval 'as_fn_append ()
330 >  {
331 >    eval $1+=\$2
332 >  }'
333   else
334 <  exitcode=1
335 <  echo as_func_success failed.
336 < fi
334 >  as_fn_append ()
335 >  {
336 >    eval $1=\$$1\$2
337 >  }
338 > fi # as_fn_append
339  
340 < if as_func_failure; then
341 <  exitcode=1
342 <  echo as_func_failure succeeded.
343 < fi
340 > # as_fn_arith ARG...
341 > # ------------------
342 > # Perform arithmetic evaluation on the ARGs, and store the result in the
343 > # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 > # must be portable across $(()) and expr.
345 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
346 >  eval 'as_fn_arith ()
347 >  {
348 >    as_val=$(( $* ))
349 >  }'
350 > else
351 >  as_fn_arith ()
352 >  {
353 >    as_val=`expr "$@" || test $? -eq 1`
354 >  }
355 > fi # as_fn_arith
356  
357 < if as_func_ret_success; then
358 <  :
357 >
358 > # as_fn_error ERROR [LINENO LOG_FD]
359 > # ---------------------------------
360 > # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 > # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 > # script with status $?, using 1 if that was 0.
363 > as_fn_error ()
364 > {
365 >  as_status=$?; test $as_status -eq 0 && as_status=1
366 >  if test "$3"; then
367 >    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 >  fi
370 >  $as_echo "$as_me: error: $1" >&2
371 >  as_fn_exit $as_status
372 > } # as_fn_error
373 >
374 > if expr a : '\(a\)' >/dev/null 2>&1 &&
375 >   test "X`expr 00001 : '.*\(...\)'`" = X001; then
376 >  as_expr=expr
377   else
378 <  exitcode=1
418 <  echo as_func_ret_success failed.
378 >  as_expr=false
379   fi
380  
381 < if as_func_ret_failure; then
382 <  exitcode=1
383 <  echo as_func_ret_failure succeeded.
381 > if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
382 >  as_basename=basename
383 > else
384 >  as_basename=false
385   fi
386  
387 < if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
388 <  :
387 > if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
388 >  as_dirname=dirname
389   else
390 <  exitcode=1
430 <  echo positional parameters were not saved.
390 >  as_dirname=false
391   fi
392  
393 < test \$exitcode = 0") || {
394 <  echo No shell found that supports shell functions.
395 <  echo Please tell bug-autoconf@gnu.org about your system,
396 <  echo including any error possibly output before this message.
397 <  echo This can help us improve future autoconf versions.
398 <  echo Configuration will now proceed without shell functions.
399 < }
393 > as_me=`$as_basename -- "$0" ||
394 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395 >         X"$0" : 'X\(//\)$' \| \
396 >         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 > $as_echo X/"$0" |
398 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
399 >            s//\1/
400 >            q
401 >          }
402 >          /^X\/\(\/\/\)$/{
403 >            s//\1/
404 >            q
405 >          }
406 >          /^X\/\(\/\).*/{
407 >            s//\1/
408 >            q
409 >          }
410 >          s/.*/./; q'`
411  
412 + # Avoid depending upon Character Ranges.
413 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 + as_cr_digits='0123456789'
417 + as_cr_alnum=$as_cr_Letters$as_cr_digits
418  
419  
420 <  as_lineno_1=$LINENO
421 <  as_lineno_2=$LINENO
422 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
423 <  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424 <
448 <  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 <  # uniformly replaced by the line number.  The first 'sed' inserts a
450 <  # line-number line after each line using $LINENO; the second 'sed'
451 <  # does the real work.  The second script uses 'N' to pair each
452 <  # line-number line with the line containing $LINENO, and appends
453 <  # trailing '-' during substitution so that $LINENO is not a special
454 <  # case at line end.
455 <  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 <  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457 <  # E. McMahon (1931-1989) for sed's syntax.  :-)
420 >  as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 >  as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 >  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 >  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 >  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
425    sed -n '
426      p
427      /[$]LINENO/=
# Line 471 | Line 438 | test \$exitcode = 0") || {
438        s/-\n.*//
439      ' >$as_me.lineno &&
440    chmod +x "$as_me.lineno" ||
441 <    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 <   { (exit 1); exit 1; }; }
441 >    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442  
443    # Don't try to exec as it changes $[0], causing all sort of problems
444    # (the dirname of $[0] is not the place where we might find the
# Line 482 | Line 448 | test \$exitcode = 0") || {
448    exit
449   }
450  
485
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487  as_dirname=dirname
488 else
489  as_dirname=false
490 fi
491
451   ECHO_C= ECHO_N= ECHO_T=
452 < case `echo -n x` in
452 > case `echo -n x` in #(((((
453   -n*)
454 <  case `echo 'x\c'` in
454 >  case `echo 'xy\c'` in
455    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
456 <  *)   ECHO_C='\c';;
456 >  xy)  ECHO_C='\c';;
457 >  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
458 >       ECHO_T=' ';;
459    esac;;
460   *)
461    ECHO_N='-n';;
462   esac
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504  as_expr=expr
505 else
506  as_expr=false
507 fi
463  
464   rm -f conf$$ conf$$.exe conf$$.file
465   if test -d conf$$.dir; then
# Line 534 | Line 489 | rm -f conf$$ conf$$.exe conf$$.dir/conf$
489   rmdir conf$$.dir 2>/dev/null
490  
491   if mkdir -p . 2>/dev/null; then
492 <  as_mkdir_p=:
492 >  as_mkdir_p='mkdir -p "$as_dir"'
493   else
494    test -d ./-p && rmdir ./-p
495    as_mkdir_p=false
# Line 553 | Line 508 | else
508        if test -d "$1"; then
509          test -d "$1/.";
510        else
511 <        case $1 in
511 >        case $1 in #(
512          -*)set "./$1";;
513          esac;
514 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
514 >        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515          ???[sx]*):;;*)false;;esac;fi
516      '\'' sh
517    '
# Line 571 | Line 526 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
526  
527  
528  
574
529   # Check that we are running under the correct shell.
530   SHELL=${CONFIG_SHELL-/bin/sh}
531  
# Line 742 | Line 696 | cross_compiling=no
696   subdirs=
697   MFLAGS=
698   MAKEFLAGS=
745 SHELL=${CONFIG_SHELL-/bin/sh}
699  
700   # Identity of this package.
701   PACKAGE_NAME='ircd-hybrid'
# Line 750 | Line 703 | PACKAGE_TARNAME='ircd-hybrid'
703   PACKAGE_VERSION='7.2.4'
704   PACKAGE_STRING='ircd-hybrid 7.2.4'
705   PACKAGE_BUGREPORT=''
706 + PACKAGE_URL=''
707  
708   ac_unique_file="src/ircd.c"
709   # Factoring default headers for most tests.
# Line 806 | Line 760 | EFNET_FALSE
760   EFNET_TRUE
761   ENABLE_SSL_FALSE
762   ENABLE_SSL_TRUE
809 HAVE_CRYPT_FALSE
810 HAVE_CRYPT_TRUE
763   LTDLOPEN
764   LT_CONFIG_H
765   subdirs
# Line 932 | Line 884 | bindir
884   program_transform_name
885   prefix
886   exec_prefix
887 + PACKAGE_URL
888   PACKAGE_BUGREPORT
889   PACKAGE_STRING
890   PACKAGE_VERSION
# Line 944 | Line 897 | ac_user_opts='
897   enable_option_checking
898   enable_maintainer_mode
899   enable_dependency_tracking
947 enable_shared
900   enable_static
901 + enable_shared
902   with_pic
903   enable_fast_install
904   with_gnu_ld
# Line 1093 | Line 1046 | do
1046      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1047      # Reject names that are not valid shell variable names.
1048      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 <      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1097 <   { (exit 1); exit 1; }; }
1049 >      as_fn_error "invalid feature name: $ac_useropt"
1050      ac_useropt_orig=$ac_useropt
1051      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052      case $ac_user_opts in
# Line 1120 | Line 1072 | do
1072      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1073      # Reject names that are not valid shell variable names.
1074      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 <      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1124 <   { (exit 1); exit 1; }; }
1075 >      as_fn_error "invalid feature name: $ac_useropt"
1076      ac_useropt_orig=$ac_useropt
1077      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078      case $ac_user_opts in
# Line 1325 | Line 1276 | do
1276      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1277      # Reject names that are not valid shell variable names.
1278      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1279 <      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1329 <   { (exit 1); exit 1; }; }
1279 >      as_fn_error "invalid package name: $ac_useropt"
1280      ac_useropt_orig=$ac_useropt
1281      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1282      case $ac_user_opts in
# Line 1342 | Line 1292 | do
1292      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1293      # Reject names that are not valid shell variable names.
1294      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1295 <      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1346 <   { (exit 1); exit 1; }; }
1295 >      as_fn_error "invalid package name: $ac_useropt"
1296      ac_useropt_orig=$ac_useropt
1297      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298      case $ac_user_opts in
# Line 1373 | Line 1322 | do
1322    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1323      x_libraries=$ac_optarg ;;
1324  
1325 <  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1326 < Try \`$0 --help' for more information." >&2
1378 <   { (exit 1); exit 1; }; }
1325 >  -*) as_fn_error "unrecognized option: \`$ac_option'
1326 > Try \`$0 --help' for more information."
1327      ;;
1328  
1329    *=*)
1330      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1331      # Reject names that are not valid shell variable names.
1332 <    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1333 <      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1334 <   { (exit 1); exit 1; }; }
1332 >    case $ac_envvar in #(
1333 >      '' | [0-9]* | *[!_$as_cr_alnum]* )
1334 >      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1335 >    esac
1336      eval $ac_envvar=\$ac_optarg
1337      export $ac_envvar ;;
1338  
# Line 1400 | Line 1349 | done
1349  
1350   if test -n "$ac_prev"; then
1351    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1352 <  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1404 <   { (exit 1); exit 1; }; }
1352 >  as_fn_error "missing argument to $ac_option"
1353   fi
1354  
1355   if test -n "$ac_unrecognized_opts"; then
1356    case $enable_option_checking in
1357      no) ;;
1358 <    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1411 <   { (exit 1); exit 1; }; } ;;
1358 >    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1359      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1360    esac
1361   fi
# Line 1431 | Line 1378 | do
1378      [\\/$]* | ?:[\\/]* )  continue;;
1379      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1380    esac
1381 <  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1435 <   { (exit 1); exit 1; }; }
1381 >  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1382   done
1383  
1384   # There might be people who depend on the old broken behavior: `$host'
# Line 1462 | Line 1408 | test "$silent" = yes && exec 6>/dev/null
1408   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1409   ac_ls_di=`ls -di .` &&
1410   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1411 <  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1466 <   { (exit 1); exit 1; }; }
1411 >  as_fn_error "working directory cannot be determined"
1412   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1413 <  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1469 <   { (exit 1); exit 1; }; }
1413 >  as_fn_error "pwd does not report name of working directory"
1414  
1415  
1416   # Find the source files, if location was not specified.
# Line 1505 | Line 1449 | else
1449   fi
1450   if test ! -r "$srcdir/$ac_unique_file"; then
1451    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1452 <  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1509 <   { (exit 1); exit 1; }; }
1452 >  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1453   fi
1454   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1455   ac_abs_confdir=`(
1456 <        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1514 <   { (exit 1); exit 1; }; }
1456 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1457          pwd)`
1458   # When building in place, set srcdir=.
1459   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1619 | Line 1561 | Optional Features:
1561                            (and sometimes confusing) to the casual installer
1562    --disable-dependency-tracking  speeds up one-time build
1563    --enable-dependency-tracking   do not reject slow dependency extractors
1564 +  --enable-static[=PKGS]  build static libraries [default=no]
1565    --enable-shared[=PKGS]  build shared libraries [default=yes]
1623  --enable-static[=PKGS]  build static libraries [default=yes]
1566    --enable-fast-install[=PKGS]
1567                            optimize for fast installation [default=yes]
1568    --disable-libtool-lock  avoid locking (might break parallel builds)
# Line 1678 | Line 1620 | Some influential environment variables:
1620   Use these variables to override the choices made by `configure' or to help
1621   it to find libraries and programs with nonstandard names/locations.
1622  
1623 + Report bugs to the package provider.
1624   _ACEOF
1625   ac_status=$?
1626   fi
# Line 1741 | Line 1684 | test -n "$ac_init_help" && exit $ac_stat
1684   if $ac_init_version; then
1685    cat <<\_ACEOF
1686   ircd-hybrid configure 7.2.4
1687 < generated by GNU Autoconf 2.63
1687 > generated by GNU Autoconf 2.64
1688  
1689 < Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1747 < 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1689 > Copyright (C) 2009 Free Software Foundation, Inc.
1690   This configure script is free software; the Free Software Foundation
1691   gives unlimited permission to copy, distribute and modify it.
1692   _ACEOF
1693    exit
1694   fi
1695 +
1696 + ## ------------------------ ##
1697 + ## Autoconf initialization. ##
1698 + ## ------------------------ ##
1699 +
1700 + # ac_fn_c_try_compile LINENO
1701 + # --------------------------
1702 + # Try to compile conftest.$ac_ext, and return whether this succeeded.
1703 + ac_fn_c_try_compile ()
1704 + {
1705 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 +  rm -f conftest.$ac_objext
1707 +  if { { ac_try="$ac_compile"
1708 + case "(($ac_try" in
1709 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 +  *) ac_try_echo=$ac_try;;
1711 + esac
1712 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 + $as_echo "$ac_try_echo"; } >&5
1714 +  (eval "$ac_compile") 2>conftest.err
1715 +  ac_status=$?
1716 +  if test -s conftest.err; then
1717 +    grep -v '^ *+' conftest.err >conftest.er1
1718 +    cat conftest.er1 >&5
1719 +    mv -f conftest.er1 conftest.err
1720 +  fi
1721 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 +  test $ac_status = 0; } && {
1723 +         test -z "$ac_c_werror_flag" ||
1724 +         test ! -s conftest.err
1725 +       } && test -s conftest.$ac_objext; then :
1726 +  ac_retval=0
1727 + else
1728 +  $as_echo "$as_me: failed program was:" >&5
1729 + sed 's/^/| /' conftest.$ac_ext >&5
1730 +
1731 +        ac_retval=1
1732 + fi
1733 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1734 +  return $ac_retval
1735 +
1736 + } # ac_fn_c_try_compile
1737 +
1738 + # ac_fn_c_try_link LINENO
1739 + # -----------------------
1740 + # Try to link conftest.$ac_ext, and return whether this succeeded.
1741 + ac_fn_c_try_link ()
1742 + {
1743 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 +  rm -f conftest.$ac_objext conftest$ac_exeext
1745 +  if { { ac_try="$ac_link"
1746 + case "(($ac_try" in
1747 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1748 +  *) ac_try_echo=$ac_try;;
1749 + esac
1750 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1751 + $as_echo "$ac_try_echo"; } >&5
1752 +  (eval "$ac_link") 2>conftest.err
1753 +  ac_status=$?
1754 +  if test -s conftest.err; then
1755 +    grep -v '^ *+' conftest.err >conftest.er1
1756 +    cat conftest.er1 >&5
1757 +    mv -f conftest.er1 conftest.err
1758 +  fi
1759 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 +  test $ac_status = 0; } && {
1761 +         test -z "$ac_c_werror_flag" ||
1762 +         test ! -s conftest.err
1763 +       } && test -s conftest$ac_exeext && {
1764 +         test "$cross_compiling" = yes ||
1765 +         $as_test_x conftest$ac_exeext
1766 +       }; then :
1767 +  ac_retval=0
1768 + else
1769 +  $as_echo "$as_me: failed program was:" >&5
1770 + sed 's/^/| /' conftest.$ac_ext >&5
1771 +
1772 +        ac_retval=1
1773 + fi
1774 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1775 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1776 +  # interfere with the next link command; also delete a directory that is
1777 +  # left behind by Apple's compiler.  We do this before executing the actions.
1778 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1779 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1780 +  return $ac_retval
1781 +
1782 + } # ac_fn_c_try_link
1783 +
1784 + # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1785 + # -------------------------------------------------------
1786 + # Tests whether HEADER exists and can be compiled using the include files in
1787 + # INCLUDES, setting the cache variable VAR accordingly.
1788 + ac_fn_c_check_header_compile ()
1789 + {
1790 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792 + $as_echo_n "checking for $2... " >&6; }
1793 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1794 +  $as_echo_n "(cached) " >&6
1795 + else
1796 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 + /* end confdefs.h.  */
1798 + $4
1799 + #include <$2>
1800 + _ACEOF
1801 + if ac_fn_c_try_compile "$LINENO"; then :
1802 +  eval "$3=yes"
1803 + else
1804 +  eval "$3=no"
1805 + fi
1806 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1807 + fi
1808 + eval ac_res=\$$3
1809 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810 + $as_echo "$ac_res" >&6; }
1811 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 +
1813 + } # ac_fn_c_check_header_compile
1814 +
1815 + # ac_fn_c_try_cpp LINENO
1816 + # ----------------------
1817 + # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1818 + ac_fn_c_try_cpp ()
1819 + {
1820 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 +  if { { ac_try="$ac_cpp conftest.$ac_ext"
1822 + case "(($ac_try" in
1823 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824 +  *) ac_try_echo=$ac_try;;
1825 + esac
1826 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 + $as_echo "$ac_try_echo"; } >&5
1828 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1829 +  ac_status=$?
1830 +  if test -s conftest.err; then
1831 +    grep -v '^ *+' conftest.err >conftest.er1
1832 +    cat conftest.er1 >&5
1833 +    mv -f conftest.er1 conftest.err
1834 +  fi
1835 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 +  test $ac_status = 0; } >/dev/null && {
1837 +         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1838 +         test ! -s conftest.err
1839 +       }; then :
1840 +  ac_retval=0
1841 + else
1842 +  $as_echo "$as_me: failed program was:" >&5
1843 + sed 's/^/| /' conftest.$ac_ext >&5
1844 +
1845 +    ac_retval=1
1846 + fi
1847 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1848 +  return $ac_retval
1849 +
1850 + } # ac_fn_c_try_cpp
1851 +
1852 + # ac_fn_c_try_run LINENO
1853 + # ----------------------
1854 + # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1855 + # that executables *can* be run.
1856 + ac_fn_c_try_run ()
1857 + {
1858 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 +  if { { ac_try="$ac_link"
1860 + case "(($ac_try" in
1861 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862 +  *) ac_try_echo=$ac_try;;
1863 + esac
1864 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865 + $as_echo "$ac_try_echo"; } >&5
1866 +  (eval "$ac_link") 2>&5
1867 +  ac_status=$?
1868 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869 +  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1870 +  { { case "(($ac_try" in
1871 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1872 +  *) ac_try_echo=$ac_try;;
1873 + esac
1874 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 + $as_echo "$ac_try_echo"; } >&5
1876 +  (eval "$ac_try") 2>&5
1877 +  ac_status=$?
1878 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879 +  test $ac_status = 0; }; }; then :
1880 +  ac_retval=0
1881 + else
1882 +  $as_echo "$as_me: program exited with status $ac_status" >&5
1883 +       $as_echo "$as_me: failed program was:" >&5
1884 + sed 's/^/| /' conftest.$ac_ext >&5
1885 +
1886 +       ac_retval=$ac_status
1887 + fi
1888 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1889 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1890 +  return $ac_retval
1891 +
1892 + } # ac_fn_c_try_run
1893 +
1894 + # ac_fn_c_check_func LINENO FUNC VAR
1895 + # ----------------------------------
1896 + # Tests whether FUNC exists, setting the cache variable VAR accordingly
1897 + ac_fn_c_check_func ()
1898 + {
1899 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1901 + $as_echo_n "checking for $2... " >&6; }
1902 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1903 +  $as_echo_n "(cached) " >&6
1904 + else
1905 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 + /* end confdefs.h.  */
1907 + /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1908 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1909 + #define $2 innocuous_$2
1910 +
1911 + /* System header to define __stub macros and hopefully few prototypes,
1912 +    which can conflict with char $2 (); below.
1913 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1914 +    <limits.h> exists even on freestanding compilers.  */
1915 +
1916 + #ifdef __STDC__
1917 + # include <limits.h>
1918 + #else
1919 + # include <assert.h>
1920 + #endif
1921 +
1922 + #undef $2
1923 +
1924 + /* Override any GCC internal prototype to avoid an error.
1925 +   Use char because int might match the return type of a GCC
1926 +   builtin and then its argument prototype would still apply.  */
1927 + #ifdef __cplusplus
1928 + extern "C"
1929 + #endif
1930 + char $2 ();
1931 + /* The GNU C library defines this for functions which it implements
1932 +    to always fail with ENOSYS.  Some functions are actually named
1933 +    something starting with __ and the normal name is an alias.  */
1934 + #if defined __stub_$2 || defined __stub___$2
1935 + choke me
1936 + #endif
1937 +
1938 + int
1939 + main ()
1940 + {
1941 + return $2 ();
1942 +  ;
1943 +  return 0;
1944 + }
1945 + _ACEOF
1946 + if ac_fn_c_try_link "$LINENO"; then :
1947 +  eval "$3=yes"
1948 + else
1949 +  eval "$3=no"
1950 + fi
1951 + rm -f core conftest.err conftest.$ac_objext \
1952 +    conftest$ac_exeext conftest.$ac_ext
1953 + fi
1954 + eval ac_res=\$$3
1955 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956 + $as_echo "$ac_res" >&6; }
1957 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1958 +
1959 + } # ac_fn_c_check_func
1960 +
1961 + # ac_fn_c_check_decl LINENO SYMBOL VAR
1962 + # ------------------------------------
1963 + # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1964 + ac_fn_c_check_decl ()
1965 + {
1966 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1968 + $as_echo_n "checking whether $2 is declared... " >&6; }
1969 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1970 +  $as_echo_n "(cached) " >&6
1971 + else
1972 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 + /* end confdefs.h.  */
1974 + $4
1975 + int
1976 + main ()
1977 + {
1978 + #ifndef $2
1979 +  (void) $2;
1980 + #endif
1981 +
1982 +  ;
1983 +  return 0;
1984 + }
1985 + _ACEOF
1986 + if ac_fn_c_try_compile "$LINENO"; then :
1987 +  eval "$3=yes"
1988 + else
1989 +  eval "$3=no"
1990 + fi
1991 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1992 + fi
1993 + eval ac_res=\$$3
1994 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 + $as_echo "$ac_res" >&6; }
1996 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1997 +
1998 + } # ac_fn_c_check_decl
1999 +
2000 + # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2001 + # -------------------------------------------
2002 + # Tests whether TYPE exists after having included INCLUDES, setting cache
2003 + # variable VAR accordingly.
2004 + ac_fn_c_check_type ()
2005 + {
2006 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2008 + $as_echo_n "checking for $2... " >&6; }
2009 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2010 +  $as_echo_n "(cached) " >&6
2011 + else
2012 +  eval "$3=no"
2013 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 + /* end confdefs.h.  */
2015 + $4
2016 + int
2017 + main ()
2018 + {
2019 + if (sizeof ($2))
2020 +         return 0;
2021 +  ;
2022 +  return 0;
2023 + }
2024 + _ACEOF
2025 + if ac_fn_c_try_compile "$LINENO"; then :
2026 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 + /* end confdefs.h.  */
2028 + $4
2029 + int
2030 + main ()
2031 + {
2032 + if (sizeof (($2)))
2033 +            return 0;
2034 +  ;
2035 +  return 0;
2036 + }
2037 + _ACEOF
2038 + if ac_fn_c_try_compile "$LINENO"; then :
2039 +
2040 + else
2041 +  eval "$3=yes"
2042 + fi
2043 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2044 + fi
2045 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2046 + fi
2047 + eval ac_res=\$$3
2048 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049 + $as_echo "$ac_res" >&6; }
2050 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2051 +
2052 + } # ac_fn_c_check_type
2053 +
2054 + # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2055 + # ----------------------------------------------------
2056 + # Tries to find if the field MEMBER exists in type AGGR, after including
2057 + # INCLUDES, setting cache variable VAR accordingly.
2058 + ac_fn_c_check_member ()
2059 + {
2060 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2062 + $as_echo_n "checking for $2.$3... " >&6; }
2063 + if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2064 +  $as_echo_n "(cached) " >&6
2065 + else
2066 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 + /* end confdefs.h.  */
2068 + $5
2069 + int
2070 + main ()
2071 + {
2072 + static $2 ac_aggr;
2073 + if (ac_aggr.$3)
2074 + return 0;
2075 +  ;
2076 +  return 0;
2077 + }
2078 + _ACEOF
2079 + if ac_fn_c_try_compile "$LINENO"; then :
2080 +  eval "$4=yes"
2081 + else
2082 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 + /* end confdefs.h.  */
2084 + $5
2085 + int
2086 + main ()
2087 + {
2088 + static $2 ac_aggr;
2089 + if (sizeof ac_aggr.$3)
2090 + return 0;
2091 +  ;
2092 +  return 0;
2093 + }
2094 + _ACEOF
2095 + if ac_fn_c_try_compile "$LINENO"; then :
2096 +  eval "$4=yes"
2097 + else
2098 +  eval "$4=no"
2099 + fi
2100 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 + fi
2102 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 + fi
2104 + eval ac_res=\$$4
2105 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2106 + $as_echo "$ac_res" >&6; }
2107 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2108 +
2109 + } # ac_fn_c_check_member
2110 +
2111 + # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2112 + # --------------------------------------------
2113 + # Tries to find the compile-time value of EXPR in a program that includes
2114 + # INCLUDES, setting VAR accordingly. Returns whether the value could be
2115 + # computed
2116 + ac_fn_c_compute_int ()
2117 + {
2118 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119 +  if test "$cross_compiling" = yes; then
2120 +    # Depending upon the size, compute the lo and hi bounds.
2121 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 + /* end confdefs.h.  */
2123 + $4
2124 + int
2125 + main ()
2126 + {
2127 + static int test_array [1 - 2 * !(($2) >= 0)];
2128 + test_array [0] = 0
2129 +
2130 +  ;
2131 +  return 0;
2132 + }
2133 + _ACEOF
2134 + if ac_fn_c_try_compile "$LINENO"; then :
2135 +  ac_lo=0 ac_mid=0
2136 +  while :; do
2137 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 + /* end confdefs.h.  */
2139 + $4
2140 + int
2141 + main ()
2142 + {
2143 + static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2144 + test_array [0] = 0
2145 +
2146 +  ;
2147 +  return 0;
2148 + }
2149 + _ACEOF
2150 + if ac_fn_c_try_compile "$LINENO"; then :
2151 +  ac_hi=$ac_mid; break
2152 + else
2153 +  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2154 +                        if test $ac_lo -le $ac_mid; then
2155 +                          ac_lo= ac_hi=
2156 +                          break
2157 +                        fi
2158 +                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2159 + fi
2160 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161 +  done
2162 + else
2163 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 + /* end confdefs.h.  */
2165 + $4
2166 + int
2167 + main ()
2168 + {
2169 + static int test_array [1 - 2 * !(($2) < 0)];
2170 + test_array [0] = 0
2171 +
2172 +  ;
2173 +  return 0;
2174 + }
2175 + _ACEOF
2176 + if ac_fn_c_try_compile "$LINENO"; then :
2177 +  ac_hi=-1 ac_mid=-1
2178 +  while :; do
2179 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 + /* end confdefs.h.  */
2181 + $4
2182 + int
2183 + main ()
2184 + {
2185 + static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2186 + test_array [0] = 0
2187 +
2188 +  ;
2189 +  return 0;
2190 + }
2191 + _ACEOF
2192 + if ac_fn_c_try_compile "$LINENO"; then :
2193 +  ac_lo=$ac_mid; break
2194 + else
2195 +  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2196 +                        if test $ac_mid -le $ac_hi; then
2197 +                          ac_lo= ac_hi=
2198 +                          break
2199 +                        fi
2200 +                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2201 + fi
2202 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203 +  done
2204 + else
2205 +  ac_lo= ac_hi=
2206 + fi
2207 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208 + fi
2209 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 + # Binary search between lo and hi bounds.
2211 + while test "x$ac_lo" != "x$ac_hi"; do
2212 +  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2213 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 + /* end confdefs.h.  */
2215 + $4
2216 + int
2217 + main ()
2218 + {
2219 + static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2220 + test_array [0] = 0
2221 +
2222 +  ;
2223 +  return 0;
2224 + }
2225 + _ACEOF
2226 + if ac_fn_c_try_compile "$LINENO"; then :
2227 +  ac_hi=$ac_mid
2228 + else
2229 +  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2230 + fi
2231 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 + done
2233 + case $ac_lo in #((
2234 + ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2235 + '') ac_retval=1 ;;
2236 + esac
2237 +  else
2238 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239 + /* end confdefs.h.  */
2240 + $4
2241 + static long int longval () { return $2; }
2242 + static unsigned long int ulongval () { return $2; }
2243 + #include <stdio.h>
2244 + #include <stdlib.h>
2245 + int
2246 + main ()
2247 + {
2248 +
2249 +  FILE *f = fopen ("conftest.val", "w");
2250 +  if (! f)
2251 +    return 1;
2252 +  if (($2) < 0)
2253 +    {
2254 +      long int i = longval ();
2255 +      if (i != ($2))
2256 +        return 1;
2257 +      fprintf (f, "%ld", i);
2258 +    }
2259 +  else
2260 +    {
2261 +      unsigned long int i = ulongval ();
2262 +      if (i != ($2))
2263 +        return 1;
2264 +      fprintf (f, "%lu", i);
2265 +    }
2266 +  /* Do not output a trailing newline, as this causes \r\n confusion
2267 +     on some platforms.  */
2268 +  return ferror (f) || fclose (f) != 0;
2269 +
2270 +  ;
2271 +  return 0;
2272 + }
2273 + _ACEOF
2274 + if ac_fn_c_try_run "$LINENO"; then :
2275 +  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2276 + else
2277 +  ac_retval=1
2278 + fi
2279 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2280 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
2281 + rm -f conftest.val
2282 +
2283 +  fi
2284 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2285 +  return $ac_retval
2286 +
2287 + } # ac_fn_c_compute_int
2288 +
2289 + # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2290 + # -------------------------------------------------------
2291 + # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2292 + # the include files in INCLUDES and setting the cache variable VAR
2293 + # accordingly.
2294 + ac_fn_c_check_header_mongrel ()
2295 + {
2296 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2297 +  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2298 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2299 + $as_echo_n "checking for $2... " >&6; }
2300 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2301 +  $as_echo_n "(cached) " >&6
2302 + fi
2303 + eval ac_res=\$$3
2304 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2305 + $as_echo "$ac_res" >&6; }
2306 + else
2307 +  # Is the header compilable?
2308 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2309 + $as_echo_n "checking $2 usability... " >&6; }
2310 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 + /* end confdefs.h.  */
2312 + $4
2313 + #include <$2>
2314 + _ACEOF
2315 + if ac_fn_c_try_compile "$LINENO"; then :
2316 +  ac_header_compiler=yes
2317 + else
2318 +  ac_header_compiler=no
2319 + fi
2320 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2321 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2322 + $as_echo "$ac_header_compiler" >&6; }
2323 +
2324 + # Is the header present?
2325 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2326 + $as_echo_n "checking $2 presence... " >&6; }
2327 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2328 + /* end confdefs.h.  */
2329 + #include <$2>
2330 + _ACEOF
2331 + if ac_fn_c_try_cpp "$LINENO"; then :
2332 +  ac_header_preproc=yes
2333 + else
2334 +  ac_header_preproc=no
2335 + fi
2336 + rm -f conftest.err conftest.$ac_ext
2337 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2338 + $as_echo "$ac_header_preproc" >&6; }
2339 +
2340 + # So?  What about this header?
2341 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2342 +  yes:no: )
2343 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2344 + $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2345 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2346 + $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2347 +    ;;
2348 +  no:yes:* )
2349 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2350 + $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2351 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2352 + $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2353 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2354 + $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2355 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2356 + $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2357 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2358 + $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2359 +    ;;
2360 + esac
2361 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2362 + $as_echo_n "checking for $2... " >&6; }
2363 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2364 +  $as_echo_n "(cached) " >&6
2365 + else
2366 +  eval "$3=\$ac_header_compiler"
2367 + fi
2368 + eval ac_res=\$$3
2369 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2370 + $as_echo "$ac_res" >&6; }
2371 + fi
2372 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2373 +
2374 + } # ac_fn_c_check_header_mongrel
2375   cat >config.log <<_ACEOF
2376   This file contains any messages produced by compilers while
2377   running configure, to aid debugging if configure makes a mistake.
2378  
2379   It was created by ircd-hybrid $as_me 7.2.4, which was
2380 < generated by GNU Autoconf 2.63.  Invocation command line was
2380 > generated by GNU Autoconf 2.64.  Invocation command line was
2381  
2382    $ $0 $@
2383  
# Line 1791 | Line 2413 | for as_dir in $PATH
2413   do
2414    IFS=$as_save_IFS
2415    test -z "$as_dir" && as_dir=.
2416 <  $as_echo "PATH: $as_dir"
2417 < done
2416 >    $as_echo "PATH: $as_dir"
2417 >  done
2418   IFS=$as_save_IFS
2419  
2420   } >&5
# Line 1829 | Line 2451 | do
2451        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2452      esac
2453      case $ac_pass in
2454 <    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2454 >    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2455      2)
2456 <      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2456 >      as_fn_append ac_configure_args1 " '$ac_arg'"
2457        if test $ac_must_keep_next = true; then
2458          ac_must_keep_next=false # Got value, back to normal.
2459        else
# Line 1847 | Line 2469 | do
2469            -* ) ac_must_keep_next=true ;;
2470          esac
2471        fi
2472 <      ac_configure_args="$ac_configure_args '$ac_arg'"
2472 >      as_fn_append ac_configure_args " '$ac_arg'"
2473        ;;
2474      esac
2475    done
2476   done
2477 < $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2478 < $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2477 > { ac_configure_args0=; unset ac_configure_args0;}
2478 > { ac_configure_args1=; unset ac_configure_args1;}
2479  
2480   # When interrupted or exit'd, cleanup temporary files, and complete
2481   # config.log.  We remove comments because anyway the quotes in there
# Line 1878 | Line 2500 | _ASBOX
2500      case $ac_val in #(
2501      *${as_nl}*)
2502        case $ac_var in #(
2503 <      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2503 >      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2504   $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2505        esac
2506        case $ac_var in #(
2507        _ | IFS | as_nl) ;; #(
2508        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2509 <      *) $as_unset $ac_var ;;
2509 >      *) { eval $ac_var=; unset $ac_var;} ;;
2510        esac ;;
2511      esac
2512    done
# Line 1956 | Line 2578 | _ASBOX
2578      exit $exit_status
2579   ' 0
2580   for ac_signal in 1 2 13 15; do
2581 <  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2581 >  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2582   done
2583   ac_signal=0
2584  
2585   # confdefs.h avoids OS command line length limits that DEFS can exceed.
2586   rm -f -r conftest* confdefs.h
2587  
2588 + $as_echo "/* confdefs.h */" > confdefs.h
2589 +
2590   # Predefined preprocessor variables.
2591  
2592   cat >>confdefs.h <<_ACEOF
2593   #define PACKAGE_NAME "$PACKAGE_NAME"
2594   _ACEOF
2595  
1972
2596   cat >>confdefs.h <<_ACEOF
2597   #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2598   _ACEOF
2599  
1977
2600   cat >>confdefs.h <<_ACEOF
2601   #define PACKAGE_VERSION "$PACKAGE_VERSION"
2602   _ACEOF
2603  
1982
2604   cat >>confdefs.h <<_ACEOF
2605   #define PACKAGE_STRING "$PACKAGE_STRING"
2606   _ACEOF
2607  
1987
2608   cat >>confdefs.h <<_ACEOF
2609   #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2610   _ACEOF
2611  
2612 + cat >>confdefs.h <<_ACEOF
2613 + #define PACKAGE_URL "$PACKAGE_URL"
2614 + _ACEOF
2615 +
2616  
2617   # Let the site file select an alternate cache file if it wants to.
2618   # Prefer an explicitly selected file to automatically selected ones.
# Line 2007 | Line 2631 | for ac_site_file in "$ac_site_file1" "$a
2631   do
2632    test "x$ac_site_file" = xNONE && continue
2633    if test -r "$ac_site_file"; then
2634 <    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2634 >    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2635   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2636      sed 's/^/| /' "$ac_site_file" >&5
2637      . "$ac_site_file"
# Line 2018 | Line 2642 | if test -r "$cache_file"; then
2642    # Some versions of bash will fail to source /dev/null (special
2643    # files actually), so we avoid doing that.
2644    if test -f "$cache_file"; then
2645 <    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2645 >    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2646   $as_echo "$as_me: loading cache $cache_file" >&6;}
2647      case $cache_file in
2648        [\\/]* | ?:[\\/]* ) . "$cache_file";;
# Line 2026 | Line 2650 | $as_echo "$as_me: loading cache $cache_f
2650      esac
2651    fi
2652   else
2653 <  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2653 >  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2654   $as_echo "$as_me: creating cache $cache_file" >&6;}
2655    >$cache_file
2656   fi
2657  
2658 < ac_func_list="$ac_func_list snprintf"
2659 < ac_func_list="$ac_func_list vsnprintf"
2660 < ac_func_list="$ac_func_list lrand48"
2661 < ac_func_list="$ac_func_list srand48"
2662 < ac_func_list="$ac_func_list mmap"
2663 < ac_func_list="$ac_func_list strtok_r"
2664 < ac_func_list="$ac_func_list usleep"
2665 < ac_func_list="$ac_func_list strlcat"
2666 < ac_func_list="$ac_func_list strlcpy"
2667 < ac_func_list="$ac_func_list basename"
2668 < ac_header_list="$ac_header_list crypt.h"
2669 < ac_header_list="$ac_header_list inttypes.h"
2670 < ac_header_list="$ac_header_list stdint.h"
2671 < ac_header_list="$ac_header_list sys/resource.h"
2672 < ac_header_list="$ac_header_list sys/param.h"
2673 < ac_header_list="$ac_header_list errno.h"
2674 < ac_header_list="$ac_header_list sys/syslog.h"
2675 < ac_header_list="$ac_header_list stddef.h"
2676 < ac_header_list="$ac_header_list libgen.h"
2677 < ac_header_list="$ac_header_list types.h"
2678 < ac_header_list="$ac_header_list socket.h"
2055 < ac_header_list="$ac_header_list sys/wait.h"
2056 < ac_header_list="$ac_header_list wait.h"
2057 < ac_header_list="$ac_header_list link.h"
2658 > as_fn_append ac_func_list " snprintf"
2659 > as_fn_append ac_func_list " vsnprintf"
2660 > as_fn_append ac_func_list " mmap"
2661 > as_fn_append ac_func_list " strtok_r"
2662 > as_fn_append ac_func_list " usleep"
2663 > as_fn_append ac_func_list " strlcat"
2664 > as_fn_append ac_func_list " strlcpy"
2665 > as_fn_append ac_header_list " crypt.h"
2666 > as_fn_append ac_header_list " inttypes.h"
2667 > as_fn_append ac_header_list " stdint.h"
2668 > as_fn_append ac_header_list " sys/resource.h"
2669 > as_fn_append ac_header_list " sys/param.h"
2670 > as_fn_append ac_header_list " errno.h"
2671 > as_fn_append ac_header_list " sys/syslog.h"
2672 > as_fn_append ac_header_list " stddef.h"
2673 > as_fn_append ac_header_list " libgen.h"
2674 > as_fn_append ac_header_list " types.h"
2675 > as_fn_append ac_header_list " socket.h"
2676 > as_fn_append ac_header_list " sys/wait.h"
2677 > as_fn_append ac_header_list " wait.h"
2678 > as_fn_append ac_header_list " link.h"
2679   # Check that the precious variables saved in the cache have kept the same
2680   # value.
2681   ac_cache_corrupted=false
# Line 2065 | Line 2686 | for ac_var in $ac_precious_vars; do
2686    eval ac_new_val=\$ac_env_${ac_var}_value
2687    case $ac_old_set,$ac_new_set in
2688      set,)
2689 <      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2689 >      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2690   $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2691        ac_cache_corrupted=: ;;
2692      ,set)
2693 <      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2693 >      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2694   $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2695        ac_cache_corrupted=: ;;
2696      ,);;
# Line 2079 | Line 2700 | $as_echo "$as_me: error: \`$ac_var' was
2700          ac_old_val_w=`echo x $ac_old_val`
2701          ac_new_val_w=`echo x $ac_new_val`
2702          if test "$ac_old_val_w" != "$ac_new_val_w"; then
2703 <          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2703 >          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2704   $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2705            ac_cache_corrupted=:
2706          else
2707 <          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2707 >          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2708   $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2709            eval $ac_var=\$ac_old_val
2710          fi
2711 <        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2711 >        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2712   $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2713 <        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2713 >        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2714   $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2715        fi;;
2716    esac
# Line 2101 | Line 2722 | $as_echo "$as_me:   current value: \`$ac
2722      esac
2723      case " $ac_configure_args " in
2724        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2725 <      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2725 >      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2726      esac
2727    fi
2728   done
2729   if $ac_cache_corrupted; then
2730 <  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2730 >  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2731   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2732 <  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2732 >  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2733   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2734 <  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2114 < $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2115 <   { (exit 1); exit 1; }; }
2734 >  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2735   fi
2736 <
2737 <
2738 <
2120 <
2121 <
2122 <
2123 <
2124 <
2125 <
2126 <
2127 <
2128 <
2129 <
2130 <
2131 <
2132 <
2133 <
2134 <
2135 <
2136 <
2137 <
2138 <
2139 <
2140 <
2736 > ## -------------------- ##
2737 > ## Main body of script. ##
2738 > ## -------------------- ##
2739  
2740   ac_ext=c
2741   ac_cpp='$CPP $CPPFLAGS'
# Line 2150 | Line 2748 | am__api_version='1.11'
2748  
2749   ac_aux_dir=
2750   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2751 <  if test -f "$ac_dir/install-sh"; then
2752 <    ac_aux_dir=$ac_dir
2753 <    ac_install_sh="$ac_aux_dir/install-sh -c"
2754 <    break
2755 <  elif test -f "$ac_dir/install.sh"; then
2756 <    ac_aux_dir=$ac_dir
2757 <    ac_install_sh="$ac_aux_dir/install.sh -c"
2160 <    break
2161 <  elif test -f "$ac_dir/shtool"; then
2162 <    ac_aux_dir=$ac_dir
2163 <    ac_install_sh="$ac_aux_dir/shtool install -c"
2164 <    break
2165 <  fi
2751 >  for ac_t in install-sh install.sh shtool; do
2752 >    if test -f "$ac_dir/$ac_t"; then
2753 >      ac_aux_dir=$ac_dir
2754 >      ac_install_sh="$ac_aux_dir/$ac_t -c"
2755 >      break 2
2756 >    fi
2757 >  done
2758   done
2759   if test -z "$ac_aux_dir"; then
2760 <  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2169 < $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2170 <   { (exit 1); exit 1; }; }
2760 >  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2761   fi
2762  
2763   # These three variables are undocumented and unsupported,
# Line 2193 | Line 2783 | ac_configure="$SHELL $ac_aux_dir/configu
2783   # OS/2's system install, which has a completely different semantic
2784   # ./install, which can be erroneously created by make from ./install.sh.
2785   # Reject install programs that cannot install multiple files.
2786 < { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2786 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2787   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2788   if test -z "$INSTALL"; then
2789 < if test "${ac_cv_path_install+set}" = set; then
2789 > if test "${ac_cv_path_install+set}" = set; then :
2790    $as_echo_n "(cached) " >&6
2791   else
2792    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2204 | Line 2794 | for as_dir in $PATH
2794   do
2795    IFS=$as_save_IFS
2796    test -z "$as_dir" && as_dir=.
2797 <  # Account for people who put trailing slashes in PATH elements.
2798 < case $as_dir/ in
2799 <  ./ | .// | /cC/* | \
2797 >    # Account for people who put trailing slashes in PATH elements.
2798 > case $as_dir/ in #((
2799 >  ./ | .// | /[cC]/* | \
2800    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2801 <  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2801 >  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2802    /usr/ucb/* ) ;;
2803    *)
2804      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 2245 | Line 2835 | case $as_dir/ in
2835      ;;
2836   esac
2837  
2838 < done
2838 >  done
2839   IFS=$as_save_IFS
2840  
2841   rm -rf conftest.one conftest.two conftest.dir
# Line 2261 | Line 2851 | fi
2851      INSTALL=$ac_install_sh
2852    fi
2853   fi
2854 < { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2854 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2855   $as_echo "$INSTALL" >&6; }
2856  
2857   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 2272 | Line 2862 | test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2862  
2863   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2864  
2865 < { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2865 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2866   $as_echo_n "checking whether build environment is sane... " >&6; }
2867   # Just in case
2868   sleep 1
# Line 2283 | Line 2873 | am_lf='
2873   '
2874   case `pwd` in
2875    *[\\\"\#\$\&\'\`$am_lf]*)
2876 <    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2287 < $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2288 <   { (exit 1); exit 1; }; };;
2876 >    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2877   esac
2878   case $srcdir in
2879    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2880 <    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2293 < $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2294 <   { (exit 1); exit 1; }; };;
2880 >    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2881   esac
2882  
2883   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2313 | Line 2899 | if (
2899        # if, for instance, CONFIG_SHELL is bash and it inherits a
2900        # broken ls alias from the environment.  This has actually
2901        # happened.  Such a system could not be considered "sane".
2902 <      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2903 < alias in your environment" >&5
2318 < $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2319 < alias in your environment" >&2;}
2320 <   { (exit 1); exit 1; }; }
2902 >      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2903 > alias in your environment" "$LINENO" 5
2904     fi
2905  
2906     test "$2" = conftest.file
# Line 2326 | Line 2909 | then
2909     # Ok.
2910     :
2911   else
2912 <   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2913 < Check your system clock" >&5
2331 < $as_echo "$as_me: error: newly created file is older than distributed files!
2332 < Check your system clock" >&2;}
2333 <   { (exit 1); exit 1; }; }
2912 >   as_fn_error "newly created file is older than distributed files!
2913 > Check your system clock" "$LINENO" 5
2914   fi
2915 < { $as_echo "$as_me:$LINENO: result: yes" >&5
2915 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2916   $as_echo "yes" >&6; }
2917   test "$program_prefix" != NONE &&
2918    program_transform_name="s&^&$program_prefix&;$program_transform_name"
# Line 2360 | Line 2940 | if eval "$MISSING --run true"; then
2940    am_missing_run="$MISSING --run "
2941   else
2942    am_missing_run=
2943 <  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2943 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2944   $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2945   fi
2946  
# Line 2381 | Line 2961 | if test "$cross_compiling" != no; then
2961    if test -n "$ac_tool_prefix"; then
2962    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2963   set dummy ${ac_tool_prefix}strip; ac_word=$2
2964 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2964 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965   $as_echo_n "checking for $ac_word... " >&6; }
2966 < if test "${ac_cv_prog_STRIP+set}" = set; then
2966 > if test "${ac_cv_prog_STRIP+set}" = set; then :
2967    $as_echo_n "(cached) " >&6
2968   else
2969    if test -n "$STRIP"; then
# Line 2394 | Line 2974 | for as_dir in $PATH
2974   do
2975    IFS=$as_save_IFS
2976    test -z "$as_dir" && as_dir=.
2977 <  for ac_exec_ext in '' $ac_executable_extensions; do
2977 >    for ac_exec_ext in '' $ac_executable_extensions; do
2978    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2980 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981      break 2
2982    fi
2983   done
2984 < done
2984 >  done
2985   IFS=$as_save_IFS
2986  
2987   fi
2988   fi
2989   STRIP=$ac_cv_prog_STRIP
2990   if test -n "$STRIP"; then
2991 <  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2991 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2992   $as_echo "$STRIP" >&6; }
2993   else
2994 <  { $as_echo "$as_me:$LINENO: result: no" >&5
2994 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995   $as_echo "no" >&6; }
2996   fi
2997  
# Line 2421 | Line 3001 | if test -z "$ac_cv_prog_STRIP"; then
3001    ac_ct_STRIP=$STRIP
3002    # Extract the first word of "strip", so it can be a program name with args.
3003   set dummy strip; ac_word=$2
3004 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3004 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005   $as_echo_n "checking for $ac_word... " >&6; }
3006 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3006 > if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3007    $as_echo_n "(cached) " >&6
3008   else
3009    if test -n "$ac_ct_STRIP"; then
# Line 2434 | Line 3014 | for as_dir in $PATH
3014   do
3015    IFS=$as_save_IFS
3016    test -z "$as_dir" && as_dir=.
3017 <  for ac_exec_ext in '' $ac_executable_extensions; do
3017 >    for ac_exec_ext in '' $ac_executable_extensions; do
3018    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3019      ac_cv_prog_ac_ct_STRIP="strip"
3020 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021      break 2
3022    fi
3023   done
3024 < done
3024 >  done
3025   IFS=$as_save_IFS
3026  
3027   fi
3028   fi
3029   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3030   if test -n "$ac_ct_STRIP"; then
3031 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3031 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3032   $as_echo "$ac_ct_STRIP" >&6; }
3033   else
3034 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3034 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3035   $as_echo "no" >&6; }
3036   fi
3037  
# Line 2460 | Line 3040 | fi
3040    else
3041      case $cross_compiling:$ac_tool_warned in
3042   yes:)
3043 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3043 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3044   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3045   ac_tool_warned=yes ;;
3046   esac
# Line 2473 | Line 3053 | fi
3053   fi
3054   INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3055  
3056 < { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3056 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3057   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3058   if test -z "$MKDIR_P"; then
3059 <  if test "${ac_cv_path_mkdir+set}" = set; then
3059 >  if test "${ac_cv_path_mkdir+set}" = set; then :
3060    $as_echo_n "(cached) " >&6
3061   else
3062    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2484 | Line 3064 | for as_dir in $PATH$PATH_SEPARATOR/opt/s
3064   do
3065    IFS=$as_save_IFS
3066    test -z "$as_dir" && as_dir=.
3067 <  for ac_prog in mkdir gmkdir; do
3067 >    for ac_prog in mkdir gmkdir; do
3068           for ac_exec_ext in '' $ac_executable_extensions; do
3069             { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3070             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
# Line 2496 | Line 3076 | do
3076             esac
3077           done
3078         done
3079 < done
3079 >  done
3080   IFS=$as_save_IFS
3081  
3082   fi
# Line 2512 | Line 3092 | fi
3092      MKDIR_P="$ac_install_sh -d"
3093    fi
3094   fi
3095 < { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3095 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3096   $as_echo "$MKDIR_P" >&6; }
3097  
3098   mkdir_p="$MKDIR_P"
# Line 2525 | Line 3105 | for ac_prog in gawk mawk nawk awk
3105   do
3106    # Extract the first word of "$ac_prog", so it can be a program name with args.
3107   set dummy $ac_prog; ac_word=$2
3108 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3108 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109   $as_echo_n "checking for $ac_word... " >&6; }
3110 < if test "${ac_cv_prog_AWK+set}" = set; then
3110 > if test "${ac_cv_prog_AWK+set}" = set; then :
3111    $as_echo_n "(cached) " >&6
3112   else
3113    if test -n "$AWK"; then
# Line 2538 | Line 3118 | for as_dir in $PATH
3118   do
3119    IFS=$as_save_IFS
3120    test -z "$as_dir" && as_dir=.
3121 <  for ac_exec_ext in '' $ac_executable_extensions; do
3121 >    for ac_exec_ext in '' $ac_executable_extensions; do
3122    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3123      ac_cv_prog_AWK="$ac_prog"
3124 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125      break 2
3126    fi
3127   done
3128 < done
3128 >  done
3129   IFS=$as_save_IFS
3130  
3131   fi
3132   fi
3133   AWK=$ac_cv_prog_AWK
3134   if test -n "$AWK"; then
3135 <  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3135 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3136   $as_echo "$AWK" >&6; }
3137   else
3138 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3138 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139   $as_echo "no" >&6; }
3140   fi
3141  
# Line 2563 | Line 3143 | fi
3143    test -n "$AWK" && break
3144   done
3145  
3146 < { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3146 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3147   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3148   set x ${MAKE-make}
3149   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3150 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3150 > if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3151    $as_echo_n "(cached) " >&6
3152   else
3153    cat >conftest.make <<\_ACEOF
# Line 2585 | Line 3165 | esac
3165   rm -f conftest.make
3166   fi
3167   if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3168 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
3168 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3169   $as_echo "yes" >&6; }
3170    SET_MAKE=
3171   else
3172 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3172 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173   $as_echo "no" >&6; }
3174    SET_MAKE="MAKE=${MAKE-make}"
3175   fi
# Line 2609 | Line 3189 | if test "`cd $srcdir && pwd`" != "`pwd`"
3189    am__isrc=' -I$(srcdir)'
3190    # test to see if srcdir already configured
3191    if test -f $srcdir/config.status; then
3192 <    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2613 < $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2614 <   { (exit 1); exit 1; }; }
3192 >    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3193    fi
3194   fi
3195  
# Line 2668 | Line 3246 | am__tar='${AMTAR} chof - "$$tardir"'; am
3246  
3247  
3248  
3249 < { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3249 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3250   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3251      # Check whether --enable-maintainer-mode was given.
3252 < if test "${enable_maintainer_mode+set}" = set; then
3252 > if test "${enable_maintainer_mode+set}" = set; then :
3253    enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3254   else
3255    USE_MAINTAINER_MODE=no
3256   fi
3257  
3258 <  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3258 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3259   $as_echo "$USE_MAINTAINER_MODE" >&6; }
3260     if test $USE_MAINTAINER_MODE = yes; then
3261    MAINTAINER_MODE_TRUE=
# Line 2704 | Line 3282 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3282   if test -n "$ac_tool_prefix"; then
3283    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3284   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3285 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3285 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286   $as_echo_n "checking for $ac_word... " >&6; }
3287 < if test "${ac_cv_prog_CC+set}" = set; then
3287 > if test "${ac_cv_prog_CC+set}" = set; then :
3288    $as_echo_n "(cached) " >&6
3289   else
3290    if test -n "$CC"; then
# Line 2717 | Line 3295 | for as_dir in $PATH
3295   do
3296    IFS=$as_save_IFS
3297    test -z "$as_dir" && as_dir=.
3298 <  for ac_exec_ext in '' $ac_executable_extensions; do
3298 >    for ac_exec_ext in '' $ac_executable_extensions; do
3299    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3300      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3301 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302      break 2
3303    fi
3304   done
3305 < done
3305 >  done
3306   IFS=$as_save_IFS
3307  
3308   fi
3309   fi
3310   CC=$ac_cv_prog_CC
3311   if test -n "$CC"; then
3312 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3312 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3313   $as_echo "$CC" >&6; }
3314   else
3315 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3315 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316   $as_echo "no" >&6; }
3317   fi
3318  
# Line 2744 | Line 3322 | if test -z "$ac_cv_prog_CC"; then
3322    ac_ct_CC=$CC
3323    # Extract the first word of "gcc", so it can be a program name with args.
3324   set dummy gcc; ac_word=$2
3325 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3325 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3326   $as_echo_n "checking for $ac_word... " >&6; }
3327 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3327 > if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3328    $as_echo_n "(cached) " >&6
3329   else
3330    if test -n "$ac_ct_CC"; then
# Line 2757 | Line 3335 | for as_dir in $PATH
3335   do
3336    IFS=$as_save_IFS
3337    test -z "$as_dir" && as_dir=.
3338 <  for ac_exec_ext in '' $ac_executable_extensions; do
3338 >    for ac_exec_ext in '' $ac_executable_extensions; do
3339    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340      ac_cv_prog_ac_ct_CC="gcc"
3341 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3342      break 2
3343    fi
3344   done
3345 < done
3345 >  done
3346   IFS=$as_save_IFS
3347  
3348   fi
3349   fi
3350   ac_ct_CC=$ac_cv_prog_ac_ct_CC
3351   if test -n "$ac_ct_CC"; then
3352 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3352 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3353   $as_echo "$ac_ct_CC" >&6; }
3354   else
3355 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3355 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356   $as_echo "no" >&6; }
3357   fi
3358  
# Line 2783 | Line 3361 | fi
3361    else
3362      case $cross_compiling:$ac_tool_warned in
3363   yes:)
3364 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3364 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3365   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3366   ac_tool_warned=yes ;;
3367   esac
# Line 2797 | Line 3375 | if test -z "$CC"; then
3375            if test -n "$ac_tool_prefix"; then
3376      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3377   set dummy ${ac_tool_prefix}cc; ac_word=$2
3378 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3378 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379   $as_echo_n "checking for $ac_word... " >&6; }
3380 < if test "${ac_cv_prog_CC+set}" = set; then
3380 > if test "${ac_cv_prog_CC+set}" = set; then :
3381    $as_echo_n "(cached) " >&6
3382   else
3383    if test -n "$CC"; then
# Line 2810 | Line 3388 | for as_dir in $PATH
3388   do
3389    IFS=$as_save_IFS
3390    test -z "$as_dir" && as_dir=.
3391 <  for ac_exec_ext in '' $ac_executable_extensions; do
3391 >    for ac_exec_ext in '' $ac_executable_extensions; do
3392    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3393      ac_cv_prog_CC="${ac_tool_prefix}cc"
3394 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3394 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395      break 2
3396    fi
3397   done
3398 < done
3398 >  done
3399   IFS=$as_save_IFS
3400  
3401   fi
3402   fi
3403   CC=$ac_cv_prog_CC
3404   if test -n "$CC"; then
3405 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3405 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3406   $as_echo "$CC" >&6; }
3407   else
3408 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3408 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3409   $as_echo "no" >&6; }
3410   fi
3411  
# Line 2837 | Line 3415 | fi
3415   if test -z "$CC"; then
3416    # Extract the first word of "cc", so it can be a program name with args.
3417   set dummy cc; ac_word=$2
3418 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3418 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3419   $as_echo_n "checking for $ac_word... " >&6; }
3420 < if test "${ac_cv_prog_CC+set}" = set; then
3420 > if test "${ac_cv_prog_CC+set}" = set; then :
3421    $as_echo_n "(cached) " >&6
3422   else
3423    if test -n "$CC"; then
# Line 2851 | Line 3429 | for as_dir in $PATH
3429   do
3430    IFS=$as_save_IFS
3431    test -z "$as_dir" && as_dir=.
3432 <  for ac_exec_ext in '' $ac_executable_extensions; do
3432 >    for ac_exec_ext in '' $ac_executable_extensions; do
3433    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3435         ac_prog_rejected=yes
3436         continue
3437       fi
3438      ac_cv_prog_CC="cc"
3439 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3440      break 2
3441    fi
3442   done
3443 < done
3443 >  done
3444   IFS=$as_save_IFS
3445  
3446   if test $ac_prog_rejected = yes; then
# Line 2881 | Line 3459 | fi
3459   fi
3460   CC=$ac_cv_prog_CC
3461   if test -n "$CC"; then
3462 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3462 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3463   $as_echo "$CC" >&6; }
3464   else
3465 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3465 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3466   $as_echo "no" >&6; }
3467   fi
3468  
# Line 2896 | Line 3474 | if test -z "$CC"; then
3474    do
3475      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3476   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3477 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3477 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478   $as_echo_n "checking for $ac_word... " >&6; }
3479 < if test "${ac_cv_prog_CC+set}" = set; then
3479 > if test "${ac_cv_prog_CC+set}" = set; then :
3480    $as_echo_n "(cached) " >&6
3481   else
3482    if test -n "$CC"; then
# Line 2909 | Line 3487 | for as_dir in $PATH
3487   do
3488    IFS=$as_save_IFS
3489    test -z "$as_dir" && as_dir=.
3490 <  for ac_exec_ext in '' $ac_executable_extensions; do
3490 >    for ac_exec_ext in '' $ac_executable_extensions; do
3491    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3492      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3493 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494      break 2
3495    fi
3496   done
3497 < done
3497 >  done
3498   IFS=$as_save_IFS
3499  
3500   fi
3501   fi
3502   CC=$ac_cv_prog_CC
3503   if test -n "$CC"; then
3504 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3504 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3505   $as_echo "$CC" >&6; }
3506   else
3507 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3507 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508   $as_echo "no" >&6; }
3509   fi
3510  
# Line 2940 | Line 3518 | if test -z "$CC"; then
3518   do
3519    # Extract the first word of "$ac_prog", so it can be a program name with args.
3520   set dummy $ac_prog; ac_word=$2
3521 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3521 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3522   $as_echo_n "checking for $ac_word... " >&6; }
3523 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3523 > if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3524    $as_echo_n "(cached) " >&6
3525   else
3526    if test -n "$ac_ct_CC"; then
# Line 2953 | Line 3531 | for as_dir in $PATH
3531   do
3532    IFS=$as_save_IFS
3533    test -z "$as_dir" && as_dir=.
3534 <  for ac_exec_ext in '' $ac_executable_extensions; do
3534 >    for ac_exec_ext in '' $ac_executable_extensions; do
3535    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3536      ac_cv_prog_ac_ct_CC="$ac_prog"
3537 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3538      break 2
3539    fi
3540   done
3541 < done
3541 >  done
3542   IFS=$as_save_IFS
3543  
3544   fi
3545   fi
3546   ac_ct_CC=$ac_cv_prog_ac_ct_CC
3547   if test -n "$ac_ct_CC"; then
3548 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3548 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3549   $as_echo "$ac_ct_CC" >&6; }
3550   else
3551 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3551 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552   $as_echo "no" >&6; }
3553   fi
3554  
# Line 2983 | Line 3561 | done
3561    else
3562      case $cross_compiling:$ac_tool_warned in
3563   yes:)
3564 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3564 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3565   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3566   ac_tool_warned=yes ;;
3567   esac
# Line 2994 | Line 3572 | fi
3572   fi
3573  
3574  
3575 < test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3575 > test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3576   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3577 < { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3578 < See \`config.log' for more details." >&5
3001 < $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3002 < See \`config.log' for more details." >&2;}
3003 <   { (exit 1); exit 1; }; }; }
3577 > as_fn_error "no acceptable C compiler found in \$PATH
3578 > See \`config.log' for more details." "$LINENO" 5; }
3579  
3580   # Provide some information about the compiler.
3581 < $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3581 > $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3582   set X $ac_compile
3583   ac_compiler=$2
3584 < { (ac_try="$ac_compiler --version >&5"
3585 < case "(($ac_try" in
3011 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 <  *) ac_try_echo=$ac_try;;
3013 < esac
3014 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3015 < $as_echo "$ac_try_echo") >&5
3016 <  (eval "$ac_compiler --version >&5") 2>&5
3017 <  ac_status=$?
3018 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 <  (exit $ac_status); }
3020 < { (ac_try="$ac_compiler -v >&5"
3021 < case "(($ac_try" in
3022 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 <  *) ac_try_echo=$ac_try;;
3024 < esac
3025 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3026 < $as_echo "$ac_try_echo") >&5
3027 <  (eval "$ac_compiler -v >&5") 2>&5
3028 <  ac_status=$?
3029 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 <  (exit $ac_status); }
3031 < { (ac_try="$ac_compiler -V >&5"
3584 > for ac_option in --version -v -V -qversion; do
3585 >  { { ac_try="$ac_compiler $ac_option >&5"
3586   case "(($ac_try" in
3587    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3588    *) ac_try_echo=$ac_try;;
3589   esac
3590 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3591 < $as_echo "$ac_try_echo") >&5
3592 <  (eval "$ac_compiler -V >&5") 2>&5
3590 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3591 > $as_echo "$ac_try_echo"; } >&5
3592 >  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3593    ac_status=$?
3594 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 <  (exit $ac_status); }
3594 >  if test -s conftest.err; then
3595 >    sed '10a\
3596 > ... rest of stderr output deleted ...
3597 >         10q' conftest.err >conftest.er1
3598 >    cat conftest.er1 >&5
3599 >    rm -f conftest.er1 conftest.err
3600 >  fi
3601 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3602 >  test $ac_status = 0; }
3603 > done
3604  
3605 < cat >conftest.$ac_ext <<_ACEOF
3044 < /* confdefs.h.  */
3045 < _ACEOF
3046 < cat confdefs.h >>conftest.$ac_ext
3047 < cat >>conftest.$ac_ext <<_ACEOF
3605 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606   /* end confdefs.h.  */
3607 <
3607 > #include <stdio.h>
3608   int
3609   main ()
3610   {
3611 + FILE *f = fopen ("conftest.out", "w");
3612 + return ferror (f) || fclose (f) != 0;
3613  
3614    ;
3615    return 0;
3616   }
3617   _ACEOF
3618   ac_clean_files_save=$ac_clean_files
3619 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3619 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3620   # Try to create an executable without -o first, disregard a.out.
3621   # It will help us diagnose broken compilers, and finding out an intuition
3622   # of exeext.
3623 < { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3623 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3624   $as_echo_n "checking for C compiler default output file name... " >&6; }
3625   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3626  
# Line 3077 | Line 3637 | do
3637   done
3638   rm -f $ac_rmfiles
3639  
3640 < if { (ac_try="$ac_link_default"
3640 > if { { ac_try="$ac_link_default"
3641   case "(($ac_try" in
3642    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643    *) ac_try_echo=$ac_try;;
3644   esac
3645 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3646 < $as_echo "$ac_try_echo") >&5
3645 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3646 > $as_echo "$ac_try_echo"; } >&5
3647    (eval "$ac_link_default") 2>&5
3648    ac_status=$?
3649 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 <  (exit $ac_status); }; then
3649 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3650 >  test $ac_status = 0; }; then :
3651    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3652   # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3653   # in a Makefile.  We should not override ac_cv_exeext if it was cached,
# Line 3104 | Line 3664 | do
3664          # certainly right.
3665          break;;
3666      *.* )
3667 <        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3667 >        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3668          then :; else
3669             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3670          fi
# Line 3123 | Line 3683 | test "$ac_cv_exeext" = no && ac_cv_exeex
3683   else
3684    ac_file=''
3685   fi
3686 <
3127 < { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3686 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3687   $as_echo "$ac_file" >&6; }
3688 < if test -z "$ac_file"; then
3688 > if test -z "$ac_file"; then :
3689    $as_echo "$as_me: failed program was:" >&5
3690   sed 's/^/| /' conftest.$ac_ext >&5
3691  
3692 < { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3692 > { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 < { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3695 < See \`config.log' for more details." >&5
3696 < $as_echo "$as_me: error: C compiler cannot create executables
3138 < See \`config.log' for more details." >&2;}
3139 <   { (exit 77); exit 77; }; }; }
3694 > { as_fn_set_status 77
3695 > as_fn_error "C compiler cannot create executables
3696 > See \`config.log' for more details." "$LINENO" 5; }; }
3697   fi
3141
3698   ac_exeext=$ac_cv_exeext
3699  
3700   # Check that the compiler produces executables we can run.  If not, either
3701   # the compiler is broken, or we cross compile.
3702 < { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3702 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3703   $as_echo_n "checking whether the C compiler works... " >&6; }
3148 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3704   # If not cross compiling, check that we can run a simple program.
3705   if test "$cross_compiling" != yes; then
3706    if { ac_try='./$ac_file'
3707 <  { (case "(($ac_try" in
3707 >  { { case "(($ac_try" in
3708    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709    *) ac_try_echo=$ac_try;;
3710   esac
3711 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3712 < $as_echo "$ac_try_echo") >&5
3711 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3712 > $as_echo "$ac_try_echo"; } >&5
3713    (eval "$ac_try") 2>&5
3714    ac_status=$?
3715 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 <  (exit $ac_status); }; }; then
3715 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3716 >  test $ac_status = 0; }; }; then
3717      cross_compiling=no
3718    else
3719      if test "$cross_compiling" = maybe; then
3720          cross_compiling=yes
3721      else
3722 <        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3722 >        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 < { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3724 > as_fn_error "cannot run C compiled programs.
3725   If you meant to cross compile, use \`--host'.
3726 < See \`config.log' for more details." >&5
3172 < $as_echo "$as_me: error: cannot run C compiled programs.
3173 < If you meant to cross compile, use \`--host'.
3174 < See \`config.log' for more details." >&2;}
3175 <   { (exit 1); exit 1; }; }; }
3726 > See \`config.log' for more details." "$LINENO" 5; }
3727      fi
3728    fi
3729   fi
3730 < { $as_echo "$as_me:$LINENO: result: yes" >&5
3730 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3731   $as_echo "yes" >&6; }
3732  
3733 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3733 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3734   ac_clean_files=$ac_clean_files_save
3735   # Check that the compiler produces executables we can run.  If not, either
3736   # the compiler is broken, or we cross compile.
3737 < { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3737 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3738   $as_echo_n "checking whether we are cross compiling... " >&6; }
3739 < { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3739 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3740   $as_echo "$cross_compiling" >&6; }
3741  
3742 < { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3742 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3743   $as_echo_n "checking for suffix of executables... " >&6; }
3744 < if { (ac_try="$ac_link"
3744 > if { { ac_try="$ac_link"
3745   case "(($ac_try" in
3746    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747    *) ac_try_echo=$ac_try;;
3748   esac
3749 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3750 < $as_echo "$ac_try_echo") >&5
3749 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3750 > $as_echo "$ac_try_echo"; } >&5
3751    (eval "$ac_link") 2>&5
3752    ac_status=$?
3753 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 <  (exit $ac_status); }; then
3753 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3754 >  test $ac_status = 0; }; then :
3755    # If both `conftest.exe' and `conftest' are `present' (well, observable)
3756   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3757   # work properly (i.e., refer to `conftest.exe'), while it won't with
# Line 3215 | Line 3766 | for ac_file in conftest.exe conftest con
3766    esac
3767   done
3768   else
3769 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3769 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3770   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3771 < { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3772 < See \`config.log' for more details." >&5
3222 < $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3223 < See \`config.log' for more details." >&2;}
3224 <   { (exit 1); exit 1; }; }; }
3771 > as_fn_error "cannot compute suffix of executables: cannot compile and link
3772 > See \`config.log' for more details." "$LINENO" 5; }
3773   fi
3226
3774   rm -f conftest$ac_cv_exeext
3775 < { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3775 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3776   $as_echo "$ac_cv_exeext" >&6; }
3777  
3778   rm -f conftest.$ac_ext
3779   EXEEXT=$ac_cv_exeext
3780   ac_exeext=$EXEEXT
3781 < { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3781 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3782   $as_echo_n "checking for suffix of object files... " >&6; }
3783 < if test "${ac_cv_objext+set}" = set; then
3783 > if test "${ac_cv_objext+set}" = set; then :
3784    $as_echo_n "(cached) " >&6
3785   else
3786 <  cat >conftest.$ac_ext <<_ACEOF
3240 < /* confdefs.h.  */
3241 < _ACEOF
3242 < cat confdefs.h >>conftest.$ac_ext
3243 < cat >>conftest.$ac_ext <<_ACEOF
3786 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787   /* end confdefs.h.  */
3788  
3789   int
# Line 3252 | Line 3795 | main ()
3795   }
3796   _ACEOF
3797   rm -f conftest.o conftest.obj
3798 < if { (ac_try="$ac_compile"
3798 > if { { ac_try="$ac_compile"
3799   case "(($ac_try" in
3800    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3801    *) ac_try_echo=$ac_try;;
3802   esac
3803 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3804 < $as_echo "$ac_try_echo") >&5
3803 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3804 > $as_echo "$ac_try_echo"; } >&5
3805    (eval "$ac_compile") 2>&5
3806    ac_status=$?
3807 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 <  (exit $ac_status); }; then
3807 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3808 >  test $ac_status = 0; }; then :
3809    for ac_file in conftest.o conftest.obj conftest.*; do
3810    test -f "$ac_file" || continue;
3811    case $ac_file in
# Line 3275 | Line 3818 | else
3818    $as_echo "$as_me: failed program was:" >&5
3819   sed 's/^/| /' conftest.$ac_ext >&5
3820  
3821 < { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3821 > { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3822   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3823 < { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3824 < See \`config.log' for more details." >&5
3282 < $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3283 < See \`config.log' for more details." >&2;}
3284 <   { (exit 1); exit 1; }; }; }
3823 > as_fn_error "cannot compute suffix of object files: cannot compile
3824 > See \`config.log' for more details." "$LINENO" 5; }
3825   fi
3286
3826   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3827   fi
3828 < { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3828 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3829   $as_echo "$ac_cv_objext" >&6; }
3830   OBJEXT=$ac_cv_objext
3831   ac_objext=$OBJEXT
3832 < { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3832 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3833   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3834 < if test "${ac_cv_c_compiler_gnu+set}" = set; then
3834 > if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3835    $as_echo_n "(cached) " >&6
3836   else
3837 <  cat >conftest.$ac_ext <<_ACEOF
3299 < /* confdefs.h.  */
3300 < _ACEOF
3301 < cat confdefs.h >>conftest.$ac_ext
3302 < cat >>conftest.$ac_ext <<_ACEOF
3837 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838   /* end confdefs.h.  */
3839  
3840   int
# Line 3313 | Line 3848 | main ()
3848    return 0;
3849   }
3850   _ACEOF
3851 < rm -f conftest.$ac_objext
3317 < if { (ac_try="$ac_compile"
3318 < case "(($ac_try" in
3319 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320 <  *) ac_try_echo=$ac_try;;
3321 < esac
3322 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3323 < $as_echo "$ac_try_echo") >&5
3324 <  (eval "$ac_compile") 2>conftest.er1
3325 <  ac_status=$?
3326 <  grep -v '^ *+' conftest.er1 >conftest.err
3327 <  rm -f conftest.er1
3328 <  cat conftest.err >&5
3329 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 <  (exit $ac_status); } && {
3331 <         test -z "$ac_c_werror_flag" ||
3332 <         test ! -s conftest.err
3333 <       } && test -s conftest.$ac_objext; then
3851 > if ac_fn_c_try_compile "$LINENO"; then :
3852    ac_compiler_gnu=yes
3853   else
3854 <  $as_echo "$as_me: failed program was:" >&5
3337 < sed 's/^/| /' conftest.$ac_ext >&5
3338 <
3339 <        ac_compiler_gnu=no
3854 >  ac_compiler_gnu=no
3855   fi
3341
3856   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3857   ac_cv_c_compiler_gnu=$ac_compiler_gnu
3858  
3859   fi
3860 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3860 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3861   $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3862   if test $ac_compiler_gnu = yes; then
3863    GCC=yes
# Line 3352 | Line 3866 | else
3866   fi
3867   ac_test_CFLAGS=${CFLAGS+set}
3868   ac_save_CFLAGS=$CFLAGS
3869 < { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3869 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3870   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3871 < if test "${ac_cv_prog_cc_g+set}" = set; then
3871 > if test "${ac_cv_prog_cc_g+set}" = set; then :
3872    $as_echo_n "(cached) " >&6
3873   else
3874    ac_save_c_werror_flag=$ac_c_werror_flag
3875     ac_c_werror_flag=yes
3876     ac_cv_prog_cc_g=no
3877     CFLAGS="-g"
3878 <   cat >conftest.$ac_ext <<_ACEOF
3365 < /* confdefs.h.  */
3366 < _ACEOF
3367 < cat confdefs.h >>conftest.$ac_ext
3368 < cat >>conftest.$ac_ext <<_ACEOF
3878 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879   /* end confdefs.h.  */
3880  
3881   int
# Line 3376 | Line 3886 | main ()
3886    return 0;
3887   }
3888   _ACEOF
3889 < rm -f conftest.$ac_objext
3380 < if { (ac_try="$ac_compile"
3381 < case "(($ac_try" in
3382 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3383 <  *) ac_try_echo=$ac_try;;
3384 < esac
3385 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3386 < $as_echo "$ac_try_echo") >&5
3387 <  (eval "$ac_compile") 2>conftest.er1
3388 <  ac_status=$?
3389 <  grep -v '^ *+' conftest.er1 >conftest.err
3390 <  rm -f conftest.er1
3391 <  cat conftest.err >&5
3392 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 <  (exit $ac_status); } && {
3394 <         test -z "$ac_c_werror_flag" ||
3395 <         test ! -s conftest.err
3396 <       } && test -s conftest.$ac_objext; then
3889 > if ac_fn_c_try_compile "$LINENO"; then :
3890    ac_cv_prog_cc_g=yes
3891   else
3892 <  $as_echo "$as_me: failed program was:" >&5
3893 < sed 's/^/| /' conftest.$ac_ext >&5
3401 <
3402 <        CFLAGS=""
3403 <      cat >conftest.$ac_ext <<_ACEOF
3404 < /* confdefs.h.  */
3405 < _ACEOF
3406 < cat confdefs.h >>conftest.$ac_ext
3407 < cat >>conftest.$ac_ext <<_ACEOF
3892 >  CFLAGS=""
3893 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894   /* end confdefs.h.  */
3895  
3896   int
# Line 3415 | Line 3901 | main ()
3901    return 0;
3902   }
3903   _ACEOF
3904 < rm -f conftest.$ac_objext
3419 < if { (ac_try="$ac_compile"
3420 < case "(($ac_try" in
3421 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422 <  *) ac_try_echo=$ac_try;;
3423 < esac
3424 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3425 < $as_echo "$ac_try_echo") >&5
3426 <  (eval "$ac_compile") 2>conftest.er1
3427 <  ac_status=$?
3428 <  grep -v '^ *+' conftest.er1 >conftest.err
3429 <  rm -f conftest.er1
3430 <  cat conftest.err >&5
3431 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 <  (exit $ac_status); } && {
3433 <         test -z "$ac_c_werror_flag" ||
3434 <         test ! -s conftest.err
3435 <       } && test -s conftest.$ac_objext; then
3436 <  :
3437 < else
3438 <  $as_echo "$as_me: failed program was:" >&5
3439 < sed 's/^/| /' conftest.$ac_ext >&5
3904 > if ac_fn_c_try_compile "$LINENO"; then :
3905  
3906 <        ac_c_werror_flag=$ac_save_c_werror_flag
3906 > else
3907 >  ac_c_werror_flag=$ac_save_c_werror_flag
3908           CFLAGS="-g"
3909 <         cat >conftest.$ac_ext <<_ACEOF
3444 < /* confdefs.h.  */
3445 < _ACEOF
3446 < cat confdefs.h >>conftest.$ac_ext
3447 < cat >>conftest.$ac_ext <<_ACEOF
3909 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910   /* end confdefs.h.  */
3911  
3912   int
# Line 3455 | Line 3917 | main ()
3917    return 0;
3918   }
3919   _ACEOF
3920 < rm -f conftest.$ac_objext
3459 < if { (ac_try="$ac_compile"
3460 < case "(($ac_try" in
3461 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 <  *) ac_try_echo=$ac_try;;
3463 < esac
3464 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3465 < $as_echo "$ac_try_echo") >&5
3466 <  (eval "$ac_compile") 2>conftest.er1
3467 <  ac_status=$?
3468 <  grep -v '^ *+' conftest.er1 >conftest.err
3469 <  rm -f conftest.er1
3470 <  cat conftest.err >&5
3471 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 <  (exit $ac_status); } && {
3473 <         test -z "$ac_c_werror_flag" ||
3474 <         test ! -s conftest.err
3475 <       } && test -s conftest.$ac_objext; then
3920 > if ac_fn_c_try_compile "$LINENO"; then :
3921    ac_cv_prog_cc_g=yes
3477 else
3478  $as_echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3480
3481
3922   fi
3483
3923   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3924   fi
3486
3925   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3926   fi
3489
3927   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3928     ac_c_werror_flag=$ac_save_c_werror_flag
3929   fi
3930 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3930 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3931   $as_echo "$ac_cv_prog_cc_g" >&6; }
3932   if test "$ac_test_CFLAGS" = set; then
3933    CFLAGS=$ac_save_CFLAGS
# Line 3507 | Line 3944 | else
3944      CFLAGS=
3945    fi
3946   fi
3947 < { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3947 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3948   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3949 < if test "${ac_cv_prog_cc_c89+set}" = set; then
3949 > if test "${ac_cv_prog_cc_c89+set}" = set; then :
3950    $as_echo_n "(cached) " >&6
3951   else
3952    ac_cv_prog_cc_c89=no
3953   ac_save_CC=$CC
3954 < cat >conftest.$ac_ext <<_ACEOF
3518 < /* confdefs.h.  */
3519 < _ACEOF
3520 < cat confdefs.h >>conftest.$ac_ext
3521 < cat >>conftest.$ac_ext <<_ACEOF
3954 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955   /* end confdefs.h.  */
3956   #include <stdarg.h>
3957   #include <stdio.h>
# Line 3575 | Line 4008 | for ac_arg in '' -qlanglvl=extc89 -qlang
4008          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4009   do
4010    CC="$ac_save_CC $ac_arg"
4011 <  rm -f conftest.$ac_objext
3579 < if { (ac_try="$ac_compile"
3580 < case "(($ac_try" in
3581 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3582 <  *) ac_try_echo=$ac_try;;
3583 < esac
3584 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3585 < $as_echo "$ac_try_echo") >&5
3586 <  (eval "$ac_compile") 2>conftest.er1
3587 <  ac_status=$?
3588 <  grep -v '^ *+' conftest.er1 >conftest.err
3589 <  rm -f conftest.er1
3590 <  cat conftest.err >&5
3591 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 <  (exit $ac_status); } && {
3593 <         test -z "$ac_c_werror_flag" ||
3594 <         test ! -s conftest.err
3595 <       } && test -s conftest.$ac_objext; then
4011 >  if ac_fn_c_try_compile "$LINENO"; then :
4012    ac_cv_prog_cc_c89=$ac_arg
3597 else
3598  $as_echo "$as_me: failed program was:" >&5
3599 sed 's/^/| /' conftest.$ac_ext >&5
3600
3601
4013   fi
3603
4014   rm -f core conftest.err conftest.$ac_objext
4015    test "x$ac_cv_prog_cc_c89" != "xno" && break
4016   done
# Line 3611 | Line 4021 | fi
4021   # AC_CACHE_VAL
4022   case "x$ac_cv_prog_cc_c89" in
4023    x)
4024 <    { $as_echo "$as_me:$LINENO: result: none needed" >&5
4024 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4025   $as_echo "none needed" >&6; } ;;
4026    xno)
4027 <    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4027 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4028   $as_echo "unsupported" >&6; } ;;
4029    *)
4030      CC="$CC $ac_cv_prog_cc_c89"
4031 <    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4031 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4032   $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4033   esac
4034 + if test "x$ac_cv_prog_cc_c89" != xno; then :
4035  
4036 + fi
4037  
4038   ac_ext=c
4039   ac_cpp='$CPP $CPPFLAGS'
# Line 3640 | Line 4052 | am__doit:
4052   .PHONY: am__doit
4053   END
4054   # If we don't find an include directive, just comment out the code.
4055 < { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4055 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4056   $as_echo_n "checking for style of include used by $am_make... " >&6; }
4057   am__include="#"
4058   am__quote=
# Line 3668 | Line 4080 | if test "$am__include" = "#"; then
4080   fi
4081  
4082  
4083 < { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
4083 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4084   $as_echo "$_am_result" >&6; }
4085   rm -f confinc confmf
4086  
4087   # Check whether --enable-dependency-tracking was given.
4088 < if test "${enable_dependency_tracking+set}" = set; then
4088 > if test "${enable_dependency_tracking+set}" = set; then :
4089    enableval=$enable_dependency_tracking;
4090   fi
4091  
# Line 3693 | Line 4105 | fi
4105  
4106   depcc="$CC"   am_compiler_list=
4107  
4108 < { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4108 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4109   $as_echo_n "checking dependency style of $depcc... " >&6; }
4110 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4110 > if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4111    $as_echo_n "(cached) " >&6
4112   else
4113    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3803 | Line 4215 | else
4215   fi
4216  
4217   fi
4218 < { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4218 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4219   $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4220   CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4221  
# Line 3822 | Line 4234 | for ac_prog in 'bison -y' byacc
4234   do
4235    # Extract the first word of "$ac_prog", so it can be a program name with args.
4236   set dummy $ac_prog; ac_word=$2
4237 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4237 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4238   $as_echo_n "checking for $ac_word... " >&6; }
4239 < if test "${ac_cv_prog_YACC+set}" = set; then
4239 > if test "${ac_cv_prog_YACC+set}" = set; then :
4240    $as_echo_n "(cached) " >&6
4241   else
4242    if test -n "$YACC"; then
# Line 3835 | Line 4247 | for as_dir in $PATH
4247   do
4248    IFS=$as_save_IFS
4249    test -z "$as_dir" && as_dir=.
4250 <  for ac_exec_ext in '' $ac_executable_extensions; do
4250 >    for ac_exec_ext in '' $ac_executable_extensions; do
4251    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4252      ac_cv_prog_YACC="$ac_prog"
4253 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4254      break 2
4255    fi
4256   done
4257 < done
4257 >  done
4258   IFS=$as_save_IFS
4259  
4260   fi
4261   fi
4262   YACC=$ac_cv_prog_YACC
4263   if test -n "$YACC"; then
4264 <  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
4264 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4265   $as_echo "$YACC" >&6; }
4266   else
4267 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4267 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4268   $as_echo "no" >&6; }
4269   fi
4270  
# Line 3866 | Line 4278 | for ac_prog in flex lex
4278   do
4279    # Extract the first word of "$ac_prog", so it can be a program name with args.
4280   set dummy $ac_prog; ac_word=$2
4281 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4281 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4282   $as_echo_n "checking for $ac_word... " >&6; }
4283 < if test "${ac_cv_prog_LEX+set}" = set; then
4283 > if test "${ac_cv_prog_LEX+set}" = set; then :
4284    $as_echo_n "(cached) " >&6
4285   else
4286    if test -n "$LEX"; then
# Line 3879 | Line 4291 | for as_dir in $PATH
4291   do
4292    IFS=$as_save_IFS
4293    test -z "$as_dir" && as_dir=.
4294 <  for ac_exec_ext in '' $ac_executable_extensions; do
4294 >    for ac_exec_ext in '' $ac_executable_extensions; do
4295    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4296      ac_cv_prog_LEX="$ac_prog"
4297 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298      break 2
4299    fi
4300   done
4301 < done
4301 >  done
4302   IFS=$as_save_IFS
4303  
4304   fi
4305   fi
4306   LEX=$ac_cv_prog_LEX
4307   if test -n "$LEX"; then
4308 <  { $as_echo "$as_me:$LINENO: result: $LEX" >&5
4308 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4309   $as_echo "$LEX" >&6; }
4310   else
4311 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4311 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312   $as_echo "no" >&6; }
4313   fi
4314  
# Line 3925 | Line 4337 | main (void)
4337    return ! yylex () + ! yywrap ();
4338   }
4339   _ACEOF
4340 < { (ac_try="$LEX conftest.l"
4340 > { { ac_try="$LEX conftest.l"
4341   case "(($ac_try" in
4342    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4343    *) ac_try_echo=$ac_try;;
4344   esac
4345 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4346 < $as_echo "$ac_try_echo") >&5
4345 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4346 > $as_echo "$ac_try_echo"; } >&5
4347    (eval "$LEX conftest.l") 2>&5
4348    ac_status=$?
4349 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 <  (exit $ac_status); }
4351 < { $as_echo "$as_me:$LINENO: checking lex output file root" >&5
4349 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4350 >  test $ac_status = 0; }
4351 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4352   $as_echo_n "checking lex output file root... " >&6; }
4353 < if test "${ac_cv_prog_lex_root+set}" = set; then
4353 > if test "${ac_cv_prog_lex_root+set}" = set; then :
4354    $as_echo_n "(cached) " >&6
4355   else
4356  
# Line 3947 | Line 4359 | if test -f lex.yy.c; then
4359   elif test -f lexyy.c; then
4360    ac_cv_prog_lex_root=lexyy
4361   else
4362 <  { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3951 < $as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3952 <   { (exit 1); exit 1; }; }
4362 >  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4363   fi
4364   fi
4365 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4365 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4366   $as_echo "$ac_cv_prog_lex_root" >&6; }
4367   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4368  
4369   if test -z "${LEXLIB+set}"; then
4370 <  { $as_echo "$as_me:$LINENO: checking lex library" >&5
4370 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4371   $as_echo_n "checking lex library... " >&6; }
4372 < if test "${ac_cv_lib_lex+set}" = set; then
4372 > if test "${ac_cv_lib_lex+set}" = set; then :
4373    $as_echo_n "(cached) " >&6
4374   else
4375  
# Line 3967 | Line 4377 | else
4377      ac_cv_lib_lex='none needed'
4378      for ac_lib in '' -lfl -ll; do
4379        LIBS="$ac_lib $ac_save_LIBS"
4380 <      cat >conftest.$ac_ext <<_ACEOF
4380 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381 > /* end confdefs.h.  */
4382   `cat $LEX_OUTPUT_ROOT.c`
4383   _ACEOF
4384 < rm -f conftest.$ac_objext conftest$ac_exeext
3974 < if { (ac_try="$ac_link"
3975 < case "(($ac_try" in
3976 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3977 <  *) ac_try_echo=$ac_try;;
3978 < esac
3979 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3980 < $as_echo "$ac_try_echo") >&5
3981 <  (eval "$ac_link") 2>conftest.er1
3982 <  ac_status=$?
3983 <  grep -v '^ *+' conftest.er1 >conftest.err
3984 <  rm -f conftest.er1
3985 <  cat conftest.err >&5
3986 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 <  (exit $ac_status); } && {
3988 <         test -z "$ac_c_werror_flag" ||
3989 <         test ! -s conftest.err
3990 <       } && test -s conftest$ac_exeext && {
3991 <         test "$cross_compiling" = yes ||
3992 <         $as_test_x conftest$ac_exeext
3993 <       }; then
4384 > if ac_fn_c_try_link "$LINENO"; then :
4385    ac_cv_lib_lex=$ac_lib
3995 else
3996  $as_echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3998
3999
4386   fi
4387 <
4388 < rm -rf conftest.dSYM
4003 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4004 <      conftest$ac_exeext conftest.$ac_ext
4387 > rm -f core conftest.err conftest.$ac_objext \
4388 >    conftest$ac_exeext conftest.$ac_ext
4389        test "$ac_cv_lib_lex" != 'none needed' && break
4390      done
4391      LIBS=$ac_save_LIBS
4392  
4393   fi
4394 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
4394 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4395   $as_echo "$ac_cv_lib_lex" >&6; }
4396    test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4397   fi
4398  
4399  
4400 < { $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4400 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4401   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4402 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4402 > if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4403    $as_echo_n "(cached) " >&6
4404   else
4405    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4024 | Line 4408 | else
4408   ac_cv_prog_lex_yytext_pointer=no
4409   ac_save_LIBS=$LIBS
4410   LIBS="$LEXLIB $ac_save_LIBS"
4411 < cat >conftest.$ac_ext <<_ACEOF
4411 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 > /* end confdefs.h.  */
4413   #define YYTEXT_POINTER 1
4414   `cat $LEX_OUTPUT_ROOT.c`
4415   _ACEOF
4416 < rm -f conftest.$ac_objext conftest$ac_exeext
4032 < if { (ac_try="$ac_link"
4033 < case "(($ac_try" in
4034 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 <  *) ac_try_echo=$ac_try;;
4036 < esac
4037 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4038 < $as_echo "$ac_try_echo") >&5
4039 <  (eval "$ac_link") 2>conftest.er1
4040 <  ac_status=$?
4041 <  grep -v '^ *+' conftest.er1 >conftest.err
4042 <  rm -f conftest.er1
4043 <  cat conftest.err >&5
4044 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 <  (exit $ac_status); } && {
4046 <         test -z "$ac_c_werror_flag" ||
4047 <         test ! -s conftest.err
4048 <       } && test -s conftest$ac_exeext && {
4049 <         test "$cross_compiling" = yes ||
4050 <         $as_test_x conftest$ac_exeext
4051 <       }; then
4416 > if ac_fn_c_try_link "$LINENO"; then :
4417    ac_cv_prog_lex_yytext_pointer=yes
4053 else
4054  $as_echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4056
4057
4418   fi
4419 <
4420 < rm -rf conftest.dSYM
4061 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4062 <      conftest$ac_exeext conftest.$ac_ext
4419 > rm -f core conftest.err conftest.$ac_objext \
4420 >    conftest$ac_exeext conftest.$ac_ext
4421   LIBS=$ac_save_LIBS
4422  
4423   fi
4424 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4424 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4425   $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4426   if test $ac_cv_prog_lex_yytext_pointer = yes; then
4427  
4428 < cat >>confdefs.h <<\_ACEOF
4071 < #define YYTEXT_POINTER 1
4072 < _ACEOF
4428 > $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4429  
4430   fi
4431   rm -f conftest.l $LEX_OUTPUT_ROOT.c
# Line 4078 | Line 4434 | fi
4434   if test "$LEX" = :; then
4435    LEX=${am_missing_run}flex
4436   fi
4081 # Find a good install program.  We prefer a C program (faster),
4082 # so one script is as good as another.  But avoid the broken or
4083 # incompatible versions:
4084 # SysV /etc/install, /usr/sbin/install
4085 # SunOS /usr/etc/install
4086 # IRIX /sbin/install
4087 # AIX /bin/install
4088 # AmigaOS /C/install, which installs bootblocks on floppy discs
4089 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4090 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4091 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4092 # OS/2's system install, which has a completely different semantic
4093 # ./install, which can be erroneously created by make from ./install.sh.
4094 # Reject install programs that cannot install multiple files.
4095 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4096 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4097 if test -z "$INSTALL"; then
4098 if test "${ac_cv_path_install+set}" = set; then
4099  $as_echo_n "(cached) " >&6
4100 else
4101  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4102 for as_dir in $PATH
4103 do
4104  IFS=$as_save_IFS
4105  test -z "$as_dir" && as_dir=.
4106  # Account for people who put trailing slashes in PATH elements.
4107 case $as_dir/ in
4108  ./ | .// | /cC/* | \
4109  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4110  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4111  /usr/ucb/* ) ;;
4112  *)
4113    # OSF1 and SCO ODT 3.0 have their own names for install.
4114    # Don't use installbsd from OSF since it installs stuff as root
4115    # by default.
4116    for ac_prog in ginstall scoinst install; do
4117      for ac_exec_ext in '' $ac_executable_extensions; do
4118        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4119          if test $ac_prog = install &&
4120            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4121            # AIX install.  It has an incompatible calling convention.
4122            :
4123          elif test $ac_prog = install &&
4124            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4125            # program-specific install script used by HP pwplus--don't use.
4126            :
4127          else
4128            rm -rf conftest.one conftest.two conftest.dir
4129            echo one > conftest.one
4130            echo two > conftest.two
4131            mkdir conftest.dir
4132            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4133              test -s conftest.one && test -s conftest.two &&
4134              test -s conftest.dir/conftest.one &&
4135              test -s conftest.dir/conftest.two
4136            then
4137              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4138              break 3
4139            fi
4140          fi
4141        fi
4142      done
4143    done
4144    ;;
4145 esac
4146
4147 done
4148 IFS=$as_save_IFS
4149
4150 rm -rf conftest.one conftest.two conftest.dir
4151
4152 fi
4153  if test "${ac_cv_path_install+set}" = set; then
4154    INSTALL=$ac_cv_path_install
4155  else
4156    # As a last resort, use the slow shell script.  Don't cache a
4157    # value for INSTALL within a source directory, because that will
4158    # break other packages using the cache if that directory is
4159    # removed, or if the value is a relative name.
4160    INSTALL=$ac_install_sh
4161  fi
4162 fi
4163 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4164 $as_echo "$INSTALL" >&6; }
4165
4166 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4167 # It thinks the first close brace ends the variable substitution.
4168 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4169
4170 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4171
4172 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4437  
4438  
4439  
4440   #ltdl stuff
4441   case `pwd` in
4442    *\ * | *\     *)
4443 <    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4443 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4444   $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4445   esac
4446  
# Line 4201 | Line 4465 | ltmain="$ac_aux_dir/ltmain.sh"
4465  
4466   # Make sure we can run config.sub.
4467   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4468 <  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4205 < $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4206 <   { (exit 1); exit 1; }; }
4468 >  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4469  
4470 < { $as_echo "$as_me:$LINENO: checking build system type" >&5
4470 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4471   $as_echo_n "checking build system type... " >&6; }
4472 < if test "${ac_cv_build+set}" = set; then
4472 > if test "${ac_cv_build+set}" = set; then :
4473    $as_echo_n "(cached) " >&6
4474   else
4475    ac_build_alias=$build_alias
4476   test "x$ac_build_alias" = x &&
4477    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4478   test "x$ac_build_alias" = x &&
4479 <  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4218 < $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4219 <   { (exit 1); exit 1; }; }
4479 >  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4480   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4481 <  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4222 < $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4223 <   { (exit 1); exit 1; }; }
4481 >  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4482  
4483   fi
4484 < { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4484 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4485   $as_echo "$ac_cv_build" >&6; }
4486   case $ac_cv_build in
4487   *-*-*) ;;
4488 < *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4231 < $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4232 <   { (exit 1); exit 1; }; };;
4488 > *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4489   esac
4490   build=$ac_cv_build
4491   ac_save_IFS=$IFS; IFS='-'
# Line 4245 | Line 4501 | IFS=$ac_save_IFS
4501   case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4502  
4503  
4504 < { $as_echo "$as_me:$LINENO: checking host system type" >&5
4504 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4505   $as_echo_n "checking host system type... " >&6; }
4506 < if test "${ac_cv_host+set}" = set; then
4506 > if test "${ac_cv_host+set}" = set; then :
4507    $as_echo_n "(cached) " >&6
4508   else
4509    if test "x$host_alias" = x; then
4510    ac_cv_host=$ac_cv_build
4511   else
4512    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4513 <    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4258 < $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4259 <   { (exit 1); exit 1; }; }
4513 >    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4514   fi
4515  
4516   fi
4517 < { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4517 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4518   $as_echo "$ac_cv_host" >&6; }
4519   case $ac_cv_host in
4520   *-*-*) ;;
4521 < *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4268 < $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4269 <   { (exit 1); exit 1; }; };;
4521 > *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4522   esac
4523   host=$ac_cv_host
4524   ac_save_IFS=$IFS; IFS='-'
# Line 4282 | Line 4534 | IFS=$ac_save_IFS
4534   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4535  
4536  
4537 < { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4537 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4538   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4539 < if test "${ac_cv_path_SED+set}" = set; then
4539 > if test "${ac_cv_path_SED+set}" = set; then :
4540    $as_echo_n "(cached) " >&6
4541   else
4542              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4292 | Line 4544 | else
4544         ac_script="$ac_script$as_nl$ac_script"
4545       done
4546       echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4547 <     $as_unset ac_script || ac_script=
4547 >     { ac_script=; unset ac_script;}
4548       if test -z "$SED"; then
4549    ac_path_SED_found=false
4550    # Loop through the user's path and test for each of PROGNAME-LIST
# Line 4301 | Line 4553 | for as_dir in $PATH
4553   do
4554    IFS=$as_save_IFS
4555    test -z "$as_dir" && as_dir=.
4556 <  for ac_prog in sed gsed; do
4556 >    for ac_prog in sed gsed; do
4557      for ac_exec_ext in '' $ac_executable_extensions; do
4558        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4559        { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
# Line 4321 | Line 4573 | case `"$ac_path_SED" --version 2>&1` in
4573      $as_echo '' >> "conftest.nl"
4574      "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4575      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4576 <    ac_count=`expr $ac_count + 1`
4576 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4577      if test $ac_count -gt ${ac_path_SED_max-0}; then
4578        # Best one so far, save it but keep looking for a better one
4579        ac_cv_path_SED="$ac_path_SED"
# Line 4336 | Line 4588 | esac
4588        $ac_path_SED_found && break 3
4589      done
4590    done
4591 < done
4591 >  done
4592   IFS=$as_save_IFS
4593    if test -z "$ac_cv_path_SED"; then
4594 <    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4343 < $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4344 <   { (exit 1); exit 1; }; }
4594 >    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4595    fi
4596   else
4597    ac_cv_path_SED=$SED
4598   fi
4599  
4600   fi
4601 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4601 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4602   $as_echo "$ac_cv_path_SED" >&6; }
4603   SED="$ac_cv_path_SED"
4604    rm -f conftest.sed
# Line 4366 | Line 4616 | Xsed="$SED -e 1s/^X//"
4616  
4617  
4618  
4619 < { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4619 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4620   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4621 < if test "${ac_cv_path_GREP+set}" = set; then
4621 > if test "${ac_cv_path_GREP+set}" = set; then :
4622    $as_echo_n "(cached) " >&6
4623   else
4624    if test -z "$GREP"; then
# Line 4379 | Line 4629 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4629   do
4630    IFS=$as_save_IFS
4631    test -z "$as_dir" && as_dir=.
4632 <  for ac_prog in grep ggrep; do
4632 >    for ac_prog in grep ggrep; do
4633      for ac_exec_ext in '' $ac_executable_extensions; do
4634        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4635        { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
# Line 4399 | Line 4649 | case `"$ac_path_GREP" --version 2>&1` in
4649      $as_echo 'GREP' >> "conftest.nl"
4650      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4651      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4652 <    ac_count=`expr $ac_count + 1`
4652 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4653      if test $ac_count -gt ${ac_path_GREP_max-0}; then
4654        # Best one so far, save it but keep looking for a better one
4655        ac_cv_path_GREP="$ac_path_GREP"
# Line 4414 | Line 4664 | esac
4664        $ac_path_GREP_found && break 3
4665      done
4666    done
4667 < done
4667 >  done
4668   IFS=$as_save_IFS
4669    if test -z "$ac_cv_path_GREP"; then
4670 <    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4421 < $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4422 <   { (exit 1); exit 1; }; }
4670 >    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4671    fi
4672   else
4673    ac_cv_path_GREP=$GREP
4674   fi
4675  
4676   fi
4677 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4677 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4678   $as_echo "$ac_cv_path_GREP" >&6; }
4679   GREP="$ac_cv_path_GREP"
4680  
4681  
4682 < { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4682 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4683   $as_echo_n "checking for egrep... " >&6; }
4684 < if test "${ac_cv_path_EGREP+set}" = set; then
4684 > if test "${ac_cv_path_EGREP+set}" = set; then :
4685    $as_echo_n "(cached) " >&6
4686   else
4687    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4447 | Line 4695 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4695   do
4696    IFS=$as_save_IFS
4697    test -z "$as_dir" && as_dir=.
4698 <  for ac_prog in egrep; do
4698 >    for ac_prog in egrep; do
4699      for ac_exec_ext in '' $ac_executable_extensions; do
4700        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4701        { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
# Line 4467 | Line 4715 | case `"$ac_path_EGREP" --version 2>&1` i
4715      $as_echo 'EGREP' >> "conftest.nl"
4716      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4717      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4718 <    ac_count=`expr $ac_count + 1`
4718 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4719      if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4720        # Best one so far, save it but keep looking for a better one
4721        ac_cv_path_EGREP="$ac_path_EGREP"
# Line 4482 | Line 4730 | esac
4730        $ac_path_EGREP_found && break 3
4731      done
4732    done
4733 < done
4733 >  done
4734   IFS=$as_save_IFS
4735    if test -z "$ac_cv_path_EGREP"; then
4736 <    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4489 < $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4490 <   { (exit 1); exit 1; }; }
4736 >    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4737    fi
4738   else
4739    ac_cv_path_EGREP=$EGREP
# Line 4495 | Line 4741 | fi
4741  
4742     fi
4743   fi
4744 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4744 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4745   $as_echo "$ac_cv_path_EGREP" >&6; }
4746   EGREP="$ac_cv_path_EGREP"
4747  
4748  
4749 < { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4749 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4750   $as_echo_n "checking for fgrep... " >&6; }
4751 < if test "${ac_cv_path_FGREP+set}" = set; then
4751 > if test "${ac_cv_path_FGREP+set}" = set; then :
4752    $as_echo_n "(cached) " >&6
4753   else
4754    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4516 | Line 4762 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4762   do
4763    IFS=$as_save_IFS
4764    test -z "$as_dir" && as_dir=.
4765 <  for ac_prog in fgrep; do
4765 >    for ac_prog in fgrep; do
4766      for ac_exec_ext in '' $ac_executable_extensions; do
4767        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4768        { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
# Line 4536 | Line 4782 | case `"$ac_path_FGREP" --version 2>&1` i
4782      $as_echo 'FGREP' >> "conftest.nl"
4783      "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785 <    ac_count=`expr $ac_count + 1`
4785 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4786      if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4787        # Best one so far, save it but keep looking for a better one
4788        ac_cv_path_FGREP="$ac_path_FGREP"
# Line 4551 | Line 4797 | esac
4797        $ac_path_FGREP_found && break 3
4798      done
4799    done
4800 < done
4800 >  done
4801   IFS=$as_save_IFS
4802    if test -z "$ac_cv_path_FGREP"; then
4803 <    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4558 < $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4559 <   { (exit 1); exit 1; }; }
4803 >    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4804    fi
4805   else
4806    ac_cv_path_FGREP=$FGREP
# Line 4564 | Line 4808 | fi
4808  
4809     fi
4810   fi
4811 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4811 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4812   $as_echo "$ac_cv_path_FGREP" >&6; }
4813   FGREP="$ac_cv_path_FGREP"
4814  
# Line 4590 | Line 4834 | test -z "$GREP" && GREP=grep
4834  
4835  
4836   # Check whether --with-gnu-ld was given.
4837 < if test "${with_gnu_ld+set}" = set; then
4837 > if test "${with_gnu_ld+set}" = set; then :
4838    withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4839   else
4840    with_gnu_ld=no
# Line 4599 | Line 4843 | fi
4843   ac_prog=ld
4844   if test "$GCC" = yes; then
4845    # Check if gcc -print-prog-name=ld gives a path.
4846 <  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4846 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4847   $as_echo_n "checking for ld used by $CC... " >&6; }
4848    case $host in
4849    *-*-mingw*)
# Line 4629 | Line 4873 | $as_echo_n "checking for ld used by $CC.
4873      ;;
4874    esac
4875   elif test "$with_gnu_ld" = yes; then
4876 <  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4876 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4877   $as_echo_n "checking for GNU ld... " >&6; }
4878   else
4879 <  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4879 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4880   $as_echo_n "checking for non-GNU ld... " >&6; }
4881   fi
4882 < if test "${lt_cv_path_LD+set}" = set; then
4882 > if test "${lt_cv_path_LD+set}" = set; then :
4883    $as_echo_n "(cached) " >&6
4884   else
4885    if test -z "$LD"; then
# Line 4666 | Line 4910 | fi
4910  
4911   LD="$lt_cv_path_LD"
4912   if test -n "$LD"; then
4913 <  { $as_echo "$as_me:$LINENO: result: $LD" >&5
4913 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4914   $as_echo "$LD" >&6; }
4915   else
4916 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4916 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917   $as_echo "no" >&6; }
4918   fi
4919 < test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4920 < $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4677 <   { (exit 1); exit 1; }; }
4678 < { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4919 > test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4920 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4921   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4922 < if test "${lt_cv_prog_gnu_ld+set}" = set; then
4922 > if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4923    $as_echo_n "(cached) " >&6
4924   else
4925    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4690 | Line 4932 | case `$LD -v 2>&1 </dev/null` in
4932    ;;
4933   esac
4934   fi
4935 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4935 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4936   $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4937   with_gnu_ld=$lt_cv_prog_gnu_ld
4938  
# Line 4702 | Line 4944 | with_gnu_ld=$lt_cv_prog_gnu_ld
4944  
4945  
4946  
4947 < { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4947 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4948   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4949 < if test "${lt_cv_path_NM+set}" = set; then
4949 > if test "${lt_cv_path_NM+set}" = set; then :
4950    $as_echo_n "(cached) " >&6
4951   else
4952    if test -n "$NM"; then
# Line 4751 | Line 4993 | else
4993    : ${lt_cv_path_NM=no}
4994   fi
4995   fi
4996 < { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4996 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4997   $as_echo "$lt_cv_path_NM" >&6; }
4998   if test "$lt_cv_path_NM" != "no"; then
4999    NM="$lt_cv_path_NM"
# Line 4762 | Line 5004 | else
5004    do
5005      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5006   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5007 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5007 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008   $as_echo_n "checking for $ac_word... " >&6; }
5009 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5009 > if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5010    $as_echo_n "(cached) " >&6
5011   else
5012    if test -n "$DUMPBIN"; then
# Line 4775 | Line 5017 | for as_dir in $PATH
5017   do
5018    IFS=$as_save_IFS
5019    test -z "$as_dir" && as_dir=.
5020 <  for ac_exec_ext in '' $ac_executable_extensions; do
5020 >    for ac_exec_ext in '' $ac_executable_extensions; do
5021    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5022      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5023 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5024      break 2
5025    fi
5026   done
5027 < done
5027 >  done
5028   IFS=$as_save_IFS
5029  
5030   fi
5031   fi
5032   DUMPBIN=$ac_cv_prog_DUMPBIN
5033   if test -n "$DUMPBIN"; then
5034 <  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5034 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5035   $as_echo "$DUMPBIN" >&6; }
5036   else
5037 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5037 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038   $as_echo "no" >&6; }
5039   fi
5040  
# Line 4806 | Line 5048 | if test -z "$DUMPBIN"; then
5048   do
5049    # Extract the first word of "$ac_prog", so it can be a program name with args.
5050   set dummy $ac_prog; ac_word=$2
5051 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5051 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052   $as_echo_n "checking for $ac_word... " >&6; }
5053 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5053 > if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5054    $as_echo_n "(cached) " >&6
5055   else
5056    if test -n "$ac_ct_DUMPBIN"; then
# Line 4819 | Line 5061 | for as_dir in $PATH
5061   do
5062    IFS=$as_save_IFS
5063    test -z "$as_dir" && as_dir=.
5064 <  for ac_exec_ext in '' $ac_executable_extensions; do
5064 >    for ac_exec_ext in '' $ac_executable_extensions; do
5065    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5067 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068      break 2
5069    fi
5070   done
5071 < done
5071 >  done
5072   IFS=$as_save_IFS
5073  
5074   fi
5075   fi
5076   ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5077   if test -n "$ac_ct_DUMPBIN"; then
5078 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5078 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5079   $as_echo "$ac_ct_DUMPBIN" >&6; }
5080   else
5081 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5081 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082   $as_echo "no" >&6; }
5083   fi
5084  
# Line 4849 | Line 5091 | done
5091    else
5092      case $cross_compiling:$ac_tool_warned in
5093   yes:)
5094 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5094 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096   ac_tool_warned=yes ;;
5097   esac
# Line 4869 | Line 5111 | test -z "$NM" && NM=nm
5111  
5112  
5113  
5114 < { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5114 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5115   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5116 < if test "${lt_cv_nm_interface+set}" = set; then
5116 > if test "${lt_cv_nm_interface+set}" = set; then :
5117    $as_echo_n "(cached) " >&6
5118   else
5119    lt_cv_nm_interface="BSD nm"
5120    echo "int some_variable = 0;" > conftest.$ac_ext
5121 <  (eval echo "\"\$as_me:4879: $ac_compile\"" >&5)
5121 >  (eval echo "\"\$as_me:5121: $ac_compile\"" >&5)
5122    (eval "$ac_compile" 2>conftest.err)
5123    cat conftest.err >&5
5124 <  (eval echo "\"\$as_me:4882: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5124 >  (eval echo "\"\$as_me:5124: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5125    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5126    cat conftest.err >&5
5127 <  (eval echo "\"\$as_me:4885: output\"" >&5)
5127 >  (eval echo "\"\$as_me:5127: output\"" >&5)
5128    cat conftest.out >&5
5129    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5130      lt_cv_nm_interface="MS dumpbin"
5131    fi
5132    rm -f conftest*
5133   fi
5134 < { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5134 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5135   $as_echo "$lt_cv_nm_interface" >&6; }
5136  
5137 < { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5137 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5138   $as_echo_n "checking whether ln -s works... " >&6; }
5139   LN_S=$as_ln_s
5140   if test "$LN_S" = "ln -s"; then
5141 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
5141 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5142   $as_echo "yes" >&6; }
5143   else
5144 <  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5144 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5145   $as_echo "no, using $LN_S" >&6; }
5146   fi
5147  
5148   # find the maximum length of command line arguments
5149 < { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5149 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5150   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5151 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5151 > if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5152    $as_echo_n "(cached) " >&6
5153   else
5154      i=0
# Line 5024 | Line 5266 | else
5266   fi
5267  
5268   if test -n $lt_cv_sys_max_cmd_len ; then
5269 <  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5269 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5270   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5271   else
5272 <  { $as_echo "$as_me:$LINENO: result: none" >&5
5272 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5273   $as_echo "none" >&6; }
5274   fi
5275   max_cmd_len=$lt_cv_sys_max_cmd_len
# Line 5041 | Line 5283 | max_cmd_len=$lt_cv_sys_max_cmd_len
5283   : ${MV="mv -f"}
5284   : ${RM="rm -f"}
5285  
5286 < { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5286 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5287   $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5288   # Try some XSI features
5289   xsi_shell=no
# Line 5051 | Line 5293 | xsi_shell=no
5293      && eval 'test $(( 1 + 1 )) -eq 2 \
5294      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5295    && xsi_shell=yes
5296 < { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5296 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5297   $as_echo "$xsi_shell" >&6; }
5298  
5299  
5300 < { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5300 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5301   $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5302   lt_shell_append=no
5303   ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5304      >/dev/null 2>&1 \
5305    && lt_shell_append=yes
5306 < { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5306 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5307   $as_echo "$lt_shell_append" >&6; }
5308  
5309  
# Line 5096 | Line 5338 | esac
5338  
5339  
5340  
5341 < { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5341 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5342   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5343 < if test "${lt_cv_ld_reload_flag+set}" = set; then
5343 > if test "${lt_cv_ld_reload_flag+set}" = set; then :
5344    $as_echo_n "(cached) " >&6
5345   else
5346    lt_cv_ld_reload_flag='-r'
5347   fi
5348 < { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5348 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5349   $as_echo "$lt_cv_ld_reload_flag" >&6; }
5350   reload_flag=$lt_cv_ld_reload_flag
5351   case $reload_flag in
# Line 5132 | Line 5374 | esac
5374   if test -n "$ac_tool_prefix"; then
5375    # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5376   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5377 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5377 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378   $as_echo_n "checking for $ac_word... " >&6; }
5379 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5379 > if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5380    $as_echo_n "(cached) " >&6
5381   else
5382    if test -n "$OBJDUMP"; then
# Line 5145 | Line 5387 | for as_dir in $PATH
5387   do
5388    IFS=$as_save_IFS
5389    test -z "$as_dir" && as_dir=.
5390 <  for ac_exec_ext in '' $ac_executable_extensions; do
5390 >    for ac_exec_ext in '' $ac_executable_extensions; do
5391    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5392      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5393 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394      break 2
5395    fi
5396   done
5397 < done
5397 >  done
5398   IFS=$as_save_IFS
5399  
5400   fi
5401   fi
5402   OBJDUMP=$ac_cv_prog_OBJDUMP
5403   if test -n "$OBJDUMP"; then
5404 <  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5404 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5405   $as_echo "$OBJDUMP" >&6; }
5406   else
5407 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5407 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408   $as_echo "no" >&6; }
5409   fi
5410  
# Line 5172 | Line 5414 | if test -z "$ac_cv_prog_OBJDUMP"; then
5414    ac_ct_OBJDUMP=$OBJDUMP
5415    # Extract the first word of "objdump", so it can be a program name with args.
5416   set dummy objdump; ac_word=$2
5417 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5417 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418   $as_echo_n "checking for $ac_word... " >&6; }
5419 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5419 > if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5420    $as_echo_n "(cached) " >&6
5421   else
5422    if test -n "$ac_ct_OBJDUMP"; then
# Line 5185 | Line 5427 | for as_dir in $PATH
5427   do
5428    IFS=$as_save_IFS
5429    test -z "$as_dir" && as_dir=.
5430 <  for ac_exec_ext in '' $ac_executable_extensions; do
5430 >    for ac_exec_ext in '' $ac_executable_extensions; do
5431    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5432      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5433 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434      break 2
5435    fi
5436   done
5437 < done
5437 >  done
5438   IFS=$as_save_IFS
5439  
5440   fi
5441   fi
5442   ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5443   if test -n "$ac_ct_OBJDUMP"; then
5444 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5444 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5445   $as_echo "$ac_ct_OBJDUMP" >&6; }
5446   else
5447 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5447 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448   $as_echo "no" >&6; }
5449   fi
5450  
# Line 5211 | Line 5453 | fi
5453    else
5454      case $cross_compiling:$ac_tool_warned in
5455   yes:)
5456 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5456 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5457   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5458   ac_tool_warned=yes ;;
5459   esac
# Line 5231 | Line 5473 | test -z "$OBJDUMP" && OBJDUMP=objdump
5473  
5474  
5475  
5476 < { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5476 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5477   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5478 < if test "${lt_cv_deplibs_check_method+set}" = set; then
5478 > if test "${lt_cv_deplibs_check_method+set}" = set; then :
5479    $as_echo_n "(cached) " >&6
5480   else
5481    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5427 | Line 5669 | tpf*)
5669   esac
5670  
5671   fi
5672 < { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5672 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5673   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5674   file_magic_cmd=$lt_cv_file_magic_cmd
5675   deplibs_check_method=$lt_cv_deplibs_check_method
# Line 5447 | Line 5689 | test -z "$deplibs_check_method" && depli
5689   if test -n "$ac_tool_prefix"; then
5690    # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5691   set dummy ${ac_tool_prefix}ar; ac_word=$2
5692 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5692 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693   $as_echo_n "checking for $ac_word... " >&6; }
5694 < if test "${ac_cv_prog_AR+set}" = set; then
5694 > if test "${ac_cv_prog_AR+set}" = set; then :
5695    $as_echo_n "(cached) " >&6
5696   else
5697    if test -n "$AR"; then
# Line 5460 | Line 5702 | for as_dir in $PATH
5702   do
5703    IFS=$as_save_IFS
5704    test -z "$as_dir" && as_dir=.
5705 <  for ac_exec_ext in '' $ac_executable_extensions; do
5705 >    for ac_exec_ext in '' $ac_executable_extensions; do
5706    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5707      ac_cv_prog_AR="${ac_tool_prefix}ar"
5708 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709      break 2
5710    fi
5711   done
5712 < done
5712 >  done
5713   IFS=$as_save_IFS
5714  
5715   fi
5716   fi
5717   AR=$ac_cv_prog_AR
5718   if test -n "$AR"; then
5719 <  { $as_echo "$as_me:$LINENO: result: $AR" >&5
5719 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5720   $as_echo "$AR" >&6; }
5721   else
5722 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5722 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723   $as_echo "no" >&6; }
5724   fi
5725  
# Line 5487 | Line 5729 | if test -z "$ac_cv_prog_AR"; then
5729    ac_ct_AR=$AR
5730    # Extract the first word of "ar", so it can be a program name with args.
5731   set dummy ar; ac_word=$2
5732 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5732 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733   $as_echo_n "checking for $ac_word... " >&6; }
5734 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5734 > if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5735    $as_echo_n "(cached) " >&6
5736   else
5737    if test -n "$ac_ct_AR"; then
# Line 5500 | Line 5742 | for as_dir in $PATH
5742   do
5743    IFS=$as_save_IFS
5744    test -z "$as_dir" && as_dir=.
5745 <  for ac_exec_ext in '' $ac_executable_extensions; do
5745 >    for ac_exec_ext in '' $ac_executable_extensions; do
5746    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747      ac_cv_prog_ac_ct_AR="ar"
5748 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749      break 2
5750    fi
5751   done
5752 < done
5752 >  done
5753   IFS=$as_save_IFS
5754  
5755   fi
5756   fi
5757   ac_ct_AR=$ac_cv_prog_ac_ct_AR
5758   if test -n "$ac_ct_AR"; then
5759 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5759 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5760   $as_echo "$ac_ct_AR" >&6; }
5761   else
5762 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5762 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763   $as_echo "no" >&6; }
5764   fi
5765  
# Line 5526 | Line 5768 | fi
5768    else
5769      case $cross_compiling:$ac_tool_warned in
5770   yes:)
5771 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5771 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5772   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5773   ac_tool_warned=yes ;;
5774   esac
# Line 5552 | Line 5794 | test -z "$AR_FLAGS" && AR_FLAGS=cru
5794   if test -n "$ac_tool_prefix"; then
5795    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5796   set dummy ${ac_tool_prefix}strip; ac_word=$2
5797 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5797 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798   $as_echo_n "checking for $ac_word... " >&6; }
5799 < if test "${ac_cv_prog_STRIP+set}" = set; then
5799 > if test "${ac_cv_prog_STRIP+set}" = set; then :
5800    $as_echo_n "(cached) " >&6
5801   else
5802    if test -n "$STRIP"; then
# Line 5565 | Line 5807 | for as_dir in $PATH
5807   do
5808    IFS=$as_save_IFS
5809    test -z "$as_dir" && as_dir=.
5810 <  for ac_exec_ext in '' $ac_executable_extensions; do
5810 >    for ac_exec_ext in '' $ac_executable_extensions; do
5811    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5813 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5814      break 2
5815    fi
5816   done
5817 < done
5817 >  done
5818   IFS=$as_save_IFS
5819  
5820   fi
5821   fi
5822   STRIP=$ac_cv_prog_STRIP
5823   if test -n "$STRIP"; then
5824 <  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5824 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5825   $as_echo "$STRIP" >&6; }
5826   else
5827 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5827 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828   $as_echo "no" >&6; }
5829   fi
5830  
# Line 5592 | Line 5834 | if test -z "$ac_cv_prog_STRIP"; then
5834    ac_ct_STRIP=$STRIP
5835    # Extract the first word of "strip", so it can be a program name with args.
5836   set dummy strip; ac_word=$2
5837 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5837 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838   $as_echo_n "checking for $ac_word... " >&6; }
5839 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5839 > if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5840    $as_echo_n "(cached) " >&6
5841   else
5842    if test -n "$ac_ct_STRIP"; then
# Line 5605 | Line 5847 | for as_dir in $PATH
5847   do
5848    IFS=$as_save_IFS
5849    test -z "$as_dir" && as_dir=.
5850 <  for ac_exec_ext in '' $ac_executable_extensions; do
5850 >    for ac_exec_ext in '' $ac_executable_extensions; do
5851    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5852      ac_cv_prog_ac_ct_STRIP="strip"
5853 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854      break 2
5855    fi
5856   done
5857 < done
5857 >  done
5858   IFS=$as_save_IFS
5859  
5860   fi
5861   fi
5862   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5863   if test -n "$ac_ct_STRIP"; then
5864 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5864 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5865   $as_echo "$ac_ct_STRIP" >&6; }
5866   else
5867 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5867 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868   $as_echo "no" >&6; }
5869   fi
5870  
# Line 5631 | Line 5873 | fi
5873    else
5874      case $cross_compiling:$ac_tool_warned in
5875   yes:)
5876 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5876 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5877   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5878   ac_tool_warned=yes ;;
5879   esac
# Line 5651 | Line 5893 | test -z "$STRIP" && STRIP=:
5893   if test -n "$ac_tool_prefix"; then
5894    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5895   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5896 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5896 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897   $as_echo_n "checking for $ac_word... " >&6; }
5898 < if test "${ac_cv_prog_RANLIB+set}" = set; then
5898 > if test "${ac_cv_prog_RANLIB+set}" = set; then :
5899    $as_echo_n "(cached) " >&6
5900   else
5901    if test -n "$RANLIB"; then
# Line 5664 | Line 5906 | for as_dir in $PATH
5906   do
5907    IFS=$as_save_IFS
5908    test -z "$as_dir" && as_dir=.
5909 <  for ac_exec_ext in '' $ac_executable_extensions; do
5909 >    for ac_exec_ext in '' $ac_executable_extensions; do
5910    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5912 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5912 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913      break 2
5914    fi
5915   done
5916 < done
5916 >  done
5917   IFS=$as_save_IFS
5918  
5919   fi
5920   fi
5921   RANLIB=$ac_cv_prog_RANLIB
5922   if test -n "$RANLIB"; then
5923 <  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5923 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5924   $as_echo "$RANLIB" >&6; }
5925   else
5926 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5926 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927   $as_echo "no" >&6; }
5928   fi
5929  
# Line 5691 | Line 5933 | if test -z "$ac_cv_prog_RANLIB"; then
5933    ac_ct_RANLIB=$RANLIB
5934    # Extract the first word of "ranlib", so it can be a program name with args.
5935   set dummy ranlib; ac_word=$2
5936 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5936 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937   $as_echo_n "checking for $ac_word... " >&6; }
5938 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5938 > if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5939    $as_echo_n "(cached) " >&6
5940   else
5941    if test -n "$ac_ct_RANLIB"; then
# Line 5704 | Line 5946 | for as_dir in $PATH
5946   do
5947    IFS=$as_save_IFS
5948    test -z "$as_dir" && as_dir=.
5949 <  for ac_exec_ext in '' $ac_executable_extensions; do
5949 >    for ac_exec_ext in '' $ac_executable_extensions; do
5950    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951      ac_cv_prog_ac_ct_RANLIB="ranlib"
5952 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953      break 2
5954    fi
5955   done
5956 < done
5956 >  done
5957   IFS=$as_save_IFS
5958  
5959   fi
5960   fi
5961   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5962   if test -n "$ac_ct_RANLIB"; then
5963 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5963 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5964   $as_echo "$ac_ct_RANLIB" >&6; }
5965   else
5966 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5966 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967   $as_echo "no" >&6; }
5968   fi
5969  
# Line 5730 | Line 5972 | fi
5972    else
5973      case $cross_compiling:$ac_tool_warned in
5974   yes:)
5975 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5975 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5976   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5977   ac_tool_warned=yes ;;
5978   esac
# Line 5808 | Line 6050 | compiler=$CC
6050  
6051  
6052   # Check for command to grab the raw symbol name followed by C symbol from nm.
6053 < { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6053 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6054   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6055 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6055 > if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6056    $as_echo_n "(cached) " >&6
6057   else
6058  
# Line 5926 | Line 6168 | void nm_test_func(void){}
6168   int main(){nm_test_var='a';nm_test_func();return(0);}
6169   _LT_EOF
6170  
6171 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6171 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6172    (eval $ac_compile) 2>&5
6173    ac_status=$?
6174 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 <  (exit $ac_status); }; then
6174 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6175 >  test $ac_status = 0; }; then
6176      # Now try to grab the symbols.
6177      nlist=conftest.nm
6178 <    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6178 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6179    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6180    ac_status=$?
6181 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 <  (exit $ac_status); } && test -s "$nlist"; then
6181 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6182 >  test $ac_status = 0; } && test -s "$nlist"; then
6183        # Try sorting and uniquifying the output.
6184        if sort "$nlist" | uniq > "$nlist"T; then
6185          mv -f "$nlist"T "$nlist"
# Line 5990 | Line 6232 | _LT_EOF
6232            lt_save_CFLAGS="$CFLAGS"
6233            LIBS="conftstm.$ac_objext"
6234            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6235 <          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6235 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6236    (eval $ac_link) 2>&5
6237    ac_status=$?
6238 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 <  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6238 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6239 >  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6240              pipe_works=yes
6241            fi
6242            LIBS="$lt_save_LIBS"
# Line 6028 | Line 6270 | if test -z "$lt_cv_sys_global_symbol_pip
6270    lt_cv_sys_global_symbol_to_cdecl=
6271   fi
6272   if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6273 <  { $as_echo "$as_me:$LINENO: result: failed" >&5
6273 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6274   $as_echo "failed" >&6; }
6275   else
6276 <  { $as_echo "$as_me:$LINENO: result: ok" >&5
6276 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6277   $as_echo "ok" >&6; }
6278   fi
6279  
# Line 6057 | Line 6299 | fi
6299  
6300  
6301   # Check whether --enable-libtool-lock was given.
6302 < if test "${enable_libtool_lock+set}" = set; then
6302 > if test "${enable_libtool_lock+set}" = set; then :
6303    enableval=$enable_libtool_lock;
6304   fi
6305  
# Line 6069 | Line 6311 | case $host in
6311   ia64-*-hpux*)
6312    # Find out which ABI we are using.
6313    echo 'int i;' > conftest.$ac_ext
6314 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6314 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6315    (eval $ac_compile) 2>&5
6316    ac_status=$?
6317 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 <  (exit $ac_status); }; then
6317 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6318 >  test $ac_status = 0; }; then
6319      case `/usr/bin/file conftest.$ac_objext` in
6320        *ELF-32*)
6321          HPUX_IA64_MODE="32"
# Line 6087 | Line 6329 | ia64-*-hpux*)
6329    ;;
6330   *-*-irix6*)
6331    # Find out which ABI we are using.
6332 <  echo '#line 6090 "configure"' > conftest.$ac_ext
6333 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6332 >  echo '#line 6332 "configure"' > conftest.$ac_ext
6333 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6334    (eval $ac_compile) 2>&5
6335    ac_status=$?
6336 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 <  (exit $ac_status); }; then
6336 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6337 >  test $ac_status = 0; }; then
6338      if test "$lt_cv_prog_gnu_ld" = yes; then
6339        case `/usr/bin/file conftest.$ac_objext` in
6340          *32-bit*)
# Line 6126 | Line 6368 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc
6368   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6369    # Find out which ABI we are using.
6370    echo 'int i;' > conftest.$ac_ext
6371 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6371 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6372    (eval $ac_compile) 2>&5
6373    ac_status=$?
6374 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 <  (exit $ac_status); }; then
6374 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6375 >  test $ac_status = 0; }; then
6376      case `/usr/bin/file conftest.o` in
6377        *32-bit*)
6378          case $host in
# Line 6179 | Line 6421 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6421    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6422    SAVE_CFLAGS="$CFLAGS"
6423    CFLAGS="$CFLAGS -belf"
6424 <  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6424 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6425   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6426 < if test "${lt_cv_cc_needs_belf+set}" = set; then
6426 > if test "${lt_cv_cc_needs_belf+set}" = set; then :
6427    $as_echo_n "(cached) " >&6
6428   else
6429    ac_ext=c
# Line 6190 | Line 6432 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
6432   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6433   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6434  
6435 <     cat >conftest.$ac_ext <<_ACEOF
6194 < /* confdefs.h.  */
6195 < _ACEOF
6196 < cat confdefs.h >>conftest.$ac_ext
6197 < cat >>conftest.$ac_ext <<_ACEOF
6435 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6436   /* end confdefs.h.  */
6437  
6438   int
# Line 6205 | Line 6443 | main ()
6443    return 0;
6444   }
6445   _ACEOF
6446 < rm -f conftest.$ac_objext conftest$ac_exeext
6209 < if { (ac_try="$ac_link"
6210 < case "(($ac_try" in
6211 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6212 <  *) ac_try_echo=$ac_try;;
6213 < esac
6214 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6215 < $as_echo "$ac_try_echo") >&5
6216 <  (eval "$ac_link") 2>conftest.er1
6217 <  ac_status=$?
6218 <  grep -v '^ *+' conftest.er1 >conftest.err
6219 <  rm -f conftest.er1
6220 <  cat conftest.err >&5
6221 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 <  (exit $ac_status); } && {
6223 <         test -z "$ac_c_werror_flag" ||
6224 <         test ! -s conftest.err
6225 <       } && test -s conftest$ac_exeext && {
6226 <         test "$cross_compiling" = yes ||
6227 <         $as_test_x conftest$ac_exeext
6228 <       }; then
6446 > if ac_fn_c_try_link "$LINENO"; then :
6447    lt_cv_cc_needs_belf=yes
6448   else
6449 <  $as_echo "$as_me: failed program was:" >&5
6232 < sed 's/^/| /' conftest.$ac_ext >&5
6233 <
6234 <        lt_cv_cc_needs_belf=no
6449 >  lt_cv_cc_needs_belf=no
6450   fi
6451 <
6452 < rm -rf conftest.dSYM
6238 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6239 <      conftest$ac_exeext conftest.$ac_ext
6451 > rm -f core conftest.err conftest.$ac_objext \
6452 >    conftest$ac_exeext conftest.$ac_ext
6453       ac_ext=c
6454   ac_cpp='$CPP $CPPFLAGS'
6455   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 6244 | Line 6457 | ac_link='$CC -o conftest$ac_exeext $CFLA
6457   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6458  
6459   fi
6460 < { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6460 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6461   $as_echo "$lt_cv_cc_needs_belf" >&6; }
6462    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6463      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
# Line 6254 | Line 6467 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6467   sparc*-*solaris*)
6468    # Find out which ABI we are using.
6469    echo 'int i;' > conftest.$ac_ext
6470 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6470 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6471    (eval $ac_compile) 2>&5
6472    ac_status=$?
6473 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 <  (exit $ac_status); }; then
6473 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6474 >  test $ac_status = 0; }; then
6475      case `/usr/bin/file conftest.o` in
6476      *64-bit*)
6477        case $lt_cv_prog_gnu_ld in
# Line 6284 | Line 6497 | need_locks="$enable_libtool_lock"
6497      if test -n "$ac_tool_prefix"; then
6498    # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6499   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6500 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6500 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501   $as_echo_n "checking for $ac_word... " >&6; }
6502 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6502 > if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6503    $as_echo_n "(cached) " >&6
6504   else
6505    if test -n "$DSYMUTIL"; then
# Line 6297 | Line 6510 | for as_dir in $PATH
6510   do
6511    IFS=$as_save_IFS
6512    test -z "$as_dir" && as_dir=.
6513 <  for ac_exec_ext in '' $ac_executable_extensions; do
6513 >    for ac_exec_ext in '' $ac_executable_extensions; do
6514    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6516 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6516 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6517      break 2
6518    fi
6519   done
6520 < done
6520 >  done
6521   IFS=$as_save_IFS
6522  
6523   fi
6524   fi
6525   DSYMUTIL=$ac_cv_prog_DSYMUTIL
6526   if test -n "$DSYMUTIL"; then
6527 <  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6527 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6528   $as_echo "$DSYMUTIL" >&6; }
6529   else
6530 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6530 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531   $as_echo "no" >&6; }
6532   fi
6533  
# Line 6324 | Line 6537 | if test -z "$ac_cv_prog_DSYMUTIL"; then
6537    ac_ct_DSYMUTIL=$DSYMUTIL
6538    # Extract the first word of "dsymutil", so it can be a program name with args.
6539   set dummy dsymutil; ac_word=$2
6540 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6540 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541   $as_echo_n "checking for $ac_word... " >&6; }
6542 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6542 > if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6543    $as_echo_n "(cached) " >&6
6544   else
6545    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6337 | Line 6550 | for as_dir in $PATH
6550   do
6551    IFS=$as_save_IFS
6552    test -z "$as_dir" && as_dir=.
6553 <  for ac_exec_ext in '' $ac_executable_extensions; do
6553 >    for ac_exec_ext in '' $ac_executable_extensions; do
6554    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6556 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557      break 2
6558    fi
6559   done
6560 < done
6560 >  done
6561   IFS=$as_save_IFS
6562  
6563   fi
6564   fi
6565   ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6566   if test -n "$ac_ct_DSYMUTIL"; then
6567 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6567 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6568   $as_echo "$ac_ct_DSYMUTIL" >&6; }
6569   else
6570 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6570 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571   $as_echo "no" >&6; }
6572   fi
6573  
# Line 6363 | Line 6576 | fi
6576    else
6577      case $cross_compiling:$ac_tool_warned in
6578   yes:)
6579 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6579 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6580   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6581   ac_tool_warned=yes ;;
6582   esac
# Line 6376 | Line 6589 | fi
6589      if test -n "$ac_tool_prefix"; then
6590    # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6591   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6592 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6592 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593   $as_echo_n "checking for $ac_word... " >&6; }
6594 < if test "${ac_cv_prog_NMEDIT+set}" = set; then
6594 > if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6595    $as_echo_n "(cached) " >&6
6596   else
6597    if test -n "$NMEDIT"; then
# Line 6389 | Line 6602 | for as_dir in $PATH
6602   do
6603    IFS=$as_save_IFS
6604    test -z "$as_dir" && as_dir=.
6605 <  for ac_exec_ext in '' $ac_executable_extensions; do
6605 >    for ac_exec_ext in '' $ac_executable_extensions; do
6606    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6607      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6608 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6608 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609      break 2
6610    fi
6611   done
6612 < done
6612 >  done
6613   IFS=$as_save_IFS
6614  
6615   fi
6616   fi
6617   NMEDIT=$ac_cv_prog_NMEDIT
6618   if test -n "$NMEDIT"; then
6619 <  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6619 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6620   $as_echo "$NMEDIT" >&6; }
6621   else
6622 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6622 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623   $as_echo "no" >&6; }
6624   fi
6625  
# Line 6416 | Line 6629 | if test -z "$ac_cv_prog_NMEDIT"; then
6629    ac_ct_NMEDIT=$NMEDIT
6630    # Extract the first word of "nmedit", so it can be a program name with args.
6631   set dummy nmedit; ac_word=$2
6632 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6632 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633   $as_echo_n "checking for $ac_word... " >&6; }
6634 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6634 > if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6635    $as_echo_n "(cached) " >&6
6636   else
6637    if test -n "$ac_ct_NMEDIT"; then
# Line 6429 | Line 6642 | for as_dir in $PATH
6642   do
6643    IFS=$as_save_IFS
6644    test -z "$as_dir" && as_dir=.
6645 <  for ac_exec_ext in '' $ac_executable_extensions; do
6645 >    for ac_exec_ext in '' $ac_executable_extensions; do
6646    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647      ac_cv_prog_ac_ct_NMEDIT="nmedit"
6648 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649      break 2
6650    fi
6651   done
6652 < done
6652 >  done
6653   IFS=$as_save_IFS
6654  
6655   fi
6656   fi
6657   ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6658   if test -n "$ac_ct_NMEDIT"; then
6659 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6659 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6660   $as_echo "$ac_ct_NMEDIT" >&6; }
6661   else
6662 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6662 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663   $as_echo "no" >&6; }
6664   fi
6665  
# Line 6455 | Line 6668 | fi
6668    else
6669      case $cross_compiling:$ac_tool_warned in
6670   yes:)
6671 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6671 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6672   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6673   ac_tool_warned=yes ;;
6674   esac
# Line 6468 | Line 6681 | fi
6681      if test -n "$ac_tool_prefix"; then
6682    # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6683   set dummy ${ac_tool_prefix}lipo; ac_word=$2
6684 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6684 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685   $as_echo_n "checking for $ac_word... " >&6; }
6686 < if test "${ac_cv_prog_LIPO+set}" = set; then
6686 > if test "${ac_cv_prog_LIPO+set}" = set; then :
6687    $as_echo_n "(cached) " >&6
6688   else
6689    if test -n "$LIPO"; then
# Line 6481 | Line 6694 | for as_dir in $PATH
6694   do
6695    IFS=$as_save_IFS
6696    test -z "$as_dir" && as_dir=.
6697 <  for ac_exec_ext in '' $ac_executable_extensions; do
6697 >    for ac_exec_ext in '' $ac_executable_extensions; do
6698    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6700 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701      break 2
6702    fi
6703   done
6704 < done
6704 >  done
6705   IFS=$as_save_IFS
6706  
6707   fi
6708   fi
6709   LIPO=$ac_cv_prog_LIPO
6710   if test -n "$LIPO"; then
6711 <  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6711 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6712   $as_echo "$LIPO" >&6; }
6713   else
6714 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6714 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715   $as_echo "no" >&6; }
6716   fi
6717  
# Line 6508 | Line 6721 | if test -z "$ac_cv_prog_LIPO"; then
6721    ac_ct_LIPO=$LIPO
6722    # Extract the first word of "lipo", so it can be a program name with args.
6723   set dummy lipo; ac_word=$2
6724 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6724 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725   $as_echo_n "checking for $ac_word... " >&6; }
6726 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6726 > if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6727    $as_echo_n "(cached) " >&6
6728   else
6729    if test -n "$ac_ct_LIPO"; then
# Line 6521 | Line 6734 | for as_dir in $PATH
6734   do
6735    IFS=$as_save_IFS
6736    test -z "$as_dir" && as_dir=.
6737 <  for ac_exec_ext in '' $ac_executable_extensions; do
6737 >    for ac_exec_ext in '' $ac_executable_extensions; do
6738    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739      ac_cv_prog_ac_ct_LIPO="lipo"
6740 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741      break 2
6742    fi
6743   done
6744 < done
6744 >  done
6745   IFS=$as_save_IFS
6746  
6747   fi
6748   fi
6749   ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6750   if test -n "$ac_ct_LIPO"; then
6751 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6751 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6752   $as_echo "$ac_ct_LIPO" >&6; }
6753   else
6754 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6754 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755   $as_echo "no" >&6; }
6756   fi
6757  
# Line 6547 | Line 6760 | fi
6760    else
6761      case $cross_compiling:$ac_tool_warned in
6762   yes:)
6763 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6763 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6764   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6765   ac_tool_warned=yes ;;
6766   esac
# Line 6560 | Line 6773 | fi
6773      if test -n "$ac_tool_prefix"; then
6774    # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6775   set dummy ${ac_tool_prefix}otool; ac_word=$2
6776 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6776 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777   $as_echo_n "checking for $ac_word... " >&6; }
6778 < if test "${ac_cv_prog_OTOOL+set}" = set; then
6778 > if test "${ac_cv_prog_OTOOL+set}" = set; then :
6779    $as_echo_n "(cached) " >&6
6780   else
6781    if test -n "$OTOOL"; then
# Line 6573 | Line 6786 | for as_dir in $PATH
6786   do
6787    IFS=$as_save_IFS
6788    test -z "$as_dir" && as_dir=.
6789 <  for ac_exec_ext in '' $ac_executable_extensions; do
6789 >    for ac_exec_ext in '' $ac_executable_extensions; do
6790    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6791      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6792 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6792 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793      break 2
6794    fi
6795   done
6796 < done
6796 >  done
6797   IFS=$as_save_IFS
6798  
6799   fi
6800   fi
6801   OTOOL=$ac_cv_prog_OTOOL
6802   if test -n "$OTOOL"; then
6803 <  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6803 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6804   $as_echo "$OTOOL" >&6; }
6805   else
6806 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6806 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807   $as_echo "no" >&6; }
6808   fi
6809  
# Line 6600 | Line 6813 | if test -z "$ac_cv_prog_OTOOL"; then
6813    ac_ct_OTOOL=$OTOOL
6814    # Extract the first word of "otool", so it can be a program name with args.
6815   set dummy otool; ac_word=$2
6816 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6816 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817   $as_echo_n "checking for $ac_word... " >&6; }
6818 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6818 > if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6819    $as_echo_n "(cached) " >&6
6820   else
6821    if test -n "$ac_ct_OTOOL"; then
# Line 6613 | Line 6826 | for as_dir in $PATH
6826   do
6827    IFS=$as_save_IFS
6828    test -z "$as_dir" && as_dir=.
6829 <  for ac_exec_ext in '' $ac_executable_extensions; do
6829 >    for ac_exec_ext in '' $ac_executable_extensions; do
6830    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831      ac_cv_prog_ac_ct_OTOOL="otool"
6832 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6832 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833      break 2
6834    fi
6835   done
6836 < done
6836 >  done
6837   IFS=$as_save_IFS
6838  
6839   fi
6840   fi
6841   ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6842   if test -n "$ac_ct_OTOOL"; then
6843 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6843 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6844   $as_echo "$ac_ct_OTOOL" >&6; }
6845   else
6846 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6846 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847   $as_echo "no" >&6; }
6848   fi
6849  
# Line 6639 | Line 6852 | fi
6852    else
6853      case $cross_compiling:$ac_tool_warned in
6854   yes:)
6855 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6855 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6856   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6857   ac_tool_warned=yes ;;
6858   esac
# Line 6652 | Line 6865 | fi
6865      if test -n "$ac_tool_prefix"; then
6866    # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6867   set dummy ${ac_tool_prefix}otool64; ac_word=$2
6868 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6868 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869   $as_echo_n "checking for $ac_word... " >&6; }
6870 < if test "${ac_cv_prog_OTOOL64+set}" = set; then
6870 > if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6871    $as_echo_n "(cached) " >&6
6872   else
6873    if test -n "$OTOOL64"; then
# Line 6665 | Line 6878 | for as_dir in $PATH
6878   do
6879    IFS=$as_save_IFS
6880    test -z "$as_dir" && as_dir=.
6881 <  for ac_exec_ext in '' $ac_executable_extensions; do
6881 >    for ac_exec_ext in '' $ac_executable_extensions; do
6882    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6883      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6884 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6884 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6885      break 2
6886    fi
6887   done
6888 < done
6888 >  done
6889   IFS=$as_save_IFS
6890  
6891   fi
6892   fi
6893   OTOOL64=$ac_cv_prog_OTOOL64
6894   if test -n "$OTOOL64"; then
6895 <  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6895 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6896   $as_echo "$OTOOL64" >&6; }
6897   else
6898 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6898 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899   $as_echo "no" >&6; }
6900   fi
6901  
# Line 6692 | Line 6905 | if test -z "$ac_cv_prog_OTOOL64"; then
6905    ac_ct_OTOOL64=$OTOOL64
6906    # Extract the first word of "otool64", so it can be a program name with args.
6907   set dummy otool64; ac_word=$2
6908 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6908 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909   $as_echo_n "checking for $ac_word... " >&6; }
6910 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6910 > if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6911    $as_echo_n "(cached) " >&6
6912   else
6913    if test -n "$ac_ct_OTOOL64"; then
# Line 6705 | Line 6918 | for as_dir in $PATH
6918   do
6919    IFS=$as_save_IFS
6920    test -z "$as_dir" && as_dir=.
6921 <  for ac_exec_ext in '' $ac_executable_extensions; do
6921 >    for ac_exec_ext in '' $ac_executable_extensions; do
6922    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923      ac_cv_prog_ac_ct_OTOOL64="otool64"
6924 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6924 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925      break 2
6926    fi
6927   done
6928 < done
6928 >  done
6929   IFS=$as_save_IFS
6930  
6931   fi
6932   fi
6933   ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6934   if test -n "$ac_ct_OTOOL64"; then
6935 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6935 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6936   $as_echo "$ac_ct_OTOOL64" >&6; }
6937   else
6938 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6938 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939   $as_echo "no" >&6; }
6940   fi
6941  
# Line 6731 | Line 6944 | fi
6944    else
6945      case $cross_compiling:$ac_tool_warned in
6946   yes:)
6947 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6947 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6948   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6949   ac_tool_warned=yes ;;
6950   esac
# Line 6767 | Line 6980 | fi
6980  
6981  
6982  
6983 <    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6983 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6984   $as_echo_n "checking for -single_module linker flag... " >&6; }
6985 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6985 > if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6986    $as_echo_n "(cached) " >&6
6987   else
6988    lt_cv_apple_cc_single_mod=no
# Line 6794 | Line 7007 | else
7007          rm -f conftest.*
7008        fi
7009   fi
7010 < { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7010 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7011   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7012 <    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7012 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7013   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7014 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7014 > if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7015    $as_echo_n "(cached) " >&6
7016   else
7017    lt_cv_ld_exported_symbols_list=no
7018        save_LDFLAGS=$LDFLAGS
7019        echo "_main" > conftest.sym
7020        LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7021 <      cat >conftest.$ac_ext <<_ACEOF
6809 < /* confdefs.h.  */
6810 < _ACEOF
6811 < cat confdefs.h >>conftest.$ac_ext
6812 < cat >>conftest.$ac_ext <<_ACEOF
7021 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7022   /* end confdefs.h.  */
7023  
7024   int
# Line 6820 | Line 7029 | main ()
7029    return 0;
7030   }
7031   _ACEOF
7032 < rm -f conftest.$ac_objext conftest$ac_exeext
6824 < if { (ac_try="$ac_link"
6825 < case "(($ac_try" in
6826 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6827 <  *) ac_try_echo=$ac_try;;
6828 < esac
6829 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6830 < $as_echo "$ac_try_echo") >&5
6831 <  (eval "$ac_link") 2>conftest.er1
6832 <  ac_status=$?
6833 <  grep -v '^ *+' conftest.er1 >conftest.err
6834 <  rm -f conftest.er1
6835 <  cat conftest.err >&5
6836 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 <  (exit $ac_status); } && {
6838 <         test -z "$ac_c_werror_flag" ||
6839 <         test ! -s conftest.err
6840 <       } && test -s conftest$ac_exeext && {
6841 <         test "$cross_compiling" = yes ||
6842 <         $as_test_x conftest$ac_exeext
6843 <       }; then
7032 > if ac_fn_c_try_link "$LINENO"; then :
7033    lt_cv_ld_exported_symbols_list=yes
7034   else
7035 <  $as_echo "$as_me: failed program was:" >&5
6847 < sed 's/^/| /' conftest.$ac_ext >&5
6848 <
6849 <        lt_cv_ld_exported_symbols_list=no
7035 >  lt_cv_ld_exported_symbols_list=no
7036   fi
7037 <
7038 < rm -rf conftest.dSYM
6853 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6854 <      conftest$ac_exeext conftest.$ac_ext
7037 > rm -f core conftest.err conftest.$ac_objext \
7038 >    conftest$ac_exeext conftest.$ac_ext
7039          LDFLAGS="$save_LDFLAGS"
7040  
7041   fi
7042 < { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7042 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7043   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7044      case $host_os in
7045      rhapsody* | darwin1.[012])
# Line 6897 | Line 7081 | ac_cpp='$CPP $CPPFLAGS'
7081   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7082   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7083   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7084 < { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7084 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7085   $as_echo_n "checking how to run the C preprocessor... " >&6; }
7086   # On Suns, sometimes $CPP names a directory.
7087   if test -n "$CPP" && test -d "$CPP"; then
7088    CPP=
7089   fi
7090   if test -z "$CPP"; then
7091 <  if test "${ac_cv_prog_CPP+set}" = set; then
7091 >  if test "${ac_cv_prog_CPP+set}" = set; then :
7092    $as_echo_n "(cached) " >&6
7093   else
7094        # Double quotes because CPP needs to be expanded
# Line 6919 | Line 7103 | do
7103    # <limits.h> exists even on freestanding compilers.
7104    # On the NeXT, cc -E runs the code through the compiler's parser,
7105    # not just through cpp. "Syntax error" is here to catch this case.
7106 <  cat >conftest.$ac_ext <<_ACEOF
6923 < /* confdefs.h.  */
6924 < _ACEOF
6925 < cat confdefs.h >>conftest.$ac_ext
6926 < cat >>conftest.$ac_ext <<_ACEOF
7106 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7107   /* end confdefs.h.  */
7108   #ifdef __STDC__
7109   # include <limits.h>
# Line 6932 | Line 7112 | cat >>conftest.$ac_ext <<_ACEOF
7112   #endif
7113                       Syntax error
7114   _ACEOF
7115 < if { (ac_try="$ac_cpp conftest.$ac_ext"
6936 < case "(($ac_try" in
6937 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6938 <  *) ac_try_echo=$ac_try;;
6939 < esac
6940 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6941 < $as_echo "$ac_try_echo") >&5
6942 <  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6943 <  ac_status=$?
6944 <  grep -v '^ *+' conftest.er1 >conftest.err
6945 <  rm -f conftest.er1
6946 <  cat conftest.err >&5
6947 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 <  (exit $ac_status); } >/dev/null && {
6949 <         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6950 <         test ! -s conftest.err
6951 <       }; then
6952 <  :
6953 < else
6954 <  $as_echo "$as_me: failed program was:" >&5
6955 < sed 's/^/| /' conftest.$ac_ext >&5
7115 > if ac_fn_c_try_cpp "$LINENO"; then :
7116  
7117 + else
7118    # Broken: fails on valid input.
7119   continue
7120   fi
6960
7121   rm -f conftest.err conftest.$ac_ext
7122  
7123    # OK, works on sane cases.  Now check whether nonexistent headers
7124    # can be detected and how.
7125 <  cat >conftest.$ac_ext <<_ACEOF
6966 < /* confdefs.h.  */
6967 < _ACEOF
6968 < cat confdefs.h >>conftest.$ac_ext
6969 < cat >>conftest.$ac_ext <<_ACEOF
7125 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7126   /* end confdefs.h.  */
7127   #include <ac_nonexistent.h>
7128   _ACEOF
7129 < if { (ac_try="$ac_cpp conftest.$ac_ext"
6974 < case "(($ac_try" in
6975 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6976 <  *) ac_try_echo=$ac_try;;
6977 < esac
6978 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6979 < $as_echo "$ac_try_echo") >&5
6980 <  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6981 <  ac_status=$?
6982 <  grep -v '^ *+' conftest.er1 >conftest.err
6983 <  rm -f conftest.er1
6984 <  cat conftest.err >&5
6985 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 <  (exit $ac_status); } >/dev/null && {
6987 <         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6988 <         test ! -s conftest.err
6989 <       }; then
7129 > if ac_fn_c_try_cpp "$LINENO"; then :
7130    # Broken: success on invalid input.
7131   continue
7132   else
6993  $as_echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.$ac_ext >&5
6995
7133    # Passes both tests.
7134   ac_preproc_ok=:
7135   break
7136   fi
7000
7137   rm -f conftest.err conftest.$ac_ext
7138  
7139   done
7140   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7141   rm -f conftest.err conftest.$ac_ext
7142 < if $ac_preproc_ok; then
7142 > if $ac_preproc_ok; then :
7143    break
7144   fi
7145  
# Line 7015 | Line 7151 | fi
7151   else
7152    ac_cv_prog_CPP=$CPP
7153   fi
7154 < { $as_echo "$as_me:$LINENO: result: $CPP" >&5
7154 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7155   $as_echo "$CPP" >&6; }
7156   ac_preproc_ok=false
7157   for ac_c_preproc_warn_flag in '' yes
# Line 7026 | Line 7162 | do
7162    # <limits.h> exists even on freestanding compilers.
7163    # On the NeXT, cc -E runs the code through the compiler's parser,
7164    # not just through cpp. "Syntax error" is here to catch this case.
7165 <  cat >conftest.$ac_ext <<_ACEOF
7030 < /* confdefs.h.  */
7031 < _ACEOF
7032 < cat confdefs.h >>conftest.$ac_ext
7033 < cat >>conftest.$ac_ext <<_ACEOF
7165 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7166   /* end confdefs.h.  */
7167   #ifdef __STDC__
7168   # include <limits.h>
# Line 7039 | Line 7171 | cat >>conftest.$ac_ext <<_ACEOF
7171   #endif
7172                       Syntax error
7173   _ACEOF
7174 < if { (ac_try="$ac_cpp conftest.$ac_ext"
7043 < case "(($ac_try" in
7044 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7045 <  *) ac_try_echo=$ac_try;;
7046 < esac
7047 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7048 < $as_echo "$ac_try_echo") >&5
7049 <  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7050 <  ac_status=$?
7051 <  grep -v '^ *+' conftest.er1 >conftest.err
7052 <  rm -f conftest.er1
7053 <  cat conftest.err >&5
7054 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 <  (exit $ac_status); } >/dev/null && {
7056 <         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7057 <         test ! -s conftest.err
7058 <       }; then
7059 <  :
7060 < else
7061 <  $as_echo "$as_me: failed program was:" >&5
7062 < sed 's/^/| /' conftest.$ac_ext >&5
7174 > if ac_fn_c_try_cpp "$LINENO"; then :
7175  
7176 + else
7177    # Broken: fails on valid input.
7178   continue
7179   fi
7067
7180   rm -f conftest.err conftest.$ac_ext
7181  
7182    # OK, works on sane cases.  Now check whether nonexistent headers
7183    # can be detected and how.
7184 <  cat >conftest.$ac_ext <<_ACEOF
7073 < /* confdefs.h.  */
7074 < _ACEOF
7075 < cat confdefs.h >>conftest.$ac_ext
7076 < cat >>conftest.$ac_ext <<_ACEOF
7184 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7185   /* end confdefs.h.  */
7186   #include <ac_nonexistent.h>
7187   _ACEOF
7188 < if { (ac_try="$ac_cpp conftest.$ac_ext"
7081 < case "(($ac_try" in
7082 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7083 <  *) ac_try_echo=$ac_try;;
7084 < esac
7085 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7086 < $as_echo "$ac_try_echo") >&5
7087 <  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7088 <  ac_status=$?
7089 <  grep -v '^ *+' conftest.er1 >conftest.err
7090 <  rm -f conftest.er1
7091 <  cat conftest.err >&5
7092 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 <  (exit $ac_status); } >/dev/null && {
7094 <         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7095 <         test ! -s conftest.err
7096 <       }; then
7188 > if ac_fn_c_try_cpp "$LINENO"; then :
7189    # Broken: success on invalid input.
7190   continue
7191   else
7100  $as_echo "$as_me: failed program was:" >&5
7101 sed 's/^/| /' conftest.$ac_ext >&5
7102
7192    # Passes both tests.
7193   ac_preproc_ok=:
7194   break
7195   fi
7107
7196   rm -f conftest.err conftest.$ac_ext
7197  
7198   done
7199   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7200   rm -f conftest.err conftest.$ac_ext
7201 < if $ac_preproc_ok; then
7202 <  :
7201 > if $ac_preproc_ok; then :
7202 >
7203   else
7204 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7204 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7205   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7206 < { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7207 < See \`config.log' for more details." >&5
7120 < $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7121 < See \`config.log' for more details." >&2;}
7122 <   { (exit 1); exit 1; }; }; }
7206 > as_fn_error "C preprocessor \"$CPP\" fails sanity check
7207 > See \`config.log' for more details." "$LINENO" 5; }
7208   fi
7209  
7210   ac_ext=c
# Line 7129 | Line 7214 | ac_link='$CC -o conftest$ac_exeext $CFLA
7214   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215  
7216  
7217 < { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7217 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7218   $as_echo_n "checking for ANSI C header files... " >&6; }
7219 < if test "${ac_cv_header_stdc+set}" = set; then
7219 > if test "${ac_cv_header_stdc+set}" = set; then :
7220    $as_echo_n "(cached) " >&6
7221   else
7222 <  cat >conftest.$ac_ext <<_ACEOF
7138 < /* confdefs.h.  */
7139 < _ACEOF
7140 < cat confdefs.h >>conftest.$ac_ext
7141 < cat >>conftest.$ac_ext <<_ACEOF
7222 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223   /* end confdefs.h.  */
7224   #include <stdlib.h>
7225   #include <stdarg.h>
# Line 7153 | Line 7234 | main ()
7234    return 0;
7235   }
7236   _ACEOF
7237 < rm -f conftest.$ac_objext
7157 < if { (ac_try="$ac_compile"
7158 < case "(($ac_try" in
7159 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7160 <  *) ac_try_echo=$ac_try;;
7161 < esac
7162 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7163 < $as_echo "$ac_try_echo") >&5
7164 <  (eval "$ac_compile") 2>conftest.er1
7165 <  ac_status=$?
7166 <  grep -v '^ *+' conftest.er1 >conftest.err
7167 <  rm -f conftest.er1
7168 <  cat conftest.err >&5
7169 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 <  (exit $ac_status); } && {
7171 <         test -z "$ac_c_werror_flag" ||
7172 <         test ! -s conftest.err
7173 <       } && test -s conftest.$ac_objext; then
7237 > if ac_fn_c_try_compile "$LINENO"; then :
7238    ac_cv_header_stdc=yes
7239   else
7240 <  $as_echo "$as_me: failed program was:" >&5
7177 < sed 's/^/| /' conftest.$ac_ext >&5
7178 <
7179 <        ac_cv_header_stdc=no
7240 >  ac_cv_header_stdc=no
7241   fi
7181
7242   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7243  
7244   if test $ac_cv_header_stdc = yes; then
7245    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7246 <  cat >conftest.$ac_ext <<_ACEOF
7187 < /* confdefs.h.  */
7188 < _ACEOF
7189 < cat confdefs.h >>conftest.$ac_ext
7190 < cat >>conftest.$ac_ext <<_ACEOF
7246 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7247   /* end confdefs.h.  */
7248   #include <string.h>
7249  
7250   _ACEOF
7251   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7252 <  $EGREP "memchr" >/dev/null 2>&1; then
7253 <  :
7252 >  $EGREP "memchr" >/dev/null 2>&1; then :
7253 >
7254   else
7255    ac_cv_header_stdc=no
7256   fi
# Line 7204 | Line 7260 | fi
7260  
7261   if test $ac_cv_header_stdc = yes; then
7262    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7263 <  cat >conftest.$ac_ext <<_ACEOF
7208 < /* confdefs.h.  */
7209 < _ACEOF
7210 < cat confdefs.h >>conftest.$ac_ext
7211 < cat >>conftest.$ac_ext <<_ACEOF
7263 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7264   /* end confdefs.h.  */
7265   #include <stdlib.h>
7266  
7267   _ACEOF
7268   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7269 <  $EGREP "free" >/dev/null 2>&1; then
7270 <  :
7269 >  $EGREP "free" >/dev/null 2>&1; then :
7270 >
7271   else
7272    ac_cv_header_stdc=no
7273   fi
# Line 7225 | Line 7277 | fi
7277  
7278   if test $ac_cv_header_stdc = yes; then
7279    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7280 <  if test "$cross_compiling" = yes; then
7280 >  if test "$cross_compiling" = yes; then :
7281    :
7282   else
7283 <  cat >conftest.$ac_ext <<_ACEOF
7232 < /* confdefs.h.  */
7233 < _ACEOF
7234 < cat confdefs.h >>conftest.$ac_ext
7235 < cat >>conftest.$ac_ext <<_ACEOF
7283 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7284   /* end confdefs.h.  */
7285   #include <ctype.h>
7286   #include <stdlib.h>
# Line 7259 | Line 7307 | main ()
7307    return 0;
7308   }
7309   _ACEOF
7310 < rm -f conftest$ac_exeext
7263 < if { (ac_try="$ac_link"
7264 < case "(($ac_try" in
7265 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7266 <  *) ac_try_echo=$ac_try;;
7267 < esac
7268 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7269 < $as_echo "$ac_try_echo") >&5
7270 <  (eval "$ac_link") 2>&5
7271 <  ac_status=$?
7272 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 <  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7274 <  { (case "(($ac_try" in
7275 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7276 <  *) ac_try_echo=$ac_try;;
7277 < esac
7278 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7279 < $as_echo "$ac_try_echo") >&5
7280 <  (eval "$ac_try") 2>&5
7281 <  ac_status=$?
7282 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 <  (exit $ac_status); }; }; then
7284 <  :
7285 < else
7286 <  $as_echo "$as_me: program exited with status $ac_status" >&5
7287 < $as_echo "$as_me: failed program was:" >&5
7288 < sed 's/^/| /' conftest.$ac_ext >&5
7310 > if ac_fn_c_try_run "$LINENO"; then :
7311  
7312 < ( exit $ac_status )
7313 < ac_cv_header_stdc=no
7312 > else
7313 >  ac_cv_header_stdc=no
7314   fi
7315 < rm -rf conftest.dSYM
7316 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7315 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7316 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
7317   fi
7318  
7297
7319   fi
7320   fi
7321 < { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7321 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7322   $as_echo "$ac_cv_header_stdc" >&6; }
7323   if test $ac_cv_header_stdc = yes; then
7324  
7325 < cat >>confdefs.h <<\_ACEOF
7305 < #define STDC_HEADERS 1
7306 < _ACEOF
7325 > $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7326  
7327   fi
7328  
7329   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7311
7312
7313
7314
7315
7316
7317
7318
7319
7330   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7331                    inttypes.h stdint.h unistd.h
7332 < do
7333 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7334 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7335 < $as_echo_n "checking for $ac_header... " >&6; }
7336 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7337 <  $as_echo_n "(cached) " >&6
7328 < else
7329 <  cat >conftest.$ac_ext <<_ACEOF
7330 < /* confdefs.h.  */
7331 < _ACEOF
7332 < cat confdefs.h >>conftest.$ac_ext
7333 < cat >>conftest.$ac_ext <<_ACEOF
7334 < /* end confdefs.h.  */
7335 < $ac_includes_default
7336 <
7337 < #include <$ac_header>
7338 < _ACEOF
7339 < rm -f conftest.$ac_objext
7340 < if { (ac_try="$ac_compile"
7341 < case "(($ac_try" in
7342 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7343 <  *) ac_try_echo=$ac_try;;
7344 < esac
7345 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7346 < $as_echo "$ac_try_echo") >&5
7347 <  (eval "$ac_compile") 2>conftest.er1
7348 <  ac_status=$?
7349 <  grep -v '^ *+' conftest.er1 >conftest.err
7350 <  rm -f conftest.er1
7351 <  cat conftest.err >&5
7352 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 <  (exit $ac_status); } && {
7354 <         test -z "$ac_c_werror_flag" ||
7355 <         test ! -s conftest.err
7356 <       } && test -s conftest.$ac_objext; then
7357 <  eval "$as_ac_Header=yes"
7358 < else
7359 <  $as_echo "$as_me: failed program was:" >&5
7360 < sed 's/^/| /' conftest.$ac_ext >&5
7361 <
7362 <        eval "$as_ac_Header=no"
7363 < fi
7364 <
7365 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7366 < fi
7367 < ac_res=`eval 'as_val=${'$as_ac_Header'}
7368 <                 $as_echo "$as_val"'`
7369 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7370 < $as_echo "$ac_res" >&6; }
7371 < as_val=`eval 'as_val=${'$as_ac_Header'}
7372 <                 $as_echo "$as_val"'`
7373 <   if test "x$as_val" = x""yes; then
7332 > do :
7333 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7334 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7335 > "
7336 > eval as_val=\$$as_ac_Header
7337 >   if test "x$as_val" = x""yes; then :
7338    cat >>confdefs.h <<_ACEOF
7339   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7340   _ACEOF
# Line 7380 | Line 7344 | fi
7344   done
7345  
7346  
7383
7347   for ac_header in dlfcn.h
7348 < do
7349 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 < $as_echo_n "checking for $ac_header... " >&6; }
7389 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7390 <  $as_echo_n "(cached) " >&6
7391 < else
7392 <  cat >conftest.$ac_ext <<_ACEOF
7393 < /* confdefs.h.  */
7394 < _ACEOF
7395 < cat confdefs.h >>conftest.$ac_ext
7396 < cat >>conftest.$ac_ext <<_ACEOF
7397 < /* end confdefs.h.  */
7398 < $ac_includes_default
7399 <
7400 < #include <$ac_header>
7401 < _ACEOF
7402 < rm -f conftest.$ac_objext
7403 < if { (ac_try="$ac_compile"
7404 < case "(($ac_try" in
7405 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7406 <  *) ac_try_echo=$ac_try;;
7407 < esac
7408 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7409 < $as_echo "$ac_try_echo") >&5
7410 <  (eval "$ac_compile") 2>conftest.er1
7411 <  ac_status=$?
7412 <  grep -v '^ *+' conftest.er1 >conftest.err
7413 <  rm -f conftest.er1
7414 <  cat conftest.err >&5
7415 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 <  (exit $ac_status); } && {
7417 <         test -z "$ac_c_werror_flag" ||
7418 <         test ! -s conftest.err
7419 <       } && test -s conftest.$ac_objext; then
7420 <  eval "$as_ac_Header=yes"
7421 < else
7422 <  $as_echo "$as_me: failed program was:" >&5
7423 < sed 's/^/| /' conftest.$ac_ext >&5
7424 <
7425 <        eval "$as_ac_Header=no"
7426 < fi
7427 <
7428 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7429 < fi
7430 < ac_res=`eval 'as_val=${'$as_ac_Header'}
7431 <                 $as_echo "$as_val"'`
7432 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7433 < $as_echo "$ac_res" >&6; }
7434 < as_val=`eval 'as_val=${'$as_ac_Header'}
7435 <                 $as_echo "$as_val"'`
7436 <   if test "x$as_val" = x""yes; then
7348 > do :
7349 >  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7350 > "
7351 > if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7352    cat >>confdefs.h <<_ACEOF
7353 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7353 > #define HAVE_DLFCN_H 1
7354   _ACEOF
7355  
7356   fi
# Line 7446 | Line 7361 | done
7361  
7362   # Set options
7363   enable_dlopen=yes
7364 <
7365 <
7366 <
7452 <
7453 <  enable_win32_dll=no
7454 <
7455 <
7456 <            # Check whether --enable-shared was given.
7457 < if test "${enable_shared+set}" = set; then
7458 <  enableval=$enable_shared; p=${PACKAGE-default}
7364 > # Check whether --enable-static was given.
7365 > if test "${enable_static+set}" = set; then :
7366 >  enableval=$enable_static; p=${PACKAGE-default}
7367      case $enableval in
7368 <    yes) enable_shared=yes ;;
7369 <    no) enable_shared=no ;;
7368 >    yes) enable_static=yes ;;
7369 >    no) enable_static=no ;;
7370      *)
7371 <      enable_shared=no
7371 >     enable_static=no
7372        # Look at the argument we got.  We use all the common list separators.
7373        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7374        for pkg in $enableval; do
7375          IFS="$lt_save_ifs"
7376          if test "X$pkg" = "X$p"; then
7377 <          enable_shared=yes
7377 >          enable_static=yes
7378          fi
7379        done
7380        IFS="$lt_save_ifs"
7381        ;;
7382      esac
7383   else
7384 <  enable_shared=yes
7384 >  enable_static=no
7385   fi
7386  
7387  
# Line 7484 | Line 7392 | fi
7392  
7393  
7394  
7395 <  # Check whether --enable-static was given.
7396 < if test "${enable_static+set}" = set; then
7397 <  enableval=$enable_static; p=${PACKAGE-default}
7395 >
7396 >
7397 >  enable_win32_dll=no
7398 >
7399 >
7400 >            # Check whether --enable-shared was given.
7401 > if test "${enable_shared+set}" = set; then :
7402 >  enableval=$enable_shared; p=${PACKAGE-default}
7403      case $enableval in
7404 <    yes) enable_static=yes ;;
7405 <    no) enable_static=no ;;
7404 >    yes) enable_shared=yes ;;
7405 >    no) enable_shared=no ;;
7406      *)
7407 <     enable_static=no
7407 >      enable_shared=no
7408        # Look at the argument we got.  We use all the common list separators.
7409        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7410        for pkg in $enableval; do
7411          IFS="$lt_save_ifs"
7412          if test "X$pkg" = "X$p"; then
7413 <          enable_static=yes
7413 >          enable_shared=yes
7414          fi
7415        done
7416        IFS="$lt_save_ifs"
7417        ;;
7418      esac
7419   else
7420 <  enable_static=yes
7420 >  enable_shared=yes
7421   fi
7422  
7423  
# Line 7516 | Line 7429 | fi
7429  
7430  
7431  
7432 +
7433   # Check whether --with-pic was given.
7434 < if test "${with_pic+set}" = set; then
7434 > if test "${with_pic+set}" = set; then :
7435    withval=$with_pic; pic_mode="$withval"
7436   else
7437    pic_mode=default
# Line 7533 | Line 7447 | test -z "$pic_mode" && pic_mode=default
7447  
7448  
7449    # Check whether --enable-fast-install was given.
7450 < if test "${enable_fast_install+set}" = set; then
7450 > if test "${enable_fast_install+set}" = set; then :
7451    enableval=$enable_fast_install; p=${PACKAGE-default}
7452      case $enableval in
7453      yes) enable_fast_install=yes ;;
# Line 7614 | Line 7528 | if test -n "${ZSH_VERSION+set}" ; then
7528     setopt NO_GLOB_SUBST
7529   fi
7530  
7531 < { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7531 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7532   $as_echo_n "checking for objdir... " >&6; }
7533 < if test "${lt_cv_objdir+set}" = set; then
7533 > if test "${lt_cv_objdir+set}" = set; then :
7534    $as_echo_n "(cached) " >&6
7535   else
7536    rm -f .libs 2>/dev/null
# Line 7629 | Line 7543 | else
7543   fi
7544   rmdir .libs 2>/dev/null
7545   fi
7546 < { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7546 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7547   $as_echo "$lt_cv_objdir" >&6; }
7548   objdir=$lt_cv_objdir
7549  
# Line 7722 | Line 7636 | test -z "$MAGIC_CMD" && MAGIC_CMD=file
7636   case $deplibs_check_method in
7637   file_magic*)
7638    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7639 <    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7639 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7640   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7641 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7641 > if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7642    $as_echo_n "(cached) " >&6
7643   else
7644    case $MAGIC_CMD in
# Line 7775 | Line 7689 | fi
7689  
7690   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7691   if test -n "$MAGIC_CMD"; then
7692 <  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7692 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7693   $as_echo "$MAGIC_CMD" >&6; }
7694   else
7695 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7695 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696   $as_echo "no" >&6; }
7697   fi
7698  
# Line 7788 | Line 7702 | fi
7702  
7703   if test -z "$lt_cv_path_MAGIC_CMD"; then
7704    if test -n "$ac_tool_prefix"; then
7705 <    { $as_echo "$as_me:$LINENO: checking for file" >&5
7705 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7706   $as_echo_n "checking for file... " >&6; }
7707 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7707 > if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7708    $as_echo_n "(cached) " >&6
7709   else
7710    case $MAGIC_CMD in
# Line 7841 | Line 7755 | fi
7755  
7756   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7757   if test -n "$MAGIC_CMD"; then
7758 <  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7758 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7759   $as_echo "$MAGIC_CMD" >&6; }
7760   else
7761 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7761 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762   $as_echo "no" >&6; }
7763   fi
7764  
# Line 7921 | Line 7835 | lt_prog_compiler_no_builtin_flag=
7835   if test "$GCC" = yes; then
7836    lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7837  
7838 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7838 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7839   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7840 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7840 > if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7841    $as_echo_n "(cached) " >&6
7842   else
7843    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7939 | Line 7853 | else
7853     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7854     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7855     -e 's:$: $lt_compiler_flag:'`
7856 <   (eval echo "\"\$as_me:7942: $lt_compile\"" >&5)
7856 >   (eval echo "\"\$as_me:7856: $lt_compile\"" >&5)
7857     (eval "$lt_compile" 2>conftest.err)
7858     ac_status=$?
7859     cat conftest.err >&5
7860 <   echo "$as_me:7946: \$? = $ac_status" >&5
7860 >   echo "$as_me:7860: \$? = $ac_status" >&5
7861     if (exit $ac_status) && test -s "$ac_outfile"; then
7862       # The compiler can only warn and ignore the option if not recognized
7863       # So say no if there are warnings other than the usual output.
# Line 7956 | Line 7870 | else
7870     $RM conftest*
7871  
7872   fi
7873 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7873 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7874   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7875  
7876   if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
# Line 7976 | Line 7890 | fi
7890   lt_prog_compiler_pic=
7891   lt_prog_compiler_static=
7892  
7893 < { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7893 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7894   $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7895  
7896    if test "$GCC" = yes; then
# Line 8248 | Line 8162 | case $host_os in
8162      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8163      ;;
8164   esac
8165 < { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8165 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8166   $as_echo "$lt_prog_compiler_pic" >&6; }
8167  
8168  
# Line 8260 | Line 8174 | $as_echo "$lt_prog_compiler_pic" >&6; }
8174   # Check to make sure the PIC flag actually works.
8175   #
8176   if test -n "$lt_prog_compiler_pic"; then
8177 <  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8177 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8178   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8179 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8179 > if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8180    $as_echo_n "(cached) " >&6
8181   else
8182    lt_cv_prog_compiler_pic_works=no
# Line 8278 | Line 8192 | else
8192     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8193     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8194     -e 's:$: $lt_compiler_flag:'`
8195 <   (eval echo "\"\$as_me:8281: $lt_compile\"" >&5)
8195 >   (eval echo "\"\$as_me:8195: $lt_compile\"" >&5)
8196     (eval "$lt_compile" 2>conftest.err)
8197     ac_status=$?
8198     cat conftest.err >&5
8199 <   echo "$as_me:8285: \$? = $ac_status" >&5
8199 >   echo "$as_me:8199: \$? = $ac_status" >&5
8200     if (exit $ac_status) && test -s "$ac_outfile"; then
8201       # The compiler can only warn and ignore the option if not recognized
8202       # So say no if there are warnings other than the usual output.
# Line 8295 | Line 8209 | else
8209     $RM conftest*
8210  
8211   fi
8212 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8212 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8213   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8214  
8215   if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
# Line 8319 | Line 8233 | fi
8233   # Check to make sure the static flag actually works.
8234   #
8235   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8236 < { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8236 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8237   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8238 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8238 > if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8239    $as_echo_n "(cached) " >&6
8240   else
8241    lt_cv_prog_compiler_static_works=no
# Line 8347 | Line 8261 | else
8261     LDFLAGS="$save_LDFLAGS"
8262  
8263   fi
8264 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8264 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8265   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8266  
8267   if test x"$lt_cv_prog_compiler_static_works" = xyes; then
# Line 8362 | Line 8276 | fi
8276  
8277  
8278  
8279 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8279 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8280   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8281 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8281 > if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8282    $as_echo_n "(cached) " >&6
8283   else
8284    lt_cv_prog_compiler_c_o=no
# Line 8383 | Line 8297 | else
8297     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8298     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8299     -e 's:$: $lt_compiler_flag:'`
8300 <   (eval echo "\"\$as_me:8386: $lt_compile\"" >&5)
8300 >   (eval echo "\"\$as_me:8300: $lt_compile\"" >&5)
8301     (eval "$lt_compile" 2>out/conftest.err)
8302     ac_status=$?
8303     cat out/conftest.err >&5
8304 <   echo "$as_me:8390: \$? = $ac_status" >&5
8304 >   echo "$as_me:8304: \$? = $ac_status" >&5
8305     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8306     then
8307       # The compiler can only warn and ignore the option if not recognized
# Line 8409 | Line 8323 | else
8323     $RM conftest*
8324  
8325   fi
8326 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8326 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8327   $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8328  
8329  
# Line 8417 | Line 8331 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8331  
8332  
8333  
8334 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8334 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8335   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8336 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8336 > if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8337    $as_echo_n "(cached) " >&6
8338   else
8339    lt_cv_prog_compiler_c_o=no
# Line 8438 | Line 8352 | else
8352     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8353     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8354     -e 's:$: $lt_compiler_flag:'`
8355 <   (eval echo "\"\$as_me:8441: $lt_compile\"" >&5)
8355 >   (eval echo "\"\$as_me:8355: $lt_compile\"" >&5)
8356     (eval "$lt_compile" 2>out/conftest.err)
8357     ac_status=$?
8358     cat out/conftest.err >&5
8359 <   echo "$as_me:8445: \$? = $ac_status" >&5
8359 >   echo "$as_me:8359: \$? = $ac_status" >&5
8360     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8361     then
8362       # The compiler can only warn and ignore the option if not recognized
# Line 8464 | Line 8378 | else
8378     $RM conftest*
8379  
8380   fi
8381 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8381 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8382   $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8383  
8384  
# Line 8473 | Line 8387 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8387   hard_links="nottested"
8388   if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8389    # do not overwrite the value of need_locks provided by the user
8390 <  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8390 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8391   $as_echo_n "checking if we can lock with hard links... " >&6; }
8392    hard_links=yes
8393    $RM conftest*
# Line 8481 | Line 8395 | $as_echo_n "checking if we can lock with
8395    touch conftest.a
8396    ln conftest.a conftest.b 2>&5 || hard_links=no
8397    ln conftest.a conftest.b 2>/dev/null && hard_links=no
8398 <  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8398 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8399   $as_echo "$hard_links" >&6; }
8400    if test "$hard_links" = no; then
8401 <    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8401 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8402   $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8403      need_locks=warn
8404    fi
# Line 8497 | Line 8411 | fi
8411  
8412  
8413  
8414 <  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8414 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8415   $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8416  
8417    runpath_var=
# Line 8940 | Line 8854 | _LT_EOF
8854          allow_undefined_flag='-berok'
8855          # Determine the default libpath from the value encoded in an
8856          # empty executable.
8857 <        cat >conftest.$ac_ext <<_ACEOF
8944 < /* confdefs.h.  */
8945 < _ACEOF
8946 < cat confdefs.h >>conftest.$ac_ext
8947 < cat >>conftest.$ac_ext <<_ACEOF
8857 >        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858   /* end confdefs.h.  */
8859  
8860   int
# Line 8955 | Line 8865 | main ()
8865    return 0;
8866   }
8867   _ACEOF
8868 < rm -f conftest.$ac_objext conftest$ac_exeext
8959 < if { (ac_try="$ac_link"
8960 < case "(($ac_try" in
8961 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8962 <  *) ac_try_echo=$ac_try;;
8963 < esac
8964 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8965 < $as_echo "$ac_try_echo") >&5
8966 <  (eval "$ac_link") 2>conftest.er1
8967 <  ac_status=$?
8968 <  grep -v '^ *+' conftest.er1 >conftest.err
8969 <  rm -f conftest.er1
8970 <  cat conftest.err >&5
8971 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 <  (exit $ac_status); } && {
8973 <         test -z "$ac_c_werror_flag" ||
8974 <         test ! -s conftest.err
8975 <       } && test -s conftest$ac_exeext && {
8976 <         test "$cross_compiling" = yes ||
8977 <         $as_test_x conftest$ac_exeext
8978 <       }; then
8868 > if ac_fn_c_try_link "$LINENO"; then :
8869  
8870   lt_aix_libpath_sed='
8871      /Import File Strings/,/^$/ {
# Line 8989 | Line 8879 | aix_libpath=`dump -H conftest$ac_exeext
8879   if test -z "$aix_libpath"; then
8880    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8881   fi
8992 else
8993  $as_echo "$as_me: failed program was:" >&5
8994 sed 's/^/| /' conftest.$ac_ext >&5
8995
8996
8882   fi
8883 <
8884 < rm -rf conftest.dSYM
9000 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9001 <      conftest$ac_exeext conftest.$ac_ext
8883 > rm -f core conftest.err conftest.$ac_objext \
8884 >    conftest$ac_exeext conftest.$ac_ext
8885   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8886  
8887          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 9011 | Line 8894 | if test -z "$aix_libpath"; then aix_libp
8894          else
8895           # Determine the default libpath from the value encoded in an
8896           # empty executable.
8897 <         cat >conftest.$ac_ext <<_ACEOF
9015 < /* confdefs.h.  */
9016 < _ACEOF
9017 < cat confdefs.h >>conftest.$ac_ext
9018 < cat >>conftest.$ac_ext <<_ACEOF
8897 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898   /* end confdefs.h.  */
8899  
8900   int
# Line 9026 | Line 8905 | main ()
8905    return 0;
8906   }
8907   _ACEOF
8908 < rm -f conftest.$ac_objext conftest$ac_exeext
9030 < if { (ac_try="$ac_link"
9031 < case "(($ac_try" in
9032 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9033 <  *) ac_try_echo=$ac_try;;
9034 < esac
9035 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9036 < $as_echo "$ac_try_echo") >&5
9037 <  (eval "$ac_link") 2>conftest.er1
9038 <  ac_status=$?
9039 <  grep -v '^ *+' conftest.er1 >conftest.err
9040 <  rm -f conftest.er1
9041 <  cat conftest.err >&5
9042 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 <  (exit $ac_status); } && {
9044 <         test -z "$ac_c_werror_flag" ||
9045 <         test ! -s conftest.err
9046 <       } && test -s conftest$ac_exeext && {
9047 <         test "$cross_compiling" = yes ||
9048 <         $as_test_x conftest$ac_exeext
9049 <       }; then
8908 > if ac_fn_c_try_link "$LINENO"; then :
8909  
8910   lt_aix_libpath_sed='
8911      /Import File Strings/,/^$/ {
# Line 9060 | Line 8919 | aix_libpath=`dump -H conftest$ac_exeext
8919   if test -z "$aix_libpath"; then
8920    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8921   fi
9063 else
9064  $as_echo "$as_me: failed program was:" >&5
9065 sed 's/^/| /' conftest.$ac_ext >&5
9066
9067
8922   fi
8923 <
8924 < rm -rf conftest.dSYM
9071 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9072 <      conftest$ac_exeext conftest.$ac_ext
8923 > rm -f core conftest.err conftest.$ac_objext \
8924 >    conftest$ac_exeext conftest.$ac_ext
8925   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8926  
8927           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 9281 | Line 9133 | if test -z "$aix_libpath"; then aix_libp
9133          # implicitly export all symbols.
9134          save_LDFLAGS="$LDFLAGS"
9135          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9136 <        cat >conftest.$ac_ext <<_ACEOF
9136 >        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9137 > /* end confdefs.h.  */
9138   int foo(void) {}
9139   _ACEOF
9140 < rm -f conftest.$ac_objext conftest$ac_exeext
9288 < if { (ac_try="$ac_link"
9289 < case "(($ac_try" in
9290 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9291 <  *) ac_try_echo=$ac_try;;
9292 < esac
9293 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9294 < $as_echo "$ac_try_echo") >&5
9295 <  (eval "$ac_link") 2>conftest.er1
9296 <  ac_status=$?
9297 <  grep -v '^ *+' conftest.er1 >conftest.err
9298 <  rm -f conftest.er1
9299 <  cat conftest.err >&5
9300 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 <  (exit $ac_status); } && {
9302 <         test -z "$ac_c_werror_flag" ||
9303 <         test ! -s conftest.err
9304 <       } && test -s conftest$ac_exeext && {
9305 <         test "$cross_compiling" = yes ||
9306 <         $as_test_x conftest$ac_exeext
9307 <       }; then
9140 > if ac_fn_c_try_link "$LINENO"; then :
9141    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9142  
9310 else
9311  $as_echo "$as_me: failed program was:" >&5
9312 sed 's/^/| /' conftest.$ac_ext >&5
9313
9314
9143   fi
9144 <
9145 < rm -rf conftest.dSYM
9318 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9319 <      conftest$ac_exeext conftest.$ac_ext
9144 > rm -f core conftest.err conftest.$ac_objext \
9145 >    conftest$ac_exeext conftest.$ac_ext
9146          LDFLAGS="$save_LDFLAGS"
9147        else
9148          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
# Line 9572 | Line 9398 | rm -f core conftest.err conftest.$ac_obj
9398      fi
9399    fi
9400  
9401 < { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9401 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9402   $as_echo "$ld_shlibs" >&6; }
9403   test "$ld_shlibs" = no && can_build_shared=no
9404  
# Line 9609 | Line 9435 | x|xyes)
9435        # Test whether the compiler implicitly links with -lc since on some
9436        # systems, -lgcc has to come before -lc. If gcc already passes -lc
9437        # to ld, don't add -lc before -lgcc.
9438 <      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9438 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9439   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9440        $RM conftest*
9441        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9442  
9443 <      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9443 >      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9444    (eval $ac_compile) 2>&5
9445    ac_status=$?
9446 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 <  (exit $ac_status); } 2>conftest.err; then
9446 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9447 >  test $ac_status = 0; } 2>conftest.err; then
9448          soname=conftest
9449          lib=conftest
9450          libobjs=conftest.$ac_objext
# Line 9632 | Line 9458 | $as_echo_n "checking whether -lc should
9458          libname=conftest
9459          lt_save_allow_undefined_flag=$allow_undefined_flag
9460          allow_undefined_flag=
9461 <        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9461 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9462    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9463    ac_status=$?
9464 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 <  (exit $ac_status); }
9464 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9465 >  test $ac_status = 0; }
9466          then
9467            archive_cmds_need_lc=no
9468          else
# Line 9647 | Line 9473 | $as_echo_n "checking whether -lc should
9473          cat conftest.err 1>&5
9474        fi
9475        $RM conftest*
9476 <      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9476 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9477   $as_echo "$archive_cmds_need_lc" >&6; }
9478        ;;
9479      esac
# Line 9811 | Line 9637 | esac
9637  
9638  
9639  
9640 <  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9640 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9641   $as_echo_n "checking dynamic linker characteristics... " >&6; }
9642  
9643   if test "$GCC" = yes; then
# Line 10233 | Line 10059 | linux* | k*bsd*-gnu)
10059    save_libdir=$libdir
10060    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10061         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10062 <  cat >conftest.$ac_ext <<_ACEOF
10237 < /* confdefs.h.  */
10238 < _ACEOF
10239 < cat confdefs.h >>conftest.$ac_ext
10240 < cat >>conftest.$ac_ext <<_ACEOF
10062 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063   /* end confdefs.h.  */
10064  
10065   int
# Line 10248 | Line 10070 | main ()
10070    return 0;
10071   }
10072   _ACEOF
10073 < rm -f conftest.$ac_objext conftest$ac_exeext
10074 < if { (ac_try="$ac_link"
10253 < case "(($ac_try" in
10254 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10255 <  *) ac_try_echo=$ac_try;;
10256 < esac
10257 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10258 < $as_echo "$ac_try_echo") >&5
10259 <  (eval "$ac_link") 2>conftest.er1
10260 <  ac_status=$?
10261 <  grep -v '^ *+' conftest.er1 >conftest.err
10262 <  rm -f conftest.er1
10263 <  cat conftest.err >&5
10264 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 <  (exit $ac_status); } && {
10266 <         test -z "$ac_c_werror_flag" ||
10267 <         test ! -s conftest.err
10268 <       } && test -s conftest$ac_exeext && {
10269 <         test "$cross_compiling" = yes ||
10270 <         $as_test_x conftest$ac_exeext
10271 <       }; then
10272 <  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10073 > if ac_fn_c_try_link "$LINENO"; then :
10074 >  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10075    shlibpath_overrides_runpath=yes
10076   fi
10275
10276 else
10277  $as_echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.$ac_ext >&5
10279
10280
10077   fi
10078 <
10079 < rm -rf conftest.dSYM
10284 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10285 <      conftest$ac_exeext conftest.$ac_ext
10078 > rm -f core conftest.err conftest.$ac_objext \
10079 >    conftest$ac_exeext conftest.$ac_ext
10080    LDFLAGS=$save_LDFLAGS
10081    libdir=$save_libdir
10082  
# Line 10295 | Line 10089 | rm -f core conftest.err conftest.$ac_obj
10089    libsuff=
10090    case "$host_cpu" in
10091    x86_64*|s390x*|powerpc64*)
10092 <    echo '#line 10298 "configure"' > conftest.$ac_ext
10093 <    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10092 >    echo '#line 10092 "configure"' > conftest.$ac_ext
10093 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10094    (eval $ac_compile) 2>&5
10095    ac_status=$?
10096 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 <  (exit $ac_status); }; then
10096 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10097 >  test $ac_status = 0; }; then
10098        case `/usr/bin/file conftest.$ac_objext` in
10099        *64-bit*)
10100          libsuff=64
# Line 10516 | Line 10310 | uts4*)
10310    dynamic_linker=no
10311    ;;
10312   esac
10313 < { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10313 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10314   $as_echo "$dynamic_linker" >&6; }
10315   test "$dynamic_linker" = no && can_build_shared=no
10316  
# Line 10618 | Line 10412 | fi
10412  
10413  
10414  
10415 <  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10415 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10416   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10417   hardcode_action=
10418   if test -n "$hardcode_libdir_flag_spec" ||
# Line 10643 | Line 10437 | else
10437    # directories.
10438    hardcode_action=unsupported
10439   fi
10440 < { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10440 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10441   $as_echo "$hardcode_action" >&6; }
10442  
10443   if test "$hardcode_action" = relink ||
# Line 10688 | Line 10482 | else
10482  
10483    darwin*)
10484    # if libdl is installed we need to link against it
10485 <    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10485 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10486   $as_echo_n "checking for dlopen in -ldl... " >&6; }
10487 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10487 > if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10488    $as_echo_n "(cached) " >&6
10489   else
10490    ac_check_lib_save_LIBS=$LIBS
10491   LIBS="-ldl  $LIBS"
10492 < cat >conftest.$ac_ext <<_ACEOF
10699 < /* confdefs.h.  */
10700 < _ACEOF
10701 < cat confdefs.h >>conftest.$ac_ext
10702 < cat >>conftest.$ac_ext <<_ACEOF
10492 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10493   /* end confdefs.h.  */
10494  
10495   /* Override any GCC internal prototype to avoid an error.
# Line 10717 | Line 10507 | return dlopen ();
10507    return 0;
10508   }
10509   _ACEOF
10510 < rm -f conftest.$ac_objext conftest$ac_exeext
10721 < if { (ac_try="$ac_link"
10722 < case "(($ac_try" in
10723 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10724 <  *) ac_try_echo=$ac_try;;
10725 < esac
10726 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10727 < $as_echo "$ac_try_echo") >&5
10728 <  (eval "$ac_link") 2>conftest.er1
10729 <  ac_status=$?
10730 <  grep -v '^ *+' conftest.er1 >conftest.err
10731 <  rm -f conftest.er1
10732 <  cat conftest.err >&5
10733 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 <  (exit $ac_status); } && {
10735 <         test -z "$ac_c_werror_flag" ||
10736 <         test ! -s conftest.err
10737 <       } && test -s conftest$ac_exeext && {
10738 <         test "$cross_compiling" = yes ||
10739 <         $as_test_x conftest$ac_exeext
10740 <       }; then
10510 > if ac_fn_c_try_link "$LINENO"; then :
10511    ac_cv_lib_dl_dlopen=yes
10512   else
10513 <  $as_echo "$as_me: failed program was:" >&5
10744 < sed 's/^/| /' conftest.$ac_ext >&5
10745 <
10746 <        ac_cv_lib_dl_dlopen=no
10513 >  ac_cv_lib_dl_dlopen=no
10514   fi
10515 <
10516 < rm -rf conftest.dSYM
10750 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10751 <      conftest$ac_exeext conftest.$ac_ext
10515 > rm -f core conftest.err conftest.$ac_objext \
10516 >    conftest$ac_exeext conftest.$ac_ext
10517   LIBS=$ac_check_lib_save_LIBS
10518   fi
10519 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10519 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10520   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10521 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10521 > if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10522    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10523   else
10524  
# Line 10766 | Line 10531 | fi
10531      ;;
10532  
10533    *)
10534 <    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10535 < $as_echo_n "checking for shl_load... " >&6; }
10771 < if test "${ac_cv_func_shl_load+set}" = set; then
10772 <  $as_echo_n "(cached) " >&6
10773 < else
10774 <  cat >conftest.$ac_ext <<_ACEOF
10775 < /* confdefs.h.  */
10776 < _ACEOF
10777 < cat confdefs.h >>conftest.$ac_ext
10778 < cat >>conftest.$ac_ext <<_ACEOF
10779 < /* end confdefs.h.  */
10780 < /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10781 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10782 < #define shl_load innocuous_shl_load
10783 <
10784 < /* System header to define __stub macros and hopefully few prototypes,
10785 <    which can conflict with char shl_load (); below.
10786 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10787 <    <limits.h> exists even on freestanding compilers.  */
10788 <
10789 < #ifdef __STDC__
10790 < # include <limits.h>
10791 < #else
10792 < # include <assert.h>
10793 < #endif
10794 <
10795 < #undef shl_load
10796 <
10797 < /* Override any GCC internal prototype to avoid an error.
10798 <   Use char because int might match the return type of a GCC
10799 <   builtin and then its argument prototype would still apply.  */
10800 < #ifdef __cplusplus
10801 < extern "C"
10802 < #endif
10803 < char shl_load ();
10804 < /* The GNU C library defines this for functions which it implements
10805 <    to always fail with ENOSYS.  Some functions are actually named
10806 <    something starting with __ and the normal name is an alias.  */
10807 < #if defined __stub_shl_load || defined __stub___shl_load
10808 < choke me
10809 < #endif
10810 <
10811 < int
10812 < main ()
10813 < {
10814 < return shl_load ();
10815 <  ;
10816 <  return 0;
10817 < }
10818 < _ACEOF
10819 < rm -f conftest.$ac_objext conftest$ac_exeext
10820 < if { (ac_try="$ac_link"
10821 < case "(($ac_try" in
10822 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10823 <  *) ac_try_echo=$ac_try;;
10824 < esac
10825 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10826 < $as_echo "$ac_try_echo") >&5
10827 <  (eval "$ac_link") 2>conftest.er1
10828 <  ac_status=$?
10829 <  grep -v '^ *+' conftest.er1 >conftest.err
10830 <  rm -f conftest.er1
10831 <  cat conftest.err >&5
10832 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 <  (exit $ac_status); } && {
10834 <         test -z "$ac_c_werror_flag" ||
10835 <         test ! -s conftest.err
10836 <       } && test -s conftest$ac_exeext && {
10837 <         test "$cross_compiling" = yes ||
10838 <         $as_test_x conftest$ac_exeext
10839 <       }; then
10840 <  ac_cv_func_shl_load=yes
10841 < else
10842 <  $as_echo "$as_me: failed program was:" >&5
10843 < sed 's/^/| /' conftest.$ac_ext >&5
10844 <
10845 <        ac_cv_func_shl_load=no
10846 < fi
10847 <
10848 < rm -rf conftest.dSYM
10849 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10850 <      conftest$ac_exeext conftest.$ac_ext
10851 < fi
10852 < { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10853 < $as_echo "$ac_cv_func_shl_load" >&6; }
10854 < if test "x$ac_cv_func_shl_load" = x""yes; then
10534 >    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10535 > if test "x$ac_cv_func_shl_load" = x""yes; then :
10536    lt_cv_dlopen="shl_load"
10537   else
10538 <  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10538 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10539   $as_echo_n "checking for shl_load in -ldld... " >&6; }
10540 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10540 > if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10541    $as_echo_n "(cached) " >&6
10542   else
10543    ac_check_lib_save_LIBS=$LIBS
10544   LIBS="-ldld  $LIBS"
10545 < cat >conftest.$ac_ext <<_ACEOF
10865 < /* confdefs.h.  */
10866 < _ACEOF
10867 < cat confdefs.h >>conftest.$ac_ext
10868 < cat >>conftest.$ac_ext <<_ACEOF
10545 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10546   /* end confdefs.h.  */
10547  
10548   /* Override any GCC internal prototype to avoid an error.
# Line 10883 | Line 10560 | return shl_load ();
10560    return 0;
10561   }
10562   _ACEOF
10563 < rm -f conftest.$ac_objext conftest$ac_exeext
10887 < if { (ac_try="$ac_link"
10888 < case "(($ac_try" in
10889 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10890 <  *) ac_try_echo=$ac_try;;
10891 < esac
10892 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10893 < $as_echo "$ac_try_echo") >&5
10894 <  (eval "$ac_link") 2>conftest.er1
10895 <  ac_status=$?
10896 <  grep -v '^ *+' conftest.er1 >conftest.err
10897 <  rm -f conftest.er1
10898 <  cat conftest.err >&5
10899 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 <  (exit $ac_status); } && {
10901 <         test -z "$ac_c_werror_flag" ||
10902 <         test ! -s conftest.err
10903 <       } && test -s conftest$ac_exeext && {
10904 <         test "$cross_compiling" = yes ||
10905 <         $as_test_x conftest$ac_exeext
10906 <       }; then
10563 > if ac_fn_c_try_link "$LINENO"; then :
10564    ac_cv_lib_dld_shl_load=yes
10565   else
10566 <  $as_echo "$as_me: failed program was:" >&5
10910 < sed 's/^/| /' conftest.$ac_ext >&5
10911 <
10912 <        ac_cv_lib_dld_shl_load=no
10566 >  ac_cv_lib_dld_shl_load=no
10567   fi
10568 <
10569 < rm -rf conftest.dSYM
10916 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10917 <      conftest$ac_exeext conftest.$ac_ext
10568 > rm -f core conftest.err conftest.$ac_objext \
10569 >    conftest$ac_exeext conftest.$ac_ext
10570   LIBS=$ac_check_lib_save_LIBS
10571   fi
10572 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10572 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10573   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10574 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10574 > if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10575    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10576   else
10577 <  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10578 < $as_echo_n "checking for dlopen... " >&6; }
10927 < if test "${ac_cv_func_dlopen+set}" = set; then
10928 <  $as_echo_n "(cached) " >&6
10929 < else
10930 <  cat >conftest.$ac_ext <<_ACEOF
10931 < /* confdefs.h.  */
10932 < _ACEOF
10933 < cat confdefs.h >>conftest.$ac_ext
10934 < cat >>conftest.$ac_ext <<_ACEOF
10935 < /* end confdefs.h.  */
10936 < /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10937 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10938 < #define dlopen innocuous_dlopen
10939 <
10940 < /* System header to define __stub macros and hopefully few prototypes,
10941 <    which can conflict with char dlopen (); below.
10942 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10943 <    <limits.h> exists even on freestanding compilers.  */
10944 <
10945 < #ifdef __STDC__
10946 < # include <limits.h>
10947 < #else
10948 < # include <assert.h>
10949 < #endif
10950 <
10951 < #undef dlopen
10952 <
10953 < /* Override any GCC internal prototype to avoid an error.
10954 <   Use char because int might match the return type of a GCC
10955 <   builtin and then its argument prototype would still apply.  */
10956 < #ifdef __cplusplus
10957 < extern "C"
10958 < #endif
10959 < char dlopen ();
10960 < /* The GNU C library defines this for functions which it implements
10961 <    to always fail with ENOSYS.  Some functions are actually named
10962 <    something starting with __ and the normal name is an alias.  */
10963 < #if defined __stub_dlopen || defined __stub___dlopen
10964 < choke me
10965 < #endif
10966 <
10967 < int
10968 < main ()
10969 < {
10970 < return dlopen ();
10971 <  ;
10972 <  return 0;
10973 < }
10974 < _ACEOF
10975 < rm -f conftest.$ac_objext conftest$ac_exeext
10976 < if { (ac_try="$ac_link"
10977 < case "(($ac_try" in
10978 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10979 <  *) ac_try_echo=$ac_try;;
10980 < esac
10981 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10982 < $as_echo "$ac_try_echo") >&5
10983 <  (eval "$ac_link") 2>conftest.er1
10984 <  ac_status=$?
10985 <  grep -v '^ *+' conftest.er1 >conftest.err
10986 <  rm -f conftest.er1
10987 <  cat conftest.err >&5
10988 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 <  (exit $ac_status); } && {
10990 <         test -z "$ac_c_werror_flag" ||
10991 <         test ! -s conftest.err
10992 <       } && test -s conftest$ac_exeext && {
10993 <         test "$cross_compiling" = yes ||
10994 <         $as_test_x conftest$ac_exeext
10995 <       }; then
10996 <  ac_cv_func_dlopen=yes
10997 < else
10998 <  $as_echo "$as_me: failed program was:" >&5
10999 < sed 's/^/| /' conftest.$ac_ext >&5
11000 <
11001 <        ac_cv_func_dlopen=no
11002 < fi
11003 <
11004 < rm -rf conftest.dSYM
11005 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11006 <      conftest$ac_exeext conftest.$ac_ext
11007 < fi
11008 < { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11009 < $as_echo "$ac_cv_func_dlopen" >&6; }
11010 < if test "x$ac_cv_func_dlopen" = x""yes; then
10577 >  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10578 > if test "x$ac_cv_func_dlopen" = x""yes; then :
10579    lt_cv_dlopen="dlopen"
10580   else
10581 <  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10581 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10582   $as_echo_n "checking for dlopen in -ldl... " >&6; }
10583 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10583 > if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10584    $as_echo_n "(cached) " >&6
10585   else
10586    ac_check_lib_save_LIBS=$LIBS
10587   LIBS="-ldl  $LIBS"
10588 < cat >conftest.$ac_ext <<_ACEOF
11021 < /* confdefs.h.  */
11022 < _ACEOF
11023 < cat confdefs.h >>conftest.$ac_ext
11024 < cat >>conftest.$ac_ext <<_ACEOF
10588 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589   /* end confdefs.h.  */
10590  
10591   /* Override any GCC internal prototype to avoid an error.
# Line 11039 | Line 10603 | return dlopen ();
10603    return 0;
10604   }
10605   _ACEOF
10606 < rm -f conftest.$ac_objext conftest$ac_exeext
11043 < if { (ac_try="$ac_link"
11044 < case "(($ac_try" in
11045 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11046 <  *) ac_try_echo=$ac_try;;
11047 < esac
11048 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11049 < $as_echo "$ac_try_echo") >&5
11050 <  (eval "$ac_link") 2>conftest.er1
11051 <  ac_status=$?
11052 <  grep -v '^ *+' conftest.er1 >conftest.err
11053 <  rm -f conftest.er1
11054 <  cat conftest.err >&5
11055 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 <  (exit $ac_status); } && {
11057 <         test -z "$ac_c_werror_flag" ||
11058 <         test ! -s conftest.err
11059 <       } && test -s conftest$ac_exeext && {
11060 <         test "$cross_compiling" = yes ||
11061 <         $as_test_x conftest$ac_exeext
11062 <       }; then
10606 > if ac_fn_c_try_link "$LINENO"; then :
10607    ac_cv_lib_dl_dlopen=yes
10608   else
10609 <  $as_echo "$as_me: failed program was:" >&5
11066 < sed 's/^/| /' conftest.$ac_ext >&5
11067 <
11068 <        ac_cv_lib_dl_dlopen=no
10609 >  ac_cv_lib_dl_dlopen=no
10610   fi
10611 <
10612 < rm -rf conftest.dSYM
11072 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11073 <      conftest$ac_exeext conftest.$ac_ext
10611 > rm -f core conftest.err conftest.$ac_objext \
10612 >    conftest$ac_exeext conftest.$ac_ext
10613   LIBS=$ac_check_lib_save_LIBS
10614   fi
10615 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10615 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10616   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10617 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10617 > if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10618    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10619   else
10620 <  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10620 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10621   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10622 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10622 > if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10623    $as_echo_n "(cached) " >&6
10624   else
10625    ac_check_lib_save_LIBS=$LIBS
10626   LIBS="-lsvld  $LIBS"
10627 < cat >conftest.$ac_ext <<_ACEOF
11089 < /* confdefs.h.  */
11090 < _ACEOF
11091 < cat confdefs.h >>conftest.$ac_ext
11092 < cat >>conftest.$ac_ext <<_ACEOF
10627 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10628   /* end confdefs.h.  */
10629  
10630   /* Override any GCC internal prototype to avoid an error.
# Line 11107 | Line 10642 | return dlopen ();
10642    return 0;
10643   }
10644   _ACEOF
10645 < rm -f conftest.$ac_objext conftest$ac_exeext
11111 < if { (ac_try="$ac_link"
11112 < case "(($ac_try" in
11113 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11114 <  *) ac_try_echo=$ac_try;;
11115 < esac
11116 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11117 < $as_echo "$ac_try_echo") >&5
11118 <  (eval "$ac_link") 2>conftest.er1
11119 <  ac_status=$?
11120 <  grep -v '^ *+' conftest.er1 >conftest.err
11121 <  rm -f conftest.er1
11122 <  cat conftest.err >&5
11123 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 <  (exit $ac_status); } && {
11125 <         test -z "$ac_c_werror_flag" ||
11126 <         test ! -s conftest.err
11127 <       } && test -s conftest$ac_exeext && {
11128 <         test "$cross_compiling" = yes ||
11129 <         $as_test_x conftest$ac_exeext
11130 <       }; then
10645 > if ac_fn_c_try_link "$LINENO"; then :
10646    ac_cv_lib_svld_dlopen=yes
10647   else
10648 <  $as_echo "$as_me: failed program was:" >&5
11134 < sed 's/^/| /' conftest.$ac_ext >&5
11135 <
11136 <        ac_cv_lib_svld_dlopen=no
10648 >  ac_cv_lib_svld_dlopen=no
10649   fi
10650 <
10651 < rm -rf conftest.dSYM
11140 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11141 <      conftest$ac_exeext conftest.$ac_ext
10650 > rm -f core conftest.err conftest.$ac_objext \
10651 >    conftest$ac_exeext conftest.$ac_ext
10652   LIBS=$ac_check_lib_save_LIBS
10653   fi
10654 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10654 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10655   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10656 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10656 > if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10657    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10658   else
10659 <  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10659 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10660   $as_echo_n "checking for dld_link in -ldld... " >&6; }
10661 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10661 > if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10662    $as_echo_n "(cached) " >&6
10663   else
10664    ac_check_lib_save_LIBS=$LIBS
10665   LIBS="-ldld  $LIBS"
10666 < cat >conftest.$ac_ext <<_ACEOF
11157 < /* confdefs.h.  */
11158 < _ACEOF
11159 < cat confdefs.h >>conftest.$ac_ext
11160 < cat >>conftest.$ac_ext <<_ACEOF
10666 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667   /* end confdefs.h.  */
10668  
10669   /* Override any GCC internal prototype to avoid an error.
# Line 11175 | Line 10681 | return dld_link ();
10681    return 0;
10682   }
10683   _ACEOF
10684 < rm -f conftest.$ac_objext conftest$ac_exeext
11179 < if { (ac_try="$ac_link"
11180 < case "(($ac_try" in
11181 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11182 <  *) ac_try_echo=$ac_try;;
11183 < esac
11184 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11185 < $as_echo "$ac_try_echo") >&5
11186 <  (eval "$ac_link") 2>conftest.er1
11187 <  ac_status=$?
11188 <  grep -v '^ *+' conftest.er1 >conftest.err
11189 <  rm -f conftest.er1
11190 <  cat conftest.err >&5
11191 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 <  (exit $ac_status); } && {
11193 <         test -z "$ac_c_werror_flag" ||
11194 <         test ! -s conftest.err
11195 <       } && test -s conftest$ac_exeext && {
11196 <         test "$cross_compiling" = yes ||
11197 <         $as_test_x conftest$ac_exeext
11198 <       }; then
10684 > if ac_fn_c_try_link "$LINENO"; then :
10685    ac_cv_lib_dld_dld_link=yes
10686   else
10687 <  $as_echo "$as_me: failed program was:" >&5
11202 < sed 's/^/| /' conftest.$ac_ext >&5
11203 <
11204 <        ac_cv_lib_dld_dld_link=no
10687 >  ac_cv_lib_dld_dld_link=no
10688   fi
10689 <
10690 < rm -rf conftest.dSYM
11208 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11209 <      conftest$ac_exeext conftest.$ac_ext
10689 > rm -f core conftest.err conftest.$ac_objext \
10690 >    conftest$ac_exeext conftest.$ac_ext
10691   LIBS=$ac_check_lib_save_LIBS
10692   fi
10693 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10693 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10694   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10695 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10695 > if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10696    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10697   fi
10698  
# Line 11250 | Line 10731 | fi
10731      save_LIBS="$LIBS"
10732      LIBS="$lt_cv_dlopen_libs $LIBS"
10733  
10734 <    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10734 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10735   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10736 < if test "${lt_cv_dlopen_self+set}" = set; then
10736 > if test "${lt_cv_dlopen_self+set}" = set; then :
10737    $as_echo_n "(cached) " >&6
10738   else
10739            if test "$cross_compiling" = yes; then :
# Line 11261 | Line 10742 | else
10742    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10743    lt_status=$lt_dlunknown
10744    cat > conftest.$ac_ext <<_LT_EOF
10745 < #line 11264 "configure"
10745 > #line 10745 "configure"
10746   #include "confdefs.h"
10747  
10748   #if HAVE_DLFCN_H
# Line 11320 | Line 10801 | int main ()
10801    return status;
10802   }
10803   _LT_EOF
10804 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10804 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10805    (eval $ac_link) 2>&5
10806    ac_status=$?
10807 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10807 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10808 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10809      (./conftest; exit; ) >&5 2>/dev/null
10810      lt_status=$?
10811      case x$lt_status in
# Line 11341 | Line 10822 | rm -fr conftest*
10822  
10823  
10824   fi
10825 < { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10825 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10826   $as_echo "$lt_cv_dlopen_self" >&6; }
10827  
10828      if test "x$lt_cv_dlopen_self" = xyes; then
10829        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10830 <      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10830 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10831   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10832 < if test "${lt_cv_dlopen_self_static+set}" = set; then
10832 > if test "${lt_cv_dlopen_self_static+set}" = set; then :
10833    $as_echo_n "(cached) " >&6
10834   else
10835            if test "$cross_compiling" = yes; then :
# Line 11357 | Line 10838 | else
10838    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10839    lt_status=$lt_dlunknown
10840    cat > conftest.$ac_ext <<_LT_EOF
10841 < #line 11360 "configure"
10841 > #line 10841 "configure"
10842   #include "confdefs.h"
10843  
10844   #if HAVE_DLFCN_H
# Line 11416 | Line 10897 | int main ()
10897    return status;
10898   }
10899   _LT_EOF
10900 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10900 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10901    (eval $ac_link) 2>&5
10902    ac_status=$?
10903 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10903 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10904 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10905      (./conftest; exit; ) >&5 2>/dev/null
10906      lt_status=$?
10907      case x$lt_status in
# Line 11437 | Line 10918 | rm -fr conftest*
10918  
10919  
10920   fi
10921 < { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10921 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10922   $as_echo "$lt_cv_dlopen_self_static" >&6; }
10923      fi
10924  
# Line 11476 | Line 10957 | fi
10957  
10958   striplib=
10959   old_striplib=
10960 < { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10960 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10961   $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10962   if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10963    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10964    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10965 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
10965 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10966   $as_echo "yes" >&6; }
10967   else
10968   # FIXME - insert some real tests, host_os isn't really good enough
# Line 11490 | Line 10971 | else
10971      if test -n "$STRIP" ; then
10972        striplib="$STRIP -x"
10973        old_striplib="$STRIP -S"
10974 <      { $as_echo "$as_me:$LINENO: result: yes" >&5
10974 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10975   $as_echo "yes" >&6; }
10976      else
10977 <      { $as_echo "$as_me:$LINENO: result: no" >&5
10977 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10978   $as_echo "no" >&6; }
10979      fi
10980      ;;
10981    *)
10982 <    { $as_echo "$as_me:$LINENO: result: no" >&5
10982 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10983   $as_echo "no" >&6; }
10984      ;;
10985    esac
# Line 11516 | Line 10997 | fi
10997  
10998  
10999    # Report which library types will actually be built
11000 <  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11000 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11001   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11002 <  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11002 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11003   $as_echo "$can_build_shared" >&6; }
11004  
11005 <  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11005 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11006   $as_echo_n "checking whether to build shared libraries... " >&6; }
11007    test "$can_build_shared" = "no" && enable_shared=no
11008  
# Line 11542 | Line 11023 | $as_echo_n "checking whether to build sh
11023      fi
11024      ;;
11025    esac
11026 <  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11026 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11027   $as_echo "$enable_shared" >&6; }
11028  
11029 <  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11029 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11030   $as_echo_n "checking whether to build static libraries... " >&6; }
11031    # Make sure either enable_shared or enable_static is yes.
11032    test "$enable_shared" = yes || enable_static=yes
11033 <  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11033 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11034   $as_echo "$enable_static" >&6; }
11035  
11036  
# Line 11584 | Line 11065 | CC="$lt_save_CC"
11065   # Only expand once:
11066  
11067  
11068 < { $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
11068 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11069   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11070 < if test "${libltdl_cv_shlibext+set}" = set; then
11070 > if test "${libltdl_cv_shlibext+set}" = set; then :
11071    $as_echo_n "(cached) " >&6
11072   else
11073  
# Line 11594 | Line 11075 | module=yes
11075   eval libltdl_cv_shlibext=$shrext_cmds
11076  
11077   fi
11078 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
11078 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
11079   $as_echo "$libltdl_cv_shlibext" >&6; }
11080   if test -n "$libltdl_cv_shlibext"; then
11081  
# Line 11604 | Line 11085 | _ACEOF
11085  
11086   fi
11087  
11088 < { $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
11088 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11089   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11090 < if test "${lt_cv_module_path_var+set}" = set; then
11090 > if test "${lt_cv_module_path_var+set}" = set; then :
11091    $as_echo_n "(cached) " >&6
11092   else
11093    lt_cv_module_path_var="$shlibpath_var"
11094   fi
11095 < { $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
11095 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
11096   $as_echo "$lt_cv_module_path_var" >&6; }
11097   if test -n "$lt_cv_module_path_var"; then
11098  
# Line 11621 | Line 11102 | _ACEOF
11102  
11103   fi
11104  
11105 < { $as_echo "$as_me:$LINENO: checking for the default library search path" >&5
11105 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11106   $as_echo_n "checking for the default library search path... " >&6; }
11107 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then
11107 > if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11108    $as_echo_n "(cached) " >&6
11109   else
11110    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
11111   fi
11112 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
11112 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
11113   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
11114   if test -n "$lt_cv_sys_dlsearch_path"; then
11115    sys_dlsearch_path=
# Line 11658 | Line 11139 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
11139  
11140  
11141   LIBADD_DLOPEN=
11142 < { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
11142 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11143   $as_echo_n "checking for library containing dlopen... " >&6; }
11144 < if test "${ac_cv_search_dlopen+set}" = set; then
11144 > if test "${ac_cv_search_dlopen+set}" = set; then :
11145    $as_echo_n "(cached) " >&6
11146   else
11147    ac_func_search_save_LIBS=$LIBS
11148 < cat >conftest.$ac_ext <<_ACEOF
11668 < /* confdefs.h.  */
11669 < _ACEOF
11670 < cat confdefs.h >>conftest.$ac_ext
11671 < cat >>conftest.$ac_ext <<_ACEOF
11148 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149   /* end confdefs.h.  */
11150  
11151   /* Override any GCC internal prototype to avoid an error.
# Line 11693 | Line 11170 | for ac_lib in '' dl; do
11170      ac_res=-l$ac_lib
11171      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11172    fi
11173 <  rm -f conftest.$ac_objext conftest$ac_exeext
11697 < if { (ac_try="$ac_link"
11698 < case "(($ac_try" in
11699 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11700 <  *) ac_try_echo=$ac_try;;
11701 < esac
11702 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11703 < $as_echo "$ac_try_echo") >&5
11704 <  (eval "$ac_link") 2>conftest.er1
11705 <  ac_status=$?
11706 <  grep -v '^ *+' conftest.er1 >conftest.err
11707 <  rm -f conftest.er1
11708 <  cat conftest.err >&5
11709 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 <  (exit $ac_status); } && {
11711 <         test -z "$ac_c_werror_flag" ||
11712 <         test ! -s conftest.err
11713 <       } && test -s conftest$ac_exeext && {
11714 <         test "$cross_compiling" = yes ||
11715 <         $as_test_x conftest$ac_exeext
11716 <       }; then
11173 >  if ac_fn_c_try_link "$LINENO"; then :
11174    ac_cv_search_dlopen=$ac_res
11718 else
11719  $as_echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.$ac_ext >&5
11721
11722
11175   fi
11176 <
11177 < rm -rf conftest.dSYM
11178 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11727 <      conftest$ac_exeext
11728 <  if test "${ac_cv_search_dlopen+set}" = set; then
11176 > rm -f core conftest.err conftest.$ac_objext \
11177 >    conftest$ac_exeext
11178 >  if test "${ac_cv_search_dlopen+set}" = set; then :
11179    break
11180   fi
11181   done
11182 < if test "${ac_cv_search_dlopen+set}" = set; then
11183 <  :
11182 > if test "${ac_cv_search_dlopen+set}" = set; then :
11183 >
11184   else
11185    ac_cv_search_dlopen=no
11186   fi
11187   rm conftest.$ac_ext
11188   LIBS=$ac_func_search_save_LIBS
11189   fi
11190 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
11190 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11191   $as_echo "$ac_cv_search_dlopen" >&6; }
11192   ac_res=$ac_cv_search_dlopen
11193 < if test "$ac_res" != no; then
11193 > if test "$ac_res" != no; then :
11194    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11195  
11196 < cat >>confdefs.h <<\_ACEOF
11747 < #define HAVE_LIBDL 1
11748 < _ACEOF
11196 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11197  
11198          if test "$ac_cv_search_dlopen" != "none required" ; then
11199            LIBADD_DLOPEN="-ldl"
# Line 11753 | Line 11201 | _ACEOF
11201          libltdl_cv_lib_dl_dlopen="yes"
11202          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11203   else
11204 <  cat >conftest.$ac_ext <<_ACEOF
11757 < /* confdefs.h.  */
11758 < _ACEOF
11759 < cat confdefs.h >>conftest.$ac_ext
11760 < cat >>conftest.$ac_ext <<_ACEOF
11204 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11205   /* end confdefs.h.  */
11206   #if HAVE_DLFCN_H
11207   #  include <dlfcn.h>
# Line 11771 | Line 11215 | dlopen(0, 0);
11215    return 0;
11216   }
11217   _ACEOF
11218 < rm -f conftest.$ac_objext conftest$ac_exeext
11775 < if { (ac_try="$ac_link"
11776 < case "(($ac_try" in
11777 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11778 <  *) ac_try_echo=$ac_try;;
11779 < esac
11780 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11781 < $as_echo "$ac_try_echo") >&5
11782 <  (eval "$ac_link") 2>conftest.er1
11783 <  ac_status=$?
11784 <  grep -v '^ *+' conftest.er1 >conftest.err
11785 <  rm -f conftest.er1
11786 <  cat conftest.err >&5
11787 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 <  (exit $ac_status); } && {
11789 <         test -z "$ac_c_werror_flag" ||
11790 <         test ! -s conftest.err
11791 <       } && test -s conftest$ac_exeext && {
11792 <         test "$cross_compiling" = yes ||
11793 <         $as_test_x conftest$ac_exeext
11794 <       }; then
11218 > if ac_fn_c_try_link "$LINENO"; then :
11219  
11220 < cat >>confdefs.h <<\_ACEOF
11797 < #define HAVE_LIBDL 1
11798 < _ACEOF
11220 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11221  
11222              libltdl_cv_func_dlopen="yes"
11223              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11224   else
11225 <  $as_echo "$as_me: failed program was:" >&5
11804 < sed 's/^/| /' conftest.$ac_ext >&5
11805 <
11806 <        { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11225 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11226   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11227 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11227 > if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11228    $as_echo_n "(cached) " >&6
11229   else
11230    ac_check_lib_save_LIBS=$LIBS
11231   LIBS="-lsvld  $LIBS"
11232 < cat >conftest.$ac_ext <<_ACEOF
11814 < /* confdefs.h.  */
11815 < _ACEOF
11816 < cat confdefs.h >>conftest.$ac_ext
11817 < cat >>conftest.$ac_ext <<_ACEOF
11232 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233   /* end confdefs.h.  */
11234  
11235   /* Override any GCC internal prototype to avoid an error.
# Line 11832 | Line 11247 | return dlopen ();
11247    return 0;
11248   }
11249   _ACEOF
11250 < rm -f conftest.$ac_objext conftest$ac_exeext
11836 < if { (ac_try="$ac_link"
11837 < case "(($ac_try" in
11838 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11839 <  *) ac_try_echo=$ac_try;;
11840 < esac
11841 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11842 < $as_echo "$ac_try_echo") >&5
11843 <  (eval "$ac_link") 2>conftest.er1
11844 <  ac_status=$?
11845 <  grep -v '^ *+' conftest.er1 >conftest.err
11846 <  rm -f conftest.er1
11847 <  cat conftest.err >&5
11848 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 <  (exit $ac_status); } && {
11850 <         test -z "$ac_c_werror_flag" ||
11851 <         test ! -s conftest.err
11852 <       } && test -s conftest$ac_exeext && {
11853 <         test "$cross_compiling" = yes ||
11854 <         $as_test_x conftest$ac_exeext
11855 <       }; then
11250 > if ac_fn_c_try_link "$LINENO"; then :
11251    ac_cv_lib_svld_dlopen=yes
11252   else
11253 <  $as_echo "$as_me: failed program was:" >&5
11859 < sed 's/^/| /' conftest.$ac_ext >&5
11860 <
11861 <        ac_cv_lib_svld_dlopen=no
11253 >  ac_cv_lib_svld_dlopen=no
11254   fi
11255 <
11256 < rm -rf conftest.dSYM
11865 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11866 <      conftest$ac_exeext conftest.$ac_ext
11255 > rm -f core conftest.err conftest.$ac_objext \
11256 >    conftest$ac_exeext conftest.$ac_ext
11257   LIBS=$ac_check_lib_save_LIBS
11258   fi
11259 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11259 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11260   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11261 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11261 > if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11262  
11263 < cat >>confdefs.h <<\_ACEOF
11874 < #define HAVE_LIBDL 1
11875 < _ACEOF
11263 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11264  
11265                  LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
11266                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11267   fi
11268  
11269   fi
11270 <
11271 < rm -rf conftest.dSYM
11884 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11885 <      conftest$ac_exeext conftest.$ac_ext
11270 > rm -f core conftest.err conftest.$ac_objext \
11271 >    conftest$ac_exeext conftest.$ac_ext
11272   fi
11273  
11274   if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
11275   then
11276    lt_save_LIBS="$LIBS"
11277    LIBS="$LIBS $LIBADD_DLOPEN"
11278 <
11279 < for ac_func in dlerror
11280 < do
11281 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11896 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11897 < $as_echo_n "checking for $ac_func... " >&6; }
11898 < if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11899 <  $as_echo_n "(cached) " >&6
11900 < else
11901 <  cat >conftest.$ac_ext <<_ACEOF
11902 < /* confdefs.h.  */
11903 < _ACEOF
11904 < cat confdefs.h >>conftest.$ac_ext
11905 < cat >>conftest.$ac_ext <<_ACEOF
11906 < /* end confdefs.h.  */
11907 < /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11908 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11909 < #define $ac_func innocuous_$ac_func
11910 <
11911 < /* System header to define __stub macros and hopefully few prototypes,
11912 <    which can conflict with char $ac_func (); below.
11913 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11914 <    <limits.h> exists even on freestanding compilers.  */
11915 <
11916 < #ifdef __STDC__
11917 < # include <limits.h>
11918 < #else
11919 < # include <assert.h>
11920 < #endif
11921 <
11922 < #undef $ac_func
11923 <
11924 < /* Override any GCC internal prototype to avoid an error.
11925 <   Use char because int might match the return type of a GCC
11926 <   builtin and then its argument prototype would still apply.  */
11927 < #ifdef __cplusplus
11928 < extern "C"
11929 < #endif
11930 < char $ac_func ();
11931 < /* The GNU C library defines this for functions which it implements
11932 <    to always fail with ENOSYS.  Some functions are actually named
11933 <    something starting with __ and the normal name is an alias.  */
11934 < #if defined __stub_$ac_func || defined __stub___$ac_func
11935 < choke me
11936 < #endif
11937 <
11938 < int
11939 < main ()
11940 < {
11941 < return $ac_func ();
11942 <  ;
11943 <  return 0;
11944 < }
11945 < _ACEOF
11946 < rm -f conftest.$ac_objext conftest$ac_exeext
11947 < if { (ac_try="$ac_link"
11948 < case "(($ac_try" in
11949 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11950 <  *) ac_try_echo=$ac_try;;
11951 < esac
11952 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11953 < $as_echo "$ac_try_echo") >&5
11954 <  (eval "$ac_link") 2>conftest.er1
11955 <  ac_status=$?
11956 <  grep -v '^ *+' conftest.er1 >conftest.err
11957 <  rm -f conftest.er1
11958 <  cat conftest.err >&5
11959 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 <  (exit $ac_status); } && {
11961 <         test -z "$ac_c_werror_flag" ||
11962 <         test ! -s conftest.err
11963 <       } && test -s conftest$ac_exeext && {
11964 <         test "$cross_compiling" = yes ||
11965 <         $as_test_x conftest$ac_exeext
11966 <       }; then
11967 <  eval "$as_ac_var=yes"
11968 < else
11969 <  $as_echo "$as_me: failed program was:" >&5
11970 < sed 's/^/| /' conftest.$ac_ext >&5
11971 <
11972 <        eval "$as_ac_var=no"
11973 < fi
11974 <
11975 < rm -rf conftest.dSYM
11976 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11977 <      conftest$ac_exeext conftest.$ac_ext
11978 < fi
11979 < ac_res=`eval 'as_val=${'$as_ac_var'}
11980 <                 $as_echo "$as_val"'`
11981 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11982 < $as_echo "$ac_res" >&6; }
11983 < as_val=`eval 'as_val=${'$as_ac_var'}
11984 <                 $as_echo "$as_val"'`
11985 <   if test "x$as_val" = x""yes; then
11278 >  for ac_func in dlerror
11279 > do :
11280 >  ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
11281 > if test "x$ac_cv_func_dlerror" = x""yes; then :
11282    cat >>confdefs.h <<_ACEOF
11283 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11283 > #define HAVE_DLERROR 1
11284   _ACEOF
11285  
11286   fi
# Line 11995 | Line 11291 | fi
11291  
11292  
11293   LIBADD_SHL_LOAD=
11294 < { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11295 < $as_echo_n "checking for shl_load... " >&6; }
12000 < if test "${ac_cv_func_shl_load+set}" = set; then
12001 <  $as_echo_n "(cached) " >&6
12002 < else
12003 <  cat >conftest.$ac_ext <<_ACEOF
12004 < /* confdefs.h.  */
12005 < _ACEOF
12006 < cat confdefs.h >>conftest.$ac_ext
12007 < cat >>conftest.$ac_ext <<_ACEOF
12008 < /* end confdefs.h.  */
12009 < /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12010 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12011 < #define shl_load innocuous_shl_load
12012 <
12013 < /* System header to define __stub macros and hopefully few prototypes,
12014 <    which can conflict with char shl_load (); below.
12015 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12016 <    <limits.h> exists even on freestanding compilers.  */
12017 <
12018 < #ifdef __STDC__
12019 < # include <limits.h>
12020 < #else
12021 < # include <assert.h>
12022 < #endif
11294 > ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11295 > if test "x$ac_cv_func_shl_load" = x""yes; then :
11296  
11297 < #undef shl_load
12025 <
12026 < /* Override any GCC internal prototype to avoid an error.
12027 <   Use char because int might match the return type of a GCC
12028 <   builtin and then its argument prototype would still apply.  */
12029 < #ifdef __cplusplus
12030 < extern "C"
12031 < #endif
12032 < char shl_load ();
12033 < /* The GNU C library defines this for functions which it implements
12034 <    to always fail with ENOSYS.  Some functions are actually named
12035 <    something starting with __ and the normal name is an alias.  */
12036 < #if defined __stub_shl_load || defined __stub___shl_load
12037 < choke me
12038 < #endif
12039 <
12040 < int
12041 < main ()
12042 < {
12043 < return shl_load ();
12044 <  ;
12045 <  return 0;
12046 < }
12047 < _ACEOF
12048 < rm -f conftest.$ac_objext conftest$ac_exeext
12049 < if { (ac_try="$ac_link"
12050 < case "(($ac_try" in
12051 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12052 <  *) ac_try_echo=$ac_try;;
12053 < esac
12054 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12055 < $as_echo "$ac_try_echo") >&5
12056 <  (eval "$ac_link") 2>conftest.er1
12057 <  ac_status=$?
12058 <  grep -v '^ *+' conftest.er1 >conftest.err
12059 <  rm -f conftest.er1
12060 <  cat conftest.err >&5
12061 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 <  (exit $ac_status); } && {
12063 <         test -z "$ac_c_werror_flag" ||
12064 <         test ! -s conftest.err
12065 <       } && test -s conftest$ac_exeext && {
12066 <         test "$cross_compiling" = yes ||
12067 <         $as_test_x conftest$ac_exeext
12068 <       }; then
12069 <  ac_cv_func_shl_load=yes
12070 < else
12071 <  $as_echo "$as_me: failed program was:" >&5
12072 < sed 's/^/| /' conftest.$ac_ext >&5
12073 <
12074 <        ac_cv_func_shl_load=no
12075 < fi
12076 <
12077 < rm -rf conftest.dSYM
12078 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12079 <      conftest$ac_exeext conftest.$ac_ext
12080 < fi
12081 < { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12082 < $as_echo "$ac_cv_func_shl_load" >&6; }
12083 < if test "x$ac_cv_func_shl_load" = x""yes; then
12084 <
12085 < cat >>confdefs.h <<\_ACEOF
12086 < #define HAVE_SHL_LOAD 1
12087 < _ACEOF
11297 > $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
11298  
11299          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11300   else
11301 <  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11301 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11302   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11303 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11303 > if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11304    $as_echo_n "(cached) " >&6
11305   else
11306    ac_check_lib_save_LIBS=$LIBS
11307   LIBS="-ldld  $LIBS"
11308 < cat >conftest.$ac_ext <<_ACEOF
12099 < /* confdefs.h.  */
12100 < _ACEOF
12101 < cat confdefs.h >>conftest.$ac_ext
12102 < cat >>conftest.$ac_ext <<_ACEOF
11308 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309   /* end confdefs.h.  */
11310  
11311   /* Override any GCC internal prototype to avoid an error.
# Line 12117 | Line 11323 | return shl_load ();
11323    return 0;
11324   }
11325   _ACEOF
11326 < rm -f conftest.$ac_objext conftest$ac_exeext
12121 < if { (ac_try="$ac_link"
12122 < case "(($ac_try" in
12123 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12124 <  *) ac_try_echo=$ac_try;;
12125 < esac
12126 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12127 < $as_echo "$ac_try_echo") >&5
12128 <  (eval "$ac_link") 2>conftest.er1
12129 <  ac_status=$?
12130 <  grep -v '^ *+' conftest.er1 >conftest.err
12131 <  rm -f conftest.er1
12132 <  cat conftest.err >&5
12133 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 <  (exit $ac_status); } && {
12135 <         test -z "$ac_c_werror_flag" ||
12136 <         test ! -s conftest.err
12137 <       } && test -s conftest$ac_exeext && {
12138 <         test "$cross_compiling" = yes ||
12139 <         $as_test_x conftest$ac_exeext
12140 <       }; then
11326 > if ac_fn_c_try_link "$LINENO"; then :
11327    ac_cv_lib_dld_shl_load=yes
11328   else
11329 <  $as_echo "$as_me: failed program was:" >&5
12144 < sed 's/^/| /' conftest.$ac_ext >&5
12145 <
12146 <        ac_cv_lib_dld_shl_load=no
11329 >  ac_cv_lib_dld_shl_load=no
11330   fi
11331 <
11332 < rm -rf conftest.dSYM
12150 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12151 <      conftest$ac_exeext conftest.$ac_ext
11331 > rm -f core conftest.err conftest.$ac_objext \
11332 >    conftest$ac_exeext conftest.$ac_ext
11333   LIBS=$ac_check_lib_save_LIBS
11334   fi
11335 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11335 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11336   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11337 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11337 > if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11338  
11339 < cat >>confdefs.h <<\_ACEOF
12159 < #define HAVE_SHL_LOAD 1
12160 < _ACEOF
11339 > $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
11340  
11341              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11342              LIBADD_SHL_LOAD="-ldld"
# Line 12170 | Line 11349 | fi
11349   case $host_os in
11350   darwin[1567].*)
11351   # We only want this for pre-Mac OS X 10.4.
11352 <  { $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
11353 < $as_echo_n "checking for _dyld_func_lookup... " >&6; }
12175 < if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
12176 <  $as_echo_n "(cached) " >&6
12177 < else
12178 <  cat >conftest.$ac_ext <<_ACEOF
12179 < /* confdefs.h.  */
12180 < _ACEOF
12181 < cat confdefs.h >>conftest.$ac_ext
12182 < cat >>conftest.$ac_ext <<_ACEOF
12183 < /* end confdefs.h.  */
12184 < /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
12185 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12186 < #define _dyld_func_lookup innocuous__dyld_func_lookup
12187 <
12188 < /* System header to define __stub macros and hopefully few prototypes,
12189 <    which can conflict with char _dyld_func_lookup (); below.
12190 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12191 <    <limits.h> exists even on freestanding compilers.  */
12192 <
12193 < #ifdef __STDC__
12194 < # include <limits.h>
12195 < #else
12196 < # include <assert.h>
12197 < #endif
11352 >  ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
11353 > if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
11354  
11355 < #undef _dyld_func_lookup
12200 <
12201 < /* Override any GCC internal prototype to avoid an error.
12202 <   Use char because int might match the return type of a GCC
12203 <   builtin and then its argument prototype would still apply.  */
12204 < #ifdef __cplusplus
12205 < extern "C"
12206 < #endif
12207 < char _dyld_func_lookup ();
12208 < /* The GNU C library defines this for functions which it implements
12209 <    to always fail with ENOSYS.  Some functions are actually named
12210 <    something starting with __ and the normal name is an alias.  */
12211 < #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
12212 < choke me
12213 < #endif
12214 <
12215 < int
12216 < main ()
12217 < {
12218 < return _dyld_func_lookup ();
12219 <  ;
12220 <  return 0;
12221 < }
12222 < _ACEOF
12223 < rm -f conftest.$ac_objext conftest$ac_exeext
12224 < if { (ac_try="$ac_link"
12225 < case "(($ac_try" in
12226 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12227 <  *) ac_try_echo=$ac_try;;
12228 < esac
12229 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12230 < $as_echo "$ac_try_echo") >&5
12231 <  (eval "$ac_link") 2>conftest.er1
12232 <  ac_status=$?
12233 <  grep -v '^ *+' conftest.er1 >conftest.err
12234 <  rm -f conftest.er1
12235 <  cat conftest.err >&5
12236 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 <  (exit $ac_status); } && {
12238 <         test -z "$ac_c_werror_flag" ||
12239 <         test ! -s conftest.err
12240 <       } && test -s conftest$ac_exeext && {
12241 <         test "$cross_compiling" = yes ||
12242 <         $as_test_x conftest$ac_exeext
12243 <       }; then
12244 <  ac_cv_func__dyld_func_lookup=yes
12245 < else
12246 <  $as_echo "$as_me: failed program was:" >&5
12247 < sed 's/^/| /' conftest.$ac_ext >&5
12248 <
12249 <        ac_cv_func__dyld_func_lookup=no
12250 < fi
12251 <
12252 < rm -rf conftest.dSYM
12253 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12254 <      conftest$ac_exeext conftest.$ac_ext
12255 < fi
12256 < { $as_echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
12257 < $as_echo "$ac_cv_func__dyld_func_lookup" >&6; }
12258 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then
12259 <
12260 < cat >>confdefs.h <<\_ACEOF
12261 < #define HAVE_DYLD 1
12262 < _ACEOF
11355 > $as_echo "#define HAVE_DYLD 1" >>confdefs.h
11356  
11357          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
11358   fi
# Line 12269 | Line 11362 | beos*)
11362    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
11363    ;;
11364   cygwin* | mingw* | os2* | pw32*)
11365 <  { $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
11366 < $as_echo_n "checking whether cygwin_conv_path is declared... " >&6; }
11367 < if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
11368 <  $as_echo_n "(cached) " >&6
12276 < else
12277 <  cat >conftest.$ac_ext <<_ACEOF
12278 < /* confdefs.h.  */
12279 < _ACEOF
12280 < cat confdefs.h >>conftest.$ac_ext
12281 < cat >>conftest.$ac_ext <<_ACEOF
12282 < /* end confdefs.h.  */
12283 < #include <sys/cygwin.h>
12284 <
12285 < int
12286 < main ()
12287 < {
12288 < #ifndef cygwin_conv_path
12289 <  (void) cygwin_conv_path;
12290 < #endif
12291 <
12292 <  ;
12293 <  return 0;
12294 < }
12295 < _ACEOF
12296 < rm -f conftest.$ac_objext
12297 < if { (ac_try="$ac_compile"
12298 < case "(($ac_try" in
12299 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12300 <  *) ac_try_echo=$ac_try;;
12301 < esac
12302 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12303 < $as_echo "$ac_try_echo") >&5
12304 <  (eval "$ac_compile") 2>conftest.er1
12305 <  ac_status=$?
12306 <  grep -v '^ *+' conftest.er1 >conftest.err
12307 <  rm -f conftest.er1
12308 <  cat conftest.err >&5
12309 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 <  (exit $ac_status); } && {
12311 <         test -z "$ac_c_werror_flag" ||
12312 <         test ! -s conftest.err
12313 <       } && test -s conftest.$ac_objext; then
12314 <  ac_cv_have_decl_cygwin_conv_path=yes
11365 >  ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
11366 > "
11367 > if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
11368 >  ac_have_decl=1
11369   else
11370 <  $as_echo "$as_me: failed program was:" >&5
12317 < sed 's/^/| /' conftest.$ac_ext >&5
12318 <
12319 <        ac_cv_have_decl_cygwin_conv_path=no
11370 >  ac_have_decl=0
11371   fi
11372  
12322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12323 fi
12324 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
12325 $as_echo "$ac_cv_have_decl_cygwin_conv_path" >&6; }
12326 if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then
12327
11373   cat >>confdefs.h <<_ACEOF
11374 < #define HAVE_DECL_CYGWIN_CONV_PATH 1
12330 < _ACEOF
12331 <
12332 <
12333 < else
12334 <  cat >>confdefs.h <<_ACEOF
12335 < #define HAVE_DECL_CYGWIN_CONV_PATH 0
11374 > #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
11375   _ACEOF
11376  
12338
12339 fi
12340
12341
11377    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
11378    ;;
11379   esac
11380  
11381 < { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11381 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11382   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11383 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11383 > if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11384    $as_echo_n "(cached) " >&6
11385   else
11386    ac_check_lib_save_LIBS=$LIBS
11387   LIBS="-ldld  $LIBS"
11388 < cat >conftest.$ac_ext <<_ACEOF
12354 < /* confdefs.h.  */
12355 < _ACEOF
12356 < cat confdefs.h >>conftest.$ac_ext
12357 < cat >>conftest.$ac_ext <<_ACEOF
11388 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389   /* end confdefs.h.  */
11390  
11391   /* Override any GCC internal prototype to avoid an error.
# Line 12372 | Line 11403 | return dld_link ();
11403    return 0;
11404   }
11405   _ACEOF
11406 < rm -f conftest.$ac_objext conftest$ac_exeext
12376 < if { (ac_try="$ac_link"
12377 < case "(($ac_try" in
12378 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12379 <  *) ac_try_echo=$ac_try;;
12380 < esac
12381 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12382 < $as_echo "$ac_try_echo") >&5
12383 <  (eval "$ac_link") 2>conftest.er1
12384 <  ac_status=$?
12385 <  grep -v '^ *+' conftest.er1 >conftest.err
12386 <  rm -f conftest.er1
12387 <  cat conftest.err >&5
12388 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 <  (exit $ac_status); } && {
12390 <         test -z "$ac_c_werror_flag" ||
12391 <         test ! -s conftest.err
12392 <       } && test -s conftest$ac_exeext && {
12393 <         test "$cross_compiling" = yes ||
12394 <         $as_test_x conftest$ac_exeext
12395 <       }; then
11406 > if ac_fn_c_try_link "$LINENO"; then :
11407    ac_cv_lib_dld_dld_link=yes
11408   else
11409 <  $as_echo "$as_me: failed program was:" >&5
12399 < sed 's/^/| /' conftest.$ac_ext >&5
12400 <
12401 <        ac_cv_lib_dld_dld_link=no
11409 >  ac_cv_lib_dld_dld_link=no
11410   fi
11411 <
11412 < rm -rf conftest.dSYM
12405 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12406 <      conftest$ac_exeext conftest.$ac_ext
11411 > rm -f core conftest.err conftest.$ac_objext \
11412 >    conftest$ac_exeext conftest.$ac_ext
11413   LIBS=$ac_check_lib_save_LIBS
11414   fi
11415 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11415 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11416   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11417 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11417 > if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11418  
11419 < cat >>confdefs.h <<\_ACEOF
12414 < #define HAVE_DLD 1
12415 < _ACEOF
11419 > $as_echo "#define HAVE_DLD 1" >>confdefs.h
11420  
11421                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
11422   fi
# Line 12427 | Line 11431 | then
11431      LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
11432    done
11433  
11434 < cat >>confdefs.h <<\_ACEOF
12431 < #define HAVE_LIBDLLOADER 1
12432 < _ACEOF
11434 > $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
11435  
11436   fi
11437  
# Line 12444 | Line 11446 | ac_link='$CC -o conftest$ac_exeext $CFLA
11446   ac_compiler_gnu=$ac_cv_c_compiler_gnu
11447  
11448  
11449 < { $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
11449 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
11450   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
11451 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then
11451 > if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
11452    $as_echo_n "(cached) " >&6
11453   else
11454    lt_cv_sys_symbol_underscore=no
# Line 12454 | Line 11456 | else
11456   void nm_test_func(){}
11457   int main(){nm_test_func;return 0;}
11458   _LT_EOF
11459 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11459 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11460    (eval $ac_compile) 2>&5
11461    ac_status=$?
11462 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 <  (exit $ac_status); }; then
11462 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11463 >  test $ac_status = 0; }; then
11464      # Now try to grab the symbols.
11465      ac_nlist=conftest.nm
11466 <    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
11466 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
11467    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
11468    ac_status=$?
11469 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 <  (exit $ac_status); } && test -s "$ac_nlist"; then
11469 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11470 >  test $ac_status = 0; } && test -s "$ac_nlist"; then
11471        # See whether the symbols have a leading underscore.
11472        if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
11473          lt_cv_sys_symbol_underscore=yes
# Line 12486 | Line 11488 | _LT_EOF
11488    rm -rf conftest*
11489  
11490   fi
11491 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
11491 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
11492   $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
11493    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
11494  
# Line 12494 | Line 11496 | $as_echo "$lt_cv_sys_symbol_underscore"
11496   if test x"$lt_cv_sys_symbol_underscore" = xyes; then
11497    if test x"$libltdl_cv_func_dlopen" = xyes ||
11498       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
11499 <        { $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
11499 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
11500   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
11501 < if test "${libltdl_cv_need_uscore+set}" = set; then
11501 > if test "${libltdl_cv_need_uscore+set}" = set; then :
11502    $as_echo_n "(cached) " >&6
11503   else
11504    libltdl_cv_need_uscore=unknown
# Line 12508 | Line 11510 | else
11510    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11511    lt_status=$lt_dlunknown
11512    cat > conftest.$ac_ext <<_LT_EOF
11513 < #line 12511 "configure"
11513 > #line 11513 "configure"
11514   #include "confdefs.h"
11515  
11516   #if HAVE_DLFCN_H
# Line 12567 | Line 11569 | int main ()
11569    return status;
11570   }
11571   _LT_EOF
11572 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11572 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11573    (eval $ac_link) 2>&5
11574    ac_status=$?
11575 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11575 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11576 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11577      (./conftest; exit; ) >&5 2>/dev/null
11578      lt_status=$?
11579      case x$lt_status in
# Line 12589 | Line 11591 | rm -fr conftest*
11591            LIBS="$save_LIBS"
11592  
11593   fi
11594 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
11594 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
11595   $as_echo "$libltdl_cv_need_uscore" >&6; }
11596    fi
11597   fi
11598  
11599   if test x"$libltdl_cv_need_uscore" = xyes; then
11600  
11601 < cat >>confdefs.h <<\_ACEOF
12600 < #define NEED_USCORE 1
12601 < _ACEOF
11601 > $as_echo "#define NEED_USCORE 1" >>confdefs.h
11602  
11603   fi
11604  
11605 < { $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
11605 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
11606   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
11607 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
11607 > if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
11608    $as_echo_n "(cached) " >&6
11609   else
11610    # PORTME does your system automatically load deplibs for dlopen?
# Line 12696 | Line 11696 | else
11696    esac
11697  
11698   fi
11699 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
11699 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
11700   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
11701   if test "$lt_cv_sys_dlopen_deplibs" != yes; then
11702  
11703 < cat >>confdefs.h <<\_ACEOF
12704 < #define LTDL_DLOPEN_DEPLIBS 1
12705 < _ACEOF
11703 > $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
11704  
11705   fi
11706  
11707   :
11708  
12711
11709   for ac_header in argz.h
11710 < do
11711 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11712 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11713 < $as_echo_n "checking for $ac_header... " >&6; }
12717 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12718 <  $as_echo_n "(cached) " >&6
12719 < else
12720 <  cat >conftest.$ac_ext <<_ACEOF
12721 < /* confdefs.h.  */
12722 < _ACEOF
12723 < cat confdefs.h >>conftest.$ac_ext
12724 < cat >>conftest.$ac_ext <<_ACEOF
12725 < /* end confdefs.h.  */
12726 < $ac_includes_default
12727 <
12728 < #include <$ac_header>
12729 < _ACEOF
12730 < rm -f conftest.$ac_objext
12731 < if { (ac_try="$ac_compile"
12732 < case "(($ac_try" in
12733 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12734 <  *) ac_try_echo=$ac_try;;
12735 < esac
12736 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12737 < $as_echo "$ac_try_echo") >&5
12738 <  (eval "$ac_compile") 2>conftest.er1
12739 <  ac_status=$?
12740 <  grep -v '^ *+' conftest.er1 >conftest.err
12741 <  rm -f conftest.er1
12742 <  cat conftest.err >&5
12743 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 <  (exit $ac_status); } && {
12745 <         test -z "$ac_c_werror_flag" ||
12746 <         test ! -s conftest.err
12747 <       } && test -s conftest.$ac_objext; then
12748 <  eval "$as_ac_Header=yes"
12749 < else
12750 <  $as_echo "$as_me: failed program was:" >&5
12751 < sed 's/^/| /' conftest.$ac_ext >&5
12752 <
12753 <        eval "$as_ac_Header=no"
12754 < fi
12755 <
12756 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12757 < fi
12758 < ac_res=`eval 'as_val=${'$as_ac_Header'}
12759 <                 $as_echo "$as_val"'`
12760 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12761 < $as_echo "$ac_res" >&6; }
12762 < as_val=`eval 'as_val=${'$as_ac_Header'}
12763 <                 $as_echo "$as_val"'`
12764 <   if test "x$as_val" = x""yes; then
11710 > do :
11711 >  ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
11712 > "
11713 > if test "x$ac_cv_header_argz_h" = x""yes; then :
11714    cat >>confdefs.h <<_ACEOF
11715 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11715 > #define HAVE_ARGZ_H 1
11716   _ACEOF
11717  
11718   fi
# Line 12771 | Line 11720 | fi
11720   done
11721  
11722  
11723 < { $as_echo "$as_me:$LINENO: checking for error_t" >&5
12775 < $as_echo_n "checking for error_t... " >&6; }
12776 < if test "${ac_cv_type_error_t+set}" = set; then
12777 <  $as_echo_n "(cached) " >&6
12778 < else
12779 <  ac_cv_type_error_t=no
12780 < cat >conftest.$ac_ext <<_ACEOF
12781 < /* confdefs.h.  */
12782 < _ACEOF
12783 < cat confdefs.h >>conftest.$ac_ext
12784 < cat >>conftest.$ac_ext <<_ACEOF
12785 < /* end confdefs.h.  */
12786 < #if defined(HAVE_ARGZ_H)
11723 > ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
11724   #  include <argz.h>
11725   #endif
11726 <
11727 < int
12791 < main ()
12792 < {
12793 < if (sizeof (error_t))
12794 <       return 0;
12795 <  ;
12796 <  return 0;
12797 < }
12798 < _ACEOF
12799 < rm -f conftest.$ac_objext
12800 < if { (ac_try="$ac_compile"
12801 < case "(($ac_try" in
12802 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12803 <  *) ac_try_echo=$ac_try;;
12804 < esac
12805 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12806 < $as_echo "$ac_try_echo") >&5
12807 <  (eval "$ac_compile") 2>conftest.er1
12808 <  ac_status=$?
12809 <  grep -v '^ *+' conftest.er1 >conftest.err
12810 <  rm -f conftest.er1
12811 <  cat conftest.err >&5
12812 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 <  (exit $ac_status); } && {
12814 <         test -z "$ac_c_werror_flag" ||
12815 <         test ! -s conftest.err
12816 <       } && test -s conftest.$ac_objext; then
12817 <  cat >conftest.$ac_ext <<_ACEOF
12818 < /* confdefs.h.  */
12819 < _ACEOF
12820 < cat confdefs.h >>conftest.$ac_ext
12821 < cat >>conftest.$ac_ext <<_ACEOF
12822 < /* end confdefs.h.  */
12823 < #if defined(HAVE_ARGZ_H)
12824 < #  include <argz.h>
12825 < #endif
12826 <
12827 < int
12828 < main ()
12829 < {
12830 < if (sizeof ((error_t)))
12831 <          return 0;
12832 <  ;
12833 <  return 0;
12834 < }
12835 < _ACEOF
12836 < rm -f conftest.$ac_objext
12837 < if { (ac_try="$ac_compile"
12838 < case "(($ac_try" in
12839 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12840 <  *) ac_try_echo=$ac_try;;
12841 < esac
12842 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12843 < $as_echo "$ac_try_echo") >&5
12844 <  (eval "$ac_compile") 2>conftest.er1
12845 <  ac_status=$?
12846 <  grep -v '^ *+' conftest.er1 >conftest.err
12847 <  rm -f conftest.er1
12848 <  cat conftest.err >&5
12849 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 <  (exit $ac_status); } && {
12851 <         test -z "$ac_c_werror_flag" ||
12852 <         test ! -s conftest.err
12853 <       } && test -s conftest.$ac_objext; then
12854 <  :
12855 < else
12856 <  $as_echo "$as_me: failed program was:" >&5
12857 < sed 's/^/| /' conftest.$ac_ext >&5
12858 <
12859 <        ac_cv_type_error_t=yes
12860 < fi
12861 <
12862 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12863 < else
12864 <  $as_echo "$as_me: failed program was:" >&5
12865 < sed 's/^/| /' conftest.$ac_ext >&5
12866 <
12867 <
12868 < fi
12869 <
12870 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12871 < fi
12872 < { $as_echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
12873 < $as_echo "$ac_cv_type_error_t" >&6; }
12874 < if test "x$ac_cv_type_error_t" = x""yes; then
11726 > "
11727 > if test "x$ac_cv_type_error_t" = x""yes; then :
11728  
11729   cat >>confdefs.h <<_ACEOF
11730   #define HAVE_ERROR_T 1
# Line 12880 | Line 11733 | _ACEOF
11733  
11734   else
11735  
11736 < cat >>confdefs.h <<\_ACEOF
12884 < #define error_t int
12885 < _ACEOF
11736 > $as_echo "#define error_t int" >>confdefs.h
11737  
11738  
11739 < cat >>confdefs.h <<\_ACEOF
12889 < #define __error_t_defined 1
12890 < _ACEOF
11739 > $as_echo "#define __error_t_defined 1" >>confdefs.h
11740  
11741   fi
11742  
11743  
11744   ARGZ_H=
12896
12897
12898
12899
12900
12901
12902
11745   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
11746          argz_next argz_stringify
11747 < do
11748 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11749 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11750 < $as_echo_n "checking for $ac_func... " >&6; }
11751 < if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12910 <  $as_echo_n "(cached) " >&6
12911 < else
12912 <  cat >conftest.$ac_ext <<_ACEOF
12913 < /* confdefs.h.  */
12914 < _ACEOF
12915 < cat confdefs.h >>conftest.$ac_ext
12916 < cat >>conftest.$ac_ext <<_ACEOF
12917 < /* end confdefs.h.  */
12918 < /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12919 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12920 < #define $ac_func innocuous_$ac_func
12921 <
12922 < /* System header to define __stub macros and hopefully few prototypes,
12923 <    which can conflict with char $ac_func (); below.
12924 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12925 <    <limits.h> exists even on freestanding compilers.  */
12926 <
12927 < #ifdef __STDC__
12928 < # include <limits.h>
12929 < #else
12930 < # include <assert.h>
12931 < #endif
12932 <
12933 < #undef $ac_func
12934 <
12935 < /* Override any GCC internal prototype to avoid an error.
12936 <   Use char because int might match the return type of a GCC
12937 <   builtin and then its argument prototype would still apply.  */
12938 < #ifdef __cplusplus
12939 < extern "C"
12940 < #endif
12941 < char $ac_func ();
12942 < /* The GNU C library defines this for functions which it implements
12943 <    to always fail with ENOSYS.  Some functions are actually named
12944 <    something starting with __ and the normal name is an alias.  */
12945 < #if defined __stub_$ac_func || defined __stub___$ac_func
12946 < choke me
12947 < #endif
12948 <
12949 < int
12950 < main ()
12951 < {
12952 < return $ac_func ();
12953 <  ;
12954 <  return 0;
12955 < }
12956 < _ACEOF
12957 < rm -f conftest.$ac_objext conftest$ac_exeext
12958 < if { (ac_try="$ac_link"
12959 < case "(($ac_try" in
12960 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12961 <  *) ac_try_echo=$ac_try;;
12962 < esac
12963 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12964 < $as_echo "$ac_try_echo") >&5
12965 <  (eval "$ac_link") 2>conftest.er1
12966 <  ac_status=$?
12967 <  grep -v '^ *+' conftest.er1 >conftest.err
12968 <  rm -f conftest.er1
12969 <  cat conftest.err >&5
12970 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 <  (exit $ac_status); } && {
12972 <         test -z "$ac_c_werror_flag" ||
12973 <         test ! -s conftest.err
12974 <       } && test -s conftest$ac_exeext && {
12975 <         test "$cross_compiling" = yes ||
12976 <         $as_test_x conftest$ac_exeext
12977 <       }; then
12978 <  eval "$as_ac_var=yes"
12979 < else
12980 <  $as_echo "$as_me: failed program was:" >&5
12981 < sed 's/^/| /' conftest.$ac_ext >&5
12982 <
12983 <        eval "$as_ac_var=no"
12984 < fi
12985 <
12986 < rm -rf conftest.dSYM
12987 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12988 <      conftest$ac_exeext conftest.$ac_ext
12989 < fi
12990 < ac_res=`eval 'as_val=${'$as_ac_var'}
12991 <                 $as_echo "$as_val"'`
12992 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12993 < $as_echo "$ac_res" >&6; }
12994 < as_val=`eval 'as_val=${'$as_ac_var'}
12995 <                 $as_echo "$as_val"'`
12996 <   if test "x$as_val" = x""yes; then
11747 > do :
11748 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11749 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11750 > eval as_val=\$$as_ac_var
11751 >   if test "x$as_val" = x""yes; then :
11752    cat >>confdefs.h <<_ACEOF
11753   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11754   _ACEOF
# Line 13007 | Line 11762 | fi
11762   done
11763  
11764  
11765 < if test -z "$ARGZ_H"; then
11766 <  { $as_echo "$as_me:$LINENO: checking if argz actually works" >&5
11765 > if test -z "$ARGZ_H"; then :
11766 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
11767   $as_echo_n "checking if argz actually works... " >&6; }
11768 < if test "${lt_cv_sys_argz_works+set}" = set; then
11768 > if test "${lt_cv_sys_argz_works+set}" = set; then :
11769    $as_echo_n "(cached) " >&6
11770   else
11771    case $host_os in #(
# Line 13039 | Line 11794 | else
11794           *) lt_cv_sys_argz_works=yes ;;
11795           esac
11796   fi
11797 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
11797 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
11798   $as_echo "$lt_cv_sys_argz_works" >&6; }
11799 <     if test $lt_cv_sys_argz_works = yes; then
11799 >     if test $lt_cv_sys_argz_works = yes; then :
11800  
11801 < cat >>confdefs.h <<\_ACEOF
13047 < #define HAVE_WORKING_ARGZ 1
13048 < _ACEOF
11801 > $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
11802  
11803   else
11804    ARGZ_H=argz.h
# Line 13054 | Line 11807 | else
11807    _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
11808  
11809   fi
13057
11810   fi
11811  
11812  
11813  
11814 <
13063 < { $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
11814 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
11815   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
11816 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then
11816 > if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
11817    $as_echo_n "(cached) " >&6
11818   else
11819    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 13072 | Line 11823 | else
11823    fi
11824  
11825   fi
11826 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
11826 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
11827   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
11828   if test x"$libltdl_cv_preloaded_symbols" = xyes; then
11829  
11830 < cat >>confdefs.h <<\_ACEOF
13080 < #define HAVE_PRELOADED_SYMBOLS 1
13081 < _ACEOF
11830 > $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
11831  
11832   fi
11833  
# Line 13098 | Line 11847 | fi
11847  
11848  
11849   # Check whether --with-included_ltdl was given.
11850 < if test "${with_included_ltdl+set}" = set; then
11850 > if test "${with_included_ltdl+set}" = set; then :
11851    withval=$with_included_ltdl;
11852   fi
11853  
# Line 13106 | Line 11855 | fi
11855   if test "x$with_included_ltdl" != xyes; then
11856    # We are not being forced to use the included libltdl sources, so
11857    # decide whether there is a useful installed version we can use.
11858 <  { $as_echo "$as_me:$LINENO: checking for ltdl.h" >&5
13110 < $as_echo_n "checking for ltdl.h... " >&6; }
13111 < if test "${ac_cv_header_ltdl_h+set}" = set; then
13112 <  $as_echo_n "(cached) " >&6
13113 < else
13114 <  cat >conftest.$ac_ext <<_ACEOF
13115 < /* confdefs.h.  */
13116 < _ACEOF
13117 < cat confdefs.h >>conftest.$ac_ext
13118 < cat >>conftest.$ac_ext <<_ACEOF
13119 < /* end confdefs.h.  */
13120 < $ac_includes_default
13121 <
13122 <
13123 < #include <ltdl.h>
13124 < _ACEOF
13125 < rm -f conftest.$ac_objext
13126 < if { (ac_try="$ac_compile"
13127 < case "(($ac_try" in
13128 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13129 <  *) ac_try_echo=$ac_try;;
13130 < esac
13131 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13132 < $as_echo "$ac_try_echo") >&5
13133 <  (eval "$ac_compile") 2>conftest.er1
13134 <  ac_status=$?
13135 <  grep -v '^ *+' conftest.er1 >conftest.err
13136 <  rm -f conftest.er1
13137 <  cat conftest.err >&5
13138 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 <  (exit $ac_status); } && {
13140 <         test -z "$ac_c_werror_flag" ||
13141 <         test ! -s conftest.err
13142 <       } && test -s conftest.$ac_objext; then
13143 <  ac_cv_header_ltdl_h=yes
13144 < else
13145 <  $as_echo "$as_me: failed program was:" >&5
13146 < sed 's/^/| /' conftest.$ac_ext >&5
13147 <
13148 <        ac_cv_header_ltdl_h=no
13149 < fi
11858 >  ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
11859  
11860 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11861 < fi
11862 < { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
13154 < $as_echo "$ac_cv_header_ltdl_h" >&6; }
13155 < if test "x$ac_cv_header_ltdl_h" = x""yes; then
13156 <  { $as_echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
13157 < $as_echo_n "checking whether lt_dlinterface_register is declared... " >&6; }
13158 < if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
13159 <  $as_echo_n "(cached) " >&6
13160 < else
13161 <  cat >conftest.$ac_ext <<_ACEOF
13162 < /* confdefs.h.  */
13163 < _ACEOF
13164 < cat confdefs.h >>conftest.$ac_ext
13165 < cat >>conftest.$ac_ext <<_ACEOF
13166 < /* end confdefs.h.  */
13167 < $ac_includes_default
11860 > "
11861 > if test "x$ac_cv_header_ltdl_h" = x""yes; then :
11862 >  ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
11863              #include <ltdl.h>
11864 <
11865 < int
11866 < main ()
13172 < {
13173 < #ifndef lt_dlinterface_register
13174 <  (void) lt_dlinterface_register;
13175 < #endif
13176 <
13177 <  ;
13178 <  return 0;
13179 < }
13180 < _ACEOF
13181 < rm -f conftest.$ac_objext
13182 < if { (ac_try="$ac_compile"
13183 < case "(($ac_try" in
13184 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13185 <  *) ac_try_echo=$ac_try;;
13186 < esac
13187 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13188 < $as_echo "$ac_try_echo") >&5
13189 <  (eval "$ac_compile") 2>conftest.er1
13190 <  ac_status=$?
13191 <  grep -v '^ *+' conftest.er1 >conftest.err
13192 <  rm -f conftest.er1
13193 <  cat conftest.err >&5
13194 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 <  (exit $ac_status); } && {
13196 <         test -z "$ac_c_werror_flag" ||
13197 <         test ! -s conftest.err
13198 <       } && test -s conftest.$ac_objext; then
13199 <  ac_cv_have_decl_lt_dlinterface_register=yes
13200 < else
13201 <  $as_echo "$as_me: failed program was:" >&5
13202 < sed 's/^/| /' conftest.$ac_ext >&5
13203 <
13204 <        ac_cv_have_decl_lt_dlinterface_register=no
13205 < fi
13206 <
13207 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13208 < fi
13209 < { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
13210 < $as_echo "$ac_cv_have_decl_lt_dlinterface_register" >&6; }
13211 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then
13212 <  { $as_echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
11864 > "
11865 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
11866 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
11867   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
11868 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
11868 > if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
11869    $as_echo_n "(cached) " >&6
11870   else
11871    ac_check_lib_save_LIBS=$LIBS
11872   LIBS="-lltdl  $LIBS"
11873 < cat >conftest.$ac_ext <<_ACEOF
13220 < /* confdefs.h.  */
13221 < _ACEOF
13222 < cat confdefs.h >>conftest.$ac_ext
13223 < cat >>conftest.$ac_ext <<_ACEOF
11873 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874   /* end confdefs.h.  */
11875  
11876   /* Override any GCC internal prototype to avoid an error.
# Line 13238 | Line 11888 | return lt_dladvise_preload ();
11888    return 0;
11889   }
11890   _ACEOF
11891 < rm -f conftest.$ac_objext conftest$ac_exeext
13242 < if { (ac_try="$ac_link"
13243 < case "(($ac_try" in
13244 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13245 <  *) ac_try_echo=$ac_try;;
13246 < esac
13247 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13248 < $as_echo "$ac_try_echo") >&5
13249 <  (eval "$ac_link") 2>conftest.er1
13250 <  ac_status=$?
13251 <  grep -v '^ *+' conftest.er1 >conftest.err
13252 <  rm -f conftest.er1
13253 <  cat conftest.err >&5
13254 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 <  (exit $ac_status); } && {
13256 <         test -z "$ac_c_werror_flag" ||
13257 <         test ! -s conftest.err
13258 <       } && test -s conftest$ac_exeext && {
13259 <         test "$cross_compiling" = yes ||
13260 <         $as_test_x conftest$ac_exeext
13261 <       }; then
11891 > if ac_fn_c_try_link "$LINENO"; then :
11892    ac_cv_lib_ltdl_lt_dladvise_preload=yes
11893   else
11894 <  $as_echo "$as_me: failed program was:" >&5
13265 < sed 's/^/| /' conftest.$ac_ext >&5
13266 <
13267 <        ac_cv_lib_ltdl_lt_dladvise_preload=no
11894 >  ac_cv_lib_ltdl_lt_dladvise_preload=no
11895   fi
11896 <
11897 < rm -rf conftest.dSYM
13271 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13272 <      conftest$ac_exeext conftest.$ac_ext
11896 > rm -f core conftest.err conftest.$ac_objext \
11897 >    conftest$ac_exeext conftest.$ac_ext
11898   LIBS=$ac_check_lib_save_LIBS
11899   fi
11900 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
11900 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
11901   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
11902 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then
11902 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
11903    with_included_ltdl=no
11904   else
11905    with_included_ltdl=yes
# Line 13300 | Line 11925 | fi
11925  
11926  
11927   # Check whether --with-ltdl_include was given.
11928 < if test "${with_ltdl_include+set}" = set; then
11928 > if test "${with_ltdl_include+set}" = set; then :
11929    withval=$with_ltdl_include;
11930   fi
11931  
# Line 13308 | Line 11933 | fi
11933   if test -n "$with_ltdl_include"; then
11934    if test -f "$with_ltdl_include/ltdl.h"; then :
11935    else
11936 <    { { $as_echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
13312 < $as_echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
13313 <   { (exit 1); exit 1; }; }
11936 >    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
11937    fi
11938   else
11939    with_ltdl_include=no
# Line 13318 | Line 11941 | fi
11941  
11942  
11943   # Check whether --with-ltdl_lib was given.
11944 < if test "${with_ltdl_lib+set}" = set; then
11944 > if test "${with_ltdl_lib+set}" = set; then :
11945    withval=$with_ltdl_lib;
11946   fi
11947  
# Line 13326 | Line 11949 | fi
11949   if test -n "$with_ltdl_lib"; then
11950    if test -f "$with_ltdl_lib/libltdl.la"; then :
11951    else
11952 <    { { $as_echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
13330 < $as_echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
13331 <   { (exit 1); exit 1; }; }
11952 >    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
11953    fi
11954   else
11955    with_ltdl_lib=no
# Line 13337 | Line 11958 | fi
11958   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
11959    ,yes,no,no,)
11960          case $enable_ltdl_convenience in
11961 <  no) { { $as_echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
13341 < $as_echo "$as_me: error: this package needs a convenience libltdl" >&2;}
13342 <   { (exit 1); exit 1; }; } ;;
11961 >  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
11962    "") enable_ltdl_convenience=yes
11963        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
11964   esac
# Line 13360 | Line 11979 | INCLTDL="$LTDLINCL"
11979          # If the included ltdl is not to be used, then use the
11980          # preinstalled libltdl we found.
11981  
11982 < cat >>confdefs.h <<\_ACEOF
13364 < #define HAVE_LTDL 1
13365 < _ACEOF
11982 > $as_echo "#define HAVE_LTDL 1" >>confdefs.h
11983  
11984          LIBLTDL=-lltdl
11985          LTDLDEPS=
11986          LTDLINCL=
11987          ;;
11988    ,no*,no,*)
11989 <        { { $as_echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
13373 < $as_echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
13374 <   { (exit 1); exit 1; }; }
11989 >        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
11990          ;;
11991    *)    with_included_ltdl=no
11992          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 13382 | Line 11997 | esac
11997   INCLTDL="$LTDLINCL"
11998  
11999   # Report our decision...
12000 < { $as_echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
12000 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
12001   $as_echo_n "checking where to find libltdl headers... " >&6; }
12002 < { $as_echo "$as_me:$LINENO: result: $LTDLINCL" >&5
12002 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
12003   $as_echo "$LTDLINCL" >&6; }
12004 < { $as_echo "$as_me:$LINENO: checking where to find libltdl library" >&5
12004 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
12005   $as_echo_n "checking where to find libltdl library... " >&6; }
12006 < { $as_echo "$as_me:$LINENO: result: $LIBLTDL" >&5
12006 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
12007   $as_echo "$LIBLTDL" >&6; }
12008  
12009  
12010  
12011   # Check whether --enable-ltdl-install was given.
12012 < if test "${enable_ltdl_install+set}" = set; then
12012 > if test "${enable_ltdl_install+set}" = set; then :
12013    enableval=$enable_ltdl_install;
12014   fi
12015  
# Line 13436 | Line 12051 | fi
12051  
12052  
12053  
13439
13440
13441
13442
13443
13444
12054   for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
12055 < do
12056 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12057 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12058 < $as_echo_n "checking for $ac_header... " >&6; }
12059 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12060 <  $as_echo_n "(cached) " >&6
13452 < else
13453 <  cat >conftest.$ac_ext <<_ACEOF
13454 < /* confdefs.h.  */
13455 < _ACEOF
13456 < cat confdefs.h >>conftest.$ac_ext
13457 < cat >>conftest.$ac_ext <<_ACEOF
13458 < /* end confdefs.h.  */
13459 < $ac_includes_default
13460 <
13461 < #include <$ac_header>
13462 < _ACEOF
13463 < rm -f conftest.$ac_objext
13464 < if { (ac_try="$ac_compile"
13465 < case "(($ac_try" in
13466 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13467 <  *) ac_try_echo=$ac_try;;
13468 < esac
13469 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13470 < $as_echo "$ac_try_echo") >&5
13471 <  (eval "$ac_compile") 2>conftest.er1
13472 <  ac_status=$?
13473 <  grep -v '^ *+' conftest.er1 >conftest.err
13474 <  rm -f conftest.er1
13475 <  cat conftest.err >&5
13476 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 <  (exit $ac_status); } && {
13478 <         test -z "$ac_c_werror_flag" ||
13479 <         test ! -s conftest.err
13480 <       } && test -s conftest.$ac_objext; then
13481 <  eval "$as_ac_Header=yes"
13482 < else
13483 <  $as_echo "$as_me: failed program was:" >&5
13484 < sed 's/^/| /' conftest.$ac_ext >&5
13485 <
13486 <        eval "$as_ac_Header=no"
13487 < fi
13488 <
13489 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13490 < fi
13491 < ac_res=`eval 'as_val=${'$as_ac_Header'}
13492 <                 $as_echo "$as_val"'`
13493 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13494 < $as_echo "$ac_res" >&6; }
13495 < as_val=`eval 'as_val=${'$as_ac_Header'}
13496 <                 $as_echo "$as_val"'`
13497 <   if test "x$as_val" = x""yes; then
12055 > do :
12056 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12057 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12058 > "
12059 > eval as_val=\$$as_ac_Header
12060 >   if test "x$as_val" = x""yes; then :
12061    cat >>confdefs.h <<_ACEOF
12062   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12063   _ACEOF
# Line 13504 | Line 12067 | fi
12067   done
12068  
12069  
13507
13508
13509
12070   for ac_func in closedir opendir readdir
12071 < do
12072 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12073 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12074 < $as_echo_n "checking for $ac_func... " >&6; }
12075 < if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13516 <  $as_echo_n "(cached) " >&6
13517 < else
13518 <  cat >conftest.$ac_ext <<_ACEOF
13519 < /* confdefs.h.  */
13520 < _ACEOF
13521 < cat confdefs.h >>conftest.$ac_ext
13522 < cat >>conftest.$ac_ext <<_ACEOF
13523 < /* end confdefs.h.  */
13524 < /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13525 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13526 < #define $ac_func innocuous_$ac_func
13527 <
13528 < /* System header to define __stub macros and hopefully few prototypes,
13529 <    which can conflict with char $ac_func (); below.
13530 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13531 <    <limits.h> exists even on freestanding compilers.  */
13532 <
13533 < #ifdef __STDC__
13534 < # include <limits.h>
13535 < #else
13536 < # include <assert.h>
13537 < #endif
13538 <
13539 < #undef $ac_func
13540 <
13541 < /* Override any GCC internal prototype to avoid an error.
13542 <   Use char because int might match the return type of a GCC
13543 <   builtin and then its argument prototype would still apply.  */
13544 < #ifdef __cplusplus
13545 < extern "C"
13546 < #endif
13547 < char $ac_func ();
13548 < /* The GNU C library defines this for functions which it implements
13549 <    to always fail with ENOSYS.  Some functions are actually named
13550 <    something starting with __ and the normal name is an alias.  */
13551 < #if defined __stub_$ac_func || defined __stub___$ac_func
13552 < choke me
13553 < #endif
13554 <
13555 < int
13556 < main ()
13557 < {
13558 < return $ac_func ();
13559 <  ;
13560 <  return 0;
13561 < }
13562 < _ACEOF
13563 < rm -f conftest.$ac_objext conftest$ac_exeext
13564 < if { (ac_try="$ac_link"
13565 < case "(($ac_try" in
13566 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13567 <  *) ac_try_echo=$ac_try;;
13568 < esac
13569 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13570 < $as_echo "$ac_try_echo") >&5
13571 <  (eval "$ac_link") 2>conftest.er1
13572 <  ac_status=$?
13573 <  grep -v '^ *+' conftest.er1 >conftest.err
13574 <  rm -f conftest.er1
13575 <  cat conftest.err >&5
13576 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 <  (exit $ac_status); } && {
13578 <         test -z "$ac_c_werror_flag" ||
13579 <         test ! -s conftest.err
13580 <       } && test -s conftest$ac_exeext && {
13581 <         test "$cross_compiling" = yes ||
13582 <         $as_test_x conftest$ac_exeext
13583 <       }; then
13584 <  eval "$as_ac_var=yes"
13585 < else
13586 <  $as_echo "$as_me: failed program was:" >&5
13587 < sed 's/^/| /' conftest.$ac_ext >&5
13588 <
13589 <        eval "$as_ac_var=no"
13590 < fi
13591 <
13592 < rm -rf conftest.dSYM
13593 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13594 <      conftest$ac_exeext conftest.$ac_ext
13595 < fi
13596 < ac_res=`eval 'as_val=${'$as_ac_var'}
13597 <                 $as_echo "$as_val"'`
13598 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13599 < $as_echo "$ac_res" >&6; }
13600 < as_val=`eval 'as_val=${'$as_ac_var'}
13601 <                 $as_echo "$as_val"'`
13602 <   if test "x$as_val" = x""yes; then
12071 > do :
12072 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12073 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12074 > eval as_val=\$$as_ac_var
12075 >   if test "x$as_val" = x""yes; then :
12076    cat >>confdefs.h <<_ACEOF
12077   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12078   _ACEOF
# Line 13612 | Line 12085 | else
12085   fi
12086   done
12087  
13615
13616
12088   for ac_func in strlcat strlcpy
12089 < do
12090 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12091 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12092 < $as_echo_n "checking for $ac_func... " >&6; }
12093 < if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13623 <  $as_echo_n "(cached) " >&6
13624 < else
13625 <  cat >conftest.$ac_ext <<_ACEOF
13626 < /* confdefs.h.  */
13627 < _ACEOF
13628 < cat confdefs.h >>conftest.$ac_ext
13629 < cat >>conftest.$ac_ext <<_ACEOF
13630 < /* end confdefs.h.  */
13631 < /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13632 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13633 < #define $ac_func innocuous_$ac_func
13634 <
13635 < /* System header to define __stub macros and hopefully few prototypes,
13636 <    which can conflict with char $ac_func (); below.
13637 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13638 <    <limits.h> exists even on freestanding compilers.  */
13639 <
13640 < #ifdef __STDC__
13641 < # include <limits.h>
13642 < #else
13643 < # include <assert.h>
13644 < #endif
13645 <
13646 < #undef $ac_func
13647 <
13648 < /* Override any GCC internal prototype to avoid an error.
13649 <   Use char because int might match the return type of a GCC
13650 <   builtin and then its argument prototype would still apply.  */
13651 < #ifdef __cplusplus
13652 < extern "C"
13653 < #endif
13654 < char $ac_func ();
13655 < /* The GNU C library defines this for functions which it implements
13656 <    to always fail with ENOSYS.  Some functions are actually named
13657 <    something starting with __ and the normal name is an alias.  */
13658 < #if defined __stub_$ac_func || defined __stub___$ac_func
13659 < choke me
13660 < #endif
13661 <
13662 < int
13663 < main ()
13664 < {
13665 < return $ac_func ();
13666 <  ;
13667 <  return 0;
13668 < }
13669 < _ACEOF
13670 < rm -f conftest.$ac_objext conftest$ac_exeext
13671 < if { (ac_try="$ac_link"
13672 < case "(($ac_try" in
13673 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13674 <  *) ac_try_echo=$ac_try;;
13675 < esac
13676 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13677 < $as_echo "$ac_try_echo") >&5
13678 <  (eval "$ac_link") 2>conftest.er1
13679 <  ac_status=$?
13680 <  grep -v '^ *+' conftest.er1 >conftest.err
13681 <  rm -f conftest.er1
13682 <  cat conftest.err >&5
13683 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 <  (exit $ac_status); } && {
13685 <         test -z "$ac_c_werror_flag" ||
13686 <         test ! -s conftest.err
13687 <       } && test -s conftest$ac_exeext && {
13688 <         test "$cross_compiling" = yes ||
13689 <         $as_test_x conftest$ac_exeext
13690 <       }; then
13691 <  eval "$as_ac_var=yes"
13692 < else
13693 <  $as_echo "$as_me: failed program was:" >&5
13694 < sed 's/^/| /' conftest.$ac_ext >&5
13695 <
13696 <        eval "$as_ac_var=no"
13697 < fi
13698 <
13699 < rm -rf conftest.dSYM
13700 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13701 <      conftest$ac_exeext conftest.$ac_ext
13702 < fi
13703 < ac_res=`eval 'as_val=${'$as_ac_var'}
13704 <                 $as_echo "$as_val"'`
13705 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13706 < $as_echo "$ac_res" >&6; }
13707 < as_val=`eval 'as_val=${'$as_ac_var'}
13708 <                 $as_echo "$as_val"'`
13709 <   if test "x$as_val" = x""yes; then
12089 > do :
12090 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12091 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12092 > eval as_val=\$$as_ac_var
12093 >   if test "x$as_val" = x""yes; then :
12094    cat >>confdefs.h <<_ACEOF
12095   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12096   _ACEOF
# Line 13744 | Line 12128 | LIBTOOL="$LIBTOOL --silent"
12128  
12129   # Checks for libraries.
12130  
12131 <  { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
12131 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12132   $as_echo_n "checking for library containing socket... " >&6; }
12133 < if test "${ac_cv_search_socket+set}" = set; then
12133 > if test "${ac_cv_search_socket+set}" = set; then :
12134    $as_echo_n "(cached) " >&6
12135   else
12136    ac_func_search_save_LIBS=$LIBS
12137 < cat >conftest.$ac_ext <<_ACEOF
13754 < /* confdefs.h.  */
13755 < _ACEOF
13756 < cat confdefs.h >>conftest.$ac_ext
13757 < cat >>conftest.$ac_ext <<_ACEOF
12137 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12138   /* end confdefs.h.  */
12139  
12140   /* Override any GCC internal prototype to avoid an error.
# Line 13779 | Line 12159 | for ac_lib in '' socket; do
12159      ac_res=-l$ac_lib
12160      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12161    fi
12162 <  rm -f conftest.$ac_objext conftest$ac_exeext
13783 < if { (ac_try="$ac_link"
13784 < case "(($ac_try" in
13785 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13786 <  *) ac_try_echo=$ac_try;;
13787 < esac
13788 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13789 < $as_echo "$ac_try_echo") >&5
13790 <  (eval "$ac_link") 2>conftest.er1
13791 <  ac_status=$?
13792 <  grep -v '^ *+' conftest.er1 >conftest.err
13793 <  rm -f conftest.er1
13794 <  cat conftest.err >&5
13795 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 <  (exit $ac_status); } && {
13797 <         test -z "$ac_c_werror_flag" ||
13798 <         test ! -s conftest.err
13799 <       } && test -s conftest$ac_exeext && {
13800 <         test "$cross_compiling" = yes ||
13801 <         $as_test_x conftest$ac_exeext
13802 <       }; then
12162 >  if ac_fn_c_try_link "$LINENO"; then :
12163    ac_cv_search_socket=$ac_res
13804 else
13805  $as_echo "$as_me: failed program was:" >&5
13806 sed 's/^/| /' conftest.$ac_ext >&5
13807
13808
12164   fi
12165 <
12166 < rm -rf conftest.dSYM
12167 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13813 <      conftest$ac_exeext
13814 <  if test "${ac_cv_search_socket+set}" = set; then
12165 > rm -f core conftest.err conftest.$ac_objext \
12166 >    conftest$ac_exeext
12167 >  if test "${ac_cv_search_socket+set}" = set; then :
12168    break
12169   fi
12170   done
12171 < if test "${ac_cv_search_socket+set}" = set; then
12172 <  :
12171 > if test "${ac_cv_search_socket+set}" = set; then :
12172 >
12173   else
12174    ac_cv_search_socket=no
12175   fi
12176   rm conftest.$ac_ext
12177   LIBS=$ac_func_search_save_LIBS
12178   fi
12179 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
12179 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12180   $as_echo "$ac_cv_search_socket" >&6; }
12181   ac_res=$ac_cv_search_socket
12182 < if test "$ac_res" != no; then
12182 > if test "$ac_res" != no; then :
12183    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12184  
12185   else
12186 <  { { $as_echo "$as_me:$LINENO: error: socket library not found" >&5
13834 < $as_echo "$as_me: error: socket library not found" >&2;}
13835 <   { (exit 1); exit 1; }; }
12186 >  as_fn_error "socket library not found" "$LINENO" 5
12187   fi
12188  
12189 <
12190 <
12191 <
12192 < for ac_func in inet_aton inet_ntop inet_pton
12193 < do
12194 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13844 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13845 < $as_echo_n "checking for $ac_func... " >&6; }
13846 < if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13847 <  $as_echo_n "(cached) " >&6
13848 < else
13849 <  cat >conftest.$ac_ext <<_ACEOF
13850 < /* confdefs.h.  */
13851 < _ACEOF
13852 < cat confdefs.h >>conftest.$ac_ext
13853 < cat >>conftest.$ac_ext <<_ACEOF
13854 < /* end confdefs.h.  */
13855 < /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13856 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13857 < #define $ac_func innocuous_$ac_func
13858 <
13859 < /* System header to define __stub macros and hopefully few prototypes,
13860 <    which can conflict with char $ac_func (); below.
13861 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13862 <    <limits.h> exists even on freestanding compilers.  */
13863 <
13864 < #ifdef __STDC__
13865 < # include <limits.h>
13866 < #else
13867 < # include <assert.h>
13868 < #endif
13869 <
13870 < #undef $ac_func
13871 <
13872 < /* Override any GCC internal prototype to avoid an error.
13873 <   Use char because int might match the return type of a GCC
13874 <   builtin and then its argument prototype would still apply.  */
13875 < #ifdef __cplusplus
13876 < extern "C"
13877 < #endif
13878 < char $ac_func ();
13879 < /* The GNU C library defines this for functions which it implements
13880 <    to always fail with ENOSYS.  Some functions are actually named
13881 <    something starting with __ and the normal name is an alias.  */
13882 < #if defined __stub_$ac_func || defined __stub___$ac_func
13883 < choke me
13884 < #endif
13885 <
13886 < int
13887 < main ()
13888 < {
13889 < return $ac_func ();
13890 <  ;
13891 <  return 0;
13892 < }
13893 < _ACEOF
13894 < rm -f conftest.$ac_objext conftest$ac_exeext
13895 < if { (ac_try="$ac_link"
13896 < case "(($ac_try" in
13897 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13898 <  *) ac_try_echo=$ac_try;;
13899 < esac
13900 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13901 < $as_echo "$ac_try_echo") >&5
13902 <  (eval "$ac_link") 2>conftest.er1
13903 <  ac_status=$?
13904 <  grep -v '^ *+' conftest.er1 >conftest.err
13905 <  rm -f conftest.er1
13906 <  cat conftest.err >&5
13907 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 <  (exit $ac_status); } && {
13909 <         test -z "$ac_c_werror_flag" ||
13910 <         test ! -s conftest.err
13911 <       } && test -s conftest$ac_exeext && {
13912 <         test "$cross_compiling" = yes ||
13913 <         $as_test_x conftest$ac_exeext
13914 <       }; then
13915 <  eval "$as_ac_var=yes"
13916 < else
13917 <  $as_echo "$as_me: failed program was:" >&5
13918 < sed 's/^/| /' conftest.$ac_ext >&5
13919 <
13920 <        eval "$as_ac_var=no"
13921 < fi
13922 <
13923 < rm -rf conftest.dSYM
13924 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13925 <      conftest$ac_exeext conftest.$ac_ext
13926 < fi
13927 < ac_res=`eval 'as_val=${'$as_ac_var'}
13928 <                 $as_echo "$as_val"'`
13929 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13930 < $as_echo "$ac_res" >&6; }
13931 < as_val=`eval 'as_val=${'$as_ac_var'}
13932 <                 $as_echo "$as_val"'`
13933 <   if test "x$as_val" = x""yes; then
12189 >  for ac_func in inet_aton inet_ntop inet_pton
12190 > do :
12191 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12192 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12193 > eval as_val=\$$as_ac_var
12194 >   if test "x$as_val" = x""yes; then :
12195    cat >>confdefs.h <<_ACEOF
12196   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12197   _ACEOF
# Line 13938 | Line 12199 | _ACEOF
12199   fi
12200   done
12201  
12202 <  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in" >&5
13942 < $as_echo_n "checking for struct sockaddr_in... " >&6; }
13943 < if test "${ac_cv_type_struct_sockaddr_in+set}" = set; then
13944 <  $as_echo_n "(cached) " >&6
13945 < else
13946 <  ac_cv_type_struct_sockaddr_in=no
13947 < cat >conftest.$ac_ext <<_ACEOF
13948 < /* confdefs.h.  */
13949 < _ACEOF
13950 < cat confdefs.h >>conftest.$ac_ext
13951 < cat >>conftest.$ac_ext <<_ACEOF
13952 < /* end confdefs.h.  */
13953 < #include <sys/types.h>
12202 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
12203     #include <sys/socket.h>
12204     #include <netdb.h>
12205  
12206 <
12207 < int
13959 < main ()
13960 < {
13961 < if (sizeof (struct sockaddr_in))
13962 <       return 0;
13963 <  ;
13964 <  return 0;
13965 < }
13966 < _ACEOF
13967 < rm -f conftest.$ac_objext
13968 < if { (ac_try="$ac_compile"
13969 < case "(($ac_try" in
13970 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13971 <  *) ac_try_echo=$ac_try;;
13972 < esac
13973 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13974 < $as_echo "$ac_try_echo") >&5
13975 <  (eval "$ac_compile") 2>conftest.er1
13976 <  ac_status=$?
13977 <  grep -v '^ *+' conftest.er1 >conftest.err
13978 <  rm -f conftest.er1
13979 <  cat conftest.err >&5
13980 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 <  (exit $ac_status); } && {
13982 <         test -z "$ac_c_werror_flag" ||
13983 <         test ! -s conftest.err
13984 <       } && test -s conftest.$ac_objext; then
13985 <  cat >conftest.$ac_ext <<_ACEOF
13986 < /* confdefs.h.  */
13987 < _ACEOF
13988 < cat confdefs.h >>conftest.$ac_ext
13989 < cat >>conftest.$ac_ext <<_ACEOF
13990 < /* end confdefs.h.  */
13991 < #include <sys/types.h>
13992 <   #include <sys/socket.h>
13993 <   #include <netdb.h>
13994 <
13995 <
13996 < int
13997 < main ()
13998 < {
13999 < if (sizeof ((struct sockaddr_in)))
14000 <          return 0;
14001 <  ;
14002 <  return 0;
14003 < }
14004 < _ACEOF
14005 < rm -f conftest.$ac_objext
14006 < if { (ac_try="$ac_compile"
14007 < case "(($ac_try" in
14008 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14009 <  *) ac_try_echo=$ac_try;;
14010 < esac
14011 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14012 < $as_echo "$ac_try_echo") >&5
14013 <  (eval "$ac_compile") 2>conftest.er1
14014 <  ac_status=$?
14015 <  grep -v '^ *+' conftest.er1 >conftest.err
14016 <  rm -f conftest.er1
14017 <  cat conftest.err >&5
14018 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 <  (exit $ac_status); } && {
14020 <         test -z "$ac_c_werror_flag" ||
14021 <         test ! -s conftest.err
14022 <       } && test -s conftest.$ac_objext; then
14023 <  :
14024 < else
14025 <  $as_echo "$as_me: failed program was:" >&5
14026 < sed 's/^/| /' conftest.$ac_ext >&5
14027 <
14028 <        ac_cv_type_struct_sockaddr_in=yes
14029 < fi
14030 <
14031 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14032 < else
14033 <  $as_echo "$as_me: failed program was:" >&5
14034 < sed 's/^/| /' conftest.$ac_ext >&5
14035 <
14036 <
14037 < fi
14038 <
14039 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14040 < fi
14041 < { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in" >&5
14042 < $as_echo "$ac_cv_type_struct_sockaddr_in" >&6; }
14043 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then
12206 > "
12207 > if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
12208  
12209   cat >>confdefs.h <<_ACEOF
12210   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 14048 | Line 12212 | _ACEOF
12212  
12213  
12214   fi
12215 < { $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
14052 < $as_echo_n "checking for struct sockaddr_storage... " >&6; }
14053 < if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
14054 <  $as_echo_n "(cached) " >&6
14055 < else
14056 <  ac_cv_type_struct_sockaddr_storage=no
14057 < cat >conftest.$ac_ext <<_ACEOF
14058 < /* confdefs.h.  */
14059 < _ACEOF
14060 < cat confdefs.h >>conftest.$ac_ext
14061 < cat >>conftest.$ac_ext <<_ACEOF
14062 < /* end confdefs.h.  */
14063 < #include <sys/types.h>
14064 <   #include <sys/socket.h>
14065 <   #include <netdb.h>
14066 <
14067 <
14068 < int
14069 < main ()
14070 < {
14071 < if (sizeof (struct sockaddr_storage))
14072 <       return 0;
14073 <  ;
14074 <  return 0;
14075 < }
14076 < _ACEOF
14077 < rm -f conftest.$ac_objext
14078 < if { (ac_try="$ac_compile"
14079 < case "(($ac_try" in
14080 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14081 <  *) ac_try_echo=$ac_try;;
14082 < esac
14083 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14084 < $as_echo "$ac_try_echo") >&5
14085 <  (eval "$ac_compile") 2>conftest.er1
14086 <  ac_status=$?
14087 <  grep -v '^ *+' conftest.er1 >conftest.err
14088 <  rm -f conftest.er1
14089 <  cat conftest.err >&5
14090 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 <  (exit $ac_status); } && {
14092 <         test -z "$ac_c_werror_flag" ||
14093 <         test ! -s conftest.err
14094 <       } && test -s conftest.$ac_objext; then
14095 <  cat >conftest.$ac_ext <<_ACEOF
14096 < /* confdefs.h.  */
14097 < _ACEOF
14098 < cat confdefs.h >>conftest.$ac_ext
14099 < cat >>conftest.$ac_ext <<_ACEOF
14100 < /* end confdefs.h.  */
14101 < #include <sys/types.h>
12215 > ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
12216     #include <sys/socket.h>
12217     #include <netdb.h>
12218  
12219 <
12220 < int
14107 < main ()
14108 < {
14109 < if (sizeof ((struct sockaddr_storage)))
14110 <          return 0;
14111 <  ;
14112 <  return 0;
14113 < }
14114 < _ACEOF
14115 < rm -f conftest.$ac_objext
14116 < if { (ac_try="$ac_compile"
14117 < case "(($ac_try" in
14118 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14119 <  *) ac_try_echo=$ac_try;;
14120 < esac
14121 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14122 < $as_echo "$ac_try_echo") >&5
14123 <  (eval "$ac_compile") 2>conftest.er1
14124 <  ac_status=$?
14125 <  grep -v '^ *+' conftest.er1 >conftest.err
14126 <  rm -f conftest.er1
14127 <  cat conftest.err >&5
14128 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 <  (exit $ac_status); } && {
14130 <         test -z "$ac_c_werror_flag" ||
14131 <         test ! -s conftest.err
14132 <       } && test -s conftest.$ac_objext; then
14133 <  :
14134 < else
14135 <  $as_echo "$as_me: failed program was:" >&5
14136 < sed 's/^/| /' conftest.$ac_ext >&5
14137 <
14138 <        ac_cv_type_struct_sockaddr_storage=yes
14139 < fi
14140 <
14141 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14142 < else
14143 <  $as_echo "$as_me: failed program was:" >&5
14144 < sed 's/^/| /' conftest.$ac_ext >&5
14145 <
14146 <
14147 < fi
14148 <
14149 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14150 < fi
14151 < { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
14152 < $as_echo "$ac_cv_type_struct_sockaddr_storage" >&6; }
14153 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then
12219 > "
12220 > if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
12221  
12222   cat >>confdefs.h <<_ACEOF
12223   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 14158 | Line 12225 | _ACEOF
12225  
12226  
12227   fi
12228 < { $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5
14162 < $as_echo_n "checking for struct addrinfo... " >&6; }
14163 < if test "${ac_cv_type_struct_addrinfo+set}" = set; then
14164 <  $as_echo_n "(cached) " >&6
14165 < else
14166 <  ac_cv_type_struct_addrinfo=no
14167 < cat >conftest.$ac_ext <<_ACEOF
14168 < /* confdefs.h.  */
14169 < _ACEOF
14170 < cat confdefs.h >>conftest.$ac_ext
14171 < cat >>conftest.$ac_ext <<_ACEOF
14172 < /* end confdefs.h.  */
14173 < #include <sys/types.h>
14174 <   #include <sys/socket.h>
14175 <   #include <netdb.h>
14176 <
14177 <
14178 < int
14179 < main ()
14180 < {
14181 < if (sizeof (struct addrinfo))
14182 <       return 0;
14183 <  ;
14184 <  return 0;
14185 < }
14186 < _ACEOF
14187 < rm -f conftest.$ac_objext
14188 < if { (ac_try="$ac_compile"
14189 < case "(($ac_try" in
14190 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14191 <  *) ac_try_echo=$ac_try;;
14192 < esac
14193 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14194 < $as_echo "$ac_try_echo") >&5
14195 <  (eval "$ac_compile") 2>conftest.er1
14196 <  ac_status=$?
14197 <  grep -v '^ *+' conftest.er1 >conftest.err
14198 <  rm -f conftest.er1
14199 <  cat conftest.err >&5
14200 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 <  (exit $ac_status); } && {
14202 <         test -z "$ac_c_werror_flag" ||
14203 <         test ! -s conftest.err
14204 <       } && test -s conftest.$ac_objext; then
14205 <  cat >conftest.$ac_ext <<_ACEOF
14206 < /* confdefs.h.  */
14207 < _ACEOF
14208 < cat confdefs.h >>conftest.$ac_ext
14209 < cat >>conftest.$ac_ext <<_ACEOF
14210 < /* end confdefs.h.  */
14211 < #include <sys/types.h>
12228 > ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
12229     #include <sys/socket.h>
12230     #include <netdb.h>
12231  
12232 <
12233 < int
14217 < main ()
14218 < {
14219 < if (sizeof ((struct addrinfo)))
14220 <          return 0;
14221 <  ;
14222 <  return 0;
14223 < }
14224 < _ACEOF
14225 < rm -f conftest.$ac_objext
14226 < if { (ac_try="$ac_compile"
14227 < case "(($ac_try" in
14228 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14229 <  *) ac_try_echo=$ac_try;;
14230 < esac
14231 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14232 < $as_echo "$ac_try_echo") >&5
14233 <  (eval "$ac_compile") 2>conftest.er1
14234 <  ac_status=$?
14235 <  grep -v '^ *+' conftest.er1 >conftest.err
14236 <  rm -f conftest.er1
14237 <  cat conftest.err >&5
14238 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 <  (exit $ac_status); } && {
14240 <         test -z "$ac_c_werror_flag" ||
14241 <         test ! -s conftest.err
14242 <       } && test -s conftest.$ac_objext; then
14243 <  :
14244 < else
14245 <  $as_echo "$as_me: failed program was:" >&5
14246 < sed 's/^/| /' conftest.$ac_ext >&5
14247 <
14248 <        ac_cv_type_struct_addrinfo=yes
14249 < fi
14250 <
14251 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14252 < else
14253 <  $as_echo "$as_me: failed program was:" >&5
14254 < sed 's/^/| /' conftest.$ac_ext >&5
14255 <
14256 <
14257 < fi
14258 <
14259 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14260 < fi
14261 < { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
14262 < $as_echo "$ac_cv_type_struct_addrinfo" >&6; }
14263 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then
12232 > "
12233 > if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
12234  
12235   cat >>confdefs.h <<_ACEOF
12236   #define HAVE_STRUCT_ADDRINFO 1
# Line 14269 | Line 12239 | _ACEOF
12239  
12240   fi
12241  
12242 <  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
14273 < $as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; }
14274 < if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
14275 <  $as_echo_n "(cached) " >&6
14276 < else
14277 <  cat >conftest.$ac_ext <<_ACEOF
14278 < /* confdefs.h.  */
14279 < _ACEOF
14280 < cat confdefs.h >>conftest.$ac_ext
14281 < cat >>conftest.$ac_ext <<_ACEOF
14282 < /* end confdefs.h.  */
14283 < #include <sys/types.h>
14284 <  <sys/socket.h>
14285 <
14286 < int
14287 < main ()
14288 < {
14289 < static struct sockaddr_in ac_aggr;
14290 < if (ac_aggr.sin_len)
14291 < return 0;
14292 <  ;
14293 <  return 0;
14294 < }
14295 < _ACEOF
14296 < rm -f conftest.$ac_objext
14297 < if { (ac_try="$ac_compile"
14298 < case "(($ac_try" in
14299 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14300 <  *) ac_try_echo=$ac_try;;
14301 < esac
14302 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14303 < $as_echo "$ac_try_echo") >&5
14304 <  (eval "$ac_compile") 2>conftest.er1
14305 <  ac_status=$?
14306 <  grep -v '^ *+' conftest.er1 >conftest.err
14307 <  rm -f conftest.er1
14308 <  cat conftest.err >&5
14309 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 <  (exit $ac_status); } && {
14311 <         test -z "$ac_c_werror_flag" ||
14312 <         test ! -s conftest.err
14313 <       } && test -s conftest.$ac_objext; then
14314 <  ac_cv_member_struct_sockaddr_in_sin_len=yes
14315 < else
14316 <  $as_echo "$as_me: failed program was:" >&5
14317 < sed 's/^/| /' conftest.$ac_ext >&5
14318 <
14319 <        cat >conftest.$ac_ext <<_ACEOF
14320 < /* confdefs.h.  */
14321 < _ACEOF
14322 < cat confdefs.h >>conftest.$ac_ext
14323 < cat >>conftest.$ac_ext <<_ACEOF
14324 < /* end confdefs.h.  */
14325 < #include <sys/types.h>
12242 >  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12243    <sys/socket.h>
12244 <
12245 < int
14329 < main ()
14330 < {
14331 < static struct sockaddr_in ac_aggr;
14332 < if (sizeof ac_aggr.sin_len)
14333 < return 0;
14334 <  ;
14335 <  return 0;
14336 < }
14337 < _ACEOF
14338 < rm -f conftest.$ac_objext
14339 < if { (ac_try="$ac_compile"
14340 < case "(($ac_try" in
14341 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14342 <  *) ac_try_echo=$ac_try;;
14343 < esac
14344 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14345 < $as_echo "$ac_try_echo") >&5
14346 <  (eval "$ac_compile") 2>conftest.er1
14347 <  ac_status=$?
14348 <  grep -v '^ *+' conftest.er1 >conftest.err
14349 <  rm -f conftest.er1
14350 <  cat conftest.err >&5
14351 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 <  (exit $ac_status); } && {
14353 <         test -z "$ac_c_werror_flag" ||
14354 <         test ! -s conftest.err
14355 <       } && test -s conftest.$ac_objext; then
14356 <  ac_cv_member_struct_sockaddr_in_sin_len=yes
14357 < else
14358 <  $as_echo "$as_me: failed program was:" >&5
14359 < sed 's/^/| /' conftest.$ac_ext >&5
14360 <
14361 <        ac_cv_member_struct_sockaddr_in_sin_len=no
14362 < fi
14363 <
14364 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14365 < fi
14366 <
14367 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14368 < fi
14369 < { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
14370 < $as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
14371 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then
12244 > "
12245 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12246  
12247   cat >>confdefs.h <<_ACEOF
12248   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 14379 | Line 12253 | fi
12253  
12254  
12255  
12256 <  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
12257 < $as_echo_n "checking for struct sockaddr_in6... " >&6; }
14384 < if test "${ac_cv_type_struct_sockaddr_in6+set}" = set; then
14385 <  $as_echo_n "(cached) " >&6
14386 < else
14387 <  ac_cv_type_struct_sockaddr_in6=no
14388 < cat >conftest.$ac_ext <<_ACEOF
14389 < /* confdefs.h.  */
14390 < _ACEOF
14391 < cat confdefs.h >>conftest.$ac_ext
14392 < cat >>conftest.$ac_ext <<_ACEOF
14393 < /* end confdefs.h.  */
14394 < $ac_includes_default
14395 < int
14396 < main ()
14397 < {
14398 < if (sizeof (struct sockaddr_in6))
14399 <       return 0;
14400 <  ;
14401 <  return 0;
14402 < }
14403 < _ACEOF
14404 < rm -f conftest.$ac_objext
14405 < if { (ac_try="$ac_compile"
14406 < case "(($ac_try" in
14407 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14408 <  *) ac_try_echo=$ac_try;;
14409 < esac
14410 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14411 < $as_echo "$ac_try_echo") >&5
14412 <  (eval "$ac_compile") 2>conftest.er1
14413 <  ac_status=$?
14414 <  grep -v '^ *+' conftest.er1 >conftest.err
14415 <  rm -f conftest.er1
14416 <  cat conftest.err >&5
14417 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 <  (exit $ac_status); } && {
14419 <         test -z "$ac_c_werror_flag" ||
14420 <         test ! -s conftest.err
14421 <       } && test -s conftest.$ac_objext; then
14422 <  cat >conftest.$ac_ext <<_ACEOF
14423 < /* confdefs.h.  */
14424 < _ACEOF
14425 < cat confdefs.h >>conftest.$ac_ext
14426 < cat >>conftest.$ac_ext <<_ACEOF
14427 < /* end confdefs.h.  */
14428 < $ac_includes_default
14429 < int
14430 < main ()
14431 < {
14432 < if (sizeof ((struct sockaddr_in6)))
14433 <          return 0;
14434 <  ;
14435 <  return 0;
14436 < }
14437 < _ACEOF
14438 < rm -f conftest.$ac_objext
14439 < if { (ac_try="$ac_compile"
14440 < case "(($ac_try" in
14441 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442 <  *) ac_try_echo=$ac_try;;
14443 < esac
14444 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14445 < $as_echo "$ac_try_echo") >&5
14446 <  (eval "$ac_compile") 2>conftest.er1
14447 <  ac_status=$?
14448 <  grep -v '^ *+' conftest.er1 >conftest.err
14449 <  rm -f conftest.er1
14450 <  cat conftest.err >&5
14451 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 <  (exit $ac_status); } && {
14453 <         test -z "$ac_c_werror_flag" ||
14454 <         test ! -s conftest.err
14455 <       } && test -s conftest.$ac_objext; then
14456 <  :
14457 < else
14458 <  $as_echo "$as_me: failed program was:" >&5
14459 < sed 's/^/| /' conftest.$ac_ext >&5
14460 <
14461 <        ac_cv_type_struct_sockaddr_in6=yes
14462 < fi
14463 <
14464 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14465 < else
14466 <  $as_echo "$as_me: failed program was:" >&5
14467 < sed 's/^/| /' conftest.$ac_ext >&5
14468 <
14469 <
14470 < fi
14471 <
14472 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14473 < fi
14474 < { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in6" >&5
14475 < $as_echo "$ac_cv_type_struct_sockaddr_in6" >&6; }
14476 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then
12256 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
12257 > if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
12258  
12259   cat >>confdefs.h <<_ACEOF
12260   #define HAVE_STRUCT_SOCKADDR_IN6 1
# Line 14482 | Line 12263 | _ACEOF
12263  
12264   else
12265  
12266 < cat >>confdefs.h <<\_ACEOF
14486 < #define IPV6 1
14487 < _ACEOF
12266 > $as_echo "#define IPV6 1" >>confdefs.h
12267  
12268   fi
12269  
# Line 14492 | Line 12271 | fi
12271  
12272  
12273   # Checks for typedefs, structures, and compiler characteristics.
12274 < { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12274 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12275   $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12276 < if test "${ac_cv_c_const+set}" = set; then
12276 > if test "${ac_cv_c_const+set}" = set; then :
12277    $as_echo_n "(cached) " >&6
12278   else
12279 <  cat >conftest.$ac_ext <<_ACEOF
14501 < /* confdefs.h.  */
14502 < _ACEOF
14503 < cat confdefs.h >>conftest.$ac_ext
14504 < cat >>conftest.$ac_ext <<_ACEOF
12279 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280   /* end confdefs.h.  */
12281  
12282   int
# Line 14561 | Line 12336 | main ()
12336    return 0;
12337   }
12338   _ACEOF
12339 < rm -f conftest.$ac_objext
14565 < if { (ac_try="$ac_compile"
14566 < case "(($ac_try" in
14567 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14568 <  *) ac_try_echo=$ac_try;;
14569 < esac
14570 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14571 < $as_echo "$ac_try_echo") >&5
14572 <  (eval "$ac_compile") 2>conftest.er1
14573 <  ac_status=$?
14574 <  grep -v '^ *+' conftest.er1 >conftest.err
14575 <  rm -f conftest.er1
14576 <  cat conftest.err >&5
14577 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 <  (exit $ac_status); } && {
14579 <         test -z "$ac_c_werror_flag" ||
14580 <         test ! -s conftest.err
14581 <       } && test -s conftest.$ac_objext; then
12339 > if ac_fn_c_try_compile "$LINENO"; then :
12340    ac_cv_c_const=yes
12341   else
12342 <  $as_echo "$as_me: failed program was:" >&5
14585 < sed 's/^/| /' conftest.$ac_ext >&5
14586 <
14587 <        ac_cv_c_const=no
12342 >  ac_cv_c_const=no
12343   fi
14589
12344   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12345   fi
12346 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12346 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12347   $as_echo "$ac_cv_c_const" >&6; }
12348   if test $ac_cv_c_const = no; then
12349  
12350 < cat >>confdefs.h <<\_ACEOF
14597 < #define const /**/
14598 < _ACEOF
12350 > $as_echo "#define const /**/" >>confdefs.h
12351  
12352   fi
12353  
12354 < { $as_echo "$as_me:$LINENO: checking for inline" >&5
12354 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12355   $as_echo_n "checking for inline... " >&6; }
12356 < if test "${ac_cv_c_inline+set}" = set; then
12356 > if test "${ac_cv_c_inline+set}" = set; then :
12357    $as_echo_n "(cached) " >&6
12358   else
12359    ac_cv_c_inline=no
12360   for ac_kw in inline __inline__ __inline; do
12361 <  cat >conftest.$ac_ext <<_ACEOF
14610 < /* confdefs.h.  */
14611 < _ACEOF
14612 < cat confdefs.h >>conftest.$ac_ext
14613 < cat >>conftest.$ac_ext <<_ACEOF
12361 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362   /* end confdefs.h.  */
12363   #ifndef __cplusplus
12364   typedef int foo_t;
# Line 14619 | Line 12367 | $ac_kw foo_t foo () {return 0; }
12367   #endif
12368  
12369   _ACEOF
12370 < rm -f conftest.$ac_objext
14623 < if { (ac_try="$ac_compile"
14624 < case "(($ac_try" in
14625 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14626 <  *) ac_try_echo=$ac_try;;
14627 < esac
14628 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14629 < $as_echo "$ac_try_echo") >&5
14630 <  (eval "$ac_compile") 2>conftest.er1
14631 <  ac_status=$?
14632 <  grep -v '^ *+' conftest.er1 >conftest.err
14633 <  rm -f conftest.er1
14634 <  cat conftest.err >&5
14635 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 <  (exit $ac_status); } && {
14637 <         test -z "$ac_c_werror_flag" ||
14638 <         test ! -s conftest.err
14639 <       } && test -s conftest.$ac_objext; then
12370 > if ac_fn_c_try_compile "$LINENO"; then :
12371    ac_cv_c_inline=$ac_kw
14641 else
14642  $as_echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.$ac_ext >&5
14644
14645
12372   fi
14647
12373   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374    test "$ac_cv_c_inline" != no && break
12375   done
12376  
12377   fi
12378 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12378 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12379   $as_echo "$ac_cv_c_inline" >&6; }
12380  
14656
12381   case $ac_cv_c_inline in
12382    inline | yes) ;;
12383    *)
# Line 14669 | Line 12393 | _ACEOF
12393      ;;
12394   esac
12395  
12396 <
14673 < { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
12396 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12397   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12398 < if test "${ac_cv_c_bigendian+set}" = set; then
12398 > if test "${ac_cv_c_bigendian+set}" = set; then :
12399    $as_echo_n "(cached) " >&6
12400   else
12401    ac_cv_c_bigendian=unknown
12402      # See if we're dealing with a universal compiler.
12403 <    cat >conftest.$ac_ext <<_ACEOF
14681 < /* confdefs.h.  */
14682 < _ACEOF
14683 < cat confdefs.h >>conftest.$ac_ext
14684 < cat >>conftest.$ac_ext <<_ACEOF
12403 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12404   /* end confdefs.h.  */
12405   #ifndef __APPLE_CC__
12406                 not a universal capable compiler
# Line 14689 | Line 12408 | cat >>conftest.$ac_ext <<_ACEOF
12408               typedef int dummy;
12409  
12410   _ACEOF
12411 < rm -f conftest.$ac_objext
14693 < if { (ac_try="$ac_compile"
14694 < case "(($ac_try" in
14695 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 <  *) ac_try_echo=$ac_try;;
14697 < esac
14698 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14699 < $as_echo "$ac_try_echo") >&5
14700 <  (eval "$ac_compile") 2>conftest.er1
14701 <  ac_status=$?
14702 <  grep -v '^ *+' conftest.er1 >conftest.err
14703 <  rm -f conftest.er1
14704 <  cat conftest.err >&5
14705 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 <  (exit $ac_status); } && {
14707 <         test -z "$ac_c_werror_flag" ||
14708 <         test ! -s conftest.err
14709 <       } && test -s conftest.$ac_objext; then
12411 > if ac_fn_c_try_compile "$LINENO"; then :
12412  
12413          # Check for potential -arch flags.  It is not universal unless
12414 <        # there are some -arch flags.  Note that *ppc* also matches
12415 <        # ppc64.  This check is also rather less than ideal.
12416 <        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
12417 <          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
12418 <        esac
12419 < else
12420 <  $as_echo "$as_me: failed program was:" >&5
12421 < sed 's/^/| /' conftest.$ac_ext >&5
12422 <
12423 <
12414 >        # there are at least two -arch flags with different values.
12415 >        ac_arch=
12416 >        ac_prev=
12417 >        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12418 >         if test -n "$ac_prev"; then
12419 >           case $ac_word in
12420 >             i?86 | x86_64 | ppc | ppc64)
12421 >               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12422 >                 ac_arch=$ac_word
12423 >               else
12424 >                 ac_cv_c_bigendian=universal
12425 >                 break
12426 >               fi
12427 >               ;;
12428 >           esac
12429 >           ac_prev=
12430 >         elif test "x$ac_word" = "x-arch"; then
12431 >           ac_prev=arch
12432 >         fi
12433 >       done
12434   fi
14723
12435   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12436      if test $ac_cv_c_bigendian = unknown; then
12437        # See if sys/param.h defines the BYTE_ORDER macro.
12438 <      cat >conftest.$ac_ext <<_ACEOF
14728 < /* confdefs.h.  */
14729 < _ACEOF
14730 < cat confdefs.h >>conftest.$ac_ext
14731 < cat >>conftest.$ac_ext <<_ACEOF
12438 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12439   /* end confdefs.h.  */
12440   #include <sys/types.h>
12441               #include <sys/param.h>
# Line 14746 | Line 12453 | main ()
12453    return 0;
12454   }
12455   _ACEOF
12456 < rm -f conftest.$ac_objext
14750 < if { (ac_try="$ac_compile"
14751 < case "(($ac_try" in
14752 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 <  *) ac_try_echo=$ac_try;;
14754 < esac
14755 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14756 < $as_echo "$ac_try_echo") >&5
14757 <  (eval "$ac_compile") 2>conftest.er1
14758 <  ac_status=$?
14759 <  grep -v '^ *+' conftest.er1 >conftest.err
14760 <  rm -f conftest.er1
14761 <  cat conftest.err >&5
14762 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 <  (exit $ac_status); } && {
14764 <         test -z "$ac_c_werror_flag" ||
14765 <         test ! -s conftest.err
14766 <       } && test -s conftest.$ac_objext; then
12456 > if ac_fn_c_try_compile "$LINENO"; then :
12457    # It does; now see whether it defined to BIG_ENDIAN or not.
12458 <         cat >conftest.$ac_ext <<_ACEOF
14769 < /* confdefs.h.  */
14770 < _ACEOF
14771 < cat confdefs.h >>conftest.$ac_ext
14772 < cat >>conftest.$ac_ext <<_ACEOF
12458 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459   /* end confdefs.h.  */
12460   #include <sys/types.h>
12461                  #include <sys/param.h>
# Line 14785 | Line 12471 | main ()
12471    return 0;
12472   }
12473   _ACEOF
12474 < rm -f conftest.$ac_objext
14789 < if { (ac_try="$ac_compile"
14790 < case "(($ac_try" in
14791 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14792 <  *) ac_try_echo=$ac_try;;
14793 < esac
14794 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14795 < $as_echo "$ac_try_echo") >&5
14796 <  (eval "$ac_compile") 2>conftest.er1
14797 <  ac_status=$?
14798 <  grep -v '^ *+' conftest.er1 >conftest.err
14799 <  rm -f conftest.er1
14800 <  cat conftest.err >&5
14801 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 <  (exit $ac_status); } && {
14803 <         test -z "$ac_c_werror_flag" ||
14804 <         test ! -s conftest.err
14805 <       } && test -s conftest.$ac_objext; then
12474 > if ac_fn_c_try_compile "$LINENO"; then :
12475    ac_cv_c_bigendian=yes
12476   else
12477 <  $as_echo "$as_me: failed program was:" >&5
14809 < sed 's/^/| /' conftest.$ac_ext >&5
14810 <
14811 <        ac_cv_c_bigendian=no
12477 >  ac_cv_c_bigendian=no
12478   fi
14813
12479   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14815 else
14816  $as_echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14818
14819
12480   fi
14821
12481   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12482      fi
12483      if test $ac_cv_c_bigendian = unknown; then
12484        # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12485 <      cat >conftest.$ac_ext <<_ACEOF
14827 < /* confdefs.h.  */
14828 < _ACEOF
14829 < cat confdefs.h >>conftest.$ac_ext
14830 < cat >>conftest.$ac_ext <<_ACEOF
12485 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486   /* end confdefs.h.  */
12487   #include <limits.h>
12488  
# Line 14842 | Line 12497 | main ()
12497    return 0;
12498   }
12499   _ACEOF
12500 < rm -f conftest.$ac_objext
14846 < if { (ac_try="$ac_compile"
14847 < case "(($ac_try" in
14848 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14849 <  *) ac_try_echo=$ac_try;;
14850 < esac
14851 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14852 < $as_echo "$ac_try_echo") >&5
14853 <  (eval "$ac_compile") 2>conftest.er1
14854 <  ac_status=$?
14855 <  grep -v '^ *+' conftest.er1 >conftest.err
14856 <  rm -f conftest.er1
14857 <  cat conftest.err >&5
14858 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 <  (exit $ac_status); } && {
14860 <         test -z "$ac_c_werror_flag" ||
14861 <         test ! -s conftest.err
14862 <       } && test -s conftest.$ac_objext; then
12500 > if ac_fn_c_try_compile "$LINENO"; then :
12501    # It does; now see whether it defined to _BIG_ENDIAN or not.
12502 <         cat >conftest.$ac_ext <<_ACEOF
14865 < /* confdefs.h.  */
14866 < _ACEOF
14867 < cat confdefs.h >>conftest.$ac_ext
14868 < cat >>conftest.$ac_ext <<_ACEOF
12502 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503   /* end confdefs.h.  */
12504   #include <limits.h>
12505  
# Line 14880 | Line 12514 | main ()
12514    return 0;
12515   }
12516   _ACEOF
12517 < rm -f conftest.$ac_objext
14884 < if { (ac_try="$ac_compile"
14885 < case "(($ac_try" in
14886 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14887 <  *) ac_try_echo=$ac_try;;
14888 < esac
14889 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14890 < $as_echo "$ac_try_echo") >&5
14891 <  (eval "$ac_compile") 2>conftest.er1
14892 <  ac_status=$?
14893 <  grep -v '^ *+' conftest.er1 >conftest.err
14894 <  rm -f conftest.er1
14895 <  cat conftest.err >&5
14896 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 <  (exit $ac_status); } && {
14898 <         test -z "$ac_c_werror_flag" ||
14899 <         test ! -s conftest.err
14900 <       } && test -s conftest.$ac_objext; then
12517 > if ac_fn_c_try_compile "$LINENO"; then :
12518    ac_cv_c_bigendian=yes
12519   else
12520 <  $as_echo "$as_me: failed program was:" >&5
14904 < sed 's/^/| /' conftest.$ac_ext >&5
14905 <
14906 <        ac_cv_c_bigendian=no
12520 >  ac_cv_c_bigendian=no
12521   fi
14908
12522   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14910 else
14911  $as_echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.$ac_ext >&5
14913
14914
12523   fi
14916
12524   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12525      fi
12526      if test $ac_cv_c_bigendian = unknown; then
12527        # Compile a test program.
12528 <      if test "$cross_compiling" = yes; then
12528 >      if test "$cross_compiling" = yes; then :
12529    # Try to guess by grepping values from an object file.
12530 <         cat >conftest.$ac_ext <<_ACEOF
14924 < /* confdefs.h.  */
14925 < _ACEOF
14926 < cat confdefs.h >>conftest.$ac_ext
14927 < cat >>conftest.$ac_ext <<_ACEOF
12530 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531   /* end confdefs.h.  */
12532   short int ascii_mm[] =
12533                    { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
# Line 14950 | Line 12553 | return use_ascii (foo) == use_ebcdic (fo
12553    return 0;
12554   }
12555   _ACEOF
12556 < rm -f conftest.$ac_objext
14954 < if { (ac_try="$ac_compile"
14955 < case "(($ac_try" in
14956 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14957 <  *) ac_try_echo=$ac_try;;
14958 < esac
14959 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14960 < $as_echo "$ac_try_echo") >&5
14961 <  (eval "$ac_compile") 2>conftest.er1
14962 <  ac_status=$?
14963 <  grep -v '^ *+' conftest.er1 >conftest.err
14964 <  rm -f conftest.er1
14965 <  cat conftest.err >&5
14966 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 <  (exit $ac_status); } && {
14968 <         test -z "$ac_c_werror_flag" ||
14969 <         test ! -s conftest.err
14970 <       } && test -s conftest.$ac_objext; then
12556 > if ac_fn_c_try_compile "$LINENO"; then :
12557    if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12558                ac_cv_c_bigendian=yes
12559              fi
# Line 14979 | Line 12565 | $as_echo "$ac_try_echo") >&5
12565                  ac_cv_c_bigendian=unknown
12566                fi
12567              fi
14982 else
14983  $as_echo "$as_me: failed program was:" >&5
14984 sed 's/^/| /' conftest.$ac_ext >&5
14985
14986
12568   fi
14988
12569   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12570   else
12571 <  cat >conftest.$ac_ext <<_ACEOF
14992 < /* confdefs.h.  */
14993 < _ACEOF
14994 < cat confdefs.h >>conftest.$ac_ext
14995 < cat >>conftest.$ac_ext <<_ACEOF
12571 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572   /* end confdefs.h.  */
12573   $ac_includes_default
12574   int
# Line 15012 | Line 12588 | main ()
12588    return 0;
12589   }
12590   _ACEOF
12591 < rm -f conftest$ac_exeext
15016 < if { (ac_try="$ac_link"
15017 < case "(($ac_try" in
15018 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15019 <  *) ac_try_echo=$ac_try;;
15020 < esac
15021 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15022 < $as_echo "$ac_try_echo") >&5
15023 <  (eval "$ac_link") 2>&5
15024 <  ac_status=$?
15025 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 <  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15027 <  { (case "(($ac_try" in
15028 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15029 <  *) ac_try_echo=$ac_try;;
15030 < esac
15031 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15032 < $as_echo "$ac_try_echo") >&5
15033 <  (eval "$ac_try") 2>&5
15034 <  ac_status=$?
15035 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 <  (exit $ac_status); }; }; then
12591 > if ac_fn_c_try_run "$LINENO"; then :
12592    ac_cv_c_bigendian=no
12593   else
12594 <  $as_echo "$as_me: program exited with status $ac_status" >&5
15040 < $as_echo "$as_me: failed program was:" >&5
15041 < sed 's/^/| /' conftest.$ac_ext >&5
15042 <
15043 < ( exit $ac_status )
15044 < ac_cv_c_bigendian=yes
12594 >  ac_cv_c_bigendian=yes
12595   fi
12596 < rm -rf conftest.dSYM
12597 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12596 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12597 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
12598   fi
12599  
15050
12600      fi
12601   fi
12602 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12602 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12603   $as_echo "$ac_cv_c_bigendian" >&6; }
12604   case $ac_cv_c_bigendian in #(
12605     yes)
12606 <     cat >>confdefs.h <<\_ACEOF
15058 < #define WORDS_BIGENDIAN 1
15059 < _ACEOF
12606 >     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12607   ;; #(
12608     no)
12609        ;; #(
12610     universal)
12611  
12612 < cat >>confdefs.h <<\_ACEOF
15066 < #define AC_APPLE_UNIVERSAL_BUILD 1
15067 < _ACEOF
12612 > $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12613  
12614       ;; #(
12615     *)
12616 <     { { $as_echo "$as_me:$LINENO: error: unknown endianness
12617 < presetting ac_cv_c_bigendian=no (or yes) will help" >&5
15073 < $as_echo "$as_me: error: unknown endianness
15074 < presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
15075 <   { (exit 1); exit 1; }; } ;;
12616 >     as_fn_error "unknown endianness
12617 > presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12618   esac
12619  
12620  
# Line 15080 | Line 12622 | $as_echo "$as_me: error: unknown endiann
12622   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12623   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12624   # This bug is HP SR number 8606223364.
12625 < { $as_echo "$as_me:$LINENO: checking size of int64_t" >&5
12625 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12626   $as_echo_n "checking size of int64_t... " >&6; }
12627 < if test "${ac_cv_sizeof_int64_t+set}" = set; then
12627 > if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12628    $as_echo_n "(cached) " >&6
12629   else
12630 <  if test "$cross_compiling" = yes; then
15089 <  # Depending upon the size, compute the lo and hi bounds.
15090 < cat >conftest.$ac_ext <<_ACEOF
15091 < /* confdefs.h.  */
15092 < _ACEOF
15093 < cat confdefs.h >>conftest.$ac_ext
15094 < cat >>conftest.$ac_ext <<_ACEOF
15095 < /* end confdefs.h.  */
15096 < $ac_includes_default
15097 < int
15098 < main ()
15099 < {
15100 < static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) >= 0)];
15101 < test_array [0] = 0
15102 <
15103 <  ;
15104 <  return 0;
15105 < }
15106 < _ACEOF
15107 < rm -f conftest.$ac_objext
15108 < if { (ac_try="$ac_compile"
15109 < case "(($ac_try" in
15110 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15111 <  *) ac_try_echo=$ac_try;;
15112 < esac
15113 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15114 < $as_echo "$ac_try_echo") >&5
15115 <  (eval "$ac_compile") 2>conftest.er1
15116 <  ac_status=$?
15117 <  grep -v '^ *+' conftest.er1 >conftest.err
15118 <  rm -f conftest.er1
15119 <  cat conftest.err >&5
15120 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 <  (exit $ac_status); } && {
15122 <         test -z "$ac_c_werror_flag" ||
15123 <         test ! -s conftest.err
15124 <       } && test -s conftest.$ac_objext; then
15125 <  ac_lo=0 ac_mid=0
15126 <  while :; do
15127 <    cat >conftest.$ac_ext <<_ACEOF
15128 < /* confdefs.h.  */
15129 < _ACEOF
15130 < cat confdefs.h >>conftest.$ac_ext
15131 < cat >>conftest.$ac_ext <<_ACEOF
15132 < /* end confdefs.h.  */
15133 < $ac_includes_default
15134 < int
15135 < main ()
15136 < {
15137 < static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= $ac_mid)];
15138 < test_array [0] = 0
12630 >  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12631  
15140  ;
15141  return 0;
15142 }
15143 _ACEOF
15144 rm -f conftest.$ac_objext
15145 if { (ac_try="$ac_compile"
15146 case "(($ac_try" in
15147  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15148  *) ac_try_echo=$ac_try;;
15149 esac
15150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15151 $as_echo "$ac_try_echo") >&5
15152  (eval "$ac_compile") 2>conftest.er1
15153  ac_status=$?
15154  grep -v '^ *+' conftest.er1 >conftest.err
15155  rm -f conftest.er1
15156  cat conftest.err >&5
15157  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158  (exit $ac_status); } && {
15159         test -z "$ac_c_werror_flag" ||
15160         test ! -s conftest.err
15161       } && test -s conftest.$ac_objext; then
15162  ac_hi=$ac_mid; break
12632   else
12633 <  $as_echo "$as_me: failed program was:" >&5
12634 < sed 's/^/| /' conftest.$ac_ext >&5
15166 <
15167 <        ac_lo=`expr $ac_mid + 1`
15168 <                        if test $ac_lo -le $ac_mid; then
15169 <                          ac_lo= ac_hi=
15170 <                          break
15171 <                        fi
15172 <                        ac_mid=`expr 2 '*' $ac_mid + 1`
15173 < fi
15174 <
15175 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15176 <  done
15177 < else
15178 <  $as_echo "$as_me: failed program was:" >&5
15179 < sed 's/^/| /' conftest.$ac_ext >&5
15180 <
15181 <        cat >conftest.$ac_ext <<_ACEOF
15182 < /* confdefs.h.  */
15183 < _ACEOF
15184 < cat confdefs.h >>conftest.$ac_ext
15185 < cat >>conftest.$ac_ext <<_ACEOF
15186 < /* end confdefs.h.  */
15187 < $ac_includes_default
15188 < int
15189 < main ()
15190 < {
15191 < static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) < 0)];
15192 < test_array [0] = 0
15193 <
15194 <  ;
15195 <  return 0;
15196 < }
15197 < _ACEOF
15198 < rm -f conftest.$ac_objext
15199 < if { (ac_try="$ac_compile"
15200 < case "(($ac_try" in
15201 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15202 <  *) ac_try_echo=$ac_try;;
15203 < esac
15204 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15205 < $as_echo "$ac_try_echo") >&5
15206 <  (eval "$ac_compile") 2>conftest.er1
15207 <  ac_status=$?
15208 <  grep -v '^ *+' conftest.er1 >conftest.err
15209 <  rm -f conftest.er1
15210 <  cat conftest.err >&5
15211 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 <  (exit $ac_status); } && {
15213 <         test -z "$ac_c_werror_flag" ||
15214 <         test ! -s conftest.err
15215 <       } && test -s conftest.$ac_objext; then
15216 <  ac_hi=-1 ac_mid=-1
15217 <  while :; do
15218 <    cat >conftest.$ac_ext <<_ACEOF
15219 < /* confdefs.h.  */
15220 < _ACEOF
15221 < cat confdefs.h >>conftest.$ac_ext
15222 < cat >>conftest.$ac_ext <<_ACEOF
15223 < /* end confdefs.h.  */
15224 < $ac_includes_default
15225 < int
15226 < main ()
15227 < {
15228 < static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) >= $ac_mid)];
15229 < test_array [0] = 0
15230 <
15231 <  ;
15232 <  return 0;
15233 < }
15234 < _ACEOF
15235 < rm -f conftest.$ac_objext
15236 < if { (ac_try="$ac_compile"
15237 < case "(($ac_try" in
15238 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15239 <  *) ac_try_echo=$ac_try;;
15240 < esac
15241 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15242 < $as_echo "$ac_try_echo") >&5
15243 <  (eval "$ac_compile") 2>conftest.er1
15244 <  ac_status=$?
15245 <  grep -v '^ *+' conftest.er1 >conftest.err
15246 <  rm -f conftest.er1
15247 <  cat conftest.err >&5
15248 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 <  (exit $ac_status); } && {
15250 <         test -z "$ac_c_werror_flag" ||
15251 <         test ! -s conftest.err
15252 <       } && test -s conftest.$ac_objext; then
15253 <  ac_lo=$ac_mid; break
15254 < else
15255 <  $as_echo "$as_me: failed program was:" >&5
15256 < sed 's/^/| /' conftest.$ac_ext >&5
15257 <
15258 <        ac_hi=`expr '(' $ac_mid ')' - 1`
15259 <                        if test $ac_mid -le $ac_hi; then
15260 <                          ac_lo= ac_hi=
15261 <                          break
15262 <                        fi
15263 <                        ac_mid=`expr 2 '*' $ac_mid`
15264 < fi
15265 <
15266 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15267 <  done
15268 < else
15269 <  $as_echo "$as_me: failed program was:" >&5
15270 < sed 's/^/| /' conftest.$ac_ext >&5
15271 <
15272 <        ac_lo= ac_hi=
15273 < fi
15274 <
15275 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15276 < fi
15277 <
15278 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15279 < # Binary search between lo and hi bounds.
15280 < while test "x$ac_lo" != "x$ac_hi"; do
15281 <  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15282 <  cat >conftest.$ac_ext <<_ACEOF
15283 < /* confdefs.h.  */
15284 < _ACEOF
15285 < cat confdefs.h >>conftest.$ac_ext
15286 < cat >>conftest.$ac_ext <<_ACEOF
15287 < /* end confdefs.h.  */
15288 < $ac_includes_default
15289 < int
15290 < main ()
15291 < {
15292 < static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= $ac_mid)];
15293 < test_array [0] = 0
15294 <
15295 <  ;
15296 <  return 0;
15297 < }
15298 < _ACEOF
15299 < rm -f conftest.$ac_objext
15300 < if { (ac_try="$ac_compile"
15301 < case "(($ac_try" in
15302 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15303 <  *) ac_try_echo=$ac_try;;
15304 < esac
15305 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15306 < $as_echo "$ac_try_echo") >&5
15307 <  (eval "$ac_compile") 2>conftest.er1
15308 <  ac_status=$?
15309 <  grep -v '^ *+' conftest.er1 >conftest.err
15310 <  rm -f conftest.er1
15311 <  cat conftest.err >&5
15312 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 <  (exit $ac_status); } && {
15314 <         test -z "$ac_c_werror_flag" ||
15315 <         test ! -s conftest.err
15316 <       } && test -s conftest.$ac_objext; then
15317 <  ac_hi=$ac_mid
15318 < else
15319 <  $as_echo "$as_me: failed program was:" >&5
15320 < sed 's/^/| /' conftest.$ac_ext >&5
15321 <
15322 <        ac_lo=`expr '(' $ac_mid ')' + 1`
15323 < fi
15324 <
15325 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15326 < done
15327 < case $ac_lo in
15328 < ?*) ac_cv_sizeof_int64_t=$ac_lo;;
15329 < '') if test "$ac_cv_type_int64_t" = yes; then
15330 <     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12633 >  if test "$ac_cv_type_int64_t" = yes; then
12634 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12635   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12636 < { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t)
12637 < See \`config.log' for more details." >&5
12638 < $as_echo "$as_me: error: cannot compute sizeof (int64_t)
15335 < See \`config.log' for more details." >&2;}
15336 <   { (exit 77); exit 77; }; }; }
15337 <   else
15338 <     ac_cv_sizeof_int64_t=0
15339 <   fi ;;
15340 < esac
15341 < else
15342 <  cat >conftest.$ac_ext <<_ACEOF
15343 < /* confdefs.h.  */
15344 < _ACEOF
15345 < cat confdefs.h >>conftest.$ac_ext
15346 < cat >>conftest.$ac_ext <<_ACEOF
15347 < /* end confdefs.h.  */
15348 < $ac_includes_default
15349 < static long int longval () { return (long int) (sizeof (int64_t)); }
15350 < static unsigned long int ulongval () { return (long int) (sizeof (int64_t)); }
15351 < #include <stdio.h>
15352 < #include <stdlib.h>
15353 < int
15354 < main ()
15355 < {
15356 <
15357 <  FILE *f = fopen ("conftest.val", "w");
15358 <  if (! f)
15359 <    return 1;
15360 <  if (((long int) (sizeof (int64_t))) < 0)
15361 <    {
15362 <      long int i = longval ();
15363 <      if (i != ((long int) (sizeof (int64_t))))
15364 <        return 1;
15365 <      fprintf (f, "%ld", i);
15366 <    }
15367 <  else
15368 <    {
15369 <      unsigned long int i = ulongval ();
15370 <      if (i != ((long int) (sizeof (int64_t))))
15371 <        return 1;
15372 <      fprintf (f, "%lu", i);
15373 <    }
15374 <  /* Do not output a trailing newline, as this causes \r\n confusion
15375 <     on some platforms.  */
15376 <  return ferror (f) || fclose (f) != 0;
15377 <
15378 <  ;
15379 <  return 0;
15380 < }
15381 < _ACEOF
15382 < rm -f conftest$ac_exeext
15383 < if { (ac_try="$ac_link"
15384 < case "(($ac_try" in
15385 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15386 <  *) ac_try_echo=$ac_try;;
15387 < esac
15388 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15389 < $as_echo "$ac_try_echo") >&5
15390 <  (eval "$ac_link") 2>&5
15391 <  ac_status=$?
15392 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 <  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15394 <  { (case "(($ac_try" in
15395 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15396 <  *) ac_try_echo=$ac_try;;
15397 < esac
15398 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15399 < $as_echo "$ac_try_echo") >&5
15400 <  (eval "$ac_try") 2>&5
15401 <  ac_status=$?
15402 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 <  (exit $ac_status); }; }; then
15404 <  ac_cv_sizeof_int64_t=`cat conftest.val`
15405 < else
15406 <  $as_echo "$as_me: program exited with status $ac_status" >&5
15407 < $as_echo "$as_me: failed program was:" >&5
15408 < sed 's/^/| /' conftest.$ac_ext >&5
15409 <
15410 < ( exit $ac_status )
15411 < if test "$ac_cv_type_int64_t" = yes; then
15412 <     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15413 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15414 < { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t)
15415 < See \`config.log' for more details." >&5
15416 < $as_echo "$as_me: error: cannot compute sizeof (int64_t)
15417 < See \`config.log' for more details." >&2;}
15418 <   { (exit 77); exit 77; }; }; }
12636 > { as_fn_set_status 77
12637 > as_fn_error "cannot compute sizeof (int64_t)
12638 > See \`config.log' for more details." "$LINENO" 5; }; }
12639     else
12640       ac_cv_sizeof_int64_t=0
12641     fi
12642   fi
12643 < rm -rf conftest.dSYM
15424 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15425 < fi
15426 < rm -f conftest.val
12643 >
12644   fi
12645 < { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int64_t" >&5
12645 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12646   $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12647  
12648  
# Line 15439 | Line 12656 | _ACEOF
12656   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12657   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12658   # This bug is HP SR number 8606223364.
12659 < { $as_echo "$as_me:$LINENO: checking size of long long" >&5
12659 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12660   $as_echo_n "checking size of long long... " >&6; }
12661 < if test "${ac_cv_sizeof_long_long+set}" = set; then
12661 > if test "${ac_cv_sizeof_long_long+set}" = set; then :
12662    $as_echo_n "(cached) " >&6
12663   else
12664 <  if test "$cross_compiling" = yes; then
15448 <  # Depending upon the size, compute the lo and hi bounds.
15449 < cat >conftest.$ac_ext <<_ACEOF
15450 < /* confdefs.h.  */
15451 < _ACEOF
15452 < cat confdefs.h >>conftest.$ac_ext
15453 < cat >>conftest.$ac_ext <<_ACEOF
15454 < /* end confdefs.h.  */
15455 < $ac_includes_default
15456 < int
15457 < main ()
15458 < {
15459 < static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
15460 < test_array [0] = 0
15461 <
15462 <  ;
15463 <  return 0;
15464 < }
15465 < _ACEOF
15466 < rm -f conftest.$ac_objext
15467 < if { (ac_try="$ac_compile"
15468 < case "(($ac_try" in
15469 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15470 <  *) ac_try_echo=$ac_try;;
15471 < esac
15472 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15473 < $as_echo "$ac_try_echo") >&5
15474 <  (eval "$ac_compile") 2>conftest.er1
15475 <  ac_status=$?
15476 <  grep -v '^ *+' conftest.er1 >conftest.err
15477 <  rm -f conftest.er1
15478 <  cat conftest.err >&5
15479 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 <  (exit $ac_status); } && {
15481 <         test -z "$ac_c_werror_flag" ||
15482 <         test ! -s conftest.err
15483 <       } && test -s conftest.$ac_objext; then
15484 <  ac_lo=0 ac_mid=0
15485 <  while :; do
15486 <    cat >conftest.$ac_ext <<_ACEOF
15487 < /* confdefs.h.  */
15488 < _ACEOF
15489 < cat confdefs.h >>conftest.$ac_ext
15490 < cat >>conftest.$ac_ext <<_ACEOF
15491 < /* end confdefs.h.  */
15492 < $ac_includes_default
15493 < int
15494 < main ()
15495 < {
15496 < static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
15497 < test_array [0] = 0
15498 <
15499 <  ;
15500 <  return 0;
15501 < }
15502 < _ACEOF
15503 < rm -f conftest.$ac_objext
15504 < if { (ac_try="$ac_compile"
15505 < case "(($ac_try" in
15506 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15507 <  *) ac_try_echo=$ac_try;;
15508 < esac
15509 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15510 < $as_echo "$ac_try_echo") >&5
15511 <  (eval "$ac_compile") 2>conftest.er1
15512 <  ac_status=$?
15513 <  grep -v '^ *+' conftest.er1 >conftest.err
15514 <  rm -f conftest.er1
15515 <  cat conftest.err >&5
15516 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 <  (exit $ac_status); } && {
15518 <         test -z "$ac_c_werror_flag" ||
15519 <         test ! -s conftest.err
15520 <       } && test -s conftest.$ac_objext; then
15521 <  ac_hi=$ac_mid; break
15522 < else
15523 <  $as_echo "$as_me: failed program was:" >&5
15524 < sed 's/^/| /' conftest.$ac_ext >&5
15525 <
15526 <        ac_lo=`expr $ac_mid + 1`
15527 <                        if test $ac_lo -le $ac_mid; then
15528 <                          ac_lo= ac_hi=
15529 <                          break
15530 <                        fi
15531 <                        ac_mid=`expr 2 '*' $ac_mid + 1`
15532 < fi
12664 >  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12665  
15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15535  done
12666   else
12667 <  $as_echo "$as_me: failed program was:" >&5
12668 < sed 's/^/| /' conftest.$ac_ext >&5
15539 <
15540 <        cat >conftest.$ac_ext <<_ACEOF
15541 < /* confdefs.h.  */
15542 < _ACEOF
15543 < cat confdefs.h >>conftest.$ac_ext
15544 < cat >>conftest.$ac_ext <<_ACEOF
15545 < /* end confdefs.h.  */
15546 < $ac_includes_default
15547 < int
15548 < main ()
15549 < {
15550 < static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
15551 < test_array [0] = 0
15552 <
15553 <  ;
15554 <  return 0;
15555 < }
15556 < _ACEOF
15557 < rm -f conftest.$ac_objext
15558 < if { (ac_try="$ac_compile"
15559 < case "(($ac_try" in
15560 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15561 <  *) ac_try_echo=$ac_try;;
15562 < esac
15563 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15564 < $as_echo "$ac_try_echo") >&5
15565 <  (eval "$ac_compile") 2>conftest.er1
15566 <  ac_status=$?
15567 <  grep -v '^ *+' conftest.er1 >conftest.err
15568 <  rm -f conftest.er1
15569 <  cat conftest.err >&5
15570 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 <  (exit $ac_status); } && {
15572 <         test -z "$ac_c_werror_flag" ||
15573 <         test ! -s conftest.err
15574 <       } && test -s conftest.$ac_objext; then
15575 <  ac_hi=-1 ac_mid=-1
15576 <  while :; do
15577 <    cat >conftest.$ac_ext <<_ACEOF
15578 < /* confdefs.h.  */
15579 < _ACEOF
15580 < cat confdefs.h >>conftest.$ac_ext
15581 < cat >>conftest.$ac_ext <<_ACEOF
15582 < /* end confdefs.h.  */
15583 < $ac_includes_default
15584 < int
15585 < main ()
15586 < {
15587 < static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
15588 < test_array [0] = 0
15589 <
15590 <  ;
15591 <  return 0;
15592 < }
15593 < _ACEOF
15594 < rm -f conftest.$ac_objext
15595 < if { (ac_try="$ac_compile"
15596 < case "(($ac_try" in
15597 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15598 <  *) ac_try_echo=$ac_try;;
15599 < esac
15600 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15601 < $as_echo "$ac_try_echo") >&5
15602 <  (eval "$ac_compile") 2>conftest.er1
15603 <  ac_status=$?
15604 <  grep -v '^ *+' conftest.er1 >conftest.err
15605 <  rm -f conftest.er1
15606 <  cat conftest.err >&5
15607 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 <  (exit $ac_status); } && {
15609 <         test -z "$ac_c_werror_flag" ||
15610 <         test ! -s conftest.err
15611 <       } && test -s conftest.$ac_objext; then
15612 <  ac_lo=$ac_mid; break
15613 < else
15614 <  $as_echo "$as_me: failed program was:" >&5
15615 < sed 's/^/| /' conftest.$ac_ext >&5
15616 <
15617 <        ac_hi=`expr '(' $ac_mid ')' - 1`
15618 <                        if test $ac_mid -le $ac_hi; then
15619 <                          ac_lo= ac_hi=
15620 <                          break
15621 <                        fi
15622 <                        ac_mid=`expr 2 '*' $ac_mid`
15623 < fi
15624 <
15625 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15626 <  done
15627 < else
15628 <  $as_echo "$as_me: failed program was:" >&5
15629 < sed 's/^/| /' conftest.$ac_ext >&5
15630 <
15631 <        ac_lo= ac_hi=
15632 < fi
15633 <
15634 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15635 < fi
15636 <
15637 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15638 < # Binary search between lo and hi bounds.
15639 < while test "x$ac_lo" != "x$ac_hi"; do
15640 <  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15641 <  cat >conftest.$ac_ext <<_ACEOF
15642 < /* confdefs.h.  */
15643 < _ACEOF
15644 < cat confdefs.h >>conftest.$ac_ext
15645 < cat >>conftest.$ac_ext <<_ACEOF
15646 < /* end confdefs.h.  */
15647 < $ac_includes_default
15648 < int
15649 < main ()
15650 < {
15651 < static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
15652 < test_array [0] = 0
15653 <
15654 <  ;
15655 <  return 0;
15656 < }
15657 < _ACEOF
15658 < rm -f conftest.$ac_objext
15659 < if { (ac_try="$ac_compile"
15660 < case "(($ac_try" in
15661 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15662 <  *) ac_try_echo=$ac_try;;
15663 < esac
15664 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15665 < $as_echo "$ac_try_echo") >&5
15666 <  (eval "$ac_compile") 2>conftest.er1
15667 <  ac_status=$?
15668 <  grep -v '^ *+' conftest.er1 >conftest.err
15669 <  rm -f conftest.er1
15670 <  cat conftest.err >&5
15671 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 <  (exit $ac_status); } && {
15673 <         test -z "$ac_c_werror_flag" ||
15674 <         test ! -s conftest.err
15675 <       } && test -s conftest.$ac_objext; then
15676 <  ac_hi=$ac_mid
15677 < else
15678 <  $as_echo "$as_me: failed program was:" >&5
15679 < sed 's/^/| /' conftest.$ac_ext >&5
15680 <
15681 <        ac_lo=`expr '(' $ac_mid ')' + 1`
15682 < fi
15683 <
15684 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15685 < done
15686 < case $ac_lo in
15687 < ?*) ac_cv_sizeof_long_long=$ac_lo;;
15688 < '') if test "$ac_cv_type_long_long" = yes; then
15689 <     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12667 >  if test "$ac_cv_type_long_long" = yes; then
12668 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12669   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12670 < { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
12671 < See \`config.log' for more details." >&5
12672 < $as_echo "$as_me: error: cannot compute sizeof (long long)
15694 < See \`config.log' for more details." >&2;}
15695 <   { (exit 77); exit 77; }; }; }
15696 <   else
15697 <     ac_cv_sizeof_long_long=0
15698 <   fi ;;
15699 < esac
15700 < else
15701 <  cat >conftest.$ac_ext <<_ACEOF
15702 < /* confdefs.h.  */
15703 < _ACEOF
15704 < cat confdefs.h >>conftest.$ac_ext
15705 < cat >>conftest.$ac_ext <<_ACEOF
15706 < /* end confdefs.h.  */
15707 < $ac_includes_default
15708 < static long int longval () { return (long int) (sizeof (long long)); }
15709 < static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
15710 < #include <stdio.h>
15711 < #include <stdlib.h>
15712 < int
15713 < main ()
15714 < {
15715 <
15716 <  FILE *f = fopen ("conftest.val", "w");
15717 <  if (! f)
15718 <    return 1;
15719 <  if (((long int) (sizeof (long long))) < 0)
15720 <    {
15721 <      long int i = longval ();
15722 <      if (i != ((long int) (sizeof (long long))))
15723 <        return 1;
15724 <      fprintf (f, "%ld", i);
15725 <    }
15726 <  else
15727 <    {
15728 <      unsigned long int i = ulongval ();
15729 <      if (i != ((long int) (sizeof (long long))))
15730 <        return 1;
15731 <      fprintf (f, "%lu", i);
15732 <    }
15733 <  /* Do not output a trailing newline, as this causes \r\n confusion
15734 <     on some platforms.  */
15735 <  return ferror (f) || fclose (f) != 0;
15736 <
15737 <  ;
15738 <  return 0;
15739 < }
15740 < _ACEOF
15741 < rm -f conftest$ac_exeext
15742 < if { (ac_try="$ac_link"
15743 < case "(($ac_try" in
15744 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15745 <  *) ac_try_echo=$ac_try;;
15746 < esac
15747 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15748 < $as_echo "$ac_try_echo") >&5
15749 <  (eval "$ac_link") 2>&5
15750 <  ac_status=$?
15751 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 <  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15753 <  { (case "(($ac_try" in
15754 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15755 <  *) ac_try_echo=$ac_try;;
15756 < esac
15757 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15758 < $as_echo "$ac_try_echo") >&5
15759 <  (eval "$ac_try") 2>&5
15760 <  ac_status=$?
15761 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 <  (exit $ac_status); }; }; then
15763 <  ac_cv_sizeof_long_long=`cat conftest.val`
15764 < else
15765 <  $as_echo "$as_me: program exited with status $ac_status" >&5
15766 < $as_echo "$as_me: failed program was:" >&5
15767 < sed 's/^/| /' conftest.$ac_ext >&5
15768 <
15769 < ( exit $ac_status )
15770 < if test "$ac_cv_type_long_long" = yes; then
15771 <     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15772 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15773 < { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
15774 < See \`config.log' for more details." >&5
15775 < $as_echo "$as_me: error: cannot compute sizeof (long long)
15776 < See \`config.log' for more details." >&2;}
15777 <   { (exit 77); exit 77; }; }; }
12670 > { as_fn_set_status 77
12671 > as_fn_error "cannot compute sizeof (long long)
12672 > See \`config.log' for more details." "$LINENO" 5; }; }
12673     else
12674       ac_cv_sizeof_long_long=0
12675     fi
12676   fi
12677 < rm -rf conftest.dSYM
15783 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15784 < fi
15785 < rm -f conftest.val
12677 >
12678   fi
12679 < { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
12679 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12680   $as_echo "$ac_cv_sizeof_long_long" >&6; }
12681  
12682  
# Line 15796 | Line 12688 | _ACEOF
12688  
12689  
12690   if test "$ac_cv_sizeof_int64_t" = 8; then
12691 <  { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
12692 < $as_echo_n "checking for uint64_t... " >&6; }
15801 < if test "${ac_cv_type_uint64_t+set}" = set; then
15802 <  $as_echo_n "(cached) " >&6
15803 < else
15804 <  ac_cv_type_uint64_t=no
15805 < cat >conftest.$ac_ext <<_ACEOF
15806 < /* confdefs.h.  */
15807 < _ACEOF
15808 < cat confdefs.h >>conftest.$ac_ext
15809 < cat >>conftest.$ac_ext <<_ACEOF
15810 < /* end confdefs.h.  */
15811 < $ac_includes_default
15812 < int
15813 < main ()
15814 < {
15815 < if (sizeof (uint64_t))
15816 <       return 0;
15817 <  ;
15818 <  return 0;
15819 < }
15820 < _ACEOF
15821 < rm -f conftest.$ac_objext
15822 < if { (ac_try="$ac_compile"
15823 < case "(($ac_try" in
15824 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15825 <  *) ac_try_echo=$ac_try;;
15826 < esac
15827 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15828 < $as_echo "$ac_try_echo") >&5
15829 <  (eval "$ac_compile") 2>conftest.er1
15830 <  ac_status=$?
15831 <  grep -v '^ *+' conftest.er1 >conftest.err
15832 <  rm -f conftest.er1
15833 <  cat conftest.err >&5
15834 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 <  (exit $ac_status); } && {
15836 <         test -z "$ac_c_werror_flag" ||
15837 <         test ! -s conftest.err
15838 <       } && test -s conftest.$ac_objext; then
15839 <  cat >conftest.$ac_ext <<_ACEOF
15840 < /* confdefs.h.  */
15841 < _ACEOF
15842 < cat confdefs.h >>conftest.$ac_ext
15843 < cat >>conftest.$ac_ext <<_ACEOF
15844 < /* end confdefs.h.  */
15845 < $ac_includes_default
15846 < int
15847 < main ()
15848 < {
15849 < if (sizeof ((uint64_t)))
15850 <          return 0;
15851 <  ;
15852 <  return 0;
15853 < }
15854 < _ACEOF
15855 < rm -f conftest.$ac_objext
15856 < if { (ac_try="$ac_compile"
15857 < case "(($ac_try" in
15858 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15859 <  *) ac_try_echo=$ac_try;;
15860 < esac
15861 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15862 < $as_echo "$ac_try_echo") >&5
15863 <  (eval "$ac_compile") 2>conftest.er1
15864 <  ac_status=$?
15865 <  grep -v '^ *+' conftest.er1 >conftest.err
15866 <  rm -f conftest.er1
15867 <  cat conftest.err >&5
15868 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 <  (exit $ac_status); } && {
15870 <         test -z "$ac_c_werror_flag" ||
15871 <         test ! -s conftest.err
15872 <       } && test -s conftest.$ac_objext; then
15873 <  :
15874 < else
15875 <  $as_echo "$as_me: failed program was:" >&5
15876 < sed 's/^/| /' conftest.$ac_ext >&5
12691 >  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12692 > if test "x$ac_cv_type_uint64_t" = x""yes; then :
12693  
15878        ac_cv_type_uint64_t=yes
12694   fi
12695  
12696 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12697 < else
15883 <  $as_echo "$as_me: failed program was:" >&5
15884 < sed 's/^/| /' conftest.$ac_ext >&5
12696 >  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12697 > if test "x$ac_cv_type_int64_t" = x""yes; then :
12698  
15886
15887 fi
15888
15889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12699   fi
15891 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15892 $as_echo "$ac_cv_type_uint64_t" >&6; }
15893
15894  { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
15895 $as_echo_n "checking for int64_t... " >&6; }
15896 if test "${ac_cv_type_int64_t+set}" = set; then
15897  $as_echo_n "(cached) " >&6
15898 else
15899  ac_cv_type_int64_t=no
15900 cat >conftest.$ac_ext <<_ACEOF
15901 /* confdefs.h.  */
15902 _ACEOF
15903 cat confdefs.h >>conftest.$ac_ext
15904 cat >>conftest.$ac_ext <<_ACEOF
15905 /* end confdefs.h.  */
15906 $ac_includes_default
15907 int
15908 main ()
15909 {
15910 if (sizeof (int64_t))
15911       return 0;
15912  ;
15913  return 0;
15914 }
15915 _ACEOF
15916 rm -f conftest.$ac_objext
15917 if { (ac_try="$ac_compile"
15918 case "(($ac_try" in
15919  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15920  *) ac_try_echo=$ac_try;;
15921 esac
15922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15923 $as_echo "$ac_try_echo") >&5
15924  (eval "$ac_compile") 2>conftest.er1
15925  ac_status=$?
15926  grep -v '^ *+' conftest.er1 >conftest.err
15927  rm -f conftest.er1
15928  cat conftest.err >&5
15929  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930  (exit $ac_status); } && {
15931         test -z "$ac_c_werror_flag" ||
15932         test ! -s conftest.err
15933       } && test -s conftest.$ac_objext; then
15934  cat >conftest.$ac_ext <<_ACEOF
15935 /* confdefs.h.  */
15936 _ACEOF
15937 cat confdefs.h >>conftest.$ac_ext
15938 cat >>conftest.$ac_ext <<_ACEOF
15939 /* end confdefs.h.  */
15940 $ac_includes_default
15941 int
15942 main ()
15943 {
15944 if (sizeof ((int64_t)))
15945          return 0;
15946  ;
15947  return 0;
15948 }
15949 _ACEOF
15950 rm -f conftest.$ac_objext
15951 if { (ac_try="$ac_compile"
15952 case "(($ac_try" in
15953  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15954  *) ac_try_echo=$ac_try;;
15955 esac
15956 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15957 $as_echo "$ac_try_echo") >&5
15958  (eval "$ac_compile") 2>conftest.er1
15959  ac_status=$?
15960  grep -v '^ *+' conftest.er1 >conftest.err
15961  rm -f conftest.er1
15962  cat conftest.err >&5
15963  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964  (exit $ac_status); } && {
15965         test -z "$ac_c_werror_flag" ||
15966         test ! -s conftest.err
15967       } && test -s conftest.$ac_objext; then
15968  :
15969 else
15970  $as_echo "$as_me: failed program was:" >&5
15971 sed 's/^/| /' conftest.$ac_ext >&5
15972
15973        ac_cv_type_int64_t=yes
15974 fi
15975
15976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15977 else
15978  $as_echo "$as_me: failed program was:" >&5
15979 sed 's/^/| /' conftest.$ac_ext >&5
15980
15981
15982 fi
15983
15984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15985 fi
15986 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
15987 $as_echo "$ac_cv_type_int64_t" >&6; }
12700  
12701   elif test "$ac_cv_sizeof_long_long" = 8; then
12702 <  { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
12703 < $as_echo_n "checking for uint64_t... " >&6; }
15992 < if test "${ac_cv_type_uint64_t+set}" = set; then
15993 <  $as_echo_n "(cached) " >&6
15994 < else
15995 <  ac_cv_type_uint64_t=no
15996 < cat >conftest.$ac_ext <<_ACEOF
15997 < /* confdefs.h.  */
15998 < _ACEOF
15999 < cat confdefs.h >>conftest.$ac_ext
16000 < cat >>conftest.$ac_ext <<_ACEOF
16001 < /* end confdefs.h.  */
16002 < $ac_includes_default
16003 < int
16004 < main ()
16005 < {
16006 < if (sizeof (uint64_t))
16007 <       return 0;
16008 <  ;
16009 <  return 0;
16010 < }
16011 < _ACEOF
16012 < rm -f conftest.$ac_objext
16013 < if { (ac_try="$ac_compile"
16014 < case "(($ac_try" in
16015 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16016 <  *) ac_try_echo=$ac_try;;
16017 < esac
16018 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16019 < $as_echo "$ac_try_echo") >&5
16020 <  (eval "$ac_compile") 2>conftest.er1
16021 <  ac_status=$?
16022 <  grep -v '^ *+' conftest.er1 >conftest.err
16023 <  rm -f conftest.er1
16024 <  cat conftest.err >&5
16025 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 <  (exit $ac_status); } && {
16027 <         test -z "$ac_c_werror_flag" ||
16028 <         test ! -s conftest.err
16029 <       } && test -s conftest.$ac_objext; then
16030 <  cat >conftest.$ac_ext <<_ACEOF
16031 < /* confdefs.h.  */
16032 < _ACEOF
16033 < cat confdefs.h >>conftest.$ac_ext
16034 < cat >>conftest.$ac_ext <<_ACEOF
16035 < /* end confdefs.h.  */
16036 < $ac_includes_default
16037 < int
16038 < main ()
16039 < {
16040 < if (sizeof ((uint64_t)))
16041 <          return 0;
16042 <  ;
16043 <  return 0;
16044 < }
16045 < _ACEOF
16046 < rm -f conftest.$ac_objext
16047 < if { (ac_try="$ac_compile"
16048 < case "(($ac_try" in
16049 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16050 <  *) ac_try_echo=$ac_try;;
16051 < esac
16052 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16053 < $as_echo "$ac_try_echo") >&5
16054 <  (eval "$ac_compile") 2>conftest.er1
16055 <  ac_status=$?
16056 <  grep -v '^ *+' conftest.er1 >conftest.err
16057 <  rm -f conftest.er1
16058 <  cat conftest.err >&5
16059 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 <  (exit $ac_status); } && {
16061 <         test -z "$ac_c_werror_flag" ||
16062 <         test ! -s conftest.err
16063 <       } && test -s conftest.$ac_objext; then
16064 <  :
16065 < else
16066 <  $as_echo "$as_me: failed program was:" >&5
16067 < sed 's/^/| /' conftest.$ac_ext >&5
16068 <
16069 <        ac_cv_type_uint64_t=yes
16070 < fi
16071 <
16072 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16073 < else
16074 <  $as_echo "$as_me: failed program was:" >&5
16075 < sed 's/^/| /' conftest.$ac_ext >&5
16076 <
16077 <
16078 < fi
12702 >  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12703 > if test "x$ac_cv_type_uint64_t" = x""yes; then :
12704  
16080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16081 fi
16082 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16083 $as_echo "$ac_cv_type_uint64_t" >&6; }
16084 if test "x$ac_cv_type_uint64_t" = x""yes; then
16085  :
12705   else
12706  
12707   cat >>confdefs.h <<_ACEOF
# Line 16091 | Line 12710 | _ACEOF
12710  
12711   fi
12712  
12713 <  { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
12714 < $as_echo_n "checking for int64_t... " >&6; }
16096 < if test "${ac_cv_type_int64_t+set}" = set; then
16097 <  $as_echo_n "(cached) " >&6
16098 < else
16099 <  ac_cv_type_int64_t=no
16100 < cat >conftest.$ac_ext <<_ACEOF
16101 < /* confdefs.h.  */
16102 < _ACEOF
16103 < cat confdefs.h >>conftest.$ac_ext
16104 < cat >>conftest.$ac_ext <<_ACEOF
16105 < /* end confdefs.h.  */
16106 < $ac_includes_default
16107 < int
16108 < main ()
16109 < {
16110 < if (sizeof (int64_t))
16111 <       return 0;
16112 <  ;
16113 <  return 0;
16114 < }
16115 < _ACEOF
16116 < rm -f conftest.$ac_objext
16117 < if { (ac_try="$ac_compile"
16118 < case "(($ac_try" in
16119 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16120 <  *) ac_try_echo=$ac_try;;
16121 < esac
16122 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16123 < $as_echo "$ac_try_echo") >&5
16124 <  (eval "$ac_compile") 2>conftest.er1
16125 <  ac_status=$?
16126 <  grep -v '^ *+' conftest.er1 >conftest.err
16127 <  rm -f conftest.er1
16128 <  cat conftest.err >&5
16129 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 <  (exit $ac_status); } && {
16131 <         test -z "$ac_c_werror_flag" ||
16132 <         test ! -s conftest.err
16133 <       } && test -s conftest.$ac_objext; then
16134 <  cat >conftest.$ac_ext <<_ACEOF
16135 < /* confdefs.h.  */
16136 < _ACEOF
16137 < cat confdefs.h >>conftest.$ac_ext
16138 < cat >>conftest.$ac_ext <<_ACEOF
16139 < /* end confdefs.h.  */
16140 < $ac_includes_default
16141 < int
16142 < main ()
16143 < {
16144 < if (sizeof ((int64_t)))
16145 <          return 0;
16146 <  ;
16147 <  return 0;
16148 < }
16149 < _ACEOF
16150 < rm -f conftest.$ac_objext
16151 < if { (ac_try="$ac_compile"
16152 < case "(($ac_try" in
16153 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16154 <  *) ac_try_echo=$ac_try;;
16155 < esac
16156 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16157 < $as_echo "$ac_try_echo") >&5
16158 <  (eval "$ac_compile") 2>conftest.er1
16159 <  ac_status=$?
16160 <  grep -v '^ *+' conftest.er1 >conftest.err
16161 <  rm -f conftest.er1
16162 <  cat conftest.err >&5
16163 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 <  (exit $ac_status); } && {
16165 <         test -z "$ac_c_werror_flag" ||
16166 <         test ! -s conftest.err
16167 <       } && test -s conftest.$ac_objext; then
16168 <  :
16169 < else
16170 <  $as_echo "$as_me: failed program was:" >&5
16171 < sed 's/^/| /' conftest.$ac_ext >&5
16172 <
16173 <        ac_cv_type_int64_t=yes
16174 < fi
16175 <
16176 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16177 < else
16178 <  $as_echo "$as_me: failed program was:" >&5
16179 < sed 's/^/| /' conftest.$ac_ext >&5
16180 <
16181 <
16182 < fi
12713 >  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12714 > if test "x$ac_cv_type_int64_t" = x""yes; then :
12715  
16184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16185 fi
16186 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
16187 $as_echo "$ac_cv_type_int64_t" >&6; }
16188 if test "x$ac_cv_type_int64_t" = x""yes; then
16189  :
12716   else
12717  
12718   cat >>confdefs.h <<_ACEOF
# Line 16196 | Line 12722 | _ACEOF
12722   fi
12723  
12724   else
12725 <  { { $as_echo "$as_me:$LINENO: error: Your system doesn't appear to have 64 bit integers.  Aborting." >&5
16200 < $as_echo "$as_me: error: Your system doesn't appear to have 64 bit integers.  Aborting." >&2;}
16201 <   { (exit 1); exit 1; }; }
12725 >  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12726   fi
12727  
12728  
# Line 16206 | Line 12730 | fi
12730  
12731  
12732  
12733 <
12734 < for ac_func in $ac_func_list
12735 < do
12736 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12737 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12738 < $as_echo_n "checking for $ac_func... " >&6; }
16215 < if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16216 <  $as_echo_n "(cached) " >&6
16217 < else
16218 <  cat >conftest.$ac_ext <<_ACEOF
16219 < /* confdefs.h.  */
16220 < _ACEOF
16221 < cat confdefs.h >>conftest.$ac_ext
16222 < cat >>conftest.$ac_ext <<_ACEOF
16223 < /* end confdefs.h.  */
16224 < /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16225 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16226 < #define $ac_func innocuous_$ac_func
16227 <
16228 < /* System header to define __stub macros and hopefully few prototypes,
16229 <    which can conflict with char $ac_func (); below.
16230 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16231 <    <limits.h> exists even on freestanding compilers.  */
16232 <
16233 < #ifdef __STDC__
16234 < # include <limits.h>
16235 < #else
16236 < # include <assert.h>
16237 < #endif
16238 <
16239 < #undef $ac_func
16240 <
16241 < /* Override any GCC internal prototype to avoid an error.
16242 <   Use char because int might match the return type of a GCC
16243 <   builtin and then its argument prototype would still apply.  */
16244 < #ifdef __cplusplus
16245 < extern "C"
16246 < #endif
16247 < char $ac_func ();
16248 < /* The GNU C library defines this for functions which it implements
16249 <    to always fail with ENOSYS.  Some functions are actually named
16250 <    something starting with __ and the normal name is an alias.  */
16251 < #if defined __stub_$ac_func || defined __stub___$ac_func
16252 < choke me
16253 < #endif
16254 <
16255 < int
16256 < main ()
16257 < {
16258 < return $ac_func ();
16259 <  ;
16260 <  return 0;
16261 < }
16262 < _ACEOF
16263 < rm -f conftest.$ac_objext conftest$ac_exeext
16264 < if { (ac_try="$ac_link"
16265 < case "(($ac_try" in
16266 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16267 <  *) ac_try_echo=$ac_try;;
16268 < esac
16269 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16270 < $as_echo "$ac_try_echo") >&5
16271 <  (eval "$ac_link") 2>conftest.er1
16272 <  ac_status=$?
16273 <  grep -v '^ *+' conftest.er1 >conftest.err
16274 <  rm -f conftest.er1
16275 <  cat conftest.err >&5
16276 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 <  (exit $ac_status); } && {
16278 <         test -z "$ac_c_werror_flag" ||
16279 <         test ! -s conftest.err
16280 <       } && test -s conftest$ac_exeext && {
16281 <         test "$cross_compiling" = yes ||
16282 <         $as_test_x conftest$ac_exeext
16283 <       }; then
16284 <  eval "$as_ac_var=yes"
16285 < else
16286 <  $as_echo "$as_me: failed program was:" >&5
16287 < sed 's/^/| /' conftest.$ac_ext >&5
16288 <
16289 <        eval "$as_ac_var=no"
16290 < fi
16291 <
16292 < rm -rf conftest.dSYM
16293 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16294 <      conftest$ac_exeext conftest.$ac_ext
16295 < fi
16296 < ac_res=`eval 'as_val=${'$as_ac_var'}
16297 <                 $as_echo "$as_val"'`
16298 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16299 < $as_echo "$ac_res" >&6; }
16300 < as_val=`eval 'as_val=${'$as_ac_var'}
16301 <                 $as_echo "$as_val"'`
16302 <   if test "x$as_val" = x""yes; then
12733 >  for ac_func in $ac_func_list
12734 > do :
12735 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12736 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12737 > eval as_val=\$$as_ac_var
12738 >   if test "x$as_val" = x""yes; then :
12739    cat >>confdefs.h <<_ACEOF
12740   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12741   _ACEOF
# Line 16323 | Line 12759 | done
12759  
12760  
12761  
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
12762   # Checks for header files.
12763  
12764  
12765  
12766 <
12767 < for ac_header in $ac_header_list
12768 < do
12769 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12770 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12771 <  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12772 < $as_echo_n "checking for $ac_header... " >&6; }
16366 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16367 <  $as_echo_n "(cached) " >&6
16368 < fi
16369 < ac_res=`eval 'as_val=${'$as_ac_Header'}
16370 <                 $as_echo "$as_val"'`
16371 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16372 < $as_echo "$ac_res" >&6; }
16373 < else
16374 <  # Is the header compilable?
16375 < { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16376 < $as_echo_n "checking $ac_header usability... " >&6; }
16377 < cat >conftest.$ac_ext <<_ACEOF
16378 < /* confdefs.h.  */
16379 < _ACEOF
16380 < cat confdefs.h >>conftest.$ac_ext
16381 < cat >>conftest.$ac_ext <<_ACEOF
16382 < /* end confdefs.h.  */
16383 < $ac_includes_default
16384 < #include <$ac_header>
16385 < _ACEOF
16386 < rm -f conftest.$ac_objext
16387 < if { (ac_try="$ac_compile"
16388 < case "(($ac_try" in
16389 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16390 <  *) ac_try_echo=$ac_try;;
16391 < esac
16392 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16393 < $as_echo "$ac_try_echo") >&5
16394 <  (eval "$ac_compile") 2>conftest.er1
16395 <  ac_status=$?
16396 <  grep -v '^ *+' conftest.er1 >conftest.err
16397 <  rm -f conftest.er1
16398 <  cat conftest.err >&5
16399 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 <  (exit $ac_status); } && {
16401 <         test -z "$ac_c_werror_flag" ||
16402 <         test ! -s conftest.err
16403 <       } && test -s conftest.$ac_objext; then
16404 <  ac_header_compiler=yes
16405 < else
16406 <  $as_echo "$as_me: failed program was:" >&5
16407 < sed 's/^/| /' conftest.$ac_ext >&5
16408 <
16409 <        ac_header_compiler=no
16410 < fi
16411 <
16412 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16413 < { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16414 < $as_echo "$ac_header_compiler" >&6; }
16415 <
16416 < # Is the header present?
16417 < { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16418 < $as_echo_n "checking $ac_header presence... " >&6; }
16419 < cat >conftest.$ac_ext <<_ACEOF
16420 < /* confdefs.h.  */
16421 < _ACEOF
16422 < cat confdefs.h >>conftest.$ac_ext
16423 < cat >>conftest.$ac_ext <<_ACEOF
16424 < /* end confdefs.h.  */
16425 < #include <$ac_header>
16426 < _ACEOF
16427 < if { (ac_try="$ac_cpp conftest.$ac_ext"
16428 < case "(($ac_try" in
16429 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16430 <  *) ac_try_echo=$ac_try;;
16431 < esac
16432 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16433 < $as_echo "$ac_try_echo") >&5
16434 <  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16435 <  ac_status=$?
16436 <  grep -v '^ *+' conftest.er1 >conftest.err
16437 <  rm -f conftest.er1
16438 <  cat conftest.err >&5
16439 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 <  (exit $ac_status); } >/dev/null && {
16441 <         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16442 <         test ! -s conftest.err
16443 <       }; then
16444 <  ac_header_preproc=yes
16445 < else
16446 <  $as_echo "$as_me: failed program was:" >&5
16447 < sed 's/^/| /' conftest.$ac_ext >&5
16448 <
16449 <  ac_header_preproc=no
16450 < fi
16451 <
16452 < rm -f conftest.err conftest.$ac_ext
16453 < { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16454 < $as_echo "$ac_header_preproc" >&6; }
16455 <
16456 < # So?  What about this header?
16457 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16458 <  yes:no: )
16459 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16460 < $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16461 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16462 < $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16463 <    ac_header_preproc=yes
16464 <    ;;
16465 <  no:yes:* )
16466 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16467 < $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16468 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16469 < $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16470 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16471 < $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16472 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16473 < $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16474 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16475 < $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16476 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16477 < $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16478 <
16479 <    ;;
16480 < esac
16481 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16482 < $as_echo_n "checking for $ac_header... " >&6; }
16483 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16484 <  $as_echo_n "(cached) " >&6
16485 < else
16486 <  eval "$as_ac_Header=\$ac_header_preproc"
16487 < fi
16488 < ac_res=`eval 'as_val=${'$as_ac_Header'}
16489 <                 $as_echo "$as_val"'`
16490 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16491 < $as_echo "$ac_res" >&6; }
16492 <
16493 < fi
16494 < as_val=`eval 'as_val=${'$as_ac_Header'}
16495 <                 $as_echo "$as_val"'`
16496 <   if test "x$as_val" = x""yes; then
12766 >  for ac_header in $ac_header_list
12767 > do :
12768 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12769 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12770 > "
12771 > eval as_val=\$$as_ac_Header
12772 >   if test "x$as_val" = x""yes; then :
12773    cat >>confdefs.h <<_ACEOF
12774   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12775   _ACEOF
# Line 16532 | Line 12808 | done
12808  
12809  
12810  
12811 <
16536 <
16537 <
16538 <
16539 <
16540 <
16541 <
16542 <
16543 <
16544 <
16545 <
16546 <
16547 <
16548 <
16549 <
16550 <
16551 <
16552 <
16553 <
16554 <
16555 <
16556 <
16557 <
16558 <
16559 <
16560 <
16561 <
16562 <
16563 <
16564 <
16565 <
16566 < { $as_echo "$as_me:$LINENO: checking for /dev/null" >&5
12811 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12812   $as_echo_n "checking for /dev/null... " >&6; }
12813   if test -c /dev/null ; then
12814  
12815 < cat >>confdefs.h <<\_ACEOF
16571 < #define PATH_DEVNULL "/dev/null"
16572 < _ACEOF
12815 > $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12816  
12817 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
12817 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12818   $as_echo "yes" >&6; }
12819   else
12820  
12821 < cat >>confdefs.h <<\_ACEOF
16579 < #define PATH_DEVNULL "devnull.log"
16580 < _ACEOF
12821 > $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12822  
12823 <  { $as_echo "$as_me:$LINENO: result: no - using devnull.log" >&5
12823 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12824   $as_echo "no - using devnull.log" >&6; }
12825   fi
12826  
12827  
12828 < { $as_echo "$as_me:$LINENO: checking for library containing crypt" >&5
12828 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
12829   $as_echo_n "checking for library containing crypt... " >&6; }
12830 < if test "${ac_cv_search_crypt+set}" = set; then
12830 > if test "${ac_cv_search_crypt+set}" = set; then :
12831    $as_echo_n "(cached) " >&6
12832   else
12833    ac_func_search_save_LIBS=$LIBS
12834 < cat >conftest.$ac_ext <<_ACEOF
16594 < /* confdefs.h.  */
16595 < _ACEOF
16596 < cat confdefs.h >>conftest.$ac_ext
16597 < cat >>conftest.$ac_ext <<_ACEOF
12834 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835   /* end confdefs.h.  */
12836  
12837   /* Override any GCC internal prototype to avoid an error.
# Line 16612 | Line 12849 | return crypt ();
12849    return 0;
12850   }
12851   _ACEOF
12852 < for ac_lib in '' crypt descrypt; do
12852 > for ac_lib in '' crypt; do
12853    if test -z "$ac_lib"; then
12854      ac_res="none required"
12855    else
12856      ac_res=-l$ac_lib
12857      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12858    fi
12859 <  rm -f conftest.$ac_objext conftest$ac_exeext
16623 < if { (ac_try="$ac_link"
16624 < case "(($ac_try" in
16625 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16626 <  *) ac_try_echo=$ac_try;;
16627 < esac
16628 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16629 < $as_echo "$ac_try_echo") >&5
16630 <  (eval "$ac_link") 2>conftest.er1
16631 <  ac_status=$?
16632 <  grep -v '^ *+' conftest.er1 >conftest.err
16633 <  rm -f conftest.er1
16634 <  cat conftest.err >&5
16635 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 <  (exit $ac_status); } && {
16637 <         test -z "$ac_c_werror_flag" ||
16638 <         test ! -s conftest.err
16639 <       } && test -s conftest$ac_exeext && {
16640 <         test "$cross_compiling" = yes ||
16641 <         $as_test_x conftest$ac_exeext
16642 <       }; then
12859 >  if ac_fn_c_try_link "$LINENO"; then :
12860    ac_cv_search_crypt=$ac_res
16644 else
16645  $as_echo "$as_me: failed program was:" >&5
16646 sed 's/^/| /' conftest.$ac_ext >&5
16647
16648
12861   fi
12862 <
12863 < rm -rf conftest.dSYM
12864 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16653 <      conftest$ac_exeext
16654 <  if test "${ac_cv_search_crypt+set}" = set; then
12862 > rm -f core conftest.err conftest.$ac_objext \
12863 >    conftest$ac_exeext
12864 >  if test "${ac_cv_search_crypt+set}" = set; then :
12865    break
12866   fi
12867   done
12868 < if test "${ac_cv_search_crypt+set}" = set; then
12869 <  :
12868 > if test "${ac_cv_search_crypt+set}" = set; then :
12869 >
12870   else
12871    ac_cv_search_crypt=no
12872   fi
12873   rm conftest.$ac_ext
12874   LIBS=$ac_func_search_save_LIBS
12875   fi
12876 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
12876 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
12877   $as_echo "$ac_cv_search_crypt" >&6; }
12878   ac_res=$ac_cv_search_crypt
12879 < if test "$ac_res" != no; then
12879 > if test "$ac_res" != no; then :
12880    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12881  
12882   fi
12883  
16674 if test "$ac_cv_search_crypt" = "none required"; then
16675  HAVE_CRYPT_TRUE=
16676  HAVE_CRYPT_FALSE='#'
16677 else
16678  HAVE_CRYPT_TRUE='#'
16679  HAVE_CRYPT_FALSE=
16680 fi
16681
12884  
12885  
12886  
12887   # Check whether --with-zlib-path was given.
12888 < if test "${with_zlib_path+set}" = set; then
12888 > if test "${with_zlib_path+set}" = set; then :
12889    withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12890   fi
12891  
12892  
12893   # Check whether --enable-zlib was given.
12894 < if test "${enable_zlib+set}" = set; then
12894 > if test "${enable_zlib+set}" = set; then :
12895    enableval=$enable_zlib; zlib=$enableval
12896   else
12897    zlib=yes
# Line 16697 | Line 12899 | fi
12899  
12900  
12901   if test "$zlib" = yes; then
12902 <  if test "${ac_cv_header_zlib_h+set}" = set; then
12903 <  { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
12904 < $as_echo_n "checking for zlib.h... " >&6; }
16703 < if test "${ac_cv_header_zlib_h+set}" = set; then
16704 <  $as_echo_n "(cached) " >&6
16705 < fi
16706 < { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
16707 < $as_echo "$ac_cv_header_zlib_h" >&6; }
16708 < else
16709 <  # Is the header compilable?
16710 < { $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
16711 < $as_echo_n "checking zlib.h usability... " >&6; }
16712 < cat >conftest.$ac_ext <<_ACEOF
16713 < /* confdefs.h.  */
16714 < _ACEOF
16715 < cat confdefs.h >>conftest.$ac_ext
16716 < cat >>conftest.$ac_ext <<_ACEOF
16717 < /* end confdefs.h.  */
16718 < $ac_includes_default
16719 < #include <zlib.h>
16720 < _ACEOF
16721 < rm -f conftest.$ac_objext
16722 < if { (ac_try="$ac_compile"
16723 < case "(($ac_try" in
16724 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16725 <  *) ac_try_echo=$ac_try;;
16726 < esac
16727 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16728 < $as_echo "$ac_try_echo") >&5
16729 <  (eval "$ac_compile") 2>conftest.er1
16730 <  ac_status=$?
16731 <  grep -v '^ *+' conftest.er1 >conftest.err
16732 <  rm -f conftest.er1
16733 <  cat conftest.err >&5
16734 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 <  (exit $ac_status); } && {
16736 <         test -z "$ac_c_werror_flag" ||
16737 <         test ! -s conftest.err
16738 <       } && test -s conftest.$ac_objext; then
16739 <  ac_header_compiler=yes
16740 < else
16741 <  $as_echo "$as_me: failed program was:" >&5
16742 < sed 's/^/| /' conftest.$ac_ext >&5
16743 <
16744 <        ac_header_compiler=no
16745 < fi
16746 <
16747 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16748 < { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16749 < $as_echo "$ac_header_compiler" >&6; }
16750 <
16751 < # Is the header present?
16752 < { $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
16753 < $as_echo_n "checking zlib.h presence... " >&6; }
16754 < cat >conftest.$ac_ext <<_ACEOF
16755 < /* confdefs.h.  */
16756 < _ACEOF
16757 < cat confdefs.h >>conftest.$ac_ext
16758 < cat >>conftest.$ac_ext <<_ACEOF
16759 < /* end confdefs.h.  */
16760 < #include <zlib.h>
16761 < _ACEOF
16762 < if { (ac_try="$ac_cpp conftest.$ac_ext"
16763 < case "(($ac_try" in
16764 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 <  *) ac_try_echo=$ac_try;;
16766 < esac
16767 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16768 < $as_echo "$ac_try_echo") >&5
16769 <  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16770 <  ac_status=$?
16771 <  grep -v '^ *+' conftest.er1 >conftest.err
16772 <  rm -f conftest.er1
16773 <  cat conftest.err >&5
16774 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 <  (exit $ac_status); } >/dev/null && {
16776 <         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16777 <         test ! -s conftest.err
16778 <       }; then
16779 <  ac_header_preproc=yes
16780 < else
16781 <  $as_echo "$as_me: failed program was:" >&5
16782 < sed 's/^/| /' conftest.$ac_ext >&5
16783 <
16784 <  ac_header_preproc=no
16785 < fi
16786 <
16787 < rm -f conftest.err conftest.$ac_ext
16788 < { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16789 < $as_echo "$ac_header_preproc" >&6; }
16790 <
16791 < # So?  What about this header?
16792 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16793 <  yes:no: )
16794 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16795 < $as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16796 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
16797 < $as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
16798 <    ac_header_preproc=yes
16799 <    ;;
16800 <  no:yes:* )
16801 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
16802 < $as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
16803 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
16804 < $as_echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
16805 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
16806 < $as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
16807 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
16808 < $as_echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
16809 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
16810 < $as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
16811 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
16812 < $as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
16813 <
16814 <    ;;
16815 < esac
16816 < { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
16817 < $as_echo_n "checking for zlib.h... " >&6; }
16818 < if test "${ac_cv_header_zlib_h+set}" = set; then
16819 <  $as_echo_n "(cached) " >&6
16820 < else
16821 <  ac_cv_header_zlib_h=$ac_header_preproc
16822 < fi
16823 < { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
16824 < $as_echo "$ac_cv_header_zlib_h" >&6; }
16825 <
16826 < fi
16827 < if test "x$ac_cv_header_zlib_h" = x""yes; then
16828 <  { $as_echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5
12902 >  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12903 > if test "x$ac_cv_header_zlib_h" = x""yes; then :
12904 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12905   $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12906 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
12906 > if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12907    $as_echo_n "(cached) " >&6
12908   else
12909    ac_check_lib_save_LIBS=$LIBS
12910   LIBS="-lz  $LIBS"
12911 < cat >conftest.$ac_ext <<_ACEOF
16836 < /* confdefs.h.  */
16837 < _ACEOF
16838 < cat confdefs.h >>conftest.$ac_ext
16839 < cat >>conftest.$ac_ext <<_ACEOF
12911 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12912   /* end confdefs.h.  */
12913  
12914   /* Override any GCC internal prototype to avoid an error.
# Line 16854 | Line 12926 | return zlibVersion ();
12926    return 0;
12927   }
12928   _ACEOF
12929 < rm -f conftest.$ac_objext conftest$ac_exeext
16858 < if { (ac_try="$ac_link"
16859 < case "(($ac_try" in
16860 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16861 <  *) ac_try_echo=$ac_try;;
16862 < esac
16863 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16864 < $as_echo "$ac_try_echo") >&5
16865 <  (eval "$ac_link") 2>conftest.er1
16866 <  ac_status=$?
16867 <  grep -v '^ *+' conftest.er1 >conftest.err
16868 <  rm -f conftest.er1
16869 <  cat conftest.err >&5
16870 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 <  (exit $ac_status); } && {
16872 <         test -z "$ac_c_werror_flag" ||
16873 <         test ! -s conftest.err
16874 <       } && test -s conftest$ac_exeext && {
16875 <         test "$cross_compiling" = yes ||
16876 <         $as_test_x conftest$ac_exeext
16877 <       }; then
12929 > if ac_fn_c_try_link "$LINENO"; then :
12930    ac_cv_lib_z_zlibVersion=yes
12931   else
12932 <  $as_echo "$as_me: failed program was:" >&5
16881 < sed 's/^/| /' conftest.$ac_ext >&5
16882 <
16883 <        ac_cv_lib_z_zlibVersion=no
12932 >  ac_cv_lib_z_zlibVersion=no
12933   fi
12934 <
12935 < rm -rf conftest.dSYM
16887 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16888 <      conftest$ac_exeext conftest.$ac_ext
12934 > rm -f core conftest.err conftest.$ac_objext \
12935 >    conftest$ac_exeext conftest.$ac_ext
12936   LIBS=$ac_check_lib_save_LIBS
12937   fi
12938 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
12938 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12939   $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12940 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then
12940 > if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12941  
12942        LIBS="-lz $LIBS"
12943  
12944 < cat >>confdefs.h <<\_ACEOF
16898 < #define HAVE_LIBZ 1
16899 < _ACEOF
12944 > $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12945  
12946  
12947   else
# Line 16913 | Line 12958 | fi
12958  
12959  
12960   # Check whether --enable-openssl was given.
12961 < if test "${enable_openssl+set}" = set; then
12961 > if test "${enable_openssl+set}" = set; then :
12962    enableval=$enable_openssl;  cf_enable_openssl=$enableval
12963   else
12964     cf_enable_openssl="auto"
12965   fi
12966  
12967 < { $as_echo "$as_me:$LINENO: checking for OpenSSL" >&5
12967 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
12968   $as_echo_n "checking for OpenSSL... " >&6; }
12969   if test "$cf_enable_openssl" != "no"; then
12970    cf_openssl_basedir=""
# Line 16952 | Line 12997 | if test "$cf_enable_openssl" != "no"; th
12997  
12998        if test ! -z "$cf_openssl_basedir"; then
12999      LIBS="-lcrypto -lssl $LIBS"
13000 <    { $as_echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5
13000 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13001   $as_echo "$cf_openssl_basedir" >&6; }
13002      cf_enable_openssl="yes"
13003  
13004 < cat >>confdefs.h <<\_ACEOF
16960 < #define HAVE_LIBCRYPTO 1
16961 < _ACEOF
13004 > $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13005  
13006    else
13007 <    { $as_echo "$as_me:$LINENO: result: not found.  Please check your path." >&5
13007 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
13008   $as_echo "not found.  Please check your path." >&6; }
13009      cf_enable_openssl="no"
13010    fi
13011    unset cf_openssl_basedir
13012   else
13013 <    { $as_echo "$as_me:$LINENO: result: disabled" >&5
13013 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13014   $as_echo "disabled" >&6; }
13015   fi
13016   if test "$cf_enable_openssl" = yes; then
# Line 16981 | Line 13024 | fi
13024  
13025  
13026   # Check whether --enable-assert was given.
13027 < if test "${enable_assert+set}" = set; then
13027 > if test "${enable_assert+set}" = set; then :
13028    enableval=$enable_assert; assert=$enableval
13029   else
13030    assert=no
# Line 16989 | Line 13032 | fi
13032  
13033   if test "$assert" = no; then
13034  
13035 < cat >>confdefs.h <<\_ACEOF
16993 < #define NDEBUG 1
16994 < _ACEOF
13035 > $as_echo "#define NDEBUG 1" >>confdefs.h
13036  
13037   fi
13038  
13039  
13040   # Check whether --enable-small-net was given.
13041 < if test "${enable_small_net+set}" = set; then
13041 > if test "${enable_small_net+set}" = set; then :
13042    enableval=$enable_small_net; small_net=$enableval
13043   else
13044    small_net=no
# Line 17006 | Line 13047 | fi
13047  
13048   if test "$small_net" = yes; then
13049  
13050 < cat >>confdefs.h <<\_ACEOF
17010 < #define NICKNAMEHISTORYLENGTH 1500
17011 < _ACEOF
13050 > $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13051  
13052  
13053 < cat >>confdefs.h <<\_ACEOF
17015 < #define CHANNEL_HEAP_SIZE 256
17016 < _ACEOF
13053 > $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13054  
13055  
13056 < cat >>confdefs.h <<\_ACEOF
17020 < #define BAN_HEAP_SIZE 128
17021 < _ACEOF
13056 > $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13057  
13058  
13059 < cat >>confdefs.h <<\_ACEOF
17025 < #define CLIENT_HEAP_SIZE 256
17026 < _ACEOF
13059 > $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13060  
13061  
13062 < cat >>confdefs.h <<\_ACEOF
17030 < #define LCLIENT_HEAP_SIZE 128
17031 < _ACEOF
13062 > $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13063  
13064  
13065 < cat >>confdefs.h <<\_ACEOF
17035 < #define DNODE_HEAP_SIZE 256
17036 < _ACEOF
13065 > $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13066  
13067  
13068 < cat >>confdefs.h <<\_ACEOF
17040 < #define TOPIC_HEAP_SIZE 256
17041 < _ACEOF
13068 > $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13069  
13070  
13071 < cat >>confdefs.h <<\_ACEOF
13072 < #define DBUF_HEAP_SIZE 64
13073 < _ACEOF
13071 > $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13072 >
13073 >
13074 > $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13075 >
13076 >
13077 > $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13078  
13079   else
13080  
13081 < cat >>confdefs.h <<\_ACEOF
17051 < #define NICKNAMEHISTORYLENGTH 15000
17052 < _ACEOF
13081 > $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13082  
13083  
13084 < cat >>confdefs.h <<\_ACEOF
17056 < #define CHANNEL_HEAP_SIZE 1024
17057 < _ACEOF
13084 > $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13085  
13086  
13087 < cat >>confdefs.h <<\_ACEOF
17061 < #define BAN_HEAP_SIZE 1024
17062 < _ACEOF
13087 > $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13088  
13089  
13090 < cat >>confdefs.h <<\_ACEOF
17066 < #define CLIENT_HEAP_SIZE 1024
17067 < _ACEOF
13090 > $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13091  
13092  
13093 < cat >>confdefs.h <<\_ACEOF
17071 < #define LCLIENT_HEAP_SIZE 512
17072 < _ACEOF
13093 > $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13094  
13095  
13096 < cat >>confdefs.h <<\_ACEOF
17076 < #define DNODE_HEAP_SIZE 1024
17077 < _ACEOF
13096 > $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13097  
13098  
13099 < cat >>confdefs.h <<\_ACEOF
17081 < #define TOPIC_HEAP_SIZE 1024
17082 < _ACEOF
13099 > $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13100  
13101  
13102 < cat >>confdefs.h <<\_ACEOF
13103 < #define DBUF_HEAP_SIZE 512
13104 < _ACEOF
13102 > $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13103 >
13104 >
13105 > $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13106 >
13107 >
13108 > $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13109  
13110   fi
13111  
# Line 17093 | Line 13114 | fi
13114  
13115      desired_iopoll_mechanism="none"
13116      # Check whether --enable-kqueue was given.
13117 < if test "${enable_kqueue+set}" = set; then
13117 > if test "${enable_kqueue+set}" = set; then :
13118    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
13119   fi
13120  
13121    # Check whether --enable-epoll was given.
13122 < if test "${enable_epoll+set}" = set; then
13122 > if test "${enable_epoll+set}" = set; then :
13123    enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
13124   fi
13125  
13126    # Check whether --enable-devpoll was given.
13127 < if test "${enable_devpoll+set}" = set; then
13127 > if test "${enable_devpoll+set}" = set; then :
13128    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13129   fi
13130  
13131    # Check whether --enable-rtsigio was given.
13132 < if test "${enable_rtsigio+set}" = set; then
13132 > if test "${enable_rtsigio+set}" = set; then :
13133    enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13134   fi
13135  
13136    # Check whether --enable-poll was given.
13137 < if test "${enable_poll+set}" = set; then
13137 > if test "${enable_poll+set}" = set; then :
13138    enableval=$enable_poll; desired_iopoll_mechanism="poll"
13139   fi
13140  
13141    # Check whether --enable-select was given.
13142 < if test "${enable_select+set}" = set; then
13142 > if test "${enable_select+set}" = set; then :
13143    enableval=$enable_select; desired_iopoll_mechanism="select"
13144   fi
13145  
13146 <      { $as_echo "$as_me:$LINENO: checking for optimal/desired iopoll mechanism" >&5
13146 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13147   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13148    iopoll_mechanism_none=0
13149  
# Line 17136 | Line 13157 | cat >>confdefs.h <<_ACEOF
13157   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
13158   _ACEOF
13159  
13160 <  cat >conftest.$ac_ext <<_ACEOF
17140 < /* confdefs.h.  */
17141 < _ACEOF
17142 < cat confdefs.h >>conftest.$ac_ext
17143 < cat >>conftest.$ac_ext <<_ACEOF
13160 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13161   /* end confdefs.h.  */
13162   /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
13163     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17181 | Line 13198 | return kevent ();
13198    return 0;
13199   }
13200   _ACEOF
13201 < rm -f conftest.$ac_objext conftest$ac_exeext
17185 < if { (ac_try="$ac_link"
17186 < case "(($ac_try" in
17187 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17188 <  *) ac_try_echo=$ac_try;;
17189 < esac
17190 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17191 < $as_echo "$ac_try_echo") >&5
17192 <  (eval "$ac_link") 2>conftest.er1
17193 <  ac_status=$?
17194 <  grep -v '^ *+' conftest.er1 >conftest.err
17195 <  rm -f conftest.er1
17196 <  cat conftest.err >&5
17197 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 <  (exit $ac_status); } && {
17199 <         test -z "$ac_c_werror_flag" ||
17200 <         test ! -s conftest.err
17201 <       } && test -s conftest$ac_exeext && {
17202 <         test "$cross_compiling" = yes ||
17203 <         $as_test_x conftest$ac_exeext
17204 <       }; then
13201 > if ac_fn_c_try_link "$LINENO"; then :
13202    is_kqueue_mechanism_available="yes"
13203   else
13204 <  $as_echo "$as_me: failed program was:" >&5
17208 < sed 's/^/| /' conftest.$ac_ext >&5
17209 <
17210 <        is_kqueue_mechanism_available="no"
13204 >  is_kqueue_mechanism_available="no"
13205   fi
13206 <
13207 < rm -rf conftest.dSYM
17214 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17215 <      conftest$ac_exeext conftest.$ac_ext
13206 > rm -f core conftest.err conftest.$ac_objext \
13207 >    conftest$ac_exeext conftest.$ac_ext
13208        iopoll_mechanism_epoll=2
13209  
13210   cat >>confdefs.h <<_ACEOF
13211   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
13212   _ACEOF
13213  
13214 <  if test "$cross_compiling" = yes; then
13215 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13214 >  if test "$cross_compiling" = yes; then :
13215 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13216   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13217 < { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13218 < See \`config.log' for more details." >&5
17227 < $as_echo "$as_me: error: cannot run test program while cross compiling
17228 < See \`config.log' for more details." >&2;}
17229 <   { (exit 1); exit 1; }; }; }
13217 > as_fn_error "cannot run test program while cross compiling
13218 > See \`config.log' for more details." "$LINENO" 5; }
13219   else
13220 <  cat >conftest.$ac_ext <<_ACEOF
13220 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13221 > /* end confdefs.h.  */
13222  
13223   #include <sys/epoll.h>
13224   #include <sys/syscall.h>
# Line 17261 | Line 13251 | _syscall1(int, epoll_create, int, size)
13251   main() { return epoll_create(256) == -1 ? 1 : 0; }
13252  
13253   _ACEOF
13254 < rm -f conftest$ac_exeext
17265 < if { (ac_try="$ac_link"
17266 < case "(($ac_try" in
17267 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17268 <  *) ac_try_echo=$ac_try;;
17269 < esac
17270 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17271 < $as_echo "$ac_try_echo") >&5
17272 <  (eval "$ac_link") 2>&5
17273 <  ac_status=$?
17274 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 <  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17276 <  { (case "(($ac_try" in
17277 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17278 <  *) ac_try_echo=$ac_try;;
17279 < esac
17280 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17281 < $as_echo "$ac_try_echo") >&5
17282 <  (eval "$ac_try") 2>&5
17283 <  ac_status=$?
17284 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 <  (exit $ac_status); }; }; then
13254 > if ac_fn_c_try_run "$LINENO"; then :
13255    is_epoll_mechanism_available="yes"
13256   else
13257 <  $as_echo "$as_me: program exited with status $ac_status" >&5
17289 < $as_echo "$as_me: failed program was:" >&5
17290 < sed 's/^/| /' conftest.$ac_ext >&5
17291 <
17292 < ( exit $ac_status )
17293 < is_epoll_mechanism_available="no"
13257 >  is_epoll_mechanism_available="no"
13258   fi
13259 < rm -rf conftest.dSYM
13260 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13259 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13260 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13261   fi
13262  
17299
13263        iopoll_mechanism_devpoll=3
13264  
13265   cat >>confdefs.h <<_ACEOF
13266   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
13267   _ACEOF
13268  
13269 <  cat >conftest.$ac_ext <<_ACEOF
17307 < /* confdefs.h.  */
17308 < _ACEOF
17309 < cat confdefs.h >>conftest.$ac_ext
17310 < cat >>conftest.$ac_ext <<_ACEOF
13269 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13270   /* end confdefs.h.  */
13271   #include <devpoll.h>
13272   int
# Line 17318 | Line 13277 | main ()
13277    return 0;
13278   }
13279   _ACEOF
13280 < rm -f conftest.$ac_objext
17322 < if { (ac_try="$ac_compile"
17323 < case "(($ac_try" in
17324 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17325 <  *) ac_try_echo=$ac_try;;
17326 < esac
17327 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17328 < $as_echo "$ac_try_echo") >&5
17329 <  (eval "$ac_compile") 2>conftest.er1
17330 <  ac_status=$?
17331 <  grep -v '^ *+' conftest.er1 >conftest.err
17332 <  rm -f conftest.er1
17333 <  cat conftest.err >&5
17334 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 <  (exit $ac_status); } && {
17336 <         test -z "$ac_c_werror_flag" ||
17337 <         test ! -s conftest.err
17338 <       } && test -s conftest.$ac_objext; then
13280 > if ac_fn_c_try_compile "$LINENO"; then :
13281    is_devpoll_mechanism_available="yes"
13282   else
13283 <  $as_echo "$as_me: failed program was:" >&5
17342 < sed 's/^/| /' conftest.$ac_ext >&5
17343 <
17344 <        is_devpoll_mechanism_available="no"
13283 >  is_devpoll_mechanism_available="no"
13284   fi
17346
13285   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13286    if test "$is_devpoll_mechanism_available" = "yes" ; then
13287  
13288 < cat >>confdefs.h <<\_ACEOF
17351 < #define HAVE_DEVPOLL_H 1
17352 < _ACEOF
13288 > $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
13289  
13290    fi
13291 <  cat >conftest.$ac_ext <<_ACEOF
17356 < /* confdefs.h.  */
17357 < _ACEOF
17358 < cat confdefs.h >>conftest.$ac_ext
17359 < cat >>conftest.$ac_ext <<_ACEOF
13291 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13292   /* end confdefs.h.  */
13293   #include <sys/devpoll.h>
13294   int
# Line 17367 | Line 13299 | main ()
13299    return 0;
13300   }
13301   _ACEOF
13302 < rm -f conftest.$ac_objext
17371 < if { (ac_try="$ac_compile"
17372 < case "(($ac_try" in
17373 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17374 <  *) ac_try_echo=$ac_try;;
17375 < esac
17376 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17377 < $as_echo "$ac_try_echo") >&5
17378 <  (eval "$ac_compile") 2>conftest.er1
17379 <  ac_status=$?
17380 <  grep -v '^ *+' conftest.er1 >conftest.err
17381 <  rm -f conftest.er1
17382 <  cat conftest.err >&5
17383 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 <  (exit $ac_status); } && {
17385 <         test -z "$ac_c_werror_flag" ||
17386 <         test ! -s conftest.err
17387 <       } && test -s conftest.$ac_objext; then
13302 > if ac_fn_c_try_compile "$LINENO"; then :
13303    is_devpoll_mechanism_available="yes"
13304   else
13305 <  $as_echo "$as_me: failed program was:" >&5
17391 < sed 's/^/| /' conftest.$ac_ext >&5
17392 <
17393 <        is_devpoll_mechanism_available="no"
13305 >  is_devpoll_mechanism_available="no"
13306   fi
17395
13307   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13308    if test "$is_devpoll_mechanism_available" = "yes" ; then
13309  
13310 < cat >>confdefs.h <<\_ACEOF
17400 < #define HAVE_SYS_DEVPOLL_H 1
17401 < _ACEOF
13310 > $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
13311  
13312    fi
13313        iopoll_mechanism_rtsigio=4
# Line 17407 | Line 13316 | cat >>confdefs.h <<_ACEOF
13316   #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13317   _ACEOF
13318  
13319 <  if test "$cross_compiling" = yes; then
13320 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13319 >  if test "$cross_compiling" = yes; then :
13320 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13321   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13322 < { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13323 < See \`config.log' for more details." >&5
17415 < $as_echo "$as_me: error: cannot run test program while cross compiling
17416 < See \`config.log' for more details." >&2;}
17417 <   { (exit 1); exit 1; }; }; }
13322 > as_fn_error "cannot run test program while cross compiling
13323 > See \`config.log' for more details." "$LINENO" 5; }
13324   else
13325 <  cat >conftest.$ac_ext <<_ACEOF
17420 < /* confdefs.h.  */
17421 < _ACEOF
17422 < cat confdefs.h >>conftest.$ac_ext
17423 < cat >>conftest.$ac_ext <<_ACEOF
13325 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13326   /* end confdefs.h.  */
13327  
13328   #include <fcntl.h>
# Line 17438 | Line 13340 | main ()
13340    return 0;
13341   }
13342   _ACEOF
13343 < rm -f conftest$ac_exeext
17442 < if { (ac_try="$ac_link"
17443 < case "(($ac_try" in
17444 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17445 <  *) ac_try_echo=$ac_try;;
17446 < esac
17447 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17448 < $as_echo "$ac_try_echo") >&5
17449 <  (eval "$ac_link") 2>&5
17450 <  ac_status=$?
17451 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 <  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17453 <  { (case "(($ac_try" in
17454 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17455 <  *) ac_try_echo=$ac_try;;
17456 < esac
17457 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17458 < $as_echo "$ac_try_echo") >&5
17459 <  (eval "$ac_try") 2>&5
17460 <  ac_status=$?
17461 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 <  (exit $ac_status); }; }; then
13343 > if ac_fn_c_try_run "$LINENO"; then :
13344    is_rtsigio_mechanism_available="yes"
13345   else
13346 <  $as_echo "$as_me: program exited with status $ac_status" >&5
17466 < $as_echo "$as_me: failed program was:" >&5
17467 < sed 's/^/| /' conftest.$ac_ext >&5
17468 <
17469 < ( exit $ac_status )
17470 < is_rtsigio_mechanism_available="no"
13346 >  is_rtsigio_mechanism_available="no"
13347   fi
13348 < rm -rf conftest.dSYM
13349 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13348 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13349 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13350   fi
13351  
17476
13352        iopoll_mechanism_poll=5
13353  
13354   cat >>confdefs.h <<_ACEOF
13355   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
13356   _ACEOF
13357  
13358 <  cat >conftest.$ac_ext <<_ACEOF
17484 < /* confdefs.h.  */
17485 < _ACEOF
17486 < cat confdefs.h >>conftest.$ac_ext
17487 < cat >>conftest.$ac_ext <<_ACEOF
13358 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359   /* end confdefs.h.  */
13360   /* Define poll to an innocuous variant, in case <limits.h> declares poll.
13361     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17525 | Line 13396 | return poll ();
13396    return 0;
13397   }
13398   _ACEOF
13399 < rm -f conftest.$ac_objext conftest$ac_exeext
17529 < if { (ac_try="$ac_link"
17530 < case "(($ac_try" in
17531 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532 <  *) ac_try_echo=$ac_try;;
17533 < esac
17534 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17535 < $as_echo "$ac_try_echo") >&5
17536 <  (eval "$ac_link") 2>conftest.er1
17537 <  ac_status=$?
17538 <  grep -v '^ *+' conftest.er1 >conftest.err
17539 <  rm -f conftest.er1
17540 <  cat conftest.err >&5
17541 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 <  (exit $ac_status); } && {
17543 <         test -z "$ac_c_werror_flag" ||
17544 <         test ! -s conftest.err
17545 <       } && test -s conftest$ac_exeext && {
17546 <         test "$cross_compiling" = yes ||
17547 <         $as_test_x conftest$ac_exeext
17548 <       }; then
13399 > if ac_fn_c_try_link "$LINENO"; then :
13400    is_poll_mechanism_available="yes"
13401   else
13402 <  $as_echo "$as_me: failed program was:" >&5
17552 < sed 's/^/| /' conftest.$ac_ext >&5
17553 <
17554 <        is_poll_mechanism_available="no"
13402 >  is_poll_mechanism_available="no"
13403   fi
13404 <
13405 < rm -rf conftest.dSYM
17558 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17559 <      conftest$ac_exeext conftest.$ac_ext
13404 > rm -f core conftest.err conftest.$ac_objext \
13405 >    conftest$ac_exeext conftest.$ac_ext
13406        iopoll_mechanism_select=6
13407  
13408   cat >>confdefs.h <<_ACEOF
13409   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
13410   _ACEOF
13411  
13412 <  cat >conftest.$ac_ext <<_ACEOF
17567 < /* confdefs.h.  */
17568 < _ACEOF
17569 < cat confdefs.h >>conftest.$ac_ext
17570 < cat >>conftest.$ac_ext <<_ACEOF
13412 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413   /* end confdefs.h.  */
13414   /* Define select to an innocuous variant, in case <limits.h> declares select.
13415     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17608 | Line 13450 | return select ();
13450    return 0;
13451   }
13452   _ACEOF
13453 < rm -f conftest.$ac_objext conftest$ac_exeext
17612 < if { (ac_try="$ac_link"
17613 < case "(($ac_try" in
17614 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17615 <  *) ac_try_echo=$ac_try;;
17616 < esac
17617 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17618 < $as_echo "$ac_try_echo") >&5
17619 <  (eval "$ac_link") 2>conftest.er1
17620 <  ac_status=$?
17621 <  grep -v '^ *+' conftest.er1 >conftest.err
17622 <  rm -f conftest.er1
17623 <  cat conftest.err >&5
17624 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 <  (exit $ac_status); } && {
17626 <         test -z "$ac_c_werror_flag" ||
17627 <         test ! -s conftest.err
17628 <       } && test -s conftest$ac_exeext && {
17629 <         test "$cross_compiling" = yes ||
17630 <         $as_test_x conftest$ac_exeext
17631 <       }; then
13453 > if ac_fn_c_try_link "$LINENO"; then :
13454    is_select_mechanism_available="yes"
13455   else
13456 <  $as_echo "$as_me: failed program was:" >&5
17635 < sed 's/^/| /' conftest.$ac_ext >&5
17636 <
17637 <        is_select_mechanism_available="no"
13456 >  is_select_mechanism_available="no"
13457   fi
13458 <
13459 < rm -rf conftest.dSYM
17641 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17642 <      conftest$ac_exeext conftest.$ac_ext
13458 > rm -f core conftest.err conftest.$ac_objext \
13459 >    conftest$ac_exeext conftest.$ac_ext
13460        optimal_iopoll_mechanism="none"
13461    for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
13462      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
# Line 17650 | Line 13467 | rm -f core conftest.err conftest.$ac_obj
13467    done
13468        if test "$desired_iopoll_mechanism" = "none" ; then
13469      if test "$optimal_iopoll_mechanism" = "none" ; then
13470 <      { $as_echo "$as_me:$LINENO: result: none" >&5
13470 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13471   $as_echo "none" >&6; }
13472 <      { { $as_echo "$as_me:$LINENO: error: no iopoll mechanism found!" >&5
17656 < $as_echo "$as_me: error: no iopoll mechanism found!" >&2;}
17657 <   { (exit 1); exit 1; }; }
13472 >      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
13473      else
13474        selected_iopoll_mechanism=$optimal_iopoll_mechanism
13475 <      { $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5
13475 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13476   $as_echo "$selected_iopoll_mechanism" >&6; }
13477      fi
13478    else
13479      eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
13480      if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
13481        selected_iopoll_mechanism=$desired_iopoll_mechanism
13482 <      { $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5
13482 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13483   $as_echo "$selected_iopoll_mechanism" >&6; }
13484      else
13485 <      { $as_echo "$as_me:$LINENO: result: none" >&5
13485 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13486   $as_echo "none" >&6; }
13487 <      { { $as_echo "$as_me:$LINENO: error: desired iopoll mechanism, $desired_iopoll_mechanism, is not available" >&5
17673 < $as_echo "$as_me: error: desired iopoll mechanism, $desired_iopoll_mechanism, is not available" >&2;}
17674 <   { (exit 1); exit 1; }; }
13487 >      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
13488      fi
13489    fi
13490        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 17684 | Line 13497 | _ACEOF
13497  
13498  
13499   # Check whether --with-nicklen was given.
13500 < if test "${with_nicklen+set}" = set; then
13500 > if test "${with_nicklen+set}" = set; then :
13501    withval=$with_nicklen; nicklen="$withval"
13502   else
13503    nicklen="9"
# Line 17699 | Line 13512 | _ACEOF
13512  
13513  
13514   # Check whether --with-topiclen was given.
13515 < if test "${with_topiclen+set}" = set; then
13515 > if test "${with_topiclen+set}" = set; then :
13516    withval=$with_topiclen; topiclen="$withval"
13517   else
13518    topiclen="160"
# Line 17714 | Line 13527 | _ACEOF
13527  
13528  
13529   # Check whether --with-syslog-facility was given.
13530 < if test "${with_syslog_facility+set}" = set; then
13530 > if test "${with_syslog_facility+set}" = set; then :
13531    withval=$with_syslog_facility; syslog_facility="$withval"
13532   else
13533    syslog_facility="LOG_LOCAL4"
# Line 17728 | Line 13541 | _ACEOF
13541  
13542  
13543    # Check whether --enable-efnet was given.
13544 < if test "${enable_efnet+set}" = set; then
13544 > if test "${enable_efnet+set}" = set; then :
13545    enableval=$enable_efnet; efnet="$enableval"
13546   else
13547    efnet="no"
# Line 17737 | Line 13550 | fi
13550    if test "$efnet" = "yes" ; then
13551                  use_efnet="yes"
13552  
13553 < cat >>confdefs.h <<\_ACEOF
17741 < #define EFNET 1
17742 < _ACEOF
13553 > $as_echo "#define EFNET 1" >>confdefs.h
13554  
13555  
13556 < cat >>confdefs.h <<\_ACEOF
17746 < #define TS5_ONLY 1
17747 < _ACEOF
13556 > $as_echo "#define TS5_ONLY 1" >>confdefs.h
13557  
13558          else
13559  
13560 < cat >>confdefs.h <<\_ACEOF
17752 < #define INVARIANTS 1
17753 < _ACEOF
13560 > $as_echo "#define INVARIANTS 1" >>confdefs.h
13561  
13562                  use_efnet="no"
13563    fi
# Line 17765 | Line 13572 | fi
13572  
13573  
13574    # Check whether --enable-halfops was given.
13575 < if test "${enable_halfops+set}" = set; then
13575 > if test "${enable_halfops+set}" = set; then :
13576    enableval=$enable_halfops; halfops="$enableval"
13577   else
13578    halfops="no"
# Line 17773 | Line 13580 | fi
13580  
13581    if test "$halfops" = "yes" ; then
13582  
13583 < cat >>confdefs.h <<\_ACEOF
17777 < #define HALFOPS 1
17778 < _ACEOF
13583 > $as_echo "#define HALFOPS 1" >>confdefs.h
13584  
13585    fi
13586  
13587  
13588    # Check whether --enable-debugging was given.
13589 < if test "${enable_debugging+set}" = set; then
13589 > if test "${enable_debugging+set}" = set; then :
13590    enableval=$enable_debugging; debugging="$enableval"
13591   else
13592    debugging="no"
# Line 17789 | Line 13594 | fi
13594  
13595    if test "$debugging" = "yes" ; then
13596  
13597 < cat >>confdefs.h <<\_ACEOF
17793 < #define DEBUG 1
17794 < _ACEOF
13597 > $as_echo "#define DEBUG 1" >>confdefs.h
13598  
13599      CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13600    else
13601  
13602 < cat >>confdefs.h <<\_ACEOF
17800 < #define NDEBUG 1
17801 < _ACEOF
13602 > $as_echo "#define NDEBUG 1" >>confdefs.h
13603  
13604    fi
13605  
13606  
13607    # Check whether --enable-warnings was given.
13608 < if test "${enable_warnings+set}" = set; then
13608 > if test "${enable_warnings+set}" = set; then :
13609    enableval=$enable_warnings; warnings="$enableval"
13610   else
13611    warnings="no"
13612   fi
13613  
13614    if test "$warnings" = "yes" ; then
13615 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
13615 >    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef"
13616    fi
13617  
13618  
13619 <
13620 <
13621 < for ac_header in syslog.h sys/syslog.h
13622 < do
13623 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13624 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17824 <  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17825 < $as_echo_n "checking for $ac_header... " >&6; }
17826 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17827 <  $as_echo_n "(cached) " >&6
17828 < fi
17829 < ac_res=`eval 'as_val=${'$as_ac_Header'}
17830 <                 $as_echo "$as_val"'`
17831 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17832 < $as_echo "$ac_res" >&6; }
17833 < else
17834 <  # Is the header compilable?
17835 < { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17836 < $as_echo_n "checking $ac_header usability... " >&6; }
17837 < cat >conftest.$ac_ext <<_ACEOF
17838 < /* confdefs.h.  */
17839 < _ACEOF
17840 < cat confdefs.h >>conftest.$ac_ext
17841 < cat >>conftest.$ac_ext <<_ACEOF
17842 < /* end confdefs.h.  */
17843 < $ac_includes_default
17844 < #include <$ac_header>
17845 < _ACEOF
17846 < rm -f conftest.$ac_objext
17847 < if { (ac_try="$ac_compile"
17848 < case "(($ac_try" in
17849 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17850 <  *) ac_try_echo=$ac_try;;
17851 < esac
17852 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17853 < $as_echo "$ac_try_echo") >&5
17854 <  (eval "$ac_compile") 2>conftest.er1
17855 <  ac_status=$?
17856 <  grep -v '^ *+' conftest.er1 >conftest.err
17857 <  rm -f conftest.er1
17858 <  cat conftest.err >&5
17859 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 <  (exit $ac_status); } && {
17861 <         test -z "$ac_c_werror_flag" ||
17862 <         test ! -s conftest.err
17863 <       } && test -s conftest.$ac_objext; then
17864 <  ac_header_compiler=yes
17865 < else
17866 <  $as_echo "$as_me: failed program was:" >&5
17867 < sed 's/^/| /' conftest.$ac_ext >&5
17868 <
17869 <        ac_header_compiler=no
17870 < fi
17871 <
17872 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873 < { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17874 < $as_echo "$ac_header_compiler" >&6; }
17875 <
17876 < # Is the header present?
17877 < { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17878 < $as_echo_n "checking $ac_header presence... " >&6; }
17879 < cat >conftest.$ac_ext <<_ACEOF
17880 < /* confdefs.h.  */
17881 < _ACEOF
17882 < cat confdefs.h >>conftest.$ac_ext
17883 < cat >>conftest.$ac_ext <<_ACEOF
17884 < /* end confdefs.h.  */
17885 < #include <$ac_header>
17886 < _ACEOF
17887 < if { (ac_try="$ac_cpp conftest.$ac_ext"
17888 < case "(($ac_try" in
17889 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17890 <  *) ac_try_echo=$ac_try;;
17891 < esac
17892 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17893 < $as_echo "$ac_try_echo") >&5
17894 <  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17895 <  ac_status=$?
17896 <  grep -v '^ *+' conftest.er1 >conftest.err
17897 <  rm -f conftest.er1
17898 <  cat conftest.err >&5
17899 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 <  (exit $ac_status); } >/dev/null && {
17901 <         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17902 <         test ! -s conftest.err
17903 <       }; then
17904 <  ac_header_preproc=yes
17905 < else
17906 <  $as_echo "$as_me: failed program was:" >&5
17907 < sed 's/^/| /' conftest.$ac_ext >&5
17908 <
17909 <  ac_header_preproc=no
17910 < fi
17911 <
17912 < rm -f conftest.err conftest.$ac_ext
17913 < { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17914 < $as_echo "$ac_header_preproc" >&6; }
17915 <
17916 < # So?  What about this header?
17917 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17918 <  yes:no: )
17919 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17920 < $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17921 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17922 < $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17923 <    ac_header_preproc=yes
17924 <    ;;
17925 <  no:yes:* )
17926 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17927 < $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17928 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17929 < $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17930 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17931 < $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17932 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17933 < $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17934 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17935 < $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17936 <    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17937 < $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17938 <
17939 <    ;;
17940 < esac
17941 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17942 < $as_echo_n "checking for $ac_header... " >&6; }
17943 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17944 <  $as_echo_n "(cached) " >&6
17945 < else
17946 <  eval "$as_ac_Header=\$ac_header_preproc"
17947 < fi
17948 < ac_res=`eval 'as_val=${'$as_ac_Header'}
17949 <                 $as_echo "$as_val"'`
17950 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17951 < $as_echo "$ac_res" >&6; }
17952 <
17953 < fi
17954 < as_val=`eval 'as_val=${'$as_ac_Header'}
17955 <                 $as_echo "$as_val"'`
17956 <   if test "x$as_val" = x""yes; then
13619 >  for ac_header in syslog.h sys/syslog.h
13620 > do :
13621 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13622 > ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13623 > eval as_val=\$$as_ac_Header
13624 >   if test "x$as_val" = x""yes; then :
13625    cat >>confdefs.h <<_ACEOF
13626   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13627   _ACEOF
# Line 17963 | Line 13631 | fi
13631   done
13632  
13633    # Check whether --enable-syslog was given.
13634 < if test "${enable_syslog+set}" = set; then
13634 > if test "${enable_syslog+set}" = set; then :
13635    enableval=$enable_syslog; syslog="$enableval"
13636   else
13637    syslog="no"
# Line 17973 | Line 13641 | fi
13641      for option in $enableval ; do
13642        case "$option" in
13643          users)
13644 < cat >>confdefs.h <<\_ACEOF
17977 < #define SYSLOG_USERS 1
17978 < _ACEOF
13644 > $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13645   ;;
13646          oper)
13647 < cat >>confdefs.h <<\_ACEOF
17982 < #define SYSLOG_OPER 1
17983 < _ACEOF
13647 > $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13648   ;;
13649          yes) : ;;
13650 <        *) { { $as_echo "$as_me:$LINENO: error: invalid value for --enable-syslog: $option" >&5
17987 < $as_echo "$as_me: error: invalid value for --enable-syslog: $option" >&2;}
17988 <   { (exit 1); exit 1; }; } ;;
13650 >        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13651        esac
13652      done
13653  
13654 < cat >>confdefs.h <<\_ACEOF
17993 < #define USE_SYSLOG 1
17994 < _ACEOF
13654 > $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13655  
13656    fi
13657  
# Line 18112 | Line 13772 | _ACEOF
13772      case $ac_val in #(
13773      *${as_nl}*)
13774        case $ac_var in #(
13775 <      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13775 >      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13776   $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13777        esac
13778        case $ac_var in #(
13779        _ | IFS | as_nl) ;; #(
13780        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13781 <      *) $as_unset $ac_var ;;
13781 >      *) { eval $ac_var=; unset $ac_var;} ;;
13782        esac ;;
13783      esac
13784    done
# Line 18126 | Line 13786 | $as_echo "$as_me: WARNING: cache variabl
13786    (set) 2>&1 |
13787      case $as_nl`(ac_space=' '; set) 2>&1` in #(
13788      *${as_nl}ac_space=\ *)
13789 <      # `set' does not quote correctly, so add quotes (double-quote
13790 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
13789 >      # `set' does not quote correctly, so add quotes: double-quote
13790 >      # substitution turns \\\\ into \\, and sed turns \\ into \.
13791        sed -n \
13792          "s/'/'\\\\''/g;
13793            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
# Line 18150 | Line 13810 | $as_echo "$as_me: WARNING: cache variabl
13810   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13811    if test -w "$cache_file"; then
13812      test "x$cache_file" != "x/dev/null" &&
13813 <      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13813 >      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13814   $as_echo "$as_me: updating cache $cache_file" >&6;}
13815      cat confcache >$cache_file
13816    else
13817 <    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13817 >    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13818   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13819    fi
13820   fi
# Line 18174 | Line 13834 | for ac_i in : $LIBOBJS; do test "x$ac_i"
13834    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13835    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13836    #    will be set to the directory where LIBOBJS objects are built.
13837 <  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13838 <  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13837 >  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13838 >  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13839   done
13840   LIBOBJS=$ac_libobjs
13841  
# Line 18191 | Line 13851 | else
13851   fi
13852  
13853   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13854 <  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13855 < Usually this means the macro was only invoked conditionally." >&5
18196 < $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
18197 < Usually this means the macro was only invoked conditionally." >&2;}
18198 <   { (exit 1); exit 1; }; }
13854 >  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
13855 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13856   fi
13857   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13858 <  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13859 < Usually this means the macro was only invoked conditionally." >&5
18203 < $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
18204 < Usually this means the macro was only invoked conditionally." >&2;}
18205 <   { (exit 1); exit 1; }; }
13858 >  as_fn_error "conditional \"AMDEP\" was never defined.
13859 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13860   fi
13861   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13862 <  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13863 < Usually this means the macro was only invoked conditionally." >&5
18210 < $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18211 < Usually this means the macro was only invoked conditionally." >&2;}
18212 <   { (exit 1); exit 1; }; }
13862 >  as_fn_error "conditional \"am__fastdepCC\" was never defined.
13863 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13864   fi
13865   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
13866 <  { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
13867 < Usually this means the macro was only invoked conditionally." >&5
18217 < $as_echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
18218 < Usually this means the macro was only invoked conditionally." >&2;}
18219 <   { (exit 1); exit 1; }; }
13866 >  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
13867 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13868   fi
13869   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
13870 <  { { $as_echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
13871 < Usually this means the macro was only invoked conditionally." >&5
18224 < $as_echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
18225 < Usually this means the macro was only invoked conditionally." >&2;}
18226 <   { (exit 1); exit 1; }; }
13870 >  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
13871 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13872   fi
13873   LT_CONFIG_H=config.h
13874  
# Line 18243 | Line 13888 | LT_CONFIG_H=config.h
13888  
13889  
13890  
18246 if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then
18247  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CRYPT\" was never defined.
18248 Usually this means the macro was only invoked conditionally." >&5
18249 $as_echo "$as_me: error: conditional \"HAVE_CRYPT\" was never defined.
18250 Usually this means the macro was only invoked conditionally." >&2;}
18251   { (exit 1); exit 1; }; }
18252 fi
13891   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
13892 <  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SSL\" was never defined.
13893 < Usually this means the macro was only invoked conditionally." >&5
18256 < $as_echo "$as_me: error: conditional \"ENABLE_SSL\" was never defined.
18257 < Usually this means the macro was only invoked conditionally." >&2;}
18258 <   { (exit 1); exit 1; }; }
13892 >  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13893 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13894   fi
13895   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13896 <  { { $as_echo "$as_me:$LINENO: error: conditional \"EFNET\" was never defined.
13897 < Usually this means the macro was only invoked conditionally." >&5
18263 < $as_echo "$as_me: error: conditional \"EFNET\" was never defined.
18264 < Usually this means the macro was only invoked conditionally." >&2;}
18265 <   { (exit 1); exit 1; }; }
13896 >  as_fn_error "conditional \"EFNET\" was never defined.
13897 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13898   fi
13899  
13900   : ${CONFIG_STATUS=./config.status}
13901   ac_write_fail=0
13902   ac_clean_files_save=$ac_clean_files
13903   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13904 < { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13904 > { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13905   $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13906 < cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13906 > as_write_fail=0
13907 > cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13908   #! $SHELL
13909   # Generated by $as_me.
13910   # Run this file to recreate the current configuration.
# Line 18281 | Line 13914 | cat >$CONFIG_STATUS <<_ACEOF || ac_write
13914   debug=false
13915   ac_cs_recheck=false
13916   ac_cs_silent=false
18284 SHELL=\${CONFIG_SHELL-$SHELL}
18285 _ACEOF
13917  
13918 < cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13919 < ## --------------------- ##
13920 < ## M4sh Initialization.  ##
13921 < ## --------------------- ##
13918 > SHELL=\${CONFIG_SHELL-$SHELL}
13919 > export SHELL
13920 > _ASEOF
13921 > cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13922 > ## -------------------- ##
13923 > ## M4sh Initialization. ##
13924 > ## -------------------- ##
13925  
13926   # Be more Bourne compatible
13927   DUALCASE=1; export DUALCASE # for MKS sh
13928 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13928 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13929    emulate sh
13930    NULLCMD=:
13931    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# Line 18299 | Line 13933 | if test -n "${ZSH_VERSION+set}" && (emul
13933    alias -g '${1+"$@"}'='"$@"'
13934    setopt NO_GLOB_SUBST
13935   else
13936 <  case `(set -o) 2>/dev/null` in
13937 <  *posix*) set -o posix ;;
13936 >  case `(set -o) 2>/dev/null` in #(
13937 >  *posix*) :
13938 >    set -o posix ;; #(
13939 >  *) :
13940 >     ;;
13941   esac
18305
13942   fi
13943  
13944  
18309
18310
18311 # PATH needs CR
18312 # Avoid depending upon Character Ranges.
18313 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18314 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18315 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18316 as_cr_digits='0123456789'
18317 as_cr_alnum=$as_cr_Letters$as_cr_digits
18318
13945   as_nl='
13946   '
13947   export as_nl
# Line 18323 | Line 13949 | export as_nl
13949   as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13950   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13951   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13952 < if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13952 > # Prefer a ksh shell builtin over an external printf program on Solaris,
13953 > # but without wasting forks for bash or zsh.
13954 > if test -z "$BASH_VERSION$ZSH_VERSION" \
13955 >    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13956 >  as_echo='print -r --'
13957 >  as_echo_n='print -rn --'
13958 > elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13959    as_echo='printf %s\n'
13960    as_echo_n='printf %s'
13961   else
# Line 18334 | Line 13966 | else
13966      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13967      as_echo_n_body='eval
13968        arg=$1;
13969 <      case $arg in
13969 >      case $arg in #(
13970        *"$as_nl"*)
13971          expr "X$arg" : "X\\(.*\\)$as_nl";
13972          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 18357 | Line 13989 | if test "${PATH_SEPARATOR+set}" != set;
13989    }
13990   fi
13991  
18360 # Support unset when possible.
18361 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18362  as_unset=unset
18363 else
18364  as_unset=false
18365 fi
18366
13992  
13993   # IFS
13994   # We need space, tab and new line, in precisely that order.  Quoting is
# Line 18373 | Line 13998 | fi
13998   IFS=" ""        $as_nl"
13999  
14000   # Find who we are.  Look in the path if we contain no directory separator.
14001 < case $0 in
14001 > case $0 in #((
14002    *[\\/]* ) as_myself=$0 ;;
14003    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14004   for as_dir in $PATH
14005   do
14006    IFS=$as_save_IFS
14007    test -z "$as_dir" && as_dir=.
14008 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14009 < done
14008 >    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14009 >  done
14010   IFS=$as_save_IFS
14011  
14012       ;;
# Line 18393 | Line 14018 | if test "x$as_myself" = x; then
14018   fi
14019   if test ! -f "$as_myself"; then
14020    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14021 <  { (exit 1); exit 1; }
14021 >  exit 1
14022   fi
14023  
14024 < # Work around bugs in pre-3.0 UWIN ksh.
14025 < for as_var in ENV MAIL MAILPATH
14026 < do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14024 > # Unset variables that we do not need and which cause bugs (e.g. in
14025 > # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14026 > # suppresses any "Segmentation fault" message there.  '((' could
14027 > # trigger a bug in pdksh 5.2.14.
14028 > for as_var in BASH_ENV ENV MAIL MAILPATH
14029 > do eval test x\${$as_var+set} = xset \
14030 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14031   done
14032   PS1='$ '
14033   PS2='> '
# Line 18410 | Line 14039 | export LC_ALL
14039   LANGUAGE=C
14040   export LANGUAGE
14041  
14042 < # Required to use basename.
14042 > # CDPATH.
14043 > (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14044 >
14045 >
14046 > # as_fn_error ERROR [LINENO LOG_FD]
14047 > # ---------------------------------
14048 > # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14049 > # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14050 > # script with status $?, using 1 if that was 0.
14051 > as_fn_error ()
14052 > {
14053 >  as_status=$?; test $as_status -eq 0 && as_status=1
14054 >  if test "$3"; then
14055 >    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14056 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14057 >  fi
14058 >  $as_echo "$as_me: error: $1" >&2
14059 >  as_fn_exit $as_status
14060 > } # as_fn_error
14061 >
14062 >
14063 > # as_fn_set_status STATUS
14064 > # -----------------------
14065 > # Set $? to STATUS, without forking.
14066 > as_fn_set_status ()
14067 > {
14068 >  return $1
14069 > } # as_fn_set_status
14070 >
14071 > # as_fn_exit STATUS
14072 > # -----------------
14073 > # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14074 > as_fn_exit ()
14075 > {
14076 >  set +e
14077 >  as_fn_set_status $1
14078 >  exit $1
14079 > } # as_fn_exit
14080 >
14081 > # as_fn_unset VAR
14082 > # ---------------
14083 > # Portably unset VAR.
14084 > as_fn_unset ()
14085 > {
14086 >  { eval $1=; unset $1;}
14087 > }
14088 > as_unset=as_fn_unset
14089 > # as_fn_append VAR VALUE
14090 > # ----------------------
14091 > # Append the text in VALUE to the end of the definition contained in VAR. Take
14092 > # advantage of any shell optimizations that allow amortized linear growth over
14093 > # repeated appends, instead of the typical quadratic growth present in naive
14094 > # implementations.
14095 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14096 >  eval 'as_fn_append ()
14097 >  {
14098 >    eval $1+=\$2
14099 >  }'
14100 > else
14101 >  as_fn_append ()
14102 >  {
14103 >    eval $1=\$$1\$2
14104 >  }
14105 > fi # as_fn_append
14106 >
14107 > # as_fn_arith ARG...
14108 > # ------------------
14109 > # Perform arithmetic evaluation on the ARGs, and store the result in the
14110 > # global $as_val. Take advantage of shells that can avoid forks. The arguments
14111 > # must be portable across $(()) and expr.
14112 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14113 >  eval 'as_fn_arith ()
14114 >  {
14115 >    as_val=$(( $* ))
14116 >  }'
14117 > else
14118 >  as_fn_arith ()
14119 >  {
14120 >    as_val=`expr "$@" || test $? -eq 1`
14121 >  }
14122 > fi # as_fn_arith
14123 >
14124 >
14125   if expr a : '\(a\)' >/dev/null 2>&1 &&
14126     test "X`expr 00001 : '.*\(...\)'`" = X001; then
14127    as_expr=expr
# Line 18424 | Line 14135 | else
14135    as_basename=false
14136   fi
14137  
14138 + if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14139 +  as_dirname=dirname
14140 + else
14141 +  as_dirname=false
14142 + fi
14143  
18428 # Name of the executable.
14144   as_me=`$as_basename -- "$0" ||
14145   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14146           X"$0" : 'X\(//\)$' \| \
# Line 18445 | Line 14160 | $as_echo X/"$0" |
14160            }
14161            s/.*/./; q'`
14162  
14163 < # CDPATH.
14164 < $as_unset CDPATH
14165 <
14166 <
14167 <
14168 <  as_lineno_1=$LINENO
18454 <  as_lineno_2=$LINENO
18455 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
18456 <  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
18457 <
18458 <  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18459 <  # uniformly replaced by the line number.  The first 'sed' inserts a
18460 <  # line-number line after each line using $LINENO; the second 'sed'
18461 <  # does the real work.  The second script uses 'N' to pair each
18462 <  # line-number line with the line containing $LINENO, and appends
18463 <  # trailing '-' during substitution so that $LINENO is not a special
18464 <  # case at line end.
18465 <  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18466 <  # scripts with optimization help from Paolo Bonzini.  Blame Lee
18467 <  # E. McMahon (1931-1989) for sed's syntax.  :-)
18468 <  sed -n '
18469 <    p
18470 <    /[$]LINENO/=
18471 <  ' <$as_myself |
18472 <    sed '
18473 <      s/[$]LINENO.*/&-/
18474 <      t lineno
18475 <      b
18476 <      :lineno
18477 <      N
18478 <      :loop
18479 <      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18480 <      t loop
18481 <      s/-\n.*//
18482 <    ' >$as_me.lineno &&
18483 <  chmod +x "$as_me.lineno" ||
18484 <    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18485 <   { (exit 1); exit 1; }; }
18486 <
18487 <  # Don't try to exec as it changes $[0], causing all sort of problems
18488 <  # (the dirname of $[0] is not the place where we might find the
18489 <  # original and so on.  Autoconf is especially sensitive to this).
18490 <  . "./$as_me.lineno"
18491 <  # Exit status is that of the last command.
18492 <  exit
18493 < }
18494 <
18495 <
18496 < if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18497 <  as_dirname=dirname
18498 < else
18499 <  as_dirname=false
18500 < fi
14163 > # Avoid depending upon Character Ranges.
14164 > as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14165 > as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14166 > as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14167 > as_cr_digits='0123456789'
14168 > as_cr_alnum=$as_cr_Letters$as_cr_digits
14169  
14170   ECHO_C= ECHO_N= ECHO_T=
14171 < case `echo -n x` in
14171 > case `echo -n x` in #(((((
14172   -n*)
14173 <  case `echo 'x\c'` in
14173 >  case `echo 'xy\c'` in
14174    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14175 <  *)   ECHO_C='\c';;
14175 >  xy)  ECHO_C='\c';;
14176 >  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14177 >       ECHO_T=' ';;
14178    esac;;
14179   *)
14180    ECHO_N='-n';;
14181   esac
18512 if expr a : '\(a\)' >/dev/null 2>&1 &&
18513   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18514  as_expr=expr
18515 else
18516  as_expr=false
18517 fi
14182  
14183   rm -f conf$$ conf$$.exe conf$$.file
14184   if test -d conf$$.dir; then
# Line 18543 | Line 14207 | fi
14207   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14208   rmdir conf$$.dir 2>/dev/null
14209  
14210 +
14211 + # as_fn_mkdir_p
14212 + # -------------
14213 + # Create "$as_dir" as a directory, including parents if necessary.
14214 + as_fn_mkdir_p ()
14215 + {
14216 +
14217 +  case $as_dir in #(
14218 +  -*) as_dir=./$as_dir;;
14219 +  esac
14220 +  test -d "$as_dir" || eval $as_mkdir_p || {
14221 +    as_dirs=
14222 +    while :; do
14223 +      case $as_dir in #(
14224 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14225 +      *) as_qdir=$as_dir;;
14226 +      esac
14227 +      as_dirs="'$as_qdir' $as_dirs"
14228 +      as_dir=`$as_dirname -- "$as_dir" ||
14229 + $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14230 +         X"$as_dir" : 'X\(//\)[^/]' \| \
14231 +         X"$as_dir" : 'X\(//\)$' \| \
14232 +         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14233 + $as_echo X"$as_dir" |
14234 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14235 +            s//\1/
14236 +            q
14237 +          }
14238 +          /^X\(\/\/\)[^/].*/{
14239 +            s//\1/
14240 +            q
14241 +          }
14242 +          /^X\(\/\/\)$/{
14243 +            s//\1/
14244 +            q
14245 +          }
14246 +          /^X\(\/\).*/{
14247 +            s//\1/
14248 +            q
14249 +          }
14250 +          s/.*/./; q'`
14251 +      test -d "$as_dir" && break
14252 +    done
14253 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
14254 +  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14255 +
14256 +
14257 + } # as_fn_mkdir_p
14258   if mkdir -p . 2>/dev/null; then
14259 <  as_mkdir_p=:
14259 >  as_mkdir_p='mkdir -p "$as_dir"'
14260   else
14261    test -d ./-p && rmdir ./-p
14262    as_mkdir_p=false
# Line 18563 | Line 14275 | else
14275        if test -d "$1"; then
14276          test -d "$1/.";
14277        else
14278 <        case $1 in
14278 >        case $1 in #(
14279          -*)set "./$1";;
14280          esac;
14281 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14281 >        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14282          ???[sx]*):;;*)false;;esac;fi
14283      '\'' sh
14284    '
# Line 18581 | Line 14293 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
14293  
14294  
14295   exec 6>&1
14296 + ## ----------------------------------- ##
14297 + ## Main body of $CONFIG_STATUS script. ##
14298 + ## ----------------------------------- ##
14299 + _ASEOF
14300 + test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14301  
14302 < # Save the log message, to keep $[0] and so on meaningful, and to
14302 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14303 > # Save the log message, to keep $0 and so on meaningful, and to
14304   # report actual input values of CONFIG_FILES etc. instead of their
14305   # values after options handling.
14306   ac_log="
14307   This file was extended by ircd-hybrid $as_me 7.2.4, which was
14308 < generated by GNU Autoconf 2.63.  Invocation command line was
14308 > generated by GNU Autoconf 2.64.  Invocation command line was
14309  
14310    CONFIG_FILES    = $CONFIG_FILES
14311    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 18611 | Line 14329 | esac
14329  
14330   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14331   # Files that config.status was made for.
14332 < config_files="`echo $ac_config_files`"
14333 < config_headers="`echo $ac_config_headers`"
14334 < config_commands="`echo $ac_config_commands`"
14332 > config_files="$ac_config_files"
14333 > config_headers="$ac_config_headers"
14334 > config_commands="$ac_config_commands"
14335  
14336   _ACEOF
14337  
14338   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14339   ac_cs_usage="\
14340 < \`$as_me' instantiates files from templates according to the
14341 < current configuration.
14340 > \`$as_me' instantiates files and other configuration actions
14341 > from templates according to the current configuration.  Unless the files
14342 > and actions are specified as TAGs, all are instantiated by default.
14343  
14344 < Usage: $0 [OPTION]... [FILE]...
14344 > Usage: $0 [OPTION]... [TAG]...
14345  
14346    -h, --help       print this help, then exit
14347    -V, --version    print version number and configuration settings, then exit
# Line 18644 | Line 14363 | $config_headers
14363   Configuration commands:
14364   $config_commands
14365  
14366 < Report bugs to <bug-autoconf@gnu.org>."
14366 > Report bugs to the package provider."
14367  
14368   _ACEOF
14369   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14370   ac_cs_version="\\
14371   ircd-hybrid config.status 7.2.4
14372 < configured by $0, generated by GNU Autoconf 2.63,
14372 > configured by $0, generated by GNU Autoconf 2.64,
14373    with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14374  
14375 < Copyright (C) 2008 Free Software Foundation, Inc.
14375 > Copyright (C) 2009 Free Software Foundation, Inc.
14376   This config.status script is free software; the Free Software Foundation
14377   gives unlimited permission to copy, distribute and modify it."
14378  
# Line 18696 | Line 14415 | do
14415      case $ac_optarg in
14416      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14417      esac
14418 <    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
14418 >    as_fn_append CONFIG_FILES " '$ac_optarg'"
14419      ac_need_defaults=false;;
14420    --header | --heade | --head | --hea )
14421      $ac_shift
14422      case $ac_optarg in
14423      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14424      esac
14425 <    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
14425 >    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14426      ac_need_defaults=false;;
14427    --he | --h)
14428      # Conflict between --help and --header
14429 <    { $as_echo "$as_me: error: ambiguous option: $1
14430 < Try \`$0 --help' for more information." >&2
18712 <   { (exit 1); exit 1; }; };;
14429 >    as_fn_error "ambiguous option: \`$1'
14430 > Try \`$0 --help' for more information.";;
14431    --help | --hel | -h )
14432      $as_echo "$ac_cs_usage"; exit ;;
14433    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
# Line 18717 | Line 14435 | Try \`$0 --help' for more information."
14435      ac_cs_silent=: ;;
14436  
14437    # This is an error.
14438 <  -*) { $as_echo "$as_me: error: unrecognized option: $1
14439 < Try \`$0 --help' for more information." >&2
18722 <   { (exit 1); exit 1; }; } ;;
14438 >  -*) as_fn_error "unrecognized option: \`$1'
14439 > Try \`$0 --help' for more information." ;;
14440  
14441 <  *) ac_config_targets="$ac_config_targets $1"
14441 >  *) as_fn_append ac_config_targets " $1"
14442       ac_need_defaults=false ;;
14443  
14444    esac
# Line 18774 | Line 14491 | double_quote_subst='$double_quote_subst'
14491   delay_variable_subst='$delay_variable_subst'
14492   macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14493   macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18777 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14494   enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14495 + enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14496   pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14497   enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14498   host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
# Line 19050 | Line 14767 | do
14767      "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
14768      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14769  
14770 <  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19054 < $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19055 <   { (exit 1); exit 1; }; };;
14770 >  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14771    esac
14772   done
14773  
# Line 19079 | Line 14794 | $debug ||
14794    trap 'exit_status=$?
14795    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14796   ' 0
14797 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
14797 >  trap 'as_fn_exit 1' 1 2 13 15
14798   }
14799   # Create a (secure) tmp directory for tmp files.
14800  
# Line 19090 | Line 14805 | $debug ||
14805   {
14806    tmp=./conf$$-$RANDOM
14807    (umask 077 && mkdir "$tmp")
14808 < } ||
19094 < {
19095 <   $as_echo "$as_me: cannot create a temporary directory in ." >&2
19096 <   { (exit 1); exit 1; }
19097 < }
14808 > } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14809  
14810   # Set up the scripts for CONFIG_FILES section.
14811   # No need to generate them if there are no CONFIG_FILES.
# Line 19102 | Line 14813 | $debug ||
14813   if test -n "$CONFIG_FILES"; then
14814  
14815  
19105 ac_cr='
14816  
14817 + ac_cr=`echo X | tr X '\015'`
14818 + # On cygwin, bash can eat \r inside `` if the user requested igncr.
14819 + # But we know of no other shell where ac_cr would be empty at this
14820 + # point, so we can use a bashism as a fallback.
14821 + if test "x$ac_cr" = x; then
14822 +  eval ac_cr=\$\'\\r\'
14823 + fi
14824   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14825   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14826 <  ac_cs_awk_cr='\\r'
14826 >  ac_cs_awk_cr='\r'
14827   else
14828    ac_cs_awk_cr=$ac_cr
14829   fi
# Line 19119 | Line 14836 | _ACEOF
14836    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14837    echo "_ACEOF"
14838   } >conf$$subs.sh ||
14839 <  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19123 < $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19124 <   { (exit 1); exit 1; }; }
14839 >  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14840   ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14841   ac_delim='%!_!# '
14842   for ac_last_try in false false false false false :; do
14843    . ./conf$$subs.sh ||
14844 <    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19130 < $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19131 <   { (exit 1); exit 1; }; }
14844 >    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14845  
14846    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14847    if test $ac_delim_n = $ac_delim_num; then
14848      break
14849    elif $ac_last_try; then
14850 <    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19138 < $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19139 <   { (exit 1); exit 1; }; }
14850 >    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14851    else
14852      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14853    fi
# Line 19225 | Line 14936 | if sed "s/$ac_cr//" < /dev/null > /dev/n
14936   else
14937    cat
14938   fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14939 <  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
19229 < $as_echo "$as_me: error: could not setup config files machinery" >&2;}
19230 <   { (exit 1); exit 1; }; }
14939 >  || as_fn_error "could not setup config files machinery" "$LINENO" 5
14940   _ACEOF
14941  
14942   # VPATH may cause trouble with some makes, so we remove $(srcdir),
# Line 19268 | Line 14977 | for ac_last_try in false false :; do
14977    if test -z "$ac_t"; then
14978      break
14979    elif $ac_last_try; then
14980 <    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
19272 < $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
19273 <   { (exit 1); exit 1; }; }
14980 >    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14981    else
14982      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14983    fi
# Line 19355 | Line 15062 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15062   _ACAWK
15063   _ACEOF
15064   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15065 <  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
19359 < $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
19360 <   { (exit 1); exit 1; }; }
15065 >  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15066   fi # test -n "$CONFIG_HEADERS"
15067  
15068  
# Line 19370 | Line 15075 | do
15075    esac
15076    case $ac_mode$ac_tag in
15077    :[FHL]*:*);;
15078 <  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
19374 < $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
19375 <   { (exit 1); exit 1; }; };;
15078 >  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15079    :[FH]-) ac_tag=-:-;;
15080    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15081    esac
# Line 19400 | Line 15103 | $as_echo "$as_me: error: invalid tag $ac
15103             [\\/$]*) false;;
15104             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15105             esac ||
15106 <           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19404 < $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19405 <   { (exit 1); exit 1; }; };;
15106 >           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15107        esac
15108        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15109 <      ac_file_inputs="$ac_file_inputs '$ac_f'"
15109 >      as_fn_append ac_file_inputs " '$ac_f'"
15110      done
15111  
15112      # Let's still pretend it is `configure' which instantiates (i.e., don't
# Line 19416 | Line 15117 | $as_echo "$as_me: error: cannot find inp
15117          `' by configure.'
15118      if test x"$ac_file" != x-; then
15119        configure_input="$ac_file.  $configure_input"
15120 <      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
15120 >      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15121   $as_echo "$as_me: creating $ac_file" >&6;}
15122      fi
15123      # Neutralize special characters interpreted by sed in replacement strings.
# Line 19429 | Line 15130 | $as_echo "$as_me: creating $ac_file" >&6
15130  
15131      case $ac_tag in
15132      *:-:* | *:-) cat >"$tmp/stdin" \
15133 <      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19433 < $as_echo "$as_me: error: could not create $ac_file" >&2;}
19434 <   { (exit 1); exit 1; }; } ;;
15133 >      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15134      esac
15135      ;;
15136    esac
# Line 19459 | Line 15158 | $as_echo X"$ac_file" |
15158              q
15159            }
15160            s/.*/./; q'`
15161 <  { as_dir="$ac_dir"
19463 <  case $as_dir in #(
19464 <  -*) as_dir=./$as_dir;;
19465 <  esac
19466 <  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19467 <    as_dirs=
19468 <    while :; do
19469 <      case $as_dir in #(
19470 <      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19471 <      *) as_qdir=$as_dir;;
19472 <      esac
19473 <      as_dirs="'$as_qdir' $as_dirs"
19474 <      as_dir=`$as_dirname -- "$as_dir" ||
19475 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19476 <         X"$as_dir" : 'X\(//\)[^/]' \| \
19477 <         X"$as_dir" : 'X\(//\)$' \| \
19478 <         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19479 < $as_echo X"$as_dir" |
19480 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19481 <            s//\1/
19482 <            q
19483 <          }
19484 <          /^X\(\/\/\)[^/].*/{
19485 <            s//\1/
19486 <            q
19487 <          }
19488 <          /^X\(\/\/\)$/{
19489 <            s//\1/
19490 <            q
19491 <          }
19492 <          /^X\(\/\).*/{
19493 <            s//\1/
19494 <            q
19495 <          }
19496 <          s/.*/./; q'`
19497 <      test -d "$as_dir" && break
19498 <    done
19499 <    test -z "$as_dirs" || eval "mkdir $as_dirs"
19500 <  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19501 < $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19502 <   { (exit 1); exit 1; }; }; }
15161 >  as_dir="$ac_dir"; as_fn_mkdir_p
15162    ac_builddir=.
15163  
15164   case "$ac_dir" in
# Line 19556 | Line 15215 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15215   # If the template does not know about datarootdir, expand it.
15216   # FIXME: This hack should be removed a few years after 2.60.
15217   ac_datarootdir_hack=; ac_datarootdir_seen=
19559
15218   ac_sed_dataroot='
15219   /datarootdir/ {
15220    p
# Line 19566 | Line 15224 | ac_sed_dataroot='
15224   /@docdir@/p
15225   /@infodir@/p
15226   /@localedir@/p
15227 < /@mandir@/p
19570 < '
15227 > /@mandir@/p'
15228   case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15229   *datarootdir*) ac_datarootdir_seen=yes;;
15230   *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15231 <  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15231 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15232   $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15233   _ACEOF
15234   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Line 19581 | Line 15238 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15238    s&@infodir@&$infodir&g
15239    s&@localedir@&$localedir&g
15240    s&@mandir@&$mandir&g
15241 <    s&\\\${datarootdir}&$datarootdir&g' ;;
15241 >  s&\\\${datarootdir}&$datarootdir&g' ;;
15242   esac
15243   _ACEOF
15244  
# Line 19610 | Line 15267 | s&@MKDIR_P@&$ac_MKDIR_P&;t t
15267   $ac_datarootdir_hack
15268   "
15269   eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15270 <  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19614 < $as_echo "$as_me: error: could not create $ac_file" >&2;}
19615 <   { (exit 1); exit 1; }; }
15270 >  || as_fn_error "could not create $ac_file" "$LINENO" 5
15271  
15272   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15273    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15274    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15275 <  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15275 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15276   which seems to be undefined.  Please make sure it is defined." >&5
15277   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15278   which seems to be undefined.  Please make sure it is defined." >&2;}
# Line 19627 | Line 15282 | which seems to be undefined.  Please mak
15282    -) cat "$tmp/out" && rm -f "$tmp/out";;
15283    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15284    esac \
15285 <  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19631 < $as_echo "$as_me: error: could not create $ac_file" >&2;}
19632 <   { (exit 1); exit 1; }; }
15285 >  || as_fn_error "could not create $ac_file" "$LINENO" 5
15286   ;;
15287    :H)
15288    #
# Line 19640 | Line 15293 | $as_echo "$as_me: error: could not creat
15293        $as_echo "/* $configure_input  */" \
15294        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15295      } >"$tmp/config.h" \
15296 <      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19644 < $as_echo "$as_me: error: could not create $ac_file" >&2;}
19645 <   { (exit 1); exit 1; }; }
15296 >      || as_fn_error "could not create $ac_file" "$LINENO" 5
15297      if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15298 <      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15298 >      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15299   $as_echo "$as_me: $ac_file is unchanged" >&6;}
15300      else
15301        rm -f "$ac_file"
15302        mv "$tmp/config.h" "$ac_file" \
15303 <        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19653 < $as_echo "$as_me: error: could not create $ac_file" >&2;}
19654 <   { (exit 1); exit 1; }; }
15303 >        || as_fn_error "could not create $ac_file" "$LINENO" 5
15304      fi
15305    else
15306      $as_echo "/* $configure_input  */" \
15307        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15308 <      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19660 < $as_echo "$as_me: error: could not create -" >&2;}
19661 <   { (exit 1); exit 1; }; }
15308 >      || as_fn_error "could not create -" "$LINENO" 5
15309    fi
15310   # Compute "$ac_file"'s index in $config_headers.
15311   _am_arg="$ac_file"
# Line 19696 | Line 15343 | $as_echo X"$_am_arg" |
15343            s/.*/./; q'`/stamp-h$_am_stamp_count
15344   ;;
15345  
15346 <  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15346 >  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15347   $as_echo "$as_me: executing $ac_file commands" >&6;}
15348   ;;
15349    esac
# Line 19791 | Line 15438 | $as_echo X"$file" |
15438              q
15439            }
15440            s/.*/./; q'`
15441 <      { as_dir=$dirpart/$fdir
19795 <  case $as_dir in #(
19796 <  -*) as_dir=./$as_dir;;
19797 <  esac
19798 <  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19799 <    as_dirs=
19800 <    while :; do
19801 <      case $as_dir in #(
19802 <      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19803 <      *) as_qdir=$as_dir;;
19804 <      esac
19805 <      as_dirs="'$as_qdir' $as_dirs"
19806 <      as_dir=`$as_dirname -- "$as_dir" ||
19807 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19808 <         X"$as_dir" : 'X\(//\)[^/]' \| \
19809 <         X"$as_dir" : 'X\(//\)$' \| \
19810 <         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19811 < $as_echo X"$as_dir" |
19812 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19813 <            s//\1/
19814 <            q
19815 <          }
19816 <          /^X\(\/\/\)[^/].*/{
19817 <            s//\1/
19818 <            q
19819 <          }
19820 <          /^X\(\/\/\)$/{
19821 <            s//\1/
19822 <            q
19823 <          }
19824 <          /^X\(\/\).*/{
19825 <            s//\1/
19826 <            q
19827 <          }
19828 <          s/.*/./; q'`
19829 <      test -d "$as_dir" && break
19830 <    done
19831 <    test -z "$as_dirs" || eval "mkdir $as_dirs"
19832 <  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19833 < $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19834 <   { (exit 1); exit 1; }; }; }
15441 >      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15442        # echo "creating $dirpart/$file"
15443        echo '# dummy' > "$dirpart/$file"
15444      done
# Line 19895 | Line 15502 | available_tags=""
15502   macro_version=$macro_version
15503   macro_revision=$macro_revision
15504  
19898 # Whether or not to build shared libraries.
19899 build_libtool_libs=$enable_shared
19900
15505   # Whether or not to build static libraries.
15506   build_old_libs=$enable_static
15507  
15508 + # Whether or not to build shared libraries.
15509 + build_libtool_libs=$enable_shared
15510 +
15511   # What type of objects to build.
15512   pic_mode=$pic_mode
15513  
# Line 20478 | Line 16085 | _LT_EOF
16085   done # for ac_tag
16086  
16087  
16088 < { (exit 0); exit 0; }
16088 > as_fn_exit 0
16089   _ACEOF
20483 chmod +x $CONFIG_STATUS
16090   ac_clean_files=$ac_clean_files_save
16091  
16092   test $ac_write_fail = 0 ||
16093 <  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
20488 < $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
20489 <   { (exit 1); exit 1; }; }
16093 >  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16094  
16095  
16096   # configure is writing to config.log, and then calls config.status.
# Line 20507 | Line 16111 | if test "$no_create" != yes; then
16111    exec 5>>config.log
16112    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16113    # would make configure fail if this is the last instruction.
16114 <  $ac_cs_success || { (exit 1); exit 1; }
16114 >  $ac_cs_success || as_fn_exit $?
16115   fi
16116  
16117   #
# Line 20551 | Line 16155 | if test "$no_recursion" != yes; then
16155        case $ac_arg in
16156        *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16157        esac
16158 <      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
16158 >      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16159      esac
16160    done
16161  
# Line 20580 | Line 16184 | if test "$no_recursion" != yes; then
16184      test -d "$srcdir/$ac_dir" || continue
16185  
16186      ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16187 <    $as_echo "$as_me:$LINENO: $ac_msg" >&5
16187 >    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16188      $as_echo "$ac_msg" >&6
16189 <    { as_dir="$ac_dir"
20586 <  case $as_dir in #(
20587 <  -*) as_dir=./$as_dir;;
20588 <  esac
20589 <  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20590 <    as_dirs=
20591 <    while :; do
20592 <      case $as_dir in #(
20593 <      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20594 <      *) as_qdir=$as_dir;;
20595 <      esac
20596 <      as_dirs="'$as_qdir' $as_dirs"
20597 <      as_dir=`$as_dirname -- "$as_dir" ||
20598 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20599 <         X"$as_dir" : 'X\(//\)[^/]' \| \
20600 <         X"$as_dir" : 'X\(//\)$' \| \
20601 <         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20602 < $as_echo X"$as_dir" |
20603 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20604 <            s//\1/
20605 <            q
20606 <          }
20607 <          /^X\(\/\/\)[^/].*/{
20608 <            s//\1/
20609 <            q
20610 <          }
20611 <          /^X\(\/\/\)$/{
20612 <            s//\1/
20613 <            q
20614 <          }
20615 <          /^X\(\/\).*/{
20616 <            s//\1/
20617 <            q
20618 <          }
20619 <          s/.*/./; q'`
20620 <      test -d "$as_dir" && break
20621 <    done
20622 <    test -z "$as_dirs" || eval "mkdir $as_dirs"
20623 <  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20624 < $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20625 <   { (exit 1); exit 1; }; }; }
16189 >    as_dir="$ac_dir"; as_fn_mkdir_p
16190      ac_builddir=.
16191  
16192   case "$ac_dir" in
# Line 20669 | Line 16233 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
16233        # This should be Cygnus configure.
16234        ac_sub_configure=$ac_aux_dir/configure
16235      else
16236 <      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
16236 >      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16237   $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16238        ac_sub_configure=
16239      fi
# Line 20683 | Line 16247 | $as_echo "$as_me: WARNING: no configurat
16247          ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16248        esac
16249  
16250 <      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16250 >      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16251   $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16252        # The eval makes quoting arguments work.
16253        eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16254             --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16255 <        { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
20692 < $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
20693 <   { (exit 1); exit 1; }; }
16255 >        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16256      fi
16257  
16258      cd "$ac_popdir"
16259    done
16260   fi
16261   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16262 <  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16262 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16263   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16264   fi
16265  

Diff Legend

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