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 978 by michael, Sun Aug 9 09:47:58 2009 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 + # From configure.ac Id: configure.ac 977 2009-08-08 07:33: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"
2679 < ac_header_list="$ac_header_list sys/wait.h"
2680 < 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 " lrand48"
2661 > as_fn_append ac_func_list " srand48"
2662 > as_fn_append ac_func_list " mmap"
2663 > as_fn_append ac_func_list " strtok_r"
2664 > as_fn_append ac_func_list " usleep"
2665 > as_fn_append ac_func_list " strlcat"
2666 > as_fn_append ac_func_list " strlcpy"
2667 > as_fn_append ac_header_list " crypt.h"
2668 > as_fn_append ac_header_list " inttypes.h"
2669 > as_fn_append ac_header_list " stdint.h"
2670 > as_fn_append ac_header_list " sys/resource.h"
2671 > as_fn_append ac_header_list " sys/param.h"
2672 > as_fn_append ac_header_list " errno.h"
2673 > as_fn_append ac_header_list " sys/syslog.h"
2674 > as_fn_append ac_header_list " stddef.h"
2675 > as_fn_append ac_header_list " libgen.h"
2676 > as_fn_append ac_header_list " types.h"
2677 > as_fn_append ac_header_list " socket.h"
2678 > as_fn_append ac_header_list " sys/wait.h"
2679 > as_fn_append ac_header_list " wait.h"
2680 > as_fn_append ac_header_list " link.h"
2681   # Check that the precious variables saved in the cache have kept the same
2682   # value.
2683   ac_cache_corrupted=false
# Line 2065 | Line 2688 | for ac_var in $ac_precious_vars; do
2688    eval ac_new_val=\$ac_env_${ac_var}_value
2689    case $ac_old_set,$ac_new_set in
2690      set,)
2691 <      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2691 >      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2692   $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2693        ac_cache_corrupted=: ;;
2694      ,set)
2695 <      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2695 >      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2696   $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2697        ac_cache_corrupted=: ;;
2698      ,);;
# Line 2079 | Line 2702 | $as_echo "$as_me: error: \`$ac_var' was
2702          ac_old_val_w=`echo x $ac_old_val`
2703          ac_new_val_w=`echo x $ac_new_val`
2704          if test "$ac_old_val_w" != "$ac_new_val_w"; then
2705 <          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2705 >          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2706   $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2707            ac_cache_corrupted=:
2708          else
2709 <          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2709 >          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2710   $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2711            eval $ac_var=\$ac_old_val
2712          fi
2713 <        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2713 >        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2714   $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2715 <        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2715 >        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2716   $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2717        fi;;
2718    esac
# Line 2101 | Line 2724 | $as_echo "$as_me:   current value: \`$ac
2724      esac
2725      case " $ac_configure_args " in
2726        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2727 <      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2727 >      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2728      esac
2729    fi
2730   done
2731   if $ac_cache_corrupted; then
2732 <  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2732 >  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2733   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2734 <  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2734 >  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2735   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2736 <  { { $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; }; }
2736 >  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2737   fi
2738 <
2739 <
2740 <
2120 <
2121 <
2122 <
2123 <
2124 <
2125 <
2126 <
2127 <
2128 <
2129 <
2130 <
2131 <
2132 <
2133 <
2134 <
2135 <
2136 <
2137 <
2138 <
2139 <
2140 <
2738 > ## -------------------- ##
2739 > ## Main body of script. ##
2740 > ## -------------------- ##
2741  
2742   ac_ext=c
2743   ac_cpp='$CPP $CPPFLAGS'
# Line 2150 | Line 2750 | am__api_version='1.11'
2750  
2751   ac_aux_dir=
2752   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2753 <  if test -f "$ac_dir/install-sh"; then
2754 <    ac_aux_dir=$ac_dir
2755 <    ac_install_sh="$ac_aux_dir/install-sh -c"
2756 <    break
2757 <  elif test -f "$ac_dir/install.sh"; then
2758 <    ac_aux_dir=$ac_dir
2759 <    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
2753 >  for ac_t in install-sh install.sh shtool; do
2754 >    if test -f "$ac_dir/$ac_t"; then
2755 >      ac_aux_dir=$ac_dir
2756 >      ac_install_sh="$ac_aux_dir/$ac_t -c"
2757 >      break 2
2758 >    fi
2759 >  done
2760   done
2761   if test -z "$ac_aux_dir"; then
2762 <  { { $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; }; }
2762 >  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2763   fi
2764  
2765   # These three variables are undocumented and unsupported,
# Line 2193 | Line 2785 | ac_configure="$SHELL $ac_aux_dir/configu
2785   # OS/2's system install, which has a completely different semantic
2786   # ./install, which can be erroneously created by make from ./install.sh.
2787   # Reject install programs that cannot install multiple files.
2788 < { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2788 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2789   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2790   if test -z "$INSTALL"; then
2791 < if test "${ac_cv_path_install+set}" = set; then
2791 > if test "${ac_cv_path_install+set}" = set; then :
2792    $as_echo_n "(cached) " >&6
2793   else
2794    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2204 | Line 2796 | for as_dir in $PATH
2796   do
2797    IFS=$as_save_IFS
2798    test -z "$as_dir" && as_dir=.
2799 <  # Account for people who put trailing slashes in PATH elements.
2800 < case $as_dir/ in
2801 <  ./ | .// | /cC/* | \
2799 >    # Account for people who put trailing slashes in PATH elements.
2800 > case $as_dir/ in #((
2801 >  ./ | .// | /[cC]/* | \
2802    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2803 <  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2803 >  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2804    /usr/ucb/* ) ;;
2805    *)
2806      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 2245 | Line 2837 | case $as_dir/ in
2837      ;;
2838   esac
2839  
2840 < done
2840 >  done
2841   IFS=$as_save_IFS
2842  
2843   rm -rf conftest.one conftest.two conftest.dir
# Line 2261 | Line 2853 | fi
2853      INSTALL=$ac_install_sh
2854    fi
2855   fi
2856 < { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2856 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2857   $as_echo "$INSTALL" >&6; }
2858  
2859   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 2272 | Line 2864 | test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2864  
2865   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2866  
2867 < { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2867 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2868   $as_echo_n "checking whether build environment is sane... " >&6; }
2869   # Just in case
2870   sleep 1
# Line 2283 | Line 2875 | am_lf='
2875   '
2876   case `pwd` in
2877    *[\\\"\#\$\&\'\`$am_lf]*)
2878 <    { { $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; }; };;
2878 >    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2879   esac
2880   case $srcdir in
2881    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2882 <    { { $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; }; };;
2882 >    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2883   esac
2884  
2885   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2313 | Line 2901 | if (
2901        # if, for instance, CONFIG_SHELL is bash and it inherits a
2902        # broken ls alias from the environment.  This has actually
2903        # happened.  Such a system could not be considered "sane".
2904 <      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2905 < 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; }; }
2904 >      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2905 > alias in your environment" "$LINENO" 5
2906     fi
2907  
2908     test "$2" = conftest.file
# Line 2326 | Line 2911 | then
2911     # Ok.
2912     :
2913   else
2914 <   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2915 < 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; }; }
2914 >   as_fn_error "newly created file is older than distributed files!
2915 > Check your system clock" "$LINENO" 5
2916   fi
2917 < { $as_echo "$as_me:$LINENO: result: yes" >&5
2917 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2918   $as_echo "yes" >&6; }
2919   test "$program_prefix" != NONE &&
2920    program_transform_name="s&^&$program_prefix&;$program_transform_name"
# Line 2360 | Line 2942 | if eval "$MISSING --run true"; then
2942    am_missing_run="$MISSING --run "
2943   else
2944    am_missing_run=
2945 <  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2945 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2946   $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2947   fi
2948  
# Line 2381 | Line 2963 | if test "$cross_compiling" != no; then
2963    if test -n "$ac_tool_prefix"; then
2964    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2965   set dummy ${ac_tool_prefix}strip; ac_word=$2
2966 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2966 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967   $as_echo_n "checking for $ac_word... " >&6; }
2968 < if test "${ac_cv_prog_STRIP+set}" = set; then
2968 > if test "${ac_cv_prog_STRIP+set}" = set; then :
2969    $as_echo_n "(cached) " >&6
2970   else
2971    if test -n "$STRIP"; then
# Line 2394 | Line 2976 | for as_dir in $PATH
2976   do
2977    IFS=$as_save_IFS
2978    test -z "$as_dir" && as_dir=.
2979 <  for ac_exec_ext in '' $ac_executable_extensions; do
2979 >    for ac_exec_ext in '' $ac_executable_extensions; do
2980    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2982 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983      break 2
2984    fi
2985   done
2986 < done
2986 >  done
2987   IFS=$as_save_IFS
2988  
2989   fi
2990   fi
2991   STRIP=$ac_cv_prog_STRIP
2992   if test -n "$STRIP"; then
2993 <  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2993 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2994   $as_echo "$STRIP" >&6; }
2995   else
2996 <  { $as_echo "$as_me:$LINENO: result: no" >&5
2996 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997   $as_echo "no" >&6; }
2998   fi
2999  
# Line 2421 | Line 3003 | if test -z "$ac_cv_prog_STRIP"; then
3003    ac_ct_STRIP=$STRIP
3004    # Extract the first word of "strip", so it can be a program name with args.
3005   set dummy strip; ac_word=$2
3006 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3006 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3007   $as_echo_n "checking for $ac_word... " >&6; }
3008 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3008 > if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3009    $as_echo_n "(cached) " >&6
3010   else
3011    if test -n "$ac_ct_STRIP"; then
# Line 2434 | Line 3016 | for as_dir in $PATH
3016   do
3017    IFS=$as_save_IFS
3018    test -z "$as_dir" && as_dir=.
3019 <  for ac_exec_ext in '' $ac_executable_extensions; do
3019 >    for ac_exec_ext in '' $ac_executable_extensions; do
3020    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3021      ac_cv_prog_ac_ct_STRIP="strip"
3022 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023      break 2
3024    fi
3025   done
3026 < done
3026 >  done
3027   IFS=$as_save_IFS
3028  
3029   fi
3030   fi
3031   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3032   if test -n "$ac_ct_STRIP"; then
3033 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3033 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3034   $as_echo "$ac_ct_STRIP" >&6; }
3035   else
3036 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3036 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037   $as_echo "no" >&6; }
3038   fi
3039  
# Line 2460 | Line 3042 | fi
3042    else
3043      case $cross_compiling:$ac_tool_warned in
3044   yes:)
3045 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3045 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3046   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3047   ac_tool_warned=yes ;;
3048   esac
# Line 2473 | Line 3055 | fi
3055   fi
3056   INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3057  
3058 < { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3058 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3059   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3060   if test -z "$MKDIR_P"; then
3061 <  if test "${ac_cv_path_mkdir+set}" = set; then
3061 >  if test "${ac_cv_path_mkdir+set}" = set; then :
3062    $as_echo_n "(cached) " >&6
3063   else
3064    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2484 | Line 3066 | for as_dir in $PATH$PATH_SEPARATOR/opt/s
3066   do
3067    IFS=$as_save_IFS
3068    test -z "$as_dir" && as_dir=.
3069 <  for ac_prog in mkdir gmkdir; do
3069 >    for ac_prog in mkdir gmkdir; do
3070           for ac_exec_ext in '' $ac_executable_extensions; do
3071             { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3072             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
# Line 2496 | Line 3078 | do
3078             esac
3079           done
3080         done
3081 < done
3081 >  done
3082   IFS=$as_save_IFS
3083  
3084   fi
# Line 2512 | Line 3094 | fi
3094      MKDIR_P="$ac_install_sh -d"
3095    fi
3096   fi
3097 < { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3097 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3098   $as_echo "$MKDIR_P" >&6; }
3099  
3100   mkdir_p="$MKDIR_P"
# Line 2525 | Line 3107 | for ac_prog in gawk mawk nawk awk
3107   do
3108    # Extract the first word of "$ac_prog", so it can be a program name with args.
3109   set dummy $ac_prog; ac_word=$2
3110 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3110 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111   $as_echo_n "checking for $ac_word... " >&6; }
3112 < if test "${ac_cv_prog_AWK+set}" = set; then
3112 > if test "${ac_cv_prog_AWK+set}" = set; then :
3113    $as_echo_n "(cached) " >&6
3114   else
3115    if test -n "$AWK"; then
# Line 2538 | Line 3120 | for as_dir in $PATH
3120   do
3121    IFS=$as_save_IFS
3122    test -z "$as_dir" && as_dir=.
3123 <  for ac_exec_ext in '' $ac_executable_extensions; do
3123 >    for ac_exec_ext in '' $ac_executable_extensions; do
3124    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3125      ac_cv_prog_AWK="$ac_prog"
3126 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3126 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127      break 2
3128    fi
3129   done
3130 < done
3130 >  done
3131   IFS=$as_save_IFS
3132  
3133   fi
3134   fi
3135   AWK=$ac_cv_prog_AWK
3136   if test -n "$AWK"; then
3137 <  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3137 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3138   $as_echo "$AWK" >&6; }
3139   else
3140 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3140 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141   $as_echo "no" >&6; }
3142   fi
3143  
# Line 2563 | Line 3145 | fi
3145    test -n "$AWK" && break
3146   done
3147  
3148 < { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3148 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3149   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3150   set x ${MAKE-make}
3151   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3152 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3152 > if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3153    $as_echo_n "(cached) " >&6
3154   else
3155    cat >conftest.make <<\_ACEOF
# Line 2585 | Line 3167 | esac
3167   rm -f conftest.make
3168   fi
3169   if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3170 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
3170 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3171   $as_echo "yes" >&6; }
3172    SET_MAKE=
3173   else
3174 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3174 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175   $as_echo "no" >&6; }
3176    SET_MAKE="MAKE=${MAKE-make}"
3177   fi
# Line 2609 | Line 3191 | if test "`cd $srcdir && pwd`" != "`pwd`"
3191    am__isrc=' -I$(srcdir)'
3192    # test to see if srcdir already configured
3193    if test -f $srcdir/config.status; then
3194 <    { { $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; }; }
3194 >    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3195    fi
3196   fi
3197  
# Line 2668 | Line 3248 | am__tar='${AMTAR} chof - "$$tardir"'; am
3248  
3249  
3250  
3251 < { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3251 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3252   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3253      # Check whether --enable-maintainer-mode was given.
3254 < if test "${enable_maintainer_mode+set}" = set; then
3254 > if test "${enable_maintainer_mode+set}" = set; then :
3255    enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3256   else
3257    USE_MAINTAINER_MODE=no
3258   fi
3259  
3260 <  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3260 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3261   $as_echo "$USE_MAINTAINER_MODE" >&6; }
3262     if test $USE_MAINTAINER_MODE = yes; then
3263    MAINTAINER_MODE_TRUE=
# Line 2704 | Line 3284 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3284   if test -n "$ac_tool_prefix"; then
3285    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3286   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3287 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3287 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288   $as_echo_n "checking for $ac_word... " >&6; }
3289 < if test "${ac_cv_prog_CC+set}" = set; then
3289 > if test "${ac_cv_prog_CC+set}" = set; then :
3290    $as_echo_n "(cached) " >&6
3291   else
3292    if test -n "$CC"; then
# Line 2717 | Line 3297 | for as_dir in $PATH
3297   do
3298    IFS=$as_save_IFS
3299    test -z "$as_dir" && as_dir=.
3300 <  for ac_exec_ext in '' $ac_executable_extensions; do
3300 >    for ac_exec_ext in '' $ac_executable_extensions; do
3301    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3303 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304      break 2
3305    fi
3306   done
3307 < done
3307 >  done
3308   IFS=$as_save_IFS
3309  
3310   fi
3311   fi
3312   CC=$ac_cv_prog_CC
3313   if test -n "$CC"; then
3314 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3314 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315   $as_echo "$CC" >&6; }
3316   else
3317 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3317 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318   $as_echo "no" >&6; }
3319   fi
3320  
# Line 2744 | Line 3324 | if test -z "$ac_cv_prog_CC"; then
3324    ac_ct_CC=$CC
3325    # Extract the first word of "gcc", so it can be a program name with args.
3326   set dummy gcc; ac_word=$2
3327 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3327 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328   $as_echo_n "checking for $ac_word... " >&6; }
3329 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3329 > if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3330    $as_echo_n "(cached) " >&6
3331   else
3332    if test -n "$ac_ct_CC"; then
# Line 2757 | Line 3337 | for as_dir in $PATH
3337   do
3338    IFS=$as_save_IFS
3339    test -z "$as_dir" && as_dir=.
3340 <  for ac_exec_ext in '' $ac_executable_extensions; do
3340 >    for ac_exec_ext in '' $ac_executable_extensions; do
3341    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342      ac_cv_prog_ac_ct_CC="gcc"
3343 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3344      break 2
3345    fi
3346   done
3347 < done
3347 >  done
3348   IFS=$as_save_IFS
3349  
3350   fi
3351   fi
3352   ac_ct_CC=$ac_cv_prog_ac_ct_CC
3353   if test -n "$ac_ct_CC"; then
3354 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3354 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3355   $as_echo "$ac_ct_CC" >&6; }
3356   else
3357 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3357 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358   $as_echo "no" >&6; }
3359   fi
3360  
# Line 2783 | Line 3363 | fi
3363    else
3364      case $cross_compiling:$ac_tool_warned in
3365   yes:)
3366 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3366 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3367   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3368   ac_tool_warned=yes ;;
3369   esac
# Line 2797 | Line 3377 | if test -z "$CC"; then
3377            if test -n "$ac_tool_prefix"; then
3378      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3379   set dummy ${ac_tool_prefix}cc; ac_word=$2
3380 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3380 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381   $as_echo_n "checking for $ac_word... " >&6; }
3382 < if test "${ac_cv_prog_CC+set}" = set; then
3382 > if test "${ac_cv_prog_CC+set}" = set; then :
3383    $as_echo_n "(cached) " >&6
3384   else
3385    if test -n "$CC"; then
# Line 2810 | Line 3390 | for as_dir in $PATH
3390   do
3391    IFS=$as_save_IFS
3392    test -z "$as_dir" && as_dir=.
3393 <  for ac_exec_ext in '' $ac_executable_extensions; do
3393 >    for ac_exec_ext in '' $ac_executable_extensions; do
3394    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3395      ac_cv_prog_CC="${ac_tool_prefix}cc"
3396 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3396 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397      break 2
3398    fi
3399   done
3400 < done
3400 >  done
3401   IFS=$as_save_IFS
3402  
3403   fi
3404   fi
3405   CC=$ac_cv_prog_CC
3406   if test -n "$CC"; then
3407 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3407 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3408   $as_echo "$CC" >&6; }
3409   else
3410 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3410 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411   $as_echo "no" >&6; }
3412   fi
3413  
# Line 2837 | Line 3417 | fi
3417   if test -z "$CC"; then
3418    # Extract the first word of "cc", so it can be a program name with args.
3419   set dummy cc; ac_word=$2
3420 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3420 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421   $as_echo_n "checking for $ac_word... " >&6; }
3422 < if test "${ac_cv_prog_CC+set}" = set; then
3422 > if test "${ac_cv_prog_CC+set}" = set; then :
3423    $as_echo_n "(cached) " >&6
3424   else
3425    if test -n "$CC"; then
# Line 2851 | Line 3431 | for as_dir in $PATH
3431   do
3432    IFS=$as_save_IFS
3433    test -z "$as_dir" && as_dir=.
3434 <  for ac_exec_ext in '' $ac_executable_extensions; do
3434 >    for ac_exec_ext in '' $ac_executable_extensions; do
3435    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3436      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3437         ac_prog_rejected=yes
3438         continue
3439       fi
3440      ac_cv_prog_CC="cc"
3441 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442      break 2
3443    fi
3444   done
3445 < done
3445 >  done
3446   IFS=$as_save_IFS
3447  
3448   if test $ac_prog_rejected = yes; then
# Line 2881 | Line 3461 | fi
3461   fi
3462   CC=$ac_cv_prog_CC
3463   if test -n "$CC"; then
3464 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3464 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465   $as_echo "$CC" >&6; }
3466   else
3467 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3467 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468   $as_echo "no" >&6; }
3469   fi
3470  
# Line 2896 | Line 3476 | if test -z "$CC"; then
3476    do
3477      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3478   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3479 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3479 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480   $as_echo_n "checking for $ac_word... " >&6; }
3481 < if test "${ac_cv_prog_CC+set}" = set; then
3481 > if test "${ac_cv_prog_CC+set}" = set; then :
3482    $as_echo_n "(cached) " >&6
3483   else
3484    if test -n "$CC"; then
# Line 2909 | Line 3489 | for as_dir in $PATH
3489   do
3490    IFS=$as_save_IFS
3491    test -z "$as_dir" && as_dir=.
3492 <  for ac_exec_ext in '' $ac_executable_extensions; do
3492 >    for ac_exec_ext in '' $ac_executable_extensions; do
3493    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3494      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3495 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3495 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496      break 2
3497    fi
3498   done
3499 < done
3499 >  done
3500   IFS=$as_save_IFS
3501  
3502   fi
3503   fi
3504   CC=$ac_cv_prog_CC
3505   if test -n "$CC"; then
3506 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3506 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3507   $as_echo "$CC" >&6; }
3508   else
3509 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3509 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510   $as_echo "no" >&6; }
3511   fi
3512  
# Line 2940 | Line 3520 | if test -z "$CC"; then
3520   do
3521    # Extract the first word of "$ac_prog", so it can be a program name with args.
3522   set dummy $ac_prog; ac_word=$2
3523 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3523 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524   $as_echo_n "checking for $ac_word... " >&6; }
3525 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3525 > if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3526    $as_echo_n "(cached) " >&6
3527   else
3528    if test -n "$ac_ct_CC"; then
# Line 2953 | Line 3533 | for as_dir in $PATH
3533   do
3534    IFS=$as_save_IFS
3535    test -z "$as_dir" && as_dir=.
3536 <  for ac_exec_ext in '' $ac_executable_extensions; do
3536 >    for ac_exec_ext in '' $ac_executable_extensions; do
3537    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3538      ac_cv_prog_ac_ct_CC="$ac_prog"
3539 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3539 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540      break 2
3541    fi
3542   done
3543 < done
3543 >  done
3544   IFS=$as_save_IFS
3545  
3546   fi
3547   fi
3548   ac_ct_CC=$ac_cv_prog_ac_ct_CC
3549   if test -n "$ac_ct_CC"; then
3550 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3550 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3551   $as_echo "$ac_ct_CC" >&6; }
3552   else
3553 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3553 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554   $as_echo "no" >&6; }
3555   fi
3556  
# Line 2983 | Line 3563 | done
3563    else
3564      case $cross_compiling:$ac_tool_warned in
3565   yes:)
3566 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3566 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3567   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3568   ac_tool_warned=yes ;;
3569   esac
# Line 2994 | Line 3574 | fi
3574   fi
3575  
3576  
3577 < test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3577 > test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3578   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3579 < { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3580 < 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; }; }; }
3579 > as_fn_error "no acceptable C compiler found in \$PATH
3580 > See \`config.log' for more details." "$LINENO" 5; }
3581  
3582   # Provide some information about the compiler.
3583 < $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3583 > $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3584   set X $ac_compile
3585   ac_compiler=$2
3586 < { (ac_try="$ac_compiler --version >&5"
3587 < 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"
3586 > for ac_option in --version -v -V -qversion; do
3587 >  { { ac_try="$ac_compiler $ac_option >&5"
3588   case "(($ac_try" in
3589    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590    *) ac_try_echo=$ac_try;;
3591   esac
3592 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3593 < $as_echo "$ac_try_echo") >&5
3594 <  (eval "$ac_compiler -V >&5") 2>&5
3592 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593 > $as_echo "$ac_try_echo"; } >&5
3594 >  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3595    ac_status=$?
3596 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 <  (exit $ac_status); }
3596 >  if test -s conftest.err; then
3597 >    sed '10a\
3598 > ... rest of stderr output deleted ...
3599 >         10q' conftest.err >conftest.er1
3600 >    cat conftest.er1 >&5
3601 >    rm -f conftest.er1 conftest.err
3602 >  fi
3603 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604 >  test $ac_status = 0; }
3605 > done
3606  
3607 < cat >conftest.$ac_ext <<_ACEOF
3044 < /* confdefs.h.  */
3045 < _ACEOF
3046 < cat confdefs.h >>conftest.$ac_ext
3047 < cat >>conftest.$ac_ext <<_ACEOF
3607 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608   /* end confdefs.h.  */
3609 <
3609 > #include <stdio.h>
3610   int
3611   main ()
3612   {
3613 + FILE *f = fopen ("conftest.out", "w");
3614 + return ferror (f) || fclose (f) != 0;
3615  
3616    ;
3617    return 0;
3618   }
3619   _ACEOF
3620   ac_clean_files_save=$ac_clean_files
3621 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3621 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3622   # Try to create an executable without -o first, disregard a.out.
3623   # It will help us diagnose broken compilers, and finding out an intuition
3624   # of exeext.
3625 < { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3625 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3626   $as_echo_n "checking for C compiler default output file name... " >&6; }
3627   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3628  
# Line 3077 | Line 3639 | do
3639   done
3640   rm -f $ac_rmfiles
3641  
3642 < if { (ac_try="$ac_link_default"
3642 > if { { ac_try="$ac_link_default"
3643   case "(($ac_try" in
3644    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645    *) ac_try_echo=$ac_try;;
3646   esac
3647 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3648 < $as_echo "$ac_try_echo") >&5
3647 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3648 > $as_echo "$ac_try_echo"; } >&5
3649    (eval "$ac_link_default") 2>&5
3650    ac_status=$?
3651 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 <  (exit $ac_status); }; then
3651 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3652 >  test $ac_status = 0; }; then :
3653    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3654   # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3655   # in a Makefile.  We should not override ac_cv_exeext if it was cached,
# Line 3104 | Line 3666 | do
3666          # certainly right.
3667          break;;
3668      *.* )
3669 <        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3669 >        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3670          then :; else
3671             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3672          fi
# Line 3123 | Line 3685 | test "$ac_cv_exeext" = no && ac_cv_exeex
3685   else
3686    ac_file=''
3687   fi
3688 <
3127 < { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3688 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3689   $as_echo "$ac_file" >&6; }
3690 < if test -z "$ac_file"; then
3690 > if test -z "$ac_file"; then :
3691    $as_echo "$as_me: failed program was:" >&5
3692   sed 's/^/| /' conftest.$ac_ext >&5
3693  
3694 < { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3694 > { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696 < { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3697 < See \`config.log' for more details." >&5
3698 < $as_echo "$as_me: error: C compiler cannot create executables
3138 < See \`config.log' for more details." >&2;}
3139 <   { (exit 77); exit 77; }; }; }
3696 > { as_fn_set_status 77
3697 > as_fn_error "C compiler cannot create executables
3698 > See \`config.log' for more details." "$LINENO" 5; }; }
3699   fi
3141
3700   ac_exeext=$ac_cv_exeext
3701  
3702   # Check that the compiler produces executables we can run.  If not, either
3703   # the compiler is broken, or we cross compile.
3704 < { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3704 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3705   $as_echo_n "checking whether the C compiler works... " >&6; }
3148 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3706   # If not cross compiling, check that we can run a simple program.
3707   if test "$cross_compiling" != yes; then
3708    if { ac_try='./$ac_file'
3709 <  { (case "(($ac_try" in
3709 >  { { case "(($ac_try" in
3710    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711    *) ac_try_echo=$ac_try;;
3712   esac
3713 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3714 < $as_echo "$ac_try_echo") >&5
3713 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3714 > $as_echo "$ac_try_echo"; } >&5
3715    (eval "$ac_try") 2>&5
3716    ac_status=$?
3717 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 <  (exit $ac_status); }; }; then
3717 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718 >  test $ac_status = 0; }; }; then
3719      cross_compiling=no
3720    else
3721      if test "$cross_compiling" = maybe; then
3722          cross_compiling=yes
3723      else
3724 <        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3724 >        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726 < { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3170 < If you meant to cross compile, use \`--host'.
3171 < See \`config.log' for more details." >&5
3172 < $as_echo "$as_me: error: cannot run C compiled programs.
3726 > as_fn_error "cannot run C compiled programs.
3727   If you meant to cross compile, use \`--host'.
3728 < See \`config.log' for more details." >&2;}
3175 <   { (exit 1); exit 1; }; }; }
3728 > See \`config.log' for more details." "$LINENO" 5; }
3729      fi
3730    fi
3731   fi
3732 < { $as_echo "$as_me:$LINENO: result: yes" >&5
3732 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3733   $as_echo "yes" >&6; }
3734  
3735 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3735 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3736   ac_clean_files=$ac_clean_files_save
3737   # Check that the compiler produces executables we can run.  If not, either
3738   # the compiler is broken, or we cross compile.
3739 < { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3739 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3740   $as_echo_n "checking whether we are cross compiling... " >&6; }
3741 < { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3741 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3742   $as_echo "$cross_compiling" >&6; }
3743  
3744 < { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3744 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3745   $as_echo_n "checking for suffix of executables... " >&6; }
3746 < if { (ac_try="$ac_link"
3746 > if { { ac_try="$ac_link"
3747   case "(($ac_try" in
3748    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749    *) ac_try_echo=$ac_try;;
3750   esac
3751 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3752 < $as_echo "$ac_try_echo") >&5
3751 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3752 > $as_echo "$ac_try_echo"; } >&5
3753    (eval "$ac_link") 2>&5
3754    ac_status=$?
3755 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 <  (exit $ac_status); }; then
3755 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3756 >  test $ac_status = 0; }; then :
3757    # If both `conftest.exe' and `conftest' are `present' (well, observable)
3758   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3759   # work properly (i.e., refer to `conftest.exe'), while it won't with
# Line 3215 | Line 3768 | for ac_file in conftest.exe conftest con
3768    esac
3769   done
3770   else
3771 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3771 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773 < { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3774 < 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; }; }; }
3773 > as_fn_error "cannot compute suffix of executables: cannot compile and link
3774 > See \`config.log' for more details." "$LINENO" 5; }
3775   fi
3226
3776   rm -f conftest$ac_cv_exeext
3777 < { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3777 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3778   $as_echo "$ac_cv_exeext" >&6; }
3779  
3780   rm -f conftest.$ac_ext
3781   EXEEXT=$ac_cv_exeext
3782   ac_exeext=$EXEEXT
3783 < { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3783 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3784   $as_echo_n "checking for suffix of object files... " >&6; }
3785 < if test "${ac_cv_objext+set}" = set; then
3785 > if test "${ac_cv_objext+set}" = set; then :
3786    $as_echo_n "(cached) " >&6
3787   else
3788 <  cat >conftest.$ac_ext <<_ACEOF
3240 < /* confdefs.h.  */
3241 < _ACEOF
3242 < cat confdefs.h >>conftest.$ac_ext
3243 < cat >>conftest.$ac_ext <<_ACEOF
3788 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789   /* end confdefs.h.  */
3790  
3791   int
# Line 3252 | Line 3797 | main ()
3797   }
3798   _ACEOF
3799   rm -f conftest.o conftest.obj
3800 < if { (ac_try="$ac_compile"
3800 > if { { ac_try="$ac_compile"
3801   case "(($ac_try" in
3802    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3803    *) ac_try_echo=$ac_try;;
3804   esac
3805 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3806 < $as_echo "$ac_try_echo") >&5
3805 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3806 > $as_echo "$ac_try_echo"; } >&5
3807    (eval "$ac_compile") 2>&5
3808    ac_status=$?
3809 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 <  (exit $ac_status); }; then
3809 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3810 >  test $ac_status = 0; }; then :
3811    for ac_file in conftest.o conftest.obj conftest.*; do
3812    test -f "$ac_file" || continue;
3813    case $ac_file in
# Line 3275 | Line 3820 | else
3820    $as_echo "$as_me: failed program was:" >&5
3821   sed 's/^/| /' conftest.$ac_ext >&5
3822  
3823 < { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3823 > { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3824   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3825 < { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3826 < 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; }; }; }
3825 > as_fn_error "cannot compute suffix of object files: cannot compile
3826 > See \`config.log' for more details." "$LINENO" 5; }
3827   fi
3286
3828   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3829   fi
3830 < { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3830 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3831   $as_echo "$ac_cv_objext" >&6; }
3832   OBJEXT=$ac_cv_objext
3833   ac_objext=$OBJEXT
3834 < { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3834 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3835   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3836 < if test "${ac_cv_c_compiler_gnu+set}" = set; then
3836 > if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3837    $as_echo_n "(cached) " >&6
3838   else
3839 <  cat >conftest.$ac_ext <<_ACEOF
3299 < /* confdefs.h.  */
3300 < _ACEOF
3301 < cat confdefs.h >>conftest.$ac_ext
3302 < cat >>conftest.$ac_ext <<_ACEOF
3839 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840   /* end confdefs.h.  */
3841  
3842   int
# Line 3313 | Line 3850 | main ()
3850    return 0;
3851   }
3852   _ACEOF
3853 < 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
3853 > if ac_fn_c_try_compile "$LINENO"; then :
3854    ac_compiler_gnu=yes
3855   else
3856 <  $as_echo "$as_me: failed program was:" >&5
3337 < sed 's/^/| /' conftest.$ac_ext >&5
3338 <
3339 <        ac_compiler_gnu=no
3856 >  ac_compiler_gnu=no
3857   fi
3341
3858   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859   ac_cv_c_compiler_gnu=$ac_compiler_gnu
3860  
3861   fi
3862 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3862 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3863   $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3864   if test $ac_compiler_gnu = yes; then
3865    GCC=yes
# Line 3352 | Line 3868 | else
3868   fi
3869   ac_test_CFLAGS=${CFLAGS+set}
3870   ac_save_CFLAGS=$CFLAGS
3871 < { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3871 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3872   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3873 < if test "${ac_cv_prog_cc_g+set}" = set; then
3873 > if test "${ac_cv_prog_cc_g+set}" = set; then :
3874    $as_echo_n "(cached) " >&6
3875   else
3876    ac_save_c_werror_flag=$ac_c_werror_flag
3877     ac_c_werror_flag=yes
3878     ac_cv_prog_cc_g=no
3879     CFLAGS="-g"
3880 <   cat >conftest.$ac_ext <<_ACEOF
3365 < /* confdefs.h.  */
3366 < _ACEOF
3367 < cat confdefs.h >>conftest.$ac_ext
3368 < cat >>conftest.$ac_ext <<_ACEOF
3880 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881   /* end confdefs.h.  */
3882  
3883   int
# Line 3376 | Line 3888 | main ()
3888    return 0;
3889   }
3890   _ACEOF
3891 < 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
3891 > if ac_fn_c_try_compile "$LINENO"; then :
3892    ac_cv_prog_cc_g=yes
3893   else
3894 <  $as_echo "$as_me: failed program was:" >&5
3895 < 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
3894 >  CFLAGS=""
3895 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896   /* end confdefs.h.  */
3897  
3898   int
# Line 3415 | Line 3903 | main ()
3903    return 0;
3904   }
3905   _ACEOF
3906 < 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
3906 > if ac_fn_c_try_compile "$LINENO"; then :
3907  
3908 <        ac_c_werror_flag=$ac_save_c_werror_flag
3908 > else
3909 >  ac_c_werror_flag=$ac_save_c_werror_flag
3910           CFLAGS="-g"
3911 <         cat >conftest.$ac_ext <<_ACEOF
3444 < /* confdefs.h.  */
3445 < _ACEOF
3446 < cat confdefs.h >>conftest.$ac_ext
3447 < cat >>conftest.$ac_ext <<_ACEOF
3911 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912   /* end confdefs.h.  */
3913  
3914   int
# Line 3455 | Line 3919 | main ()
3919    return 0;
3920   }
3921   _ACEOF
3922 < 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
3922 > if ac_fn_c_try_compile "$LINENO"; then :
3923    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
3924   fi
3483
3925   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3926   fi
3486
3927   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3928   fi
3489
3929   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3930     ac_c_werror_flag=$ac_save_c_werror_flag
3931   fi
3932 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3932 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3933   $as_echo "$ac_cv_prog_cc_g" >&6; }
3934   if test "$ac_test_CFLAGS" = set; then
3935    CFLAGS=$ac_save_CFLAGS
# Line 3507 | Line 3946 | else
3946      CFLAGS=
3947    fi
3948   fi
3949 < { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3949 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3950   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3951 < if test "${ac_cv_prog_cc_c89+set}" = set; then
3951 > if test "${ac_cv_prog_cc_c89+set}" = set; then :
3952    $as_echo_n "(cached) " >&6
3953   else
3954    ac_cv_prog_cc_c89=no
3955   ac_save_CC=$CC
3956 < cat >conftest.$ac_ext <<_ACEOF
3518 < /* confdefs.h.  */
3519 < _ACEOF
3520 < cat confdefs.h >>conftest.$ac_ext
3521 < cat >>conftest.$ac_ext <<_ACEOF
3956 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957   /* end confdefs.h.  */
3958   #include <stdarg.h>
3959   #include <stdio.h>
# Line 3575 | Line 4010 | for ac_arg in '' -qlanglvl=extc89 -qlang
4010          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4011   do
4012    CC="$ac_save_CC $ac_arg"
4013 <  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
4013 >  if ac_fn_c_try_compile "$LINENO"; then :
4014    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
4015   fi
3603
4016   rm -f core conftest.err conftest.$ac_objext
4017    test "x$ac_cv_prog_cc_c89" != "xno" && break
4018   done
# Line 3611 | Line 4023 | fi
4023   # AC_CACHE_VAL
4024   case "x$ac_cv_prog_cc_c89" in
4025    x)
4026 <    { $as_echo "$as_me:$LINENO: result: none needed" >&5
4026 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4027   $as_echo "none needed" >&6; } ;;
4028    xno)
4029 <    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4029 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4030   $as_echo "unsupported" >&6; } ;;
4031    *)
4032      CC="$CC $ac_cv_prog_cc_c89"
4033 <    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4033 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4034   $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4035   esac
4036 + if test "x$ac_cv_prog_cc_c89" != xno; then :
4037  
4038 + fi
4039  
4040   ac_ext=c
4041   ac_cpp='$CPP $CPPFLAGS'
# Line 3640 | Line 4054 | am__doit:
4054   .PHONY: am__doit
4055   END
4056   # If we don't find an include directive, just comment out the code.
4057 < { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4057 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4058   $as_echo_n "checking for style of include used by $am_make... " >&6; }
4059   am__include="#"
4060   am__quote=
# Line 3668 | Line 4082 | if test "$am__include" = "#"; then
4082   fi
4083  
4084  
4085 < { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
4085 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4086   $as_echo "$_am_result" >&6; }
4087   rm -f confinc confmf
4088  
4089   # Check whether --enable-dependency-tracking was given.
4090 < if test "${enable_dependency_tracking+set}" = set; then
4090 > if test "${enable_dependency_tracking+set}" = set; then :
4091    enableval=$enable_dependency_tracking;
4092   fi
4093  
# Line 3693 | Line 4107 | fi
4107  
4108   depcc="$CC"   am_compiler_list=
4109  
4110 < { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4110 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4111   $as_echo_n "checking dependency style of $depcc... " >&6; }
4112 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4112 > if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4113    $as_echo_n "(cached) " >&6
4114   else
4115    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3803 | Line 4217 | else
4217   fi
4218  
4219   fi
4220 < { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4220 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4221   $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4222   CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4223  
# Line 3822 | Line 4236 | for ac_prog in 'bison -y' byacc
4236   do
4237    # Extract the first word of "$ac_prog", so it can be a program name with args.
4238   set dummy $ac_prog; ac_word=$2
4239 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4239 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240   $as_echo_n "checking for $ac_word... " >&6; }
4241 < if test "${ac_cv_prog_YACC+set}" = set; then
4241 > if test "${ac_cv_prog_YACC+set}" = set; then :
4242    $as_echo_n "(cached) " >&6
4243   else
4244    if test -n "$YACC"; then
# Line 3835 | Line 4249 | for as_dir in $PATH
4249   do
4250    IFS=$as_save_IFS
4251    test -z "$as_dir" && as_dir=.
4252 <  for ac_exec_ext in '' $ac_executable_extensions; do
4252 >    for ac_exec_ext in '' $ac_executable_extensions; do
4253    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4254      ac_cv_prog_YACC="$ac_prog"
4255 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4256      break 2
4257    fi
4258   done
4259 < done
4259 >  done
4260   IFS=$as_save_IFS
4261  
4262   fi
4263   fi
4264   YACC=$ac_cv_prog_YACC
4265   if test -n "$YACC"; then
4266 <  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
4266 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4267   $as_echo "$YACC" >&6; }
4268   else
4269 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4269 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270   $as_echo "no" >&6; }
4271   fi
4272  
# Line 3866 | Line 4280 | for ac_prog in flex lex
4280   do
4281    # Extract the first word of "$ac_prog", so it can be a program name with args.
4282   set dummy $ac_prog; ac_word=$2
4283 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4283 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284   $as_echo_n "checking for $ac_word... " >&6; }
4285 < if test "${ac_cv_prog_LEX+set}" = set; then
4285 > if test "${ac_cv_prog_LEX+set}" = set; then :
4286    $as_echo_n "(cached) " >&6
4287   else
4288    if test -n "$LEX"; then
# Line 3879 | Line 4293 | for as_dir in $PATH
4293   do
4294    IFS=$as_save_IFS
4295    test -z "$as_dir" && as_dir=.
4296 <  for ac_exec_ext in '' $ac_executable_extensions; do
4296 >    for ac_exec_ext in '' $ac_executable_extensions; do
4297    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4298      ac_cv_prog_LEX="$ac_prog"
4299 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4299 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300      break 2
4301    fi
4302   done
4303 < done
4303 >  done
4304   IFS=$as_save_IFS
4305  
4306   fi
4307   fi
4308   LEX=$ac_cv_prog_LEX
4309   if test -n "$LEX"; then
4310 <  { $as_echo "$as_me:$LINENO: result: $LEX" >&5
4310 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4311   $as_echo "$LEX" >&6; }
4312   else
4313 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4313 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314   $as_echo "no" >&6; }
4315   fi
4316  
# Line 3925 | Line 4339 | main (void)
4339    return ! yylex () + ! yywrap ();
4340   }
4341   _ACEOF
4342 < { (ac_try="$LEX conftest.l"
4342 > { { ac_try="$LEX conftest.l"
4343   case "(($ac_try" in
4344    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4345    *) ac_try_echo=$ac_try;;
4346   esac
4347 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4348 < $as_echo "$ac_try_echo") >&5
4347 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4348 > $as_echo "$ac_try_echo"; } >&5
4349    (eval "$LEX conftest.l") 2>&5
4350    ac_status=$?
4351 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352 <  (exit $ac_status); }
4353 < { $as_echo "$as_me:$LINENO: checking lex output file root" >&5
4351 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4352 >  test $ac_status = 0; }
4353 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4354   $as_echo_n "checking lex output file root... " >&6; }
4355 < if test "${ac_cv_prog_lex_root+set}" = set; then
4355 > if test "${ac_cv_prog_lex_root+set}" = set; then :
4356    $as_echo_n "(cached) " >&6
4357   else
4358  
# Line 3947 | Line 4361 | if test -f lex.yy.c; then
4361   elif test -f lexyy.c; then
4362    ac_cv_prog_lex_root=lexyy
4363   else
4364 <  { { $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; }; }
4364 >  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4365   fi
4366   fi
4367 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4367 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4368   $as_echo "$ac_cv_prog_lex_root" >&6; }
4369   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4370  
4371   if test -z "${LEXLIB+set}"; then
4372 <  { $as_echo "$as_me:$LINENO: checking lex library" >&5
4372 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4373   $as_echo_n "checking lex library... " >&6; }
4374 < if test "${ac_cv_lib_lex+set}" = set; then
4374 > if test "${ac_cv_lib_lex+set}" = set; then :
4375    $as_echo_n "(cached) " >&6
4376   else
4377  
# Line 3967 | Line 4379 | else
4379      ac_cv_lib_lex='none needed'
4380      for ac_lib in '' -lfl -ll; do
4381        LIBS="$ac_lib $ac_save_LIBS"
4382 <      cat >conftest.$ac_ext <<_ACEOF
4382 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 > /* end confdefs.h.  */
4384   `cat $LEX_OUTPUT_ROOT.c`
4385   _ACEOF
4386 < 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
4386 > if ac_fn_c_try_link "$LINENO"; then :
4387    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
4388   fi
4389 <
4390 < rm -rf conftest.dSYM
4003 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4004 <      conftest$ac_exeext conftest.$ac_ext
4389 > rm -f core conftest.err conftest.$ac_objext \
4390 >    conftest$ac_exeext conftest.$ac_ext
4391        test "$ac_cv_lib_lex" != 'none needed' && break
4392      done
4393      LIBS=$ac_save_LIBS
4394  
4395   fi
4396 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
4396 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4397   $as_echo "$ac_cv_lib_lex" >&6; }
4398    test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4399   fi
4400  
4401  
4402 < { $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4402 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4403   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4404 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4404 > if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4405    $as_echo_n "(cached) " >&6
4406   else
4407    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4024 | Line 4410 | else
4410   ac_cv_prog_lex_yytext_pointer=no
4411   ac_save_LIBS=$LIBS
4412   LIBS="$LEXLIB $ac_save_LIBS"
4413 < cat >conftest.$ac_ext <<_ACEOF
4413 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 > /* end confdefs.h.  */
4415   #define YYTEXT_POINTER 1
4416   `cat $LEX_OUTPUT_ROOT.c`
4417   _ACEOF
4418 < 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
4418 > if ac_fn_c_try_link "$LINENO"; then :
4419    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
4420   fi
4421 <
4422 < rm -rf conftest.dSYM
4061 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4062 <      conftest$ac_exeext conftest.$ac_ext
4421 > rm -f core conftest.err conftest.$ac_objext \
4422 >    conftest$ac_exeext conftest.$ac_ext
4423   LIBS=$ac_save_LIBS
4424  
4425   fi
4426 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4426 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4427   $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4428   if test $ac_cv_prog_lex_yytext_pointer = yes; then
4429  
4430 < cat >>confdefs.h <<\_ACEOF
4071 < #define YYTEXT_POINTER 1
4072 < _ACEOF
4430 > $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4431  
4432   fi
4433   rm -f conftest.l $LEX_OUTPUT_ROOT.c
# Line 4078 | Line 4436 | fi
4436   if test "$LEX" = :; then
4437    LEX=${am_missing_run}flex
4438   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'
4439  
4440  
4441  
4442   #ltdl stuff
4443   case `pwd` in
4444    *\ * | *\     *)
4445 <    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4445 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4446   $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4447   esac
4448  
# Line 4201 | Line 4467 | ltmain="$ac_aux_dir/ltmain.sh"
4467  
4468   # Make sure we can run config.sub.
4469   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4470 <  { { $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; }; }
4470 >  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4471  
4472 < { $as_echo "$as_me:$LINENO: checking build system type" >&5
4472 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4473   $as_echo_n "checking build system type... " >&6; }
4474 < if test "${ac_cv_build+set}" = set; then
4474 > if test "${ac_cv_build+set}" = set; then :
4475    $as_echo_n "(cached) " >&6
4476   else
4477    ac_build_alias=$build_alias
4478   test "x$ac_build_alias" = x &&
4479    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4480   test "x$ac_build_alias" = x &&
4481 <  { { $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; }; }
4481 >  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4482   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4483 <  { { $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; }; }
4483 >  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4484  
4485   fi
4486 < { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4486 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4487   $as_echo "$ac_cv_build" >&6; }
4488   case $ac_cv_build in
4489   *-*-*) ;;
4490 < *) { { $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; }; };;
4490 > *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4491   esac
4492   build=$ac_cv_build
4493   ac_save_IFS=$IFS; IFS='-'
# Line 4245 | Line 4503 | IFS=$ac_save_IFS
4503   case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4504  
4505  
4506 < { $as_echo "$as_me:$LINENO: checking host system type" >&5
4506 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4507   $as_echo_n "checking host system type... " >&6; }
4508 < if test "${ac_cv_host+set}" = set; then
4508 > if test "${ac_cv_host+set}" = set; then :
4509    $as_echo_n "(cached) " >&6
4510   else
4511    if test "x$host_alias" = x; then
4512    ac_cv_host=$ac_cv_build
4513   else
4514    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4515 <    { { $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; }; }
4515 >    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4516   fi
4517  
4518   fi
4519 < { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4519 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4520   $as_echo "$ac_cv_host" >&6; }
4521   case $ac_cv_host in
4522   *-*-*) ;;
4523 < *) { { $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; }; };;
4523 > *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4524   esac
4525   host=$ac_cv_host
4526   ac_save_IFS=$IFS; IFS='-'
# Line 4282 | Line 4536 | IFS=$ac_save_IFS
4536   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4537  
4538  
4539 < { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4539 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4540   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4541 < if test "${ac_cv_path_SED+set}" = set; then
4541 > if test "${ac_cv_path_SED+set}" = set; then :
4542    $as_echo_n "(cached) " >&6
4543   else
4544              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4292 | Line 4546 | else
4546         ac_script="$ac_script$as_nl$ac_script"
4547       done
4548       echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4549 <     $as_unset ac_script || ac_script=
4549 >     { ac_script=; unset ac_script;}
4550       if test -z "$SED"; then
4551    ac_path_SED_found=false
4552    # Loop through the user's path and test for each of PROGNAME-LIST
# Line 4301 | Line 4555 | for as_dir in $PATH
4555   do
4556    IFS=$as_save_IFS
4557    test -z "$as_dir" && as_dir=.
4558 <  for ac_prog in sed gsed; do
4558 >    for ac_prog in sed gsed; do
4559      for ac_exec_ext in '' $ac_executable_extensions; do
4560        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4561        { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
# Line 4321 | Line 4575 | case `"$ac_path_SED" --version 2>&1` in
4575      $as_echo '' >> "conftest.nl"
4576      "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4577      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4578 <    ac_count=`expr $ac_count + 1`
4578 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4579      if test $ac_count -gt ${ac_path_SED_max-0}; then
4580        # Best one so far, save it but keep looking for a better one
4581        ac_cv_path_SED="$ac_path_SED"
# Line 4336 | Line 4590 | esac
4590        $ac_path_SED_found && break 3
4591      done
4592    done
4593 < done
4593 >  done
4594   IFS=$as_save_IFS
4595    if test -z "$ac_cv_path_SED"; then
4596 <    { { $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; }; }
4596 >    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4597    fi
4598   else
4599    ac_cv_path_SED=$SED
4600   fi
4601  
4602   fi
4603 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4603 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4604   $as_echo "$ac_cv_path_SED" >&6; }
4605   SED="$ac_cv_path_SED"
4606    rm -f conftest.sed
# Line 4366 | Line 4618 | Xsed="$SED -e 1s/^X//"
4618  
4619  
4620  
4621 < { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4621 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4622   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4623 < if test "${ac_cv_path_GREP+set}" = set; then
4623 > if test "${ac_cv_path_GREP+set}" = set; then :
4624    $as_echo_n "(cached) " >&6
4625   else
4626    if test -z "$GREP"; then
# Line 4379 | Line 4631 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4631   do
4632    IFS=$as_save_IFS
4633    test -z "$as_dir" && as_dir=.
4634 <  for ac_prog in grep ggrep; do
4634 >    for ac_prog in grep ggrep; do
4635      for ac_exec_ext in '' $ac_executable_extensions; do
4636        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4637        { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
# Line 4399 | Line 4651 | case `"$ac_path_GREP" --version 2>&1` in
4651      $as_echo 'GREP' >> "conftest.nl"
4652      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4653      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4654 <    ac_count=`expr $ac_count + 1`
4654 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4655      if test $ac_count -gt ${ac_path_GREP_max-0}; then
4656        # Best one so far, save it but keep looking for a better one
4657        ac_cv_path_GREP="$ac_path_GREP"
# Line 4414 | Line 4666 | esac
4666        $ac_path_GREP_found && break 3
4667      done
4668    done
4669 < done
4669 >  done
4670   IFS=$as_save_IFS
4671    if test -z "$ac_cv_path_GREP"; then
4672 <    { { $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; }; }
4672 >    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4673    fi
4674   else
4675    ac_cv_path_GREP=$GREP
4676   fi
4677  
4678   fi
4679 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4679 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4680   $as_echo "$ac_cv_path_GREP" >&6; }
4681   GREP="$ac_cv_path_GREP"
4682  
4683  
4684 < { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4684 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4685   $as_echo_n "checking for egrep... " >&6; }
4686 < if test "${ac_cv_path_EGREP+set}" = set; then
4686 > if test "${ac_cv_path_EGREP+set}" = set; then :
4687    $as_echo_n "(cached) " >&6
4688   else
4689    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4447 | Line 4697 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4697   do
4698    IFS=$as_save_IFS
4699    test -z "$as_dir" && as_dir=.
4700 <  for ac_prog in egrep; do
4700 >    for ac_prog in egrep; do
4701      for ac_exec_ext in '' $ac_executable_extensions; do
4702        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4703        { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
# Line 4467 | Line 4717 | case `"$ac_path_EGREP" --version 2>&1` i
4717      $as_echo 'EGREP' >> "conftest.nl"
4718      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4719      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4720 <    ac_count=`expr $ac_count + 1`
4720 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4721      if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4722        # Best one so far, save it but keep looking for a better one
4723        ac_cv_path_EGREP="$ac_path_EGREP"
# Line 4482 | Line 4732 | esac
4732        $ac_path_EGREP_found && break 3
4733      done
4734    done
4735 < done
4735 >  done
4736   IFS=$as_save_IFS
4737    if test -z "$ac_cv_path_EGREP"; then
4738 <    { { $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; }; }
4738 >    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4739    fi
4740   else
4741    ac_cv_path_EGREP=$EGREP
# Line 4495 | Line 4743 | fi
4743  
4744     fi
4745   fi
4746 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4746 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4747   $as_echo "$ac_cv_path_EGREP" >&6; }
4748   EGREP="$ac_cv_path_EGREP"
4749  
4750  
4751 < { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4751 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4752   $as_echo_n "checking for fgrep... " >&6; }
4753 < if test "${ac_cv_path_FGREP+set}" = set; then
4753 > if test "${ac_cv_path_FGREP+set}" = set; then :
4754    $as_echo_n "(cached) " >&6
4755   else
4756    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4516 | Line 4764 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4764   do
4765    IFS=$as_save_IFS
4766    test -z "$as_dir" && as_dir=.
4767 <  for ac_prog in fgrep; do
4767 >    for ac_prog in fgrep; do
4768      for ac_exec_ext in '' $ac_executable_extensions; do
4769        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4770        { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
# Line 4536 | Line 4784 | case `"$ac_path_FGREP" --version 2>&1` i
4784      $as_echo 'FGREP' >> "conftest.nl"
4785      "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4786      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4787 <    ac_count=`expr $ac_count + 1`
4787 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4788      if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4789        # Best one so far, save it but keep looking for a better one
4790        ac_cv_path_FGREP="$ac_path_FGREP"
# Line 4551 | Line 4799 | esac
4799        $ac_path_FGREP_found && break 3
4800      done
4801    done
4802 < done
4802 >  done
4803   IFS=$as_save_IFS
4804    if test -z "$ac_cv_path_FGREP"; then
4805 <    { { $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; }; }
4805 >    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4806    fi
4807   else
4808    ac_cv_path_FGREP=$FGREP
# Line 4564 | Line 4810 | fi
4810  
4811     fi
4812   fi
4813 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4813 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4814   $as_echo "$ac_cv_path_FGREP" >&6; }
4815   FGREP="$ac_cv_path_FGREP"
4816  
# Line 4590 | Line 4836 | test -z "$GREP" && GREP=grep
4836  
4837  
4838   # Check whether --with-gnu-ld was given.
4839 < if test "${with_gnu_ld+set}" = set; then
4839 > if test "${with_gnu_ld+set}" = set; then :
4840    withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4841   else
4842    with_gnu_ld=no
# Line 4599 | Line 4845 | fi
4845   ac_prog=ld
4846   if test "$GCC" = yes; then
4847    # Check if gcc -print-prog-name=ld gives a path.
4848 <  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4848 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4849   $as_echo_n "checking for ld used by $CC... " >&6; }
4850    case $host in
4851    *-*-mingw*)
# Line 4629 | Line 4875 | $as_echo_n "checking for ld used by $CC.
4875      ;;
4876    esac
4877   elif test "$with_gnu_ld" = yes; then
4878 <  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4878 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4879   $as_echo_n "checking for GNU ld... " >&6; }
4880   else
4881 <  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4881 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4882   $as_echo_n "checking for non-GNU ld... " >&6; }
4883   fi
4884 < if test "${lt_cv_path_LD+set}" = set; then
4884 > if test "${lt_cv_path_LD+set}" = set; then :
4885    $as_echo_n "(cached) " >&6
4886   else
4887    if test -z "$LD"; then
# Line 4666 | Line 4912 | fi
4912  
4913   LD="$lt_cv_path_LD"
4914   if test -n "$LD"; then
4915 <  { $as_echo "$as_me:$LINENO: result: $LD" >&5
4915 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4916   $as_echo "$LD" >&6; }
4917   else
4918 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4918 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919   $as_echo "no" >&6; }
4920   fi
4921 < test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4922 < $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
4921 > test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4922 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4923   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4924 < if test "${lt_cv_prog_gnu_ld+set}" = set; then
4924 > if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4925    $as_echo_n "(cached) " >&6
4926   else
4927    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4690 | Line 4934 | case `$LD -v 2>&1 </dev/null` in
4934    ;;
4935   esac
4936   fi
4937 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4937 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4938   $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4939   with_gnu_ld=$lt_cv_prog_gnu_ld
4940  
# Line 4702 | Line 4946 | with_gnu_ld=$lt_cv_prog_gnu_ld
4946  
4947  
4948  
4949 < { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4949 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4950   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4951 < if test "${lt_cv_path_NM+set}" = set; then
4951 > if test "${lt_cv_path_NM+set}" = set; then :
4952    $as_echo_n "(cached) " >&6
4953   else
4954    if test -n "$NM"; then
# Line 4751 | Line 4995 | else
4995    : ${lt_cv_path_NM=no}
4996   fi
4997   fi
4998 < { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4998 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4999   $as_echo "$lt_cv_path_NM" >&6; }
5000   if test "$lt_cv_path_NM" != "no"; then
5001    NM="$lt_cv_path_NM"
# Line 4762 | Line 5006 | else
5006    do
5007      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5008   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5009 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5009 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010   $as_echo_n "checking for $ac_word... " >&6; }
5011 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5011 > if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5012    $as_echo_n "(cached) " >&6
5013   else
5014    if test -n "$DUMPBIN"; then
# Line 4775 | Line 5019 | for as_dir in $PATH
5019   do
5020    IFS=$as_save_IFS
5021    test -z "$as_dir" && as_dir=.
5022 <  for ac_exec_ext in '' $ac_executable_extensions; do
5022 >    for ac_exec_ext in '' $ac_executable_extensions; do
5023    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5024      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5025 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5026      break 2
5027    fi
5028   done
5029 < done
5029 >  done
5030   IFS=$as_save_IFS
5031  
5032   fi
5033   fi
5034   DUMPBIN=$ac_cv_prog_DUMPBIN
5035   if test -n "$DUMPBIN"; then
5036 <  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5036 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5037   $as_echo "$DUMPBIN" >&6; }
5038   else
5039 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5039 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040   $as_echo "no" >&6; }
5041   fi
5042  
# Line 4806 | Line 5050 | if test -z "$DUMPBIN"; then
5050   do
5051    # Extract the first word of "$ac_prog", so it can be a program name with args.
5052   set dummy $ac_prog; ac_word=$2
5053 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5053 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054   $as_echo_n "checking for $ac_word... " >&6; }
5055 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5055 > if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5056    $as_echo_n "(cached) " >&6
5057   else
5058    if test -n "$ac_ct_DUMPBIN"; then
# Line 4819 | Line 5063 | for as_dir in $PATH
5063   do
5064    IFS=$as_save_IFS
5065    test -z "$as_dir" && as_dir=.
5066 <  for ac_exec_ext in '' $ac_executable_extensions; do
5066 >    for ac_exec_ext in '' $ac_executable_extensions; do
5067    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5069 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070      break 2
5071    fi
5072   done
5073 < done
5073 >  done
5074   IFS=$as_save_IFS
5075  
5076   fi
5077   fi
5078   ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5079   if test -n "$ac_ct_DUMPBIN"; then
5080 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5080 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5081   $as_echo "$ac_ct_DUMPBIN" >&6; }
5082   else
5083 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5083 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084   $as_echo "no" >&6; }
5085   fi
5086  
# Line 4849 | Line 5093 | done
5093    else
5094      case $cross_compiling:$ac_tool_warned in
5095   yes:)
5096 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5096 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5097   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5098   ac_tool_warned=yes ;;
5099   esac
# Line 4869 | Line 5113 | test -z "$NM" && NM=nm
5113  
5114  
5115  
5116 < { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5116 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5117   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5118 < if test "${lt_cv_nm_interface+set}" = set; then
5118 > if test "${lt_cv_nm_interface+set}" = set; then :
5119    $as_echo_n "(cached) " >&6
5120   else
5121    lt_cv_nm_interface="BSD nm"
5122    echo "int some_variable = 0;" > conftest.$ac_ext
5123 <  (eval echo "\"\$as_me:4879: $ac_compile\"" >&5)
5123 >  (eval echo "\"\$as_me:5123: $ac_compile\"" >&5)
5124    (eval "$ac_compile" 2>conftest.err)
5125    cat conftest.err >&5
5126 <  (eval echo "\"\$as_me:4882: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5126 >  (eval echo "\"\$as_me:5126: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5127    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5128    cat conftest.err >&5
5129 <  (eval echo "\"\$as_me:4885: output\"" >&5)
5129 >  (eval echo "\"\$as_me:5129: output\"" >&5)
5130    cat conftest.out >&5
5131    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5132      lt_cv_nm_interface="MS dumpbin"
5133    fi
5134    rm -f conftest*
5135   fi
5136 < { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5136 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5137   $as_echo "$lt_cv_nm_interface" >&6; }
5138  
5139 < { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5139 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5140   $as_echo_n "checking whether ln -s works... " >&6; }
5141   LN_S=$as_ln_s
5142   if test "$LN_S" = "ln -s"; then
5143 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
5143 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5144   $as_echo "yes" >&6; }
5145   else
5146 <  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5146 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5147   $as_echo "no, using $LN_S" >&6; }
5148   fi
5149  
5150   # find the maximum length of command line arguments
5151 < { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5151 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5152   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5153 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5153 > if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5154    $as_echo_n "(cached) " >&6
5155   else
5156      i=0
# Line 5024 | Line 5268 | else
5268   fi
5269  
5270   if test -n $lt_cv_sys_max_cmd_len ; then
5271 <  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5271 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5272   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5273   else
5274 <  { $as_echo "$as_me:$LINENO: result: none" >&5
5274 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5275   $as_echo "none" >&6; }
5276   fi
5277   max_cmd_len=$lt_cv_sys_max_cmd_len
# Line 5041 | Line 5285 | max_cmd_len=$lt_cv_sys_max_cmd_len
5285   : ${MV="mv -f"}
5286   : ${RM="rm -f"}
5287  
5288 < { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5288 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5289   $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5290   # Try some XSI features
5291   xsi_shell=no
# Line 5051 | Line 5295 | xsi_shell=no
5295      && eval 'test $(( 1 + 1 )) -eq 2 \
5296      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5297    && xsi_shell=yes
5298 < { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5298 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5299   $as_echo "$xsi_shell" >&6; }
5300  
5301  
5302 < { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5302 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5303   $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5304   lt_shell_append=no
5305   ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5306      >/dev/null 2>&1 \
5307    && lt_shell_append=yes
5308 < { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5308 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5309   $as_echo "$lt_shell_append" >&6; }
5310  
5311  
# Line 5096 | Line 5340 | esac
5340  
5341  
5342  
5343 < { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5343 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5344   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5345 < if test "${lt_cv_ld_reload_flag+set}" = set; then
5345 > if test "${lt_cv_ld_reload_flag+set}" = set; then :
5346    $as_echo_n "(cached) " >&6
5347   else
5348    lt_cv_ld_reload_flag='-r'
5349   fi
5350 < { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5350 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5351   $as_echo "$lt_cv_ld_reload_flag" >&6; }
5352   reload_flag=$lt_cv_ld_reload_flag
5353   case $reload_flag in
# Line 5132 | Line 5376 | esac
5376   if test -n "$ac_tool_prefix"; then
5377    # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5378   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5379 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5379 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380   $as_echo_n "checking for $ac_word... " >&6; }
5381 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5381 > if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5382    $as_echo_n "(cached) " >&6
5383   else
5384    if test -n "$OBJDUMP"; then
# Line 5145 | Line 5389 | for as_dir in $PATH
5389   do
5390    IFS=$as_save_IFS
5391    test -z "$as_dir" && as_dir=.
5392 <  for ac_exec_ext in '' $ac_executable_extensions; do
5392 >    for ac_exec_ext in '' $ac_executable_extensions; do
5393    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5394      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5395 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396      break 2
5397    fi
5398   done
5399 < done
5399 >  done
5400   IFS=$as_save_IFS
5401  
5402   fi
5403   fi
5404   OBJDUMP=$ac_cv_prog_OBJDUMP
5405   if test -n "$OBJDUMP"; then
5406 <  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5406 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5407   $as_echo "$OBJDUMP" >&6; }
5408   else
5409 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5409 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410   $as_echo "no" >&6; }
5411   fi
5412  
# Line 5172 | Line 5416 | if test -z "$ac_cv_prog_OBJDUMP"; then
5416    ac_ct_OBJDUMP=$OBJDUMP
5417    # Extract the first word of "objdump", so it can be a program name with args.
5418   set dummy objdump; ac_word=$2
5419 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5419 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420   $as_echo_n "checking for $ac_word... " >&6; }
5421 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5421 > if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5422    $as_echo_n "(cached) " >&6
5423   else
5424    if test -n "$ac_ct_OBJDUMP"; then
# Line 5185 | Line 5429 | for as_dir in $PATH
5429   do
5430    IFS=$as_save_IFS
5431    test -z "$as_dir" && as_dir=.
5432 <  for ac_exec_ext in '' $ac_executable_extensions; do
5432 >    for ac_exec_ext in '' $ac_executable_extensions; do
5433    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5434      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5435 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436      break 2
5437    fi
5438   done
5439 < done
5439 >  done
5440   IFS=$as_save_IFS
5441  
5442   fi
5443   fi
5444   ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5445   if test -n "$ac_ct_OBJDUMP"; then
5446 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5446 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5447   $as_echo "$ac_ct_OBJDUMP" >&6; }
5448   else
5449 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5449 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450   $as_echo "no" >&6; }
5451   fi
5452  
# Line 5211 | Line 5455 | fi
5455    else
5456      case $cross_compiling:$ac_tool_warned in
5457   yes:)
5458 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5458 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5459   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5460   ac_tool_warned=yes ;;
5461   esac
# Line 5231 | Line 5475 | test -z "$OBJDUMP" && OBJDUMP=objdump
5475  
5476  
5477  
5478 < { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5478 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5479   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5480 < if test "${lt_cv_deplibs_check_method+set}" = set; then
5480 > if test "${lt_cv_deplibs_check_method+set}" = set; then :
5481    $as_echo_n "(cached) " >&6
5482   else
5483    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5427 | Line 5671 | tpf*)
5671   esac
5672  
5673   fi
5674 < { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5674 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5675   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5676   file_magic_cmd=$lt_cv_file_magic_cmd
5677   deplibs_check_method=$lt_cv_deplibs_check_method
# Line 5447 | Line 5691 | test -z "$deplibs_check_method" && depli
5691   if test -n "$ac_tool_prefix"; then
5692    # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5693   set dummy ${ac_tool_prefix}ar; ac_word=$2
5694 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5694 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695   $as_echo_n "checking for $ac_word... " >&6; }
5696 < if test "${ac_cv_prog_AR+set}" = set; then
5696 > if test "${ac_cv_prog_AR+set}" = set; then :
5697    $as_echo_n "(cached) " >&6
5698   else
5699    if test -n "$AR"; then
# Line 5460 | Line 5704 | for as_dir in $PATH
5704   do
5705    IFS=$as_save_IFS
5706    test -z "$as_dir" && as_dir=.
5707 <  for ac_exec_ext in '' $ac_executable_extensions; do
5707 >    for ac_exec_ext in '' $ac_executable_extensions; do
5708    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5709      ac_cv_prog_AR="${ac_tool_prefix}ar"
5710 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711      break 2
5712    fi
5713   done
5714 < done
5714 >  done
5715   IFS=$as_save_IFS
5716  
5717   fi
5718   fi
5719   AR=$ac_cv_prog_AR
5720   if test -n "$AR"; then
5721 <  { $as_echo "$as_me:$LINENO: result: $AR" >&5
5721 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5722   $as_echo "$AR" >&6; }
5723   else
5724 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5724 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725   $as_echo "no" >&6; }
5726   fi
5727  
# Line 5487 | Line 5731 | if test -z "$ac_cv_prog_AR"; then
5731    ac_ct_AR=$AR
5732    # Extract the first word of "ar", so it can be a program name with args.
5733   set dummy ar; ac_word=$2
5734 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5734 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735   $as_echo_n "checking for $ac_word... " >&6; }
5736 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5736 > if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5737    $as_echo_n "(cached) " >&6
5738   else
5739    if test -n "$ac_ct_AR"; then
# Line 5500 | Line 5744 | for as_dir in $PATH
5744   do
5745    IFS=$as_save_IFS
5746    test -z "$as_dir" && as_dir=.
5747 <  for ac_exec_ext in '' $ac_executable_extensions; do
5747 >    for ac_exec_ext in '' $ac_executable_extensions; do
5748    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749      ac_cv_prog_ac_ct_AR="ar"
5750 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751      break 2
5752    fi
5753   done
5754 < done
5754 >  done
5755   IFS=$as_save_IFS
5756  
5757   fi
5758   fi
5759   ac_ct_AR=$ac_cv_prog_ac_ct_AR
5760   if test -n "$ac_ct_AR"; then
5761 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5761 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5762   $as_echo "$ac_ct_AR" >&6; }
5763   else
5764 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5764 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765   $as_echo "no" >&6; }
5766   fi
5767  
# Line 5526 | Line 5770 | fi
5770    else
5771      case $cross_compiling:$ac_tool_warned in
5772   yes:)
5773 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5773 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5774   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5775   ac_tool_warned=yes ;;
5776   esac
# Line 5552 | Line 5796 | test -z "$AR_FLAGS" && AR_FLAGS=cru
5796   if test -n "$ac_tool_prefix"; then
5797    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5798   set dummy ${ac_tool_prefix}strip; ac_word=$2
5799 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5799 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800   $as_echo_n "checking for $ac_word... " >&6; }
5801 < if test "${ac_cv_prog_STRIP+set}" = set; then
5801 > if test "${ac_cv_prog_STRIP+set}" = set; then :
5802    $as_echo_n "(cached) " >&6
5803   else
5804    if test -n "$STRIP"; then
# Line 5565 | Line 5809 | for as_dir in $PATH
5809   do
5810    IFS=$as_save_IFS
5811    test -z "$as_dir" && as_dir=.
5812 <  for ac_exec_ext in '' $ac_executable_extensions; do
5812 >    for ac_exec_ext in '' $ac_executable_extensions; do
5813    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5814      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5815 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816      break 2
5817    fi
5818   done
5819 < done
5819 >  done
5820   IFS=$as_save_IFS
5821  
5822   fi
5823   fi
5824   STRIP=$ac_cv_prog_STRIP
5825   if test -n "$STRIP"; then
5826 <  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5826 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5827   $as_echo "$STRIP" >&6; }
5828   else
5829 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5829 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5830   $as_echo "no" >&6; }
5831   fi
5832  
# Line 5592 | Line 5836 | if test -z "$ac_cv_prog_STRIP"; then
5836    ac_ct_STRIP=$STRIP
5837    # Extract the first word of "strip", so it can be a program name with args.
5838   set dummy strip; ac_word=$2
5839 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5839 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840   $as_echo_n "checking for $ac_word... " >&6; }
5841 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5841 > if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5842    $as_echo_n "(cached) " >&6
5843   else
5844    if test -n "$ac_ct_STRIP"; then
# Line 5605 | Line 5849 | for as_dir in $PATH
5849   do
5850    IFS=$as_save_IFS
5851    test -z "$as_dir" && as_dir=.
5852 <  for ac_exec_ext in '' $ac_executable_extensions; do
5852 >    for ac_exec_ext in '' $ac_executable_extensions; do
5853    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5854      ac_cv_prog_ac_ct_STRIP="strip"
5855 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856      break 2
5857    fi
5858   done
5859 < done
5859 >  done
5860   IFS=$as_save_IFS
5861  
5862   fi
5863   fi
5864   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5865   if test -n "$ac_ct_STRIP"; then
5866 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5866 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5867   $as_echo "$ac_ct_STRIP" >&6; }
5868   else
5869 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5869 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870   $as_echo "no" >&6; }
5871   fi
5872  
# Line 5631 | Line 5875 | fi
5875    else
5876      case $cross_compiling:$ac_tool_warned in
5877   yes:)
5878 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5878 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5879   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5880   ac_tool_warned=yes ;;
5881   esac
# Line 5651 | Line 5895 | test -z "$STRIP" && STRIP=:
5895   if test -n "$ac_tool_prefix"; then
5896    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5897   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5898 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5898 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899   $as_echo_n "checking for $ac_word... " >&6; }
5900 < if test "${ac_cv_prog_RANLIB+set}" = set; then
5900 > if test "${ac_cv_prog_RANLIB+set}" = set; then :
5901    $as_echo_n "(cached) " >&6
5902   else
5903    if test -n "$RANLIB"; then
# Line 5664 | Line 5908 | for as_dir in $PATH
5908   do
5909    IFS=$as_save_IFS
5910    test -z "$as_dir" && as_dir=.
5911 <  for ac_exec_ext in '' $ac_executable_extensions; do
5911 >    for ac_exec_ext in '' $ac_executable_extensions; do
5912    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5913      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5914 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5915      break 2
5916    fi
5917   done
5918 < done
5918 >  done
5919   IFS=$as_save_IFS
5920  
5921   fi
5922   fi
5923   RANLIB=$ac_cv_prog_RANLIB
5924   if test -n "$RANLIB"; then
5925 <  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5925 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5926   $as_echo "$RANLIB" >&6; }
5927   else
5928 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5928 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5929   $as_echo "no" >&6; }
5930   fi
5931  
# Line 5691 | Line 5935 | if test -z "$ac_cv_prog_RANLIB"; then
5935    ac_ct_RANLIB=$RANLIB
5936    # Extract the first word of "ranlib", so it can be a program name with args.
5937   set dummy ranlib; ac_word=$2
5938 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5938 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939   $as_echo_n "checking for $ac_word... " >&6; }
5940 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5940 > if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5941    $as_echo_n "(cached) " >&6
5942   else
5943    if test -n "$ac_ct_RANLIB"; then
# Line 5704 | Line 5948 | for as_dir in $PATH
5948   do
5949    IFS=$as_save_IFS
5950    test -z "$as_dir" && as_dir=.
5951 <  for ac_exec_ext in '' $ac_executable_extensions; do
5951 >    for ac_exec_ext in '' $ac_executable_extensions; do
5952    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5953      ac_cv_prog_ac_ct_RANLIB="ranlib"
5954 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955      break 2
5956    fi
5957   done
5958 < done
5958 >  done
5959   IFS=$as_save_IFS
5960  
5961   fi
5962   fi
5963   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5964   if test -n "$ac_ct_RANLIB"; then
5965 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5965 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5966   $as_echo "$ac_ct_RANLIB" >&6; }
5967   else
5968 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5968 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969   $as_echo "no" >&6; }
5970   fi
5971  
# Line 5730 | Line 5974 | fi
5974    else
5975      case $cross_compiling:$ac_tool_warned in
5976   yes:)
5977 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5977 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5978   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5979   ac_tool_warned=yes ;;
5980   esac
# Line 5808 | Line 6052 | compiler=$CC
6052  
6053  
6054   # Check for command to grab the raw symbol name followed by C symbol from nm.
6055 < { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6055 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6056   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6057 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6057 > if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6058    $as_echo_n "(cached) " >&6
6059   else
6060  
# Line 5926 | Line 6170 | void nm_test_func(void){}
6170   int main(){nm_test_var='a';nm_test_func();return(0);}
6171   _LT_EOF
6172  
6173 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6173 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6174    (eval $ac_compile) 2>&5
6175    ac_status=$?
6176 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 <  (exit $ac_status); }; then
6176 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6177 >  test $ac_status = 0; }; then
6178      # Now try to grab the symbols.
6179      nlist=conftest.nm
6180 <    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6180 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6181    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6182    ac_status=$?
6183 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 <  (exit $ac_status); } && test -s "$nlist"; then
6183 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6184 >  test $ac_status = 0; } && test -s "$nlist"; then
6185        # Try sorting and uniquifying the output.
6186        if sort "$nlist" | uniq > "$nlist"T; then
6187          mv -f "$nlist"T "$nlist"
# Line 5990 | Line 6234 | _LT_EOF
6234            lt_save_CFLAGS="$CFLAGS"
6235            LIBS="conftstm.$ac_objext"
6236            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6237 <          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6237 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6238    (eval $ac_link) 2>&5
6239    ac_status=$?
6240 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 <  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6240 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6241 >  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6242              pipe_works=yes
6243            fi
6244            LIBS="$lt_save_LIBS"
# Line 6028 | Line 6272 | if test -z "$lt_cv_sys_global_symbol_pip
6272    lt_cv_sys_global_symbol_to_cdecl=
6273   fi
6274   if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6275 <  { $as_echo "$as_me:$LINENO: result: failed" >&5
6275 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6276   $as_echo "failed" >&6; }
6277   else
6278 <  { $as_echo "$as_me:$LINENO: result: ok" >&5
6278 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6279   $as_echo "ok" >&6; }
6280   fi
6281  
# Line 6057 | Line 6301 | fi
6301  
6302  
6303   # Check whether --enable-libtool-lock was given.
6304 < if test "${enable_libtool_lock+set}" = set; then
6304 > if test "${enable_libtool_lock+set}" = set; then :
6305    enableval=$enable_libtool_lock;
6306   fi
6307  
# Line 6069 | Line 6313 | case $host in
6313   ia64-*-hpux*)
6314    # Find out which ABI we are using.
6315    echo 'int i;' > conftest.$ac_ext
6316 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6316 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6317    (eval $ac_compile) 2>&5
6318    ac_status=$?
6319 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 <  (exit $ac_status); }; then
6319 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6320 >  test $ac_status = 0; }; then
6321      case `/usr/bin/file conftest.$ac_objext` in
6322        *ELF-32*)
6323          HPUX_IA64_MODE="32"
# Line 6087 | Line 6331 | ia64-*-hpux*)
6331    ;;
6332   *-*-irix6*)
6333    # Find out which ABI we are using.
6334 <  echo '#line 6090 "configure"' > conftest.$ac_ext
6335 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6334 >  echo '#line 6334 "configure"' > conftest.$ac_ext
6335 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6336    (eval $ac_compile) 2>&5
6337    ac_status=$?
6338 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 <  (exit $ac_status); }; then
6338 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6339 >  test $ac_status = 0; }; then
6340      if test "$lt_cv_prog_gnu_ld" = yes; then
6341        case `/usr/bin/file conftest.$ac_objext` in
6342          *32-bit*)
# Line 6126 | Line 6370 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc
6370   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6371    # Find out which ABI we are using.
6372    echo 'int i;' > conftest.$ac_ext
6373 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6373 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6374    (eval $ac_compile) 2>&5
6375    ac_status=$?
6376 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 <  (exit $ac_status); }; then
6376 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6377 >  test $ac_status = 0; }; then
6378      case `/usr/bin/file conftest.o` in
6379        *32-bit*)
6380          case $host in
# Line 6179 | Line 6423 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6423    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6424    SAVE_CFLAGS="$CFLAGS"
6425    CFLAGS="$CFLAGS -belf"
6426 <  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6426 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6427   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6428 < if test "${lt_cv_cc_needs_belf+set}" = set; then
6428 > if test "${lt_cv_cc_needs_belf+set}" = set; then :
6429    $as_echo_n "(cached) " >&6
6430   else
6431    ac_ext=c
# Line 6190 | Line 6434 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
6434   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6435   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6436  
6437 <     cat >conftest.$ac_ext <<_ACEOF
6194 < /* confdefs.h.  */
6195 < _ACEOF
6196 < cat confdefs.h >>conftest.$ac_ext
6197 < cat >>conftest.$ac_ext <<_ACEOF
6437 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6438   /* end confdefs.h.  */
6439  
6440   int
# Line 6205 | Line 6445 | main ()
6445    return 0;
6446   }
6447   _ACEOF
6448 < 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
6448 > if ac_fn_c_try_link "$LINENO"; then :
6449    lt_cv_cc_needs_belf=yes
6450   else
6451 <  $as_echo "$as_me: failed program was:" >&5
6232 < sed 's/^/| /' conftest.$ac_ext >&5
6233 <
6234 <        lt_cv_cc_needs_belf=no
6451 >  lt_cv_cc_needs_belf=no
6452   fi
6453 <
6454 < rm -rf conftest.dSYM
6238 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6239 <      conftest$ac_exeext conftest.$ac_ext
6453 > rm -f core conftest.err conftest.$ac_objext \
6454 >    conftest$ac_exeext conftest.$ac_ext
6455       ac_ext=c
6456   ac_cpp='$CPP $CPPFLAGS'
6457   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 6244 | Line 6459 | ac_link='$CC -o conftest$ac_exeext $CFLA
6459   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6460  
6461   fi
6462 < { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6462 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6463   $as_echo "$lt_cv_cc_needs_belf" >&6; }
6464    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6465      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
# Line 6254 | Line 6469 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6469   sparc*-*solaris*)
6470    # Find out which ABI we are using.
6471    echo 'int i;' > conftest.$ac_ext
6472 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6472 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6473    (eval $ac_compile) 2>&5
6474    ac_status=$?
6475 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 <  (exit $ac_status); }; then
6475 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6476 >  test $ac_status = 0; }; then
6477      case `/usr/bin/file conftest.o` in
6478      *64-bit*)
6479        case $lt_cv_prog_gnu_ld in
# Line 6284 | Line 6499 | need_locks="$enable_libtool_lock"
6499      if test -n "$ac_tool_prefix"; then
6500    # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6501   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6502 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6502 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503   $as_echo_n "checking for $ac_word... " >&6; }
6504 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6504 > if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6505    $as_echo_n "(cached) " >&6
6506   else
6507    if test -n "$DSYMUTIL"; then
# Line 6297 | Line 6512 | for as_dir in $PATH
6512   do
6513    IFS=$as_save_IFS
6514    test -z "$as_dir" && as_dir=.
6515 <  for ac_exec_ext in '' $ac_executable_extensions; do
6515 >    for ac_exec_ext in '' $ac_executable_extensions; do
6516    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6518 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6518 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519      break 2
6520    fi
6521   done
6522 < done
6522 >  done
6523   IFS=$as_save_IFS
6524  
6525   fi
6526   fi
6527   DSYMUTIL=$ac_cv_prog_DSYMUTIL
6528   if test -n "$DSYMUTIL"; then
6529 <  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6529 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6530   $as_echo "$DSYMUTIL" >&6; }
6531   else
6532 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6532 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533   $as_echo "no" >&6; }
6534   fi
6535  
# Line 6324 | Line 6539 | if test -z "$ac_cv_prog_DSYMUTIL"; then
6539    ac_ct_DSYMUTIL=$DSYMUTIL
6540    # Extract the first word of "dsymutil", so it can be a program name with args.
6541   set dummy dsymutil; ac_word=$2
6542 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6542 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543   $as_echo_n "checking for $ac_word... " >&6; }
6544 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6544 > if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6545    $as_echo_n "(cached) " >&6
6546   else
6547    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6337 | Line 6552 | for as_dir in $PATH
6552   do
6553    IFS=$as_save_IFS
6554    test -z "$as_dir" && as_dir=.
6555 <  for ac_exec_ext in '' $ac_executable_extensions; do
6555 >    for ac_exec_ext in '' $ac_executable_extensions; do
6556    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6558 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6558 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559      break 2
6560    fi
6561   done
6562 < done
6562 >  done
6563   IFS=$as_save_IFS
6564  
6565   fi
6566   fi
6567   ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6568   if test -n "$ac_ct_DSYMUTIL"; then
6569 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6569 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6570   $as_echo "$ac_ct_DSYMUTIL" >&6; }
6571   else
6572 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6572 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573   $as_echo "no" >&6; }
6574   fi
6575  
# Line 6363 | Line 6578 | fi
6578    else
6579      case $cross_compiling:$ac_tool_warned in
6580   yes:)
6581 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6581 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583   ac_tool_warned=yes ;;
6584   esac
# Line 6376 | Line 6591 | fi
6591      if test -n "$ac_tool_prefix"; then
6592    # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6593   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6594 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6594 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595   $as_echo_n "checking for $ac_word... " >&6; }
6596 < if test "${ac_cv_prog_NMEDIT+set}" = set; then
6596 > if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6597    $as_echo_n "(cached) " >&6
6598   else
6599    if test -n "$NMEDIT"; then
# Line 6389 | Line 6604 | for as_dir in $PATH
6604   do
6605    IFS=$as_save_IFS
6606    test -z "$as_dir" && as_dir=.
6607 <  for ac_exec_ext in '' $ac_executable_extensions; do
6607 >    for ac_exec_ext in '' $ac_executable_extensions; do
6608    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6609      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6610 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6611      break 2
6612    fi
6613   done
6614 < done
6614 >  done
6615   IFS=$as_save_IFS
6616  
6617   fi
6618   fi
6619   NMEDIT=$ac_cv_prog_NMEDIT
6620   if test -n "$NMEDIT"; then
6621 <  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6621 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6622   $as_echo "$NMEDIT" >&6; }
6623   else
6624 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6624 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625   $as_echo "no" >&6; }
6626   fi
6627  
# Line 6416 | Line 6631 | if test -z "$ac_cv_prog_NMEDIT"; then
6631    ac_ct_NMEDIT=$NMEDIT
6632    # Extract the first word of "nmedit", so it can be a program name with args.
6633   set dummy nmedit; ac_word=$2
6634 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6634 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635   $as_echo_n "checking for $ac_word... " >&6; }
6636 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6636 > if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6637    $as_echo_n "(cached) " >&6
6638   else
6639    if test -n "$ac_ct_NMEDIT"; then
# Line 6429 | Line 6644 | for as_dir in $PATH
6644   do
6645    IFS=$as_save_IFS
6646    test -z "$as_dir" && as_dir=.
6647 <  for ac_exec_ext in '' $ac_executable_extensions; do
6647 >    for ac_exec_ext in '' $ac_executable_extensions; do
6648    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6649      ac_cv_prog_ac_ct_NMEDIT="nmedit"
6650 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6650 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6651      break 2
6652    fi
6653   done
6654 < done
6654 >  done
6655   IFS=$as_save_IFS
6656  
6657   fi
6658   fi
6659   ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6660   if test -n "$ac_ct_NMEDIT"; then
6661 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6661 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6662   $as_echo "$ac_ct_NMEDIT" >&6; }
6663   else
6664 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6664 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665   $as_echo "no" >&6; }
6666   fi
6667  
# Line 6455 | Line 6670 | fi
6670    else
6671      case $cross_compiling:$ac_tool_warned in
6672   yes:)
6673 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6673 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6674   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6675   ac_tool_warned=yes ;;
6676   esac
# Line 6468 | Line 6683 | fi
6683      if test -n "$ac_tool_prefix"; then
6684    # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6685   set dummy ${ac_tool_prefix}lipo; ac_word=$2
6686 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6686 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687   $as_echo_n "checking for $ac_word... " >&6; }
6688 < if test "${ac_cv_prog_LIPO+set}" = set; then
6688 > if test "${ac_cv_prog_LIPO+set}" = set; then :
6689    $as_echo_n "(cached) " >&6
6690   else
6691    if test -n "$LIPO"; then
# Line 6481 | Line 6696 | for as_dir in $PATH
6696   do
6697    IFS=$as_save_IFS
6698    test -z "$as_dir" && as_dir=.
6699 <  for ac_exec_ext in '' $ac_executable_extensions; do
6699 >    for ac_exec_ext in '' $ac_executable_extensions; do
6700    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6701      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6702 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6702 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6703      break 2
6704    fi
6705   done
6706 < done
6706 >  done
6707   IFS=$as_save_IFS
6708  
6709   fi
6710   fi
6711   LIPO=$ac_cv_prog_LIPO
6712   if test -n "$LIPO"; then
6713 <  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6713 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6714   $as_echo "$LIPO" >&6; }
6715   else
6716 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6716 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717   $as_echo "no" >&6; }
6718   fi
6719  
# Line 6508 | Line 6723 | if test -z "$ac_cv_prog_LIPO"; then
6723    ac_ct_LIPO=$LIPO
6724    # Extract the first word of "lipo", so it can be a program name with args.
6725   set dummy lipo; ac_word=$2
6726 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6726 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727   $as_echo_n "checking for $ac_word... " >&6; }
6728 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6728 > if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6729    $as_echo_n "(cached) " >&6
6730   else
6731    if test -n "$ac_ct_LIPO"; then
# Line 6521 | Line 6736 | for as_dir in $PATH
6736   do
6737    IFS=$as_save_IFS
6738    test -z "$as_dir" && as_dir=.
6739 <  for ac_exec_ext in '' $ac_executable_extensions; do
6739 >    for ac_exec_ext in '' $ac_executable_extensions; do
6740    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6741      ac_cv_prog_ac_ct_LIPO="lipo"
6742 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6742 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6743      break 2
6744    fi
6745   done
6746 < done
6746 >  done
6747   IFS=$as_save_IFS
6748  
6749   fi
6750   fi
6751   ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6752   if test -n "$ac_ct_LIPO"; then
6753 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6753 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6754   $as_echo "$ac_ct_LIPO" >&6; }
6755   else
6756 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6756 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757   $as_echo "no" >&6; }
6758   fi
6759  
# Line 6547 | Line 6762 | fi
6762    else
6763      case $cross_compiling:$ac_tool_warned in
6764   yes:)
6765 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6765 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6766   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6767   ac_tool_warned=yes ;;
6768   esac
# Line 6560 | Line 6775 | fi
6775      if test -n "$ac_tool_prefix"; then
6776    # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6777   set dummy ${ac_tool_prefix}otool; ac_word=$2
6778 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6778 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779   $as_echo_n "checking for $ac_word... " >&6; }
6780 < if test "${ac_cv_prog_OTOOL+set}" = set; then
6780 > if test "${ac_cv_prog_OTOOL+set}" = set; then :
6781    $as_echo_n "(cached) " >&6
6782   else
6783    if test -n "$OTOOL"; then
# Line 6573 | Line 6788 | for as_dir in $PATH
6788   do
6789    IFS=$as_save_IFS
6790    test -z "$as_dir" && as_dir=.
6791 <  for ac_exec_ext in '' $ac_executable_extensions; do
6791 >    for ac_exec_ext in '' $ac_executable_extensions; do
6792    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6793      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6794 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6794 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6795      break 2
6796    fi
6797   done
6798 < done
6798 >  done
6799   IFS=$as_save_IFS
6800  
6801   fi
6802   fi
6803   OTOOL=$ac_cv_prog_OTOOL
6804   if test -n "$OTOOL"; then
6805 <  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6805 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6806   $as_echo "$OTOOL" >&6; }
6807   else
6808 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6808 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6809   $as_echo "no" >&6; }
6810   fi
6811  
# Line 6600 | Line 6815 | if test -z "$ac_cv_prog_OTOOL"; then
6815    ac_ct_OTOOL=$OTOOL
6816    # Extract the first word of "otool", so it can be a program name with args.
6817   set dummy otool; ac_word=$2
6818 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6818 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819   $as_echo_n "checking for $ac_word... " >&6; }
6820 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6820 > if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6821    $as_echo_n "(cached) " >&6
6822   else
6823    if test -n "$ac_ct_OTOOL"; then
# Line 6613 | Line 6828 | for as_dir in $PATH
6828   do
6829    IFS=$as_save_IFS
6830    test -z "$as_dir" && as_dir=.
6831 <  for ac_exec_ext in '' $ac_executable_extensions; do
6831 >    for ac_exec_ext in '' $ac_executable_extensions; do
6832    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6833      ac_cv_prog_ac_ct_OTOOL="otool"
6834 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6834 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6835      break 2
6836    fi
6837   done
6838 < done
6838 >  done
6839   IFS=$as_save_IFS
6840  
6841   fi
6842   fi
6843   ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6844   if test -n "$ac_ct_OTOOL"; then
6845 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6845 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6846   $as_echo "$ac_ct_OTOOL" >&6; }
6847   else
6848 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6848 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849   $as_echo "no" >&6; }
6850   fi
6851  
# Line 6639 | Line 6854 | fi
6854    else
6855      case $cross_compiling:$ac_tool_warned in
6856   yes:)
6857 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6857 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6858   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6859   ac_tool_warned=yes ;;
6860   esac
# Line 6652 | Line 6867 | fi
6867      if test -n "$ac_tool_prefix"; then
6868    # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6869   set dummy ${ac_tool_prefix}otool64; ac_word=$2
6870 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6870 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871   $as_echo_n "checking for $ac_word... " >&6; }
6872 < if test "${ac_cv_prog_OTOOL64+set}" = set; then
6872 > if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6873    $as_echo_n "(cached) " >&6
6874   else
6875    if test -n "$OTOOL64"; then
# Line 6665 | Line 6880 | for as_dir in $PATH
6880   do
6881    IFS=$as_save_IFS
6882    test -z "$as_dir" && as_dir=.
6883 <  for ac_exec_ext in '' $ac_executable_extensions; do
6883 >    for ac_exec_ext in '' $ac_executable_extensions; do
6884    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6885      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6886 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6886 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6887      break 2
6888    fi
6889   done
6890 < done
6890 >  done
6891   IFS=$as_save_IFS
6892  
6893   fi
6894   fi
6895   OTOOL64=$ac_cv_prog_OTOOL64
6896   if test -n "$OTOOL64"; then
6897 <  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6897 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6898   $as_echo "$OTOOL64" >&6; }
6899   else
6900 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6900 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901   $as_echo "no" >&6; }
6902   fi
6903  
# Line 6692 | Line 6907 | if test -z "$ac_cv_prog_OTOOL64"; then
6907    ac_ct_OTOOL64=$OTOOL64
6908    # Extract the first word of "otool64", so it can be a program name with args.
6909   set dummy otool64; ac_word=$2
6910 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6910 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6911   $as_echo_n "checking for $ac_word... " >&6; }
6912 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6912 > if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6913    $as_echo_n "(cached) " >&6
6914   else
6915    if test -n "$ac_ct_OTOOL64"; then
# Line 6705 | Line 6920 | for as_dir in $PATH
6920   do
6921    IFS=$as_save_IFS
6922    test -z "$as_dir" && as_dir=.
6923 <  for ac_exec_ext in '' $ac_executable_extensions; do
6923 >    for ac_exec_ext in '' $ac_executable_extensions; do
6924    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6925      ac_cv_prog_ac_ct_OTOOL64="otool64"
6926 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6926 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6927      break 2
6928    fi
6929   done
6930 < done
6930 >  done
6931   IFS=$as_save_IFS
6932  
6933   fi
6934   fi
6935   ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6936   if test -n "$ac_ct_OTOOL64"; then
6937 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6937 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6938   $as_echo "$ac_ct_OTOOL64" >&6; }
6939   else
6940 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6940 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6941   $as_echo "no" >&6; }
6942   fi
6943  
# Line 6731 | Line 6946 | fi
6946    else
6947      case $cross_compiling:$ac_tool_warned in
6948   yes:)
6949 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6949 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6950   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6951   ac_tool_warned=yes ;;
6952   esac
# Line 6767 | Line 6982 | fi
6982  
6983  
6984  
6985 <    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6985 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6986   $as_echo_n "checking for -single_module linker flag... " >&6; }
6987 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6987 > if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6988    $as_echo_n "(cached) " >&6
6989   else
6990    lt_cv_apple_cc_single_mod=no
# Line 6794 | Line 7009 | else
7009          rm -f conftest.*
7010        fi
7011   fi
7012 < { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7012 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7013   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7014 <    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7014 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7015   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7016 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7016 > if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7017    $as_echo_n "(cached) " >&6
7018   else
7019    lt_cv_ld_exported_symbols_list=no
7020        save_LDFLAGS=$LDFLAGS
7021        echo "_main" > conftest.sym
7022        LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7023 <      cat >conftest.$ac_ext <<_ACEOF
6809 < /* confdefs.h.  */
6810 < _ACEOF
6811 < cat confdefs.h >>conftest.$ac_ext
6812 < cat >>conftest.$ac_ext <<_ACEOF
7023 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7024   /* end confdefs.h.  */
7025  
7026   int
# Line 6820 | Line 7031 | main ()
7031    return 0;
7032   }
7033   _ACEOF
7034 < 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
7034 > if ac_fn_c_try_link "$LINENO"; then :
7035    lt_cv_ld_exported_symbols_list=yes
7036   else
7037 <  $as_echo "$as_me: failed program was:" >&5
6847 < sed 's/^/| /' conftest.$ac_ext >&5
6848 <
6849 <        lt_cv_ld_exported_symbols_list=no
7037 >  lt_cv_ld_exported_symbols_list=no
7038   fi
7039 <
7040 < rm -rf conftest.dSYM
6853 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6854 <      conftest$ac_exeext conftest.$ac_ext
7039 > rm -f core conftest.err conftest.$ac_objext \
7040 >    conftest$ac_exeext conftest.$ac_ext
7041          LDFLAGS="$save_LDFLAGS"
7042  
7043   fi
7044 < { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7044 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7045   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7046      case $host_os in
7047      rhapsody* | darwin1.[012])
# Line 6897 | Line 7083 | ac_cpp='$CPP $CPPFLAGS'
7083   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7084   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7085   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7086 < { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7086 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7087   $as_echo_n "checking how to run the C preprocessor... " >&6; }
7088   # On Suns, sometimes $CPP names a directory.
7089   if test -n "$CPP" && test -d "$CPP"; then
7090    CPP=
7091   fi
7092   if test -z "$CPP"; then
7093 <  if test "${ac_cv_prog_CPP+set}" = set; then
7093 >  if test "${ac_cv_prog_CPP+set}" = set; then :
7094    $as_echo_n "(cached) " >&6
7095   else
7096        # Double quotes because CPP needs to be expanded
# Line 6919 | Line 7105 | do
7105    # <limits.h> exists even on freestanding compilers.
7106    # On the NeXT, cc -E runs the code through the compiler's parser,
7107    # not just through cpp. "Syntax error" is here to catch this case.
7108 <  cat >conftest.$ac_ext <<_ACEOF
6923 < /* confdefs.h.  */
6924 < _ACEOF
6925 < cat confdefs.h >>conftest.$ac_ext
6926 < cat >>conftest.$ac_ext <<_ACEOF
7108 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7109   /* end confdefs.h.  */
7110   #ifdef __STDC__
7111   # include <limits.h>
# Line 6932 | Line 7114 | cat >>conftest.$ac_ext <<_ACEOF
7114   #endif
7115                       Syntax error
7116   _ACEOF
7117 < 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
7117 > if ac_fn_c_try_cpp "$LINENO"; then :
7118  
7119 + else
7120    # Broken: fails on valid input.
7121   continue
7122   fi
6960
7123   rm -f conftest.err conftest.$ac_ext
7124  
7125    # OK, works on sane cases.  Now check whether nonexistent headers
7126    # can be detected and how.
7127 <  cat >conftest.$ac_ext <<_ACEOF
6966 < /* confdefs.h.  */
6967 < _ACEOF
6968 < cat confdefs.h >>conftest.$ac_ext
6969 < cat >>conftest.$ac_ext <<_ACEOF
7127 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7128   /* end confdefs.h.  */
7129   #include <ac_nonexistent.h>
7130   _ACEOF
7131 < 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
7131 > if ac_fn_c_try_cpp "$LINENO"; then :
7132    # Broken: success on invalid input.
7133   continue
7134   else
6993  $as_echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.$ac_ext >&5
6995
7135    # Passes both tests.
7136   ac_preproc_ok=:
7137   break
7138   fi
7000
7139   rm -f conftest.err conftest.$ac_ext
7140  
7141   done
7142   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7143   rm -f conftest.err conftest.$ac_ext
7144 < if $ac_preproc_ok; then
7144 > if $ac_preproc_ok; then :
7145    break
7146   fi
7147  
# Line 7015 | Line 7153 | fi
7153   else
7154    ac_cv_prog_CPP=$CPP
7155   fi
7156 < { $as_echo "$as_me:$LINENO: result: $CPP" >&5
7156 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7157   $as_echo "$CPP" >&6; }
7158   ac_preproc_ok=false
7159   for ac_c_preproc_warn_flag in '' yes
# Line 7026 | Line 7164 | do
7164    # <limits.h> exists even on freestanding compilers.
7165    # On the NeXT, cc -E runs the code through the compiler's parser,
7166    # not just through cpp. "Syntax error" is here to catch this case.
7167 <  cat >conftest.$ac_ext <<_ACEOF
7030 < /* confdefs.h.  */
7031 < _ACEOF
7032 < cat confdefs.h >>conftest.$ac_ext
7033 < cat >>conftest.$ac_ext <<_ACEOF
7167 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7168   /* end confdefs.h.  */
7169   #ifdef __STDC__
7170   # include <limits.h>
# Line 7039 | Line 7173 | cat >>conftest.$ac_ext <<_ACEOF
7173   #endif
7174                       Syntax error
7175   _ACEOF
7176 < 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
7176 > if ac_fn_c_try_cpp "$LINENO"; then :
7177  
7178 + else
7179    # Broken: fails on valid input.
7180   continue
7181   fi
7067
7182   rm -f conftest.err conftest.$ac_ext
7183  
7184    # OK, works on sane cases.  Now check whether nonexistent headers
7185    # can be detected and how.
7186 <  cat >conftest.$ac_ext <<_ACEOF
7073 < /* confdefs.h.  */
7074 < _ACEOF
7075 < cat confdefs.h >>conftest.$ac_ext
7076 < cat >>conftest.$ac_ext <<_ACEOF
7186 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7187   /* end confdefs.h.  */
7188   #include <ac_nonexistent.h>
7189   _ACEOF
7190 < 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
7190 > if ac_fn_c_try_cpp "$LINENO"; then :
7191    # Broken: success on invalid input.
7192   continue
7193   else
7100  $as_echo "$as_me: failed program was:" >&5
7101 sed 's/^/| /' conftest.$ac_ext >&5
7102
7194    # Passes both tests.
7195   ac_preproc_ok=:
7196   break
7197   fi
7107
7198   rm -f conftest.err conftest.$ac_ext
7199  
7200   done
7201   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7202   rm -f conftest.err conftest.$ac_ext
7203 < if $ac_preproc_ok; then
7204 <  :
7203 > if $ac_preproc_ok; then :
7204 >
7205   else
7206 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7206 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7207   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7208 < { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7209 < 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; }; }; }
7208 > as_fn_error "C preprocessor \"$CPP\" fails sanity check
7209 > See \`config.log' for more details." "$LINENO" 5; }
7210   fi
7211  
7212   ac_ext=c
# Line 7129 | Line 7216 | ac_link='$CC -o conftest$ac_exeext $CFLA
7216   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7217  
7218  
7219 < { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7219 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7220   $as_echo_n "checking for ANSI C header files... " >&6; }
7221 < if test "${ac_cv_header_stdc+set}" = set; then
7221 > if test "${ac_cv_header_stdc+set}" = set; then :
7222    $as_echo_n "(cached) " >&6
7223   else
7224 <  cat >conftest.$ac_ext <<_ACEOF
7138 < /* confdefs.h.  */
7139 < _ACEOF
7140 < cat confdefs.h >>conftest.$ac_ext
7141 < cat >>conftest.$ac_ext <<_ACEOF
7224 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7225   /* end confdefs.h.  */
7226   #include <stdlib.h>
7227   #include <stdarg.h>
# Line 7153 | Line 7236 | main ()
7236    return 0;
7237   }
7238   _ACEOF
7239 < 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
7239 > if ac_fn_c_try_compile "$LINENO"; then :
7240    ac_cv_header_stdc=yes
7241   else
7242 <  $as_echo "$as_me: failed program was:" >&5
7177 < sed 's/^/| /' conftest.$ac_ext >&5
7178 <
7179 <        ac_cv_header_stdc=no
7242 >  ac_cv_header_stdc=no
7243   fi
7181
7244   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7245  
7246   if test $ac_cv_header_stdc = yes; then
7247    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7248 <  cat >conftest.$ac_ext <<_ACEOF
7187 < /* confdefs.h.  */
7188 < _ACEOF
7189 < cat confdefs.h >>conftest.$ac_ext
7190 < cat >>conftest.$ac_ext <<_ACEOF
7248 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7249   /* end confdefs.h.  */
7250   #include <string.h>
7251  
7252   _ACEOF
7253   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7254 <  $EGREP "memchr" >/dev/null 2>&1; then
7255 <  :
7254 >  $EGREP "memchr" >/dev/null 2>&1; then :
7255 >
7256   else
7257    ac_cv_header_stdc=no
7258   fi
# Line 7204 | Line 7262 | fi
7262  
7263   if test $ac_cv_header_stdc = yes; then
7264    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7265 <  cat >conftest.$ac_ext <<_ACEOF
7208 < /* confdefs.h.  */
7209 < _ACEOF
7210 < cat confdefs.h >>conftest.$ac_ext
7211 < cat >>conftest.$ac_ext <<_ACEOF
7265 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266   /* end confdefs.h.  */
7267   #include <stdlib.h>
7268  
7269   _ACEOF
7270   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7271 <  $EGREP "free" >/dev/null 2>&1; then
7272 <  :
7271 >  $EGREP "free" >/dev/null 2>&1; then :
7272 >
7273   else
7274    ac_cv_header_stdc=no
7275   fi
# Line 7225 | Line 7279 | fi
7279  
7280   if test $ac_cv_header_stdc = yes; then
7281    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7282 <  if test "$cross_compiling" = yes; then
7282 >  if test "$cross_compiling" = yes; then :
7283    :
7284   else
7285 <  cat >conftest.$ac_ext <<_ACEOF
7232 < /* confdefs.h.  */
7233 < _ACEOF
7234 < cat confdefs.h >>conftest.$ac_ext
7235 < cat >>conftest.$ac_ext <<_ACEOF
7285 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7286   /* end confdefs.h.  */
7287   #include <ctype.h>
7288   #include <stdlib.h>
# Line 7259 | Line 7309 | main ()
7309    return 0;
7310   }
7311   _ACEOF
7312 < 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
7312 > if ac_fn_c_try_run "$LINENO"; then :
7313  
7314 < ( exit $ac_status )
7315 < ac_cv_header_stdc=no
7314 > else
7315 >  ac_cv_header_stdc=no
7316   fi
7317 < rm -rf conftest.dSYM
7318 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7317 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7318 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
7319   fi
7320  
7297
7321   fi
7322   fi
7323 < { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7323 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7324   $as_echo "$ac_cv_header_stdc" >&6; }
7325   if test $ac_cv_header_stdc = yes; then
7326  
7327 < cat >>confdefs.h <<\_ACEOF
7305 < #define STDC_HEADERS 1
7306 < _ACEOF
7327 > $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7328  
7329   fi
7330  
7331   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7311
7312
7313
7314
7315
7316
7317
7318
7319
7332   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7333                    inttypes.h stdint.h unistd.h
7334 < do
7335 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7336 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7337 < $as_echo_n "checking for $ac_header... " >&6; }
7338 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7339 <  $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
7334 > do :
7335 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7336 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7337 > "
7338 > eval as_val=\$$as_ac_Header
7339 >   if test "x$as_val" = x""yes; then :
7340    cat >>confdefs.h <<_ACEOF
7341   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7342   _ACEOF
# Line 7380 | Line 7346 | fi
7346   done
7347  
7348  
7383
7349   for ac_header in dlfcn.h
7350 < do
7351 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7352 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7353 < $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
7350 > do :
7351 >  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7352 > "
7353 > if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7354    cat >>confdefs.h <<_ACEOF
7355 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7355 > #define HAVE_DLFCN_H 1
7356   _ACEOF
7357  
7358   fi
# Line 7446 | Line 7363 | done
7363  
7364   # Set options
7365   enable_dlopen=yes
7366 <
7367 <
7368 <
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}
7366 > # Check whether --enable-static was given.
7367 > if test "${enable_static+set}" = set; then :
7368 >  enableval=$enable_static; p=${PACKAGE-default}
7369      case $enableval in
7370 <    yes) enable_shared=yes ;;
7371 <    no) enable_shared=no ;;
7370 >    yes) enable_static=yes ;;
7371 >    no) enable_static=no ;;
7372      *)
7373 <      enable_shared=no
7373 >     enable_static=no
7374        # Look at the argument we got.  We use all the common list separators.
7375        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7376        for pkg in $enableval; do
7377          IFS="$lt_save_ifs"
7378          if test "X$pkg" = "X$p"; then
7379 <          enable_shared=yes
7379 >          enable_static=yes
7380          fi
7381        done
7382        IFS="$lt_save_ifs"
7383        ;;
7384      esac
7385   else
7386 <  enable_shared=yes
7386 >  enable_static=no
7387   fi
7388  
7389  
# Line 7484 | Line 7394 | fi
7394  
7395  
7396  
7397 <  # Check whether --enable-static was given.
7398 < if test "${enable_static+set}" = set; then
7399 <  enableval=$enable_static; p=${PACKAGE-default}
7397 >
7398 >
7399 >  enable_win32_dll=no
7400 >
7401 >
7402 >            # Check whether --enable-shared was given.
7403 > if test "${enable_shared+set}" = set; then :
7404 >  enableval=$enable_shared; p=${PACKAGE-default}
7405      case $enableval in
7406 <    yes) enable_static=yes ;;
7407 <    no) enable_static=no ;;
7406 >    yes) enable_shared=yes ;;
7407 >    no) enable_shared=no ;;
7408      *)
7409 <     enable_static=no
7409 >      enable_shared=no
7410        # Look at the argument we got.  We use all the common list separators.
7411        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7412        for pkg in $enableval; do
7413          IFS="$lt_save_ifs"
7414          if test "X$pkg" = "X$p"; then
7415 <          enable_static=yes
7415 >          enable_shared=yes
7416          fi
7417        done
7418        IFS="$lt_save_ifs"
7419        ;;
7420      esac
7421   else
7422 <  enable_static=yes
7422 >  enable_shared=yes
7423   fi
7424  
7425  
# Line 7516 | Line 7431 | fi
7431  
7432  
7433  
7434 +
7435   # Check whether --with-pic was given.
7436 < if test "${with_pic+set}" = set; then
7436 > if test "${with_pic+set}" = set; then :
7437    withval=$with_pic; pic_mode="$withval"
7438   else
7439    pic_mode=default
# Line 7533 | Line 7449 | test -z "$pic_mode" && pic_mode=default
7449  
7450  
7451    # Check whether --enable-fast-install was given.
7452 < if test "${enable_fast_install+set}" = set; then
7452 > if test "${enable_fast_install+set}" = set; then :
7453    enableval=$enable_fast_install; p=${PACKAGE-default}
7454      case $enableval in
7455      yes) enable_fast_install=yes ;;
# Line 7614 | Line 7530 | if test -n "${ZSH_VERSION+set}" ; then
7530     setopt NO_GLOB_SUBST
7531   fi
7532  
7533 < { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7533 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7534   $as_echo_n "checking for objdir... " >&6; }
7535 < if test "${lt_cv_objdir+set}" = set; then
7535 > if test "${lt_cv_objdir+set}" = set; then :
7536    $as_echo_n "(cached) " >&6
7537   else
7538    rm -f .libs 2>/dev/null
# Line 7629 | Line 7545 | else
7545   fi
7546   rmdir .libs 2>/dev/null
7547   fi
7548 < { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7548 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7549   $as_echo "$lt_cv_objdir" >&6; }
7550   objdir=$lt_cv_objdir
7551  
# Line 7722 | Line 7638 | test -z "$MAGIC_CMD" && MAGIC_CMD=file
7638   case $deplibs_check_method in
7639   file_magic*)
7640    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7641 <    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7641 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7642   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7643 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7643 > if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7644    $as_echo_n "(cached) " >&6
7645   else
7646    case $MAGIC_CMD in
# Line 7775 | Line 7691 | fi
7691  
7692   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7693   if test -n "$MAGIC_CMD"; then
7694 <  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7694 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7695   $as_echo "$MAGIC_CMD" >&6; }
7696   else
7697 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7697 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698   $as_echo "no" >&6; }
7699   fi
7700  
# Line 7788 | Line 7704 | fi
7704  
7705   if test -z "$lt_cv_path_MAGIC_CMD"; then
7706    if test -n "$ac_tool_prefix"; then
7707 <    { $as_echo "$as_me:$LINENO: checking for file" >&5
7707 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7708   $as_echo_n "checking for file... " >&6; }
7709 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7709 > if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7710    $as_echo_n "(cached) " >&6
7711   else
7712    case $MAGIC_CMD in
# Line 7841 | Line 7757 | fi
7757  
7758   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7759   if test -n "$MAGIC_CMD"; then
7760 <  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7760 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7761   $as_echo "$MAGIC_CMD" >&6; }
7762   else
7763 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7763 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7764   $as_echo "no" >&6; }
7765   fi
7766  
# Line 7921 | Line 7837 | lt_prog_compiler_no_builtin_flag=
7837   if test "$GCC" = yes; then
7838    lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7839  
7840 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7840 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7841   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7842 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7842 > if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7843    $as_echo_n "(cached) " >&6
7844   else
7845    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7939 | Line 7855 | else
7855     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7856     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7857     -e 's:$: $lt_compiler_flag:'`
7858 <   (eval echo "\"\$as_me:7942: $lt_compile\"" >&5)
7858 >   (eval echo "\"\$as_me:7858: $lt_compile\"" >&5)
7859     (eval "$lt_compile" 2>conftest.err)
7860     ac_status=$?
7861     cat conftest.err >&5
7862 <   echo "$as_me:7946: \$? = $ac_status" >&5
7862 >   echo "$as_me:7862: \$? = $ac_status" >&5
7863     if (exit $ac_status) && test -s "$ac_outfile"; then
7864       # The compiler can only warn and ignore the option if not recognized
7865       # So say no if there are warnings other than the usual output.
# Line 7956 | Line 7872 | else
7872     $RM conftest*
7873  
7874   fi
7875 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7875 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7876   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7877  
7878   if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
# Line 7976 | Line 7892 | fi
7892   lt_prog_compiler_pic=
7893   lt_prog_compiler_static=
7894  
7895 < { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7895 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7896   $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7897  
7898    if test "$GCC" = yes; then
# Line 8248 | Line 8164 | case $host_os in
8164      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8165      ;;
8166   esac
8167 < { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8167 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8168   $as_echo "$lt_prog_compiler_pic" >&6; }
8169  
8170  
# Line 8260 | Line 8176 | $as_echo "$lt_prog_compiler_pic" >&6; }
8176   # Check to make sure the PIC flag actually works.
8177   #
8178   if test -n "$lt_prog_compiler_pic"; then
8179 <  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8179 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8180   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8181 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8181 > if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8182    $as_echo_n "(cached) " >&6
8183   else
8184    lt_cv_prog_compiler_pic_works=no
# Line 8278 | Line 8194 | else
8194     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8195     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8196     -e 's:$: $lt_compiler_flag:'`
8197 <   (eval echo "\"\$as_me:8281: $lt_compile\"" >&5)
8197 >   (eval echo "\"\$as_me:8197: $lt_compile\"" >&5)
8198     (eval "$lt_compile" 2>conftest.err)
8199     ac_status=$?
8200     cat conftest.err >&5
8201 <   echo "$as_me:8285: \$? = $ac_status" >&5
8201 >   echo "$as_me:8201: \$? = $ac_status" >&5
8202     if (exit $ac_status) && test -s "$ac_outfile"; then
8203       # The compiler can only warn and ignore the option if not recognized
8204       # So say no if there are warnings other than the usual output.
# Line 8295 | Line 8211 | else
8211     $RM conftest*
8212  
8213   fi
8214 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8214 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8215   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8216  
8217   if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
# Line 8319 | Line 8235 | fi
8235   # Check to make sure the static flag actually works.
8236   #
8237   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8238 < { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8238 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8239   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8240 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8240 > if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8241    $as_echo_n "(cached) " >&6
8242   else
8243    lt_cv_prog_compiler_static_works=no
# Line 8347 | Line 8263 | else
8263     LDFLAGS="$save_LDFLAGS"
8264  
8265   fi
8266 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8266 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8267   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8268  
8269   if test x"$lt_cv_prog_compiler_static_works" = xyes; then
# Line 8362 | Line 8278 | fi
8278  
8279  
8280  
8281 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8281 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8282   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8283 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8283 > if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8284    $as_echo_n "(cached) " >&6
8285   else
8286    lt_cv_prog_compiler_c_o=no
# Line 8383 | Line 8299 | else
8299     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8300     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8301     -e 's:$: $lt_compiler_flag:'`
8302 <   (eval echo "\"\$as_me:8386: $lt_compile\"" >&5)
8302 >   (eval echo "\"\$as_me:8302: $lt_compile\"" >&5)
8303     (eval "$lt_compile" 2>out/conftest.err)
8304     ac_status=$?
8305     cat out/conftest.err >&5
8306 <   echo "$as_me:8390: \$? = $ac_status" >&5
8306 >   echo "$as_me:8306: \$? = $ac_status" >&5
8307     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8308     then
8309       # The compiler can only warn and ignore the option if not recognized
# Line 8409 | Line 8325 | else
8325     $RM conftest*
8326  
8327   fi
8328 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8328 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8329   $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8330  
8331  
# Line 8417 | Line 8333 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8333  
8334  
8335  
8336 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8336 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8337   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8338 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8338 > if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8339    $as_echo_n "(cached) " >&6
8340   else
8341    lt_cv_prog_compiler_c_o=no
# Line 8438 | Line 8354 | else
8354     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8355     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8356     -e 's:$: $lt_compiler_flag:'`
8357 <   (eval echo "\"\$as_me:8441: $lt_compile\"" >&5)
8357 >   (eval echo "\"\$as_me:8357: $lt_compile\"" >&5)
8358     (eval "$lt_compile" 2>out/conftest.err)
8359     ac_status=$?
8360     cat out/conftest.err >&5
8361 <   echo "$as_me:8445: \$? = $ac_status" >&5
8361 >   echo "$as_me:8361: \$? = $ac_status" >&5
8362     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8363     then
8364       # The compiler can only warn and ignore the option if not recognized
# Line 8464 | Line 8380 | else
8380     $RM conftest*
8381  
8382   fi
8383 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8383 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8384   $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8385  
8386  
# Line 8473 | Line 8389 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8389   hard_links="nottested"
8390   if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8391    # do not overwrite the value of need_locks provided by the user
8392 <  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8392 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8393   $as_echo_n "checking if we can lock with hard links... " >&6; }
8394    hard_links=yes
8395    $RM conftest*
# Line 8481 | Line 8397 | $as_echo_n "checking if we can lock with
8397    touch conftest.a
8398    ln conftest.a conftest.b 2>&5 || hard_links=no
8399    ln conftest.a conftest.b 2>/dev/null && hard_links=no
8400 <  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8400 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8401   $as_echo "$hard_links" >&6; }
8402    if test "$hard_links" = no; then
8403 <    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8403 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8404   $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8405      need_locks=warn
8406    fi
# Line 8497 | Line 8413 | fi
8413  
8414  
8415  
8416 <  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8416 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8417   $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8418  
8419    runpath_var=
# Line 8940 | Line 8856 | _LT_EOF
8856          allow_undefined_flag='-berok'
8857          # Determine the default libpath from the value encoded in an
8858          # empty executable.
8859 <        cat >conftest.$ac_ext <<_ACEOF
8944 < /* confdefs.h.  */
8945 < _ACEOF
8946 < cat confdefs.h >>conftest.$ac_ext
8947 < cat >>conftest.$ac_ext <<_ACEOF
8859 >        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860   /* end confdefs.h.  */
8861  
8862   int
# Line 8955 | Line 8867 | main ()
8867    return 0;
8868   }
8869   _ACEOF
8870 < 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
8870 > if ac_fn_c_try_link "$LINENO"; then :
8871  
8872   lt_aix_libpath_sed='
8873      /Import File Strings/,/^$/ {
# Line 8989 | Line 8881 | aix_libpath=`dump -H conftest$ac_exeext
8881   if test -z "$aix_libpath"; then
8882    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8883   fi
8992 else
8993  $as_echo "$as_me: failed program was:" >&5
8994 sed 's/^/| /' conftest.$ac_ext >&5
8995
8996
8884   fi
8885 <
8886 < rm -rf conftest.dSYM
9000 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9001 <      conftest$ac_exeext conftest.$ac_ext
8885 > rm -f core conftest.err conftest.$ac_objext \
8886 >    conftest$ac_exeext conftest.$ac_ext
8887   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8888  
8889          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 9011 | Line 8896 | if test -z "$aix_libpath"; then aix_libp
8896          else
8897           # Determine the default libpath from the value encoded in an
8898           # empty executable.
8899 <         cat >conftest.$ac_ext <<_ACEOF
9015 < /* confdefs.h.  */
9016 < _ACEOF
9017 < cat confdefs.h >>conftest.$ac_ext
9018 < cat >>conftest.$ac_ext <<_ACEOF
8899 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900   /* end confdefs.h.  */
8901  
8902   int
# Line 9026 | Line 8907 | main ()
8907    return 0;
8908   }
8909   _ACEOF
8910 < 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
8910 > if ac_fn_c_try_link "$LINENO"; then :
8911  
8912   lt_aix_libpath_sed='
8913      /Import File Strings/,/^$/ {
# Line 9060 | Line 8921 | aix_libpath=`dump -H conftest$ac_exeext
8921   if test -z "$aix_libpath"; then
8922    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8923   fi
9063 else
9064  $as_echo "$as_me: failed program was:" >&5
9065 sed 's/^/| /' conftest.$ac_ext >&5
9066
9067
8924   fi
8925 <
8926 < rm -rf conftest.dSYM
9071 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9072 <      conftest$ac_exeext conftest.$ac_ext
8925 > rm -f core conftest.err conftest.$ac_objext \
8926 >    conftest$ac_exeext conftest.$ac_ext
8927   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8928  
8929           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 9281 | Line 9135 | if test -z "$aix_libpath"; then aix_libp
9135          # implicitly export all symbols.
9136          save_LDFLAGS="$LDFLAGS"
9137          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9138 <        cat >conftest.$ac_ext <<_ACEOF
9138 >        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 > /* end confdefs.h.  */
9140   int foo(void) {}
9141   _ACEOF
9142 < 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
9142 > if ac_fn_c_try_link "$LINENO"; then :
9143    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'
9144  
9310 else
9311  $as_echo "$as_me: failed program was:" >&5
9312 sed 's/^/| /' conftest.$ac_ext >&5
9313
9314
9145   fi
9146 <
9147 < rm -rf conftest.dSYM
9318 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9319 <      conftest$ac_exeext conftest.$ac_ext
9146 > rm -f core conftest.err conftest.$ac_objext \
9147 >    conftest$ac_exeext conftest.$ac_ext
9148          LDFLAGS="$save_LDFLAGS"
9149        else
9150          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 9400 | rm -f core conftest.err conftest.$ac_obj
9400      fi
9401    fi
9402  
9403 < { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9403 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9404   $as_echo "$ld_shlibs" >&6; }
9405   test "$ld_shlibs" = no && can_build_shared=no
9406  
# Line 9609 | Line 9437 | x|xyes)
9437        # Test whether the compiler implicitly links with -lc since on some
9438        # systems, -lgcc has to come before -lc. If gcc already passes -lc
9439        # to ld, don't add -lc before -lgcc.
9440 <      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9440 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9441   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9442        $RM conftest*
9443        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9444  
9445 <      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9445 >      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9446    (eval $ac_compile) 2>&5
9447    ac_status=$?
9448 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 <  (exit $ac_status); } 2>conftest.err; then
9448 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9449 >  test $ac_status = 0; } 2>conftest.err; then
9450          soname=conftest
9451          lib=conftest
9452          libobjs=conftest.$ac_objext
# Line 9632 | Line 9460 | $as_echo_n "checking whether -lc should
9460          libname=conftest
9461          lt_save_allow_undefined_flag=$allow_undefined_flag
9462          allow_undefined_flag=
9463 <        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9463 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9464    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9465    ac_status=$?
9466 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 <  (exit $ac_status); }
9466 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9467 >  test $ac_status = 0; }
9468          then
9469            archive_cmds_need_lc=no
9470          else
# Line 9647 | Line 9475 | $as_echo_n "checking whether -lc should
9475          cat conftest.err 1>&5
9476        fi
9477        $RM conftest*
9478 <      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9478 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9479   $as_echo "$archive_cmds_need_lc" >&6; }
9480        ;;
9481      esac
# Line 9811 | Line 9639 | esac
9639  
9640  
9641  
9642 <  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9642 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9643   $as_echo_n "checking dynamic linker characteristics... " >&6; }
9644  
9645   if test "$GCC" = yes; then
# Line 10233 | Line 10061 | linux* | k*bsd*-gnu)
10061    save_libdir=$libdir
10062    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10063         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10064 <  cat >conftest.$ac_ext <<_ACEOF
10237 < /* confdefs.h.  */
10238 < _ACEOF
10239 < cat confdefs.h >>conftest.$ac_ext
10240 < cat >>conftest.$ac_ext <<_ACEOF
10064 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065   /* end confdefs.h.  */
10066  
10067   int
# Line 10248 | Line 10072 | main ()
10072    return 0;
10073   }
10074   _ACEOF
10075 < rm -f conftest.$ac_objext conftest$ac_exeext
10076 < 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
10075 > if ac_fn_c_try_link "$LINENO"; then :
10076 >  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10077    shlibpath_overrides_runpath=yes
10078   fi
10275
10276 else
10277  $as_echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.$ac_ext >&5
10279
10280
10079   fi
10080 <
10081 < rm -rf conftest.dSYM
10284 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10285 <      conftest$ac_exeext conftest.$ac_ext
10080 > rm -f core conftest.err conftest.$ac_objext \
10081 >    conftest$ac_exeext conftest.$ac_ext
10082    LDFLAGS=$save_LDFLAGS
10083    libdir=$save_libdir
10084  
# Line 10295 | Line 10091 | rm -f core conftest.err conftest.$ac_obj
10091    libsuff=
10092    case "$host_cpu" in
10093    x86_64*|s390x*|powerpc64*)
10094 <    echo '#line 10298 "configure"' > conftest.$ac_ext
10095 <    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10094 >    echo '#line 10094 "configure"' > conftest.$ac_ext
10095 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10096    (eval $ac_compile) 2>&5
10097    ac_status=$?
10098 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10099 <  (exit $ac_status); }; then
10098 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10099 >  test $ac_status = 0; }; then
10100        case `/usr/bin/file conftest.$ac_objext` in
10101        *64-bit*)
10102          libsuff=64
# Line 10516 | Line 10312 | uts4*)
10312    dynamic_linker=no
10313    ;;
10314   esac
10315 < { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10315 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10316   $as_echo "$dynamic_linker" >&6; }
10317   test "$dynamic_linker" = no && can_build_shared=no
10318  
# Line 10618 | Line 10414 | fi
10414  
10415  
10416  
10417 <  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10417 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10418   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10419   hardcode_action=
10420   if test -n "$hardcode_libdir_flag_spec" ||
# Line 10643 | Line 10439 | else
10439    # directories.
10440    hardcode_action=unsupported
10441   fi
10442 < { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10442 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10443   $as_echo "$hardcode_action" >&6; }
10444  
10445   if test "$hardcode_action" = relink ||
# Line 10688 | Line 10484 | else
10484  
10485    darwin*)
10486    # if libdl is installed we need to link against it
10487 <    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10487 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10488   $as_echo_n "checking for dlopen in -ldl... " >&6; }
10489 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10489 > if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10490    $as_echo_n "(cached) " >&6
10491   else
10492    ac_check_lib_save_LIBS=$LIBS
10493   LIBS="-ldl  $LIBS"
10494 < cat >conftest.$ac_ext <<_ACEOF
10699 < /* confdefs.h.  */
10700 < _ACEOF
10701 < cat confdefs.h >>conftest.$ac_ext
10702 < cat >>conftest.$ac_ext <<_ACEOF
10494 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495   /* end confdefs.h.  */
10496  
10497   /* Override any GCC internal prototype to avoid an error.
# Line 10717 | Line 10509 | return dlopen ();
10509    return 0;
10510   }
10511   _ACEOF
10512 < 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
10512 > if ac_fn_c_try_link "$LINENO"; then :
10513    ac_cv_lib_dl_dlopen=yes
10514   else
10515 <  $as_echo "$as_me: failed program was:" >&5
10744 < sed 's/^/| /' conftest.$ac_ext >&5
10745 <
10746 <        ac_cv_lib_dl_dlopen=no
10515 >  ac_cv_lib_dl_dlopen=no
10516   fi
10517 <
10518 < rm -rf conftest.dSYM
10750 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10751 <      conftest$ac_exeext conftest.$ac_ext
10517 > rm -f core conftest.err conftest.$ac_objext \
10518 >    conftest$ac_exeext conftest.$ac_ext
10519   LIBS=$ac_check_lib_save_LIBS
10520   fi
10521 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10521 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10522   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10523 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10523 > if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10524    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10525   else
10526  
# Line 10766 | Line 10533 | fi
10533      ;;
10534  
10535    *)
10536 <    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10537 < $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
10536 >    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10537 > if test "x$ac_cv_func_shl_load" = x""yes; then :
10538    lt_cv_dlopen="shl_load"
10539   else
10540 <  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10540 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10541   $as_echo_n "checking for shl_load in -ldld... " >&6; }
10542 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10542 > if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10543    $as_echo_n "(cached) " >&6
10544   else
10545    ac_check_lib_save_LIBS=$LIBS
10546   LIBS="-ldld  $LIBS"
10547 < cat >conftest.$ac_ext <<_ACEOF
10865 < /* confdefs.h.  */
10866 < _ACEOF
10867 < cat confdefs.h >>conftest.$ac_ext
10868 < cat >>conftest.$ac_ext <<_ACEOF
10547 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10548   /* end confdefs.h.  */
10549  
10550   /* Override any GCC internal prototype to avoid an error.
# Line 10883 | Line 10562 | return shl_load ();
10562    return 0;
10563   }
10564   _ACEOF
10565 < 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
10565 > if ac_fn_c_try_link "$LINENO"; then :
10566    ac_cv_lib_dld_shl_load=yes
10567   else
10568 <  $as_echo "$as_me: failed program was:" >&5
10910 < sed 's/^/| /' conftest.$ac_ext >&5
10911 <
10912 <        ac_cv_lib_dld_shl_load=no
10568 >  ac_cv_lib_dld_shl_load=no
10569   fi
10570 <
10571 < rm -rf conftest.dSYM
10916 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10917 <      conftest$ac_exeext conftest.$ac_ext
10570 > rm -f core conftest.err conftest.$ac_objext \
10571 >    conftest$ac_exeext conftest.$ac_ext
10572   LIBS=$ac_check_lib_save_LIBS
10573   fi
10574 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10574 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10575   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10576 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10576 > if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10577    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10578   else
10579 <  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10580 < $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
10579 >  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10580 > if test "x$ac_cv_func_dlopen" = x""yes; then :
10581    lt_cv_dlopen="dlopen"
10582   else
10583 <  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10583 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10584   $as_echo_n "checking for dlopen in -ldl... " >&6; }
10585 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10585 > if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10586    $as_echo_n "(cached) " >&6
10587   else
10588    ac_check_lib_save_LIBS=$LIBS
10589   LIBS="-ldl  $LIBS"
10590 < cat >conftest.$ac_ext <<_ACEOF
11021 < /* confdefs.h.  */
11022 < _ACEOF
11023 < cat confdefs.h >>conftest.$ac_ext
11024 < cat >>conftest.$ac_ext <<_ACEOF
10590 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10591   /* end confdefs.h.  */
10592  
10593   /* Override any GCC internal prototype to avoid an error.
# Line 11039 | Line 10605 | return dlopen ();
10605    return 0;
10606   }
10607   _ACEOF
10608 < 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
10608 > if ac_fn_c_try_link "$LINENO"; then :
10609    ac_cv_lib_dl_dlopen=yes
10610   else
10611 <  $as_echo "$as_me: failed program was:" >&5
11066 < sed 's/^/| /' conftest.$ac_ext >&5
11067 <
11068 <        ac_cv_lib_dl_dlopen=no
10611 >  ac_cv_lib_dl_dlopen=no
10612   fi
10613 <
10614 < rm -rf conftest.dSYM
11072 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11073 <      conftest$ac_exeext conftest.$ac_ext
10613 > rm -f core conftest.err conftest.$ac_objext \
10614 >    conftest$ac_exeext conftest.$ac_ext
10615   LIBS=$ac_check_lib_save_LIBS
10616   fi
10617 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10617 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10618   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10619 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10619 > if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10620    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10621   else
10622 <  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10622 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10623   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10624 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10624 > if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10625    $as_echo_n "(cached) " >&6
10626   else
10627    ac_check_lib_save_LIBS=$LIBS
10628   LIBS="-lsvld  $LIBS"
10629 < cat >conftest.$ac_ext <<_ACEOF
11089 < /* confdefs.h.  */
11090 < _ACEOF
11091 < cat confdefs.h >>conftest.$ac_ext
11092 < cat >>conftest.$ac_ext <<_ACEOF
10629 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10630   /* end confdefs.h.  */
10631  
10632   /* Override any GCC internal prototype to avoid an error.
# Line 11107 | Line 10644 | return dlopen ();
10644    return 0;
10645   }
10646   _ACEOF
10647 < 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
10647 > if ac_fn_c_try_link "$LINENO"; then :
10648    ac_cv_lib_svld_dlopen=yes
10649   else
10650 <  $as_echo "$as_me: failed program was:" >&5
11134 < sed 's/^/| /' conftest.$ac_ext >&5
11135 <
11136 <        ac_cv_lib_svld_dlopen=no
10650 >  ac_cv_lib_svld_dlopen=no
10651   fi
10652 <
10653 < rm -rf conftest.dSYM
11140 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11141 <      conftest$ac_exeext conftest.$ac_ext
10652 > rm -f core conftest.err conftest.$ac_objext \
10653 >    conftest$ac_exeext conftest.$ac_ext
10654   LIBS=$ac_check_lib_save_LIBS
10655   fi
10656 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10656 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10657   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10658 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10658 > if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10659    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10660   else
10661 <  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10661 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10662   $as_echo_n "checking for dld_link in -ldld... " >&6; }
10663 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10663 > if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10664    $as_echo_n "(cached) " >&6
10665   else
10666    ac_check_lib_save_LIBS=$LIBS
10667   LIBS="-ldld  $LIBS"
10668 < cat >conftest.$ac_ext <<_ACEOF
11157 < /* confdefs.h.  */
11158 < _ACEOF
11159 < cat confdefs.h >>conftest.$ac_ext
11160 < cat >>conftest.$ac_ext <<_ACEOF
10668 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669   /* end confdefs.h.  */
10670  
10671   /* Override any GCC internal prototype to avoid an error.
# Line 11175 | Line 10683 | return dld_link ();
10683    return 0;
10684   }
10685   _ACEOF
10686 < 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
10686 > if ac_fn_c_try_link "$LINENO"; then :
10687    ac_cv_lib_dld_dld_link=yes
10688   else
10689 <  $as_echo "$as_me: failed program was:" >&5
11202 < sed 's/^/| /' conftest.$ac_ext >&5
11203 <
11204 <        ac_cv_lib_dld_dld_link=no
10689 >  ac_cv_lib_dld_dld_link=no
10690   fi
10691 <
10692 < rm -rf conftest.dSYM
11208 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11209 <      conftest$ac_exeext conftest.$ac_ext
10691 > rm -f core conftest.err conftest.$ac_objext \
10692 >    conftest$ac_exeext conftest.$ac_ext
10693   LIBS=$ac_check_lib_save_LIBS
10694   fi
10695 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10695 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10696   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10697 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10697 > if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10698    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10699   fi
10700  
# Line 11250 | Line 10733 | fi
10733      save_LIBS="$LIBS"
10734      LIBS="$lt_cv_dlopen_libs $LIBS"
10735  
10736 <    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10736 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10737   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10738 < if test "${lt_cv_dlopen_self+set}" = set; then
10738 > if test "${lt_cv_dlopen_self+set}" = set; then :
10739    $as_echo_n "(cached) " >&6
10740   else
10741            if test "$cross_compiling" = yes; then :
# Line 11261 | Line 10744 | else
10744    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10745    lt_status=$lt_dlunknown
10746    cat > conftest.$ac_ext <<_LT_EOF
10747 < #line 11264 "configure"
10747 > #line 10747 "configure"
10748   #include "confdefs.h"
10749  
10750   #if HAVE_DLFCN_H
# Line 11320 | Line 10803 | int main ()
10803    return status;
10804   }
10805   _LT_EOF
10806 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10806 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10807    (eval $ac_link) 2>&5
10808    ac_status=$?
10809 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10809 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10810 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10811      (./conftest; exit; ) >&5 2>/dev/null
10812      lt_status=$?
10813      case x$lt_status in
# Line 11341 | Line 10824 | rm -fr conftest*
10824  
10825  
10826   fi
10827 < { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10827 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10828   $as_echo "$lt_cv_dlopen_self" >&6; }
10829  
10830      if test "x$lt_cv_dlopen_self" = xyes; then
10831        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10832 <      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10832 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10833   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10834 < if test "${lt_cv_dlopen_self_static+set}" = set; then
10834 > if test "${lt_cv_dlopen_self_static+set}" = set; then :
10835    $as_echo_n "(cached) " >&6
10836   else
10837            if test "$cross_compiling" = yes; then :
# Line 11357 | Line 10840 | else
10840    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10841    lt_status=$lt_dlunknown
10842    cat > conftest.$ac_ext <<_LT_EOF
10843 < #line 11360 "configure"
10843 > #line 10843 "configure"
10844   #include "confdefs.h"
10845  
10846   #if HAVE_DLFCN_H
# Line 11416 | Line 10899 | int main ()
10899    return status;
10900   }
10901   _LT_EOF
10902 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10902 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10903    (eval $ac_link) 2>&5
10904    ac_status=$?
10905 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10905 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10906 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10907      (./conftest; exit; ) >&5 2>/dev/null
10908      lt_status=$?
10909      case x$lt_status in
# Line 11437 | Line 10920 | rm -fr conftest*
10920  
10921  
10922   fi
10923 < { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10923 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10924   $as_echo "$lt_cv_dlopen_self_static" >&6; }
10925      fi
10926  
# Line 11476 | Line 10959 | fi
10959  
10960   striplib=
10961   old_striplib=
10962 < { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10962 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10963   $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10964   if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10965    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10966    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10967 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
10967 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10968   $as_echo "yes" >&6; }
10969   else
10970   # FIXME - insert some real tests, host_os isn't really good enough
# Line 11490 | Line 10973 | else
10973      if test -n "$STRIP" ; then
10974        striplib="$STRIP -x"
10975        old_striplib="$STRIP -S"
10976 <      { $as_echo "$as_me:$LINENO: result: yes" >&5
10976 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10977   $as_echo "yes" >&6; }
10978      else
10979 <      { $as_echo "$as_me:$LINENO: result: no" >&5
10979 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10980   $as_echo "no" >&6; }
10981      fi
10982      ;;
10983    *)
10984 <    { $as_echo "$as_me:$LINENO: result: no" >&5
10984 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10985   $as_echo "no" >&6; }
10986      ;;
10987    esac
# Line 11516 | Line 10999 | fi
10999  
11000  
11001    # Report which library types will actually be built
11002 <  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11002 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11003   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11004 <  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11004 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11005   $as_echo "$can_build_shared" >&6; }
11006  
11007 <  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11007 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11008   $as_echo_n "checking whether to build shared libraries... " >&6; }
11009    test "$can_build_shared" = "no" && enable_shared=no
11010  
# Line 11542 | Line 11025 | $as_echo_n "checking whether to build sh
11025      fi
11026      ;;
11027    esac
11028 <  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11028 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11029   $as_echo "$enable_shared" >&6; }
11030  
11031 <  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11031 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11032   $as_echo_n "checking whether to build static libraries... " >&6; }
11033    # Make sure either enable_shared or enable_static is yes.
11034    test "$enable_shared" = yes || enable_static=yes
11035 <  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11035 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11036   $as_echo "$enable_static" >&6; }
11037  
11038  
# Line 11584 | Line 11067 | CC="$lt_save_CC"
11067   # Only expand once:
11068  
11069  
11070 < { $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
11070 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11071   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11072 < if test "${libltdl_cv_shlibext+set}" = set; then
11072 > if test "${libltdl_cv_shlibext+set}" = set; then :
11073    $as_echo_n "(cached) " >&6
11074   else
11075  
# Line 11594 | Line 11077 | module=yes
11077   eval libltdl_cv_shlibext=$shrext_cmds
11078  
11079   fi
11080 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
11080 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
11081   $as_echo "$libltdl_cv_shlibext" >&6; }
11082   if test -n "$libltdl_cv_shlibext"; then
11083  
# Line 11604 | Line 11087 | _ACEOF
11087  
11088   fi
11089  
11090 < { $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
11090 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11091   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11092 < if test "${lt_cv_module_path_var+set}" = set; then
11092 > if test "${lt_cv_module_path_var+set}" = set; then :
11093    $as_echo_n "(cached) " >&6
11094   else
11095    lt_cv_module_path_var="$shlibpath_var"
11096   fi
11097 < { $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
11097 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
11098   $as_echo "$lt_cv_module_path_var" >&6; }
11099   if test -n "$lt_cv_module_path_var"; then
11100  
# Line 11621 | Line 11104 | _ACEOF
11104  
11105   fi
11106  
11107 < { $as_echo "$as_me:$LINENO: checking for the default library search path" >&5
11107 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11108   $as_echo_n "checking for the default library search path... " >&6; }
11109 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then
11109 > if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11110    $as_echo_n "(cached) " >&6
11111   else
11112    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
11113   fi
11114 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
11114 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
11115   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
11116   if test -n "$lt_cv_sys_dlsearch_path"; then
11117    sys_dlsearch_path=
# Line 11658 | Line 11141 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
11141  
11142  
11143   LIBADD_DLOPEN=
11144 < { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
11144 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11145   $as_echo_n "checking for library containing dlopen... " >&6; }
11146 < if test "${ac_cv_search_dlopen+set}" = set; then
11146 > if test "${ac_cv_search_dlopen+set}" = set; then :
11147    $as_echo_n "(cached) " >&6
11148   else
11149    ac_func_search_save_LIBS=$LIBS
11150 < cat >conftest.$ac_ext <<_ACEOF
11668 < /* confdefs.h.  */
11669 < _ACEOF
11670 < cat confdefs.h >>conftest.$ac_ext
11671 < cat >>conftest.$ac_ext <<_ACEOF
11150 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151   /* end confdefs.h.  */
11152  
11153   /* Override any GCC internal prototype to avoid an error.
# Line 11693 | Line 11172 | for ac_lib in '' dl; do
11172      ac_res=-l$ac_lib
11173      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11174    fi
11175 <  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
11175 >  if ac_fn_c_try_link "$LINENO"; then :
11176    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
11177   fi
11178 <
11179 < rm -rf conftest.dSYM
11180 < 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
11178 > rm -f core conftest.err conftest.$ac_objext \
11179 >    conftest$ac_exeext
11180 >  if test "${ac_cv_search_dlopen+set}" = set; then :
11181    break
11182   fi
11183   done
11184 < if test "${ac_cv_search_dlopen+set}" = set; then
11185 <  :
11184 > if test "${ac_cv_search_dlopen+set}" = set; then :
11185 >
11186   else
11187    ac_cv_search_dlopen=no
11188   fi
11189   rm conftest.$ac_ext
11190   LIBS=$ac_func_search_save_LIBS
11191   fi
11192 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
11192 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11193   $as_echo "$ac_cv_search_dlopen" >&6; }
11194   ac_res=$ac_cv_search_dlopen
11195 < if test "$ac_res" != no; then
11195 > if test "$ac_res" != no; then :
11196    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11197  
11198 < cat >>confdefs.h <<\_ACEOF
11747 < #define HAVE_LIBDL 1
11748 < _ACEOF
11198 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11199  
11200          if test "$ac_cv_search_dlopen" != "none required" ; then
11201            LIBADD_DLOPEN="-ldl"
# Line 11753 | Line 11203 | _ACEOF
11203          libltdl_cv_lib_dl_dlopen="yes"
11204          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11205   else
11206 <  cat >conftest.$ac_ext <<_ACEOF
11757 < /* confdefs.h.  */
11758 < _ACEOF
11759 < cat confdefs.h >>conftest.$ac_ext
11760 < cat >>conftest.$ac_ext <<_ACEOF
11206 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207   /* end confdefs.h.  */
11208   #if HAVE_DLFCN_H
11209   #  include <dlfcn.h>
# Line 11771 | Line 11217 | dlopen(0, 0);
11217    return 0;
11218   }
11219   _ACEOF
11220 < 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
11220 > if ac_fn_c_try_link "$LINENO"; then :
11221  
11222 < cat >>confdefs.h <<\_ACEOF
11797 < #define HAVE_LIBDL 1
11798 < _ACEOF
11222 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11223  
11224              libltdl_cv_func_dlopen="yes"
11225              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11226   else
11227 <  $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
11227 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11228   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11229 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11229 > if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11230    $as_echo_n "(cached) " >&6
11231   else
11232    ac_check_lib_save_LIBS=$LIBS
11233   LIBS="-lsvld  $LIBS"
11234 < cat >conftest.$ac_ext <<_ACEOF
11814 < /* confdefs.h.  */
11815 < _ACEOF
11816 < cat confdefs.h >>conftest.$ac_ext
11817 < cat >>conftest.$ac_ext <<_ACEOF
11234 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235   /* end confdefs.h.  */
11236  
11237   /* Override any GCC internal prototype to avoid an error.
# Line 11832 | Line 11249 | return dlopen ();
11249    return 0;
11250   }
11251   _ACEOF
11252 < 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
11252 > if ac_fn_c_try_link "$LINENO"; then :
11253    ac_cv_lib_svld_dlopen=yes
11254   else
11255 <  $as_echo "$as_me: failed program was:" >&5
11859 < sed 's/^/| /' conftest.$ac_ext >&5
11860 <
11861 <        ac_cv_lib_svld_dlopen=no
11255 >  ac_cv_lib_svld_dlopen=no
11256   fi
11257 <
11258 < rm -rf conftest.dSYM
11865 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11866 <      conftest$ac_exeext conftest.$ac_ext
11257 > rm -f core conftest.err conftest.$ac_objext \
11258 >    conftest$ac_exeext conftest.$ac_ext
11259   LIBS=$ac_check_lib_save_LIBS
11260   fi
11261 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11261 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11262   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11263 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11263 > if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11264  
11265 < cat >>confdefs.h <<\_ACEOF
11874 < #define HAVE_LIBDL 1
11875 < _ACEOF
11265 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11266  
11267                  LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
11268                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11269   fi
11270  
11271   fi
11272 <
11273 < rm -rf conftest.dSYM
11884 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11885 <      conftest$ac_exeext conftest.$ac_ext
11272 > rm -f core conftest.err conftest.$ac_objext \
11273 >    conftest$ac_exeext conftest.$ac_ext
11274   fi
11275  
11276   if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
11277   then
11278    lt_save_LIBS="$LIBS"
11279    LIBS="$LIBS $LIBADD_DLOPEN"
11280 <
11281 < for ac_func in dlerror
11282 < do
11283 < 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
11280 >  for ac_func in dlerror
11281 > do :
11282 >  ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
11283 > if test "x$ac_cv_func_dlerror" = x""yes; then :
11284    cat >>confdefs.h <<_ACEOF
11285 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11285 > #define HAVE_DLERROR 1
11286   _ACEOF
11287  
11288   fi
# Line 11995 | Line 11293 | fi
11293  
11294  
11295   LIBADD_SHL_LOAD=
11296 < { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11297 < $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
12023 <
12024 < #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
11296 > ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11297 > if test "x$ac_cv_func_shl_load" = x""yes; then :
11298  
11299 < cat >>confdefs.h <<\_ACEOF
12086 < #define HAVE_SHL_LOAD 1
12087 < _ACEOF
11299 > $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
11300  
11301          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11302   else
11303 <  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11303 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11304   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11305 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11305 > if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11306    $as_echo_n "(cached) " >&6
11307   else
11308    ac_check_lib_save_LIBS=$LIBS
11309   LIBS="-ldld  $LIBS"
11310 < cat >conftest.$ac_ext <<_ACEOF
12099 < /* confdefs.h.  */
12100 < _ACEOF
12101 < cat confdefs.h >>conftest.$ac_ext
12102 < cat >>conftest.$ac_ext <<_ACEOF
11310 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11311   /* end confdefs.h.  */
11312  
11313   /* Override any GCC internal prototype to avoid an error.
# Line 12117 | Line 11325 | return shl_load ();
11325    return 0;
11326   }
11327   _ACEOF
11328 < 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
11328 > if ac_fn_c_try_link "$LINENO"; then :
11329    ac_cv_lib_dld_shl_load=yes
11330   else
11331 <  $as_echo "$as_me: failed program was:" >&5
12144 < sed 's/^/| /' conftest.$ac_ext >&5
12145 <
12146 <        ac_cv_lib_dld_shl_load=no
11331 >  ac_cv_lib_dld_shl_load=no
11332   fi
11333 <
11334 < rm -rf conftest.dSYM
12150 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12151 <      conftest$ac_exeext conftest.$ac_ext
11333 > rm -f core conftest.err conftest.$ac_objext \
11334 >    conftest$ac_exeext conftest.$ac_ext
11335   LIBS=$ac_check_lib_save_LIBS
11336   fi
11337 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11337 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11338   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11339 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11339 > if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11340  
11341 < cat >>confdefs.h <<\_ACEOF
12159 < #define HAVE_SHL_LOAD 1
12160 < _ACEOF
11341 > $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
11342  
11343              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11344              LIBADD_SHL_LOAD="-ldld"
# Line 12170 | Line 11351 | fi
11351   case $host_os in
11352   darwin[1567].*)
11353   # We only want this for pre-Mac OS X 10.4.
11354 <  { $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
11355 < $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
12198 <
12199 < #undef _dyld_func_lookup
11354 >  ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
11355 > if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
11356  
11357 < /* 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
11357 > $as_echo "#define HAVE_DYLD 1" >>confdefs.h
11358  
11359          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
11360   fi
# Line 12269 | Line 11364 | beos*)
11364    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
11365    ;;
11366   cygwin* | mingw* | os2* | pw32*)
11367 <  { $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
11368 < $as_echo_n "checking whether cygwin_conv_path is declared... " >&6; }
11369 < if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
11370 <  $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
11367 >  ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
11368 > "
11369 > if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
11370 >  ac_have_decl=1
11371   else
11372 <  $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
12320 < fi
12321 <
12322 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11372 >  ac_have_decl=0
11373   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
11374  
11375   cat >>confdefs.h <<_ACEOF
11376 < #define HAVE_DECL_CYGWIN_CONV_PATH 1
11376 > #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
11377   _ACEOF
11378  
12332
12333 else
12334  cat >>confdefs.h <<_ACEOF
12335 #define HAVE_DECL_CYGWIN_CONV_PATH 0
12336 _ACEOF
12337
12338
12339 fi
12340
12341
11379    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
11380    ;;
11381   esac
11382  
11383 < { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11383 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11384   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11385 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11385 > if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11386    $as_echo_n "(cached) " >&6
11387   else
11388    ac_check_lib_save_LIBS=$LIBS
11389   LIBS="-ldld  $LIBS"
11390 < cat >conftest.$ac_ext <<_ACEOF
12354 < /* confdefs.h.  */
12355 < _ACEOF
12356 < cat confdefs.h >>conftest.$ac_ext
12357 < cat >>conftest.$ac_ext <<_ACEOF
11390 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391   /* end confdefs.h.  */
11392  
11393   /* Override any GCC internal prototype to avoid an error.
# Line 12372 | Line 11405 | return dld_link ();
11405    return 0;
11406   }
11407   _ACEOF
11408 < 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
11408 > if ac_fn_c_try_link "$LINENO"; then :
11409    ac_cv_lib_dld_dld_link=yes
11410   else
11411 <  $as_echo "$as_me: failed program was:" >&5
12399 < sed 's/^/| /' conftest.$ac_ext >&5
12400 <
12401 <        ac_cv_lib_dld_dld_link=no
11411 >  ac_cv_lib_dld_dld_link=no
11412   fi
11413 <
11414 < rm -rf conftest.dSYM
12405 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12406 <      conftest$ac_exeext conftest.$ac_ext
11413 > rm -f core conftest.err conftest.$ac_objext \
11414 >    conftest$ac_exeext conftest.$ac_ext
11415   LIBS=$ac_check_lib_save_LIBS
11416   fi
11417 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11417 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11418   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11419 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11419 > if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11420  
11421 < cat >>confdefs.h <<\_ACEOF
12414 < #define HAVE_DLD 1
12415 < _ACEOF
11421 > $as_echo "#define HAVE_DLD 1" >>confdefs.h
11422  
11423                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
11424   fi
# Line 12427 | Line 11433 | then
11433      LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
11434    done
11435  
11436 < cat >>confdefs.h <<\_ACEOF
12431 < #define HAVE_LIBDLLOADER 1
12432 < _ACEOF
11436 > $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
11437  
11438   fi
11439  
# Line 12444 | Line 11448 | ac_link='$CC -o conftest$ac_exeext $CFLA
11448   ac_compiler_gnu=$ac_cv_c_compiler_gnu
11449  
11450  
11451 < { $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
11451 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
11452   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
11453 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then
11453 > if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
11454    $as_echo_n "(cached) " >&6
11455   else
11456    lt_cv_sys_symbol_underscore=no
# Line 12454 | Line 11458 | else
11458   void nm_test_func(){}
11459   int main(){nm_test_func;return 0;}
11460   _LT_EOF
11461 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11461 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11462    (eval $ac_compile) 2>&5
11463    ac_status=$?
11464 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 <  (exit $ac_status); }; then
11464 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11465 >  test $ac_status = 0; }; then
11466      # Now try to grab the symbols.
11467      ac_nlist=conftest.nm
11468 <    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
11468 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
11469    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
11470    ac_status=$?
11471 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 <  (exit $ac_status); } && test -s "$ac_nlist"; then
11471 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11472 >  test $ac_status = 0; } && test -s "$ac_nlist"; then
11473        # See whether the symbols have a leading underscore.
11474        if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
11475          lt_cv_sys_symbol_underscore=yes
# Line 12486 | Line 11490 | _LT_EOF
11490    rm -rf conftest*
11491  
11492   fi
11493 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
11493 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
11494   $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
11495    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
11496  
# Line 12494 | Line 11498 | $as_echo "$lt_cv_sys_symbol_underscore"
11498   if test x"$lt_cv_sys_symbol_underscore" = xyes; then
11499    if test x"$libltdl_cv_func_dlopen" = xyes ||
11500       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
11501 <        { $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
11501 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
11502   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
11503 < if test "${libltdl_cv_need_uscore+set}" = set; then
11503 > if test "${libltdl_cv_need_uscore+set}" = set; then :
11504    $as_echo_n "(cached) " >&6
11505   else
11506    libltdl_cv_need_uscore=unknown
# Line 12508 | Line 11512 | else
11512    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11513    lt_status=$lt_dlunknown
11514    cat > conftest.$ac_ext <<_LT_EOF
11515 < #line 12511 "configure"
11515 > #line 11515 "configure"
11516   #include "confdefs.h"
11517  
11518   #if HAVE_DLFCN_H
# Line 12567 | Line 11571 | int main ()
11571    return status;
11572   }
11573   _LT_EOF
11574 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11574 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11575    (eval $ac_link) 2>&5
11576    ac_status=$?
11577 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11577 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11578 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11579      (./conftest; exit; ) >&5 2>/dev/null
11580      lt_status=$?
11581      case x$lt_status in
# Line 12589 | Line 11593 | rm -fr conftest*
11593            LIBS="$save_LIBS"
11594  
11595   fi
11596 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
11596 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
11597   $as_echo "$libltdl_cv_need_uscore" >&6; }
11598    fi
11599   fi
11600  
11601   if test x"$libltdl_cv_need_uscore" = xyes; then
11602  
11603 < cat >>confdefs.h <<\_ACEOF
12600 < #define NEED_USCORE 1
12601 < _ACEOF
11603 > $as_echo "#define NEED_USCORE 1" >>confdefs.h
11604  
11605   fi
11606  
11607 < { $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
11607 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
11608   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
11609 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
11609 > if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
11610    $as_echo_n "(cached) " >&6
11611   else
11612    # PORTME does your system automatically load deplibs for dlopen?
# Line 12696 | Line 11698 | else
11698    esac
11699  
11700   fi
11701 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
11701 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
11702   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
11703   if test "$lt_cv_sys_dlopen_deplibs" != yes; then
11704  
11705 < cat >>confdefs.h <<\_ACEOF
12704 < #define LTDL_DLOPEN_DEPLIBS 1
12705 < _ACEOF
11705 > $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
11706  
11707   fi
11708  
11709   :
11710  
12711
11711   for ac_header in argz.h
11712 < do
11713 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11714 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11715 < $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
11712 > do :
11713 >  ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
11714 > "
11715 > if test "x$ac_cv_header_argz_h" = x""yes; then :
11716    cat >>confdefs.h <<_ACEOF
11717 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11717 > #define HAVE_ARGZ_H 1
11718   _ACEOF
11719  
11720   fi
# Line 12771 | Line 11722 | fi
11722   done
11723  
11724  
11725 < { $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)
11725 > ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
11726   #  include <argz.h>
11727   #endif
11728 <
11729 < 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
11728 > "
11729 > if test "x$ac_cv_type_error_t" = x""yes; then :
11730  
11731   cat >>confdefs.h <<_ACEOF
11732   #define HAVE_ERROR_T 1
# Line 12880 | Line 11735 | _ACEOF
11735  
11736   else
11737  
11738 < cat >>confdefs.h <<\_ACEOF
12884 < #define error_t int
12885 < _ACEOF
11738 > $as_echo "#define error_t int" >>confdefs.h
11739  
11740  
11741 < cat >>confdefs.h <<\_ACEOF
12889 < #define __error_t_defined 1
12890 < _ACEOF
11741 > $as_echo "#define __error_t_defined 1" >>confdefs.h
11742  
11743   fi
11744  
11745  
11746   ARGZ_H=
12896
12897
12898
12899
12900
12901
12902
11747   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
11748          argz_next argz_stringify
11749 < do
11750 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11751 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11752 < $as_echo_n "checking for $ac_func... " >&6; }
11753 < 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
11749 > do :
11750 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11751 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11752 > eval as_val=\$$as_ac_var
11753 >   if test "x$as_val" = x""yes; then :
11754    cat >>confdefs.h <<_ACEOF
11755   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11756   _ACEOF
# Line 13007 | Line 11764 | fi
11764   done
11765  
11766  
11767 < if test -z "$ARGZ_H"; then
11768 <  { $as_echo "$as_me:$LINENO: checking if argz actually works" >&5
11767 > if test -z "$ARGZ_H"; then :
11768 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
11769   $as_echo_n "checking if argz actually works... " >&6; }
11770 < if test "${lt_cv_sys_argz_works+set}" = set; then
11770 > if test "${lt_cv_sys_argz_works+set}" = set; then :
11771    $as_echo_n "(cached) " >&6
11772   else
11773    case $host_os in #(
# Line 13039 | Line 11796 | else
11796           *) lt_cv_sys_argz_works=yes ;;
11797           esac
11798   fi
11799 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
11799 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
11800   $as_echo "$lt_cv_sys_argz_works" >&6; }
11801 <     if test $lt_cv_sys_argz_works = yes; then
11801 >     if test $lt_cv_sys_argz_works = yes; then :
11802  
11803 < cat >>confdefs.h <<\_ACEOF
13047 < #define HAVE_WORKING_ARGZ 1
13048 < _ACEOF
11803 > $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
11804  
11805   else
11806    ARGZ_H=argz.h
# Line 13054 | Line 11809 | else
11809    _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
11810  
11811   fi
13057
11812   fi
11813  
11814  
11815  
11816 <
13063 < { $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
11816 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
11817   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
11818 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then
11818 > if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
11819    $as_echo_n "(cached) " >&6
11820   else
11821    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 13072 | Line 11825 | else
11825    fi
11826  
11827   fi
11828 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
11828 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
11829   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
11830   if test x"$libltdl_cv_preloaded_symbols" = xyes; then
11831  
11832 < cat >>confdefs.h <<\_ACEOF
13080 < #define HAVE_PRELOADED_SYMBOLS 1
13081 < _ACEOF
11832 > $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
11833  
11834   fi
11835  
# Line 13098 | Line 11849 | fi
11849  
11850  
11851   # Check whether --with-included_ltdl was given.
11852 < if test "${with_included_ltdl+set}" = set; then
11852 > if test "${with_included_ltdl+set}" = set; then :
11853    withval=$with_included_ltdl;
11854   fi
11855  
# Line 13106 | Line 11857 | fi
11857   if test "x$with_included_ltdl" != xyes; then
11858    # We are not being forced to use the included libltdl sources, so
11859    # decide whether there is a useful installed version we can use.
11860 <  { $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
11860 >  ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
11861  
11862 <        ac_cv_header_ltdl_h=no
11863 < fi
11864 <
13151 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13152 < fi
13153 < { $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
11862 > "
11863 > if test "x$ac_cv_header_ltdl_h" = x""yes; then :
11864 >  ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
11865              #include <ltdl.h>
11866 <
11867 < int
11868 < 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
11866 > "
11867 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
11868 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
11869   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
11870 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
11870 > if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
11871    $as_echo_n "(cached) " >&6
11872   else
11873    ac_check_lib_save_LIBS=$LIBS
11874   LIBS="-lltdl  $LIBS"
11875 < cat >conftest.$ac_ext <<_ACEOF
13220 < /* confdefs.h.  */
13221 < _ACEOF
13222 < cat confdefs.h >>conftest.$ac_ext
13223 < cat >>conftest.$ac_ext <<_ACEOF
11875 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876   /* end confdefs.h.  */
11877  
11878   /* Override any GCC internal prototype to avoid an error.
# Line 13238 | Line 11890 | return lt_dladvise_preload ();
11890    return 0;
11891   }
11892   _ACEOF
11893 < 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
11893 > if ac_fn_c_try_link "$LINENO"; then :
11894    ac_cv_lib_ltdl_lt_dladvise_preload=yes
11895   else
11896 <  $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
11896 >  ac_cv_lib_ltdl_lt_dladvise_preload=no
11897   fi
11898 <
11899 < rm -rf conftest.dSYM
13271 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13272 <      conftest$ac_exeext conftest.$ac_ext
11898 > rm -f core conftest.err conftest.$ac_objext \
11899 >    conftest$ac_exeext conftest.$ac_ext
11900   LIBS=$ac_check_lib_save_LIBS
11901   fi
11902 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
11902 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
11903   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
11904 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then
11904 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
11905    with_included_ltdl=no
11906   else
11907    with_included_ltdl=yes
# Line 13300 | Line 11927 | fi
11927  
11928  
11929   # Check whether --with-ltdl_include was given.
11930 < if test "${with_ltdl_include+set}" = set; then
11930 > if test "${with_ltdl_include+set}" = set; then :
11931    withval=$with_ltdl_include;
11932   fi
11933  
# Line 13308 | Line 11935 | fi
11935   if test -n "$with_ltdl_include"; then
11936    if test -f "$with_ltdl_include/ltdl.h"; then :
11937    else
11938 <    { { $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; }; }
11938 >    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
11939    fi
11940   else
11941    with_ltdl_include=no
# Line 13318 | Line 11943 | fi
11943  
11944  
11945   # Check whether --with-ltdl_lib was given.
11946 < if test "${with_ltdl_lib+set}" = set; then
11946 > if test "${with_ltdl_lib+set}" = set; then :
11947    withval=$with_ltdl_lib;
11948   fi
11949  
# Line 13326 | Line 11951 | fi
11951   if test -n "$with_ltdl_lib"; then
11952    if test -f "$with_ltdl_lib/libltdl.la"; then :
11953    else
11954 <    { { $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; }; }
11954 >    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
11955    fi
11956   else
11957    with_ltdl_lib=no
# Line 13337 | Line 11960 | fi
11960   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
11961    ,yes,no,no,)
11962          case $enable_ltdl_convenience in
11963 <  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; }; } ;;
11963 >  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
11964    "") enable_ltdl_convenience=yes
11965        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
11966   esac
# Line 13360 | Line 11981 | INCLTDL="$LTDLINCL"
11981          # If the included ltdl is not to be used, then use the
11982          # preinstalled libltdl we found.
11983  
11984 < cat >>confdefs.h <<\_ACEOF
13364 < #define HAVE_LTDL 1
13365 < _ACEOF
11984 > $as_echo "#define HAVE_LTDL 1" >>confdefs.h
11985  
11986          LIBLTDL=-lltdl
11987          LTDLDEPS=
11988          LTDLINCL=
11989          ;;
11990    ,no*,no,*)
11991 <        { { $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; }; }
11991 >        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
11992          ;;
11993    *)    with_included_ltdl=no
11994          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 13382 | Line 11999 | esac
11999   INCLTDL="$LTDLINCL"
12000  
12001   # Report our decision...
12002 < { $as_echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
12002 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
12003   $as_echo_n "checking where to find libltdl headers... " >&6; }
12004 < { $as_echo "$as_me:$LINENO: result: $LTDLINCL" >&5
12004 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
12005   $as_echo "$LTDLINCL" >&6; }
12006 < { $as_echo "$as_me:$LINENO: checking where to find libltdl library" >&5
12006 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
12007   $as_echo_n "checking where to find libltdl library... " >&6; }
12008 < { $as_echo "$as_me:$LINENO: result: $LIBLTDL" >&5
12008 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
12009   $as_echo "$LIBLTDL" >&6; }
12010  
12011  
12012  
12013   # Check whether --enable-ltdl-install was given.
12014 < if test "${enable_ltdl_install+set}" = set; then
12014 > if test "${enable_ltdl_install+set}" = set; then :
12015    enableval=$enable_ltdl_install;
12016   fi
12017  
# Line 13436 | Line 12053 | fi
12053  
12054  
12055  
13439
13440
13441
13442
13443
13444
12056   for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
12057 < do
12058 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12059 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12060 < $as_echo_n "checking for $ac_header... " >&6; }
12061 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12062 <  $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
12057 > do :
12058 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12059 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12060 > "
12061 > eval as_val=\$$as_ac_Header
12062 >   if test "x$as_val" = x""yes; then :
12063    cat >>confdefs.h <<_ACEOF
12064   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12065   _ACEOF
# Line 13504 | Line 12069 | fi
12069   done
12070  
12071  
13507
13508
13509
12072   for ac_func in closedir opendir readdir
12073 < do
12074 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12075 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12076 < $as_echo_n "checking for $ac_func... " >&6; }
12077 < 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
12073 > do :
12074 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12075 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12076 > eval as_val=\$$as_ac_var
12077 >   if test "x$as_val" = x""yes; then :
12078    cat >>confdefs.h <<_ACEOF
12079   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12080   _ACEOF
# Line 13612 | Line 12087 | else
12087   fi
12088   done
12089  
13615
13616
12090   for ac_func in strlcat strlcpy
12091 < do
12092 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12093 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12094 < $as_echo_n "checking for $ac_func... " >&6; }
12095 < 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
12091 > do :
12092 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12093 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12094 > eval as_val=\$$as_ac_var
12095 >   if test "x$as_val" = x""yes; then :
12096    cat >>confdefs.h <<_ACEOF
12097   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12098   _ACEOF
# Line 13744 | Line 12130 | LIBTOOL="$LIBTOOL --silent"
12130  
12131   # Checks for libraries.
12132  
12133 <  { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
12133 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12134   $as_echo_n "checking for library containing socket... " >&6; }
12135 < if test "${ac_cv_search_socket+set}" = set; then
12135 > if test "${ac_cv_search_socket+set}" = set; then :
12136    $as_echo_n "(cached) " >&6
12137   else
12138    ac_func_search_save_LIBS=$LIBS
12139 < cat >conftest.$ac_ext <<_ACEOF
13754 < /* confdefs.h.  */
13755 < _ACEOF
13756 < cat confdefs.h >>conftest.$ac_ext
13757 < cat >>conftest.$ac_ext <<_ACEOF
12139 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140   /* end confdefs.h.  */
12141  
12142   /* Override any GCC internal prototype to avoid an error.
# Line 13779 | Line 12161 | for ac_lib in '' socket; do
12161      ac_res=-l$ac_lib
12162      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12163    fi
12164 <  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
12164 >  if ac_fn_c_try_link "$LINENO"; then :
12165    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
12166   fi
12167 <
12168 < rm -rf conftest.dSYM
12169 < 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
12167 > rm -f core conftest.err conftest.$ac_objext \
12168 >    conftest$ac_exeext
12169 >  if test "${ac_cv_search_socket+set}" = set; then :
12170    break
12171   fi
12172   done
12173 < if test "${ac_cv_search_socket+set}" = set; then
12174 <  :
12173 > if test "${ac_cv_search_socket+set}" = set; then :
12174 >
12175   else
12176    ac_cv_search_socket=no
12177   fi
12178   rm conftest.$ac_ext
12179   LIBS=$ac_func_search_save_LIBS
12180   fi
12181 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
12181 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12182   $as_echo "$ac_cv_search_socket" >&6; }
12183   ac_res=$ac_cv_search_socket
12184 < if test "$ac_res" != no; then
12184 > if test "$ac_res" != no; then :
12185    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12186  
12187   else
12188 <  { { $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; }; }
12188 >  as_fn_error "socket library not found" "$LINENO" 5
12189   fi
12190  
12191 <
12192 <
12193 <
12194 < for ac_func in inet_aton inet_ntop inet_pton
12195 < do
12196 < 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
12191 >  for ac_func in inet_aton inet_ntop inet_pton
12192 > do :
12193 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12194 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12195 > eval as_val=\$$as_ac_var
12196 >   if test "x$as_val" = x""yes; then :
12197    cat >>confdefs.h <<_ACEOF
12198   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12199   _ACEOF
# Line 13938 | Line 12201 | _ACEOF
12201   fi
12202   done
12203  
12204 <  { $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>
12204 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
12205     #include <sys/socket.h>
12206     #include <netdb.h>
12207  
12208 <
12209 < 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
12208 > "
12209 > if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
12210  
12211   cat >>confdefs.h <<_ACEOF
12212   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 14048 | Line 12214 | _ACEOF
12214  
12215  
12216   fi
12217 < { $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>
12217 > ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
12218     #include <sys/socket.h>
12219     #include <netdb.h>
12220  
12221 <
12222 < 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
12221 > "
12222 > if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
12223  
12224   cat >>confdefs.h <<_ACEOF
12225   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 14158 | Line 12227 | _ACEOF
12227  
12228  
12229   fi
12230 < { $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>
12230 > ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
12231     #include <sys/socket.h>
12232     #include <netdb.h>
12233  
12234 <
12235 < 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>
14212 <   #include <sys/socket.h>
14213 <   #include <netdb.h>
14214 <
14215 <
14216 < 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
12234 > "
12235 > if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
12236  
12237   cat >>confdefs.h <<_ACEOF
12238   #define HAVE_STRUCT_ADDRINFO 1
# Line 14269 | Line 12241 | _ACEOF
12241  
12242   fi
12243  
12244 <  { $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>
12244 >  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12245    <sys/socket.h>
12246 <
12247 < 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
12246 > "
12247 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12248  
12249   cat >>confdefs.h <<_ACEOF
12250   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 14379 | Line 12255 | fi
12255  
12256  
12257  
12258 <  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
12259 < $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
12258 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
12259 > if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
12260  
12261   cat >>confdefs.h <<_ACEOF
12262   #define HAVE_STRUCT_SOCKADDR_IN6 1
# Line 14482 | Line 12265 | _ACEOF
12265  
12266   else
12267  
12268 < cat >>confdefs.h <<\_ACEOF
14486 < #define IPV6 1
14487 < _ACEOF
12268 > $as_echo "#define IPV6 1" >>confdefs.h
12269  
12270   fi
12271  
# Line 14492 | Line 12273 | fi
12273  
12274  
12275   # Checks for typedefs, structures, and compiler characteristics.
12276 < { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12276 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12277   $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12278 < if test "${ac_cv_c_const+set}" = set; then
12278 > if test "${ac_cv_c_const+set}" = set; then :
12279    $as_echo_n "(cached) " >&6
12280   else
12281 <  cat >conftest.$ac_ext <<_ACEOF
14501 < /* confdefs.h.  */
14502 < _ACEOF
14503 < cat confdefs.h >>conftest.$ac_ext
14504 < cat >>conftest.$ac_ext <<_ACEOF
12281 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282   /* end confdefs.h.  */
12283  
12284   int
# Line 14561 | Line 12338 | main ()
12338    return 0;
12339   }
12340   _ACEOF
12341 < 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
12341 > if ac_fn_c_try_compile "$LINENO"; then :
12342    ac_cv_c_const=yes
12343   else
12344 <  $as_echo "$as_me: failed program was:" >&5
14585 < sed 's/^/| /' conftest.$ac_ext >&5
14586 <
14587 <        ac_cv_c_const=no
12344 >  ac_cv_c_const=no
12345   fi
14589
12346   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12347   fi
12348 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12348 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12349   $as_echo "$ac_cv_c_const" >&6; }
12350   if test $ac_cv_c_const = no; then
12351  
12352 < cat >>confdefs.h <<\_ACEOF
14597 < #define const /**/
14598 < _ACEOF
12352 > $as_echo "#define const /**/" >>confdefs.h
12353  
12354   fi
12355  
12356 < { $as_echo "$as_me:$LINENO: checking for inline" >&5
12356 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12357   $as_echo_n "checking for inline... " >&6; }
12358 < if test "${ac_cv_c_inline+set}" = set; then
12358 > if test "${ac_cv_c_inline+set}" = set; then :
12359    $as_echo_n "(cached) " >&6
12360   else
12361    ac_cv_c_inline=no
12362   for ac_kw in inline __inline__ __inline; do
12363 <  cat >conftest.$ac_ext <<_ACEOF
14610 < /* confdefs.h.  */
14611 < _ACEOF
14612 < cat confdefs.h >>conftest.$ac_ext
14613 < cat >>conftest.$ac_ext <<_ACEOF
12363 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364   /* end confdefs.h.  */
12365   #ifndef __cplusplus
12366   typedef int foo_t;
# Line 14619 | Line 12369 | $ac_kw foo_t foo () {return 0; }
12369   #endif
12370  
12371   _ACEOF
12372 < 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
12372 > if ac_fn_c_try_compile "$LINENO"; then :
12373    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
12374   fi
14647
12375   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12376    test "$ac_cv_c_inline" != no && break
12377   done
12378  
12379   fi
12380 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12380 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12381   $as_echo "$ac_cv_c_inline" >&6; }
12382  
14656
12383   case $ac_cv_c_inline in
12384    inline | yes) ;;
12385    *)
# Line 14669 | Line 12395 | _ACEOF
12395      ;;
12396   esac
12397  
12398 <
14673 < { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
12398 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12399   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12400 < if test "${ac_cv_c_bigendian+set}" = set; then
12400 > if test "${ac_cv_c_bigendian+set}" = set; then :
12401    $as_echo_n "(cached) " >&6
12402   else
12403    ac_cv_c_bigendian=unknown
12404      # See if we're dealing with a universal compiler.
12405 <    cat >conftest.$ac_ext <<_ACEOF
14681 < /* confdefs.h.  */
14682 < _ACEOF
14683 < cat confdefs.h >>conftest.$ac_ext
14684 < cat >>conftest.$ac_ext <<_ACEOF
12405 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406   /* end confdefs.h.  */
12407   #ifndef __APPLE_CC__
12408                 not a universal capable compiler
# Line 14689 | Line 12410 | cat >>conftest.$ac_ext <<_ACEOF
12410               typedef int dummy;
12411  
12412   _ACEOF
12413 < 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
12413 > if ac_fn_c_try_compile "$LINENO"; then :
12414  
12415          # Check for potential -arch flags.  It is not universal unless
12416 <        # there are some -arch flags.  Note that *ppc* also matches
12417 <        # ppc64.  This check is also rather less than ideal.
12418 <        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
12419 <          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
12420 <        esac
12421 < else
12422 <  $as_echo "$as_me: failed program was:" >&5
12423 < sed 's/^/| /' conftest.$ac_ext >&5
12424 <
12425 <
12416 >        # there are at least two -arch flags with different values.
12417 >        ac_arch=
12418 >        ac_prev=
12419 >        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12420 >         if test -n "$ac_prev"; then
12421 >           case $ac_word in
12422 >             i?86 | x86_64 | ppc | ppc64)
12423 >               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12424 >                 ac_arch=$ac_word
12425 >               else
12426 >                 ac_cv_c_bigendian=universal
12427 >                 break
12428 >               fi
12429 >               ;;
12430 >           esac
12431 >           ac_prev=
12432 >         elif test "x$ac_word" = "x-arch"; then
12433 >           ac_prev=arch
12434 >         fi
12435 >       done
12436   fi
14723
12437   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12438      if test $ac_cv_c_bigendian = unknown; then
12439        # See if sys/param.h defines the BYTE_ORDER macro.
12440 <      cat >conftest.$ac_ext <<_ACEOF
14728 < /* confdefs.h.  */
14729 < _ACEOF
14730 < cat confdefs.h >>conftest.$ac_ext
14731 < cat >>conftest.$ac_ext <<_ACEOF
12440 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12441   /* end confdefs.h.  */
12442   #include <sys/types.h>
12443               #include <sys/param.h>
# Line 14746 | Line 12455 | main ()
12455    return 0;
12456   }
12457   _ACEOF
12458 < 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
12458 > if ac_fn_c_try_compile "$LINENO"; then :
12459    # It does; now see whether it defined to BIG_ENDIAN or not.
12460 <         cat >conftest.$ac_ext <<_ACEOF
14769 < /* confdefs.h.  */
14770 < _ACEOF
14771 < cat confdefs.h >>conftest.$ac_ext
14772 < cat >>conftest.$ac_ext <<_ACEOF
12460 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12461   /* end confdefs.h.  */
12462   #include <sys/types.h>
12463                  #include <sys/param.h>
# Line 14785 | Line 12473 | main ()
12473    return 0;
12474   }
12475   _ACEOF
12476 < 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
12476 > if ac_fn_c_try_compile "$LINENO"; then :
12477    ac_cv_c_bigendian=yes
12478   else
12479 <  $as_echo "$as_me: failed program was:" >&5
14809 < sed 's/^/| /' conftest.$ac_ext >&5
14810 <
14811 <        ac_cv_c_bigendian=no
12479 >  ac_cv_c_bigendian=no
12480   fi
14813
12481   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
12482   fi
14821
12483   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12484      fi
12485      if test $ac_cv_c_bigendian = unknown; then
12486        # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12487 <      cat >conftest.$ac_ext <<_ACEOF
14827 < /* confdefs.h.  */
14828 < _ACEOF
14829 < cat confdefs.h >>conftest.$ac_ext
14830 < cat >>conftest.$ac_ext <<_ACEOF
12487 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12488   /* end confdefs.h.  */
12489   #include <limits.h>
12490  
# Line 14842 | Line 12499 | main ()
12499    return 0;
12500   }
12501   _ACEOF
12502 < 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
12502 > if ac_fn_c_try_compile "$LINENO"; then :
12503    # It does; now see whether it defined to _BIG_ENDIAN or not.
12504 <         cat >conftest.$ac_ext <<_ACEOF
14865 < /* confdefs.h.  */
14866 < _ACEOF
14867 < cat confdefs.h >>conftest.$ac_ext
14868 < cat >>conftest.$ac_ext <<_ACEOF
12504 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12505   /* end confdefs.h.  */
12506   #include <limits.h>
12507  
# Line 14880 | Line 12516 | main ()
12516    return 0;
12517   }
12518   _ACEOF
12519 < 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
12519 > if ac_fn_c_try_compile "$LINENO"; then :
12520    ac_cv_c_bigendian=yes
12521   else
12522 <  $as_echo "$as_me: failed program was:" >&5
14904 < sed 's/^/| /' conftest.$ac_ext >&5
14905 <
14906 <        ac_cv_c_bigendian=no
12522 >  ac_cv_c_bigendian=no
12523   fi
14908
12524   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
12525   fi
14916
12526   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12527      fi
12528      if test $ac_cv_c_bigendian = unknown; then
12529        # Compile a test program.
12530 <      if test "$cross_compiling" = yes; then
12530 >      if test "$cross_compiling" = yes; then :
12531    # Try to guess by grepping values from an object file.
12532 <         cat >conftest.$ac_ext <<_ACEOF
14924 < /* confdefs.h.  */
14925 < _ACEOF
14926 < cat confdefs.h >>conftest.$ac_ext
14927 < cat >>conftest.$ac_ext <<_ACEOF
12532 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533   /* end confdefs.h.  */
12534   short int ascii_mm[] =
12535                    { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
# Line 14950 | Line 12555 | return use_ascii (foo) == use_ebcdic (fo
12555    return 0;
12556   }
12557   _ACEOF
12558 < 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
12558 > if ac_fn_c_try_compile "$LINENO"; then :
12559    if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12560                ac_cv_c_bigendian=yes
12561              fi
# Line 14979 | Line 12567 | $as_echo "$ac_try_echo") >&5
12567                  ac_cv_c_bigendian=unknown
12568                fi
12569              fi
14982 else
14983  $as_echo "$as_me: failed program was:" >&5
14984 sed 's/^/| /' conftest.$ac_ext >&5
14985
14986
12570   fi
14988
12571   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12572   else
12573 <  cat >conftest.$ac_ext <<_ACEOF
14992 < /* confdefs.h.  */
14993 < _ACEOF
14994 < cat confdefs.h >>conftest.$ac_ext
14995 < cat >>conftest.$ac_ext <<_ACEOF
12573 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574   /* end confdefs.h.  */
12575   $ac_includes_default
12576   int
# Line 15012 | Line 12590 | main ()
12590    return 0;
12591   }
12592   _ACEOF
12593 < 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
12593 > if ac_fn_c_try_run "$LINENO"; then :
12594    ac_cv_c_bigendian=no
12595   else
12596 <  $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
12596 >  ac_cv_c_bigendian=yes
12597   fi
12598 < rm -rf conftest.dSYM
12599 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12598 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12599 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
12600   fi
12601  
15050
12602      fi
12603   fi
12604 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12604 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12605   $as_echo "$ac_cv_c_bigendian" >&6; }
12606   case $ac_cv_c_bigendian in #(
12607     yes)
12608 <     cat >>confdefs.h <<\_ACEOF
15058 < #define WORDS_BIGENDIAN 1
15059 < _ACEOF
12608 >     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12609   ;; #(
12610     no)
12611        ;; #(
12612     universal)
12613  
12614 < cat >>confdefs.h <<\_ACEOF
15066 < #define AC_APPLE_UNIVERSAL_BUILD 1
15067 < _ACEOF
12614 > $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12615  
12616       ;; #(
12617     *)
12618 <     { { $as_echo "$as_me:$LINENO: error: unknown endianness
12619 < 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; }; } ;;
12618 >     as_fn_error "unknown endianness
12619 > presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12620   esac
12621  
12622  
# Line 15080 | Line 12624 | $as_echo "$as_me: error: unknown endiann
12624   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12625   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12626   # This bug is HP SR number 8606223364.
12627 < { $as_echo "$as_me:$LINENO: checking size of int64_t" >&5
12627 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12628   $as_echo_n "checking size of int64_t... " >&6; }
12629 < if test "${ac_cv_sizeof_int64_t+set}" = set; then
12629 > if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12630    $as_echo_n "(cached) " >&6
12631   else
12632 <  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
15139 <
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
15163 < else
15164 <  $as_echo "$as_me: failed program was:" >&5
15165 < 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
12632 >  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12633  
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
12634   else
12635 <  $as_echo "$as_me: failed program was:" >&5
12636 < 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
12635 >  if test "$ac_cv_type_int64_t" = yes; then
12636 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12637   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12638 < { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t)
12639 < See \`config.log' for more details." >&5
12640 < $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; }; }; }
12638 > { as_fn_set_status 77
12639 > as_fn_error "cannot compute sizeof (int64_t)
12640 > See \`config.log' for more details." "$LINENO" 5; }; }
12641     else
12642       ac_cv_sizeof_int64_t=0
12643     fi
12644   fi
12645 < 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
12645 >
12646   fi
12647 < { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int64_t" >&5
12647 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12648   $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12649  
12650  
# Line 15439 | Line 12658 | _ACEOF
12658   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12659   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12660   # This bug is HP SR number 8606223364.
12661 < { $as_echo "$as_me:$LINENO: checking size of long long" >&5
12661 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12662   $as_echo_n "checking size of long long... " >&6; }
12663 < if test "${ac_cv_sizeof_long_long+set}" = set; then
12663 > if test "${ac_cv_sizeof_long_long+set}" = set; then :
12664    $as_echo_n "(cached) " >&6
12665   else
12666 <  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
12666 >  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12667  
15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15535  done
12668   else
12669 <  $as_echo "$as_me: failed program was:" >&5
12670 < 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
15690 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15691 < { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
15692 < See \`config.log' for more details." >&5
15693 < $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
12669 >  if test "$ac_cv_type_long_long" = yes; then
12670 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12671   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12672 < { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
12673 < See \`config.log' for more details." >&5
12674 < $as_echo "$as_me: error: cannot compute sizeof (long long)
15776 < See \`config.log' for more details." >&2;}
15777 <   { (exit 77); exit 77; }; }; }
12672 > { as_fn_set_status 77
12673 > as_fn_error "cannot compute sizeof (long long)
12674 > See \`config.log' for more details." "$LINENO" 5; }; }
12675     else
12676       ac_cv_sizeof_long_long=0
12677     fi
12678   fi
12679 < 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
12679 >
12680   fi
12681 < { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
12681 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12682   $as_echo "$ac_cv_sizeof_long_long" >&6; }
12683  
12684  
# Line 15796 | Line 12690 | _ACEOF
12690  
12691  
12692   if test "$ac_cv_sizeof_int64_t" = 8; then
12693 <  { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
12694 < $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
15877 <
15878 <        ac_cv_type_uint64_t=yes
15879 < fi
15880 <
15881 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15882 < else
15883 <  $as_echo "$as_me: failed program was:" >&5
15884 < sed 's/^/| /' conftest.$ac_ext >&5
15885 <
15886 <
15887 < fi
15888 <
15889 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15890 < 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
12693 >  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12694 > if test "x$ac_cv_type_uint64_t" = x""yes; then :
12695  
15973        ac_cv_type_int64_t=yes
12696   fi
12697  
12698 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12699 < else
15978 <  $as_echo "$as_me: failed program was:" >&5
15979 < sed 's/^/| /' conftest.$ac_ext >&5
15980 <
15981 <
15982 < fi
12698 >  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12699 > if test "x$ac_cv_type_int64_t" = x""yes; then :
12700  
15984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12701   fi
15986 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
15987 $as_echo "$ac_cv_type_int64_t" >&6; }
12702  
12703   elif test "$ac_cv_sizeof_long_long" = 8; then
12704 <  { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
12705 < $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
12704 >  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12705 > if test "x$ac_cv_type_uint64_t" = x""yes; then :
12706  
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
16079
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  :
12707   else
12708  
12709   cat >>confdefs.h <<_ACEOF
# Line 16091 | Line 12712 | _ACEOF
12712  
12713   fi
12714  
12715 <  { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
12716 < $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 <
12715 >  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12716 > if test "x$ac_cv_type_int64_t" = x""yes; then :
12717  
16182 fi
16183
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  :
12718   else
12719  
12720   cat >>confdefs.h <<_ACEOF
# Line 16196 | Line 12724 | _ACEOF
12724   fi
12725  
12726   else
12727 <  { { $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; }; }
12727 >  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12728   fi
12729  
12730  
# Line 16206 | Line 12732 | fi
12732  
12733  
12734  
12735 <
12736 < for ac_func in $ac_func_list
12737 < do
12738 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12739 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12740 < $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
12735 >  for ac_func in $ac_func_list
12736 > do :
12737 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12738 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12739 > eval as_val=\$$as_ac_var
12740 >   if test "x$as_val" = x""yes; then :
12741    cat >>confdefs.h <<_ACEOF
12742   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12743   _ACEOF
# Line 16327 | Line 12765 | done
12765  
12766  
12767  
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
12768   # Checks for header files.
12769  
12770  
12771  
12772 <
12773 < for ac_header in $ac_header_list
12774 < do
12775 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12776 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12777 <  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12778 < $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
12772 >  for ac_header in $ac_header_list
12773 > do :
12774 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12775 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12776 > "
12777 > eval as_val=\$$as_ac_Header
12778 >   if test "x$as_val" = x""yes; then :
12779    cat >>confdefs.h <<_ACEOF
12780   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12781   _ACEOF
# Line 16532 | Line 12814 | done
12814  
12815  
12816  
12817 <
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
12817 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12818   $as_echo_n "checking for /dev/null... " >&6; }
12819   if test -c /dev/null ; then
12820  
12821 < cat >>confdefs.h <<\_ACEOF
16571 < #define PATH_DEVNULL "/dev/null"
16572 < _ACEOF
12821 > $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12822  
12823 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
12823 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12824   $as_echo "yes" >&6; }
12825   else
12826  
12827 < cat >>confdefs.h <<\_ACEOF
16579 < #define PATH_DEVNULL "devnull.log"
16580 < _ACEOF
12827 > $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12828  
12829 <  { $as_echo "$as_me:$LINENO: result: no - using devnull.log" >&5
12829 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12830   $as_echo "no - using devnull.log" >&6; }
12831   fi
12832  
12833  
12834 < { $as_echo "$as_me:$LINENO: checking for library containing crypt" >&5
12834 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
12835   $as_echo_n "checking for library containing crypt... " >&6; }
12836 < if test "${ac_cv_search_crypt+set}" = set; then
12836 > if test "${ac_cv_search_crypt+set}" = set; then :
12837    $as_echo_n "(cached) " >&6
12838   else
12839    ac_func_search_save_LIBS=$LIBS
12840 < cat >conftest.$ac_ext <<_ACEOF
16594 < /* confdefs.h.  */
16595 < _ACEOF
16596 < cat confdefs.h >>conftest.$ac_ext
16597 < cat >>conftest.$ac_ext <<_ACEOF
12840 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841   /* end confdefs.h.  */
12842  
12843   /* Override any GCC internal prototype to avoid an error.
# Line 16612 | Line 12855 | return crypt ();
12855    return 0;
12856   }
12857   _ACEOF
12858 < for ac_lib in '' crypt descrypt; do
12858 > for ac_lib in '' crypt; do
12859    if test -z "$ac_lib"; then
12860      ac_res="none required"
12861    else
12862      ac_res=-l$ac_lib
12863      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12864    fi
12865 <  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
12865 >  if ac_fn_c_try_link "$LINENO"; then :
12866    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
12867   fi
12868 <
12869 < rm -rf conftest.dSYM
12870 < 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
12868 > rm -f core conftest.err conftest.$ac_objext \
12869 >    conftest$ac_exeext
12870 >  if test "${ac_cv_search_crypt+set}" = set; then :
12871    break
12872   fi
12873   done
12874 < if test "${ac_cv_search_crypt+set}" = set; then
12875 <  :
12874 > if test "${ac_cv_search_crypt+set}" = set; then :
12875 >
12876   else
12877    ac_cv_search_crypt=no
12878   fi
12879   rm conftest.$ac_ext
12880   LIBS=$ac_func_search_save_LIBS
12881   fi
12882 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
12882 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
12883   $as_echo "$ac_cv_search_crypt" >&6; }
12884   ac_res=$ac_cv_search_crypt
12885 < if test "$ac_res" != no; then
12885 > if test "$ac_res" != no; then :
12886    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12887  
12888   fi
12889  
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
12890  
12891  
12892  
12893   # Check whether --with-zlib-path was given.
12894 < if test "${with_zlib_path+set}" = set; then
12894 > if test "${with_zlib_path+set}" = set; then :
12895    withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12896   fi
12897  
12898  
12899   # Check whether --enable-zlib was given.
12900 < if test "${enable_zlib+set}" = set; then
12900 > if test "${enable_zlib+set}" = set; then :
12901    enableval=$enable_zlib; zlib=$enableval
12902   else
12903    zlib=yes
# Line 16697 | Line 12905 | fi
12905  
12906  
12907   if test "$zlib" = yes; then
12908 <  if test "${ac_cv_header_zlib_h+set}" = set; then
12909 <  { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
12910 < $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
12908 >  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12909 > if test "x$ac_cv_header_zlib_h" = x""yes; then :
12910 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12911   $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12912 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
12912 > if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12913    $as_echo_n "(cached) " >&6
12914   else
12915    ac_check_lib_save_LIBS=$LIBS
12916   LIBS="-lz  $LIBS"
12917 < cat >conftest.$ac_ext <<_ACEOF
16836 < /* confdefs.h.  */
16837 < _ACEOF
16838 < cat confdefs.h >>conftest.$ac_ext
16839 < cat >>conftest.$ac_ext <<_ACEOF
12917 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12918   /* end confdefs.h.  */
12919  
12920   /* Override any GCC internal prototype to avoid an error.
# Line 16854 | Line 12932 | return zlibVersion ();
12932    return 0;
12933   }
12934   _ACEOF
12935 < 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
12935 > if ac_fn_c_try_link "$LINENO"; then :
12936    ac_cv_lib_z_zlibVersion=yes
12937   else
12938 <  $as_echo "$as_me: failed program was:" >&5
16881 < sed 's/^/| /' conftest.$ac_ext >&5
16882 <
16883 <        ac_cv_lib_z_zlibVersion=no
12938 >  ac_cv_lib_z_zlibVersion=no
12939   fi
12940 <
12941 < rm -rf conftest.dSYM
16887 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16888 <      conftest$ac_exeext conftest.$ac_ext
12940 > rm -f core conftest.err conftest.$ac_objext \
12941 >    conftest$ac_exeext conftest.$ac_ext
12942   LIBS=$ac_check_lib_save_LIBS
12943   fi
12944 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
12944 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12945   $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12946 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then
12946 > if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12947  
12948        LIBS="-lz $LIBS"
12949  
12950 < cat >>confdefs.h <<\_ACEOF
16898 < #define HAVE_LIBZ 1
16899 < _ACEOF
12950 > $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12951  
12952  
12953   else
# Line 16913 | Line 12964 | fi
12964  
12965  
12966   # Check whether --enable-openssl was given.
12967 < if test "${enable_openssl+set}" = set; then
12967 > if test "${enable_openssl+set}" = set; then :
12968    enableval=$enable_openssl;  cf_enable_openssl=$enableval
12969   else
12970     cf_enable_openssl="auto"
12971   fi
12972  
12973 < { $as_echo "$as_me:$LINENO: checking for OpenSSL" >&5
12973 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
12974   $as_echo_n "checking for OpenSSL... " >&6; }
12975   if test "$cf_enable_openssl" != "no"; then
12976    cf_openssl_basedir=""
# Line 16952 | Line 13003 | if test "$cf_enable_openssl" != "no"; th
13003  
13004        if test ! -z "$cf_openssl_basedir"; then
13005      LIBS="-lcrypto -lssl $LIBS"
13006 <    { $as_echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5
13006 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13007   $as_echo "$cf_openssl_basedir" >&6; }
13008      cf_enable_openssl="yes"
13009  
13010 < cat >>confdefs.h <<\_ACEOF
16960 < #define HAVE_LIBCRYPTO 1
16961 < _ACEOF
13010 > $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13011  
13012    else
13013 <    { $as_echo "$as_me:$LINENO: result: not found.  Please check your path." >&5
13013 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
13014   $as_echo "not found.  Please check your path." >&6; }
13015      cf_enable_openssl="no"
13016    fi
13017    unset cf_openssl_basedir
13018   else
13019 <    { $as_echo "$as_me:$LINENO: result: disabled" >&5
13019 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13020   $as_echo "disabled" >&6; }
13021   fi
13022   if test "$cf_enable_openssl" = yes; then
# Line 16981 | Line 13030 | fi
13030  
13031  
13032   # Check whether --enable-assert was given.
13033 < if test "${enable_assert+set}" = set; then
13033 > if test "${enable_assert+set}" = set; then :
13034    enableval=$enable_assert; assert=$enableval
13035   else
13036    assert=no
# Line 16989 | Line 13038 | fi
13038  
13039   if test "$assert" = no; then
13040  
13041 < cat >>confdefs.h <<\_ACEOF
16993 < #define NDEBUG 1
16994 < _ACEOF
13041 > $as_echo "#define NDEBUG 1" >>confdefs.h
13042  
13043   fi
13044  
13045  
13046   # Check whether --enable-small-net was given.
13047 < if test "${enable_small_net+set}" = set; then
13047 > if test "${enable_small_net+set}" = set; then :
13048    enableval=$enable_small_net; small_net=$enableval
13049   else
13050    small_net=no
# Line 17006 | Line 13053 | fi
13053  
13054   if test "$small_net" = yes; then
13055  
13056 < cat >>confdefs.h <<\_ACEOF
17010 < #define NICKNAMEHISTORYLENGTH 1500
17011 < _ACEOF
13056 > $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13057  
13058  
13059 < cat >>confdefs.h <<\_ACEOF
17015 < #define CHANNEL_HEAP_SIZE 256
17016 < _ACEOF
13059 > $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13060  
13061  
13062 < cat >>confdefs.h <<\_ACEOF
17020 < #define BAN_HEAP_SIZE 128
17021 < _ACEOF
13062 > $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13063  
13064  
13065 < cat >>confdefs.h <<\_ACEOF
17025 < #define CLIENT_HEAP_SIZE 256
17026 < _ACEOF
13065 > $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13066  
13067  
13068 < cat >>confdefs.h <<\_ACEOF
17030 < #define LCLIENT_HEAP_SIZE 128
17031 < _ACEOF
13068 > $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13069  
13070  
13071 < cat >>confdefs.h <<\_ACEOF
17035 < #define DNODE_HEAP_SIZE 256
17036 < _ACEOF
13071 > $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13072  
13073  
13074 < cat >>confdefs.h <<\_ACEOF
17040 < #define TOPIC_HEAP_SIZE 256
17041 < _ACEOF
13074 > $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13075  
13076  
13077 < cat >>confdefs.h <<\_ACEOF
17045 < #define DBUF_HEAP_SIZE 64
17046 < _ACEOF
13077 > $as_echo "#define DBUF_HEAP_SIZE 64" >>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
17086 < #define DBUF_HEAP_SIZE 512
17087 < _ACEOF
13102 > $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13103  
13104   fi
13105  
# Line 17093 | Line 13108 | fi
13108  
13109      desired_iopoll_mechanism="none"
13110      # Check whether --enable-kqueue was given.
13111 < if test "${enable_kqueue+set}" = set; then
13111 > if test "${enable_kqueue+set}" = set; then :
13112    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
13113   fi
13114  
13115    # Check whether --enable-epoll was given.
13116 < if test "${enable_epoll+set}" = set; then
13116 > if test "${enable_epoll+set}" = set; then :
13117    enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
13118   fi
13119  
13120    # Check whether --enable-devpoll was given.
13121 < if test "${enable_devpoll+set}" = set; then
13121 > if test "${enable_devpoll+set}" = set; then :
13122    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13123   fi
13124  
13125    # Check whether --enable-rtsigio was given.
13126 < if test "${enable_rtsigio+set}" = set; then
13126 > if test "${enable_rtsigio+set}" = set; then :
13127    enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13128   fi
13129  
13130    # Check whether --enable-poll was given.
13131 < if test "${enable_poll+set}" = set; then
13131 > if test "${enable_poll+set}" = set; then :
13132    enableval=$enable_poll; desired_iopoll_mechanism="poll"
13133   fi
13134  
13135    # Check whether --enable-select was given.
13136 < if test "${enable_select+set}" = set; then
13136 > if test "${enable_select+set}" = set; then :
13137    enableval=$enable_select; desired_iopoll_mechanism="select"
13138   fi
13139  
13140 <      { $as_echo "$as_me:$LINENO: checking for optimal/desired iopoll mechanism" >&5
13140 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13141   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13142    iopoll_mechanism_none=0
13143  
# Line 17136 | Line 13151 | cat >>confdefs.h <<_ACEOF
13151   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
13152   _ACEOF
13153  
13154 <  cat >conftest.$ac_ext <<_ACEOF
17140 < /* confdefs.h.  */
17141 < _ACEOF
17142 < cat confdefs.h >>conftest.$ac_ext
17143 < cat >>conftest.$ac_ext <<_ACEOF
13154 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13155   /* end confdefs.h.  */
13156   /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
13157     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17181 | Line 13192 | return kevent ();
13192    return 0;
13193   }
13194   _ACEOF
13195 < 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
13195 > if ac_fn_c_try_link "$LINENO"; then :
13196    is_kqueue_mechanism_available="yes"
13197   else
13198 <  $as_echo "$as_me: failed program was:" >&5
17208 < sed 's/^/| /' conftest.$ac_ext >&5
17209 <
17210 <        is_kqueue_mechanism_available="no"
13198 >  is_kqueue_mechanism_available="no"
13199   fi
13200 <
13201 < rm -rf conftest.dSYM
17214 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17215 <      conftest$ac_exeext conftest.$ac_ext
13200 > rm -f core conftest.err conftest.$ac_objext \
13201 >    conftest$ac_exeext conftest.$ac_ext
13202        iopoll_mechanism_epoll=2
13203  
13204   cat >>confdefs.h <<_ACEOF
13205   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
13206   _ACEOF
13207  
13208 <  if test "$cross_compiling" = yes; then
13209 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13208 >  if test "$cross_compiling" = yes; then :
13209 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13210   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13211 < { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13212 < 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; }; }; }
13211 > as_fn_error "cannot run test program while cross compiling
13212 > See \`config.log' for more details." "$LINENO" 5; }
13213   else
13214 <  cat >conftest.$ac_ext <<_ACEOF
13214 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13215 > /* end confdefs.h.  */
13216  
13217   #include <sys/epoll.h>
13218   #include <sys/syscall.h>
# Line 17261 | Line 13245 | _syscall1(int, epoll_create, int, size)
13245   main() { return epoll_create(256) == -1 ? 1 : 0; }
13246  
13247   _ACEOF
13248 < 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
13248 > if ac_fn_c_try_run "$LINENO"; then :
13249    is_epoll_mechanism_available="yes"
13250   else
13251 <  $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"
13251 >  is_epoll_mechanism_available="no"
13252   fi
13253 < rm -rf conftest.dSYM
13254 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13253 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13254 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13255   fi
13256  
17299
13257        iopoll_mechanism_devpoll=3
13258  
13259   cat >>confdefs.h <<_ACEOF
13260   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
13261   _ACEOF
13262  
13263 <  cat >conftest.$ac_ext <<_ACEOF
17307 < /* confdefs.h.  */
17308 < _ACEOF
17309 < cat confdefs.h >>conftest.$ac_ext
17310 < cat >>conftest.$ac_ext <<_ACEOF
13263 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13264   /* end confdefs.h.  */
13265   #include <devpoll.h>
13266   int
# Line 17318 | Line 13271 | main ()
13271    return 0;
13272   }
13273   _ACEOF
13274 < 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
13274 > if ac_fn_c_try_compile "$LINENO"; then :
13275    is_devpoll_mechanism_available="yes"
13276   else
13277 <  $as_echo "$as_me: failed program was:" >&5
17342 < sed 's/^/| /' conftest.$ac_ext >&5
17343 <
17344 <        is_devpoll_mechanism_available="no"
13277 >  is_devpoll_mechanism_available="no"
13278   fi
17346
13279   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13280    if test "$is_devpoll_mechanism_available" = "yes" ; then
13281  
13282 < cat >>confdefs.h <<\_ACEOF
17351 < #define HAVE_DEVPOLL_H 1
17352 < _ACEOF
13282 > $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
13283  
13284    fi
13285 <  cat >conftest.$ac_ext <<_ACEOF
17356 < /* confdefs.h.  */
17357 < _ACEOF
17358 < cat confdefs.h >>conftest.$ac_ext
17359 < cat >>conftest.$ac_ext <<_ACEOF
13285 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286   /* end confdefs.h.  */
13287   #include <sys/devpoll.h>
13288   int
# Line 17367 | Line 13293 | main ()
13293    return 0;
13294   }
13295   _ACEOF
13296 < 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
13296 > if ac_fn_c_try_compile "$LINENO"; then :
13297    is_devpoll_mechanism_available="yes"
13298   else
13299 <  $as_echo "$as_me: failed program was:" >&5
17391 < sed 's/^/| /' conftest.$ac_ext >&5
17392 <
17393 <        is_devpoll_mechanism_available="no"
13299 >  is_devpoll_mechanism_available="no"
13300   fi
17395
13301   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13302    if test "$is_devpoll_mechanism_available" = "yes" ; then
13303  
13304 < cat >>confdefs.h <<\_ACEOF
17400 < #define HAVE_SYS_DEVPOLL_H 1
17401 < _ACEOF
13304 > $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
13305  
13306    fi
13307        iopoll_mechanism_rtsigio=4
# Line 17407 | Line 13310 | cat >>confdefs.h <<_ACEOF
13310   #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13311   _ACEOF
13312  
13313 <  if test "$cross_compiling" = yes; then
13314 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13313 >  if test "$cross_compiling" = yes; then :
13314 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13315   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13316 < { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13317 < 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; }; }; }
13316 > as_fn_error "cannot run test program while cross compiling
13317 > See \`config.log' for more details." "$LINENO" 5; }
13318   else
13319 <  cat >conftest.$ac_ext <<_ACEOF
17420 < /* confdefs.h.  */
17421 < _ACEOF
17422 < cat confdefs.h >>conftest.$ac_ext
17423 < cat >>conftest.$ac_ext <<_ACEOF
13319 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13320   /* end confdefs.h.  */
13321  
13322   #include <fcntl.h>
# Line 17438 | Line 13334 | main ()
13334    return 0;
13335   }
13336   _ACEOF
13337 < 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
13337 > if ac_fn_c_try_run "$LINENO"; then :
13338    is_rtsigio_mechanism_available="yes"
13339   else
13340 <  $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"
13340 >  is_rtsigio_mechanism_available="no"
13341   fi
13342 < rm -rf conftest.dSYM
13343 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13342 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13343 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13344   fi
13345  
17476
13346        iopoll_mechanism_poll=5
13347  
13348   cat >>confdefs.h <<_ACEOF
13349   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
13350   _ACEOF
13351  
13352 <  cat >conftest.$ac_ext <<_ACEOF
17484 < /* confdefs.h.  */
17485 < _ACEOF
17486 < cat confdefs.h >>conftest.$ac_ext
17487 < cat >>conftest.$ac_ext <<_ACEOF
13352 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353   /* end confdefs.h.  */
13354   /* Define poll to an innocuous variant, in case <limits.h> declares poll.
13355     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17525 | Line 13390 | return poll ();
13390    return 0;
13391   }
13392   _ACEOF
13393 < 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
13393 > if ac_fn_c_try_link "$LINENO"; then :
13394    is_poll_mechanism_available="yes"
13395   else
13396 <  $as_echo "$as_me: failed program was:" >&5
17552 < sed 's/^/| /' conftest.$ac_ext >&5
17553 <
17554 <        is_poll_mechanism_available="no"
13396 >  is_poll_mechanism_available="no"
13397   fi
13398 <
13399 < rm -rf conftest.dSYM
17558 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17559 <      conftest$ac_exeext conftest.$ac_ext
13398 > rm -f core conftest.err conftest.$ac_objext \
13399 >    conftest$ac_exeext conftest.$ac_ext
13400        iopoll_mechanism_select=6
13401  
13402   cat >>confdefs.h <<_ACEOF
13403   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
13404   _ACEOF
13405  
13406 <  cat >conftest.$ac_ext <<_ACEOF
17567 < /* confdefs.h.  */
17568 < _ACEOF
17569 < cat confdefs.h >>conftest.$ac_ext
17570 < cat >>conftest.$ac_ext <<_ACEOF
13406 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13407   /* end confdefs.h.  */
13408   /* Define select to an innocuous variant, in case <limits.h> declares select.
13409     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17608 | Line 13444 | return select ();
13444    return 0;
13445   }
13446   _ACEOF
13447 < 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
13447 > if ac_fn_c_try_link "$LINENO"; then :
13448    is_select_mechanism_available="yes"
13449   else
13450 <  $as_echo "$as_me: failed program was:" >&5
17635 < sed 's/^/| /' conftest.$ac_ext >&5
17636 <
17637 <        is_select_mechanism_available="no"
13450 >  is_select_mechanism_available="no"
13451   fi
13452 <
13453 < rm -rf conftest.dSYM
17641 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17642 <      conftest$ac_exeext conftest.$ac_ext
13452 > rm -f core conftest.err conftest.$ac_objext \
13453 >    conftest$ac_exeext conftest.$ac_ext
13454        optimal_iopoll_mechanism="none"
13455    for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
13456      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
# Line 17650 | Line 13461 | rm -f core conftest.err conftest.$ac_obj
13461    done
13462        if test "$desired_iopoll_mechanism" = "none" ; then
13463      if test "$optimal_iopoll_mechanism" = "none" ; then
13464 <      { $as_echo "$as_me:$LINENO: result: none" >&5
13464 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13465   $as_echo "none" >&6; }
13466 <      { { $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; }; }
13466 >      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
13467      else
13468        selected_iopoll_mechanism=$optimal_iopoll_mechanism
13469 <      { $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5
13469 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13470   $as_echo "$selected_iopoll_mechanism" >&6; }
13471      fi
13472    else
13473      eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
13474      if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
13475        selected_iopoll_mechanism=$desired_iopoll_mechanism
13476 <      { $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5
13476 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13477   $as_echo "$selected_iopoll_mechanism" >&6; }
13478      else
13479 <      { $as_echo "$as_me:$LINENO: result: none" >&5
13479 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13480   $as_echo "none" >&6; }
13481 <      { { $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; }; }
13481 >      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
13482      fi
13483    fi
13484        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 17684 | Line 13491 | _ACEOF
13491  
13492  
13493   # Check whether --with-nicklen was given.
13494 < if test "${with_nicklen+set}" = set; then
13494 > if test "${with_nicklen+set}" = set; then :
13495    withval=$with_nicklen; nicklen="$withval"
13496   else
13497    nicklen="9"
# Line 17699 | Line 13506 | _ACEOF
13506  
13507  
13508   # Check whether --with-topiclen was given.
13509 < if test "${with_topiclen+set}" = set; then
13509 > if test "${with_topiclen+set}" = set; then :
13510    withval=$with_topiclen; topiclen="$withval"
13511   else
13512    topiclen="160"
# Line 17714 | Line 13521 | _ACEOF
13521  
13522  
13523   # Check whether --with-syslog-facility was given.
13524 < if test "${with_syslog_facility+set}" = set; then
13524 > if test "${with_syslog_facility+set}" = set; then :
13525    withval=$with_syslog_facility; syslog_facility="$withval"
13526   else
13527    syslog_facility="LOG_LOCAL4"
# Line 17728 | Line 13535 | _ACEOF
13535  
13536  
13537    # Check whether --enable-efnet was given.
13538 < if test "${enable_efnet+set}" = set; then
13538 > if test "${enable_efnet+set}" = set; then :
13539    enableval=$enable_efnet; efnet="$enableval"
13540   else
13541    efnet="no"
# Line 17737 | Line 13544 | fi
13544    if test "$efnet" = "yes" ; then
13545                  use_efnet="yes"
13546  
13547 < cat >>confdefs.h <<\_ACEOF
17741 < #define EFNET 1
17742 < _ACEOF
13547 > $as_echo "#define EFNET 1" >>confdefs.h
13548  
13549  
13550 < cat >>confdefs.h <<\_ACEOF
17746 < #define TS5_ONLY 1
17747 < _ACEOF
13550 > $as_echo "#define TS5_ONLY 1" >>confdefs.h
13551  
13552          else
13553  
13554 < cat >>confdefs.h <<\_ACEOF
17752 < #define INVARIANTS 1
17753 < _ACEOF
13554 > $as_echo "#define INVARIANTS 1" >>confdefs.h
13555  
13556                  use_efnet="no"
13557    fi
# Line 17765 | Line 13566 | fi
13566  
13567  
13568    # Check whether --enable-halfops was given.
13569 < if test "${enable_halfops+set}" = set; then
13569 > if test "${enable_halfops+set}" = set; then :
13570    enableval=$enable_halfops; halfops="$enableval"
13571   else
13572    halfops="no"
# Line 17773 | Line 13574 | fi
13574  
13575    if test "$halfops" = "yes" ; then
13576  
13577 < cat >>confdefs.h <<\_ACEOF
17777 < #define HALFOPS 1
17778 < _ACEOF
13577 > $as_echo "#define HALFOPS 1" >>confdefs.h
13578  
13579    fi
13580  
13581  
13582    # Check whether --enable-debugging was given.
13583 < if test "${enable_debugging+set}" = set; then
13583 > if test "${enable_debugging+set}" = set; then :
13584    enableval=$enable_debugging; debugging="$enableval"
13585   else
13586    debugging="no"
# Line 17789 | Line 13588 | fi
13588  
13589    if test "$debugging" = "yes" ; then
13590  
13591 < cat >>confdefs.h <<\_ACEOF
17793 < #define DEBUG 1
17794 < _ACEOF
13591 > $as_echo "#define DEBUG 1" >>confdefs.h
13592  
13593      CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13594    else
13595  
13596 < cat >>confdefs.h <<\_ACEOF
17800 < #define NDEBUG 1
17801 < _ACEOF
13596 > $as_echo "#define NDEBUG 1" >>confdefs.h
13597  
13598    fi
13599  
13600  
13601    # Check whether --enable-warnings was given.
13602 < if test "${enable_warnings+set}" = set; then
13602 > if test "${enable_warnings+set}" = set; then :
13603    enableval=$enable_warnings; warnings="$enableval"
13604   else
13605    warnings="no"
# Line 17815 | Line 13610 | fi
13610    fi
13611  
13612  
13613 <
13614 <
13615 < for ac_header in syslog.h sys/syslog.h
13616 < do
13617 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13618 < 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
13613 >  for ac_header in syslog.h sys/syslog.h
13614 > do :
13615 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13616 > ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13617 > eval as_val=\$$as_ac_Header
13618 >   if test "x$as_val" = x""yes; then :
13619    cat >>confdefs.h <<_ACEOF
13620   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13621   _ACEOF
# Line 17963 | Line 13625 | fi
13625   done
13626  
13627    # Check whether --enable-syslog was given.
13628 < if test "${enable_syslog+set}" = set; then
13628 > if test "${enable_syslog+set}" = set; then :
13629    enableval=$enable_syslog; syslog="$enableval"
13630   else
13631    syslog="no"
# Line 17973 | Line 13635 | fi
13635      for option in $enableval ; do
13636        case "$option" in
13637          users)
13638 < cat >>confdefs.h <<\_ACEOF
17977 < #define SYSLOG_USERS 1
17978 < _ACEOF
13638 > $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13639   ;;
13640          oper)
13641 < cat >>confdefs.h <<\_ACEOF
17982 < #define SYSLOG_OPER 1
17983 < _ACEOF
13641 > $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13642   ;;
13643          yes) : ;;
13644 <        *) { { $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; }; } ;;
13644 >        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13645        esac
13646      done
13647  
13648 < cat >>confdefs.h <<\_ACEOF
17993 < #define USE_SYSLOG 1
17994 < _ACEOF
13648 > $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13649  
13650    fi
13651  
# Line 18112 | Line 13766 | _ACEOF
13766      case $ac_val in #(
13767      *${as_nl}*)
13768        case $ac_var in #(
13769 <      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13769 >      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13770   $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13771        esac
13772        case $ac_var in #(
13773        _ | IFS | as_nl) ;; #(
13774        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13775 <      *) $as_unset $ac_var ;;
13775 >      *) { eval $ac_var=; unset $ac_var;} ;;
13776        esac ;;
13777      esac
13778    done
# Line 18126 | Line 13780 | $as_echo "$as_me: WARNING: cache variabl
13780    (set) 2>&1 |
13781      case $as_nl`(ac_space=' '; set) 2>&1` in #(
13782      *${as_nl}ac_space=\ *)
13783 <      # `set' does not quote correctly, so add quotes (double-quote
13784 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
13783 >      # `set' does not quote correctly, so add quotes: double-quote
13784 >      # substitution turns \\\\ into \\, and sed turns \\ into \.
13785        sed -n \
13786          "s/'/'\\\\''/g;
13787            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
# Line 18150 | Line 13804 | $as_echo "$as_me: WARNING: cache variabl
13804   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13805    if test -w "$cache_file"; then
13806      test "x$cache_file" != "x/dev/null" &&
13807 <      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13807 >      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13808   $as_echo "$as_me: updating cache $cache_file" >&6;}
13809      cat confcache >$cache_file
13810    else
13811 <    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13811 >    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13812   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13813    fi
13814   fi
# Line 18174 | Line 13828 | for ac_i in : $LIBOBJS; do test "x$ac_i"
13828    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13829    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13830    #    will be set to the directory where LIBOBJS objects are built.
13831 <  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13832 <  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13831 >  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13832 >  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13833   done
13834   LIBOBJS=$ac_libobjs
13835  
# Line 18191 | Line 13845 | else
13845   fi
13846  
13847   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13848 <  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13849 < 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; }; }
13848 >  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
13849 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13850   fi
13851   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13852 <  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13853 < 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; }; }
13852 >  as_fn_error "conditional \"AMDEP\" was never defined.
13853 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13854   fi
13855   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13856 <  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13857 < 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; }; }
13856 >  as_fn_error "conditional \"am__fastdepCC\" was never defined.
13857 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13858   fi
13859   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
13860 <  { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
13861 < 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; }; }
13860 >  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
13861 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13862   fi
13863   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
13864 <  { { $as_echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
13865 < 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; }; }
13864 >  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
13865 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13866   fi
13867   LT_CONFIG_H=config.h
13868  
# Line 18243 | Line 13882 | LT_CONFIG_H=config.h
13882  
13883  
13884  
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
13885   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
13886 <  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SSL\" was never defined.
13887 < 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; }; }
13886 >  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13887 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13888   fi
13889   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13890 <  { { $as_echo "$as_me:$LINENO: error: conditional \"EFNET\" was never defined.
13891 < 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; }; }
13890 >  as_fn_error "conditional \"EFNET\" was never defined.
13891 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13892   fi
13893  
13894   : ${CONFIG_STATUS=./config.status}
13895   ac_write_fail=0
13896   ac_clean_files_save=$ac_clean_files
13897   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13898 < { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13898 > { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13899   $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13900 < cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13900 > as_write_fail=0
13901 > cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13902   #! $SHELL
13903   # Generated by $as_me.
13904   # Run this file to recreate the current configuration.
# Line 18281 | Line 13908 | cat >$CONFIG_STATUS <<_ACEOF || ac_write
13908   debug=false
13909   ac_cs_recheck=false
13910   ac_cs_silent=false
18284 SHELL=\${CONFIG_SHELL-$SHELL}
18285 _ACEOF
13911  
13912 < cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13913 < ## --------------------- ##
13914 < ## M4sh Initialization.  ##
13915 < ## --------------------- ##
13912 > SHELL=\${CONFIG_SHELL-$SHELL}
13913 > export SHELL
13914 > _ASEOF
13915 > cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13916 > ## -------------------- ##
13917 > ## M4sh Initialization. ##
13918 > ## -------------------- ##
13919  
13920   # Be more Bourne compatible
13921   DUALCASE=1; export DUALCASE # for MKS sh
13922 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13922 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13923    emulate sh
13924    NULLCMD=:
13925    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# Line 18299 | Line 13927 | if test -n "${ZSH_VERSION+set}" && (emul
13927    alias -g '${1+"$@"}'='"$@"'
13928    setopt NO_GLOB_SUBST
13929   else
13930 <  case `(set -o) 2>/dev/null` in
13931 <  *posix*) set -o posix ;;
13930 >  case `(set -o) 2>/dev/null` in #(
13931 >  *posix*) :
13932 >    set -o posix ;; #(
13933 >  *) :
13934 >     ;;
13935   esac
18305
13936   fi
13937  
13938  
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
13939   as_nl='
13940   '
13941   export as_nl
# Line 18323 | Line 13943 | export as_nl
13943   as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13944   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13945   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13946 < if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13946 > # Prefer a ksh shell builtin over an external printf program on Solaris,
13947 > # but without wasting forks for bash or zsh.
13948 > if test -z "$BASH_VERSION$ZSH_VERSION" \
13949 >    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13950 >  as_echo='print -r --'
13951 >  as_echo_n='print -rn --'
13952 > elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13953    as_echo='printf %s\n'
13954    as_echo_n='printf %s'
13955   else
# Line 18334 | Line 13960 | else
13960      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13961      as_echo_n_body='eval
13962        arg=$1;
13963 <      case $arg in
13963 >      case $arg in #(
13964        *"$as_nl"*)
13965          expr "X$arg" : "X\\(.*\\)$as_nl";
13966          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 18357 | Line 13983 | if test "${PATH_SEPARATOR+set}" != set;
13983    }
13984   fi
13985  
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
13986  
13987   # IFS
13988   # We need space, tab and new line, in precisely that order.  Quoting is
# Line 18373 | Line 13992 | fi
13992   IFS=" ""        $as_nl"
13993  
13994   # Find who we are.  Look in the path if we contain no directory separator.
13995 < case $0 in
13995 > case $0 in #((
13996    *[\\/]* ) as_myself=$0 ;;
13997    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13998   for as_dir in $PATH
13999   do
14000    IFS=$as_save_IFS
14001    test -z "$as_dir" && as_dir=.
14002 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14003 < done
14002 >    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14003 >  done
14004   IFS=$as_save_IFS
14005  
14006       ;;
# Line 18393 | Line 14012 | if test "x$as_myself" = x; then
14012   fi
14013   if test ! -f "$as_myself"; then
14014    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14015 <  { (exit 1); exit 1; }
14015 >  exit 1
14016   fi
14017  
14018 < # Work around bugs in pre-3.0 UWIN ksh.
14019 < for as_var in ENV MAIL MAILPATH
14020 < do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14018 > # Unset variables that we do not need and which cause bugs (e.g. in
14019 > # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14020 > # suppresses any "Segmentation fault" message there.  '((' could
14021 > # trigger a bug in pdksh 5.2.14.
14022 > for as_var in BASH_ENV ENV MAIL MAILPATH
14023 > do eval test x\${$as_var+set} = xset \
14024 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14025   done
14026   PS1='$ '
14027   PS2='> '
# Line 18410 | Line 14033 | export LC_ALL
14033   LANGUAGE=C
14034   export LANGUAGE
14035  
14036 < # Required to use basename.
14036 > # CDPATH.
14037 > (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14038 >
14039 >
14040 > # as_fn_error ERROR [LINENO LOG_FD]
14041 > # ---------------------------------
14042 > # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14043 > # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14044 > # script with status $?, using 1 if that was 0.
14045 > as_fn_error ()
14046 > {
14047 >  as_status=$?; test $as_status -eq 0 && as_status=1
14048 >  if test "$3"; then
14049 >    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14050 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14051 >  fi
14052 >  $as_echo "$as_me: error: $1" >&2
14053 >  as_fn_exit $as_status
14054 > } # as_fn_error
14055 >
14056 >
14057 > # as_fn_set_status STATUS
14058 > # -----------------------
14059 > # Set $? to STATUS, without forking.
14060 > as_fn_set_status ()
14061 > {
14062 >  return $1
14063 > } # as_fn_set_status
14064 >
14065 > # as_fn_exit STATUS
14066 > # -----------------
14067 > # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14068 > as_fn_exit ()
14069 > {
14070 >  set +e
14071 >  as_fn_set_status $1
14072 >  exit $1
14073 > } # as_fn_exit
14074 >
14075 > # as_fn_unset VAR
14076 > # ---------------
14077 > # Portably unset VAR.
14078 > as_fn_unset ()
14079 > {
14080 >  { eval $1=; unset $1;}
14081 > }
14082 > as_unset=as_fn_unset
14083 > # as_fn_append VAR VALUE
14084 > # ----------------------
14085 > # Append the text in VALUE to the end of the definition contained in VAR. Take
14086 > # advantage of any shell optimizations that allow amortized linear growth over
14087 > # repeated appends, instead of the typical quadratic growth present in naive
14088 > # implementations.
14089 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14090 >  eval 'as_fn_append ()
14091 >  {
14092 >    eval $1+=\$2
14093 >  }'
14094 > else
14095 >  as_fn_append ()
14096 >  {
14097 >    eval $1=\$$1\$2
14098 >  }
14099 > fi # as_fn_append
14100 >
14101 > # as_fn_arith ARG...
14102 > # ------------------
14103 > # Perform arithmetic evaluation on the ARGs, and store the result in the
14104 > # global $as_val. Take advantage of shells that can avoid forks. The arguments
14105 > # must be portable across $(()) and expr.
14106 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14107 >  eval 'as_fn_arith ()
14108 >  {
14109 >    as_val=$(( $* ))
14110 >  }'
14111 > else
14112 >  as_fn_arith ()
14113 >  {
14114 >    as_val=`expr "$@" || test $? -eq 1`
14115 >  }
14116 > fi # as_fn_arith
14117 >
14118 >
14119   if expr a : '\(a\)' >/dev/null 2>&1 &&
14120     test "X`expr 00001 : '.*\(...\)'`" = X001; then
14121    as_expr=expr
# Line 18424 | Line 14129 | else
14129    as_basename=false
14130   fi
14131  
14132 + if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14133 +  as_dirname=dirname
14134 + else
14135 +  as_dirname=false
14136 + fi
14137  
18428 # Name of the executable.
14138   as_me=`$as_basename -- "$0" ||
14139   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14140           X"$0" : 'X\(//\)$' \| \
# Line 18445 | Line 14154 | $as_echo X/"$0" |
14154            }
14155            s/.*/./; q'`
14156  
14157 < # CDPATH.
14158 < $as_unset CDPATH
14159 <
14160 <
14161 <
14162 <  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
14157 > # Avoid depending upon Character Ranges.
14158 > as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14159 > as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14160 > as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14161 > as_cr_digits='0123456789'
14162 > as_cr_alnum=$as_cr_Letters$as_cr_digits
14163  
14164   ECHO_C= ECHO_N= ECHO_T=
14165 < case `echo -n x` in
14165 > case `echo -n x` in #(((((
14166   -n*)
14167 <  case `echo 'x\c'` in
14167 >  case `echo 'xy\c'` in
14168    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14169 <  *)   ECHO_C='\c';;
14169 >  xy)  ECHO_C='\c';;
14170 >  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14171 >       ECHO_T=' ';;
14172    esac;;
14173   *)
14174    ECHO_N='-n';;
14175   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
14176  
14177   rm -f conf$$ conf$$.exe conf$$.file
14178   if test -d conf$$.dir; then
# Line 18543 | Line 14201 | fi
14201   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14202   rmdir conf$$.dir 2>/dev/null
14203  
14204 +
14205 + # as_fn_mkdir_p
14206 + # -------------
14207 + # Create "$as_dir" as a directory, including parents if necessary.
14208 + as_fn_mkdir_p ()
14209 + {
14210 +
14211 +  case $as_dir in #(
14212 +  -*) as_dir=./$as_dir;;
14213 +  esac
14214 +  test -d "$as_dir" || eval $as_mkdir_p || {
14215 +    as_dirs=
14216 +    while :; do
14217 +      case $as_dir in #(
14218 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14219 +      *) as_qdir=$as_dir;;
14220 +      esac
14221 +      as_dirs="'$as_qdir' $as_dirs"
14222 +      as_dir=`$as_dirname -- "$as_dir" ||
14223 + $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14224 +         X"$as_dir" : 'X\(//\)[^/]' \| \
14225 +         X"$as_dir" : 'X\(//\)$' \| \
14226 +         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14227 + $as_echo X"$as_dir" |
14228 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14229 +            s//\1/
14230 +            q
14231 +          }
14232 +          /^X\(\/\/\)[^/].*/{
14233 +            s//\1/
14234 +            q
14235 +          }
14236 +          /^X\(\/\/\)$/{
14237 +            s//\1/
14238 +            q
14239 +          }
14240 +          /^X\(\/\).*/{
14241 +            s//\1/
14242 +            q
14243 +          }
14244 +          s/.*/./; q'`
14245 +      test -d "$as_dir" && break
14246 +    done
14247 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
14248 +  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14249 +
14250 +
14251 + } # as_fn_mkdir_p
14252   if mkdir -p . 2>/dev/null; then
14253 <  as_mkdir_p=:
14253 >  as_mkdir_p='mkdir -p "$as_dir"'
14254   else
14255    test -d ./-p && rmdir ./-p
14256    as_mkdir_p=false
# Line 18563 | Line 14269 | else
14269        if test -d "$1"; then
14270          test -d "$1/.";
14271        else
14272 <        case $1 in
14272 >        case $1 in #(
14273          -*)set "./$1";;
14274          esac;
14275 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14275 >        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14276          ???[sx]*):;;*)false;;esac;fi
14277      '\'' sh
14278    '
# Line 18581 | Line 14287 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
14287  
14288  
14289   exec 6>&1
14290 + ## ----------------------------------- ##
14291 + ## Main body of $CONFIG_STATUS script. ##
14292 + ## ----------------------------------- ##
14293 + _ASEOF
14294 + test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14295  
14296 < # Save the log message, to keep $[0] and so on meaningful, and to
14296 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14297 > # Save the log message, to keep $0 and so on meaningful, and to
14298   # report actual input values of CONFIG_FILES etc. instead of their
14299   # values after options handling.
14300   ac_log="
14301   This file was extended by ircd-hybrid $as_me 7.2.4, which was
14302 < generated by GNU Autoconf 2.63.  Invocation command line was
14302 > generated by GNU Autoconf 2.64.  Invocation command line was
14303  
14304    CONFIG_FILES    = $CONFIG_FILES
14305    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 18611 | Line 14323 | esac
14323  
14324   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14325   # Files that config.status was made for.
14326 < config_files="`echo $ac_config_files`"
14327 < config_headers="`echo $ac_config_headers`"
14328 < config_commands="`echo $ac_config_commands`"
14326 > config_files="$ac_config_files"
14327 > config_headers="$ac_config_headers"
14328 > config_commands="$ac_config_commands"
14329  
14330   _ACEOF
14331  
14332   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14333   ac_cs_usage="\
14334 < \`$as_me' instantiates files from templates according to the
14335 < current configuration.
14334 > \`$as_me' instantiates files and other configuration actions
14335 > from templates according to the current configuration.  Unless the files
14336 > and actions are specified as TAGs, all are instantiated by default.
14337  
14338 < Usage: $0 [OPTION]... [FILE]...
14338 > Usage: $0 [OPTION]... [TAG]...
14339  
14340    -h, --help       print this help, then exit
14341    -V, --version    print version number and configuration settings, then exit
# Line 18644 | Line 14357 | $config_headers
14357   Configuration commands:
14358   $config_commands
14359  
14360 < Report bugs to <bug-autoconf@gnu.org>."
14360 > Report bugs to the package provider."
14361  
14362   _ACEOF
14363   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14364   ac_cs_version="\\
14365   ircd-hybrid config.status 7.2.4
14366 < configured by $0, generated by GNU Autoconf 2.63,
14366 > configured by $0, generated by GNU Autoconf 2.64,
14367    with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14368  
14369 < Copyright (C) 2008 Free Software Foundation, Inc.
14369 > Copyright (C) 2009 Free Software Foundation, Inc.
14370   This config.status script is free software; the Free Software Foundation
14371   gives unlimited permission to copy, distribute and modify it."
14372  
# Line 18696 | Line 14409 | do
14409      case $ac_optarg in
14410      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14411      esac
14412 <    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
14412 >    as_fn_append CONFIG_FILES " '$ac_optarg'"
14413      ac_need_defaults=false;;
14414    --header | --heade | --head | --hea )
14415      $ac_shift
14416      case $ac_optarg in
14417      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14418      esac
14419 <    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
14419 >    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14420      ac_need_defaults=false;;
14421    --he | --h)
14422      # Conflict between --help and --header
14423 <    { $as_echo "$as_me: error: ambiguous option: $1
14424 < Try \`$0 --help' for more information." >&2
18712 <   { (exit 1); exit 1; }; };;
14423 >    as_fn_error "ambiguous option: \`$1'
14424 > Try \`$0 --help' for more information.";;
14425    --help | --hel | -h )
14426      $as_echo "$ac_cs_usage"; exit ;;
14427    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
# Line 18717 | Line 14429 | Try \`$0 --help' for more information."
14429      ac_cs_silent=: ;;
14430  
14431    # This is an error.
14432 <  -*) { $as_echo "$as_me: error: unrecognized option: $1
14433 < Try \`$0 --help' for more information." >&2
18722 <   { (exit 1); exit 1; }; } ;;
14432 >  -*) as_fn_error "unrecognized option: \`$1'
14433 > Try \`$0 --help' for more information." ;;
14434  
14435 <  *) ac_config_targets="$ac_config_targets $1"
14435 >  *) as_fn_append ac_config_targets " $1"
14436       ac_need_defaults=false ;;
14437  
14438    esac
# Line 18774 | Line 14485 | double_quote_subst='$double_quote_subst'
14485   delay_variable_subst='$delay_variable_subst'
14486   macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14487   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"`'
14488   enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14489 + enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14490   pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14491   enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14492   host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
# Line 19050 | Line 14761 | do
14761      "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
14762      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14763  
14764 <  *) { { $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; }; };;
14764 >  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14765    esac
14766   done
14767  
# Line 19079 | Line 14788 | $debug ||
14788    trap 'exit_status=$?
14789    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14790   ' 0
14791 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
14791 >  trap 'as_fn_exit 1' 1 2 13 15
14792   }
14793   # Create a (secure) tmp directory for tmp files.
14794  
# Line 19090 | Line 14799 | $debug ||
14799   {
14800    tmp=./conf$$-$RANDOM
14801    (umask 077 && mkdir "$tmp")
14802 < } ||
19094 < {
19095 <   $as_echo "$as_me: cannot create a temporary directory in ." >&2
19096 <   { (exit 1); exit 1; }
19097 < }
14802 > } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14803  
14804   # Set up the scripts for CONFIG_FILES section.
14805   # No need to generate them if there are no CONFIG_FILES.
# Line 19102 | Line 14807 | $debug ||
14807   if test -n "$CONFIG_FILES"; then
14808  
14809  
19105 ac_cr='
14810  
14811 + ac_cr=`echo X | tr X '\015'`
14812 + # On cygwin, bash can eat \r inside `` if the user requested igncr.
14813 + # But we know of no other shell where ac_cr would be empty at this
14814 + # point, so we can use a bashism as a fallback.
14815 + if test "x$ac_cr" = x; then
14816 +  eval ac_cr=\$\'\\r\'
14817 + fi
14818   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14819   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14820 <  ac_cs_awk_cr='\\r'
14820 >  ac_cs_awk_cr='\r'
14821   else
14822    ac_cs_awk_cr=$ac_cr
14823   fi
# Line 19119 | Line 14830 | _ACEOF
14830    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14831    echo "_ACEOF"
14832   } >conf$$subs.sh ||
14833 <  { { $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; }; }
14833 >  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14834   ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14835   ac_delim='%!_!# '
14836   for ac_last_try in false false false false false :; do
14837    . ./conf$$subs.sh ||
14838 <    { { $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; }; }
14838 >    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14839  
14840    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14841    if test $ac_delim_n = $ac_delim_num; then
14842      break
14843    elif $ac_last_try; then
14844 <    { { $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; }; }
14844 >    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14845    else
14846      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14847    fi
# Line 19225 | Line 14930 | if sed "s/$ac_cr//" < /dev/null > /dev/n
14930   else
14931    cat
14932   fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14933 <  || { { $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; }; }
14933 >  || as_fn_error "could not setup config files machinery" "$LINENO" 5
14934   _ACEOF
14935  
14936   # VPATH may cause trouble with some makes, so we remove $(srcdir),
# Line 19268 | Line 14971 | for ac_last_try in false false :; do
14971    if test -z "$ac_t"; then
14972      break
14973    elif $ac_last_try; then
14974 <    { { $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; }; }
14974 >    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14975    else
14976      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14977    fi
# Line 19355 | Line 15056 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15056   _ACAWK
15057   _ACEOF
15058   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15059 <  { { $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; }; }
15059 >  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15060   fi # test -n "$CONFIG_HEADERS"
15061  
15062  
# Line 19370 | Line 15069 | do
15069    esac
15070    case $ac_mode$ac_tag in
15071    :[FHL]*:*);;
15072 <  :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; }; };;
15072 >  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15073    :[FH]-) ac_tag=-:-;;
15074    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15075    esac
# Line 19400 | Line 15097 | $as_echo "$as_me: error: invalid tag $ac
15097             [\\/$]*) false;;
15098             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15099             esac ||
15100 <           { { $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; }; };;
15100 >           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15101        esac
15102        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15103 <      ac_file_inputs="$ac_file_inputs '$ac_f'"
15103 >      as_fn_append ac_file_inputs " '$ac_f'"
15104      done
15105  
15106      # Let's still pretend it is `configure' which instantiates (i.e., don't
# Line 19416 | Line 15111 | $as_echo "$as_me: error: cannot find inp
15111          `' by configure.'
15112      if test x"$ac_file" != x-; then
15113        configure_input="$ac_file.  $configure_input"
15114 <      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
15114 >      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15115   $as_echo "$as_me: creating $ac_file" >&6;}
15116      fi
15117      # Neutralize special characters interpreted by sed in replacement strings.
# Line 19429 | Line 15124 | $as_echo "$as_me: creating $ac_file" >&6
15124  
15125      case $ac_tag in
15126      *:-:* | *:-) cat >"$tmp/stdin" \
15127 <      || { { $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; }; } ;;
15127 >      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15128      esac
15129      ;;
15130    esac
# Line 19459 | Line 15152 | $as_echo X"$ac_file" |
15152              q
15153            }
15154            s/.*/./; q'`
15155 <  { 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; }; }; }
15155 >  as_dir="$ac_dir"; as_fn_mkdir_p
15156    ac_builddir=.
15157  
15158   case "$ac_dir" in
# Line 19556 | Line 15209 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15209   # If the template does not know about datarootdir, expand it.
15210   # FIXME: This hack should be removed a few years after 2.60.
15211   ac_datarootdir_hack=; ac_datarootdir_seen=
19559
15212   ac_sed_dataroot='
15213   /datarootdir/ {
15214    p
# Line 19566 | Line 15218 | ac_sed_dataroot='
15218   /@docdir@/p
15219   /@infodir@/p
15220   /@localedir@/p
15221 < /@mandir@/p
19570 < '
15221 > /@mandir@/p'
15222   case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15223   *datarootdir*) ac_datarootdir_seen=yes;;
15224   *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15225 <  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15225 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15226   $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15227   _ACEOF
15228   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Line 19581 | Line 15232 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15232    s&@infodir@&$infodir&g
15233    s&@localedir@&$localedir&g
15234    s&@mandir@&$mandir&g
15235 <    s&\\\${datarootdir}&$datarootdir&g' ;;
15235 >  s&\\\${datarootdir}&$datarootdir&g' ;;
15236   esac
15237   _ACEOF
15238  
# Line 19610 | Line 15261 | s&@MKDIR_P@&$ac_MKDIR_P&;t t
15261   $ac_datarootdir_hack
15262   "
15263   eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15264 <  || { { $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; }; }
15264 >  || as_fn_error "could not create $ac_file" "$LINENO" 5
15265  
15266   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15267    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15268    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15269 <  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15269 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15270   which seems to be undefined.  Please make sure it is defined." >&5
15271   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15272   which seems to be undefined.  Please make sure it is defined." >&2;}
# Line 19627 | Line 15276 | which seems to be undefined.  Please mak
15276    -) cat "$tmp/out" && rm -f "$tmp/out";;
15277    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15278    esac \
15279 <  || { { $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; }; }
15279 >  || as_fn_error "could not create $ac_file" "$LINENO" 5
15280   ;;
15281    :H)
15282    #
# Line 19640 | Line 15287 | $as_echo "$as_me: error: could not creat
15287        $as_echo "/* $configure_input  */" \
15288        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15289      } >"$tmp/config.h" \
15290 <      || { { $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; }; }
15290 >      || as_fn_error "could not create $ac_file" "$LINENO" 5
15291      if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15292 <      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15292 >      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15293   $as_echo "$as_me: $ac_file is unchanged" >&6;}
15294      else
15295        rm -f "$ac_file"
15296        mv "$tmp/config.h" "$ac_file" \
15297 <        || { { $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; }; }
15297 >        || as_fn_error "could not create $ac_file" "$LINENO" 5
15298      fi
15299    else
15300      $as_echo "/* $configure_input  */" \
15301        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15302 <      || { { $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; }; }
15302 >      || as_fn_error "could not create -" "$LINENO" 5
15303    fi
15304   # Compute "$ac_file"'s index in $config_headers.
15305   _am_arg="$ac_file"
# Line 19696 | Line 15337 | $as_echo X"$_am_arg" |
15337            s/.*/./; q'`/stamp-h$_am_stamp_count
15338   ;;
15339  
15340 <  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15340 >  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15341   $as_echo "$as_me: executing $ac_file commands" >&6;}
15342   ;;
15343    esac
# Line 19791 | Line 15432 | $as_echo X"$file" |
15432              q
15433            }
15434            s/.*/./; q'`
15435 <      { 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; }; }; }
15435 >      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15436        # echo "creating $dirpart/$file"
15437        echo '# dummy' > "$dirpart/$file"
15438      done
# Line 19895 | Line 15496 | available_tags=""
15496   macro_version=$macro_version
15497   macro_revision=$macro_revision
15498  
19898 # Whether or not to build shared libraries.
19899 build_libtool_libs=$enable_shared
19900
15499   # Whether or not to build static libraries.
15500   build_old_libs=$enable_static
15501  
15502 + # Whether or not to build shared libraries.
15503 + build_libtool_libs=$enable_shared
15504 +
15505   # What type of objects to build.
15506   pic_mode=$pic_mode
15507  
# Line 20478 | Line 16079 | _LT_EOF
16079   done # for ac_tag
16080  
16081  
16082 < { (exit 0); exit 0; }
16082 > as_fn_exit 0
16083   _ACEOF
20483 chmod +x $CONFIG_STATUS
16084   ac_clean_files=$ac_clean_files_save
16085  
16086   test $ac_write_fail = 0 ||
16087 <  { { $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; }; }
16087 >  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16088  
16089  
16090   # configure is writing to config.log, and then calls config.status.
# Line 20507 | Line 16105 | if test "$no_create" != yes; then
16105    exec 5>>config.log
16106    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16107    # would make configure fail if this is the last instruction.
16108 <  $ac_cs_success || { (exit 1); exit 1; }
16108 >  $ac_cs_success || as_fn_exit $?
16109   fi
16110  
16111   #
# Line 20551 | Line 16149 | if test "$no_recursion" != yes; then
16149        case $ac_arg in
16150        *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16151        esac
16152 <      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
16152 >      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16153      esac
16154    done
16155  
# Line 20580 | Line 16178 | if test "$no_recursion" != yes; then
16178      test -d "$srcdir/$ac_dir" || continue
16179  
16180      ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16181 <    $as_echo "$as_me:$LINENO: $ac_msg" >&5
16181 >    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16182      $as_echo "$ac_msg" >&6
16183 <    { 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; }; }; }
16183 >    as_dir="$ac_dir"; as_fn_mkdir_p
16184      ac_builddir=.
16185  
16186   case "$ac_dir" in
# Line 20669 | Line 16227 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
16227        # This should be Cygnus configure.
16228        ac_sub_configure=$ac_aux_dir/configure
16229      else
16230 <      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
16230 >      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16231   $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16232        ac_sub_configure=
16233      fi
# Line 20683 | Line 16241 | $as_echo "$as_me: WARNING: no configurat
16241          ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16242        esac
16243  
16244 <      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16244 >      { $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
16245   $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16246        # The eval makes quoting arguments work.
16247        eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16248             --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16249 <        { { $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; }; }
16249 >        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16250      fi
16251  
16252      cd "$ac_popdir"
16253    done
16254   fi
16255   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16256 <  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16256 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16257   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16258   fi
16259  

Diff Legend

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