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

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 950 by michael, Tue Jul 21 23:07:52 2009 UTC vs.
ircd-hybrid-7.3/configure (file contents), Revision 1053 by michael, Thu Jan 28 08:49:16 2010 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 + # From configure.ac Id: configure.ac 1043 2009-12-10 13:05:19Z 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.65 for ircd-hybrid 7.3-rc1.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7 > #
8   #
9   # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10 > # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 > # Inc.
12 > #
13 > #
14   # This configure script is free software; the Free Software Foundation
15   # gives unlimited permission to copy, distribute and modify it.
16 < ## --------------------- ##
17 < ## M4sh Initialization.  ##
18 < ## --------------------- ##
16 > ## -------------------- ##
17 > ## M4sh Initialization. ##
18 > ## -------------------- ##
19  
20   # Be more Bourne compatible
21   DUALCASE=1; export DUALCASE # for MKS sh
22 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23    emulate sh
24    NULLCMD=:
25    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# Line 20 | Line 27 | if test -n "${ZSH_VERSION+set}" && (emul
27    alias -g '${1+"$@"}'='"$@"'
28    setopt NO_GLOB_SUBST
29   else
30 <  case `(set -o) 2>/dev/null` in
31 <  *posix*) set -o posix ;;
30 >  case `(set -o) 2>/dev/null` in #(
31 >  *posix*) :
32 >    set -o posix ;; #(
33 >  *) :
34 >     ;;
35   esac
26
36   fi
37  
38  
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
39   as_nl='
40   '
41   export as_nl
# Line 44 | Line 43 | export as_nl
43   as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 < if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
46 > # Prefer a ksh shell builtin over an external printf program on Solaris,
47 > # but without wasting forks for bash or zsh.
48 > if test -z "$BASH_VERSION$ZSH_VERSION" \
49 >    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 >  as_echo='print -r --'
51 >  as_echo_n='print -rn --'
52 > elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53    as_echo='printf %s\n'
54    as_echo_n='printf %s'
55   else
# Line 55 | Line 60 | else
60      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61      as_echo_n_body='eval
62        arg=$1;
63 <      case $arg in
63 >      case $arg in #(
64        *"$as_nl"*)
65          expr "X$arg" : "X\\(.*\\)$as_nl";
66          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 78 | Line 83 | if test "${PATH_SEPARATOR+set}" != set;
83    }
84   fi
85  
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
86  
87   # IFS
88   # We need space, tab and new line, in precisely that order.  Quoting is
# Line 94 | Line 92 | fi
92   IFS=" ""        $as_nl"
93  
94   # Find who we are.  Look in the path if we contain no directory separator.
95 < case $0 in
95 > case $0 in #((
96    *[\\/]* ) as_myself=$0 ;;
97    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98   for as_dir in $PATH
99   do
100    IFS=$as_save_IFS
101    test -z "$as_dir" && as_dir=.
102 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 < done
102 >    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 >  done
104   IFS=$as_save_IFS
105  
106       ;;
# Line 114 | Line 112 | if test "x$as_myself" = x; then
112   fi
113   if test ! -f "$as_myself"; then
114    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 <  { (exit 1); exit 1; }
115 >  exit 1
116   fi
117  
118 < # Work around bugs in pre-3.0 UWIN ksh.
119 < for as_var in ENV MAIL MAILPATH
120 < do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 > # Unset variables that we do not need and which cause bugs (e.g. in
119 > # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 > # suppresses any "Segmentation fault" message there.  '((' could
121 > # trigger a bug in pdksh 5.2.14.
122 > for as_var in BASH_ENV ENV MAIL MAILPATH
123 > do eval test x\${$as_var+set} = xset \
124 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125   done
126   PS1='$ '
127   PS2='> '
# Line 131 | Line 133 | export LC_ALL
133   LANGUAGE=C
134   export LANGUAGE
135  
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
136   # CDPATH.
137 < $as_unset CDPATH
171 <
137 > (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138  
139   if test "x$CONFIG_SHELL" = x; then
140 <  if (eval ":") 2>/dev/null; then
141 <  as_have_required=yes
140 >  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 >  emulate sh
142 >  NULLCMD=:
143 >  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 >  # is contrary to our usage.  Disable this feature.
145 >  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 >  setopt NO_GLOB_SUBST
147   else
148 <  as_have_required=no
148 >  case \`(set -o) 2>/dev/null\` in #(
149 >  *posix*) :
150 >    set -o posix ;; #(
151 >  *) :
152 >     ;;
153 > esac
154   fi
155 <
156 <  if test $as_have_required = yes &&     (eval ":
157 < (as_func_return () {
158 <  (exit \$1)
159 < }
160 < 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 < }
155 > "
156 >  as_required="as_fn_return () { (exit \$1); }
157 > as_fn_success () { as_fn_return 0; }
158 > as_fn_failure () { as_fn_return 1; }
159 > as_fn_ret_success () { return 0; }
160 > as_fn_ret_failure () { return 1; }
161  
162   exitcode=0
163 < if as_func_success; then
164 <  :
165 < else
166 <  exitcode=1
167 <  echo as_func_success failed.
168 < fi
169 <
170 < if as_func_failure; then
171 <  exitcode=1
172 <  echo as_func_failure succeeded.
173 < fi
174 <
175 < if as_func_ret_success; then
176 <  :
177 < else
178 <  exitcode=1
179 <  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 <  :
163 > as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 > as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 > as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 > as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 > if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 >
169 > else
170 >  exitcode=1; echo positional parameters were not saved.
171 > fi
172 > test x\$exitcode = x0 || exit 1"
173 >  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 >  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 >  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 >  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 > test \$(( 1 + 1 )) = 2 || exit 1"
178 >  if (eval "$as_required") 2>/dev/null; then :
179 >  as_have_required=yes
180   else
181 <  exitcode=1
226 <  echo positional parameters were not saved.
181 >  as_have_required=no
182   fi
183 +  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184  
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  :
185   else
186 <  as_candidate_shells=
187 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 > as_found=false
188   for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189   do
190    IFS=$as_save_IFS
191    test -z "$as_dir" && as_dir=.
192 <  case $as_dir in
192 >  as_found=:
193 >  case $as_dir in #(
194           /*)
195             for as_base in sh bash ksh sh5; do
196 <             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
196 >             # Try only shells that exist, to save several forks.
197 >             as_shell=$as_dir/$as_base
198 >             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 >                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 >  CONFIG_SHELL=$as_shell as_have_required=yes
201 >                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 >  break 2
203 > fi
204 > fi
205             done;;
206         esac
207 +  as_found=false
208   done
209 + $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 +              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 +  CONFIG_SHELL=$SHELL as_have_required=yes
212 + fi; }
213   IFS=$as_save_IFS
214  
215  
216 <      for as_shell in $as_candidate_shells $SHELL; do
217 <         # Try only shells that exist, to save several forks.
218 <         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
219 <                { ("$as_shell") 2> /dev/null <<\_ASEOF
220 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
221 <  emulate sh
222 <  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
216 >      if test "x$CONFIG_SHELL" != x; then :
217 >  # We cannot yet assume a decent shell, so we have to provide a
218 >        # neutralization value for shells without unset; and this also
219 >        # works around shells that cannot unset nonexistent variables.
220 >        BASH_ENV=/dev/null
221 >        ENV=/dev/null
222 >        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223          export CONFIG_SHELL
224          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225   fi
226  
227 <
228 <    if test $as_have_required = no; then
229 <  echo This script requires a shell more modern than all the
230 <      echo shells that I found on your system.  Please install a
231 <      echo modern shell, or manually run the script under such a
232 <      echo shell if you do have one.
233 <      { (exit 1); exit 1; }
227 >    if test x$as_have_required = xno; then :
228 >  $as_echo "$0: This script requires a shell more modern than all"
229 >  $as_echo "$0: the shells that I found on your system."
230 >  if test x${ZSH_VERSION+set} = xset ; then
231 >    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232 >    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 >  else
234 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
235 > $0: bugs@ircd-hybrid.org about your system, including any
236 > $0: error possibly output before this message. Then install
237 > $0: a modern shell, or manually run the script under such a
238 > $0: shell if you do have one."
239 >  fi
240 >  exit 1
241   fi
377
378
242   fi
380
243   fi
244 + SHELL=${CONFIG_SHELL-/bin/sh}
245 + export SHELL
246 + # Unset more variables known to interfere with behavior of common tools.
247 + CLICOLOR_FORCE= GREP_OPTIONS=
248 + unset CLICOLOR_FORCE GREP_OPTIONS
249  
250 + ## --------------------- ##
251 + ## M4sh Shell Functions. ##
252 + ## --------------------- ##
253 + # as_fn_unset VAR
254 + # ---------------
255 + # Portably unset VAR.
256 + as_fn_unset ()
257 + {
258 +  { eval $1=; unset $1;}
259 + }
260 + as_unset=as_fn_unset
261 +
262 + # as_fn_set_status STATUS
263 + # -----------------------
264 + # Set $? to STATUS, without forking.
265 + as_fn_set_status ()
266 + {
267 +  return $1
268 + } # as_fn_set_status
269 +
270 + # as_fn_exit STATUS
271 + # -----------------
272 + # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 + as_fn_exit ()
274 + {
275 +  set +e
276 +  as_fn_set_status $1
277 +  exit $1
278 + } # as_fn_exit
279 +
280 + # as_fn_mkdir_p
281 + # -------------
282 + # Create "$as_dir" as a directory, including parents if necessary.
283 + as_fn_mkdir_p ()
284 + {
285  
286 +  case $as_dir in #(
287 +  -*) as_dir=./$as_dir;;
288 +  esac
289 +  test -d "$as_dir" || eval $as_mkdir_p || {
290 +    as_dirs=
291 +    while :; do
292 +      case $as_dir in #(
293 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 +      *) as_qdir=$as_dir;;
295 +      esac
296 +      as_dirs="'$as_qdir' $as_dirs"
297 +      as_dir=`$as_dirname -- "$as_dir" ||
298 + $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 +         X"$as_dir" : 'X\(//\)[^/]' \| \
300 +         X"$as_dir" : 'X\(//\)$' \| \
301 +         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 + $as_echo X"$as_dir" |
303 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304 +            s//\1/
305 +            q
306 +          }
307 +          /^X\(\/\/\)[^/].*/{
308 +            s//\1/
309 +            q
310 +          }
311 +          /^X\(\/\/\)$/{
312 +            s//\1/
313 +            q
314 +          }
315 +          /^X\(\/\).*/{
316 +            s//\1/
317 +            q
318 +          }
319 +          s/.*/./; q'`
320 +      test -d "$as_dir" && break
321 +    done
322 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
323 +  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324  
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 }
325  
326 < exitcode=0
327 < if as_func_success; then
328 <  :
326 > } # as_fn_mkdir_p
327 > # as_fn_append VAR VALUE
328 > # ----------------------
329 > # Append the text in VALUE to the end of the definition contained in VAR. Take
330 > # advantage of any shell optimizations that allow amortized linear growth over
331 > # repeated appends, instead of the typical quadratic growth present in naive
332 > # implementations.
333 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 >  eval 'as_fn_append ()
335 >  {
336 >    eval $1+=\$2
337 >  }'
338   else
339 <  exitcode=1
340 <  echo as_func_success failed.
341 < fi
339 >  as_fn_append ()
340 >  {
341 >    eval $1=\$$1\$2
342 >  }
343 > fi # as_fn_append
344  
345 < if as_func_failure; then
346 <  exitcode=1
347 <  echo as_func_failure succeeded.
348 < fi
345 > # as_fn_arith ARG...
346 > # ------------------
347 > # Perform arithmetic evaluation on the ARGs, and store the result in the
348 > # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 > # must be portable across $(()) and expr.
350 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351 >  eval 'as_fn_arith ()
352 >  {
353 >    as_val=$(( $* ))
354 >  }'
355 > else
356 >  as_fn_arith ()
357 >  {
358 >    as_val=`expr "$@" || test $? -eq 1`
359 >  }
360 > fi # as_fn_arith
361  
362 < if as_func_ret_success; then
363 <  :
362 >
363 > # as_fn_error ERROR [LINENO LOG_FD]
364 > # ---------------------------------
365 > # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 > # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 > # script with status $?, using 1 if that was 0.
368 > as_fn_error ()
369 > {
370 >  as_status=$?; test $as_status -eq 0 && as_status=1
371 >  if test "$3"; then
372 >    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 >  fi
375 >  $as_echo "$as_me: error: $1" >&2
376 >  as_fn_exit $as_status
377 > } # as_fn_error
378 >
379 > if expr a : '\(a\)' >/dev/null 2>&1 &&
380 >   test "X`expr 00001 : '.*\(...\)'`" = X001; then
381 >  as_expr=expr
382   else
383 <  exitcode=1
418 <  echo as_func_ret_success failed.
383 >  as_expr=false
384   fi
385  
386 < if as_func_ret_failure; then
387 <  exitcode=1
388 <  echo as_func_ret_failure succeeded.
386 > if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387 >  as_basename=basename
388 > else
389 >  as_basename=false
390   fi
391  
392 < if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
393 <  :
392 > if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393 >  as_dirname=dirname
394   else
395 <  exitcode=1
430 <  echo positional parameters were not saved.
395 >  as_dirname=false
396   fi
397  
398 < test \$exitcode = 0") || {
399 <  echo No shell found that supports shell functions.
400 <  echo Please tell bug-autoconf@gnu.org about your system,
401 <  echo including any error possibly output before this message.
402 <  echo This can help us improve future autoconf versions.
403 <  echo Configuration will now proceed without shell functions.
404 < }
398 > as_me=`$as_basename -- "$0" ||
399 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 >         X"$0" : 'X\(//\)$' \| \
401 >         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 > $as_echo X/"$0" |
403 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
404 >            s//\1/
405 >            q
406 >          }
407 >          /^X\/\(\/\/\)$/{
408 >            s//\1/
409 >            q
410 >          }
411 >          /^X\/\(\/\).*/{
412 >            s//\1/
413 >            q
414 >          }
415 >          s/.*/./; q'`
416  
417 + # Avoid depending upon Character Ranges.
418 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 + as_cr_digits='0123456789'
422 + as_cr_alnum=$as_cr_Letters$as_cr_digits
423  
424  
425 <  as_lineno_1=$LINENO
426 <  as_lineno_2=$LINENO
427 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
428 <  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429 <
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.  :-)
425 >  as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 >  as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 >  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 >  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 >  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
430    sed -n '
431      p
432      /[$]LINENO/=
# Line 471 | Line 443 | test \$exitcode = 0") || {
443        s/-\n.*//
444      ' >$as_me.lineno &&
445    chmod +x "$as_me.lineno" ||
446 <    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 <   { (exit 1); exit 1; }; }
446 >    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447  
448    # Don't try to exec as it changes $[0], causing all sort of problems
449    # (the dirname of $[0] is not the place where we might find the
# Line 482 | Line 453 | test \$exitcode = 0") || {
453    exit
454   }
455  
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
456   ECHO_C= ECHO_N= ECHO_T=
457 < case `echo -n x` in
457 > case `echo -n x` in #(((((
458   -n*)
459 <  case `echo 'x\c'` in
459 >  case `echo 'xy\c'` in
460    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
461 <  *)   ECHO_C='\c';;
461 >  xy)  ECHO_C='\c';;
462 >  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 >       ECHO_T=' ';;
464    esac;;
465   *)
466    ECHO_N='-n';;
467   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
468  
469   rm -f conf$$ conf$$.exe conf$$.file
470   if test -d conf$$.dir; then
# Line 534 | Line 494 | rm -f conf$$ conf$$.exe conf$$.dir/conf$
494   rmdir conf$$.dir 2>/dev/null
495  
496   if mkdir -p . 2>/dev/null; then
497 <  as_mkdir_p=:
497 >  as_mkdir_p='mkdir -p "$as_dir"'
498   else
499    test -d ./-p && rmdir ./-p
500    as_mkdir_p=false
# Line 553 | Line 513 | else
513        if test -d "$1"; then
514          test -d "$1/.";
515        else
516 <        case $1 in
516 >        case $1 in #(
517          -*)set "./$1";;
518          esac;
519 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
519 >        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520          ???[sx]*):;;*)false;;esac;fi
521      '\'' sh
522    '
# Line 571 | Line 531 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
531  
532  
533  
574
534   # Check that we are running under the correct shell.
535   SHELL=${CONFIG_SHELL-/bin/sh}
536  
# Line 724 | Line 683 | lt_ltdl_dir='libltdl'
683  
684   lt_dlopen_dir="$lt_ltdl_dir"
685  
686 < exec 7<&0 </dev/null 6>&1
686 > test -n "$DJDIR" || exec 7<&0 </dev/null
687 > exec 6>&1
688  
689   # Name of the host.
690   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# Line 742 | Line 702 | cross_compiling=no
702   subdirs=
703   MFLAGS=
704   MAKEFLAGS=
745 SHELL=${CONFIG_SHELL-/bin/sh}
705  
706   # Identity of this package.
707   PACKAGE_NAME='ircd-hybrid'
708   PACKAGE_TARNAME='ircd-hybrid'
709 < PACKAGE_VERSION='7.2.4'
710 < PACKAGE_STRING='ircd-hybrid 7.2.4'
711 < PACKAGE_BUGREPORT=''
709 > PACKAGE_VERSION='7.3-rc1'
710 > PACKAGE_STRING='ircd-hybrid 7.3-rc1'
711 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
712 > PACKAGE_URL=''
713  
714   ac_unique_file="src/ircd.c"
715   # Factoring default headers for most tests.
# Line 806 | Line 766 | EFNET_FALSE
766   EFNET_TRUE
767   ENABLE_SSL_FALSE
768   ENABLE_SSL_TRUE
769 < HAVE_CRYPT_FALSE
770 < HAVE_CRYPT_TRUE
769 > ENABLE_PCRE_FALSE
770 > ENABLE_PCRE_TRUE
771   LTDLOPEN
772   LT_CONFIG_H
773   subdirs
# Line 932 | Line 892 | bindir
892   program_transform_name
893   prefix
894   exec_prefix
895 + PACKAGE_URL
896   PACKAGE_BUGREPORT
897   PACKAGE_STRING
898   PACKAGE_VERSION
# Line 944 | Line 905 | ac_user_opts='
905   enable_option_checking
906   enable_maintainer_mode
907   enable_dependency_tracking
947 enable_shared
908   enable_static
909 + enable_shared
910   with_pic
911   enable_fast_install
912   with_gnu_ld
# Line 956 | Line 917 | with_ltdl_lib
917   enable_ltdl_install
918   with_zlib_path
919   enable_zlib
920 + with_libpcre_path
921 + enable_libpcre
922   enable_openssl
923   enable_assert
924   enable_small_net
# Line 1093 | Line 1056 | do
1056      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1057      # Reject names that are not valid shell variable names.
1058      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 <      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1097 <   { (exit 1); exit 1; }; }
1059 >      as_fn_error "invalid feature name: $ac_useropt"
1060      ac_useropt_orig=$ac_useropt
1061      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062      case $ac_user_opts in
# Line 1120 | Line 1082 | do
1082      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1083      # Reject names that are not valid shell variable names.
1084      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1085 <      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1124 <   { (exit 1); exit 1; }; }
1085 >      as_fn_error "invalid feature name: $ac_useropt"
1086      ac_useropt_orig=$ac_useropt
1087      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088      case $ac_user_opts in
# Line 1325 | Line 1286 | do
1286      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1287      # Reject names that are not valid shell variable names.
1288      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1289 <      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1329 <   { (exit 1); exit 1; }; }
1289 >      as_fn_error "invalid package name: $ac_useropt"
1290      ac_useropt_orig=$ac_useropt
1291      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1292      case $ac_user_opts in
# Line 1342 | Line 1302 | do
1302      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1303      # Reject names that are not valid shell variable names.
1304      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1305 <      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1346 <   { (exit 1); exit 1; }; }
1305 >      as_fn_error "invalid package name: $ac_useropt"
1306      ac_useropt_orig=$ac_useropt
1307      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1308      case $ac_user_opts in
# Line 1373 | Line 1332 | do
1332    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1333      x_libraries=$ac_optarg ;;
1334  
1335 <  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1336 < Try \`$0 --help' for more information." >&2
1378 <   { (exit 1); exit 1; }; }
1335 >  -*) as_fn_error "unrecognized option: \`$ac_option'
1336 > Try \`$0 --help' for more information."
1337      ;;
1338  
1339    *=*)
1340      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1341      # Reject names that are not valid shell variable names.
1342 <    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1343 <      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1344 <   { (exit 1); exit 1; }; }
1342 >    case $ac_envvar in #(
1343 >      '' | [0-9]* | *[!_$as_cr_alnum]* )
1344 >      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1345 >    esac
1346      eval $ac_envvar=\$ac_optarg
1347      export $ac_envvar ;;
1348  
# Line 1400 | Line 1359 | done
1359  
1360   if test -n "$ac_prev"; then
1361    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1362 <  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1404 <   { (exit 1); exit 1; }; }
1362 >  as_fn_error "missing argument to $ac_option"
1363   fi
1364  
1365   if test -n "$ac_unrecognized_opts"; then
1366    case $enable_option_checking in
1367      no) ;;
1368 <    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1411 <   { (exit 1); exit 1; }; } ;;
1368 >    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1369      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1370    esac
1371   fi
# Line 1431 | Line 1388 | do
1388      [\\/$]* | ?:[\\/]* )  continue;;
1389      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1390    esac
1391 <  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1435 <   { (exit 1); exit 1; }; }
1391 >  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1392   done
1393  
1394   # There might be people who depend on the old broken behavior: `$host'
# Line 1462 | Line 1418 | test "$silent" = yes && exec 6>/dev/null
1418   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1419   ac_ls_di=`ls -di .` &&
1420   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1421 <  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1466 <   { (exit 1); exit 1; }; }
1421 >  as_fn_error "working directory cannot be determined"
1422   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1423 <  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1469 <   { (exit 1); exit 1; }; }
1423 >  as_fn_error "pwd does not report name of working directory"
1424  
1425  
1426   # Find the source files, if location was not specified.
# Line 1505 | Line 1459 | else
1459   fi
1460   if test ! -r "$srcdir/$ac_unique_file"; then
1461    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1462 <  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1509 <   { (exit 1); exit 1; }; }
1462 >  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1463   fi
1464   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1465   ac_abs_confdir=`(
1466 <        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1514 <   { (exit 1); exit 1; }; }
1466 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1467          pwd)`
1468   # When building in place, set srcdir=.
1469   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1537 | Line 1489 | if test "$ac_init_help" = "long"; then
1489    # Omit some internal or obsolete options to make the list less imposing.
1490    # This message is too long to be a string in the A/UX 3.1 sh.
1491    cat <<_ACEOF
1492 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1492 > \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1493  
1494   Usage: $0 [OPTION]... [VAR=VALUE]...
1495  
# Line 1607 | Line 1559 | fi
1559  
1560   if test -n "$ac_init_help"; then
1561    case $ac_init_help in
1562 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1562 >     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1563     esac
1564    cat <<\_ACEOF
1565  
# Line 1619 | Line 1571 | Optional Features:
1571                            (and sometimes confusing) to the casual installer
1572    --disable-dependency-tracking  speeds up one-time build
1573    --enable-dependency-tracking   do not reject slow dependency extractors
1574 +  --enable-static[=PKGS]  build static libraries [default=no]
1575    --enable-shared[=PKGS]  build shared libraries [default=yes]
1623  --enable-static[=PKGS]  build static libraries [default=yes]
1576    --enable-fast-install[=PKGS]
1577                            optimize for fast installation [default=yes]
1578    --disable-libtool-lock  avoid locking (might break parallel builds)
1579    --enable-ltdl-install   install libltdl
1580    --disable-zlib          Disable ziplinks support
1581 +  --disable-libpcre       Disable PCRE support
1582    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1583    --disable-openssl            Disable OpenSSL support.
1584    --enable-assert         Enable assert() statements
# Line 1654 | Line 1607 | Optional Packages:
1607    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1608    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1609    --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1610 +  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1611    --with-nicklen=<value>  Set nickname length (default 9).
1612    --with-topiclen=<value> Set topic length (default 160).
1613    --with-syslog-facility=LOG
# Line 1666 | Line 1620 | Some influential environment variables:
1620    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1621                nonstandard directory <lib dir>
1622    LIBS        libraries to pass to the linker, e.g. -l<library>
1623 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1623 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1624                you have headers in a nonstandard directory <include dir>
1625    YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1626                the first program found out of: `bison -y', `byacc', `yacc'.
# Line 1678 | Line 1632 | Some influential environment variables:
1632   Use these variables to override the choices made by `configure' or to help
1633   it to find libraries and programs with nonstandard names/locations.
1634  
1635 + Report bugs to <bugs@ircd-hybrid.org>.
1636   _ACEOF
1637   ac_status=$?
1638   fi
# Line 1740 | Line 1695 | fi
1695   test -n "$ac_init_help" && exit $ac_status
1696   if $ac_init_version; then
1697    cat <<\_ACEOF
1698 < ircd-hybrid configure 7.2.4
1699 < generated by GNU Autoconf 2.63
1698 > ircd-hybrid configure 7.3-rc1
1699 > generated by GNU Autoconf 2.65
1700  
1701 < Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1747 < 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1701 > Copyright (C) 2009 Free Software Foundation, Inc.
1702   This configure script is free software; the Free Software Foundation
1703   gives unlimited permission to copy, distribute and modify it.
1704   _ACEOF
1705    exit
1706   fi
1707 +
1708 + ## ------------------------ ##
1709 + ## Autoconf initialization. ##
1710 + ## ------------------------ ##
1711 +
1712 + # ac_fn_c_try_compile LINENO
1713 + # --------------------------
1714 + # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 + ac_fn_c_try_compile ()
1716 + {
1717 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 +  rm -f conftest.$ac_objext
1719 +  if { { ac_try="$ac_compile"
1720 + case "(($ac_try" in
1721 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 +  *) ac_try_echo=$ac_try;;
1723 + esac
1724 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 + $as_echo "$ac_try_echo"; } >&5
1726 +  (eval "$ac_compile") 2>conftest.err
1727 +  ac_status=$?
1728 +  if test -s conftest.err; then
1729 +    grep -v '^ *+' conftest.err >conftest.er1
1730 +    cat conftest.er1 >&5
1731 +    mv -f conftest.er1 conftest.err
1732 +  fi
1733 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 +  test $ac_status = 0; } && {
1735 +         test -z "$ac_c_werror_flag" ||
1736 +         test ! -s conftest.err
1737 +       } && test -s conftest.$ac_objext; then :
1738 +  ac_retval=0
1739 + else
1740 +  $as_echo "$as_me: failed program was:" >&5
1741 + sed 's/^/| /' conftest.$ac_ext >&5
1742 +
1743 +        ac_retval=1
1744 + fi
1745 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 +  as_fn_set_status $ac_retval
1747 +
1748 + } # ac_fn_c_try_compile
1749 +
1750 + # ac_fn_c_try_link LINENO
1751 + # -----------------------
1752 + # Try to link conftest.$ac_ext, and return whether this succeeded.
1753 + ac_fn_c_try_link ()
1754 + {
1755 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 +  rm -f conftest.$ac_objext conftest$ac_exeext
1757 +  if { { ac_try="$ac_link"
1758 + case "(($ac_try" in
1759 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 +  *) ac_try_echo=$ac_try;;
1761 + esac
1762 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 + $as_echo "$ac_try_echo"; } >&5
1764 +  (eval "$ac_link") 2>conftest.err
1765 +  ac_status=$?
1766 +  if test -s conftest.err; then
1767 +    grep -v '^ *+' conftest.err >conftest.er1
1768 +    cat conftest.er1 >&5
1769 +    mv -f conftest.er1 conftest.err
1770 +  fi
1771 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 +  test $ac_status = 0; } && {
1773 +         test -z "$ac_c_werror_flag" ||
1774 +         test ! -s conftest.err
1775 +       } && test -s conftest$ac_exeext && {
1776 +         test "$cross_compiling" = yes ||
1777 +         $as_test_x conftest$ac_exeext
1778 +       }; then :
1779 +  ac_retval=0
1780 + else
1781 +  $as_echo "$as_me: failed program was:" >&5
1782 + sed 's/^/| /' conftest.$ac_ext >&5
1783 +
1784 +        ac_retval=1
1785 + fi
1786 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1787 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1788 +  # interfere with the next link command; also delete a directory that is
1789 +  # left behind by Apple's compiler.  We do this before executing the actions.
1790 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1792 +  as_fn_set_status $ac_retval
1793 +
1794 + } # ac_fn_c_try_link
1795 +
1796 + # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 + # -------------------------------------------------------
1798 + # Tests whether HEADER exists and can be compiled using the include files in
1799 + # INCLUDES, setting the cache variable VAR accordingly.
1800 + ac_fn_c_check_header_compile ()
1801 + {
1802 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 + $as_echo_n "checking for $2... " >&6; }
1805 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1806 +  $as_echo_n "(cached) " >&6
1807 + else
1808 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 + /* end confdefs.h.  */
1810 + $4
1811 + #include <$2>
1812 + _ACEOF
1813 + if ac_fn_c_try_compile "$LINENO"; then :
1814 +  eval "$3=yes"
1815 + else
1816 +  eval "$3=no"
1817 + fi
1818 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819 + fi
1820 + eval ac_res=\$$3
1821 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 + $as_echo "$ac_res" >&6; }
1823 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1824 +
1825 + } # ac_fn_c_check_header_compile
1826 +
1827 + # ac_fn_c_try_cpp LINENO
1828 + # ----------------------
1829 + # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1830 + ac_fn_c_try_cpp ()
1831 + {
1832 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 +  if { { ac_try="$ac_cpp conftest.$ac_ext"
1834 + case "(($ac_try" in
1835 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836 +  *) ac_try_echo=$ac_try;;
1837 + esac
1838 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839 + $as_echo "$ac_try_echo"; } >&5
1840 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1841 +  ac_status=$?
1842 +  if test -s conftest.err; then
1843 +    grep -v '^ *+' conftest.err >conftest.er1
1844 +    cat conftest.er1 >&5
1845 +    mv -f conftest.er1 conftest.err
1846 +  fi
1847 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848 +  test $ac_status = 0; } >/dev/null && {
1849 +         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1850 +         test ! -s conftest.err
1851 +       }; then :
1852 +  ac_retval=0
1853 + else
1854 +  $as_echo "$as_me: failed program was:" >&5
1855 + sed 's/^/| /' conftest.$ac_ext >&5
1856 +
1857 +    ac_retval=1
1858 + fi
1859 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1860 +  as_fn_set_status $ac_retval
1861 +
1862 + } # ac_fn_c_try_cpp
1863 +
1864 + # ac_fn_c_try_run LINENO
1865 + # ----------------------
1866 + # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 + # that executables *can* be run.
1868 + ac_fn_c_try_run ()
1869 + {
1870 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 +  if { { ac_try="$ac_link"
1872 + case "(($ac_try" in
1873 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874 +  *) ac_try_echo=$ac_try;;
1875 + esac
1876 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 + $as_echo "$ac_try_echo"; } >&5
1878 +  (eval "$ac_link") 2>&5
1879 +  ac_status=$?
1880 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 +  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882 +  { { case "(($ac_try" in
1883 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 +  *) ac_try_echo=$ac_try;;
1885 + esac
1886 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 + $as_echo "$ac_try_echo"; } >&5
1888 +  (eval "$ac_try") 2>&5
1889 +  ac_status=$?
1890 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 +  test $ac_status = 0; }; }; then :
1892 +  ac_retval=0
1893 + else
1894 +  $as_echo "$as_me: program exited with status $ac_status" >&5
1895 +       $as_echo "$as_me: failed program was:" >&5
1896 + sed 's/^/| /' conftest.$ac_ext >&5
1897 +
1898 +       ac_retval=$ac_status
1899 + fi
1900 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 +  as_fn_set_status $ac_retval
1903 +
1904 + } # ac_fn_c_try_run
1905 +
1906 + # ac_fn_c_check_func LINENO FUNC VAR
1907 + # ----------------------------------
1908 + # Tests whether FUNC exists, setting the cache variable VAR accordingly
1909 + ac_fn_c_check_func ()
1910 + {
1911 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 + $as_echo_n "checking for $2... " >&6; }
1914 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915 +  $as_echo_n "(cached) " >&6
1916 + else
1917 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 + /* end confdefs.h.  */
1919 + /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1920 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1921 + #define $2 innocuous_$2
1922 +
1923 + /* System header to define __stub macros and hopefully few prototypes,
1924 +    which can conflict with char $2 (); below.
1925 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1926 +    <limits.h> exists even on freestanding compilers.  */
1927 +
1928 + #ifdef __STDC__
1929 + # include <limits.h>
1930 + #else
1931 + # include <assert.h>
1932 + #endif
1933 +
1934 + #undef $2
1935 +
1936 + /* Override any GCC internal prototype to avoid an error.
1937 +   Use char because int might match the return type of a GCC
1938 +   builtin and then its argument prototype would still apply.  */
1939 + #ifdef __cplusplus
1940 + extern "C"
1941 + #endif
1942 + char $2 ();
1943 + /* The GNU C library defines this for functions which it implements
1944 +    to always fail with ENOSYS.  Some functions are actually named
1945 +    something starting with __ and the normal name is an alias.  */
1946 + #if defined __stub_$2 || defined __stub___$2
1947 + choke me
1948 + #endif
1949 +
1950 + int
1951 + main ()
1952 + {
1953 + return $2 ();
1954 +  ;
1955 +  return 0;
1956 + }
1957 + _ACEOF
1958 + if ac_fn_c_try_link "$LINENO"; then :
1959 +  eval "$3=yes"
1960 + else
1961 +  eval "$3=no"
1962 + fi
1963 + rm -f core conftest.err conftest.$ac_objext \
1964 +    conftest$ac_exeext conftest.$ac_ext
1965 + fi
1966 + eval ac_res=\$$3
1967 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1968 + $as_echo "$ac_res" >&6; }
1969 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1970 +
1971 + } # ac_fn_c_check_func
1972 +
1973 + # ac_fn_c_check_decl LINENO SYMBOL VAR
1974 + # ------------------------------------
1975 + # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1976 + ac_fn_c_check_decl ()
1977 + {
1978 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1980 + $as_echo_n "checking whether $2 is declared... " >&6; }
1981 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1982 +  $as_echo_n "(cached) " >&6
1983 + else
1984 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985 + /* end confdefs.h.  */
1986 + $4
1987 + int
1988 + main ()
1989 + {
1990 + #ifndef $2
1991 +  (void) $2;
1992 + #endif
1993 +
1994 +  ;
1995 +  return 0;
1996 + }
1997 + _ACEOF
1998 + if ac_fn_c_try_compile "$LINENO"; then :
1999 +  eval "$3=yes"
2000 + else
2001 +  eval "$3=no"
2002 + fi
2003 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2004 + fi
2005 + eval ac_res=\$$3
2006 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2007 + $as_echo "$ac_res" >&6; }
2008 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009 +
2010 + } # ac_fn_c_check_decl
2011 +
2012 + # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2013 + # -------------------------------------------
2014 + # Tests whether TYPE exists after having included INCLUDES, setting cache
2015 + # variable VAR accordingly.
2016 + ac_fn_c_check_type ()
2017 + {
2018 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2020 + $as_echo_n "checking for $2... " >&6; }
2021 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2022 +  $as_echo_n "(cached) " >&6
2023 + else
2024 +  eval "$3=no"
2025 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2026 + /* end confdefs.h.  */
2027 + $4
2028 + int
2029 + main ()
2030 + {
2031 + if (sizeof ($2))
2032 +         return 0;
2033 +  ;
2034 +  return 0;
2035 + }
2036 + _ACEOF
2037 + if ac_fn_c_try_compile "$LINENO"; then :
2038 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2039 + /* end confdefs.h.  */
2040 + $4
2041 + int
2042 + main ()
2043 + {
2044 + if (sizeof (($2)))
2045 +            return 0;
2046 +  ;
2047 +  return 0;
2048 + }
2049 + _ACEOF
2050 + if ac_fn_c_try_compile "$LINENO"; then :
2051 +
2052 + else
2053 +  eval "$3=yes"
2054 + fi
2055 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2056 + fi
2057 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2058 + fi
2059 + eval ac_res=\$$3
2060 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 + $as_echo "$ac_res" >&6; }
2062 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2063 +
2064 + } # ac_fn_c_check_type
2065 +
2066 + # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2067 + # ----------------------------------------------------
2068 + # Tries to find if the field MEMBER exists in type AGGR, after including
2069 + # INCLUDES, setting cache variable VAR accordingly.
2070 + ac_fn_c_check_member ()
2071 + {
2072 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2073 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2074 + $as_echo_n "checking for $2.$3... " >&6; }
2075 + if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2076 +  $as_echo_n "(cached) " >&6
2077 + else
2078 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 + /* end confdefs.h.  */
2080 + $5
2081 + int
2082 + main ()
2083 + {
2084 + static $2 ac_aggr;
2085 + if (ac_aggr.$3)
2086 + return 0;
2087 +  ;
2088 +  return 0;
2089 + }
2090 + _ACEOF
2091 + if ac_fn_c_try_compile "$LINENO"; then :
2092 +  eval "$4=yes"
2093 + else
2094 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 + /* end confdefs.h.  */
2096 + $5
2097 + int
2098 + main ()
2099 + {
2100 + static $2 ac_aggr;
2101 + if (sizeof ac_aggr.$3)
2102 + return 0;
2103 +  ;
2104 +  return 0;
2105 + }
2106 + _ACEOF
2107 + if ac_fn_c_try_compile "$LINENO"; then :
2108 +  eval "$4=yes"
2109 + else
2110 +  eval "$4=no"
2111 + fi
2112 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 + fi
2114 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 + fi
2116 + eval ac_res=\$$4
2117 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 + $as_echo "$ac_res" >&6; }
2119 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2120 +
2121 + } # ac_fn_c_check_member
2122 +
2123 + # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2124 + # -------------------------------------------------------
2125 + # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2126 + # the include files in INCLUDES and setting the cache variable VAR
2127 + # accordingly.
2128 + ac_fn_c_check_header_mongrel ()
2129 + {
2130 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2131 +  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2132 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2133 + $as_echo_n "checking for $2... " >&6; }
2134 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2135 +  $as_echo_n "(cached) " >&6
2136 + fi
2137 + eval ac_res=\$$3
2138 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2139 + $as_echo "$ac_res" >&6; }
2140 + else
2141 +  # Is the header compilable?
2142 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2143 + $as_echo_n "checking $2 usability... " >&6; }
2144 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2145 + /* end confdefs.h.  */
2146 + $4
2147 + #include <$2>
2148 + _ACEOF
2149 + if ac_fn_c_try_compile "$LINENO"; then :
2150 +  ac_header_compiler=yes
2151 + else
2152 +  ac_header_compiler=no
2153 + fi
2154 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2155 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2156 + $as_echo "$ac_header_compiler" >&6; }
2157 +
2158 + # Is the header present?
2159 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2160 + $as_echo_n "checking $2 presence... " >&6; }
2161 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2162 + /* end confdefs.h.  */
2163 + #include <$2>
2164 + _ACEOF
2165 + if ac_fn_c_try_cpp "$LINENO"; then :
2166 +  ac_header_preproc=yes
2167 + else
2168 +  ac_header_preproc=no
2169 + fi
2170 + rm -f conftest.err conftest.$ac_ext
2171 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2172 + $as_echo "$ac_header_preproc" >&6; }
2173 +
2174 + # So?  What about this header?
2175 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2176 +  yes:no: )
2177 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2178 + $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2179 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2180 + $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2181 +    ;;
2182 +  no:yes:* )
2183 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2184 + $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2185 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2186 + $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2187 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2188 + $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2189 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2190 + $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2191 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2192 + $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2193 + ( cat <<\_ASBOX
2194 + ## ----------------------------------- ##
2195 + ## Report this to bugs@ircd-hybrid.org ##
2196 + ## ----------------------------------- ##
2197 + _ASBOX
2198 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2199 +    ;;
2200 + esac
2201 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2202 + $as_echo_n "checking for $2... " >&6; }
2203 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2204 +  $as_echo_n "(cached) " >&6
2205 + else
2206 +  eval "$3=\$ac_header_compiler"
2207 + fi
2208 + eval ac_res=\$$3
2209 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2210 + $as_echo "$ac_res" >&6; }
2211 + fi
2212 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2213 +
2214 + } # ac_fn_c_check_header_mongrel
2215   cat >config.log <<_ACEOF
2216   This file contains any messages produced by compilers while
2217   running configure, to aid debugging if configure makes a mistake.
2218  
2219 < It was created by ircd-hybrid $as_me 7.2.4, which was
2220 < generated by GNU Autoconf 2.63.  Invocation command line was
2219 > It was created by ircd-hybrid $as_me 7.3-rc1, which was
2220 > generated by GNU Autoconf 2.65.  Invocation command line was
2221  
2222    $ $0 $@
2223  
# Line 1791 | Line 2253 | for as_dir in $PATH
2253   do
2254    IFS=$as_save_IFS
2255    test -z "$as_dir" && as_dir=.
2256 <  $as_echo "PATH: $as_dir"
2257 < done
2256 >    $as_echo "PATH: $as_dir"
2257 >  done
2258   IFS=$as_save_IFS
2259  
2260   } >&5
# Line 1829 | Line 2291 | do
2291        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2292      esac
2293      case $ac_pass in
2294 <    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2294 >    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2295      2)
2296 <      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2296 >      as_fn_append ac_configure_args1 " '$ac_arg'"
2297        if test $ac_must_keep_next = true; then
2298          ac_must_keep_next=false # Got value, back to normal.
2299        else
# Line 1847 | Line 2309 | do
2309            -* ) ac_must_keep_next=true ;;
2310          esac
2311        fi
2312 <      ac_configure_args="$ac_configure_args '$ac_arg'"
2312 >      as_fn_append ac_configure_args " '$ac_arg'"
2313        ;;
2314      esac
2315    done
2316   done
2317 < $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2318 < $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2317 > { ac_configure_args0=; unset ac_configure_args0;}
2318 > { ac_configure_args1=; unset ac_configure_args1;}
2319  
2320   # When interrupted or exit'd, cleanup temporary files, and complete
2321   # config.log.  We remove comments because anyway the quotes in there
# Line 1878 | Line 2340 | _ASBOX
2340      case $ac_val in #(
2341      *${as_nl}*)
2342        case $ac_var in #(
2343 <      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2343 >      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2344   $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2345        esac
2346        case $ac_var in #(
2347        _ | IFS | as_nl) ;; #(
2348        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2349 <      *) $as_unset $ac_var ;;
2349 >      *) { eval $ac_var=; unset $ac_var;} ;;
2350        esac ;;
2351      esac
2352    done
# Line 1956 | Line 2418 | _ASBOX
2418      exit $exit_status
2419   ' 0
2420   for ac_signal in 1 2 13 15; do
2421 <  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2421 >  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2422   done
2423   ac_signal=0
2424  
2425   # confdefs.h avoids OS command line length limits that DEFS can exceed.
2426   rm -f -r conftest* confdefs.h
2427  
2428 + $as_echo "/* confdefs.h */" > confdefs.h
2429 +
2430   # Predefined preprocessor variables.
2431  
2432   cat >>confdefs.h <<_ACEOF
2433   #define PACKAGE_NAME "$PACKAGE_NAME"
2434   _ACEOF
2435  
1972
2436   cat >>confdefs.h <<_ACEOF
2437   #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2438   _ACEOF
2439  
1977
2440   cat >>confdefs.h <<_ACEOF
2441   #define PACKAGE_VERSION "$PACKAGE_VERSION"
2442   _ACEOF
2443  
1982
2444   cat >>confdefs.h <<_ACEOF
2445   #define PACKAGE_STRING "$PACKAGE_STRING"
2446   _ACEOF
2447  
1987
2448   cat >>confdefs.h <<_ACEOF
2449   #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2450   _ACEOF
2451  
2452 + cat >>confdefs.h <<_ACEOF
2453 + #define PACKAGE_URL "$PACKAGE_URL"
2454 + _ACEOF
2455 +
2456  
2457   # Let the site file select an alternate cache file if it wants to.
2458   # Prefer an explicitly selected file to automatically selected ones.
# Line 2006 | Line 2470 | fi
2470   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2471   do
2472    test "x$ac_site_file" = xNONE && continue
2473 <  if test -r "$ac_site_file"; then
2474 <    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2473 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2474 >    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2475   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2476      sed 's/^/| /' "$ac_site_file" >&5
2477      . "$ac_site_file"
# Line 2015 | Line 2479 | $as_echo "$as_me: loading site script $a
2479   done
2480  
2481   if test -r "$cache_file"; then
2482 <  # Some versions of bash will fail to source /dev/null (special
2483 <  # files actually), so we avoid doing that.
2484 <  if test -f "$cache_file"; then
2485 <    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2482 >  # Some versions of bash will fail to source /dev/null (special files
2483 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2484 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2485 >    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2486   $as_echo "$as_me: loading cache $cache_file" >&6;}
2487      case $cache_file in
2488        [\\/]* | ?:[\\/]* ) . "$cache_file";;
# Line 2026 | Line 2490 | $as_echo "$as_me: loading cache $cache_f
2490      esac
2491    fi
2492   else
2493 <  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2493 >  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2494   $as_echo "$as_me: creating cache $cache_file" >&6;}
2495    >$cache_file
2496   fi
2497  
2498 < ac_func_list="$ac_func_list snprintf"
2499 < ac_func_list="$ac_func_list vsnprintf"
2500 < ac_func_list="$ac_func_list lrand48"
2501 < ac_func_list="$ac_func_list srand48"
2502 < ac_func_list="$ac_func_list mmap"
2503 < ac_func_list="$ac_func_list strtok_r"
2504 < ac_func_list="$ac_func_list usleep"
2505 < ac_func_list="$ac_func_list strlcat"
2506 < ac_func_list="$ac_func_list strlcpy"
2507 < ac_func_list="$ac_func_list basename"
2508 < ac_header_list="$ac_header_list crypt.h"
2509 < ac_header_list="$ac_header_list inttypes.h"
2510 < ac_header_list="$ac_header_list stdint.h"
2511 < ac_header_list="$ac_header_list sys/resource.h"
2512 < ac_header_list="$ac_header_list sys/param.h"
2513 < ac_header_list="$ac_header_list errno.h"
2514 < ac_header_list="$ac_header_list sys/syslog.h"
2051 < ac_header_list="$ac_header_list stddef.h"
2052 < ac_header_list="$ac_header_list libgen.h"
2053 < ac_header_list="$ac_header_list types.h"
2054 < ac_header_list="$ac_header_list socket.h"
2055 < ac_header_list="$ac_header_list sys/wait.h"
2056 < ac_header_list="$ac_header_list wait.h"
2057 < ac_header_list="$ac_header_list link.h"
2498 > as_fn_append ac_func_list " mmap"
2499 > as_fn_append ac_func_list " strtok_r"
2500 > as_fn_append ac_func_list " usleep"
2501 > as_fn_append ac_func_list " strlcat"
2502 > as_fn_append ac_func_list " strlcpy"
2503 > as_fn_append ac_header_list " crypt.h"
2504 > as_fn_append ac_header_list " inttypes.h"
2505 > as_fn_append ac_header_list " stdint.h"
2506 > as_fn_append ac_header_list " sys/resource.h"
2507 > as_fn_append ac_header_list " sys/param.h"
2508 > as_fn_append ac_header_list " errno.h"
2509 > as_fn_append ac_header_list " sys/syslog.h"
2510 > as_fn_append ac_header_list " types.h"
2511 > as_fn_append ac_header_list " socket.h"
2512 > as_fn_append ac_header_list " sys/wait.h"
2513 > as_fn_append ac_header_list " wait.h"
2514 > as_fn_append ac_header_list " link.h"
2515   # Check that the precious variables saved in the cache have kept the same
2516   # value.
2517   ac_cache_corrupted=false
# Line 2065 | Line 2522 | for ac_var in $ac_precious_vars; do
2522    eval ac_new_val=\$ac_env_${ac_var}_value
2523    case $ac_old_set,$ac_new_set in
2524      set,)
2525 <      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2525 >      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2526   $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2527        ac_cache_corrupted=: ;;
2528      ,set)
2529 <      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2529 >      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2530   $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2531        ac_cache_corrupted=: ;;
2532      ,);;
# Line 2079 | Line 2536 | $as_echo "$as_me: error: \`$ac_var' was
2536          ac_old_val_w=`echo x $ac_old_val`
2537          ac_new_val_w=`echo x $ac_new_val`
2538          if test "$ac_old_val_w" != "$ac_new_val_w"; then
2539 <          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2539 >          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2540   $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2541            ac_cache_corrupted=:
2542          else
2543 <          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2543 >          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2544   $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2545            eval $ac_var=\$ac_old_val
2546          fi
2547 <        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2547 >        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2548   $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2549 <        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2549 >        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2550   $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2551        fi;;
2552    esac
# Line 2101 | Line 2558 | $as_echo "$as_me:   current value: \`$ac
2558      esac
2559      case " $ac_configure_args " in
2560        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2561 <      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2561 >      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2562      esac
2563    fi
2564   done
2565   if $ac_cache_corrupted; then
2566 <  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2566 >  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2567   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2568 <  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2568 >  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2569   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2570 <  { { $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; }; }
2570 >  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2571   fi
2572 <
2573 <
2574 <
2120 <
2121 <
2122 <
2123 <
2124 <
2125 <
2126 <
2127 <
2128 <
2129 <
2130 <
2131 <
2132 <
2133 <
2134 <
2135 <
2136 <
2137 <
2138 <
2139 <
2140 <
2572 > ## -------------------- ##
2573 > ## Main body of script. ##
2574 > ## -------------------- ##
2575  
2576   ac_ext=c
2577   ac_cpp='$CPP $CPPFLAGS'
# Line 2150 | Line 2584 | am__api_version='1.11'
2584  
2585   ac_aux_dir=
2586   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2587 <  if test -f "$ac_dir/install-sh"; then
2588 <    ac_aux_dir=$ac_dir
2589 <    ac_install_sh="$ac_aux_dir/install-sh -c"
2590 <    break
2591 <  elif test -f "$ac_dir/install.sh"; then
2592 <    ac_aux_dir=$ac_dir
2593 <    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
2587 >  for ac_t in install-sh install.sh shtool; do
2588 >    if test -f "$ac_dir/$ac_t"; then
2589 >      ac_aux_dir=$ac_dir
2590 >      ac_install_sh="$ac_aux_dir/$ac_t -c"
2591 >      break 2
2592 >    fi
2593 >  done
2594   done
2595   if test -z "$ac_aux_dir"; then
2596 <  { { $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; }; }
2596 >  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2597   fi
2598  
2599   # These three variables are undocumented and unsupported,
# Line 2193 | Line 2619 | ac_configure="$SHELL $ac_aux_dir/configu
2619   # OS/2's system install, which has a completely different semantic
2620   # ./install, which can be erroneously created by make from ./install.sh.
2621   # Reject install programs that cannot install multiple files.
2622 < { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2622 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2623   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2624   if test -z "$INSTALL"; then
2625 < if test "${ac_cv_path_install+set}" = set; then
2625 > if test "${ac_cv_path_install+set}" = set; then :
2626    $as_echo_n "(cached) " >&6
2627   else
2628    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2204 | Line 2630 | for as_dir in $PATH
2630   do
2631    IFS=$as_save_IFS
2632    test -z "$as_dir" && as_dir=.
2633 <  # Account for people who put trailing slashes in PATH elements.
2634 < case $as_dir/ in
2635 <  ./ | .// | /cC/* | \
2633 >    # Account for people who put trailing slashes in PATH elements.
2634 > case $as_dir/ in #((
2635 >  ./ | .// | /[cC]/* | \
2636    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2637 <  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2637 >  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2638    /usr/ucb/* ) ;;
2639    *)
2640      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 2245 | Line 2671 | case $as_dir/ in
2671      ;;
2672   esac
2673  
2674 < done
2674 >  done
2675   IFS=$as_save_IFS
2676  
2677   rm -rf conftest.one conftest.two conftest.dir
# Line 2261 | Line 2687 | fi
2687      INSTALL=$ac_install_sh
2688    fi
2689   fi
2690 < { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2690 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2691   $as_echo "$INSTALL" >&6; }
2692  
2693   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 2272 | Line 2698 | test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2698  
2699   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2700  
2701 < { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2701 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2702   $as_echo_n "checking whether build environment is sane... " >&6; }
2703   # Just in case
2704   sleep 1
# Line 2283 | Line 2709 | am_lf='
2709   '
2710   case `pwd` in
2711    *[\\\"\#\$\&\'\`$am_lf]*)
2712 <    { { $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; }; };;
2712 >    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2713   esac
2714   case $srcdir in
2715    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2716 <    { { $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; }; };;
2716 >    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2717   esac
2718  
2719   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2313 | Line 2735 | if (
2735        # if, for instance, CONFIG_SHELL is bash and it inherits a
2736        # broken ls alias from the environment.  This has actually
2737        # happened.  Such a system could not be considered "sane".
2738 <      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2739 < 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; }; }
2738 >      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2739 > alias in your environment" "$LINENO" 5
2740     fi
2741  
2742     test "$2" = conftest.file
# Line 2326 | Line 2745 | then
2745     # Ok.
2746     :
2747   else
2748 <   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2749 < 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; }; }
2748 >   as_fn_error "newly created file is older than distributed files!
2749 > Check your system clock" "$LINENO" 5
2750   fi
2751 < { $as_echo "$as_me:$LINENO: result: yes" >&5
2751 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2752   $as_echo "yes" >&6; }
2753   test "$program_prefix" != NONE &&
2754    program_transform_name="s&^&$program_prefix&;$program_transform_name"
# Line 2360 | Line 2776 | if eval "$MISSING --run true"; then
2776    am_missing_run="$MISSING --run "
2777   else
2778    am_missing_run=
2779 <  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2779 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2780   $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2781   fi
2782  
# Line 2381 | Line 2797 | if test "$cross_compiling" != no; then
2797    if test -n "$ac_tool_prefix"; then
2798    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2799   set dummy ${ac_tool_prefix}strip; ac_word=$2
2800 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2800 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801   $as_echo_n "checking for $ac_word... " >&6; }
2802 < if test "${ac_cv_prog_STRIP+set}" = set; then
2802 > if test "${ac_cv_prog_STRIP+set}" = set; then :
2803    $as_echo_n "(cached) " >&6
2804   else
2805    if test -n "$STRIP"; then
# Line 2394 | Line 2810 | for as_dir in $PATH
2810   do
2811    IFS=$as_save_IFS
2812    test -z "$as_dir" && as_dir=.
2813 <  for ac_exec_ext in '' $ac_executable_extensions; do
2813 >    for ac_exec_ext in '' $ac_executable_extensions; do
2814    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2816 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2817      break 2
2818    fi
2819   done
2820 < done
2820 >  done
2821   IFS=$as_save_IFS
2822  
2823   fi
2824   fi
2825   STRIP=$ac_cv_prog_STRIP
2826   if test -n "$STRIP"; then
2827 <  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2827 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2828   $as_echo "$STRIP" >&6; }
2829   else
2830 <  { $as_echo "$as_me:$LINENO: result: no" >&5
2830 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831   $as_echo "no" >&6; }
2832   fi
2833  
# Line 2421 | Line 2837 | if test -z "$ac_cv_prog_STRIP"; then
2837    ac_ct_STRIP=$STRIP
2838    # Extract the first word of "strip", so it can be a program name with args.
2839   set dummy strip; ac_word=$2
2840 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2840 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2841   $as_echo_n "checking for $ac_word... " >&6; }
2842 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2842 > if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2843    $as_echo_n "(cached) " >&6
2844   else
2845    if test -n "$ac_ct_STRIP"; then
# Line 2434 | Line 2850 | for as_dir in $PATH
2850   do
2851    IFS=$as_save_IFS
2852    test -z "$as_dir" && as_dir=.
2853 <  for ac_exec_ext in '' $ac_executable_extensions; do
2853 >    for ac_exec_ext in '' $ac_executable_extensions; do
2854    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2855      ac_cv_prog_ac_ct_STRIP="strip"
2856 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2856 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2857      break 2
2858    fi
2859   done
2860 < done
2860 >  done
2861   IFS=$as_save_IFS
2862  
2863   fi
2864   fi
2865   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2866   if test -n "$ac_ct_STRIP"; then
2867 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2867 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2868   $as_echo "$ac_ct_STRIP" >&6; }
2869   else
2870 <  { $as_echo "$as_me:$LINENO: result: no" >&5
2870 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2871   $as_echo "no" >&6; }
2872   fi
2873  
# Line 2460 | Line 2876 | fi
2876    else
2877      case $cross_compiling:$ac_tool_warned in
2878   yes:)
2879 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2879 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2880   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2881   ac_tool_warned=yes ;;
2882   esac
# Line 2473 | Line 2889 | fi
2889   fi
2890   INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2891  
2892 < { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2892 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2893   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2894   if test -z "$MKDIR_P"; then
2895 <  if test "${ac_cv_path_mkdir+set}" = set; then
2895 >  if test "${ac_cv_path_mkdir+set}" = set; then :
2896    $as_echo_n "(cached) " >&6
2897   else
2898    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2484 | Line 2900 | for as_dir in $PATH$PATH_SEPARATOR/opt/s
2900   do
2901    IFS=$as_save_IFS
2902    test -z "$as_dir" && as_dir=.
2903 <  for ac_prog in mkdir gmkdir; do
2903 >    for ac_prog in mkdir gmkdir; do
2904           for ac_exec_ext in '' $ac_executable_extensions; do
2905             { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2906             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
# Line 2496 | Line 2912 | do
2912             esac
2913           done
2914         done
2915 < done
2915 >  done
2916   IFS=$as_save_IFS
2917  
2918   fi
2919  
2920 +  test -d ./--version && rmdir ./--version
2921    if test "${ac_cv_path_mkdir+set}" = set; then
2922      MKDIR_P="$ac_cv_path_mkdir -p"
2923    else
# Line 2508 | Line 2925 | fi
2925      # value for MKDIR_P within a source directory, because that will
2926      # break other packages using the cache if that directory is
2927      # removed, or if the value is a relative name.
2511    test -d ./--version && rmdir ./--version
2928      MKDIR_P="$ac_install_sh -d"
2929    fi
2930   fi
2931 < { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2931 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2932   $as_echo "$MKDIR_P" >&6; }
2933  
2934   mkdir_p="$MKDIR_P"
# Line 2525 | Line 2941 | for ac_prog in gawk mawk nawk awk
2941   do
2942    # Extract the first word of "$ac_prog", so it can be a program name with args.
2943   set dummy $ac_prog; ac_word=$2
2944 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2944 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945   $as_echo_n "checking for $ac_word... " >&6; }
2946 < if test "${ac_cv_prog_AWK+set}" = set; then
2946 > if test "${ac_cv_prog_AWK+set}" = set; then :
2947    $as_echo_n "(cached) " >&6
2948   else
2949    if test -n "$AWK"; then
# Line 2538 | Line 2954 | for as_dir in $PATH
2954   do
2955    IFS=$as_save_IFS
2956    test -z "$as_dir" && as_dir=.
2957 <  for ac_exec_ext in '' $ac_executable_extensions; do
2957 >    for ac_exec_ext in '' $ac_executable_extensions; do
2958    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959      ac_cv_prog_AWK="$ac_prog"
2960 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961      break 2
2962    fi
2963   done
2964 < done
2964 >  done
2965   IFS=$as_save_IFS
2966  
2967   fi
2968   fi
2969   AWK=$ac_cv_prog_AWK
2970   if test -n "$AWK"; then
2971 <  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2971 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2972   $as_echo "$AWK" >&6; }
2973   else
2974 <  { $as_echo "$as_me:$LINENO: result: no" >&5
2974 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975   $as_echo "no" >&6; }
2976   fi
2977  
# Line 2563 | Line 2979 | fi
2979    test -n "$AWK" && break
2980   done
2981  
2982 < { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2982 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2983   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2984   set x ${MAKE-make}
2985   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2986 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2986 > if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2987    $as_echo_n "(cached) " >&6
2988   else
2989    cat >conftest.make <<\_ACEOF
# Line 2585 | Line 3001 | esac
3001   rm -f conftest.make
3002   fi
3003   if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3004 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
3004 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3005   $as_echo "yes" >&6; }
3006    SET_MAKE=
3007   else
3008 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3008 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009   $as_echo "no" >&6; }
3010    SET_MAKE="MAKE=${MAKE-make}"
3011   fi
# Line 2609 | Line 3025 | if test "`cd $srcdir && pwd`" != "`pwd`"
3025    am__isrc=' -I$(srcdir)'
3026    # test to see if srcdir already configured
3027    if test -f $srcdir/config.status; then
3028 <    { { $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; }; }
3028 >    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3029    fi
3030   fi
3031  
# Line 2627 | Line 3041 | fi
3041  
3042   # Define the identity of the package.
3043   PACKAGE='ircd-hybrid'
3044 < VERSION='7.2.4'
3044 > VERSION='7.3-rc1'
3045  
3046  
3047   cat >>confdefs.h <<_ACEOF
# Line 2668 | Line 3082 | am__tar='${AMTAR} chof - "$$tardir"'; am
3082  
3083  
3084  
3085 < { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3085 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3086   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3087      # Check whether --enable-maintainer-mode was given.
3088 < if test "${enable_maintainer_mode+set}" = set; then
3088 > if test "${enable_maintainer_mode+set}" = set; then :
3089    enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3090   else
3091    USE_MAINTAINER_MODE=no
3092   fi
3093  
3094 <  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3094 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3095   $as_echo "$USE_MAINTAINER_MODE" >&6; }
3096     if test $USE_MAINTAINER_MODE = yes; then
3097    MAINTAINER_MODE_TRUE=
# Line 2694 | Line 3108 | ac_config_headers="$ac_config_headers co
3108  
3109  
3110  
2697
3111   # Checks for programs.
3112 + DEPDIR="${am__leading_dot}deps"
3113 +
3114 + ac_config_commands="$ac_config_commands depfiles"
3115 +
3116 +
3117 + am_make=${MAKE-make}
3118 + cat > confinc << 'END'
3119 + am__doit:
3120 +        @echo this is the am__doit target
3121 + .PHONY: am__doit
3122 + END
3123 + # If we don't find an include directive, just comment out the code.
3124 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3125 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3126 + am__include="#"
3127 + am__quote=
3128 + _am_result=none
3129 + # First try GNU make style include.
3130 + echo "include confinc" > confmf
3131 + # Ignore all kinds of additional output from `make'.
3132 + case `$am_make -s -f confmf 2> /dev/null` in #(
3133 + *the\ am__doit\ target*)
3134 +  am__include=include
3135 +  am__quote=
3136 +  _am_result=GNU
3137 +  ;;
3138 + esac
3139 + # Now try BSD make style include.
3140 + if test "$am__include" = "#"; then
3141 +   echo '.include "confinc"' > confmf
3142 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3143 +   *the\ am__doit\ target*)
3144 +     am__include=.include
3145 +     am__quote="\""
3146 +     _am_result=BSD
3147 +     ;;
3148 +   esac
3149 + fi
3150 +
3151 +
3152 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3153 + $as_echo "$_am_result" >&6; }
3154 + rm -f confinc confmf
3155 +
3156 + # Check whether --enable-dependency-tracking was given.
3157 + if test "${enable_dependency_tracking+set}" = set; then :
3158 +  enableval=$enable_dependency_tracking;
3159 + fi
3160 +
3161 + if test "x$enable_dependency_tracking" != xno; then
3162 +  am_depcomp="$ac_aux_dir/depcomp"
3163 +  AMDEPBACKSLASH='\'
3164 + fi
3165 + if test "x$enable_dependency_tracking" != xno; then
3166 +  AMDEP_TRUE=
3167 +  AMDEP_FALSE='#'
3168 + else
3169 +  AMDEP_TRUE='#'
3170 +  AMDEP_FALSE=
3171 + fi
3172 +
3173 +
3174   ac_ext=c
3175   ac_cpp='$CPP $CPPFLAGS'
3176   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2704 | Line 3179 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3179   if test -n "$ac_tool_prefix"; then
3180    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3181   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3182 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3182 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183   $as_echo_n "checking for $ac_word... " >&6; }
3184 < if test "${ac_cv_prog_CC+set}" = set; then
3184 > if test "${ac_cv_prog_CC+set}" = set; then :
3185    $as_echo_n "(cached) " >&6
3186   else
3187    if test -n "$CC"; then
# Line 2717 | Line 3192 | for as_dir in $PATH
3192   do
3193    IFS=$as_save_IFS
3194    test -z "$as_dir" && as_dir=.
3195 <  for ac_exec_ext in '' $ac_executable_extensions; do
3195 >    for ac_exec_ext in '' $ac_executable_extensions; do
3196    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3198 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199      break 2
3200    fi
3201   done
3202 < done
3202 >  done
3203   IFS=$as_save_IFS
3204  
3205   fi
3206   fi
3207   CC=$ac_cv_prog_CC
3208   if test -n "$CC"; then
3209 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3209 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3210   $as_echo "$CC" >&6; }
3211   else
3212 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3212 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213   $as_echo "no" >&6; }
3214   fi
3215  
# Line 2744 | Line 3219 | if test -z "$ac_cv_prog_CC"; then
3219    ac_ct_CC=$CC
3220    # Extract the first word of "gcc", so it can be a program name with args.
3221   set dummy gcc; ac_word=$2
3222 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3222 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223   $as_echo_n "checking for $ac_word... " >&6; }
3224 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3224 > if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3225    $as_echo_n "(cached) " >&6
3226   else
3227    if test -n "$ac_ct_CC"; then
# Line 2757 | Line 3232 | for as_dir in $PATH
3232   do
3233    IFS=$as_save_IFS
3234    test -z "$as_dir" && as_dir=.
3235 <  for ac_exec_ext in '' $ac_executable_extensions; do
3235 >    for ac_exec_ext in '' $ac_executable_extensions; do
3236    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3237      ac_cv_prog_ac_ct_CC="gcc"
3238 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239      break 2
3240    fi
3241   done
3242 < done
3242 >  done
3243   IFS=$as_save_IFS
3244  
3245   fi
3246   fi
3247   ac_ct_CC=$ac_cv_prog_ac_ct_CC
3248   if test -n "$ac_ct_CC"; then
3249 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3249 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3250   $as_echo "$ac_ct_CC" >&6; }
3251   else
3252 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3252 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253   $as_echo "no" >&6; }
3254   fi
3255  
# Line 2783 | Line 3258 | fi
3258    else
3259      case $cross_compiling:$ac_tool_warned in
3260   yes:)
3261 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3261 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3262   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3263   ac_tool_warned=yes ;;
3264   esac
# Line 2797 | Line 3272 | if test -z "$CC"; then
3272            if test -n "$ac_tool_prefix"; then
3273      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3274   set dummy ${ac_tool_prefix}cc; ac_word=$2
3275 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3275 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276   $as_echo_n "checking for $ac_word... " >&6; }
3277 < if test "${ac_cv_prog_CC+set}" = set; then
3277 > if test "${ac_cv_prog_CC+set}" = set; then :
3278    $as_echo_n "(cached) " >&6
3279   else
3280    if test -n "$CC"; then
# Line 2810 | Line 3285 | for as_dir in $PATH
3285   do
3286    IFS=$as_save_IFS
3287    test -z "$as_dir" && as_dir=.
3288 <  for ac_exec_ext in '' $ac_executable_extensions; do
3288 >    for ac_exec_ext in '' $ac_executable_extensions; do
3289    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290      ac_cv_prog_CC="${ac_tool_prefix}cc"
3291 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292      break 2
3293    fi
3294   done
3295 < done
3295 >  done
3296   IFS=$as_save_IFS
3297  
3298   fi
3299   fi
3300   CC=$ac_cv_prog_CC
3301   if test -n "$CC"; then
3302 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3302 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3303   $as_echo "$CC" >&6; }
3304   else
3305 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3305 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306   $as_echo "no" >&6; }
3307   fi
3308  
# Line 2837 | Line 3312 | fi
3312   if test -z "$CC"; then
3313    # Extract the first word of "cc", so it can be a program name with args.
3314   set dummy cc; ac_word=$2
3315 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3315 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316   $as_echo_n "checking for $ac_word... " >&6; }
3317 < if test "${ac_cv_prog_CC+set}" = set; then
3317 > if test "${ac_cv_prog_CC+set}" = set; then :
3318    $as_echo_n "(cached) " >&6
3319   else
3320    if test -n "$CC"; then
# Line 2851 | Line 3326 | for as_dir in $PATH
3326   do
3327    IFS=$as_save_IFS
3328    test -z "$as_dir" && as_dir=.
3329 <  for ac_exec_ext in '' $ac_executable_extensions; do
3329 >    for ac_exec_ext in '' $ac_executable_extensions; do
3330    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3331      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3332         ac_prog_rejected=yes
3333         continue
3334       fi
3335      ac_cv_prog_CC="cc"
3336 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3336 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337      break 2
3338    fi
3339   done
3340 < done
3340 >  done
3341   IFS=$as_save_IFS
3342  
3343   if test $ac_prog_rejected = yes; then
# Line 2881 | Line 3356 | fi
3356   fi
3357   CC=$ac_cv_prog_CC
3358   if test -n "$CC"; then
3359 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3359 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3360   $as_echo "$CC" >&6; }
3361   else
3362 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3362 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3363   $as_echo "no" >&6; }
3364   fi
3365  
# Line 2896 | Line 3371 | if test -z "$CC"; then
3371    do
3372      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3373   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3374 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3374 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375   $as_echo_n "checking for $ac_word... " >&6; }
3376 < if test "${ac_cv_prog_CC+set}" = set; then
3376 > if test "${ac_cv_prog_CC+set}" = set; then :
3377    $as_echo_n "(cached) " >&6
3378   else
3379    if test -n "$CC"; then
# Line 2909 | Line 3384 | for as_dir in $PATH
3384   do
3385    IFS=$as_save_IFS
3386    test -z "$as_dir" && as_dir=.
3387 <  for ac_exec_ext in '' $ac_executable_extensions; do
3387 >    for ac_exec_ext in '' $ac_executable_extensions; do
3388    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3389      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3390 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391      break 2
3392    fi
3393   done
3394 < done
3394 >  done
3395   IFS=$as_save_IFS
3396  
3397   fi
3398   fi
3399   CC=$ac_cv_prog_CC
3400   if test -n "$CC"; then
3401 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3401 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3402   $as_echo "$CC" >&6; }
3403   else
3404 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3404 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405   $as_echo "no" >&6; }
3406   fi
3407  
# Line 2940 | Line 3415 | if test -z "$CC"; then
3415   do
3416    # Extract the first word of "$ac_prog", so it can be a program name with args.
3417   set dummy $ac_prog; ac_word=$2
3418 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3418 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3419   $as_echo_n "checking for $ac_word... " >&6; }
3420 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3420 > if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3421    $as_echo_n "(cached) " >&6
3422   else
3423    if test -n "$ac_ct_CC"; then
# Line 2953 | Line 3428 | for as_dir in $PATH
3428   do
3429    IFS=$as_save_IFS
3430    test -z "$as_dir" && as_dir=.
3431 <  for ac_exec_ext in '' $ac_executable_extensions; do
3431 >    for ac_exec_ext in '' $ac_executable_extensions; do
3432    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433      ac_cv_prog_ac_ct_CC="$ac_prog"
3434 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3434 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3435      break 2
3436    fi
3437   done
3438 < done
3438 >  done
3439   IFS=$as_save_IFS
3440  
3441   fi
3442   fi
3443   ac_ct_CC=$ac_cv_prog_ac_ct_CC
3444   if test -n "$ac_ct_CC"; then
3445 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3445 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3446   $as_echo "$ac_ct_CC" >&6; }
3447   else
3448 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3448 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449   $as_echo "no" >&6; }
3450   fi
3451  
# Line 2983 | Line 3458 | done
3458    else
3459      case $cross_compiling:$ac_tool_warned in
3460   yes:)
3461 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3461 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3462   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3463   ac_tool_warned=yes ;;
3464   esac
# Line 2994 | Line 3469 | fi
3469   fi
3470  
3471  
3472 < test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3472 > test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3473   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3474 < { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3475 < 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; }; }; }
3474 > as_fn_error "no acceptable C compiler found in \$PATH
3475 > See \`config.log' for more details." "$LINENO" 5; }
3476  
3477   # Provide some information about the compiler.
3478 < $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3478 > $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3479   set X $ac_compile
3480   ac_compiler=$2
3481 < { (ac_try="$ac_compiler --version >&5"
3482 < 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"
3481 > for ac_option in --version -v -V -qversion; do
3482 >  { { ac_try="$ac_compiler $ac_option >&5"
3483   case "(($ac_try" in
3484    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485    *) ac_try_echo=$ac_try;;
3486   esac
3487 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3488 < $as_echo "$ac_try_echo") >&5
3489 <  (eval "$ac_compiler -v >&5") 2>&5
3487 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 > $as_echo "$ac_try_echo"; } >&5
3489 >  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3490    ac_status=$?
3491 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 <  (exit $ac_status); }
3493 < { (ac_try="$ac_compiler -V >&5"
3494 < case "(($ac_try" in
3495 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496 <  *) ac_try_echo=$ac_try;;
3497 < esac
3498 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3499 < $as_echo "$ac_try_echo") >&5
3500 <  (eval "$ac_compiler -V >&5") 2>&5
3039 <  ac_status=$?
3040 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 <  (exit $ac_status); }
3491 >  if test -s conftest.err; then
3492 >    sed '10a\
3493 > ... rest of stderr output deleted ...
3494 >         10q' conftest.err >conftest.er1
3495 >    cat conftest.er1 >&5
3496 >  fi
3497 >  rm -f conftest.er1 conftest.err
3498 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499 >  test $ac_status = 0; }
3500 > done
3501  
3502 < cat >conftest.$ac_ext <<_ACEOF
3044 < /* confdefs.h.  */
3045 < _ACEOF
3046 < cat confdefs.h >>conftest.$ac_ext
3047 < cat >>conftest.$ac_ext <<_ACEOF
3502 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503   /* end confdefs.h.  */
3504  
3505   int
# Line 3060 | Line 3515 | ac_clean_files="$ac_clean_files a.out a.
3515   # Try to create an executable without -o first, disregard a.out.
3516   # It will help us diagnose broken compilers, and finding out an intuition
3517   # of exeext.
3518 < { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3519 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3518 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3519 > $as_echo_n "checking whether the C compiler works... " >&6; }
3520   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3521  
3522   # The possible output files:
# Line 3077 | Line 3532 | do
3532   done
3533   rm -f $ac_rmfiles
3534  
3535 < if { (ac_try="$ac_link_default"
3535 > if { { ac_try="$ac_link_default"
3536   case "(($ac_try" in
3537    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3538    *) ac_try_echo=$ac_try;;
3539   esac
3540 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3541 < $as_echo "$ac_try_echo") >&5
3540 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3541 > $as_echo "$ac_try_echo"; } >&5
3542    (eval "$ac_link_default") 2>&5
3543    ac_status=$?
3544 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 <  (exit $ac_status); }; then
3544 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3545 >  test $ac_status = 0; }; then :
3546    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3547   # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3548   # in a Makefile.  We should not override ac_cv_exeext if it was cached,
# Line 3104 | Line 3559 | do
3559          # certainly right.
3560          break;;
3561      *.* )
3562 <        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3562 >        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3563          then :; else
3564             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3565          fi
# Line 3123 | Line 3578 | test "$ac_cv_exeext" = no && ac_cv_exeex
3578   else
3579    ac_file=''
3580   fi
3581 <
3582 < { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3583 < $as_echo "$ac_file" >&6; }
3584 < if test -z "$ac_file"; then
3130 <  $as_echo "$as_me: failed program was:" >&5
3581 > if test -z "$ac_file"; then :
3582 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 > $as_echo "no" >&6; }
3584 > $as_echo "$as_me: failed program was:" >&5
3585   sed 's/^/| /' conftest.$ac_ext >&5
3586  
3587 < { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3587 > { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3588   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3589 < { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3590 < See \`config.log' for more details." >&5
3591 < $as_echo "$as_me: error: C compiler cannot create executables
3592 < See \`config.log' for more details." >&2;}
3593 <   { (exit 77); exit 77; }; }; }
3589 > { as_fn_set_status 77
3590 > as_fn_error "C compiler cannot create executables
3591 > See \`config.log' for more details." "$LINENO" 5; }; }
3592 > else
3593 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3594 > $as_echo "yes" >&6; }
3595   fi
3596 <
3596 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3597 > $as_echo_n "checking for C compiler default output file name... " >&6; }
3598 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3599 > $as_echo "$ac_file" >&6; }
3600   ac_exeext=$ac_cv_exeext
3601  
3144 # Check that the compiler produces executables we can run.  If not, either
3145 # the compiler is broken, or we cross compile.
3146 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3147 $as_echo_n "checking whether the C compiler works... " >&6; }
3148 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3149 # If not cross compiling, check that we can run a simple program.
3150 if test "$cross_compiling" != yes; then
3151  if { ac_try='./$ac_file'
3152  { (case "(($ac_try" in
3153  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154  *) ac_try_echo=$ac_try;;
3155 esac
3156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3157 $as_echo "$ac_try_echo") >&5
3158  (eval "$ac_try") 2>&5
3159  ac_status=$?
3160  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161  (exit $ac_status); }; }; then
3162    cross_compiling=no
3163  else
3164    if test "$cross_compiling" = maybe; then
3165        cross_compiling=yes
3166    else
3167        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169 { { $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.
3173 If you meant to cross compile, use \`--host'.
3174 See \`config.log' for more details." >&2;}
3175   { (exit 1); exit 1; }; }; }
3176    fi
3177  fi
3178 fi
3179 { $as_echo "$as_me:$LINENO: result: yes" >&5
3180 $as_echo "yes" >&6; }
3181
3602   rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3603   ac_clean_files=$ac_clean_files_save
3604 < # Check that the compiler produces executables we can run.  If not, either
3185 < # the compiler is broken, or we cross compile.
3186 < { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3187 < $as_echo_n "checking whether we are cross compiling... " >&6; }
3188 < { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3189 < $as_echo "$cross_compiling" >&6; }
3190 <
3191 < { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3604 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3605   $as_echo_n "checking for suffix of executables... " >&6; }
3606 < if { (ac_try="$ac_link"
3606 > if { { ac_try="$ac_link"
3607   case "(($ac_try" in
3608    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609    *) ac_try_echo=$ac_try;;
3610   esac
3611 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3612 < $as_echo "$ac_try_echo") >&5
3611 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 > $as_echo "$ac_try_echo"; } >&5
3613    (eval "$ac_link") 2>&5
3614    ac_status=$?
3615 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616 <  (exit $ac_status); }; then
3615 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616 >  test $ac_status = 0; }; then :
3617    # If both `conftest.exe' and `conftest' are `present' (well, observable)
3618   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3619   # work properly (i.e., refer to `conftest.exe'), while it won't with
# Line 3215 | Line 3628 | for ac_file in conftest.exe conftest con
3628    esac
3629   done
3630   else
3631 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3631 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3633 < { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3634 < 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; }; }; }
3633 > as_fn_error "cannot compute suffix of executables: cannot compile and link
3634 > See \`config.log' for more details." "$LINENO" 5; }
3635   fi
3636 <
3637 < rm -f conftest$ac_cv_exeext
3228 < { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3636 > rm -f conftest conftest$ac_cv_exeext
3637 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3638   $as_echo "$ac_cv_exeext" >&6; }
3639  
3640   rm -f conftest.$ac_ext
3641   EXEEXT=$ac_cv_exeext
3642   ac_exeext=$EXEEXT
3643 < { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3643 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 > /* end confdefs.h.  */
3645 > #include <stdio.h>
3646 > int
3647 > main ()
3648 > {
3649 > FILE *f = fopen ("conftest.out", "w");
3650 > return ferror (f) || fclose (f) != 0;
3651 >
3652 >  ;
3653 >  return 0;
3654 > }
3655 > _ACEOF
3656 > ac_clean_files="$ac_clean_files conftest.out"
3657 > # Check that the compiler produces executables we can run.  If not, either
3658 > # the compiler is broken, or we cross compile.
3659 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3660 > $as_echo_n "checking whether we are cross compiling... " >&6; }
3661 > if test "$cross_compiling" != yes; then
3662 >  { { ac_try="$ac_link"
3663 > case "(($ac_try" in
3664 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3665 >  *) ac_try_echo=$ac_try;;
3666 > esac
3667 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3668 > $as_echo "$ac_try_echo"; } >&5
3669 >  (eval "$ac_link") 2>&5
3670 >  ac_status=$?
3671 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3672 >  test $ac_status = 0; }
3673 >  if { ac_try='./conftest$ac_cv_exeext'
3674 >  { { case "(($ac_try" in
3675 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3676 >  *) ac_try_echo=$ac_try;;
3677 > esac
3678 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3679 > $as_echo "$ac_try_echo"; } >&5
3680 >  (eval "$ac_try") 2>&5
3681 >  ac_status=$?
3682 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3683 >  test $ac_status = 0; }; }; then
3684 >    cross_compiling=no
3685 >  else
3686 >    if test "$cross_compiling" = maybe; then
3687 >        cross_compiling=yes
3688 >    else
3689 >        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691 > as_fn_error "cannot run C compiled programs.
3692 > If you meant to cross compile, use \`--host'.
3693 > See \`config.log' for more details." "$LINENO" 5; }
3694 >    fi
3695 >  fi
3696 > fi
3697 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3698 > $as_echo "$cross_compiling" >&6; }
3699 >
3700 > rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3701 > ac_clean_files=$ac_clean_files_save
3702 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3703   $as_echo_n "checking for suffix of object files... " >&6; }
3704 < if test "${ac_cv_objext+set}" = set; then
3704 > if test "${ac_cv_objext+set}" = set; then :
3705    $as_echo_n "(cached) " >&6
3706   else
3707 <  cat >conftest.$ac_ext <<_ACEOF
3240 < /* confdefs.h.  */
3241 < _ACEOF
3242 < cat confdefs.h >>conftest.$ac_ext
3243 < cat >>conftest.$ac_ext <<_ACEOF
3707 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708   /* end confdefs.h.  */
3709  
3710   int
# Line 3252 | Line 3716 | main ()
3716   }
3717   _ACEOF
3718   rm -f conftest.o conftest.obj
3719 < if { (ac_try="$ac_compile"
3719 > if { { ac_try="$ac_compile"
3720   case "(($ac_try" in
3721    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3722    *) ac_try_echo=$ac_try;;
3723   esac
3724 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3725 < $as_echo "$ac_try_echo") >&5
3724 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3725 > $as_echo "$ac_try_echo"; } >&5
3726    (eval "$ac_compile") 2>&5
3727    ac_status=$?
3728 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 <  (exit $ac_status); }; then
3728 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3729 >  test $ac_status = 0; }; then :
3730    for ac_file in conftest.o conftest.obj conftest.*; do
3731    test -f "$ac_file" || continue;
3732    case $ac_file in
# Line 3275 | Line 3739 | else
3739    $as_echo "$as_me: failed program was:" >&5
3740   sed 's/^/| /' conftest.$ac_ext >&5
3741  
3742 < { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3742 > { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3743   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3744 < { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3745 < 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; }; }; }
3744 > as_fn_error "cannot compute suffix of object files: cannot compile
3745 > See \`config.log' for more details." "$LINENO" 5; }
3746   fi
3286
3747   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3748   fi
3749 < { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3749 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3750   $as_echo "$ac_cv_objext" >&6; }
3751   OBJEXT=$ac_cv_objext
3752   ac_objext=$OBJEXT
3753 < { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3753 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3754   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3755 < if test "${ac_cv_c_compiler_gnu+set}" = set; then
3755 > if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3756    $as_echo_n "(cached) " >&6
3757   else
3758 <  cat >conftest.$ac_ext <<_ACEOF
3299 < /* confdefs.h.  */
3300 < _ACEOF
3301 < cat confdefs.h >>conftest.$ac_ext
3302 < cat >>conftest.$ac_ext <<_ACEOF
3758 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759   /* end confdefs.h.  */
3760  
3761   int
# Line 3313 | Line 3769 | main ()
3769    return 0;
3770   }
3771   _ACEOF
3772 < 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
3772 > if ac_fn_c_try_compile "$LINENO"; then :
3773    ac_compiler_gnu=yes
3774   else
3775 <  $as_echo "$as_me: failed program was:" >&5
3337 < sed 's/^/| /' conftest.$ac_ext >&5
3338 <
3339 <        ac_compiler_gnu=no
3775 >  ac_compiler_gnu=no
3776   fi
3341
3777   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3778   ac_cv_c_compiler_gnu=$ac_compiler_gnu
3779  
3780   fi
3781 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3781 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3782   $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3783   if test $ac_compiler_gnu = yes; then
3784    GCC=yes
# Line 3352 | Line 3787 | else
3787   fi
3788   ac_test_CFLAGS=${CFLAGS+set}
3789   ac_save_CFLAGS=$CFLAGS
3790 < { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3790 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3791   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3792 < if test "${ac_cv_prog_cc_g+set}" = set; then
3792 > if test "${ac_cv_prog_cc_g+set}" = set; then :
3793    $as_echo_n "(cached) " >&6
3794   else
3795    ac_save_c_werror_flag=$ac_c_werror_flag
3796     ac_c_werror_flag=yes
3797     ac_cv_prog_cc_g=no
3798     CFLAGS="-g"
3799 <   cat >conftest.$ac_ext <<_ACEOF
3365 < /* confdefs.h.  */
3366 < _ACEOF
3367 < cat confdefs.h >>conftest.$ac_ext
3368 < cat >>conftest.$ac_ext <<_ACEOF
3799 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800   /* end confdefs.h.  */
3801  
3802   int
# Line 3376 | Line 3807 | main ()
3807    return 0;
3808   }
3809   _ACEOF
3810 < 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
3810 > if ac_fn_c_try_compile "$LINENO"; then :
3811    ac_cv_prog_cc_g=yes
3812   else
3813 <  $as_echo "$as_me: failed program was:" >&5
3814 < 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
3813 >  CFLAGS=""
3814 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815   /* end confdefs.h.  */
3816  
3817   int
# Line 3415 | Line 3822 | main ()
3822    return 0;
3823   }
3824   _ACEOF
3825 < 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
3825 > if ac_fn_c_try_compile "$LINENO"; then :
3826  
3827 <        ac_c_werror_flag=$ac_save_c_werror_flag
3827 > else
3828 >  ac_c_werror_flag=$ac_save_c_werror_flag
3829           CFLAGS="-g"
3830 <         cat >conftest.$ac_ext <<_ACEOF
3444 < /* confdefs.h.  */
3445 < _ACEOF
3446 < cat confdefs.h >>conftest.$ac_ext
3447 < cat >>conftest.$ac_ext <<_ACEOF
3830 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831   /* end confdefs.h.  */
3832  
3833   int
# Line 3455 | Line 3838 | main ()
3838    return 0;
3839   }
3840   _ACEOF
3841 < 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
3841 > if ac_fn_c_try_compile "$LINENO"; then :
3842    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
3843   fi
3483
3844   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3845   fi
3486
3846   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847   fi
3489
3848   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849     ac_c_werror_flag=$ac_save_c_werror_flag
3850   fi
3851 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3851 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3852   $as_echo "$ac_cv_prog_cc_g" >&6; }
3853   if test "$ac_test_CFLAGS" = set; then
3854    CFLAGS=$ac_save_CFLAGS
# Line 3507 | Line 3865 | else
3865      CFLAGS=
3866    fi
3867   fi
3868 < { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3868 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3869   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3870 < if test "${ac_cv_prog_cc_c89+set}" = set; then
3870 > if test "${ac_cv_prog_cc_c89+set}" = set; then :
3871    $as_echo_n "(cached) " >&6
3872   else
3873    ac_cv_prog_cc_c89=no
3874   ac_save_CC=$CC
3875 < cat >conftest.$ac_ext <<_ACEOF
3518 < /* confdefs.h.  */
3519 < _ACEOF
3520 < cat confdefs.h >>conftest.$ac_ext
3521 < cat >>conftest.$ac_ext <<_ACEOF
3875 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876   /* end confdefs.h.  */
3877   #include <stdarg.h>
3878   #include <stdio.h>
# Line 3575 | Line 3929 | for ac_arg in '' -qlanglvl=extc89 -qlang
3929          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3930   do
3931    CC="$ac_save_CC $ac_arg"
3932 <  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
3932 >  if ac_fn_c_try_compile "$LINENO"; then :
3933    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
3934   fi
3603
3935   rm -f core conftest.err conftest.$ac_objext
3936    test "x$ac_cv_prog_cc_c89" != "xno" && break
3937   done
# Line 3611 | Line 3942 | fi
3942   # AC_CACHE_VAL
3943   case "x$ac_cv_prog_cc_c89" in
3944    x)
3945 <    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3945 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3946   $as_echo "none needed" >&6; } ;;
3947    xno)
3948 <    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3948 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3949   $as_echo "unsupported" >&6; } ;;
3950    *)
3951      CC="$CC $ac_cv_prog_cc_c89"
3952 <    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3952 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3953   $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3954   esac
3955 + if test "x$ac_cv_prog_cc_c89" != xno; then :
3956  
3957 + fi
3958  
3959   ac_ext=c
3960   ac_cpp='$CPP $CPPFLAGS'
3961   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 DEPDIR="${am__leading_dot}deps"
3632
3633 ac_config_commands="$ac_config_commands depfiles"
3634
3635
3636 am_make=${MAKE-make}
3637 cat > confinc << 'END'
3638 am__doit:
3639        @echo this is the am__doit target
3640 .PHONY: am__doit
3641 END
3642 # If we don't find an include directive, just comment out the code.
3643 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3644 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3645 am__include="#"
3646 am__quote=
3647 _am_result=none
3648 # First try GNU make style include.
3649 echo "include confinc" > confmf
3650 # Ignore all kinds of additional output from `make'.
3651 case `$am_make -s -f confmf 2> /dev/null` in #(
3652 *the\ am__doit\ target*)
3653  am__include=include
3654  am__quote=
3655  _am_result=GNU
3656  ;;
3657 esac
3658 # Now try BSD make style include.
3659 if test "$am__include" = "#"; then
3660   echo '.include "confinc"' > confmf
3661   case `$am_make -s -f confmf 2> /dev/null` in #(
3662   *the\ am__doit\ target*)
3663     am__include=.include
3664     am__quote="\""
3665     _am_result=BSD
3666     ;;
3667   esac
3668 fi
3669
3670
3671 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3672 $as_echo "$_am_result" >&6; }
3673 rm -f confinc confmf
3674
3675 # Check whether --enable-dependency-tracking was given.
3676 if test "${enable_dependency_tracking+set}" = set; then
3677  enableval=$enable_dependency_tracking;
3678 fi
3679
3680 if test "x$enable_dependency_tracking" != xno; then
3681  am_depcomp="$ac_aux_dir/depcomp"
3682  AMDEPBACKSLASH='\'
3683 fi
3684 if test "x$enable_dependency_tracking" != xno; then
3685  AMDEP_TRUE=
3686  AMDEP_FALSE='#'
3687 else
3688  AMDEP_TRUE='#'
3689  AMDEP_FALSE=
3690 fi
3691
3692
3964  
3965   depcc="$CC"   am_compiler_list=
3966  
3967 < { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3967 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3968   $as_echo_n "checking dependency style of $depcc... " >&6; }
3969 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3969 > if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3970    $as_echo_n "(cached) " >&6
3971   else
3972    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3803 | Line 4074 | else
4074   fi
4075  
4076   fi
4077 < { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4077 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4078   $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4079   CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4080  
# Line 3818 | Line 4089 | else
4089   fi
4090  
4091  
4092 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4093 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4094 + if test "${ac_cv_prog_cc_c99+set}" = set; then :
4095 +  $as_echo_n "(cached) " >&6
4096 + else
4097 +  ac_cv_prog_cc_c99=no
4098 + ac_save_CC=$CC
4099 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 + /* end confdefs.h.  */
4101 + #include <stdarg.h>
4102 + #include <stdbool.h>
4103 + #include <stdlib.h>
4104 + #include <wchar.h>
4105 + #include <stdio.h>
4106 +
4107 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4108 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4109 + #define showlist(...) puts (#__VA_ARGS__)
4110 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4111 + static void
4112 + test_varargs_macros (void)
4113 + {
4114 +  int x = 1234;
4115 +  int y = 5678;
4116 +  debug ("Flag");
4117 +  debug ("X = %d\n", x);
4118 +  showlist (The first, second, and third items.);
4119 +  report (x>y, "x is %d but y is %d", x, y);
4120 + }
4121 +
4122 + // Check long long types.
4123 + #define BIG64 18446744073709551615ull
4124 + #define BIG32 4294967295ul
4125 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4126 + #if !BIG_OK
4127 +  your preprocessor is broken;
4128 + #endif
4129 + #if BIG_OK
4130 + #else
4131 +  your preprocessor is broken;
4132 + #endif
4133 + static long long int bignum = -9223372036854775807LL;
4134 + static unsigned long long int ubignum = BIG64;
4135 +
4136 + struct incomplete_array
4137 + {
4138 +  int datasize;
4139 +  double data[];
4140 + };
4141 +
4142 + struct named_init {
4143 +  int number;
4144 +  const wchar_t *name;
4145 +  double average;
4146 + };
4147 +
4148 + typedef const char *ccp;
4149 +
4150 + static inline int
4151 + test_restrict (ccp restrict text)
4152 + {
4153 +  // See if C++-style comments work.
4154 +  // Iterate through items via the restricted pointer.
4155 +  // Also check for declarations in for loops.
4156 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4157 +    continue;
4158 +  return 0;
4159 + }
4160 +
4161 + // Check varargs and va_copy.
4162 + static void
4163 + test_varargs (const char *format, ...)
4164 + {
4165 +  va_list args;
4166 +  va_start (args, format);
4167 +  va_list args_copy;
4168 +  va_copy (args_copy, args);
4169 +
4170 +  const char *str;
4171 +  int number;
4172 +  float fnumber;
4173 +
4174 +  while (*format)
4175 +    {
4176 +      switch (*format++)
4177 +        {
4178 +        case 's': // string
4179 +          str = va_arg (args_copy, const char *);
4180 +          break;
4181 +        case 'd': // int
4182 +          number = va_arg (args_copy, int);
4183 +          break;
4184 +        case 'f': // float
4185 +          fnumber = va_arg (args_copy, double);
4186 +          break;
4187 +        default:
4188 +          break;
4189 +        }
4190 +    }
4191 +  va_end (args_copy);
4192 +  va_end (args);
4193 + }
4194 +
4195 + int
4196 + main ()
4197 + {
4198 +
4199 +  // Check bool.
4200 +  _Bool success = false;
4201 +
4202 +  // Check restrict.
4203 +  if (test_restrict ("String literal") == 0)
4204 +    success = true;
4205 +  char *restrict newvar = "Another string";
4206 +
4207 +  // Check varargs.
4208 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4209 +  test_varargs_macros ();
4210 +
4211 +  // Check flexible array members.
4212 +  struct incomplete_array *ia =
4213 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4214 +  ia->datasize = 10;
4215 +  for (int i = 0; i < ia->datasize; ++i)
4216 +    ia->data[i] = i * 1.234;
4217 +
4218 +  // Check named initializers.
4219 +  struct named_init ni = {
4220 +    .number = 34,
4221 +    .name = L"Test wide string",
4222 +    .average = 543.34343,
4223 +  };
4224 +
4225 +  ni.number = 58;
4226 +
4227 +  int dynamic_array[ni.number];
4228 +  dynamic_array[ni.number - 1] = 543;
4229 +
4230 +  // work around unused variable warnings
4231 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4232 +          || dynamic_array[ni.number - 1] != 543);
4233 +
4234 +  ;
4235 +  return 0;
4236 + }
4237 + _ACEOF
4238 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4239 + do
4240 +  CC="$ac_save_CC $ac_arg"
4241 +  if ac_fn_c_try_compile "$LINENO"; then :
4242 +  ac_cv_prog_cc_c99=$ac_arg
4243 + fi
4244 + rm -f core conftest.err conftest.$ac_objext
4245 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4246 + done
4247 + rm -f conftest.$ac_ext
4248 + CC=$ac_save_CC
4249 +
4250 + fi
4251 + # AC_CACHE_VAL
4252 + case "x$ac_cv_prog_cc_c99" in
4253 +  x)
4254 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4255 + $as_echo "none needed" >&6; } ;;
4256 +  xno)
4257 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4258 + $as_echo "unsupported" >&6; } ;;
4259 +  *)
4260 +    CC="$CC $ac_cv_prog_cc_c99"
4261 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4262 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4263 + esac
4264 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4265 +
4266 + fi
4267 +
4268 +
4269 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4270 +  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4271 + fi
4272   for ac_prog in 'bison -y' byacc
4273   do
4274    # Extract the first word of "$ac_prog", so it can be a program name with args.
4275   set dummy $ac_prog; ac_word=$2
4276 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4276 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277   $as_echo_n "checking for $ac_word... " >&6; }
4278 < if test "${ac_cv_prog_YACC+set}" = set; then
4278 > if test "${ac_cv_prog_YACC+set}" = set; then :
4279    $as_echo_n "(cached) " >&6
4280   else
4281    if test -n "$YACC"; then
# Line 3835 | Line 4286 | for as_dir in $PATH
4286   do
4287    IFS=$as_save_IFS
4288    test -z "$as_dir" && as_dir=.
4289 <  for ac_exec_ext in '' $ac_executable_extensions; do
4289 >    for ac_exec_ext in '' $ac_executable_extensions; do
4290    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4291      ac_cv_prog_YACC="$ac_prog"
4292 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4293      break 2
4294    fi
4295   done
4296 < done
4296 >  done
4297   IFS=$as_save_IFS
4298  
4299   fi
4300   fi
4301   YACC=$ac_cv_prog_YACC
4302   if test -n "$YACC"; then
4303 <  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
4303 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4304   $as_echo "$YACC" >&6; }
4305   else
4306 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4306 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307   $as_echo "no" >&6; }
4308   fi
4309  
# Line 3866 | Line 4317 | for ac_prog in flex lex
4317   do
4318    # Extract the first word of "$ac_prog", so it can be a program name with args.
4319   set dummy $ac_prog; ac_word=$2
4320 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4320 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4321   $as_echo_n "checking for $ac_word... " >&6; }
4322 < if test "${ac_cv_prog_LEX+set}" = set; then
4322 > if test "${ac_cv_prog_LEX+set}" = set; then :
4323    $as_echo_n "(cached) " >&6
4324   else
4325    if test -n "$LEX"; then
# Line 3879 | Line 4330 | for as_dir in $PATH
4330   do
4331    IFS=$as_save_IFS
4332    test -z "$as_dir" && as_dir=.
4333 <  for ac_exec_ext in '' $ac_executable_extensions; do
4333 >    for ac_exec_ext in '' $ac_executable_extensions; do
4334    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4335      ac_cv_prog_LEX="$ac_prog"
4336 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4337      break 2
4338    fi
4339   done
4340 < done
4340 >  done
4341   IFS=$as_save_IFS
4342  
4343   fi
4344   fi
4345   LEX=$ac_cv_prog_LEX
4346   if test -n "$LEX"; then
4347 <  { $as_echo "$as_me:$LINENO: result: $LEX" >&5
4347 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4348   $as_echo "$LEX" >&6; }
4349   else
4350 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4350 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351   $as_echo "no" >&6; }
4352   fi
4353  
# Line 3925 | Line 4376 | main (void)
4376    return ! yylex () + ! yywrap ();
4377   }
4378   _ACEOF
4379 < { (ac_try="$LEX conftest.l"
4379 > { { ac_try="$LEX conftest.l"
4380   case "(($ac_try" in
4381    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4382    *) ac_try_echo=$ac_try;;
4383   esac
4384 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4385 < $as_echo "$ac_try_echo") >&5
4384 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4385 > $as_echo "$ac_try_echo"; } >&5
4386    (eval "$LEX conftest.l") 2>&5
4387    ac_status=$?
4388 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 <  (exit $ac_status); }
4390 < { $as_echo "$as_me:$LINENO: checking lex output file root" >&5
4388 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4389 >  test $ac_status = 0; }
4390 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4391   $as_echo_n "checking lex output file root... " >&6; }
4392 < if test "${ac_cv_prog_lex_root+set}" = set; then
4392 > if test "${ac_cv_prog_lex_root+set}" = set; then :
4393    $as_echo_n "(cached) " >&6
4394   else
4395  
# Line 3947 | Line 4398 | if test -f lex.yy.c; then
4398   elif test -f lexyy.c; then
4399    ac_cv_prog_lex_root=lexyy
4400   else
4401 <  { { $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; }; }
4401 >  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4402   fi
4403   fi
4404 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4404 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4405   $as_echo "$ac_cv_prog_lex_root" >&6; }
4406   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4407  
4408   if test -z "${LEXLIB+set}"; then
4409 <  { $as_echo "$as_me:$LINENO: checking lex library" >&5
4409 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4410   $as_echo_n "checking lex library... " >&6; }
4411 < if test "${ac_cv_lib_lex+set}" = set; then
4411 > if test "${ac_cv_lib_lex+set}" = set; then :
4412    $as_echo_n "(cached) " >&6
4413   else
4414  
# Line 3967 | Line 4416 | else
4416      ac_cv_lib_lex='none needed'
4417      for ac_lib in '' -lfl -ll; do
4418        LIBS="$ac_lib $ac_save_LIBS"
4419 <      cat >conftest.$ac_ext <<_ACEOF
4419 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4420 > /* end confdefs.h.  */
4421   `cat $LEX_OUTPUT_ROOT.c`
4422   _ACEOF
4423 < 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
4423 > if ac_fn_c_try_link "$LINENO"; then :
4424    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
4425   fi
4426 <
4427 < rm -rf conftest.dSYM
4003 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4004 <      conftest$ac_exeext conftest.$ac_ext
4426 > rm -f core conftest.err conftest.$ac_objext \
4427 >    conftest$ac_exeext conftest.$ac_ext
4428        test "$ac_cv_lib_lex" != 'none needed' && break
4429      done
4430      LIBS=$ac_save_LIBS
4431  
4432   fi
4433 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
4433 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4434   $as_echo "$ac_cv_lib_lex" >&6; }
4435    test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4436   fi
4437  
4438  
4439 < { $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4439 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4440   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4441 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4441 > if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4442    $as_echo_n "(cached) " >&6
4443   else
4444    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4024 | Line 4447 | else
4447   ac_cv_prog_lex_yytext_pointer=no
4448   ac_save_LIBS=$LIBS
4449   LIBS="$LEXLIB $ac_save_LIBS"
4450 < cat >conftest.$ac_ext <<_ACEOF
4450 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 > /* end confdefs.h.  */
4452   #define YYTEXT_POINTER 1
4453   `cat $LEX_OUTPUT_ROOT.c`
4454   _ACEOF
4455 < 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
4455 > if ac_fn_c_try_link "$LINENO"; then :
4456    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
4457   fi
4458 <
4459 < rm -rf conftest.dSYM
4061 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4062 <      conftest$ac_exeext conftest.$ac_ext
4458 > rm -f core conftest.err conftest.$ac_objext \
4459 >    conftest$ac_exeext conftest.$ac_ext
4460   LIBS=$ac_save_LIBS
4461  
4462   fi
4463 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4463 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4464   $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4465   if test $ac_cv_prog_lex_yytext_pointer = yes; then
4466  
4467 < cat >>confdefs.h <<\_ACEOF
4071 < #define YYTEXT_POINTER 1
4072 < _ACEOF
4467 > $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4468  
4469   fi
4470   rm -f conftest.l $LEX_OUTPUT_ROOT.c
# Line 4078 | Line 4473 | fi
4473   if test "$LEX" = :; then
4474    LEX=${am_missing_run}flex
4475   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'
4476  
4477  
4478 <
4176 < #ltdl stuff
4478 > # Initializing libtool.
4479   case `pwd` in
4480    *\ * | *\     *)
4481 <    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4481 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4482   $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4483   esac
4484  
# Line 4201 | Line 4503 | ltmain="$ac_aux_dir/ltmain.sh"
4503  
4504   # Make sure we can run config.sub.
4505   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4506 <  { { $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; }; }
4506 >  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4507  
4508 < { $as_echo "$as_me:$LINENO: checking build system type" >&5
4508 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4509   $as_echo_n "checking build system type... " >&6; }
4510 < if test "${ac_cv_build+set}" = set; then
4510 > if test "${ac_cv_build+set}" = set; then :
4511    $as_echo_n "(cached) " >&6
4512   else
4513    ac_build_alias=$build_alias
4514   test "x$ac_build_alias" = x &&
4515    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4516   test "x$ac_build_alias" = x &&
4517 <  { { $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; }; }
4517 >  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4518   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4519 <  { { $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; }; }
4519 >  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4520  
4521   fi
4522 < { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4522 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4523   $as_echo "$ac_cv_build" >&6; }
4524   case $ac_cv_build in
4525   *-*-*) ;;
4526 < *) { { $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; }; };;
4526 > *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4527   esac
4528   build=$ac_cv_build
4529   ac_save_IFS=$IFS; IFS='-'
# Line 4245 | Line 4539 | IFS=$ac_save_IFS
4539   case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4540  
4541  
4542 < { $as_echo "$as_me:$LINENO: checking host system type" >&5
4542 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4543   $as_echo_n "checking host system type... " >&6; }
4544 < if test "${ac_cv_host+set}" = set; then
4544 > if test "${ac_cv_host+set}" = set; then :
4545    $as_echo_n "(cached) " >&6
4546   else
4547    if test "x$host_alias" = x; then
4548    ac_cv_host=$ac_cv_build
4549   else
4550    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4551 <    { { $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; }; }
4551 >    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4552   fi
4553  
4554   fi
4555 < { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4555 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4556   $as_echo "$ac_cv_host" >&6; }
4557   case $ac_cv_host in
4558   *-*-*) ;;
4559 < *) { { $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; }; };;
4559 > *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4560   esac
4561   host=$ac_cv_host
4562   ac_save_IFS=$IFS; IFS='-'
# Line 4282 | Line 4572 | IFS=$ac_save_IFS
4572   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4573  
4574  
4575 < { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4575 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4576   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4577 < if test "${ac_cv_path_SED+set}" = set; then
4577 > if test "${ac_cv_path_SED+set}" = set; then :
4578    $as_echo_n "(cached) " >&6
4579   else
4580              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4292 | Line 4582 | else
4582         ac_script="$ac_script$as_nl$ac_script"
4583       done
4584       echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4585 <     $as_unset ac_script || ac_script=
4585 >     { ac_script=; unset ac_script;}
4586       if test -z "$SED"; then
4587    ac_path_SED_found=false
4588    # Loop through the user's path and test for each of PROGNAME-LIST
# Line 4301 | Line 4591 | for as_dir in $PATH
4591   do
4592    IFS=$as_save_IFS
4593    test -z "$as_dir" && as_dir=.
4594 <  for ac_prog in sed gsed; do
4594 >    for ac_prog in sed gsed; do
4595      for ac_exec_ext in '' $ac_executable_extensions; do
4596        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4597        { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
# Line 4321 | Line 4611 | case `"$ac_path_SED" --version 2>&1` in
4611      $as_echo '' >> "conftest.nl"
4612      "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4613      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4614 <    ac_count=`expr $ac_count + 1`
4614 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4615      if test $ac_count -gt ${ac_path_SED_max-0}; then
4616        # Best one so far, save it but keep looking for a better one
4617        ac_cv_path_SED="$ac_path_SED"
# Line 4336 | Line 4626 | esac
4626        $ac_path_SED_found && break 3
4627      done
4628    done
4629 < done
4629 >  done
4630   IFS=$as_save_IFS
4631    if test -z "$ac_cv_path_SED"; then
4632 <    { { $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; }; }
4632 >    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4633    fi
4634   else
4635    ac_cv_path_SED=$SED
4636   fi
4637  
4638   fi
4639 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4639 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4640   $as_echo "$ac_cv_path_SED" >&6; }
4641   SED="$ac_cv_path_SED"
4642    rm -f conftest.sed
# Line 4366 | Line 4654 | Xsed="$SED -e 1s/^X//"
4654  
4655  
4656  
4657 < { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4657 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4658   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4659 < if test "${ac_cv_path_GREP+set}" = set; then
4659 > if test "${ac_cv_path_GREP+set}" = set; then :
4660    $as_echo_n "(cached) " >&6
4661   else
4662    if test -z "$GREP"; then
# Line 4379 | Line 4667 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4667   do
4668    IFS=$as_save_IFS
4669    test -z "$as_dir" && as_dir=.
4670 <  for ac_prog in grep ggrep; do
4670 >    for ac_prog in grep ggrep; do
4671      for ac_exec_ext in '' $ac_executable_extensions; do
4672        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4673        { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
# Line 4399 | Line 4687 | case `"$ac_path_GREP" --version 2>&1` in
4687      $as_echo 'GREP' >> "conftest.nl"
4688      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4689      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4690 <    ac_count=`expr $ac_count + 1`
4690 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4691      if test $ac_count -gt ${ac_path_GREP_max-0}; then
4692        # Best one so far, save it but keep looking for a better one
4693        ac_cv_path_GREP="$ac_path_GREP"
# Line 4414 | Line 4702 | esac
4702        $ac_path_GREP_found && break 3
4703      done
4704    done
4705 < done
4705 >  done
4706   IFS=$as_save_IFS
4707    if test -z "$ac_cv_path_GREP"; then
4708 <    { { $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; }; }
4708 >    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4709    fi
4710   else
4711    ac_cv_path_GREP=$GREP
4712   fi
4713  
4714   fi
4715 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4715 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4716   $as_echo "$ac_cv_path_GREP" >&6; }
4717   GREP="$ac_cv_path_GREP"
4718  
4719  
4720 < { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4720 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4721   $as_echo_n "checking for egrep... " >&6; }
4722 < if test "${ac_cv_path_EGREP+set}" = set; then
4722 > if test "${ac_cv_path_EGREP+set}" = set; then :
4723    $as_echo_n "(cached) " >&6
4724   else
4725    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4447 | Line 4733 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4733   do
4734    IFS=$as_save_IFS
4735    test -z "$as_dir" && as_dir=.
4736 <  for ac_prog in egrep; do
4736 >    for ac_prog in egrep; do
4737      for ac_exec_ext in '' $ac_executable_extensions; do
4738        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4739        { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
# Line 4467 | Line 4753 | case `"$ac_path_EGREP" --version 2>&1` i
4753      $as_echo 'EGREP' >> "conftest.nl"
4754      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4755      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4756 <    ac_count=`expr $ac_count + 1`
4756 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4757      if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4758        # Best one so far, save it but keep looking for a better one
4759        ac_cv_path_EGREP="$ac_path_EGREP"
# Line 4482 | Line 4768 | esac
4768        $ac_path_EGREP_found && break 3
4769      done
4770    done
4771 < done
4771 >  done
4772   IFS=$as_save_IFS
4773    if test -z "$ac_cv_path_EGREP"; then
4774 <    { { $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; }; }
4774 >    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4775    fi
4776   else
4777    ac_cv_path_EGREP=$EGREP
# Line 4495 | Line 4779 | fi
4779  
4780     fi
4781   fi
4782 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4782 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4783   $as_echo "$ac_cv_path_EGREP" >&6; }
4784   EGREP="$ac_cv_path_EGREP"
4785  
4786  
4787 < { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4787 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4788   $as_echo_n "checking for fgrep... " >&6; }
4789 < if test "${ac_cv_path_FGREP+set}" = set; then
4789 > if test "${ac_cv_path_FGREP+set}" = set; then :
4790    $as_echo_n "(cached) " >&6
4791   else
4792    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4516 | Line 4800 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4800   do
4801    IFS=$as_save_IFS
4802    test -z "$as_dir" && as_dir=.
4803 <  for ac_prog in fgrep; do
4803 >    for ac_prog in fgrep; do
4804      for ac_exec_ext in '' $ac_executable_extensions; do
4805        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4806        { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
# Line 4536 | Line 4820 | case `"$ac_path_FGREP" --version 2>&1` i
4820      $as_echo 'FGREP' >> "conftest.nl"
4821      "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4822      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4823 <    ac_count=`expr $ac_count + 1`
4823 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4824      if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4825        # Best one so far, save it but keep looking for a better one
4826        ac_cv_path_FGREP="$ac_path_FGREP"
# Line 4551 | Line 4835 | esac
4835        $ac_path_FGREP_found && break 3
4836      done
4837    done
4838 < done
4838 >  done
4839   IFS=$as_save_IFS
4840    if test -z "$ac_cv_path_FGREP"; then
4841 <    { { $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; }; }
4841 >    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4842    fi
4843   else
4844    ac_cv_path_FGREP=$FGREP
# Line 4564 | Line 4846 | fi
4846  
4847     fi
4848   fi
4849 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4849 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4850   $as_echo "$ac_cv_path_FGREP" >&6; }
4851   FGREP="$ac_cv_path_FGREP"
4852  
# Line 4590 | Line 4872 | test -z "$GREP" && GREP=grep
4872  
4873  
4874   # Check whether --with-gnu-ld was given.
4875 < if test "${with_gnu_ld+set}" = set; then
4875 > if test "${with_gnu_ld+set}" = set; then :
4876    withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4877   else
4878    with_gnu_ld=no
# Line 4599 | Line 4881 | fi
4881   ac_prog=ld
4882   if test "$GCC" = yes; then
4883    # Check if gcc -print-prog-name=ld gives a path.
4884 <  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4884 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4885   $as_echo_n "checking for ld used by $CC... " >&6; }
4886    case $host in
4887    *-*-mingw*)
# Line 4629 | Line 4911 | $as_echo_n "checking for ld used by $CC.
4911      ;;
4912    esac
4913   elif test "$with_gnu_ld" = yes; then
4914 <  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4914 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4915   $as_echo_n "checking for GNU ld... " >&6; }
4916   else
4917 <  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4917 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4918   $as_echo_n "checking for non-GNU ld... " >&6; }
4919   fi
4920 < if test "${lt_cv_path_LD+set}" = set; then
4920 > if test "${lt_cv_path_LD+set}" = set; then :
4921    $as_echo_n "(cached) " >&6
4922   else
4923    if test -z "$LD"; then
# Line 4666 | Line 4948 | fi
4948  
4949   LD="$lt_cv_path_LD"
4950   if test -n "$LD"; then
4951 <  { $as_echo "$as_me:$LINENO: result: $LD" >&5
4951 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4952   $as_echo "$LD" >&6; }
4953   else
4954 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4954 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955   $as_echo "no" >&6; }
4956   fi
4957 < test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4958 < $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
4957 > test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4958 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4959   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4960 < if test "${lt_cv_prog_gnu_ld+set}" = set; then
4960 > if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4961    $as_echo_n "(cached) " >&6
4962   else
4963    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4690 | Line 4970 | case `$LD -v 2>&1 </dev/null` in
4970    ;;
4971   esac
4972   fi
4973 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4973 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4974   $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4975   with_gnu_ld=$lt_cv_prog_gnu_ld
4976  
# Line 4702 | Line 4982 | with_gnu_ld=$lt_cv_prog_gnu_ld
4982  
4983  
4984  
4985 < { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4985 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4986   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4987 < if test "${lt_cv_path_NM+set}" = set; then
4987 > if test "${lt_cv_path_NM+set}" = set; then :
4988    $as_echo_n "(cached) " >&6
4989   else
4990    if test -n "$NM"; then
# Line 4751 | Line 5031 | else
5031    : ${lt_cv_path_NM=no}
5032   fi
5033   fi
5034 < { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5034 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5035   $as_echo "$lt_cv_path_NM" >&6; }
5036   if test "$lt_cv_path_NM" != "no"; then
5037    NM="$lt_cv_path_NM"
# Line 4762 | Line 5042 | else
5042    do
5043      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5044   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5045 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5045 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046   $as_echo_n "checking for $ac_word... " >&6; }
5047 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5047 > if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5048    $as_echo_n "(cached) " >&6
5049   else
5050    if test -n "$DUMPBIN"; then
# Line 4775 | Line 5055 | for as_dir in $PATH
5055   do
5056    IFS=$as_save_IFS
5057    test -z "$as_dir" && as_dir=.
5058 <  for ac_exec_ext in '' $ac_executable_extensions; do
5058 >    for ac_exec_ext in '' $ac_executable_extensions; do
5059    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5060      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5061 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062      break 2
5063    fi
5064   done
5065 < done
5065 >  done
5066   IFS=$as_save_IFS
5067  
5068   fi
5069   fi
5070   DUMPBIN=$ac_cv_prog_DUMPBIN
5071   if test -n "$DUMPBIN"; then
5072 <  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5072 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5073   $as_echo "$DUMPBIN" >&6; }
5074   else
5075 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5075 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076   $as_echo "no" >&6; }
5077   fi
5078  
# Line 4806 | Line 5086 | if test -z "$DUMPBIN"; then
5086   do
5087    # Extract the first word of "$ac_prog", so it can be a program name with args.
5088   set dummy $ac_prog; ac_word=$2
5089 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5089 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090   $as_echo_n "checking for $ac_word... " >&6; }
5091 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5091 > if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5092    $as_echo_n "(cached) " >&6
5093   else
5094    if test -n "$ac_ct_DUMPBIN"; then
# Line 4819 | Line 5099 | for as_dir in $PATH
5099   do
5100    IFS=$as_save_IFS
5101    test -z "$as_dir" && as_dir=.
5102 <  for ac_exec_ext in '' $ac_executable_extensions; do
5102 >    for ac_exec_ext in '' $ac_executable_extensions; do
5103    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5104      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5105 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106      break 2
5107    fi
5108   done
5109 < done
5109 >  done
5110   IFS=$as_save_IFS
5111  
5112   fi
5113   fi
5114   ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5115   if test -n "$ac_ct_DUMPBIN"; then
5116 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5116 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5117   $as_echo "$ac_ct_DUMPBIN" >&6; }
5118   else
5119 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5119 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120   $as_echo "no" >&6; }
5121   fi
5122  
# Line 4849 | Line 5129 | done
5129    else
5130      case $cross_compiling:$ac_tool_warned in
5131   yes:)
5132 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5132 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5133   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5134   ac_tool_warned=yes ;;
5135   esac
# Line 4869 | Line 5149 | test -z "$NM" && NM=nm
5149  
5150  
5151  
5152 < { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5152 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5153   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5154 < if test "${lt_cv_nm_interface+set}" = set; then
5154 > if test "${lt_cv_nm_interface+set}" = set; then :
5155    $as_echo_n "(cached) " >&6
5156   else
5157    lt_cv_nm_interface="BSD nm"
5158    echo "int some_variable = 0;" > conftest.$ac_ext
5159 <  (eval echo "\"\$as_me:4879: $ac_compile\"" >&5)
5159 >  (eval echo "\"\$as_me:5159: $ac_compile\"" >&5)
5160    (eval "$ac_compile" 2>conftest.err)
5161    cat conftest.err >&5
5162 <  (eval echo "\"\$as_me:4882: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5162 >  (eval echo "\"\$as_me:5162: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5163    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5164    cat conftest.err >&5
5165 <  (eval echo "\"\$as_me:4885: output\"" >&5)
5165 >  (eval echo "\"\$as_me:5165: output\"" >&5)
5166    cat conftest.out >&5
5167    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5168      lt_cv_nm_interface="MS dumpbin"
5169    fi
5170    rm -f conftest*
5171   fi
5172 < { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5172 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5173   $as_echo "$lt_cv_nm_interface" >&6; }
5174  
5175 < { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5175 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5176   $as_echo_n "checking whether ln -s works... " >&6; }
5177   LN_S=$as_ln_s
5178   if test "$LN_S" = "ln -s"; then
5179 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
5179 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5180   $as_echo "yes" >&6; }
5181   else
5182 <  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5182 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5183   $as_echo "no, using $LN_S" >&6; }
5184   fi
5185  
5186   # find the maximum length of command line arguments
5187 < { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5187 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5188   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5189 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5189 > if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5190    $as_echo_n "(cached) " >&6
5191   else
5192      i=0
# Line 5024 | Line 5304 | else
5304   fi
5305  
5306   if test -n $lt_cv_sys_max_cmd_len ; then
5307 <  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5307 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5308   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5309   else
5310 <  { $as_echo "$as_me:$LINENO: result: none" >&5
5310 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5311   $as_echo "none" >&6; }
5312   fi
5313   max_cmd_len=$lt_cv_sys_max_cmd_len
# Line 5041 | Line 5321 | max_cmd_len=$lt_cv_sys_max_cmd_len
5321   : ${MV="mv -f"}
5322   : ${RM="rm -f"}
5323  
5324 < { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5324 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5325   $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5326   # Try some XSI features
5327   xsi_shell=no
# Line 5051 | Line 5331 | xsi_shell=no
5331      && eval 'test $(( 1 + 1 )) -eq 2 \
5332      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5333    && xsi_shell=yes
5334 < { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5334 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5335   $as_echo "$xsi_shell" >&6; }
5336  
5337  
5338 < { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5338 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5339   $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5340   lt_shell_append=no
5341   ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5342      >/dev/null 2>&1 \
5343    && lt_shell_append=yes
5344 < { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5344 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5345   $as_echo "$lt_shell_append" >&6; }
5346  
5347  
# Line 5096 | Line 5376 | esac
5376  
5377  
5378  
5379 < { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5379 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5380   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5381 < if test "${lt_cv_ld_reload_flag+set}" = set; then
5381 > if test "${lt_cv_ld_reload_flag+set}" = set; then :
5382    $as_echo_n "(cached) " >&6
5383   else
5384    lt_cv_ld_reload_flag='-r'
5385   fi
5386 < { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5386 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5387   $as_echo "$lt_cv_ld_reload_flag" >&6; }
5388   reload_flag=$lt_cv_ld_reload_flag
5389   case $reload_flag in
# Line 5132 | Line 5412 | esac
5412   if test -n "$ac_tool_prefix"; then
5413    # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5414   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5415 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5415 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5416   $as_echo_n "checking for $ac_word... " >&6; }
5417 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5417 > if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5418    $as_echo_n "(cached) " >&6
5419   else
5420    if test -n "$OBJDUMP"; then
# Line 5145 | Line 5425 | for as_dir in $PATH
5425   do
5426    IFS=$as_save_IFS
5427    test -z "$as_dir" && as_dir=.
5428 <  for ac_exec_ext in '' $ac_executable_extensions; do
5428 >    for ac_exec_ext in '' $ac_executable_extensions; do
5429    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5431 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432      break 2
5433    fi
5434   done
5435 < done
5435 >  done
5436   IFS=$as_save_IFS
5437  
5438   fi
5439   fi
5440   OBJDUMP=$ac_cv_prog_OBJDUMP
5441   if test -n "$OBJDUMP"; then
5442 <  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5442 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5443   $as_echo "$OBJDUMP" >&6; }
5444   else
5445 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5445 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446   $as_echo "no" >&6; }
5447   fi
5448  
# Line 5172 | Line 5452 | if test -z "$ac_cv_prog_OBJDUMP"; then
5452    ac_ct_OBJDUMP=$OBJDUMP
5453    # Extract the first word of "objdump", so it can be a program name with args.
5454   set dummy objdump; ac_word=$2
5455 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5455 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456   $as_echo_n "checking for $ac_word... " >&6; }
5457 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5457 > if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5458    $as_echo_n "(cached) " >&6
5459   else
5460    if test -n "$ac_ct_OBJDUMP"; then
# Line 5185 | Line 5465 | for as_dir in $PATH
5465   do
5466    IFS=$as_save_IFS
5467    test -z "$as_dir" && as_dir=.
5468 <  for ac_exec_ext in '' $ac_executable_extensions; do
5468 >    for ac_exec_ext in '' $ac_executable_extensions; do
5469    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5471 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472      break 2
5473    fi
5474   done
5475 < done
5475 >  done
5476   IFS=$as_save_IFS
5477  
5478   fi
5479   fi
5480   ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5481   if test -n "$ac_ct_OBJDUMP"; then
5482 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5482 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5483   $as_echo "$ac_ct_OBJDUMP" >&6; }
5484   else
5485 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5485 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486   $as_echo "no" >&6; }
5487   fi
5488  
# Line 5211 | Line 5491 | fi
5491    else
5492      case $cross_compiling:$ac_tool_warned in
5493   yes:)
5494 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5494 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5495   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5496   ac_tool_warned=yes ;;
5497   esac
# Line 5231 | Line 5511 | test -z "$OBJDUMP" && OBJDUMP=objdump
5511  
5512  
5513  
5514 < { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5514 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5515   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5516 < if test "${lt_cv_deplibs_check_method+set}" = set; then
5516 > if test "${lt_cv_deplibs_check_method+set}" = set; then :
5517    $as_echo_n "(cached) " >&6
5518   else
5519    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5427 | Line 5707 | tpf*)
5707   esac
5708  
5709   fi
5710 < { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5710 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5711   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5712   file_magic_cmd=$lt_cv_file_magic_cmd
5713   deplibs_check_method=$lt_cv_deplibs_check_method
# Line 5447 | Line 5727 | test -z "$deplibs_check_method" && depli
5727   if test -n "$ac_tool_prefix"; then
5728    # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5729   set dummy ${ac_tool_prefix}ar; ac_word=$2
5730 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5730 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731   $as_echo_n "checking for $ac_word... " >&6; }
5732 < if test "${ac_cv_prog_AR+set}" = set; then
5732 > if test "${ac_cv_prog_AR+set}" = set; then :
5733    $as_echo_n "(cached) " >&6
5734   else
5735    if test -n "$AR"; then
# Line 5460 | Line 5740 | for as_dir in $PATH
5740   do
5741    IFS=$as_save_IFS
5742    test -z "$as_dir" && as_dir=.
5743 <  for ac_exec_ext in '' $ac_executable_extensions; do
5743 >    for ac_exec_ext in '' $ac_executable_extensions; do
5744    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5745      ac_cv_prog_AR="${ac_tool_prefix}ar"
5746 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747      break 2
5748    fi
5749   done
5750 < done
5750 >  done
5751   IFS=$as_save_IFS
5752  
5753   fi
5754   fi
5755   AR=$ac_cv_prog_AR
5756   if test -n "$AR"; then
5757 <  { $as_echo "$as_me:$LINENO: result: $AR" >&5
5757 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5758   $as_echo "$AR" >&6; }
5759   else
5760 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5760 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761   $as_echo "no" >&6; }
5762   fi
5763  
# Line 5487 | Line 5767 | if test -z "$ac_cv_prog_AR"; then
5767    ac_ct_AR=$AR
5768    # Extract the first word of "ar", so it can be a program name with args.
5769   set dummy ar; ac_word=$2
5770 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5770 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771   $as_echo_n "checking for $ac_word... " >&6; }
5772 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5772 > if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5773    $as_echo_n "(cached) " >&6
5774   else
5775    if test -n "$ac_ct_AR"; then
# Line 5500 | Line 5780 | for as_dir in $PATH
5780   do
5781    IFS=$as_save_IFS
5782    test -z "$as_dir" && as_dir=.
5783 <  for ac_exec_ext in '' $ac_executable_extensions; do
5783 >    for ac_exec_ext in '' $ac_executable_extensions; do
5784    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5785      ac_cv_prog_ac_ct_AR="ar"
5786 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787      break 2
5788    fi
5789   done
5790 < done
5790 >  done
5791   IFS=$as_save_IFS
5792  
5793   fi
5794   fi
5795   ac_ct_AR=$ac_cv_prog_ac_ct_AR
5796   if test -n "$ac_ct_AR"; then
5797 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5797 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5798   $as_echo "$ac_ct_AR" >&6; }
5799   else
5800 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5800 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801   $as_echo "no" >&6; }
5802   fi
5803  
# Line 5526 | Line 5806 | fi
5806    else
5807      case $cross_compiling:$ac_tool_warned in
5808   yes:)
5809 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5809 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5810   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5811   ac_tool_warned=yes ;;
5812   esac
# Line 5552 | Line 5832 | test -z "$AR_FLAGS" && AR_FLAGS=cru
5832   if test -n "$ac_tool_prefix"; then
5833    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5834   set dummy ${ac_tool_prefix}strip; ac_word=$2
5835 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5835 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836   $as_echo_n "checking for $ac_word... " >&6; }
5837 < if test "${ac_cv_prog_STRIP+set}" = set; then
5837 > if test "${ac_cv_prog_STRIP+set}" = set; then :
5838    $as_echo_n "(cached) " >&6
5839   else
5840    if test -n "$STRIP"; then
# Line 5565 | Line 5845 | for as_dir in $PATH
5845   do
5846    IFS=$as_save_IFS
5847    test -z "$as_dir" && as_dir=.
5848 <  for ac_exec_ext in '' $ac_executable_extensions; do
5848 >    for ac_exec_ext in '' $ac_executable_extensions; do
5849    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5851 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852      break 2
5853    fi
5854   done
5855 < done
5855 >  done
5856   IFS=$as_save_IFS
5857  
5858   fi
5859   fi
5860   STRIP=$ac_cv_prog_STRIP
5861   if test -n "$STRIP"; then
5862 <  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5862 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5863   $as_echo "$STRIP" >&6; }
5864   else
5865 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5865 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866   $as_echo "no" >&6; }
5867   fi
5868  
# Line 5592 | Line 5872 | if test -z "$ac_cv_prog_STRIP"; then
5872    ac_ct_STRIP=$STRIP
5873    # Extract the first word of "strip", so it can be a program name with args.
5874   set dummy strip; ac_word=$2
5875 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5875 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876   $as_echo_n "checking for $ac_word... " >&6; }
5877 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5877 > if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5878    $as_echo_n "(cached) " >&6
5879   else
5880    if test -n "$ac_ct_STRIP"; then
# Line 5605 | Line 5885 | for as_dir in $PATH
5885   do
5886    IFS=$as_save_IFS
5887    test -z "$as_dir" && as_dir=.
5888 <  for ac_exec_ext in '' $ac_executable_extensions; do
5888 >    for ac_exec_ext in '' $ac_executable_extensions; do
5889    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890      ac_cv_prog_ac_ct_STRIP="strip"
5891 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5892      break 2
5893    fi
5894   done
5895 < done
5895 >  done
5896   IFS=$as_save_IFS
5897  
5898   fi
5899   fi
5900   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5901   if test -n "$ac_ct_STRIP"; then
5902 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5902 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5903   $as_echo "$ac_ct_STRIP" >&6; }
5904   else
5905 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5905 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906   $as_echo "no" >&6; }
5907   fi
5908  
# Line 5631 | Line 5911 | fi
5911    else
5912      case $cross_compiling:$ac_tool_warned in
5913   yes:)
5914 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5914 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5915   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5916   ac_tool_warned=yes ;;
5917   esac
# Line 5651 | Line 5931 | test -z "$STRIP" && STRIP=:
5931   if test -n "$ac_tool_prefix"; then
5932    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5933   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5934 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5934 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935   $as_echo_n "checking for $ac_word... " >&6; }
5936 < if test "${ac_cv_prog_RANLIB+set}" = set; then
5936 > if test "${ac_cv_prog_RANLIB+set}" = set; then :
5937    $as_echo_n "(cached) " >&6
5938   else
5939    if test -n "$RANLIB"; then
# Line 5664 | Line 5944 | for as_dir in $PATH
5944   do
5945    IFS=$as_save_IFS
5946    test -z "$as_dir" && as_dir=.
5947 <  for ac_exec_ext in '' $ac_executable_extensions; do
5947 >    for ac_exec_ext in '' $ac_executable_extensions; do
5948    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5949      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5950 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5950 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951      break 2
5952    fi
5953   done
5954 < done
5954 >  done
5955   IFS=$as_save_IFS
5956  
5957   fi
5958   fi
5959   RANLIB=$ac_cv_prog_RANLIB
5960   if test -n "$RANLIB"; then
5961 <  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5961 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5962   $as_echo "$RANLIB" >&6; }
5963   else
5964 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5964 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965   $as_echo "no" >&6; }
5966   fi
5967  
# Line 5691 | Line 5971 | if test -z "$ac_cv_prog_RANLIB"; then
5971    ac_ct_RANLIB=$RANLIB
5972    # Extract the first word of "ranlib", so it can be a program name with args.
5973   set dummy ranlib; ac_word=$2
5974 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5974 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5975   $as_echo_n "checking for $ac_word... " >&6; }
5976 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5976 > if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5977    $as_echo_n "(cached) " >&6
5978   else
5979    if test -n "$ac_ct_RANLIB"; then
# Line 5704 | Line 5984 | for as_dir in $PATH
5984   do
5985    IFS=$as_save_IFS
5986    test -z "$as_dir" && as_dir=.
5987 <  for ac_exec_ext in '' $ac_executable_extensions; do
5987 >    for ac_exec_ext in '' $ac_executable_extensions; do
5988    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5989      ac_cv_prog_ac_ct_RANLIB="ranlib"
5990 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5991      break 2
5992    fi
5993   done
5994 < done
5994 >  done
5995   IFS=$as_save_IFS
5996  
5997   fi
5998   fi
5999   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6000   if test -n "$ac_ct_RANLIB"; then
6001 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6001 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6002   $as_echo "$ac_ct_RANLIB" >&6; }
6003   else
6004 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6004 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6005   $as_echo "no" >&6; }
6006   fi
6007  
# Line 5730 | Line 6010 | fi
6010    else
6011      case $cross_compiling:$ac_tool_warned in
6012   yes:)
6013 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6013 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6014   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6015   ac_tool_warned=yes ;;
6016   esac
# Line 5808 | Line 6088 | compiler=$CC
6088  
6089  
6090   # Check for command to grab the raw symbol name followed by C symbol from nm.
6091 < { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6091 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6092   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6093 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6093 > if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6094    $as_echo_n "(cached) " >&6
6095   else
6096  
# Line 5926 | Line 6206 | void nm_test_func(void){}
6206   int main(){nm_test_var='a';nm_test_func();return(0);}
6207   _LT_EOF
6208  
6209 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6209 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6210    (eval $ac_compile) 2>&5
6211    ac_status=$?
6212 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 <  (exit $ac_status); }; then
6212 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6213 >  test $ac_status = 0; }; then
6214      # Now try to grab the symbols.
6215      nlist=conftest.nm
6216 <    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6216 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6217    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6218    ac_status=$?
6219 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 <  (exit $ac_status); } && test -s "$nlist"; then
6219 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6220 >  test $ac_status = 0; } && test -s "$nlist"; then
6221        # Try sorting and uniquifying the output.
6222        if sort "$nlist" | uniq > "$nlist"T; then
6223          mv -f "$nlist"T "$nlist"
# Line 5990 | Line 6270 | _LT_EOF
6270            lt_save_CFLAGS="$CFLAGS"
6271            LIBS="conftstm.$ac_objext"
6272            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6273 <          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6273 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6274    (eval $ac_link) 2>&5
6275    ac_status=$?
6276 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6277 <  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6276 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6277 >  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6278              pipe_works=yes
6279            fi
6280            LIBS="$lt_save_LIBS"
# Line 6028 | Line 6308 | if test -z "$lt_cv_sys_global_symbol_pip
6308    lt_cv_sys_global_symbol_to_cdecl=
6309   fi
6310   if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6311 <  { $as_echo "$as_me:$LINENO: result: failed" >&5
6311 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6312   $as_echo "failed" >&6; }
6313   else
6314 <  { $as_echo "$as_me:$LINENO: result: ok" >&5
6314 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6315   $as_echo "ok" >&6; }
6316   fi
6317  
# Line 6057 | Line 6337 | fi
6337  
6338  
6339   # Check whether --enable-libtool-lock was given.
6340 < if test "${enable_libtool_lock+set}" = set; then
6340 > if test "${enable_libtool_lock+set}" = set; then :
6341    enableval=$enable_libtool_lock;
6342   fi
6343  
# Line 6069 | Line 6349 | case $host in
6349   ia64-*-hpux*)
6350    # Find out which ABI we are using.
6351    echo 'int i;' > conftest.$ac_ext
6352 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6352 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6353    (eval $ac_compile) 2>&5
6354    ac_status=$?
6355 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 <  (exit $ac_status); }; then
6355 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6356 >  test $ac_status = 0; }; then
6357      case `/usr/bin/file conftest.$ac_objext` in
6358        *ELF-32*)
6359          HPUX_IA64_MODE="32"
# Line 6087 | Line 6367 | ia64-*-hpux*)
6367    ;;
6368   *-*-irix6*)
6369    # Find out which ABI we are using.
6370 <  echo '#line 6090 "configure"' > conftest.$ac_ext
6371 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6370 >  echo '#line 6370 "configure"' > conftest.$ac_ext
6371 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6372    (eval $ac_compile) 2>&5
6373    ac_status=$?
6374 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 <  (exit $ac_status); }; then
6374 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6375 >  test $ac_status = 0; }; then
6376      if test "$lt_cv_prog_gnu_ld" = yes; then
6377        case `/usr/bin/file conftest.$ac_objext` in
6378          *32-bit*)
# Line 6126 | Line 6406 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc
6406   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6407    # Find out which ABI we are using.
6408    echo 'int i;' > conftest.$ac_ext
6409 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6409 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6410    (eval $ac_compile) 2>&5
6411    ac_status=$?
6412 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 <  (exit $ac_status); }; then
6412 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6413 >  test $ac_status = 0; }; then
6414      case `/usr/bin/file conftest.o` in
6415        *32-bit*)
6416          case $host in
# Line 6179 | Line 6459 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6459    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6460    SAVE_CFLAGS="$CFLAGS"
6461    CFLAGS="$CFLAGS -belf"
6462 <  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6462 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6463   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6464 < if test "${lt_cv_cc_needs_belf+set}" = set; then
6464 > if test "${lt_cv_cc_needs_belf+set}" = set; then :
6465    $as_echo_n "(cached) " >&6
6466   else
6467    ac_ext=c
# Line 6190 | Line 6470 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
6470   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6471   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6472  
6473 <     cat >conftest.$ac_ext <<_ACEOF
6194 < /* confdefs.h.  */
6195 < _ACEOF
6196 < cat confdefs.h >>conftest.$ac_ext
6197 < cat >>conftest.$ac_ext <<_ACEOF
6473 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6474   /* end confdefs.h.  */
6475  
6476   int
# Line 6205 | Line 6481 | main ()
6481    return 0;
6482   }
6483   _ACEOF
6484 < 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
6484 > if ac_fn_c_try_link "$LINENO"; then :
6485    lt_cv_cc_needs_belf=yes
6486   else
6487 <  $as_echo "$as_me: failed program was:" >&5
6232 < sed 's/^/| /' conftest.$ac_ext >&5
6233 <
6234 <        lt_cv_cc_needs_belf=no
6487 >  lt_cv_cc_needs_belf=no
6488   fi
6489 <
6490 < rm -rf conftest.dSYM
6238 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6239 <      conftest$ac_exeext conftest.$ac_ext
6489 > rm -f core conftest.err conftest.$ac_objext \
6490 >    conftest$ac_exeext conftest.$ac_ext
6491       ac_ext=c
6492   ac_cpp='$CPP $CPPFLAGS'
6493   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 6244 | Line 6495 | ac_link='$CC -o conftest$ac_exeext $CFLA
6495   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6496  
6497   fi
6498 < { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6498 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6499   $as_echo "$lt_cv_cc_needs_belf" >&6; }
6500    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6501      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
# Line 6254 | Line 6505 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6505   sparc*-*solaris*)
6506    # Find out which ABI we are using.
6507    echo 'int i;' > conftest.$ac_ext
6508 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6508 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6509    (eval $ac_compile) 2>&5
6510    ac_status=$?
6511 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 <  (exit $ac_status); }; then
6511 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6512 >  test $ac_status = 0; }; then
6513      case `/usr/bin/file conftest.o` in
6514      *64-bit*)
6515        case $lt_cv_prog_gnu_ld in
# Line 6284 | Line 6535 | need_locks="$enable_libtool_lock"
6535      if test -n "$ac_tool_prefix"; then
6536    # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6537   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6538 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6538 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6539   $as_echo_n "checking for $ac_word... " >&6; }
6540 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6540 > if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6541    $as_echo_n "(cached) " >&6
6542   else
6543    if test -n "$DSYMUTIL"; then
# Line 6297 | Line 6548 | for as_dir in $PATH
6548   do
6549    IFS=$as_save_IFS
6550    test -z "$as_dir" && as_dir=.
6551 <  for ac_exec_ext in '' $ac_executable_extensions; do
6551 >    for ac_exec_ext in '' $ac_executable_extensions; do
6552    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6553      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6554 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6554 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6555      break 2
6556    fi
6557   done
6558 < done
6558 >  done
6559   IFS=$as_save_IFS
6560  
6561   fi
6562   fi
6563   DSYMUTIL=$ac_cv_prog_DSYMUTIL
6564   if test -n "$DSYMUTIL"; then
6565 <  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6565 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6566   $as_echo "$DSYMUTIL" >&6; }
6567   else
6568 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6568 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6569   $as_echo "no" >&6; }
6570   fi
6571  
# Line 6324 | Line 6575 | if test -z "$ac_cv_prog_DSYMUTIL"; then
6575    ac_ct_DSYMUTIL=$DSYMUTIL
6576    # Extract the first word of "dsymutil", so it can be a program name with args.
6577   set dummy dsymutil; ac_word=$2
6578 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6578 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579   $as_echo_n "checking for $ac_word... " >&6; }
6580 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6580 > if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6581    $as_echo_n "(cached) " >&6
6582   else
6583    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6337 | Line 6588 | for as_dir in $PATH
6588   do
6589    IFS=$as_save_IFS
6590    test -z "$as_dir" && as_dir=.
6591 <  for ac_exec_ext in '' $ac_executable_extensions; do
6591 >    for ac_exec_ext in '' $ac_executable_extensions; do
6592    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6593      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6594 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6595      break 2
6596    fi
6597   done
6598 < done
6598 >  done
6599   IFS=$as_save_IFS
6600  
6601   fi
6602   fi
6603   ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6604   if test -n "$ac_ct_DSYMUTIL"; then
6605 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6605 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6606   $as_echo "$ac_ct_DSYMUTIL" >&6; }
6607   else
6608 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6608 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609   $as_echo "no" >&6; }
6610   fi
6611  
# Line 6363 | Line 6614 | fi
6614    else
6615      case $cross_compiling:$ac_tool_warned in
6616   yes:)
6617 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6617 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6618   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6619   ac_tool_warned=yes ;;
6620   esac
# Line 6376 | Line 6627 | fi
6627      if test -n "$ac_tool_prefix"; then
6628    # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6629   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6630 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6630 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631   $as_echo_n "checking for $ac_word... " >&6; }
6632 < if test "${ac_cv_prog_NMEDIT+set}" = set; then
6632 > if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6633    $as_echo_n "(cached) " >&6
6634   else
6635    if test -n "$NMEDIT"; then
# Line 6389 | Line 6640 | for as_dir in $PATH
6640   do
6641    IFS=$as_save_IFS
6642    test -z "$as_dir" && as_dir=.
6643 <  for ac_exec_ext in '' $ac_executable_extensions; do
6643 >    for ac_exec_ext in '' $ac_executable_extensions; do
6644    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6645      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6646 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6646 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6647      break 2
6648    fi
6649   done
6650 < done
6650 >  done
6651   IFS=$as_save_IFS
6652  
6653   fi
6654   fi
6655   NMEDIT=$ac_cv_prog_NMEDIT
6656   if test -n "$NMEDIT"; then
6657 <  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6657 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6658   $as_echo "$NMEDIT" >&6; }
6659   else
6660 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6660 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661   $as_echo "no" >&6; }
6662   fi
6663  
# Line 6416 | Line 6667 | if test -z "$ac_cv_prog_NMEDIT"; then
6667    ac_ct_NMEDIT=$NMEDIT
6668    # Extract the first word of "nmedit", so it can be a program name with args.
6669   set dummy nmedit; ac_word=$2
6670 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6670 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6671   $as_echo_n "checking for $ac_word... " >&6; }
6672 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6672 > if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6673    $as_echo_n "(cached) " >&6
6674   else
6675    if test -n "$ac_ct_NMEDIT"; then
# Line 6429 | Line 6680 | for as_dir in $PATH
6680   do
6681    IFS=$as_save_IFS
6682    test -z "$as_dir" && as_dir=.
6683 <  for ac_exec_ext in '' $ac_executable_extensions; do
6683 >    for ac_exec_ext in '' $ac_executable_extensions; do
6684    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685      ac_cv_prog_ac_ct_NMEDIT="nmedit"
6686 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6686 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6687      break 2
6688    fi
6689   done
6690 < done
6690 >  done
6691   IFS=$as_save_IFS
6692  
6693   fi
6694   fi
6695   ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6696   if test -n "$ac_ct_NMEDIT"; then
6697 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6697 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6698   $as_echo "$ac_ct_NMEDIT" >&6; }
6699   else
6700 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6700 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701   $as_echo "no" >&6; }
6702   fi
6703  
# Line 6455 | Line 6706 | fi
6706    else
6707      case $cross_compiling:$ac_tool_warned in
6708   yes:)
6709 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6709 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6710   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6711   ac_tool_warned=yes ;;
6712   esac
# Line 6468 | Line 6719 | fi
6719      if test -n "$ac_tool_prefix"; then
6720    # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6721   set dummy ${ac_tool_prefix}lipo; ac_word=$2
6722 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6722 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723   $as_echo_n "checking for $ac_word... " >&6; }
6724 < if test "${ac_cv_prog_LIPO+set}" = set; then
6724 > if test "${ac_cv_prog_LIPO+set}" = set; then :
6725    $as_echo_n "(cached) " >&6
6726   else
6727    if test -n "$LIPO"; then
# Line 6481 | Line 6732 | for as_dir in $PATH
6732   do
6733    IFS=$as_save_IFS
6734    test -z "$as_dir" && as_dir=.
6735 <  for ac_exec_ext in '' $ac_executable_extensions; do
6735 >    for ac_exec_ext in '' $ac_executable_extensions; do
6736    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6737      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6738 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6738 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739      break 2
6740    fi
6741   done
6742 < done
6742 >  done
6743   IFS=$as_save_IFS
6744  
6745   fi
6746   fi
6747   LIPO=$ac_cv_prog_LIPO
6748   if test -n "$LIPO"; then
6749 <  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6749 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6750   $as_echo "$LIPO" >&6; }
6751   else
6752 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6752 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753   $as_echo "no" >&6; }
6754   fi
6755  
# Line 6508 | Line 6759 | if test -z "$ac_cv_prog_LIPO"; then
6759    ac_ct_LIPO=$LIPO
6760    # Extract the first word of "lipo", so it can be a program name with args.
6761   set dummy lipo; ac_word=$2
6762 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6762 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763   $as_echo_n "checking for $ac_word... " >&6; }
6764 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6764 > if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6765    $as_echo_n "(cached) " >&6
6766   else
6767    if test -n "$ac_ct_LIPO"; then
# Line 6521 | Line 6772 | for as_dir in $PATH
6772   do
6773    IFS=$as_save_IFS
6774    test -z "$as_dir" && as_dir=.
6775 <  for ac_exec_ext in '' $ac_executable_extensions; do
6775 >    for ac_exec_ext in '' $ac_executable_extensions; do
6776    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6777      ac_cv_prog_ac_ct_LIPO="lipo"
6778 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6778 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6779      break 2
6780    fi
6781   done
6782 < done
6782 >  done
6783   IFS=$as_save_IFS
6784  
6785   fi
6786   fi
6787   ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6788   if test -n "$ac_ct_LIPO"; then
6789 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6789 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6790   $as_echo "$ac_ct_LIPO" >&6; }
6791   else
6792 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6792 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793   $as_echo "no" >&6; }
6794   fi
6795  
# Line 6547 | Line 6798 | fi
6798    else
6799      case $cross_compiling:$ac_tool_warned in
6800   yes:)
6801 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6801 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6802   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6803   ac_tool_warned=yes ;;
6804   esac
# Line 6560 | Line 6811 | fi
6811      if test -n "$ac_tool_prefix"; then
6812    # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6813   set dummy ${ac_tool_prefix}otool; ac_word=$2
6814 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6814 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6815   $as_echo_n "checking for $ac_word... " >&6; }
6816 < if test "${ac_cv_prog_OTOOL+set}" = set; then
6816 > if test "${ac_cv_prog_OTOOL+set}" = set; then :
6817    $as_echo_n "(cached) " >&6
6818   else
6819    if test -n "$OTOOL"; then
# Line 6573 | Line 6824 | for as_dir in $PATH
6824   do
6825    IFS=$as_save_IFS
6826    test -z "$as_dir" && as_dir=.
6827 <  for ac_exec_ext in '' $ac_executable_extensions; do
6827 >    for ac_exec_ext in '' $ac_executable_extensions; do
6828    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6829      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6830 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6830 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6831      break 2
6832    fi
6833   done
6834 < done
6834 >  done
6835   IFS=$as_save_IFS
6836  
6837   fi
6838   fi
6839   OTOOL=$ac_cv_prog_OTOOL
6840   if test -n "$OTOOL"; then
6841 <  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6841 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6842   $as_echo "$OTOOL" >&6; }
6843   else
6844 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6844 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6845   $as_echo "no" >&6; }
6846   fi
6847  
# Line 6600 | Line 6851 | if test -z "$ac_cv_prog_OTOOL"; then
6851    ac_ct_OTOOL=$OTOOL
6852    # Extract the first word of "otool", so it can be a program name with args.
6853   set dummy otool; ac_word=$2
6854 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6854 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855   $as_echo_n "checking for $ac_word... " >&6; }
6856 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6856 > if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6857    $as_echo_n "(cached) " >&6
6858   else
6859    if test -n "$ac_ct_OTOOL"; then
# Line 6613 | Line 6864 | for as_dir in $PATH
6864   do
6865    IFS=$as_save_IFS
6866    test -z "$as_dir" && as_dir=.
6867 <  for ac_exec_ext in '' $ac_executable_extensions; do
6867 >    for ac_exec_ext in '' $ac_executable_extensions; do
6868    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869      ac_cv_prog_ac_ct_OTOOL="otool"
6870 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6870 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871      break 2
6872    fi
6873   done
6874 < done
6874 >  done
6875   IFS=$as_save_IFS
6876  
6877   fi
6878   fi
6879   ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6880   if test -n "$ac_ct_OTOOL"; then
6881 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6881 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6882   $as_echo "$ac_ct_OTOOL" >&6; }
6883   else
6884 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6884 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885   $as_echo "no" >&6; }
6886   fi
6887  
# Line 6639 | Line 6890 | fi
6890    else
6891      case $cross_compiling:$ac_tool_warned in
6892   yes:)
6893 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6893 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6894   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6895   ac_tool_warned=yes ;;
6896   esac
# Line 6652 | Line 6903 | fi
6903      if test -n "$ac_tool_prefix"; then
6904    # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6905   set dummy ${ac_tool_prefix}otool64; ac_word=$2
6906 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6906 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6907   $as_echo_n "checking for $ac_word... " >&6; }
6908 < if test "${ac_cv_prog_OTOOL64+set}" = set; then
6908 > if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6909    $as_echo_n "(cached) " >&6
6910   else
6911    if test -n "$OTOOL64"; then
# Line 6665 | Line 6916 | for as_dir in $PATH
6916   do
6917    IFS=$as_save_IFS
6918    test -z "$as_dir" && as_dir=.
6919 <  for ac_exec_ext in '' $ac_executable_extensions; do
6919 >    for ac_exec_ext in '' $ac_executable_extensions; do
6920    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6921      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6922 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6922 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6923      break 2
6924    fi
6925   done
6926 < done
6926 >  done
6927   IFS=$as_save_IFS
6928  
6929   fi
6930   fi
6931   OTOOL64=$ac_cv_prog_OTOOL64
6932   if test -n "$OTOOL64"; then
6933 <  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6933 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6934   $as_echo "$OTOOL64" >&6; }
6935   else
6936 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6936 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6937   $as_echo "no" >&6; }
6938   fi
6939  
# Line 6692 | Line 6943 | if test -z "$ac_cv_prog_OTOOL64"; then
6943    ac_ct_OTOOL64=$OTOOL64
6944    # Extract the first word of "otool64", so it can be a program name with args.
6945   set dummy otool64; ac_word=$2
6946 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6946 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947   $as_echo_n "checking for $ac_word... " >&6; }
6948 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6948 > if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6949    $as_echo_n "(cached) " >&6
6950   else
6951    if test -n "$ac_ct_OTOOL64"; then
# Line 6705 | Line 6956 | for as_dir in $PATH
6956   do
6957    IFS=$as_save_IFS
6958    test -z "$as_dir" && as_dir=.
6959 <  for ac_exec_ext in '' $ac_executable_extensions; do
6959 >    for ac_exec_ext in '' $ac_executable_extensions; do
6960    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961      ac_cv_prog_ac_ct_OTOOL64="otool64"
6962 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963      break 2
6964    fi
6965   done
6966 < done
6966 >  done
6967   IFS=$as_save_IFS
6968  
6969   fi
6970   fi
6971   ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6972   if test -n "$ac_ct_OTOOL64"; then
6973 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6973 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6974   $as_echo "$ac_ct_OTOOL64" >&6; }
6975   else
6976 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6976 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977   $as_echo "no" >&6; }
6978   fi
6979  
# Line 6731 | Line 6982 | fi
6982    else
6983      case $cross_compiling:$ac_tool_warned in
6984   yes:)
6985 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6985 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6986   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6987   ac_tool_warned=yes ;;
6988   esac
# Line 6767 | Line 7018 | fi
7018  
7019  
7020  
7021 <    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7021 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7022   $as_echo_n "checking for -single_module linker flag... " >&6; }
7023 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7023 > if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7024    $as_echo_n "(cached) " >&6
7025   else
7026    lt_cv_apple_cc_single_mod=no
# Line 6794 | Line 7045 | else
7045          rm -f conftest.*
7046        fi
7047   fi
7048 < { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7048 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7049   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7050 <    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7050 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7051   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7052 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7052 > if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7053    $as_echo_n "(cached) " >&6
7054   else
7055    lt_cv_ld_exported_symbols_list=no
7056        save_LDFLAGS=$LDFLAGS
7057        echo "_main" > conftest.sym
7058        LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7059 <      cat >conftest.$ac_ext <<_ACEOF
6809 < /* confdefs.h.  */
6810 < _ACEOF
6811 < cat confdefs.h >>conftest.$ac_ext
6812 < cat >>conftest.$ac_ext <<_ACEOF
7059 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7060   /* end confdefs.h.  */
7061  
7062   int
# Line 6820 | Line 7067 | main ()
7067    return 0;
7068   }
7069   _ACEOF
7070 < 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
7070 > if ac_fn_c_try_link "$LINENO"; then :
7071    lt_cv_ld_exported_symbols_list=yes
7072   else
7073 <  $as_echo "$as_me: failed program was:" >&5
6847 < sed 's/^/| /' conftest.$ac_ext >&5
6848 <
6849 <        lt_cv_ld_exported_symbols_list=no
7073 >  lt_cv_ld_exported_symbols_list=no
7074   fi
7075 <
7076 < rm -rf conftest.dSYM
6853 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6854 <      conftest$ac_exeext conftest.$ac_ext
7075 > rm -f core conftest.err conftest.$ac_objext \
7076 >    conftest$ac_exeext conftest.$ac_ext
7077          LDFLAGS="$save_LDFLAGS"
7078  
7079   fi
7080 < { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7080 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7081   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7082      case $host_os in
7083      rhapsody* | darwin1.[012])
# Line 6897 | Line 7119 | ac_cpp='$CPP $CPPFLAGS'
7119   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122 < { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7122 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7123   $as_echo_n "checking how to run the C preprocessor... " >&6; }
7124   # On Suns, sometimes $CPP names a directory.
7125   if test -n "$CPP" && test -d "$CPP"; then
7126    CPP=
7127   fi
7128   if test -z "$CPP"; then
7129 <  if test "${ac_cv_prog_CPP+set}" = set; then
7129 >  if test "${ac_cv_prog_CPP+set}" = set; then :
7130    $as_echo_n "(cached) " >&6
7131   else
7132        # Double quotes because CPP needs to be expanded
# Line 6919 | Line 7141 | do
7141    # <limits.h> exists even on freestanding compilers.
7142    # On the NeXT, cc -E runs the code through the compiler's parser,
7143    # not just through cpp. "Syntax error" is here to catch this case.
7144 <  cat >conftest.$ac_ext <<_ACEOF
6923 < /* confdefs.h.  */
6924 < _ACEOF
6925 < cat confdefs.h >>conftest.$ac_ext
6926 < cat >>conftest.$ac_ext <<_ACEOF
7144 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7145   /* end confdefs.h.  */
7146   #ifdef __STDC__
7147   # include <limits.h>
# Line 6932 | Line 7150 | cat >>conftest.$ac_ext <<_ACEOF
7150   #endif
7151                       Syntax error
7152   _ACEOF
7153 < 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
7153 > if ac_fn_c_try_cpp "$LINENO"; then :
7154  
7155 + else
7156    # Broken: fails on valid input.
7157   continue
7158   fi
6960
7159   rm -f conftest.err conftest.$ac_ext
7160  
7161    # OK, works on sane cases.  Now check whether nonexistent headers
7162    # can be detected and how.
7163 <  cat >conftest.$ac_ext <<_ACEOF
6966 < /* confdefs.h.  */
6967 < _ACEOF
6968 < cat confdefs.h >>conftest.$ac_ext
6969 < cat >>conftest.$ac_ext <<_ACEOF
7163 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164   /* end confdefs.h.  */
7165   #include <ac_nonexistent.h>
7166   _ACEOF
7167 < 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
7167 > if ac_fn_c_try_cpp "$LINENO"; then :
7168    # Broken: success on invalid input.
7169   continue
7170   else
6993  $as_echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.$ac_ext >&5
6995
7171    # Passes both tests.
7172   ac_preproc_ok=:
7173   break
7174   fi
7000
7175   rm -f conftest.err conftest.$ac_ext
7176  
7177   done
7178   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7179   rm -f conftest.err conftest.$ac_ext
7180 < if $ac_preproc_ok; then
7180 > if $ac_preproc_ok; then :
7181    break
7182   fi
7183  
# Line 7015 | Line 7189 | fi
7189   else
7190    ac_cv_prog_CPP=$CPP
7191   fi
7192 < { $as_echo "$as_me:$LINENO: result: $CPP" >&5
7192 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7193   $as_echo "$CPP" >&6; }
7194   ac_preproc_ok=false
7195   for ac_c_preproc_warn_flag in '' yes
# Line 7026 | Line 7200 | do
7200    # <limits.h> exists even on freestanding compilers.
7201    # On the NeXT, cc -E runs the code through the compiler's parser,
7202    # not just through cpp. "Syntax error" is here to catch this case.
7203 <  cat >conftest.$ac_ext <<_ACEOF
7030 < /* confdefs.h.  */
7031 < _ACEOF
7032 < cat confdefs.h >>conftest.$ac_ext
7033 < cat >>conftest.$ac_ext <<_ACEOF
7203 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7204   /* end confdefs.h.  */
7205   #ifdef __STDC__
7206   # include <limits.h>
# Line 7039 | Line 7209 | cat >>conftest.$ac_ext <<_ACEOF
7209   #endif
7210                       Syntax error
7211   _ACEOF
7212 < 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
7212 > if ac_fn_c_try_cpp "$LINENO"; then :
7213  
7214 + else
7215    # Broken: fails on valid input.
7216   continue
7217   fi
7067
7218   rm -f conftest.err conftest.$ac_ext
7219  
7220    # OK, works on sane cases.  Now check whether nonexistent headers
7221    # can be detected and how.
7222 <  cat >conftest.$ac_ext <<_ACEOF
7073 < /* confdefs.h.  */
7074 < _ACEOF
7075 < cat confdefs.h >>conftest.$ac_ext
7076 < cat >>conftest.$ac_ext <<_ACEOF
7222 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223   /* end confdefs.h.  */
7224   #include <ac_nonexistent.h>
7225   _ACEOF
7226 < 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
7226 > if ac_fn_c_try_cpp "$LINENO"; then :
7227    # Broken: success on invalid input.
7228   continue
7229   else
7100  $as_echo "$as_me: failed program was:" >&5
7101 sed 's/^/| /' conftest.$ac_ext >&5
7102
7230    # Passes both tests.
7231   ac_preproc_ok=:
7232   break
7233   fi
7107
7234   rm -f conftest.err conftest.$ac_ext
7235  
7236   done
7237   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7238   rm -f conftest.err conftest.$ac_ext
7239 < if $ac_preproc_ok; then
7240 <  :
7239 > if $ac_preproc_ok; then :
7240 >
7241   else
7242 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7242 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7243   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7244 < { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7245 < 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; }; }; }
7244 > as_fn_error "C preprocessor \"$CPP\" fails sanity check
7245 > See \`config.log' for more details." "$LINENO" 5; }
7246   fi
7247  
7248   ac_ext=c
# Line 7129 | Line 7252 | ac_link='$CC -o conftest$ac_exeext $CFLA
7252   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7253  
7254  
7255 < { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7255 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7256   $as_echo_n "checking for ANSI C header files... " >&6; }
7257 < if test "${ac_cv_header_stdc+set}" = set; then
7257 > if test "${ac_cv_header_stdc+set}" = set; then :
7258    $as_echo_n "(cached) " >&6
7259   else
7260 <  cat >conftest.$ac_ext <<_ACEOF
7138 < /* confdefs.h.  */
7139 < _ACEOF
7140 < cat confdefs.h >>conftest.$ac_ext
7141 < cat >>conftest.$ac_ext <<_ACEOF
7260 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261   /* end confdefs.h.  */
7262   #include <stdlib.h>
7263   #include <stdarg.h>
# Line 7153 | Line 7272 | main ()
7272    return 0;
7273   }
7274   _ACEOF
7275 < 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
7275 > if ac_fn_c_try_compile "$LINENO"; then :
7276    ac_cv_header_stdc=yes
7277   else
7278 <  $as_echo "$as_me: failed program was:" >&5
7177 < sed 's/^/| /' conftest.$ac_ext >&5
7178 <
7179 <        ac_cv_header_stdc=no
7278 >  ac_cv_header_stdc=no
7279   fi
7181
7280   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7281  
7282   if test $ac_cv_header_stdc = yes; then
7283    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7284 <  cat >conftest.$ac_ext <<_ACEOF
7187 < /* confdefs.h.  */
7188 < _ACEOF
7189 < cat confdefs.h >>conftest.$ac_ext
7190 < cat >>conftest.$ac_ext <<_ACEOF
7284 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285   /* end confdefs.h.  */
7286   #include <string.h>
7287  
7288   _ACEOF
7289   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7290 <  $EGREP "memchr" >/dev/null 2>&1; then
7291 <  :
7290 >  $EGREP "memchr" >/dev/null 2>&1; then :
7291 >
7292   else
7293    ac_cv_header_stdc=no
7294   fi
# Line 7204 | Line 7298 | fi
7298  
7299   if test $ac_cv_header_stdc = yes; then
7300    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7301 <  cat >conftest.$ac_ext <<_ACEOF
7208 < /* confdefs.h.  */
7209 < _ACEOF
7210 < cat confdefs.h >>conftest.$ac_ext
7211 < cat >>conftest.$ac_ext <<_ACEOF
7301 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7302   /* end confdefs.h.  */
7303   #include <stdlib.h>
7304  
7305   _ACEOF
7306   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7307 <  $EGREP "free" >/dev/null 2>&1; then
7308 <  :
7307 >  $EGREP "free" >/dev/null 2>&1; then :
7308 >
7309   else
7310    ac_cv_header_stdc=no
7311   fi
# Line 7225 | Line 7315 | fi
7315  
7316   if test $ac_cv_header_stdc = yes; then
7317    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7318 <  if test "$cross_compiling" = yes; then
7318 >  if test "$cross_compiling" = yes; then :
7319    :
7320   else
7321 <  cat >conftest.$ac_ext <<_ACEOF
7232 < /* confdefs.h.  */
7233 < _ACEOF
7234 < cat confdefs.h >>conftest.$ac_ext
7235 < cat >>conftest.$ac_ext <<_ACEOF
7321 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7322   /* end confdefs.h.  */
7323   #include <ctype.h>
7324   #include <stdlib.h>
# Line 7259 | Line 7345 | main ()
7345    return 0;
7346   }
7347   _ACEOF
7348 < 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
7348 > if ac_fn_c_try_run "$LINENO"; then :
7349  
7350 < ( exit $ac_status )
7351 < ac_cv_header_stdc=no
7350 > else
7351 >  ac_cv_header_stdc=no
7352   fi
7353 < rm -rf conftest.dSYM
7354 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7353 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7354 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
7355   fi
7356  
7297
7357   fi
7358   fi
7359 < { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7359 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7360   $as_echo "$ac_cv_header_stdc" >&6; }
7361   if test $ac_cv_header_stdc = yes; then
7362  
7363 < cat >>confdefs.h <<\_ACEOF
7305 < #define STDC_HEADERS 1
7306 < _ACEOF
7363 > $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7364  
7365   fi
7366  
7367   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7311
7312
7313
7314
7315
7316
7317
7318
7319
7368   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7369                    inttypes.h stdint.h unistd.h
7370 < do
7371 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7372 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7373 < $as_echo_n "checking for $ac_header... " >&6; }
7374 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7375 <  $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
7370 > do :
7371 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7372 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7373 > "
7374 > eval as_val=\$$as_ac_Header
7375 >   if test "x$as_val" = x""yes; then :
7376    cat >>confdefs.h <<_ACEOF
7377   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7378   _ACEOF
# Line 7380 | Line 7382 | fi
7382   done
7383  
7384  
7383
7385   for ac_header in dlfcn.h
7386 < do
7387 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7388 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7389 < $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
7386 > do :
7387 >  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7388 > "
7389 > if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7390    cat >>confdefs.h <<_ACEOF
7391 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7391 > #define HAVE_DLFCN_H 1
7392   _ACEOF
7393  
7394   fi
# Line 7446 | Line 7399 | done
7399  
7400   # Set options
7401   enable_dlopen=yes
7402 <
7403 <
7404 <
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}
7402 > # Check whether --enable-static was given.
7403 > if test "${enable_static+set}" = set; then :
7404 >  enableval=$enable_static; p=${PACKAGE-default}
7405      case $enableval in
7406 <    yes) enable_shared=yes ;;
7407 <    no) enable_shared=no ;;
7406 >    yes) enable_static=yes ;;
7407 >    no) enable_static=no ;;
7408      *)
7409 <      enable_shared=no
7409 >     enable_static=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_shared=yes
7415 >          enable_static=yes
7416          fi
7417        done
7418        IFS="$lt_save_ifs"
7419        ;;
7420      esac
7421   else
7422 <  enable_shared=yes
7422 >  enable_static=no
7423   fi
7424  
7425  
# Line 7484 | Line 7430 | fi
7430  
7431  
7432  
7433 <  # Check whether --enable-static was given.
7434 < if test "${enable_static+set}" = set; then
7435 <  enableval=$enable_static; p=${PACKAGE-default}
7433 >
7434 >
7435 >  enable_win32_dll=no
7436 >
7437 >
7438 >            # Check whether --enable-shared was given.
7439 > if test "${enable_shared+set}" = set; then :
7440 >  enableval=$enable_shared; p=${PACKAGE-default}
7441      case $enableval in
7442 <    yes) enable_static=yes ;;
7443 <    no) enable_static=no ;;
7442 >    yes) enable_shared=yes ;;
7443 >    no) enable_shared=no ;;
7444      *)
7445 <     enable_static=no
7445 >      enable_shared=no
7446        # Look at the argument we got.  We use all the common list separators.
7447        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7448        for pkg in $enableval; do
7449          IFS="$lt_save_ifs"
7450          if test "X$pkg" = "X$p"; then
7451 <          enable_static=yes
7451 >          enable_shared=yes
7452          fi
7453        done
7454        IFS="$lt_save_ifs"
7455        ;;
7456      esac
7457   else
7458 <  enable_static=yes
7458 >  enable_shared=yes
7459   fi
7460  
7461  
# Line 7516 | Line 7467 | fi
7467  
7468  
7469  
7470 +
7471   # Check whether --with-pic was given.
7472 < if test "${with_pic+set}" = set; then
7472 > if test "${with_pic+set}" = set; then :
7473    withval=$with_pic; pic_mode="$withval"
7474   else
7475    pic_mode=default
# Line 7533 | Line 7485 | test -z "$pic_mode" && pic_mode=default
7485  
7486  
7487    # Check whether --enable-fast-install was given.
7488 < if test "${enable_fast_install+set}" = set; then
7488 > if test "${enable_fast_install+set}" = set; then :
7489    enableval=$enable_fast_install; p=${PACKAGE-default}
7490      case $enableval in
7491      yes) enable_fast_install=yes ;;
# Line 7614 | Line 7566 | if test -n "${ZSH_VERSION+set}" ; then
7566     setopt NO_GLOB_SUBST
7567   fi
7568  
7569 < { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7569 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7570   $as_echo_n "checking for objdir... " >&6; }
7571 < if test "${lt_cv_objdir+set}" = set; then
7571 > if test "${lt_cv_objdir+set}" = set; then :
7572    $as_echo_n "(cached) " >&6
7573   else
7574    rm -f .libs 2>/dev/null
# Line 7629 | Line 7581 | else
7581   fi
7582   rmdir .libs 2>/dev/null
7583   fi
7584 < { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7584 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7585   $as_echo "$lt_cv_objdir" >&6; }
7586   objdir=$lt_cv_objdir
7587  
# Line 7722 | Line 7674 | test -z "$MAGIC_CMD" && MAGIC_CMD=file
7674   case $deplibs_check_method in
7675   file_magic*)
7676    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7677 <    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7677 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7678   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7679 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7679 > if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7680    $as_echo_n "(cached) " >&6
7681   else
7682    case $MAGIC_CMD in
# Line 7775 | Line 7727 | fi
7727  
7728   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7729   if test -n "$MAGIC_CMD"; then
7730 <  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7730 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7731   $as_echo "$MAGIC_CMD" >&6; }
7732   else
7733 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7733 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7734   $as_echo "no" >&6; }
7735   fi
7736  
# Line 7788 | Line 7740 | fi
7740  
7741   if test -z "$lt_cv_path_MAGIC_CMD"; then
7742    if test -n "$ac_tool_prefix"; then
7743 <    { $as_echo "$as_me:$LINENO: checking for file" >&5
7743 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7744   $as_echo_n "checking for file... " >&6; }
7745 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7745 > if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7746    $as_echo_n "(cached) " >&6
7747   else
7748    case $MAGIC_CMD in
# Line 7841 | Line 7793 | fi
7793  
7794   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7795   if test -n "$MAGIC_CMD"; then
7796 <  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7796 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7797   $as_echo "$MAGIC_CMD" >&6; }
7798   else
7799 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7799 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7800   $as_echo "no" >&6; }
7801   fi
7802  
# Line 7921 | Line 7873 | lt_prog_compiler_no_builtin_flag=
7873   if test "$GCC" = yes; then
7874    lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7875  
7876 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7876 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7877   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7878 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7878 > if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7879    $as_echo_n "(cached) " >&6
7880   else
7881    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7939 | Line 7891 | else
7891     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7892     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7893     -e 's:$: $lt_compiler_flag:'`
7894 <   (eval echo "\"\$as_me:7942: $lt_compile\"" >&5)
7894 >   (eval echo "\"\$as_me:7894: $lt_compile\"" >&5)
7895     (eval "$lt_compile" 2>conftest.err)
7896     ac_status=$?
7897     cat conftest.err >&5
7898 <   echo "$as_me:7946: \$? = $ac_status" >&5
7898 >   echo "$as_me:7898: \$? = $ac_status" >&5
7899     if (exit $ac_status) && test -s "$ac_outfile"; then
7900       # The compiler can only warn and ignore the option if not recognized
7901       # So say no if there are warnings other than the usual output.
# Line 7956 | Line 7908 | else
7908     $RM conftest*
7909  
7910   fi
7911 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7911 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7912   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7913  
7914   if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
# Line 7976 | Line 7928 | fi
7928   lt_prog_compiler_pic=
7929   lt_prog_compiler_static=
7930  
7931 < { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7931 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7932   $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7933  
7934    if test "$GCC" = yes; then
# Line 8248 | Line 8200 | case $host_os in
8200      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8201      ;;
8202   esac
8203 < { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8203 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8204   $as_echo "$lt_prog_compiler_pic" >&6; }
8205  
8206  
# Line 8260 | Line 8212 | $as_echo "$lt_prog_compiler_pic" >&6; }
8212   # Check to make sure the PIC flag actually works.
8213   #
8214   if test -n "$lt_prog_compiler_pic"; then
8215 <  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8215 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8216   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8217 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8217 > if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8218    $as_echo_n "(cached) " >&6
8219   else
8220    lt_cv_prog_compiler_pic_works=no
# Line 8278 | Line 8230 | else
8230     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8231     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8232     -e 's:$: $lt_compiler_flag:'`
8233 <   (eval echo "\"\$as_me:8281: $lt_compile\"" >&5)
8233 >   (eval echo "\"\$as_me:8233: $lt_compile\"" >&5)
8234     (eval "$lt_compile" 2>conftest.err)
8235     ac_status=$?
8236     cat conftest.err >&5
8237 <   echo "$as_me:8285: \$? = $ac_status" >&5
8237 >   echo "$as_me:8237: \$? = $ac_status" >&5
8238     if (exit $ac_status) && test -s "$ac_outfile"; then
8239       # The compiler can only warn and ignore the option if not recognized
8240       # So say no if there are warnings other than the usual output.
# Line 8295 | Line 8247 | else
8247     $RM conftest*
8248  
8249   fi
8250 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8250 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8251   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8252  
8253   if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
# Line 8319 | Line 8271 | fi
8271   # Check to make sure the static flag actually works.
8272   #
8273   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8274 < { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8274 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8275   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8276 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8276 > if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8277    $as_echo_n "(cached) " >&6
8278   else
8279    lt_cv_prog_compiler_static_works=no
# Line 8347 | Line 8299 | else
8299     LDFLAGS="$save_LDFLAGS"
8300  
8301   fi
8302 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8302 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8303   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8304  
8305   if test x"$lt_cv_prog_compiler_static_works" = xyes; then
# Line 8362 | Line 8314 | fi
8314  
8315  
8316  
8317 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8317 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8318   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8319 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8319 > if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8320    $as_echo_n "(cached) " >&6
8321   else
8322    lt_cv_prog_compiler_c_o=no
# Line 8383 | Line 8335 | else
8335     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8336     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8337     -e 's:$: $lt_compiler_flag:'`
8338 <   (eval echo "\"\$as_me:8386: $lt_compile\"" >&5)
8338 >   (eval echo "\"\$as_me:8338: $lt_compile\"" >&5)
8339     (eval "$lt_compile" 2>out/conftest.err)
8340     ac_status=$?
8341     cat out/conftest.err >&5
8342 <   echo "$as_me:8390: \$? = $ac_status" >&5
8342 >   echo "$as_me:8342: \$? = $ac_status" >&5
8343     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8344     then
8345       # The compiler can only warn and ignore the option if not recognized
# Line 8409 | Line 8361 | else
8361     $RM conftest*
8362  
8363   fi
8364 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8364 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8365   $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8366  
8367  
# Line 8417 | Line 8369 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8369  
8370  
8371  
8372 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8372 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8373   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8374 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8374 > if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8375    $as_echo_n "(cached) " >&6
8376   else
8377    lt_cv_prog_compiler_c_o=no
# Line 8438 | Line 8390 | else
8390     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8391     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8392     -e 's:$: $lt_compiler_flag:'`
8393 <   (eval echo "\"\$as_me:8441: $lt_compile\"" >&5)
8393 >   (eval echo "\"\$as_me:8393: $lt_compile\"" >&5)
8394     (eval "$lt_compile" 2>out/conftest.err)
8395     ac_status=$?
8396     cat out/conftest.err >&5
8397 <   echo "$as_me:8445: \$? = $ac_status" >&5
8397 >   echo "$as_me:8397: \$? = $ac_status" >&5
8398     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8399     then
8400       # The compiler can only warn and ignore the option if not recognized
# Line 8464 | Line 8416 | else
8416     $RM conftest*
8417  
8418   fi
8419 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8419 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8420   $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8421  
8422  
# Line 8473 | Line 8425 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8425   hard_links="nottested"
8426   if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8427    # do not overwrite the value of need_locks provided by the user
8428 <  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8428 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8429   $as_echo_n "checking if we can lock with hard links... " >&6; }
8430    hard_links=yes
8431    $RM conftest*
# Line 8481 | Line 8433 | $as_echo_n "checking if we can lock with
8433    touch conftest.a
8434    ln conftest.a conftest.b 2>&5 || hard_links=no
8435    ln conftest.a conftest.b 2>/dev/null && hard_links=no
8436 <  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8436 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8437   $as_echo "$hard_links" >&6; }
8438    if test "$hard_links" = no; then
8439 <    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8439 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8440   $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8441      need_locks=warn
8442    fi
# Line 8497 | Line 8449 | fi
8449  
8450  
8451  
8452 <  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8452 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8453   $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8454  
8455    runpath_var=
# Line 8940 | Line 8892 | _LT_EOF
8892          allow_undefined_flag='-berok'
8893          # Determine the default libpath from the value encoded in an
8894          # empty executable.
8895 <        cat >conftest.$ac_ext <<_ACEOF
8944 < /* confdefs.h.  */
8945 < _ACEOF
8946 < cat confdefs.h >>conftest.$ac_ext
8947 < cat >>conftest.$ac_ext <<_ACEOF
8895 >        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8896   /* end confdefs.h.  */
8897  
8898   int
# Line 8955 | Line 8903 | main ()
8903    return 0;
8904   }
8905   _ACEOF
8906 < 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
8906 > if ac_fn_c_try_link "$LINENO"; then :
8907  
8908   lt_aix_libpath_sed='
8909      /Import File Strings/,/^$/ {
# Line 8989 | Line 8917 | aix_libpath=`dump -H conftest$ac_exeext
8917   if test -z "$aix_libpath"; then
8918    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8919   fi
8992 else
8993  $as_echo "$as_me: failed program was:" >&5
8994 sed 's/^/| /' conftest.$ac_ext >&5
8995
8996
8920   fi
8921 <
8922 < rm -rf conftest.dSYM
9000 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9001 <      conftest$ac_exeext conftest.$ac_ext
8921 > rm -f core conftest.err conftest.$ac_objext \
8922 >    conftest$ac_exeext conftest.$ac_ext
8923   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8924  
8925          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 9011 | Line 8932 | if test -z "$aix_libpath"; then aix_libp
8932          else
8933           # Determine the default libpath from the value encoded in an
8934           # empty executable.
8935 <         cat >conftest.$ac_ext <<_ACEOF
9015 < /* confdefs.h.  */
9016 < _ACEOF
9017 < cat confdefs.h >>conftest.$ac_ext
9018 < cat >>conftest.$ac_ext <<_ACEOF
8935 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8936   /* end confdefs.h.  */
8937  
8938   int
# Line 9026 | Line 8943 | main ()
8943    return 0;
8944   }
8945   _ACEOF
8946 < 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
8946 > if ac_fn_c_try_link "$LINENO"; then :
8947  
8948   lt_aix_libpath_sed='
8949      /Import File Strings/,/^$/ {
# Line 9060 | Line 8957 | aix_libpath=`dump -H conftest$ac_exeext
8957   if test -z "$aix_libpath"; then
8958    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8959   fi
9063 else
9064  $as_echo "$as_me: failed program was:" >&5
9065 sed 's/^/| /' conftest.$ac_ext >&5
9066
9067
8960   fi
8961 <
8962 < rm -rf conftest.dSYM
9071 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9072 <      conftest$ac_exeext conftest.$ac_ext
8961 > rm -f core conftest.err conftest.$ac_objext \
8962 >    conftest$ac_exeext conftest.$ac_ext
8963   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8964  
8965           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 9281 | Line 9171 | if test -z "$aix_libpath"; then aix_libp
9171          # implicitly export all symbols.
9172          save_LDFLAGS="$LDFLAGS"
9173          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9174 <        cat >conftest.$ac_ext <<_ACEOF
9174 >        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 > /* end confdefs.h.  */
9176   int foo(void) {}
9177   _ACEOF
9178 < 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
9178 > if ac_fn_c_try_link "$LINENO"; then :
9179    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'
9180  
9310 else
9311  $as_echo "$as_me: failed program was:" >&5
9312 sed 's/^/| /' conftest.$ac_ext >&5
9313
9314
9181   fi
9182 <
9183 < rm -rf conftest.dSYM
9318 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9319 <      conftest$ac_exeext conftest.$ac_ext
9182 > rm -f core conftest.err conftest.$ac_objext \
9183 >    conftest$ac_exeext conftest.$ac_ext
9184          LDFLAGS="$save_LDFLAGS"
9185        else
9186          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 9436 | rm -f core conftest.err conftest.$ac_obj
9436      fi
9437    fi
9438  
9439 < { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9439 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9440   $as_echo "$ld_shlibs" >&6; }
9441   test "$ld_shlibs" = no && can_build_shared=no
9442  
# Line 9609 | Line 9473 | x|xyes)
9473        # Test whether the compiler implicitly links with -lc since on some
9474        # systems, -lgcc has to come before -lc. If gcc already passes -lc
9475        # to ld, don't add -lc before -lgcc.
9476 <      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9476 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9477   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9478        $RM conftest*
9479        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9480  
9481 <      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9481 >      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9482    (eval $ac_compile) 2>&5
9483    ac_status=$?
9484 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 <  (exit $ac_status); } 2>conftest.err; then
9484 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9485 >  test $ac_status = 0; } 2>conftest.err; then
9486          soname=conftest
9487          lib=conftest
9488          libobjs=conftest.$ac_objext
# Line 9632 | Line 9496 | $as_echo_n "checking whether -lc should
9496          libname=conftest
9497          lt_save_allow_undefined_flag=$allow_undefined_flag
9498          allow_undefined_flag=
9499 <        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9499 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9500    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9501    ac_status=$?
9502 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 <  (exit $ac_status); }
9502 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9503 >  test $ac_status = 0; }
9504          then
9505            archive_cmds_need_lc=no
9506          else
# Line 9647 | Line 9511 | $as_echo_n "checking whether -lc should
9511          cat conftest.err 1>&5
9512        fi
9513        $RM conftest*
9514 <      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9514 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9515   $as_echo "$archive_cmds_need_lc" >&6; }
9516        ;;
9517      esac
# Line 9811 | Line 9675 | esac
9675  
9676  
9677  
9678 <  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9678 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9679   $as_echo_n "checking dynamic linker characteristics... " >&6; }
9680  
9681   if test "$GCC" = yes; then
# Line 10233 | Line 10097 | linux* | k*bsd*-gnu)
10097    save_libdir=$libdir
10098    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10099         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10100 <  cat >conftest.$ac_ext <<_ACEOF
10237 < /* confdefs.h.  */
10238 < _ACEOF
10239 < cat confdefs.h >>conftest.$ac_ext
10240 < cat >>conftest.$ac_ext <<_ACEOF
10100 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101   /* end confdefs.h.  */
10102  
10103   int
# Line 10248 | Line 10108 | main ()
10108    return 0;
10109   }
10110   _ACEOF
10111 < rm -f conftest.$ac_objext conftest$ac_exeext
10112 < 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
10111 > if ac_fn_c_try_link "$LINENO"; then :
10112 >  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10113    shlibpath_overrides_runpath=yes
10114   fi
10275
10276 else
10277  $as_echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.$ac_ext >&5
10279
10280
10115   fi
10116 <
10117 < rm -rf conftest.dSYM
10284 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10285 <      conftest$ac_exeext conftest.$ac_ext
10116 > rm -f core conftest.err conftest.$ac_objext \
10117 >    conftest$ac_exeext conftest.$ac_ext
10118    LDFLAGS=$save_LDFLAGS
10119    libdir=$save_libdir
10120  
# Line 10295 | Line 10127 | rm -f core conftest.err conftest.$ac_obj
10127    libsuff=
10128    case "$host_cpu" in
10129    x86_64*|s390x*|powerpc64*)
10130 <    echo '#line 10298 "configure"' > conftest.$ac_ext
10131 <    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10130 >    echo '#line 10130 "configure"' > conftest.$ac_ext
10131 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10132    (eval $ac_compile) 2>&5
10133    ac_status=$?
10134 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 <  (exit $ac_status); }; then
10134 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10135 >  test $ac_status = 0; }; then
10136        case `/usr/bin/file conftest.$ac_objext` in
10137        *64-bit*)
10138          libsuff=64
# Line 10516 | Line 10348 | uts4*)
10348    dynamic_linker=no
10349    ;;
10350   esac
10351 < { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10351 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10352   $as_echo "$dynamic_linker" >&6; }
10353   test "$dynamic_linker" = no && can_build_shared=no
10354  
# Line 10618 | Line 10450 | fi
10450  
10451  
10452  
10453 <  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10453 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10454   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10455   hardcode_action=
10456   if test -n "$hardcode_libdir_flag_spec" ||
# Line 10643 | Line 10475 | else
10475    # directories.
10476    hardcode_action=unsupported
10477   fi
10478 < { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10478 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10479   $as_echo "$hardcode_action" >&6; }
10480  
10481   if test "$hardcode_action" = relink ||
# Line 10688 | Line 10520 | else
10520  
10521    darwin*)
10522    # if libdl is installed we need to link against it
10523 <    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10523 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10524   $as_echo_n "checking for dlopen in -ldl... " >&6; }
10525 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10525 > if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10526    $as_echo_n "(cached) " >&6
10527   else
10528    ac_check_lib_save_LIBS=$LIBS
10529   LIBS="-ldl  $LIBS"
10530 < cat >conftest.$ac_ext <<_ACEOF
10699 < /* confdefs.h.  */
10700 < _ACEOF
10701 < cat confdefs.h >>conftest.$ac_ext
10702 < cat >>conftest.$ac_ext <<_ACEOF
10530 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10531   /* end confdefs.h.  */
10532  
10533   /* Override any GCC internal prototype to avoid an error.
# Line 10717 | Line 10545 | return dlopen ();
10545    return 0;
10546   }
10547   _ACEOF
10548 < 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
10548 > if ac_fn_c_try_link "$LINENO"; then :
10549    ac_cv_lib_dl_dlopen=yes
10550   else
10551 <  $as_echo "$as_me: failed program was:" >&5
10744 < sed 's/^/| /' conftest.$ac_ext >&5
10745 <
10746 <        ac_cv_lib_dl_dlopen=no
10551 >  ac_cv_lib_dl_dlopen=no
10552   fi
10553 <
10554 < rm -rf conftest.dSYM
10750 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10751 <      conftest$ac_exeext conftest.$ac_ext
10553 > rm -f core conftest.err conftest.$ac_objext \
10554 >    conftest$ac_exeext conftest.$ac_ext
10555   LIBS=$ac_check_lib_save_LIBS
10556   fi
10557 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10557 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10558   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10559 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10559 > if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10560    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10561   else
10562  
# Line 10766 | Line 10569 | fi
10569      ;;
10570  
10571    *)
10572 <    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10573 < $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
10572 >    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10573 > if test "x$ac_cv_func_shl_load" = x""yes; then :
10574    lt_cv_dlopen="shl_load"
10575   else
10576 <  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10576 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10577   $as_echo_n "checking for shl_load in -ldld... " >&6; }
10578 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10578 > if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10579    $as_echo_n "(cached) " >&6
10580   else
10581    ac_check_lib_save_LIBS=$LIBS
10582   LIBS="-ldld  $LIBS"
10583 < cat >conftest.$ac_ext <<_ACEOF
10865 < /* confdefs.h.  */
10866 < _ACEOF
10867 < cat confdefs.h >>conftest.$ac_ext
10868 < cat >>conftest.$ac_ext <<_ACEOF
10583 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10584   /* end confdefs.h.  */
10585  
10586   /* Override any GCC internal prototype to avoid an error.
# Line 10883 | Line 10598 | return shl_load ();
10598    return 0;
10599   }
10600   _ACEOF
10601 < 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
10601 > if ac_fn_c_try_link "$LINENO"; then :
10602    ac_cv_lib_dld_shl_load=yes
10603   else
10604 <  $as_echo "$as_me: failed program was:" >&5
10910 < sed 's/^/| /' conftest.$ac_ext >&5
10911 <
10912 <        ac_cv_lib_dld_shl_load=no
10604 >  ac_cv_lib_dld_shl_load=no
10605   fi
10606 <
10607 < rm -rf conftest.dSYM
10916 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10917 <      conftest$ac_exeext conftest.$ac_ext
10606 > rm -f core conftest.err conftest.$ac_objext \
10607 >    conftest$ac_exeext conftest.$ac_ext
10608   LIBS=$ac_check_lib_save_LIBS
10609   fi
10610 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10610 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10611   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10612 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10612 > if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10613    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10614   else
10615 <  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10616 < $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
10615 >  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10616 > if test "x$ac_cv_func_dlopen" = x""yes; then :
10617    lt_cv_dlopen="dlopen"
10618   else
10619 <  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10619 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10620   $as_echo_n "checking for dlopen in -ldl... " >&6; }
10621 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10621 > if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10622    $as_echo_n "(cached) " >&6
10623   else
10624    ac_check_lib_save_LIBS=$LIBS
10625   LIBS="-ldl  $LIBS"
10626 < cat >conftest.$ac_ext <<_ACEOF
11021 < /* confdefs.h.  */
11022 < _ACEOF
11023 < cat confdefs.h >>conftest.$ac_ext
11024 < cat >>conftest.$ac_ext <<_ACEOF
10626 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10627   /* end confdefs.h.  */
10628  
10629   /* Override any GCC internal prototype to avoid an error.
# Line 11039 | Line 10641 | return dlopen ();
10641    return 0;
10642   }
10643   _ACEOF
10644 < 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
10644 > if ac_fn_c_try_link "$LINENO"; then :
10645    ac_cv_lib_dl_dlopen=yes
10646   else
10647 <  $as_echo "$as_me: failed program was:" >&5
11066 < sed 's/^/| /' conftest.$ac_ext >&5
11067 <
11068 <        ac_cv_lib_dl_dlopen=no
10647 >  ac_cv_lib_dl_dlopen=no
10648   fi
10649 <
10650 < rm -rf conftest.dSYM
11072 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11073 <      conftest$ac_exeext conftest.$ac_ext
10649 > rm -f core conftest.err conftest.$ac_objext \
10650 >    conftest$ac_exeext conftest.$ac_ext
10651   LIBS=$ac_check_lib_save_LIBS
10652   fi
10653 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10653 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10654   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10655 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10655 > if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10656    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10657   else
10658 <  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10658 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10659   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10660 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10660 > if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10661    $as_echo_n "(cached) " >&6
10662   else
10663    ac_check_lib_save_LIBS=$LIBS
10664   LIBS="-lsvld  $LIBS"
10665 < cat >conftest.$ac_ext <<_ACEOF
11089 < /* confdefs.h.  */
11090 < _ACEOF
11091 < cat confdefs.h >>conftest.$ac_ext
11092 < cat >>conftest.$ac_ext <<_ACEOF
10665 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666   /* end confdefs.h.  */
10667  
10668   /* Override any GCC internal prototype to avoid an error.
# Line 11107 | Line 10680 | return dlopen ();
10680    return 0;
10681   }
10682   _ACEOF
10683 < 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
10683 > if ac_fn_c_try_link "$LINENO"; then :
10684    ac_cv_lib_svld_dlopen=yes
10685   else
10686 <  $as_echo "$as_me: failed program was:" >&5
11134 < sed 's/^/| /' conftest.$ac_ext >&5
11135 <
11136 <        ac_cv_lib_svld_dlopen=no
10686 >  ac_cv_lib_svld_dlopen=no
10687   fi
10688 <
10689 < rm -rf conftest.dSYM
11140 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11141 <      conftest$ac_exeext conftest.$ac_ext
10688 > rm -f core conftest.err conftest.$ac_objext \
10689 >    conftest$ac_exeext conftest.$ac_ext
10690   LIBS=$ac_check_lib_save_LIBS
10691   fi
10692 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10692 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10693   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10694 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10694 > if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10695    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10696   else
10697 <  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10697 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10698   $as_echo_n "checking for dld_link in -ldld... " >&6; }
10699 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10699 > if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10700    $as_echo_n "(cached) " >&6
10701   else
10702    ac_check_lib_save_LIBS=$LIBS
10703   LIBS="-ldld  $LIBS"
10704 < cat >conftest.$ac_ext <<_ACEOF
11157 < /* confdefs.h.  */
11158 < _ACEOF
11159 < cat confdefs.h >>conftest.$ac_ext
11160 < cat >>conftest.$ac_ext <<_ACEOF
10704 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10705   /* end confdefs.h.  */
10706  
10707   /* Override any GCC internal prototype to avoid an error.
# Line 11175 | Line 10719 | return dld_link ();
10719    return 0;
10720   }
10721   _ACEOF
10722 < 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
10722 > if ac_fn_c_try_link "$LINENO"; then :
10723    ac_cv_lib_dld_dld_link=yes
10724   else
10725 <  $as_echo "$as_me: failed program was:" >&5
11202 < sed 's/^/| /' conftest.$ac_ext >&5
11203 <
11204 <        ac_cv_lib_dld_dld_link=no
10725 >  ac_cv_lib_dld_dld_link=no
10726   fi
10727 <
10728 < rm -rf conftest.dSYM
11208 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11209 <      conftest$ac_exeext conftest.$ac_ext
10727 > rm -f core conftest.err conftest.$ac_objext \
10728 >    conftest$ac_exeext conftest.$ac_ext
10729   LIBS=$ac_check_lib_save_LIBS
10730   fi
10731 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10731 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10732   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10733 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10733 > if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10734    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10735   fi
10736  
# Line 11250 | Line 10769 | fi
10769      save_LIBS="$LIBS"
10770      LIBS="$lt_cv_dlopen_libs $LIBS"
10771  
10772 <    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10772 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10773   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10774 < if test "${lt_cv_dlopen_self+set}" = set; then
10774 > if test "${lt_cv_dlopen_self+set}" = set; then :
10775    $as_echo_n "(cached) " >&6
10776   else
10777            if test "$cross_compiling" = yes; then :
# Line 11261 | Line 10780 | else
10780    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10781    lt_status=$lt_dlunknown
10782    cat > conftest.$ac_ext <<_LT_EOF
10783 < #line 11264 "configure"
10783 > #line 10783 "configure"
10784   #include "confdefs.h"
10785  
10786   #if HAVE_DLFCN_H
# Line 11320 | Line 10839 | int main ()
10839    return status;
10840   }
10841   _LT_EOF
10842 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10842 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10843    (eval $ac_link) 2>&5
10844    ac_status=$?
10845 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10845 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10846 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10847      (./conftest; exit; ) >&5 2>/dev/null
10848      lt_status=$?
10849      case x$lt_status in
# Line 11341 | Line 10860 | rm -fr conftest*
10860  
10861  
10862   fi
10863 < { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10863 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10864   $as_echo "$lt_cv_dlopen_self" >&6; }
10865  
10866      if test "x$lt_cv_dlopen_self" = xyes; then
10867        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10868 <      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10868 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10869   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10870 < if test "${lt_cv_dlopen_self_static+set}" = set; then
10870 > if test "${lt_cv_dlopen_self_static+set}" = set; then :
10871    $as_echo_n "(cached) " >&6
10872   else
10873            if test "$cross_compiling" = yes; then :
# Line 11357 | Line 10876 | else
10876    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10877    lt_status=$lt_dlunknown
10878    cat > conftest.$ac_ext <<_LT_EOF
10879 < #line 11360 "configure"
10879 > #line 10879 "configure"
10880   #include "confdefs.h"
10881  
10882   #if HAVE_DLFCN_H
# Line 11416 | Line 10935 | int main ()
10935    return status;
10936   }
10937   _LT_EOF
10938 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10938 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10939    (eval $ac_link) 2>&5
10940    ac_status=$?
10941 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10941 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10942 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10943      (./conftest; exit; ) >&5 2>/dev/null
10944      lt_status=$?
10945      case x$lt_status in
# Line 11437 | Line 10956 | rm -fr conftest*
10956  
10957  
10958   fi
10959 < { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10959 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10960   $as_echo "$lt_cv_dlopen_self_static" >&6; }
10961      fi
10962  
# Line 11476 | Line 10995 | fi
10995  
10996   striplib=
10997   old_striplib=
10998 < { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10998 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10999   $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11000   if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11001    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11002    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11003 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
11003 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11004   $as_echo "yes" >&6; }
11005   else
11006   # FIXME - insert some real tests, host_os isn't really good enough
# Line 11490 | Line 11009 | else
11009      if test -n "$STRIP" ; then
11010        striplib="$STRIP -x"
11011        old_striplib="$STRIP -S"
11012 <      { $as_echo "$as_me:$LINENO: result: yes" >&5
11012 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11013   $as_echo "yes" >&6; }
11014      else
11015 <      { $as_echo "$as_me:$LINENO: result: no" >&5
11015 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11016   $as_echo "no" >&6; }
11017      fi
11018      ;;
11019    *)
11020 <    { $as_echo "$as_me:$LINENO: result: no" >&5
11020 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11021   $as_echo "no" >&6; }
11022      ;;
11023    esac
# Line 11516 | Line 11035 | fi
11035  
11036  
11037    # Report which library types will actually be built
11038 <  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11038 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11039   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11040 <  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11040 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11041   $as_echo "$can_build_shared" >&6; }
11042  
11043 <  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11043 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11044   $as_echo_n "checking whether to build shared libraries... " >&6; }
11045    test "$can_build_shared" = "no" && enable_shared=no
11046  
# Line 11542 | Line 11061 | $as_echo_n "checking whether to build sh
11061      fi
11062      ;;
11063    esac
11064 <  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11064 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11065   $as_echo "$enable_shared" >&6; }
11066  
11067 <  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11067 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11068   $as_echo_n "checking whether to build static libraries... " >&6; }
11069    # Make sure either enable_shared or enable_static is yes.
11070    test "$enable_shared" = yes || enable_static=yes
11071 <  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11071 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11072   $as_echo "$enable_static" >&6; }
11073  
11074  
# Line 11584 | Line 11103 | CC="$lt_save_CC"
11103   # Only expand once:
11104  
11105  
11106 < { $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
11106 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11107   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11108 < if test "${libltdl_cv_shlibext+set}" = set; then
11108 > if test "${libltdl_cv_shlibext+set}" = set; then :
11109    $as_echo_n "(cached) " >&6
11110   else
11111  
# Line 11594 | Line 11113 | module=yes
11113   eval libltdl_cv_shlibext=$shrext_cmds
11114  
11115   fi
11116 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
11116 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
11117   $as_echo "$libltdl_cv_shlibext" >&6; }
11118   if test -n "$libltdl_cv_shlibext"; then
11119  
# Line 11604 | Line 11123 | _ACEOF
11123  
11124   fi
11125  
11126 < { $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
11126 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11127   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11128 < if test "${lt_cv_module_path_var+set}" = set; then
11128 > if test "${lt_cv_module_path_var+set}" = set; then :
11129    $as_echo_n "(cached) " >&6
11130   else
11131    lt_cv_module_path_var="$shlibpath_var"
11132   fi
11133 < { $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
11133 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
11134   $as_echo "$lt_cv_module_path_var" >&6; }
11135   if test -n "$lt_cv_module_path_var"; then
11136  
# Line 11621 | Line 11140 | _ACEOF
11140  
11141   fi
11142  
11143 < { $as_echo "$as_me:$LINENO: checking for the default library search path" >&5
11143 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11144   $as_echo_n "checking for the default library search path... " >&6; }
11145 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then
11145 > if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11146    $as_echo_n "(cached) " >&6
11147   else
11148    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
11149   fi
11150 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
11150 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
11151   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
11152   if test -n "$lt_cv_sys_dlsearch_path"; then
11153    sys_dlsearch_path=
# Line 11658 | Line 11177 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
11177  
11178  
11179   LIBADD_DLOPEN=
11180 < { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
11180 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11181   $as_echo_n "checking for library containing dlopen... " >&6; }
11182 < if test "${ac_cv_search_dlopen+set}" = set; then
11182 > if test "${ac_cv_search_dlopen+set}" = set; then :
11183    $as_echo_n "(cached) " >&6
11184   else
11185    ac_func_search_save_LIBS=$LIBS
11186 < cat >conftest.$ac_ext <<_ACEOF
11668 < /* confdefs.h.  */
11669 < _ACEOF
11670 < cat confdefs.h >>conftest.$ac_ext
11671 < cat >>conftest.$ac_ext <<_ACEOF
11186 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187   /* end confdefs.h.  */
11188  
11189   /* Override any GCC internal prototype to avoid an error.
# Line 11693 | Line 11208 | for ac_lib in '' dl; do
11208      ac_res=-l$ac_lib
11209      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11210    fi
11211 <  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
11211 >  if ac_fn_c_try_link "$LINENO"; then :
11212    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
11213   fi
11214 <
11215 < rm -rf conftest.dSYM
11216 < 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
11214 > rm -f core conftest.err conftest.$ac_objext \
11215 >    conftest$ac_exeext
11216 >  if test "${ac_cv_search_dlopen+set}" = set; then :
11217    break
11218   fi
11219   done
11220 < if test "${ac_cv_search_dlopen+set}" = set; then
11221 <  :
11220 > if test "${ac_cv_search_dlopen+set}" = set; then :
11221 >
11222   else
11223    ac_cv_search_dlopen=no
11224   fi
11225   rm conftest.$ac_ext
11226   LIBS=$ac_func_search_save_LIBS
11227   fi
11228 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
11228 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11229   $as_echo "$ac_cv_search_dlopen" >&6; }
11230   ac_res=$ac_cv_search_dlopen
11231 < if test "$ac_res" != no; then
11231 > if test "$ac_res" != no; then :
11232    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11233  
11234 < cat >>confdefs.h <<\_ACEOF
11747 < #define HAVE_LIBDL 1
11748 < _ACEOF
11234 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11235  
11236          if test "$ac_cv_search_dlopen" != "none required" ; then
11237            LIBADD_DLOPEN="-ldl"
# Line 11753 | Line 11239 | _ACEOF
11239          libltdl_cv_lib_dl_dlopen="yes"
11240          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11241   else
11242 <  cat >conftest.$ac_ext <<_ACEOF
11757 < /* confdefs.h.  */
11758 < _ACEOF
11759 < cat confdefs.h >>conftest.$ac_ext
11760 < cat >>conftest.$ac_ext <<_ACEOF
11242 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243   /* end confdefs.h.  */
11244   #if HAVE_DLFCN_H
11245   #  include <dlfcn.h>
# Line 11771 | Line 11253 | dlopen(0, 0);
11253    return 0;
11254   }
11255   _ACEOF
11256 < 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
11256 > if ac_fn_c_try_link "$LINENO"; then :
11257  
11258 < cat >>confdefs.h <<\_ACEOF
11797 < #define HAVE_LIBDL 1
11798 < _ACEOF
11258 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11259  
11260              libltdl_cv_func_dlopen="yes"
11261              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11262   else
11263 <  $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
11263 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11264   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11265 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11265 > if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11266    $as_echo_n "(cached) " >&6
11267   else
11268    ac_check_lib_save_LIBS=$LIBS
11269   LIBS="-lsvld  $LIBS"
11270 < cat >conftest.$ac_ext <<_ACEOF
11814 < /* confdefs.h.  */
11815 < _ACEOF
11816 < cat confdefs.h >>conftest.$ac_ext
11817 < cat >>conftest.$ac_ext <<_ACEOF
11270 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271   /* end confdefs.h.  */
11272  
11273   /* Override any GCC internal prototype to avoid an error.
# Line 11832 | Line 11285 | return dlopen ();
11285    return 0;
11286   }
11287   _ACEOF
11288 < 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
11288 > if ac_fn_c_try_link "$LINENO"; then :
11289    ac_cv_lib_svld_dlopen=yes
11290   else
11291 <  $as_echo "$as_me: failed program was:" >&5
11859 < sed 's/^/| /' conftest.$ac_ext >&5
11860 <
11861 <        ac_cv_lib_svld_dlopen=no
11291 >  ac_cv_lib_svld_dlopen=no
11292   fi
11293 <
11294 < rm -rf conftest.dSYM
11865 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11866 <      conftest$ac_exeext conftest.$ac_ext
11293 > rm -f core conftest.err conftest.$ac_objext \
11294 >    conftest$ac_exeext conftest.$ac_ext
11295   LIBS=$ac_check_lib_save_LIBS
11296   fi
11297 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11297 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11298   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11299 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11299 > if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11300  
11301 < cat >>confdefs.h <<\_ACEOF
11874 < #define HAVE_LIBDL 1
11875 < _ACEOF
11301 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11302  
11303                  LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
11304                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11305   fi
11306  
11307   fi
11308 <
11309 < rm -rf conftest.dSYM
11884 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11885 <      conftest$ac_exeext conftest.$ac_ext
11308 > rm -f core conftest.err conftest.$ac_objext \
11309 >    conftest$ac_exeext conftest.$ac_ext
11310   fi
11311  
11312   if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
11313   then
11314    lt_save_LIBS="$LIBS"
11315    LIBS="$LIBS $LIBADD_DLOPEN"
11316 <
11317 < for ac_func in dlerror
11318 < do
11319 < 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
11316 >  for ac_func in dlerror
11317 > do :
11318 >  ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
11319 > if test "x$ac_cv_func_dlerror" = x""yes; then :
11320    cat >>confdefs.h <<_ACEOF
11321 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11321 > #define HAVE_DLERROR 1
11322   _ACEOF
11323  
11324   fi
# Line 11995 | Line 11329 | fi
11329  
11330  
11331   LIBADD_SHL_LOAD=
11332 < { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11333 < $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
11332 > ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11333 > if test "x$ac_cv_func_shl_load" = x""yes; then :
11334  
11335 <        ac_cv_func_shl_load=no
12075 < fi
12076 <
12077 < rm -rf conftest.dSYM
12078 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12079 <      conftest$ac_exeext conftest.$ac_ext
12080 < fi
12081 < { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12082 < $as_echo "$ac_cv_func_shl_load" >&6; }
12083 < if test "x$ac_cv_func_shl_load" = x""yes; then
12084 <
12085 < cat >>confdefs.h <<\_ACEOF
12086 < #define HAVE_SHL_LOAD 1
12087 < _ACEOF
11335 > $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
11336  
11337          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11338   else
11339 <  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11339 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11340   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11341 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11341 > if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11342    $as_echo_n "(cached) " >&6
11343   else
11344    ac_check_lib_save_LIBS=$LIBS
11345   LIBS="-ldld  $LIBS"
11346 < cat >conftest.$ac_ext <<_ACEOF
12099 < /* confdefs.h.  */
12100 < _ACEOF
12101 < cat confdefs.h >>conftest.$ac_ext
12102 < cat >>conftest.$ac_ext <<_ACEOF
11346 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347   /* end confdefs.h.  */
11348  
11349   /* Override any GCC internal prototype to avoid an error.
# Line 12117 | Line 11361 | return shl_load ();
11361    return 0;
11362   }
11363   _ACEOF
11364 < 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
11364 > if ac_fn_c_try_link "$LINENO"; then :
11365    ac_cv_lib_dld_shl_load=yes
11366   else
11367 <  $as_echo "$as_me: failed program was:" >&5
12144 < sed 's/^/| /' conftest.$ac_ext >&5
12145 <
12146 <        ac_cv_lib_dld_shl_load=no
11367 >  ac_cv_lib_dld_shl_load=no
11368   fi
11369 <
11370 < rm -rf conftest.dSYM
12150 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12151 <      conftest$ac_exeext conftest.$ac_ext
11369 > rm -f core conftest.err conftest.$ac_objext \
11370 >    conftest$ac_exeext conftest.$ac_ext
11371   LIBS=$ac_check_lib_save_LIBS
11372   fi
11373 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11373 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11374   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11375 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11375 > if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11376  
11377 < cat >>confdefs.h <<\_ACEOF
12159 < #define HAVE_SHL_LOAD 1
12160 < _ACEOF
11377 > $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
11378  
11379              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11380              LIBADD_SHL_LOAD="-ldld"
# Line 12170 | Line 11387 | fi
11387   case $host_os in
11388   darwin[1567].*)
11389   # We only want this for pre-Mac OS X 10.4.
11390 <  { $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
11391 < $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
12200 <
12201 < /* Override any GCC internal prototype to avoid an error.
12202 <   Use char because int might match the return type of a GCC
12203 <   builtin and then its argument prototype would still apply.  */
12204 < #ifdef __cplusplus
12205 < extern "C"
12206 < #endif
12207 < char _dyld_func_lookup ();
12208 < /* The GNU C library defines this for functions which it implements
12209 <    to always fail with ENOSYS.  Some functions are actually named
12210 <    something starting with __ and the normal name is an alias.  */
12211 < #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
12212 < choke me
12213 < #endif
12214 <
12215 < int
12216 < main ()
12217 < {
12218 < return _dyld_func_lookup ();
12219 <  ;
12220 <  return 0;
12221 < }
12222 < _ACEOF
12223 < rm -f conftest.$ac_objext conftest$ac_exeext
12224 < if { (ac_try="$ac_link"
12225 < case "(($ac_try" in
12226 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12227 <  *) ac_try_echo=$ac_try;;
12228 < esac
12229 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12230 < $as_echo "$ac_try_echo") >&5
12231 <  (eval "$ac_link") 2>conftest.er1
12232 <  ac_status=$?
12233 <  grep -v '^ *+' conftest.er1 >conftest.err
12234 <  rm -f conftest.er1
12235 <  cat conftest.err >&5
12236 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 <  (exit $ac_status); } && {
12238 <         test -z "$ac_c_werror_flag" ||
12239 <         test ! -s conftest.err
12240 <       } && test -s conftest$ac_exeext && {
12241 <         test "$cross_compiling" = yes ||
12242 <         $as_test_x conftest$ac_exeext
12243 <       }; then
12244 <  ac_cv_func__dyld_func_lookup=yes
12245 < else
12246 <  $as_echo "$as_me: failed program was:" >&5
12247 < sed 's/^/| /' conftest.$ac_ext >&5
11390 >  ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
11391 > if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
11392  
11393 <        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
11393 > $as_echo "#define HAVE_DYLD 1" >>confdefs.h
11394  
11395          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
11396   fi
# Line 12269 | Line 11400 | beos*)
11400    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
11401    ;;
11402   cygwin* | mingw* | os2* | pw32*)
11403 <  { $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
11404 < $as_echo_n "checking whether cygwin_conv_path is declared... " >&6; }
11405 < if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
11406 <  $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
11403 >  ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
11404 > "
11405 > if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
11406 >  ac_have_decl=1
11407   else
11408 <  $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
11408 >  ac_have_decl=0
11409   fi
11410  
12322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12323 fi
12324 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
12325 $as_echo "$ac_cv_have_decl_cygwin_conv_path" >&6; }
12326 if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then
12327
11411   cat >>confdefs.h <<_ACEOF
11412 < #define HAVE_DECL_CYGWIN_CONV_PATH 1
12330 < _ACEOF
12331 <
12332 <
12333 < else
12334 <  cat >>confdefs.h <<_ACEOF
12335 < #define HAVE_DECL_CYGWIN_CONV_PATH 0
11412 > #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
11413   _ACEOF
11414  
12338
12339 fi
12340
12341
11415    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
11416    ;;
11417   esac
11418  
11419 < { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11419 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11420   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11421 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11421 > if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11422    $as_echo_n "(cached) " >&6
11423   else
11424    ac_check_lib_save_LIBS=$LIBS
11425   LIBS="-ldld  $LIBS"
11426 < cat >conftest.$ac_ext <<_ACEOF
12354 < /* confdefs.h.  */
12355 < _ACEOF
12356 < cat confdefs.h >>conftest.$ac_ext
12357 < cat >>conftest.$ac_ext <<_ACEOF
11426 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427   /* end confdefs.h.  */
11428  
11429   /* Override any GCC internal prototype to avoid an error.
# Line 12372 | Line 11441 | return dld_link ();
11441    return 0;
11442   }
11443   _ACEOF
11444 < 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
11444 > if ac_fn_c_try_link "$LINENO"; then :
11445    ac_cv_lib_dld_dld_link=yes
11446   else
11447 <  $as_echo "$as_me: failed program was:" >&5
12399 < sed 's/^/| /' conftest.$ac_ext >&5
12400 <
12401 <        ac_cv_lib_dld_dld_link=no
11447 >  ac_cv_lib_dld_dld_link=no
11448   fi
11449 <
11450 < rm -rf conftest.dSYM
12405 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12406 <      conftest$ac_exeext conftest.$ac_ext
11449 > rm -f core conftest.err conftest.$ac_objext \
11450 >    conftest$ac_exeext conftest.$ac_ext
11451   LIBS=$ac_check_lib_save_LIBS
11452   fi
11453 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11453 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11454   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11455 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11455 > if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11456  
11457 < cat >>confdefs.h <<\_ACEOF
12414 < #define HAVE_DLD 1
12415 < _ACEOF
11457 > $as_echo "#define HAVE_DLD 1" >>confdefs.h
11458  
11459                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
11460   fi
# Line 12427 | Line 11469 | then
11469      LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
11470    done
11471  
11472 < cat >>confdefs.h <<\_ACEOF
12431 < #define HAVE_LIBDLLOADER 1
12432 < _ACEOF
11472 > $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
11473  
11474   fi
11475  
# Line 12444 | Line 11484 | ac_link='$CC -o conftest$ac_exeext $CFLA
11484   ac_compiler_gnu=$ac_cv_c_compiler_gnu
11485  
11486  
11487 < { $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
11487 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
11488   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
11489 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then
11489 > if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
11490    $as_echo_n "(cached) " >&6
11491   else
11492    lt_cv_sys_symbol_underscore=no
# Line 12454 | Line 11494 | else
11494   void nm_test_func(){}
11495   int main(){nm_test_func;return 0;}
11496   _LT_EOF
11497 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11497 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11498    (eval $ac_compile) 2>&5
11499    ac_status=$?
11500 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 <  (exit $ac_status); }; then
11500 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11501 >  test $ac_status = 0; }; then
11502      # Now try to grab the symbols.
11503      ac_nlist=conftest.nm
11504 <    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
11504 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
11505    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
11506    ac_status=$?
11507 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 <  (exit $ac_status); } && test -s "$ac_nlist"; then
11507 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11508 >  test $ac_status = 0; } && test -s "$ac_nlist"; then
11509        # See whether the symbols have a leading underscore.
11510        if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
11511          lt_cv_sys_symbol_underscore=yes
# Line 12486 | Line 11526 | _LT_EOF
11526    rm -rf conftest*
11527  
11528   fi
11529 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
11529 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
11530   $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
11531    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
11532  
# Line 12494 | Line 11534 | $as_echo "$lt_cv_sys_symbol_underscore"
11534   if test x"$lt_cv_sys_symbol_underscore" = xyes; then
11535    if test x"$libltdl_cv_func_dlopen" = xyes ||
11536       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
11537 <        { $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
11537 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
11538   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
11539 < if test "${libltdl_cv_need_uscore+set}" = set; then
11539 > if test "${libltdl_cv_need_uscore+set}" = set; then :
11540    $as_echo_n "(cached) " >&6
11541   else
11542    libltdl_cv_need_uscore=unknown
# Line 12508 | Line 11548 | else
11548    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11549    lt_status=$lt_dlunknown
11550    cat > conftest.$ac_ext <<_LT_EOF
11551 < #line 12511 "configure"
11551 > #line 11551 "configure"
11552   #include "confdefs.h"
11553  
11554   #if HAVE_DLFCN_H
# Line 12567 | Line 11607 | int main ()
11607    return status;
11608   }
11609   _LT_EOF
11610 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11610 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11611    (eval $ac_link) 2>&5
11612    ac_status=$?
11613 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11613 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11614 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11615      (./conftest; exit; ) >&5 2>/dev/null
11616      lt_status=$?
11617      case x$lt_status in
# Line 12589 | Line 11629 | rm -fr conftest*
11629            LIBS="$save_LIBS"
11630  
11631   fi
11632 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
11632 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
11633   $as_echo "$libltdl_cv_need_uscore" >&6; }
11634    fi
11635   fi
11636  
11637   if test x"$libltdl_cv_need_uscore" = xyes; then
11638  
11639 < cat >>confdefs.h <<\_ACEOF
12600 < #define NEED_USCORE 1
12601 < _ACEOF
11639 > $as_echo "#define NEED_USCORE 1" >>confdefs.h
11640  
11641   fi
11642  
11643 < { $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
11643 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
11644   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
11645 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
11645 > if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
11646    $as_echo_n "(cached) " >&6
11647   else
11648    # PORTME does your system automatically load deplibs for dlopen?
# Line 12696 | Line 11734 | else
11734    esac
11735  
11736   fi
11737 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
11737 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
11738   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
11739   if test "$lt_cv_sys_dlopen_deplibs" != yes; then
11740  
11741 < cat >>confdefs.h <<\_ACEOF
12704 < #define LTDL_DLOPEN_DEPLIBS 1
12705 < _ACEOF
11741 > $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
11742  
11743   fi
11744  
11745   :
11746  
12711
11747   for ac_header in argz.h
11748 < do
11749 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11750 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11751 < $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
11748 > do :
11749 >  ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
11750 > "
11751 > if test "x$ac_cv_header_argz_h" = x""yes; then :
11752    cat >>confdefs.h <<_ACEOF
11753 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11753 > #define HAVE_ARGZ_H 1
11754   _ACEOF
11755  
11756   fi
# Line 12771 | Line 11758 | fi
11758   done
11759  
11760  
11761 < { $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)
12787 < #  include <argz.h>
12788 < #endif
12789 <
12790 < 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)
11761 > ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
11762   #  include <argz.h>
11763   #endif
11764 <
11765 < 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
11764 > "
11765 > if test "x$ac_cv_type_error_t" = x""yes; then :
11766  
11767   cat >>confdefs.h <<_ACEOF
11768   #define HAVE_ERROR_T 1
# Line 12880 | Line 11771 | _ACEOF
11771  
11772   else
11773  
11774 < cat >>confdefs.h <<\_ACEOF
12884 < #define error_t int
12885 < _ACEOF
11774 > $as_echo "#define error_t int" >>confdefs.h
11775  
11776  
11777 < cat >>confdefs.h <<\_ACEOF
12889 < #define __error_t_defined 1
12890 < _ACEOF
11777 > $as_echo "#define __error_t_defined 1" >>confdefs.h
11778  
11779   fi
11780  
11781  
11782   ARGZ_H=
12896
12897
12898
12899
12900
12901
12902
11783   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
11784          argz_next argz_stringify
11785 < do
11786 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11787 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11788 < $as_echo_n "checking for $ac_func... " >&6; }
11789 < 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
11785 > do :
11786 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11787 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11788 > eval as_val=\$$as_ac_var
11789 >   if test "x$as_val" = x""yes; then :
11790    cat >>confdefs.h <<_ACEOF
11791   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11792   _ACEOF
# Line 13007 | Line 11800 | fi
11800   done
11801  
11802  
11803 < if test -z "$ARGZ_H"; then
11804 <  { $as_echo "$as_me:$LINENO: checking if argz actually works" >&5
11803 > if test -z "$ARGZ_H"; then :
11804 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
11805   $as_echo_n "checking if argz actually works... " >&6; }
11806 < if test "${lt_cv_sys_argz_works+set}" = set; then
11806 > if test "${lt_cv_sys_argz_works+set}" = set; then :
11807    $as_echo_n "(cached) " >&6
11808   else
11809    case $host_os in #(
# Line 13039 | Line 11832 | else
11832           *) lt_cv_sys_argz_works=yes ;;
11833           esac
11834   fi
11835 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
11835 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
11836   $as_echo "$lt_cv_sys_argz_works" >&6; }
11837 <     if test $lt_cv_sys_argz_works = yes; then
11837 >     if test $lt_cv_sys_argz_works = yes; then :
11838  
11839 < cat >>confdefs.h <<\_ACEOF
13047 < #define HAVE_WORKING_ARGZ 1
13048 < _ACEOF
11839 > $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
11840  
11841   else
11842    ARGZ_H=argz.h
# Line 13054 | Line 11845 | else
11845    _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
11846  
11847   fi
13057
11848   fi
11849  
11850  
11851  
11852 <
13063 < { $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
11852 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
11853   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
11854 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then
11854 > if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
11855    $as_echo_n "(cached) " >&6
11856   else
11857    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 13072 | Line 11861 | else
11861    fi
11862  
11863   fi
11864 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
11864 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
11865   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
11866   if test x"$libltdl_cv_preloaded_symbols" = xyes; then
11867  
11868 < cat >>confdefs.h <<\_ACEOF
13080 < #define HAVE_PRELOADED_SYMBOLS 1
13081 < _ACEOF
11868 > $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
11869  
11870   fi
11871  
# Line 13098 | Line 11885 | fi
11885  
11886  
11887   # Check whether --with-included_ltdl was given.
11888 < if test "${with_included_ltdl+set}" = set; then
11888 > if test "${with_included_ltdl+set}" = set; then :
11889    withval=$with_included_ltdl;
11890   fi
11891  
# Line 13106 | Line 11893 | fi
11893   if test "x$with_included_ltdl" != xyes; then
11894    # We are not being forced to use the included libltdl sources, so
11895    # decide whether there is a useful installed version we can use.
11896 <  { $as_echo "$as_me:$LINENO: checking for ltdl.h" >&5
13110 < $as_echo_n "checking for ltdl.h... " >&6; }
13111 < if test "${ac_cv_header_ltdl_h+set}" = set; then
13112 <  $as_echo_n "(cached) " >&6
13113 < else
13114 <  cat >conftest.$ac_ext <<_ACEOF
13115 < /* confdefs.h.  */
13116 < _ACEOF
13117 < cat confdefs.h >>conftest.$ac_ext
13118 < cat >>conftest.$ac_ext <<_ACEOF
13119 < /* end confdefs.h.  */
13120 < $ac_includes_default
13121 <
13122 <
13123 < #include <ltdl.h>
13124 < _ACEOF
13125 < rm -f conftest.$ac_objext
13126 < if { (ac_try="$ac_compile"
13127 < case "(($ac_try" in
13128 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13129 <  *) ac_try_echo=$ac_try;;
13130 < esac
13131 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13132 < $as_echo "$ac_try_echo") >&5
13133 <  (eval "$ac_compile") 2>conftest.er1
13134 <  ac_status=$?
13135 <  grep -v '^ *+' conftest.er1 >conftest.err
13136 <  rm -f conftest.er1
13137 <  cat conftest.err >&5
13138 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 <  (exit $ac_status); } && {
13140 <         test -z "$ac_c_werror_flag" ||
13141 <         test ! -s conftest.err
13142 <       } && test -s conftest.$ac_objext; then
13143 <  ac_cv_header_ltdl_h=yes
13144 < else
13145 <  $as_echo "$as_me: failed program was:" >&5
13146 < sed 's/^/| /' conftest.$ac_ext >&5
13147 <
13148 <        ac_cv_header_ltdl_h=no
13149 < fi
11896 >  ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
11897  
11898 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11899 < fi
11900 < { $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
11898 > "
11899 > if test "x$ac_cv_header_ltdl_h" = x""yes; then :
11900 >  ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
11901              #include <ltdl.h>
11902 <
11903 < int
11904 < 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
11902 > "
11903 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
11904 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
11905   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
11906 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
11906 > if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
11907    $as_echo_n "(cached) " >&6
11908   else
11909    ac_check_lib_save_LIBS=$LIBS
11910   LIBS="-lltdl  $LIBS"
11911 < cat >conftest.$ac_ext <<_ACEOF
13220 < /* confdefs.h.  */
13221 < _ACEOF
13222 < cat confdefs.h >>conftest.$ac_ext
13223 < cat >>conftest.$ac_ext <<_ACEOF
11911 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912   /* end confdefs.h.  */
11913  
11914   /* Override any GCC internal prototype to avoid an error.
# Line 13238 | Line 11926 | return lt_dladvise_preload ();
11926    return 0;
11927   }
11928   _ACEOF
11929 < 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
11929 > if ac_fn_c_try_link "$LINENO"; then :
11930    ac_cv_lib_ltdl_lt_dladvise_preload=yes
11931   else
11932 <  $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
11932 >  ac_cv_lib_ltdl_lt_dladvise_preload=no
11933   fi
11934 <
11935 < rm -rf conftest.dSYM
13271 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13272 <      conftest$ac_exeext conftest.$ac_ext
11934 > rm -f core conftest.err conftest.$ac_objext \
11935 >    conftest$ac_exeext conftest.$ac_ext
11936   LIBS=$ac_check_lib_save_LIBS
11937   fi
11938 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
11938 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
11939   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
11940 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then
11940 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
11941    with_included_ltdl=no
11942   else
11943    with_included_ltdl=yes
# Line 13300 | Line 11963 | fi
11963  
11964  
11965   # Check whether --with-ltdl_include was given.
11966 < if test "${with_ltdl_include+set}" = set; then
11966 > if test "${with_ltdl_include+set}" = set; then :
11967    withval=$with_ltdl_include;
11968   fi
11969  
# Line 13308 | Line 11971 | fi
11971   if test -n "$with_ltdl_include"; then
11972    if test -f "$with_ltdl_include/ltdl.h"; then :
11973    else
11974 <    { { $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; }; }
11974 >    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
11975    fi
11976   else
11977    with_ltdl_include=no
# Line 13318 | Line 11979 | fi
11979  
11980  
11981   # Check whether --with-ltdl_lib was given.
11982 < if test "${with_ltdl_lib+set}" = set; then
11982 > if test "${with_ltdl_lib+set}" = set; then :
11983    withval=$with_ltdl_lib;
11984   fi
11985  
# Line 13326 | Line 11987 | fi
11987   if test -n "$with_ltdl_lib"; then
11988    if test -f "$with_ltdl_lib/libltdl.la"; then :
11989    else
11990 <    { { $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; }; }
11990 >    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
11991    fi
11992   else
11993    with_ltdl_lib=no
# Line 13337 | Line 11996 | fi
11996   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
11997    ,yes,no,no,)
11998          case $enable_ltdl_convenience in
11999 <  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; }; } ;;
11999 >  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12000    "") enable_ltdl_convenience=yes
12001        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12002   esac
# Line 13360 | Line 12017 | INCLTDL="$LTDLINCL"
12017          # If the included ltdl is not to be used, then use the
12018          # preinstalled libltdl we found.
12019  
12020 < cat >>confdefs.h <<\_ACEOF
13364 < #define HAVE_LTDL 1
13365 < _ACEOF
12020 > $as_echo "#define HAVE_LTDL 1" >>confdefs.h
12021  
12022          LIBLTDL=-lltdl
12023          LTDLDEPS=
12024          LTDLINCL=
12025          ;;
12026    ,no*,no,*)
12027 <        { { $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; }; }
12027 >        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12028          ;;
12029    *)    with_included_ltdl=no
12030          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 13382 | Line 12035 | esac
12035   INCLTDL="$LTDLINCL"
12036  
12037   # Report our decision...
12038 < { $as_echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
12038 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
12039   $as_echo_n "checking where to find libltdl headers... " >&6; }
12040 < { $as_echo "$as_me:$LINENO: result: $LTDLINCL" >&5
12040 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
12041   $as_echo "$LTDLINCL" >&6; }
12042 < { $as_echo "$as_me:$LINENO: checking where to find libltdl library" >&5
12042 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
12043   $as_echo_n "checking where to find libltdl library... " >&6; }
12044 < { $as_echo "$as_me:$LINENO: result: $LIBLTDL" >&5
12044 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
12045   $as_echo "$LIBLTDL" >&6; }
12046  
12047  
12048  
12049   # Check whether --enable-ltdl-install was given.
12050 < if test "${enable_ltdl_install+set}" = set; then
12050 > if test "${enable_ltdl_install+set}" = set; then :
12051    enableval=$enable_ltdl_install;
12052   fi
12053  
# Line 13436 | Line 12089 | fi
12089  
12090  
12091  
13439
13440
13441
13442
13443
13444
12092   for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
12093 < do
12094 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12095 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12096 < $as_echo_n "checking for $ac_header... " >&6; }
12097 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12098 <  $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
12093 > do :
12094 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12095 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12096 > "
12097 > eval as_val=\$$as_ac_Header
12098 >   if test "x$as_val" = x""yes; then :
12099    cat >>confdefs.h <<_ACEOF
12100   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12101   _ACEOF
# Line 13504 | Line 12105 | fi
12105   done
12106  
12107  
13507
13508
13509
12108   for ac_func in closedir opendir readdir
12109 < do
12110 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12111 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12112 < $as_echo_n "checking for $ac_func... " >&6; }
12113 < 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
12109 > do :
12110 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12111 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12112 > eval as_val=\$$as_ac_var
12113 >   if test "x$as_val" = x""yes; then :
12114    cat >>confdefs.h <<_ACEOF
12115   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12116   _ACEOF
# Line 13612 | Line 12123 | else
12123   fi
12124   done
12125  
13615
13616
12126   for ac_func in strlcat strlcpy
12127 < do
12128 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12129 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12130 < $as_echo_n "checking for $ac_func... " >&6; }
12131 < 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
12127 > do :
12128 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12129 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12130 > eval as_val=\$$as_ac_var
12131 >   if test "x$as_val" = x""yes; then :
12132    cat >>confdefs.h <<_ACEOF
12133   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12134   _ACEOF
# Line 13741 | Line 12163 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
12163  
12164   LIBTOOL="$LIBTOOL --silent"
12165  
13744
12166   # Checks for libraries.
12167  
12168 <  { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
12168 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12169   $as_echo_n "checking for library containing socket... " >&6; }
12170 < if test "${ac_cv_search_socket+set}" = set; then
12170 > if test "${ac_cv_search_socket+set}" = set; then :
12171    $as_echo_n "(cached) " >&6
12172   else
12173    ac_func_search_save_LIBS=$LIBS
12174 < cat >conftest.$ac_ext <<_ACEOF
13754 < /* confdefs.h.  */
13755 < _ACEOF
13756 < cat confdefs.h >>conftest.$ac_ext
13757 < cat >>conftest.$ac_ext <<_ACEOF
12174 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175   /* end confdefs.h.  */
12176  
12177   /* Override any GCC internal prototype to avoid an error.
# Line 13779 | Line 12196 | for ac_lib in '' socket; do
12196      ac_res=-l$ac_lib
12197      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12198    fi
12199 <  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
12199 >  if ac_fn_c_try_link "$LINENO"; then :
12200    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
12201   fi
12202 <
12203 < rm -rf conftest.dSYM
12204 < 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
12202 > rm -f core conftest.err conftest.$ac_objext \
12203 >    conftest$ac_exeext
12204 >  if test "${ac_cv_search_socket+set}" = set; then :
12205    break
12206   fi
12207   done
12208 < if test "${ac_cv_search_socket+set}" = set; then
12209 <  :
12208 > if test "${ac_cv_search_socket+set}" = set; then :
12209 >
12210   else
12211    ac_cv_search_socket=no
12212   fi
12213   rm conftest.$ac_ext
12214   LIBS=$ac_func_search_save_LIBS
12215   fi
12216 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
12216 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12217   $as_echo "$ac_cv_search_socket" >&6; }
12218   ac_res=$ac_cv_search_socket
12219 < if test "$ac_res" != no; then
12219 > if test "$ac_res" != no; then :
12220    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12221  
12222   else
12223 <  { { $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; }; }
13836 < fi
13837 <
13838 <
13839 <
13840 <
13841 < for ac_func in inet_aton inet_ntop inet_pton
13842 < do
13843 < 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"
12223 >  as_fn_error "socket library not found" "$LINENO" 5
12224   fi
12225  
12226 < rm -rf conftest.dSYM
12227 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12228 <      conftest$ac_exeext conftest.$ac_ext
12229 < fi
12230 < ac_res=`eval 'as_val=${'$as_ac_var'}
12231 <                 $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
12226 >  for ac_func in inet_aton inet_ntop inet_pton
12227 > do :
12228 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12229 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12230 > eval as_val=\$$as_ac_var
12231 >   if test "x$as_val" = x""yes; then :
12232    cat >>confdefs.h <<_ACEOF
12233   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12234   _ACEOF
# Line 13938 | Line 12236 | _ACEOF
12236   fi
12237   done
12238  
12239 <  { $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>
13954 <   #include <sys/socket.h>
13955 <   #include <netdb.h>
13956 <
13957 <
13958 < 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>
12239 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
12240     #include <sys/socket.h>
12241     #include <netdb.h>
12242  
12243 <
12244 < 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
12243 > "
12244 > if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
12245  
12246   cat >>confdefs.h <<_ACEOF
12247   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 14048 | Line 12249 | _ACEOF
12249  
12250  
12251   fi
12252 < { $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>
12252 > ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
12253     #include <sys/socket.h>
12254     #include <netdb.h>
12255  
12256 <
12257 < 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
12256 > "
12257 > if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
12258  
12259   cat >>confdefs.h <<_ACEOF
12260   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 14158 | Line 12262 | _ACEOF
12262  
12263  
12264   fi
12265 < { $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5
14162 < $as_echo_n "checking for struct addrinfo... " >&6; }
14163 < if test "${ac_cv_type_struct_addrinfo+set}" = set; then
14164 <  $as_echo_n "(cached) " >&6
14165 < else
14166 <  ac_cv_type_struct_addrinfo=no
14167 < cat >conftest.$ac_ext <<_ACEOF
14168 < /* confdefs.h.  */
14169 < _ACEOF
14170 < cat confdefs.h >>conftest.$ac_ext
14171 < cat >>conftest.$ac_ext <<_ACEOF
14172 < /* end confdefs.h.  */
14173 < #include <sys/types.h>
14174 <   #include <sys/socket.h>
14175 <   #include <netdb.h>
14176 <
14177 <
14178 < int
14179 < main ()
14180 < {
14181 < if (sizeof (struct addrinfo))
14182 <       return 0;
14183 <  ;
14184 <  return 0;
14185 < }
14186 < _ACEOF
14187 < rm -f conftest.$ac_objext
14188 < if { (ac_try="$ac_compile"
14189 < case "(($ac_try" in
14190 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14191 <  *) ac_try_echo=$ac_try;;
14192 < esac
14193 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14194 < $as_echo "$ac_try_echo") >&5
14195 <  (eval "$ac_compile") 2>conftest.er1
14196 <  ac_status=$?
14197 <  grep -v '^ *+' conftest.er1 >conftest.err
14198 <  rm -f conftest.er1
14199 <  cat conftest.err >&5
14200 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 <  (exit $ac_status); } && {
14202 <         test -z "$ac_c_werror_flag" ||
14203 <         test ! -s conftest.err
14204 <       } && test -s conftest.$ac_objext; then
14205 <  cat >conftest.$ac_ext <<_ACEOF
14206 < /* confdefs.h.  */
14207 < _ACEOF
14208 < cat confdefs.h >>conftest.$ac_ext
14209 < cat >>conftest.$ac_ext <<_ACEOF
14210 < /* end confdefs.h.  */
14211 < #include <sys/types.h>
12265 > ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
12266     #include <sys/socket.h>
12267     #include <netdb.h>
12268  
12269 <
12270 < 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
12269 > "
12270 > if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
12271  
12272   cat >>confdefs.h <<_ACEOF
12273   #define HAVE_STRUCT_ADDRINFO 1
# Line 14269 | Line 12276 | _ACEOF
12276  
12277   fi
12278  
12279 <  { $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>
12279 >  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12280    <sys/socket.h>
12281 <
12282 < 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
12281 > "
12282 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12283  
12284   cat >>confdefs.h <<_ACEOF
12285   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 14379 | Line 12290 | fi
12290  
12291  
12292  
12293 <  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
12294 < $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
12293 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
12294 > if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
12295  
12296   cat >>confdefs.h <<_ACEOF
12297   #define HAVE_STRUCT_SOCKADDR_IN6 1
# Line 14482 | Line 12300 | _ACEOF
12300  
12301   else
12302  
12303 < cat >>confdefs.h <<\_ACEOF
14486 < #define IPV6 1
14487 < _ACEOF
12303 > $as_echo "#define IPV6 1" >>confdefs.h
12304  
12305   fi
12306  
12307  
12308  
14493
12309   # Checks for typedefs, structures, and compiler characteristics.
12310 < { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14496 < $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14497 < if test "${ac_cv_c_const+set}" = set; then
14498 <  $as_echo_n "(cached) " >&6
14499 < else
14500 <  cat >conftest.$ac_ext <<_ACEOF
14501 < /* confdefs.h.  */
14502 < _ACEOF
14503 < cat confdefs.h >>conftest.$ac_ext
14504 < cat >>conftest.$ac_ext <<_ACEOF
14505 < /* end confdefs.h.  */
14506 <
14507 < int
14508 < main ()
14509 < {
14510 < /* FIXME: Include the comments suggested by Paul. */
14511 < #ifndef __cplusplus
14512 <  /* Ultrix mips cc rejects this.  */
14513 <  typedef int charset[2];
14514 <  const charset cs;
14515 <  /* SunOS 4.1.1 cc rejects this.  */
14516 <  char const *const *pcpcc;
14517 <  char **ppc;
14518 <  /* NEC SVR4.0.2 mips cc rejects this.  */
14519 <  struct point {int x, y;};
14520 <  static struct point const zero = {0,0};
14521 <  /* AIX XL C 1.02.0.0 rejects this.
14522 <     It does not let you subtract one const X* pointer from another in
14523 <     an arm of an if-expression whose if-part is not a constant
14524 <     expression */
14525 <  const char *g = "string";
14526 <  pcpcc = &g + (g ? g-g : 0);
14527 <  /* HPUX 7.0 cc rejects these. */
14528 <  ++pcpcc;
14529 <  ppc = (char**) pcpcc;
14530 <  pcpcc = (char const *const *) ppc;
14531 <  { /* SCO 3.2v4 cc rejects this.  */
14532 <    char *t;
14533 <    char const *s = 0 ? (char *) 0 : (char const *) 0;
14534 <
14535 <    *t++ = 0;
14536 <    if (s) return 0;
14537 <  }
14538 <  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
14539 <    int x[] = {25, 17};
14540 <    const int *foo = &x[0];
14541 <    ++foo;
14542 <  }
14543 <  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14544 <    typedef const int *iptr;
14545 <    iptr p = 0;
14546 <    ++p;
14547 <  }
14548 <  { /* AIX XL C 1.02.0.0 rejects this saying
14549 <       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14550 <    struct s { int j; const int *ap[3]; };
14551 <    struct s *b; b->j = 5;
14552 <  }
14553 <  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14554 <    const int foo = 10;
14555 <    if (!foo) return 0;
14556 <  }
14557 <  return !cs[0] && !zero.x;
14558 < #endif
14559 <
14560 <  ;
14561 <  return 0;
14562 < }
14563 < _ACEOF
14564 < 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
14582 <  ac_cv_c_const=yes
14583 < else
14584 <  $as_echo "$as_me: failed program was:" >&5
14585 < sed 's/^/| /' conftest.$ac_ext >&5
14586 <
14587 <        ac_cv_c_const=no
14588 < fi
14589 <
14590 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14591 < fi
14592 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14593 < $as_echo "$ac_cv_c_const" >&6; }
14594 < if test $ac_cv_c_const = no; then
14595 <
14596 < cat >>confdefs.h <<\_ACEOF
14597 < #define const /**/
14598 < _ACEOF
14599 <
14600 < fi
14601 <
14602 < { $as_echo "$as_me:$LINENO: checking for inline" >&5
14603 < $as_echo_n "checking for inline... " >&6; }
14604 < if test "${ac_cv_c_inline+set}" = set; then
14605 <  $as_echo_n "(cached) " >&6
14606 < else
14607 <  ac_cv_c_inline=no
14608 < for ac_kw in inline __inline__ __inline; do
14609 <  cat >conftest.$ac_ext <<_ACEOF
14610 < /* confdefs.h.  */
14611 < _ACEOF
14612 < cat confdefs.h >>conftest.$ac_ext
14613 < cat >>conftest.$ac_ext <<_ACEOF
14614 < /* end confdefs.h.  */
14615 < #ifndef __cplusplus
14616 < typedef int foo_t;
14617 < static $ac_kw foo_t static_foo () {return 0; }
14618 < $ac_kw foo_t foo () {return 0; }
14619 < #endif
14620 <
14621 < _ACEOF
14622 < 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
14640 <  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 <
14646 < fi
14647 <
14648 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14649 <  test "$ac_cv_c_inline" != no && break
14650 < done
14651 <
14652 < fi
14653 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14654 < $as_echo "$ac_cv_c_inline" >&6; }
14655 <
14656 <
14657 < case $ac_cv_c_inline in
14658 <  inline | yes) ;;
14659 <  *)
14660 <    case $ac_cv_c_inline in
14661 <      no) ac_val=;;
14662 <      *) ac_val=$ac_cv_c_inline;;
14663 <    esac
14664 <    cat >>confdefs.h <<_ACEOF
14665 < #ifndef __cplusplus
14666 < #define inline $ac_val
14667 < #endif
14668 < _ACEOF
14669 <    ;;
14670 < esac
14671 <
14672 <
14673 < { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
12310 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12311   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12312 < if test "${ac_cv_c_bigendian+set}" = set; then
12312 > if test "${ac_cv_c_bigendian+set}" = set; then :
12313    $as_echo_n "(cached) " >&6
12314   else
12315    ac_cv_c_bigendian=unknown
12316      # See if we're dealing with a universal compiler.
12317 <    cat >conftest.$ac_ext <<_ACEOF
14681 < /* confdefs.h.  */
14682 < _ACEOF
14683 < cat confdefs.h >>conftest.$ac_ext
14684 < cat >>conftest.$ac_ext <<_ACEOF
12317 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12318   /* end confdefs.h.  */
12319   #ifndef __APPLE_CC__
12320                 not a universal capable compiler
# Line 14689 | Line 12322 | cat >>conftest.$ac_ext <<_ACEOF
12322               typedef int dummy;
12323  
12324   _ACEOF
12325 < 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
12325 > if ac_fn_c_try_compile "$LINENO"; then :
12326  
12327          # Check for potential -arch flags.  It is not universal unless
12328 <        # there are some -arch flags.  Note that *ppc* also matches
12329 <        # ppc64.  This check is also rather less than ideal.
12330 <        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
12331 <          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
12332 <        esac
12333 < else
12334 <  $as_echo "$as_me: failed program was:" >&5
12335 < sed 's/^/| /' conftest.$ac_ext >&5
12336 <
12337 <
12328 >        # there are at least two -arch flags with different values.
12329 >        ac_arch=
12330 >        ac_prev=
12331 >        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12332 >         if test -n "$ac_prev"; then
12333 >           case $ac_word in
12334 >             i?86 | x86_64 | ppc | ppc64)
12335 >               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12336 >                 ac_arch=$ac_word
12337 >               else
12338 >                 ac_cv_c_bigendian=universal
12339 >                 break
12340 >               fi
12341 >               ;;
12342 >           esac
12343 >           ac_prev=
12344 >         elif test "x$ac_word" = "x-arch"; then
12345 >           ac_prev=arch
12346 >         fi
12347 >       done
12348   fi
14723
12349   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12350      if test $ac_cv_c_bigendian = unknown; then
12351        # See if sys/param.h defines the BYTE_ORDER macro.
12352 <      cat >conftest.$ac_ext <<_ACEOF
14728 < /* confdefs.h.  */
14729 < _ACEOF
14730 < cat confdefs.h >>conftest.$ac_ext
14731 < cat >>conftest.$ac_ext <<_ACEOF
12352 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12353   /* end confdefs.h.  */
12354   #include <sys/types.h>
12355               #include <sys/param.h>
# Line 14746 | Line 12367 | main ()
12367    return 0;
12368   }
12369   _ACEOF
12370 < 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
12370 > if ac_fn_c_try_compile "$LINENO"; then :
12371    # It does; now see whether it defined to BIG_ENDIAN or not.
12372 <         cat >conftest.$ac_ext <<_ACEOF
14769 < /* confdefs.h.  */
14770 < _ACEOF
14771 < cat confdefs.h >>conftest.$ac_ext
14772 < cat >>conftest.$ac_ext <<_ACEOF
12372 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12373   /* end confdefs.h.  */
12374   #include <sys/types.h>
12375                  #include <sys/param.h>
# Line 14785 | Line 12385 | main ()
12385    return 0;
12386   }
12387   _ACEOF
12388 < 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
12388 > if ac_fn_c_try_compile "$LINENO"; then :
12389    ac_cv_c_bigendian=yes
12390   else
12391 <  $as_echo "$as_me: failed program was:" >&5
14809 < sed 's/^/| /' conftest.$ac_ext >&5
14810 <
14811 <        ac_cv_c_bigendian=no
12391 >  ac_cv_c_bigendian=no
12392   fi
14813
12393   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
12394   fi
14821
12395   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12396      fi
12397      if test $ac_cv_c_bigendian = unknown; then
12398        # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12399 <      cat >conftest.$ac_ext <<_ACEOF
14827 < /* confdefs.h.  */
14828 < _ACEOF
14829 < cat confdefs.h >>conftest.$ac_ext
14830 < cat >>conftest.$ac_ext <<_ACEOF
12399 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12400   /* end confdefs.h.  */
12401   #include <limits.h>
12402  
# Line 14842 | Line 12411 | main ()
12411    return 0;
12412   }
12413   _ACEOF
12414 < 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
12414 > if ac_fn_c_try_compile "$LINENO"; then :
12415    # It does; now see whether it defined to _BIG_ENDIAN or not.
12416 <         cat >conftest.$ac_ext <<_ACEOF
14865 < /* confdefs.h.  */
14866 < _ACEOF
14867 < cat confdefs.h >>conftest.$ac_ext
14868 < cat >>conftest.$ac_ext <<_ACEOF
12416 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12417   /* end confdefs.h.  */
12418   #include <limits.h>
12419  
# Line 14880 | Line 12428 | main ()
12428    return 0;
12429   }
12430   _ACEOF
12431 < 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
12431 > if ac_fn_c_try_compile "$LINENO"; then :
12432    ac_cv_c_bigendian=yes
12433   else
12434 <  $as_echo "$as_me: failed program was:" >&5
14904 < sed 's/^/| /' conftest.$ac_ext >&5
14905 <
14906 <        ac_cv_c_bigendian=no
12434 >  ac_cv_c_bigendian=no
12435   fi
14908
12436   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
12437   fi
14916
12438   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12439      fi
12440      if test $ac_cv_c_bigendian = unknown; then
12441        # Compile a test program.
12442 <      if test "$cross_compiling" = yes; then
12442 >      if test "$cross_compiling" = yes; then :
12443    # Try to guess by grepping values from an object file.
12444 <         cat >conftest.$ac_ext <<_ACEOF
14924 < /* confdefs.h.  */
14925 < _ACEOF
14926 < cat confdefs.h >>conftest.$ac_ext
14927 < cat >>conftest.$ac_ext <<_ACEOF
12444 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445   /* end confdefs.h.  */
12446   short int ascii_mm[] =
12447                    { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
# Line 14950 | Line 12467 | return use_ascii (foo) == use_ebcdic (fo
12467    return 0;
12468   }
12469   _ACEOF
12470 < 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
12470 > if ac_fn_c_try_compile "$LINENO"; then :
12471    if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12472                ac_cv_c_bigendian=yes
12473              fi
# Line 14979 | Line 12479 | $as_echo "$ac_try_echo") >&5
12479                  ac_cv_c_bigendian=unknown
12480                fi
12481              fi
14982 else
14983  $as_echo "$as_me: failed program was:" >&5
14984 sed 's/^/| /' conftest.$ac_ext >&5
14985
14986
12482   fi
14988
12483   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12484   else
12485 <  cat >conftest.$ac_ext <<_ACEOF
14992 < /* confdefs.h.  */
14993 < _ACEOF
14994 < cat confdefs.h >>conftest.$ac_ext
14995 < cat >>conftest.$ac_ext <<_ACEOF
12485 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486   /* end confdefs.h.  */
12487   $ac_includes_default
12488   int
# Line 15012 | Line 12502 | main ()
12502    return 0;
12503   }
12504   _ACEOF
12505 < 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
12505 > if ac_fn_c_try_run "$LINENO"; then :
12506    ac_cv_c_bigendian=no
12507   else
12508 <  $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
12508 >  ac_cv_c_bigendian=yes
12509   fi
12510 < rm -rf conftest.dSYM
12511 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12510 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12511 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
12512   fi
12513  
15050
12514      fi
12515   fi
12516 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12516 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12517   $as_echo "$ac_cv_c_bigendian" >&6; }
12518   case $ac_cv_c_bigendian in #(
12519     yes)
12520 <     cat >>confdefs.h <<\_ACEOF
15058 < #define WORDS_BIGENDIAN 1
15059 < _ACEOF
12520 >     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12521   ;; #(
12522     no)
12523        ;; #(
12524     universal)
12525  
12526 < cat >>confdefs.h <<\_ACEOF
15066 < #define AC_APPLE_UNIVERSAL_BUILD 1
15067 < _ACEOF
12526 > $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12527  
12528       ;; #(
12529     *)
12530 <     { { $as_echo "$as_me:$LINENO: error: unknown endianness
12531 < 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; }; } ;;
12530 >     as_fn_error "unknown endianness
12531 > presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12532   esac
12533  
12534  
15079 # The cast to long int works around a bug in the HP C Compiler
15080 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15081 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15082 # This bug is HP SR number 8606223364.
15083 { $as_echo "$as_me:$LINENO: checking size of int64_t" >&5
15084 $as_echo_n "checking size of int64_t... " >&6; }
15085 if test "${ac_cv_sizeof_int64_t+set}" = set; then
15086  $as_echo_n "(cached) " >&6
15087 else
15088  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
15294
15295  ;
15296  return 0;
15297 }
15298 _ACEOF
15299 rm -f conftest.$ac_objext
15300 if { (ac_try="$ac_compile"
15301 case "(($ac_try" in
15302  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15303  *) ac_try_echo=$ac_try;;
15304 esac
15305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15306 $as_echo "$ac_try_echo") >&5
15307  (eval "$ac_compile") 2>conftest.er1
15308  ac_status=$?
15309  grep -v '^ *+' conftest.er1 >conftest.err
15310  rm -f conftest.er1
15311  cat conftest.err >&5
15312  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313  (exit $ac_status); } && {
15314         test -z "$ac_c_werror_flag" ||
15315         test ! -s conftest.err
15316       } && test -s conftest.$ac_objext; then
15317  ac_hi=$ac_mid
15318 else
15319  $as_echo "$as_me: failed program was:" >&5
15320 sed 's/^/| /' conftest.$ac_ext >&5
15321
15322        ac_lo=`expr '(' $ac_mid ')' + 1`
15323 fi
15324
15325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15326 done
15327 case $ac_lo in
15328 ?*) ac_cv_sizeof_int64_t=$ac_lo;;
15329 '') if test "$ac_cv_type_int64_t" = yes; then
15330     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15332 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t)
15333 See \`config.log' for more details." >&5
15334 $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; }; }; }
15419   else
15420     ac_cv_sizeof_int64_t=0
15421   fi
15422 fi
15423 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
15427 fi
15428 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int64_t" >&5
15429 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
15430
15431
15432
15433 cat >>confdefs.h <<_ACEOF
15434 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
15435 _ACEOF
15436
15437
15438 # The cast to long int works around a bug in the HP C Compiler
15439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15441 # This bug is HP SR number 8606223364.
15442 { $as_echo "$as_me:$LINENO: checking size of long long" >&5
15443 $as_echo_n "checking size of long long... " >&6; }
15444 if test "${ac_cv_sizeof_long_long+set}" = set; then
15445  $as_echo_n "(cached) " >&6
15446 else
15447  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
15533
15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15535  done
15536 else
15537  $as_echo "$as_me: failed program was:" >&5
15538 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
15772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15773 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
15774 See \`config.log' for more details." >&5
15775 $as_echo "$as_me: error: cannot compute sizeof (long long)
15776 See \`config.log' for more details." >&2;}
15777   { (exit 77); exit 77; }; }; }
15778   else
15779     ac_cv_sizeof_long_long=0
15780   fi
15781 fi
15782 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
15786 fi
15787 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15788 $as_echo "$ac_cv_sizeof_long_long" >&6; }
15789
15790
15791
15792 cat >>confdefs.h <<_ACEOF
15793 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15794 _ACEOF
15795
15796
15797
15798 if test "$ac_cv_sizeof_int64_t" = 8; then
15799  { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
15800 $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
15972
15973        ac_cv_type_int64_t=yes
15974 fi
15975
15976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15977 else
15978  $as_echo "$as_me: failed program was:" >&5
15979 sed 's/^/| /' conftest.$ac_ext >&5
15980
15981
15982 fi
15983
15984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15985 fi
15986 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
15987 $as_echo "$ac_cv_type_int64_t" >&6; }
15988
15989 elif test "$ac_cv_sizeof_long_long" = 8; then
15990  { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
15991 $as_echo_n "checking for uint64_t... " >&6; }
15992 if test "${ac_cv_type_uint64_t+set}" = set; then
15993  $as_echo_n "(cached) " >&6
15994 else
15995  ac_cv_type_uint64_t=no
15996 cat >conftest.$ac_ext <<_ACEOF
15997 /* confdefs.h.  */
15998 _ACEOF
15999 cat confdefs.h >>conftest.$ac_ext
16000 cat >>conftest.$ac_ext <<_ACEOF
16001 /* end confdefs.h.  */
16002 $ac_includes_default
16003 int
16004 main ()
16005 {
16006 if (sizeof (uint64_t))
16007       return 0;
16008  ;
16009  return 0;
16010 }
16011 _ACEOF
16012 rm -f conftest.$ac_objext
16013 if { (ac_try="$ac_compile"
16014 case "(($ac_try" in
16015  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16016  *) ac_try_echo=$ac_try;;
16017 esac
16018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16019 $as_echo "$ac_try_echo") >&5
16020  (eval "$ac_compile") 2>conftest.er1
16021  ac_status=$?
16022  grep -v '^ *+' conftest.er1 >conftest.err
16023  rm -f conftest.er1
16024  cat conftest.err >&5
16025  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026  (exit $ac_status); } && {
16027         test -z "$ac_c_werror_flag" ||
16028         test ! -s conftest.err
16029       } && test -s conftest.$ac_objext; then
16030  cat >conftest.$ac_ext <<_ACEOF
16031 /* confdefs.h.  */
16032 _ACEOF
16033 cat confdefs.h >>conftest.$ac_ext
16034 cat >>conftest.$ac_ext <<_ACEOF
16035 /* end confdefs.h.  */
16036 $ac_includes_default
16037 int
16038 main ()
16039 {
16040 if (sizeof ((uint64_t)))
16041          return 0;
16042  ;
16043  return 0;
16044 }
16045 _ACEOF
16046 rm -f conftest.$ac_objext
16047 if { (ac_try="$ac_compile"
16048 case "(($ac_try" in
16049  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16050  *) ac_try_echo=$ac_try;;
16051 esac
16052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16053 $as_echo "$ac_try_echo") >&5
16054  (eval "$ac_compile") 2>conftest.er1
16055  ac_status=$?
16056  grep -v '^ *+' conftest.er1 >conftest.err
16057  rm -f conftest.er1
16058  cat conftest.err >&5
16059  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060  (exit $ac_status); } && {
16061         test -z "$ac_c_werror_flag" ||
16062         test ! -s conftest.err
16063       } && test -s conftest.$ac_objext; then
16064  :
16065 else
16066  $as_echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.$ac_ext >&5
16068
16069        ac_cv_type_uint64_t=yes
16070 fi
16071
16072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16073 else
16074  $as_echo "$as_me: failed program was:" >&5
16075 sed 's/^/| /' conftest.$ac_ext >&5
16076
16077
16078 fi
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  :
16086 else
16087
16088 cat >>confdefs.h <<_ACEOF
16089 #define uint64_t unsigned long long
16090 _ACEOF
16091
16092 fi
16093
16094  { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
16095 $as_echo_n "checking for int64_t... " >&6; }
16096 if test "${ac_cv_type_int64_t+set}" = set; then
16097  $as_echo_n "(cached) " >&6
16098 else
16099  ac_cv_type_int64_t=no
16100 cat >conftest.$ac_ext <<_ACEOF
16101 /* confdefs.h.  */
16102 _ACEOF
16103 cat confdefs.h >>conftest.$ac_ext
16104 cat >>conftest.$ac_ext <<_ACEOF
16105 /* end confdefs.h.  */
16106 $ac_includes_default
16107 int
16108 main ()
16109 {
16110 if (sizeof (int64_t))
16111       return 0;
16112  ;
16113  return 0;
16114 }
16115 _ACEOF
16116 rm -f conftest.$ac_objext
16117 if { (ac_try="$ac_compile"
16118 case "(($ac_try" in
16119  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16120  *) ac_try_echo=$ac_try;;
16121 esac
16122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16123 $as_echo "$ac_try_echo") >&5
16124  (eval "$ac_compile") 2>conftest.er1
16125  ac_status=$?
16126  grep -v '^ *+' conftest.er1 >conftest.err
16127  rm -f conftest.er1
16128  cat conftest.err >&5
16129  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130  (exit $ac_status); } && {
16131         test -z "$ac_c_werror_flag" ||
16132         test ! -s conftest.err
16133       } && test -s conftest.$ac_objext; then
16134  cat >conftest.$ac_ext <<_ACEOF
16135 /* confdefs.h.  */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h.  */
16140 $ac_includes_default
16141 int
16142 main ()
16143 {
16144 if (sizeof ((int64_t)))
16145          return 0;
16146  ;
16147  return 0;
16148 }
16149 _ACEOF
16150 rm -f conftest.$ac_objext
16151 if { (ac_try="$ac_compile"
16152 case "(($ac_try" in
16153  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16154  *) ac_try_echo=$ac_try;;
16155 esac
16156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16157 $as_echo "$ac_try_echo") >&5
16158  (eval "$ac_compile") 2>conftest.er1
16159  ac_status=$?
16160  grep -v '^ *+' conftest.er1 >conftest.err
16161  rm -f conftest.er1
16162  cat conftest.err >&5
16163  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164  (exit $ac_status); } && {
16165         test -z "$ac_c_werror_flag" ||
16166         test ! -s conftest.err
16167       } && test -s conftest.$ac_objext; then
16168  :
16169 else
16170  $as_echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16172
16173        ac_cv_type_int64_t=yes
16174 fi
16175
16176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16177 else
16178  $as_echo "$as_me: failed program was:" >&5
16179 sed 's/^/| /' conftest.$ac_ext >&5
16180
16181
16182 fi
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  :
16190 else
16191
16192 cat >>confdefs.h <<_ACEOF
16193 #define int64_t long long
16194 _ACEOF
16195
16196 fi
16197
16198 else
16199  { { $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; }; }
16202 fi
16203
16204
12535   # Checks for library functions.
12536  
12537  
12538  
12539 <
12540 < for ac_func in $ac_func_list
12541 < do
12542 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12543 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12544 < $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
12539 >  for ac_func in $ac_func_list
12540 > do :
12541 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12542 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12543 > eval as_val=\$$as_ac_var
12544 >   if test "x$as_val" = x""yes; then :
12545    cat >>confdefs.h <<_ACEOF
12546   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12547   _ACEOF
# Line 16319 | Line 12561 | done
12561  
12562  
12563  
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
12564   # Checks for header files.
12565  
12566  
12567  
12568 <
12569 < for ac_header in $ac_header_list
12570 < do
12571 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12572 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12573 <  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12574 < $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
12568 >  for ac_header in $ac_header_list
12569 > do :
12570 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12571 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12572 > "
12573 > eval as_val=\$$as_ac_Header
12574 >   if test "x$as_val" = x""yes; then :
12575    cat >>confdefs.h <<_ACEOF
12576   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12577   _ACEOF
# Line 16528 | Line 12606 | done
12606  
12607  
12608  
12609 <
12610 <
16533 <
16534 <
16535 <
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
12609 > # check for /dev/null so we can use it to hold evil fd's
12610 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12611   $as_echo_n "checking for /dev/null... " >&6; }
12612 < if test -c /dev/null ; then
12612 > if test -c /dev/null; then :
12613  
16570 cat >>confdefs.h <<\_ACEOF
16571 #define PATH_DEVNULL "/dev/null"
16572 _ACEOF
12614  
12615 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
12615 > $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12616 >
12617 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12618   $as_echo "yes" >&6; }
12619   else
12620  
16578 cat >>confdefs.h <<\_ACEOF
16579 #define PATH_DEVNULL "devnull.log"
16580 _ACEOF
12621  
12622 <  { $as_echo "$as_me:$LINENO: result: no - using devnull.log" >&5
12622 > $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12623 >
12624 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12625   $as_echo "no - using devnull.log" >&6; }
12626   fi
12627  
12628  
12629 < { $as_echo "$as_me:$LINENO: checking for library containing crypt" >&5
12629 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
12630   $as_echo_n "checking for library containing crypt... " >&6; }
12631 < if test "${ac_cv_search_crypt+set}" = set; then
12631 > if test "${ac_cv_search_crypt+set}" = set; then :
12632    $as_echo_n "(cached) " >&6
12633   else
12634    ac_func_search_save_LIBS=$LIBS
12635 < cat >conftest.$ac_ext <<_ACEOF
16594 < /* confdefs.h.  */
16595 < _ACEOF
16596 < cat confdefs.h >>conftest.$ac_ext
16597 < cat >>conftest.$ac_ext <<_ACEOF
12635 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636   /* end confdefs.h.  */
12637  
12638   /* Override any GCC internal prototype to avoid an error.
# Line 16612 | Line 12650 | return crypt ();
12650    return 0;
12651   }
12652   _ACEOF
12653 < for ac_lib in '' crypt descrypt; do
12653 > for ac_lib in '' crypt; do
12654    if test -z "$ac_lib"; then
12655      ac_res="none required"
12656    else
12657      ac_res=-l$ac_lib
12658      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12659    fi
12660 <  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
12660 >  if ac_fn_c_try_link "$LINENO"; then :
12661    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
12662   fi
12663 <
12664 < rm -rf conftest.dSYM
12665 < 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
12663 > rm -f core conftest.err conftest.$ac_objext \
12664 >    conftest$ac_exeext
12665 >  if test "${ac_cv_search_crypt+set}" = set; then :
12666    break
12667   fi
12668   done
12669 < if test "${ac_cv_search_crypt+set}" = set; then
12670 <  :
12669 > if test "${ac_cv_search_crypt+set}" = set; then :
12670 >
12671   else
12672    ac_cv_search_crypt=no
12673   fi
12674   rm conftest.$ac_ext
12675   LIBS=$ac_func_search_save_LIBS
12676   fi
12677 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
12677 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
12678   $as_echo "$ac_cv_search_crypt" >&6; }
12679   ac_res=$ac_cv_search_crypt
12680 < if test "$ac_res" != no; then
12680 > if test "$ac_res" != no; then :
12681    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12682  
12683   fi
12684  
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
12685  
12686  
12687  
12688   # Check whether --with-zlib-path was given.
12689 < if test "${with_zlib_path+set}" = set; then
12689 > if test "${with_zlib_path+set}" = set; then :
12690    withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12691   fi
12692  
12693  
12694   # Check whether --enable-zlib was given.
12695 < if test "${enable_zlib+set}" = set; then
12695 > if test "${enable_zlib+set}" = set; then :
12696    enableval=$enable_zlib; zlib=$enableval
12697   else
12698    zlib=yes
12699   fi
12700  
12701  
12702 < if test "$zlib" = yes; then
12703 <  if test "${ac_cv_header_zlib_h+set}" = set; then
12704 <  { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
12705 < $as_echo_n "checking for zlib.h... " >&6; }
12706 < if test "${ac_cv_header_zlib_h+set}" = set; then
12702 > if test "$zlib" = "yes"; then :
12703 >
12704 >  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12705 > if test "x$ac_cv_header_zlib_h" = x""yes; then :
12706 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12707 > $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12708 > if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12709    $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; }
12710   else
12711 <  # Is the header compilable?
12712 < { $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
12713 < $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
12711 >  ac_check_lib_save_LIBS=$LIBS
12712 > LIBS="-lz  $LIBS"
12713 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714   /* end confdefs.h.  */
12715 < $ac_includes_default
12716 < #include <zlib.h>
12715 >
12716 > /* Override any GCC internal prototype to avoid an error.
12717 >   Use char because int might match the return type of a GCC
12718 >   builtin and then its argument prototype would still apply.  */
12719 > #ifdef __cplusplus
12720 > extern "C"
12721 > #endif
12722 > char zlibVersion ();
12723 > int
12724 > main ()
12725 > {
12726 > return zlibVersion ();
12727 >  ;
12728 >  return 0;
12729 > }
12730   _ACEOF
12731 < rm -f conftest.$ac_objext
12732 < 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
12731 > if ac_fn_c_try_link "$LINENO"; then :
12732 >  ac_cv_lib_z_zlibVersion=yes
12733   else
12734 <  $as_echo "$as_me: failed program was:" >&5
12735 < sed 's/^/| /' conftest.$ac_ext >&5
12734 >  ac_cv_lib_z_zlibVersion=no
12735 > fi
12736 > rm -f core conftest.err conftest.$ac_objext \
12737 >    conftest$ac_exeext conftest.$ac_ext
12738 > LIBS=$ac_check_lib_save_LIBS
12739 > fi
12740 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12741 > $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12742 > if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12743 >
12744 >      LIBS="-lz $LIBS"
12745 >
12746 > $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12747  
12748 <        ac_header_compiler=no
12748 >
12749 > else
12750 >  zlib=no
12751   fi
12752  
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; }
12753  
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
12754   else
12755 <  $as_echo "$as_me: failed program was:" >&5
12756 < sed 's/^/| /' conftest.$ac_ext >&5
12755 >  zlib=no
12756 > fi
12757 >
12758 >
12759  
16784  ac_header_preproc=no
12760   fi
12761  
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; }
12762  
12763 < # So?  What about this header?
12764 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12765 <  yes:no: )
12766 <    { $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;}
12763 > # Check whether --with-libpcre-path was given.
12764 > if test "${with_libpcre_path+set}" = set; then :
12765 >  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12766 > fi
12767  
12768 <    ;;
12769 < esac
12770 < { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
12771 < $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
12768 >
12769 > # Check whether --enable-libpcre was given.
12770 > if test "${enable_libpcre+set}" = set; then :
12771 >  enableval=$enable_libpcre; libpcre=$enableval
12772   else
12773 <  ac_cv_header_zlib_h=$ac_header_preproc
12773 >  libpcre=yes
12774   fi
16823 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
16824 $as_echo "$ac_cv_header_zlib_h" >&6; }
12775  
12776 < fi
12777 < if test "x$ac_cv_header_zlib_h" = x""yes; then
12778 <  { $as_echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5
12779 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12780 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
12776 >
12777 > if test "$libpcre" = "yes"; then :
12778 >
12779 >  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12780 > if test "x$ac_cv_header_pcre_h" = x""yes; then :
12781 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12782 > $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12783 > if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12784    $as_echo_n "(cached) " >&6
12785   else
12786    ac_check_lib_save_LIBS=$LIBS
12787 < LIBS="-lz  $LIBS"
12788 < cat >conftest.$ac_ext <<_ACEOF
16836 < /* confdefs.h.  */
16837 < _ACEOF
16838 < cat confdefs.h >>conftest.$ac_ext
16839 < cat >>conftest.$ac_ext <<_ACEOF
12787 > LIBS="-lpcre  $LIBS"
12788 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789   /* end confdefs.h.  */
12790  
12791   /* Override any GCC internal prototype to avoid an error.
# Line 16845 | Line 12794 | cat >>conftest.$ac_ext <<_ACEOF
12794   #ifdef __cplusplus
12795   extern "C"
12796   #endif
12797 < char zlibVersion ();
12797 > char pcre_study ();
12798   int
12799   main ()
12800   {
12801 < return zlibVersion ();
12801 > return pcre_study ();
12802    ;
12803    return 0;
12804   }
12805   _ACEOF
12806 < rm -f conftest.$ac_objext conftest$ac_exeext
12807 < 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
16878 <  ac_cv_lib_z_zlibVersion=yes
12806 > if ac_fn_c_try_link "$LINENO"; then :
12807 >  ac_cv_lib_pcre_pcre_study=yes
12808   else
12809 <  $as_echo "$as_me: failed program was:" >&5
16881 < sed 's/^/| /' conftest.$ac_ext >&5
16882 <
16883 <        ac_cv_lib_z_zlibVersion=no
12809 >  ac_cv_lib_pcre_pcre_study=no
12810   fi
12811 <
12812 < rm -rf conftest.dSYM
16887 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16888 <      conftest$ac_exeext conftest.$ac_ext
12811 > rm -f core conftest.err conftest.$ac_objext \
12812 >    conftest$ac_exeext conftest.$ac_ext
12813   LIBS=$ac_check_lib_save_LIBS
12814   fi
12815 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
12816 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12817 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then
12815 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
12816 > $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12817 > if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12818  
12819 <      LIBS="-lz $LIBS"
12819 >      LIBS="-lpcre $LIBS"
12820  
12821 < cat >>confdefs.h <<\_ACEOF
16898 < #define HAVE_LIBZ 1
16899 < _ACEOF
12821 > $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12822  
12823  
12824   else
12825 <  zlib=no
12825 >  libpcre=no
12826   fi
12827  
12828  
12829   else
12830 <  zlib=no
12830 >  libpcre=no
12831   fi
12832  
12833  
12834 +
12835 + fi
12836 + if test "$libpcre" = yes; then
12837 +  ENABLE_PCRE_TRUE=
12838 +  ENABLE_PCRE_FALSE='#'
12839 + else
12840 +  ENABLE_PCRE_TRUE='#'
12841 +  ENABLE_PCRE_FALSE=
12842   fi
12843  
12844  
12845 +
12846   # Check whether --enable-openssl was given.
12847 < if test "${enable_openssl+set}" = set; then
12847 > if test "${enable_openssl+set}" = set; then :
12848    enableval=$enable_openssl;  cf_enable_openssl=$enableval
12849   else
12850     cf_enable_openssl="auto"
12851   fi
12852  
12853 < { $as_echo "$as_me:$LINENO: checking for OpenSSL" >&5
12853 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
12854   $as_echo_n "checking for OpenSSL... " >&6; }
12855   if test "$cf_enable_openssl" != "no"; then
12856    cf_openssl_basedir=""
# Line 16952 | Line 12883 | if test "$cf_enable_openssl" != "no"; th
12883  
12884        if test ! -z "$cf_openssl_basedir"; then
12885      LIBS="-lcrypto -lssl $LIBS"
12886 <    { $as_echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5
12886 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
12887   $as_echo "$cf_openssl_basedir" >&6; }
12888      cf_enable_openssl="yes"
12889  
12890 < cat >>confdefs.h <<\_ACEOF
16960 < #define HAVE_LIBCRYPTO 1
16961 < _ACEOF
12890 > $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12891  
12892    else
12893 <    { $as_echo "$as_me:$LINENO: result: not found.  Please check your path." >&5
12894 < $as_echo "not found.  Please check your path." >&6; }
12893 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
12894 > $as_echo "not found. Please check your path." >&6; }
12895      cf_enable_openssl="no"
12896    fi
12897    unset cf_openssl_basedir
12898   else
12899 <    { $as_echo "$as_me:$LINENO: result: disabled" >&5
12899 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12900   $as_echo "disabled" >&6; }
12901   fi
12902 +
12903 + if test "$cf_enable_openssl" != "no"; then :
12904 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
12905 + $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
12906 +  if test "$cross_compiling" = yes; then :
12907 +  cf_openssl_version_ok=no
12908 + else
12909 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 + /* end confdefs.h.  */
12911 +
12912 +    #include <openssl/opensslv.h>
12913 +    #include <stdlib.h>
12914 + int
12915 + main ()
12916 + {
12917 + exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
12918 +  ;
12919 +  return 0;
12920 + }
12921 + _ACEOF
12922 + if ac_fn_c_try_run "$LINENO"; then :
12923 +  cf_openssl_version_ok=yes
12924 + else
12925 +  cf_openssl_version_ok=no
12926 + fi
12927 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12928 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
12929 + fi
12930 +
12931 +
12932 +  if test "$cf_openssl_version_ok" = "yes"; then :
12933 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12934 + $as_echo "found" >&6; }
12935 +
12936 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
12937 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
12938 + if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
12939 +  $as_echo_n "(cached) " >&6
12940 + else
12941 +  ac_check_lib_save_LIBS=$LIBS
12942 + LIBS="-lcrypto  $LIBS"
12943 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 + /* end confdefs.h.  */
12945 +
12946 + /* Override any GCC internal prototype to avoid an error.
12947 +   Use char because int might match the return type of a GCC
12948 +   builtin and then its argument prototype would still apply.  */
12949 + #ifdef __cplusplus
12950 + extern "C"
12951 + #endif
12952 + char RSA_free ();
12953 + int
12954 + main ()
12955 + {
12956 + return RSA_free ();
12957 +  ;
12958 +  return 0;
12959 + }
12960 + _ACEOF
12961 + if ac_fn_c_try_link "$LINENO"; then :
12962 +  ac_cv_lib_crypto_RSA_free=yes
12963 + else
12964 +  ac_cv_lib_crypto_RSA_free=no
12965 + fi
12966 + rm -f core conftest.err conftest.$ac_objext \
12967 +    conftest$ac_exeext conftest.$ac_ext
12968 + LIBS=$ac_check_lib_save_LIBS
12969 + fi
12970 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
12971 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
12972 + if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
12973 +  cat >>confdefs.h <<_ACEOF
12974 + #define HAVE_LIBCRYPTO 1
12975 + _ACEOF
12976 +
12977 +  LIBS="-lcrypto $LIBS"
12978 +
12979 + fi
12980 +
12981 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12982 +  for ac_func in EVP_bf_cfb           \
12983 +                      EVP_cast5_cfb        \
12984 +                      EVP_idea_cfb         \
12985 +                      EVP_rc5_32_12_16_cfb \
12986 +                      EVP_des_ede3_cfb     \
12987 +                      EVP_des_cfb
12988 + do :
12989 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12990 + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12991 + eval as_val=\$$as_ac_var
12992 +   if test "x$as_val" = x""yes; then :
12993 +  cat >>confdefs.h <<_ACEOF
12994 + #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12995 + _ACEOF
12996 +
12997 + fi
12998 + done
12999 +
13000 + fi
13001 +
13002 + else
13003 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13004 + $as_echo "no - OpenSSL support disabled" >&6; }
13005 +    cf_enable_openssl="no"
13006 + fi
13007 + fi
13008 +
13009   if test "$cf_enable_openssl" = yes; then
13010    ENABLE_SSL_TRUE=
13011    ENABLE_SSL_FALSE='#'
# Line 16981 | Line 13017 | fi
13017  
13018  
13019   # Check whether --enable-assert was given.
13020 < if test "${enable_assert+set}" = set; then
13020 > if test "${enable_assert+set}" = set; then :
13021    enableval=$enable_assert; assert=$enableval
13022   else
13023    assert=no
13024   fi
13025  
16990 if test "$assert" = no; then
13026  
13027 < cat >>confdefs.h <<\_ACEOF
13028 < #define NDEBUG 1
13029 < _ACEOF
13027 > if test "$assert" = "no"; then :
13028 >
13029 > $as_echo "#define NDEBUG 1" >>confdefs.h
13030  
13031   fi
13032  
13033  
13034   # Check whether --enable-small-net was given.
13035 < if test "${enable_small_net+set}" = set; then
13035 > if test "${enable_small_net+set}" = set; then :
13036    enableval=$enable_small_net; small_net=$enableval
13037   else
13038    small_net=no
13039   fi
13040  
13041  
13042 < if test "$small_net" = yes; then
13042 > if test "$small_net" = "yes"; then :
13043  
17009 cat >>confdefs.h <<\_ACEOF
17010 #define NICKNAMEHISTORYLENGTH 1500
17011 _ACEOF
13044  
13045 + $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13046  
17014 cat >>confdefs.h <<\_ACEOF
17015 #define CHANNEL_HEAP_SIZE 256
17016 _ACEOF
13047  
13048 + $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13049  
17019 cat >>confdefs.h <<\_ACEOF
17020 #define BAN_HEAP_SIZE 128
17021 _ACEOF
13050  
13051 + $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13052  
17024 cat >>confdefs.h <<\_ACEOF
17025 #define CLIENT_HEAP_SIZE 256
17026 _ACEOF
13053  
13054 + $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13055  
17029 cat >>confdefs.h <<\_ACEOF
17030 #define LCLIENT_HEAP_SIZE 128
17031 _ACEOF
13056  
13057 + $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13058  
17034 cat >>confdefs.h <<\_ACEOF
17035 #define DNODE_HEAP_SIZE 256
17036 _ACEOF
13059  
13060 + $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13061  
17039 cat >>confdefs.h <<\_ACEOF
17040 #define TOPIC_HEAP_SIZE 256
17041 _ACEOF
13062  
13063 + $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13064 +
13065 +
13066 + $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13067 +
13068 +
13069 + $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13070  
13071 < cat >>confdefs.h <<\_ACEOF
13072 < #define DBUF_HEAP_SIZE 64
17046 < _ACEOF
13071 >
13072 > $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13073  
13074   else
13075  
17050 cat >>confdefs.h <<\_ACEOF
17051 #define NICKNAMEHISTORYLENGTH 15000
17052 _ACEOF
13076  
13077  
13078 < cat >>confdefs.h <<\_ACEOF
17056 < #define CHANNEL_HEAP_SIZE 1024
17057 < _ACEOF
13078 > $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13079  
13080  
13081 < cat >>confdefs.h <<\_ACEOF
17061 < #define BAN_HEAP_SIZE 1024
17062 < _ACEOF
13081 > $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13082  
13083  
13084 < cat >>confdefs.h <<\_ACEOF
17066 < #define CLIENT_HEAP_SIZE 1024
17067 < _ACEOF
13084 > $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13085  
13086  
13087 < cat >>confdefs.h <<\_ACEOF
17071 < #define LCLIENT_HEAP_SIZE 512
17072 < _ACEOF
13087 > $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13088  
13089  
13090 < cat >>confdefs.h <<\_ACEOF
17076 < #define DNODE_HEAP_SIZE 1024
17077 < _ACEOF
13090 > $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13091  
13092  
13093 < cat >>confdefs.h <<\_ACEOF
17081 < #define TOPIC_HEAP_SIZE 1024
17082 < _ACEOF
13093 > $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13094  
13095  
13096 < cat >>confdefs.h <<\_ACEOF
13097 < #define DBUF_HEAP_SIZE 512
13098 < _ACEOF
13096 > $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13097 >
13098 >
13099 > $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13100 >
13101 >
13102 > $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13103 >
13104 >
13105 > $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13106  
13107   fi
13108  
# Line 17093 | Line 13111 | fi
13111  
13112      desired_iopoll_mechanism="none"
13113      # Check whether --enable-kqueue was given.
13114 < if test "${enable_kqueue+set}" = set; then
13114 > if test "${enable_kqueue+set}" = set; then :
13115    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
13116   fi
13117  
13118    # Check whether --enable-epoll was given.
13119 < if test "${enable_epoll+set}" = set; then
13119 > if test "${enable_epoll+set}" = set; then :
13120    enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
13121   fi
13122  
13123    # Check whether --enable-devpoll was given.
13124 < if test "${enable_devpoll+set}" = set; then
13124 > if test "${enable_devpoll+set}" = set; then :
13125    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13126   fi
13127  
13128    # Check whether --enable-rtsigio was given.
13129 < if test "${enable_rtsigio+set}" = set; then
13129 > if test "${enable_rtsigio+set}" = set; then :
13130    enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13131   fi
13132  
13133    # Check whether --enable-poll was given.
13134 < if test "${enable_poll+set}" = set; then
13134 > if test "${enable_poll+set}" = set; then :
13135    enableval=$enable_poll; desired_iopoll_mechanism="poll"
13136   fi
13137  
13138    # Check whether --enable-select was given.
13139 < if test "${enable_select+set}" = set; then
13139 > if test "${enable_select+set}" = set; then :
13140    enableval=$enable_select; desired_iopoll_mechanism="select"
13141   fi
13142  
13143 <      { $as_echo "$as_me:$LINENO: checking for optimal/desired iopoll mechanism" >&5
13143 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13144   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13145    iopoll_mechanism_none=0
13146  
# Line 17136 | Line 13154 | cat >>confdefs.h <<_ACEOF
13154   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
13155   _ACEOF
13156  
13157 <  cat >conftest.$ac_ext <<_ACEOF
17140 < /* confdefs.h.  */
17141 < _ACEOF
17142 < cat confdefs.h >>conftest.$ac_ext
17143 < cat >>conftest.$ac_ext <<_ACEOF
13157 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158   /* end confdefs.h.  */
13159   /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
13160     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17181 | Line 13195 | return kevent ();
13195    return 0;
13196   }
13197   _ACEOF
13198 < 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
13198 > if ac_fn_c_try_link "$LINENO"; then :
13199    is_kqueue_mechanism_available="yes"
13200   else
13201 <  $as_echo "$as_me: failed program was:" >&5
17208 < sed 's/^/| /' conftest.$ac_ext >&5
17209 <
17210 <        is_kqueue_mechanism_available="no"
13201 >  is_kqueue_mechanism_available="no"
13202   fi
13203 <
13204 < rm -rf conftest.dSYM
17214 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17215 <      conftest$ac_exeext conftest.$ac_ext
13203 > rm -f core conftest.err conftest.$ac_objext \
13204 >    conftest$ac_exeext conftest.$ac_ext
13205        iopoll_mechanism_epoll=2
13206  
13207   cat >>confdefs.h <<_ACEOF
13208   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
13209   _ACEOF
13210  
13211 <  if test "$cross_compiling" = yes; then
13212 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13211 >  if test "$cross_compiling" = yes; then :
13212 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13213   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13214 < { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13215 < 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; }; }; }
13214 > as_fn_error "cannot run test program while cross compiling
13215 > See \`config.log' for more details." "$LINENO" 5; }
13216   else
13217 <  cat >conftest.$ac_ext <<_ACEOF
13217 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13218 > /* end confdefs.h.  */
13219  
13220   #include <sys/epoll.h>
13221   #include <sys/syscall.h>
# Line 17261 | Line 13248 | _syscall1(int, epoll_create, int, size)
13248   main() { return epoll_create(256) == -1 ? 1 : 0; }
13249  
13250   _ACEOF
13251 < 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
13251 > if ac_fn_c_try_run "$LINENO"; then :
13252    is_epoll_mechanism_available="yes"
13253   else
13254 <  $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"
13254 >  is_epoll_mechanism_available="no"
13255   fi
13256 < rm -rf conftest.dSYM
13257 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13256 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13257 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13258   fi
13259  
17299
13260        iopoll_mechanism_devpoll=3
13261  
13262   cat >>confdefs.h <<_ACEOF
13263   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
13264   _ACEOF
13265  
13266 <  cat >conftest.$ac_ext <<_ACEOF
17307 < /* confdefs.h.  */
17308 < _ACEOF
17309 < cat confdefs.h >>conftest.$ac_ext
17310 < cat >>conftest.$ac_ext <<_ACEOF
13266 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13267   /* end confdefs.h.  */
13268   #include <devpoll.h>
13269   int
# Line 17318 | Line 13274 | main ()
13274    return 0;
13275   }
13276   _ACEOF
13277 < 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
13277 > if ac_fn_c_try_compile "$LINENO"; then :
13278    is_devpoll_mechanism_available="yes"
13279   else
13280 <  $as_echo "$as_me: failed program was:" >&5
17342 < sed 's/^/| /' conftest.$ac_ext >&5
17343 <
17344 <        is_devpoll_mechanism_available="no"
13280 >  is_devpoll_mechanism_available="no"
13281   fi
17346
13282   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13283    if test "$is_devpoll_mechanism_available" = "yes" ; then
13284  
13285 < cat >>confdefs.h <<\_ACEOF
17351 < #define HAVE_DEVPOLL_H 1
17352 < _ACEOF
13285 > $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
13286  
13287    fi
13288 <  cat >conftest.$ac_ext <<_ACEOF
17356 < /* confdefs.h.  */
17357 < _ACEOF
17358 < cat confdefs.h >>conftest.$ac_ext
17359 < cat >>conftest.$ac_ext <<_ACEOF
13288 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13289   /* end confdefs.h.  */
13290   #include <sys/devpoll.h>
13291   int
# Line 17367 | Line 13296 | main ()
13296    return 0;
13297   }
13298   _ACEOF
13299 < 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
13299 > if ac_fn_c_try_compile "$LINENO"; then :
13300    is_devpoll_mechanism_available="yes"
13301   else
13302 <  $as_echo "$as_me: failed program was:" >&5
17391 < sed 's/^/| /' conftest.$ac_ext >&5
17392 <
17393 <        is_devpoll_mechanism_available="no"
13302 >  is_devpoll_mechanism_available="no"
13303   fi
17395
13304   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13305    if test "$is_devpoll_mechanism_available" = "yes" ; then
13306  
13307 < cat >>confdefs.h <<\_ACEOF
17400 < #define HAVE_SYS_DEVPOLL_H 1
17401 < _ACEOF
13307 > $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
13308  
13309    fi
13310        iopoll_mechanism_rtsigio=4
# Line 17407 | Line 13313 | cat >>confdefs.h <<_ACEOF
13313   #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13314   _ACEOF
13315  
13316 <  if test "$cross_compiling" = yes; then
13317 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13316 >  if test "$cross_compiling" = yes; then :
13317 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13318   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13319 < { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13320 < 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; }; }; }
13319 > as_fn_error "cannot run test program while cross compiling
13320 > See \`config.log' for more details." "$LINENO" 5; }
13321   else
13322 <  cat >conftest.$ac_ext <<_ACEOF
17420 < /* confdefs.h.  */
17421 < _ACEOF
17422 < cat confdefs.h >>conftest.$ac_ext
17423 < cat >>conftest.$ac_ext <<_ACEOF
13322 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13323   /* end confdefs.h.  */
13324  
13325   #include <fcntl.h>
# Line 17438 | Line 13337 | main ()
13337    return 0;
13338   }
13339   _ACEOF
13340 < 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
13340 > if ac_fn_c_try_run "$LINENO"; then :
13341    is_rtsigio_mechanism_available="yes"
13342   else
13343 <  $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"
13343 >  is_rtsigio_mechanism_available="no"
13344   fi
13345 < rm -rf conftest.dSYM
13346 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13345 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13346 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13347   fi
13348  
17476
13349        iopoll_mechanism_poll=5
13350  
13351   cat >>confdefs.h <<_ACEOF
13352   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
13353   _ACEOF
13354  
13355 <  cat >conftest.$ac_ext <<_ACEOF
17484 < /* confdefs.h.  */
17485 < _ACEOF
17486 < cat confdefs.h >>conftest.$ac_ext
17487 < cat >>conftest.$ac_ext <<_ACEOF
13355 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356   /* end confdefs.h.  */
13357   /* Define poll to an innocuous variant, in case <limits.h> declares poll.
13358     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17525 | Line 13393 | return poll ();
13393    return 0;
13394   }
13395   _ACEOF
13396 < 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
13396 > if ac_fn_c_try_link "$LINENO"; then :
13397    is_poll_mechanism_available="yes"
13398   else
13399 <  $as_echo "$as_me: failed program was:" >&5
17552 < sed 's/^/| /' conftest.$ac_ext >&5
17553 <
17554 <        is_poll_mechanism_available="no"
13399 >  is_poll_mechanism_available="no"
13400   fi
13401 <
13402 < rm -rf conftest.dSYM
17558 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17559 <      conftest$ac_exeext conftest.$ac_ext
13401 > rm -f core conftest.err conftest.$ac_objext \
13402 >    conftest$ac_exeext conftest.$ac_ext
13403        iopoll_mechanism_select=6
13404  
13405   cat >>confdefs.h <<_ACEOF
13406   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
13407   _ACEOF
13408  
13409 <  cat >conftest.$ac_ext <<_ACEOF
17567 < /* confdefs.h.  */
17568 < _ACEOF
17569 < cat confdefs.h >>conftest.$ac_ext
17570 < cat >>conftest.$ac_ext <<_ACEOF
13409 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13410   /* end confdefs.h.  */
13411   /* Define select to an innocuous variant, in case <limits.h> declares select.
13412     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17608 | Line 13447 | return select ();
13447    return 0;
13448   }
13449   _ACEOF
13450 < 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
13450 > if ac_fn_c_try_link "$LINENO"; then :
13451    is_select_mechanism_available="yes"
13452   else
13453 <  $as_echo "$as_me: failed program was:" >&5
17635 < sed 's/^/| /' conftest.$ac_ext >&5
17636 <
17637 <        is_select_mechanism_available="no"
13453 >  is_select_mechanism_available="no"
13454   fi
13455 <
13456 < rm -rf conftest.dSYM
17641 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17642 <      conftest$ac_exeext conftest.$ac_ext
13455 > rm -f core conftest.err conftest.$ac_objext \
13456 >    conftest$ac_exeext conftest.$ac_ext
13457        optimal_iopoll_mechanism="none"
13458    for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
13459      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
# Line 17650 | Line 13464 | rm -f core conftest.err conftest.$ac_obj
13464    done
13465        if test "$desired_iopoll_mechanism" = "none" ; then
13466      if test "$optimal_iopoll_mechanism" = "none" ; then
13467 <      { $as_echo "$as_me:$LINENO: result: none" >&5
13467 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13468   $as_echo "none" >&6; }
13469 <      { { $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; }; }
13469 >      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
13470      else
13471        selected_iopoll_mechanism=$optimal_iopoll_mechanism
13472 <      { $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5
13472 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13473   $as_echo "$selected_iopoll_mechanism" >&6; }
13474      fi
13475    else
13476      eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
13477      if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
13478        selected_iopoll_mechanism=$desired_iopoll_mechanism
13479 <      { $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5
13479 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13480   $as_echo "$selected_iopoll_mechanism" >&6; }
13481      else
13482 <      { $as_echo "$as_me:$LINENO: result: none" >&5
13482 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13483   $as_echo "none" >&6; }
13484 <      { { $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; }; }
13484 >      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
13485      fi
13486    fi
13487        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 17684 | Line 13494 | _ACEOF
13494  
13495  
13496   # Check whether --with-nicklen was given.
13497 < if test "${with_nicklen+set}" = set; then
13497 > if test "${with_nicklen+set}" = set; then :
13498    withval=$with_nicklen; nicklen="$withval"
13499   else
13500    nicklen="9"
# Line 17699 | Line 13509 | _ACEOF
13509  
13510  
13511   # Check whether --with-topiclen was given.
13512 < if test "${with_topiclen+set}" = set; then
13512 > if test "${with_topiclen+set}" = set; then :
13513    withval=$with_topiclen; topiclen="$withval"
13514   else
13515    topiclen="160"
# Line 17707 | Line 13517 | fi
13517  
13518  
13519   cat >>confdefs.h <<_ACEOF
13520 < #define TOPICLEN ($topiclen+1)
13520 > #define TOPICLEN ($topiclen)
13521   _ACEOF
13522  
13523  
13524  
13525  
13526   # Check whether --with-syslog-facility was given.
13527 < if test "${with_syslog_facility+set}" = set; then
13527 > if test "${with_syslog_facility+set}" = set; then :
13528    withval=$with_syslog_facility; syslog_facility="$withval"
13529   else
13530    syslog_facility="LOG_LOCAL4"
# Line 17728 | Line 13538 | _ACEOF
13538  
13539  
13540    # Check whether --enable-efnet was given.
13541 < if test "${enable_efnet+set}" = set; then
13541 > if test "${enable_efnet+set}" = set; then :
13542    enableval=$enable_efnet; efnet="$enableval"
13543   else
13544    efnet="no"
# Line 17737 | Line 13547 | fi
13547    if test "$efnet" = "yes" ; then
13548                  use_efnet="yes"
13549  
13550 < cat >>confdefs.h <<\_ACEOF
17741 < #define EFNET 1
17742 < _ACEOF
13550 > $as_echo "#define EFNET 1" >>confdefs.h
13551  
13552  
13553 < cat >>confdefs.h <<\_ACEOF
17746 < #define TS5_ONLY 1
17747 < _ACEOF
13553 > $as_echo "#define TS5_ONLY 1" >>confdefs.h
13554  
13555          else
17750
17751 cat >>confdefs.h <<\_ACEOF
17752 #define INVARIANTS 1
17753 _ACEOF
17754
13556                  use_efnet="no"
13557    fi
13558     if test "$use_efnet" = "yes"; then
# 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"
13593 >    CFLAGS="-Wall -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"
13606   fi
13607  
13608    if test "$warnings" = "yes" ; then
13609 <    CFLAGS="-Wall -Wextra -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
13609 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
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 18082 | Line 13736 | _ACEOF
13736    test "$exec_prefix_NONE" && exec_prefix=NONE
13737  
13738  
13739 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile lib/Makefile lib/pcre/Makefile tools/Makefile"
13739 > ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
13740  
13741  
13742   cat >confcache <<\_ACEOF
# 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  
13885 < if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then
13886 <  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CRYPT\" was never defined.
13887 < 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; }; }
13885 > if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13886 >  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13887 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13888   fi
13889   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
13890 <  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SSL\" was never defined.
13891 < 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; }; }
13890 >  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13891 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13892   fi
13893   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13894 <  { { $as_echo "$as_me:$LINENO: error: conditional \"EFNET\" was never defined.
13895 < 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; }; }
13894 >  as_fn_error "conditional \"EFNET\" was never defined.
13895 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13896   fi
13897  
13898   : ${CONFIG_STATUS=./config.status}
13899   ac_write_fail=0
13900   ac_clean_files_save=$ac_clean_files
13901   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13902 < { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13902 > { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13903   $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13904 < cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13904 > as_write_fail=0
13905 > cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13906   #! $SHELL
13907   # Generated by $as_me.
13908   # Run this file to recreate the current configuration.
# Line 18281 | Line 13912 | cat >$CONFIG_STATUS <<_ACEOF || ac_write
13912   debug=false
13913   ac_cs_recheck=false
13914   ac_cs_silent=false
18284 SHELL=\${CONFIG_SHELL-$SHELL}
18285 _ACEOF
13915  
13916 < cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13917 < ## --------------------- ##
13918 < ## M4sh Initialization.  ##
13919 < ## --------------------- ##
13916 > SHELL=\${CONFIG_SHELL-$SHELL}
13917 > export SHELL
13918 > _ASEOF
13919 > cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13920 > ## -------------------- ##
13921 > ## M4sh Initialization. ##
13922 > ## -------------------- ##
13923  
13924   # Be more Bourne compatible
13925   DUALCASE=1; export DUALCASE # for MKS sh
13926 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13926 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13927    emulate sh
13928    NULLCMD=:
13929    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# Line 18299 | Line 13931 | if test -n "${ZSH_VERSION+set}" && (emul
13931    alias -g '${1+"$@"}'='"$@"'
13932    setopt NO_GLOB_SUBST
13933   else
13934 <  case `(set -o) 2>/dev/null` in
13935 <  *posix*) set -o posix ;;
13934 >  case `(set -o) 2>/dev/null` in #(
13935 >  *posix*) :
13936 >    set -o posix ;; #(
13937 >  *) :
13938 >     ;;
13939   esac
18305
13940   fi
13941  
13942  
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
13943   as_nl='
13944   '
13945   export as_nl
# Line 18323 | Line 13947 | export as_nl
13947   as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13948   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13949   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13950 < if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13950 > # Prefer a ksh shell builtin over an external printf program on Solaris,
13951 > # but without wasting forks for bash or zsh.
13952 > if test -z "$BASH_VERSION$ZSH_VERSION" \
13953 >    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13954 >  as_echo='print -r --'
13955 >  as_echo_n='print -rn --'
13956 > elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13957    as_echo='printf %s\n'
13958    as_echo_n='printf %s'
13959   else
# Line 18334 | Line 13964 | else
13964      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13965      as_echo_n_body='eval
13966        arg=$1;
13967 <      case $arg in
13967 >      case $arg in #(
13968        *"$as_nl"*)
13969          expr "X$arg" : "X\\(.*\\)$as_nl";
13970          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 18357 | Line 13987 | if test "${PATH_SEPARATOR+set}" != set;
13987    }
13988   fi
13989  
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
13990  
13991   # IFS
13992   # We need space, tab and new line, in precisely that order.  Quoting is
# Line 18373 | Line 13996 | fi
13996   IFS=" ""        $as_nl"
13997  
13998   # Find who we are.  Look in the path if we contain no directory separator.
13999 < case $0 in
13999 > case $0 in #((
14000    *[\\/]* ) as_myself=$0 ;;
14001    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14002   for as_dir in $PATH
14003   do
14004    IFS=$as_save_IFS
14005    test -z "$as_dir" && as_dir=.
14006 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14007 < done
14006 >    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14007 >  done
14008   IFS=$as_save_IFS
14009  
14010       ;;
# Line 18393 | Line 14016 | if test "x$as_myself" = x; then
14016   fi
14017   if test ! -f "$as_myself"; then
14018    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14019 <  { (exit 1); exit 1; }
14019 >  exit 1
14020   fi
14021  
14022 < # Work around bugs in pre-3.0 UWIN ksh.
14023 < for as_var in ENV MAIL MAILPATH
14024 < do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14022 > # Unset variables that we do not need and which cause bugs (e.g. in
14023 > # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14024 > # suppresses any "Segmentation fault" message there.  '((' could
14025 > # trigger a bug in pdksh 5.2.14.
14026 > for as_var in BASH_ENV ENV MAIL MAILPATH
14027 > do eval test x\${$as_var+set} = xset \
14028 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14029   done
14030   PS1='$ '
14031   PS2='> '
# Line 18410 | Line 14037 | export LC_ALL
14037   LANGUAGE=C
14038   export LANGUAGE
14039  
14040 < # Required to use basename.
14040 > # CDPATH.
14041 > (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14042 >
14043 >
14044 > # as_fn_error ERROR [LINENO LOG_FD]
14045 > # ---------------------------------
14046 > # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14047 > # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14048 > # script with status $?, using 1 if that was 0.
14049 > as_fn_error ()
14050 > {
14051 >  as_status=$?; test $as_status -eq 0 && as_status=1
14052 >  if test "$3"; then
14053 >    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14054 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14055 >  fi
14056 >  $as_echo "$as_me: error: $1" >&2
14057 >  as_fn_exit $as_status
14058 > } # as_fn_error
14059 >
14060 >
14061 > # as_fn_set_status STATUS
14062 > # -----------------------
14063 > # Set $? to STATUS, without forking.
14064 > as_fn_set_status ()
14065 > {
14066 >  return $1
14067 > } # as_fn_set_status
14068 >
14069 > # as_fn_exit STATUS
14070 > # -----------------
14071 > # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14072 > as_fn_exit ()
14073 > {
14074 >  set +e
14075 >  as_fn_set_status $1
14076 >  exit $1
14077 > } # as_fn_exit
14078 >
14079 > # as_fn_unset VAR
14080 > # ---------------
14081 > # Portably unset VAR.
14082 > as_fn_unset ()
14083 > {
14084 >  { eval $1=; unset $1;}
14085 > }
14086 > as_unset=as_fn_unset
14087 > # as_fn_append VAR VALUE
14088 > # ----------------------
14089 > # Append the text in VALUE to the end of the definition contained in VAR. Take
14090 > # advantage of any shell optimizations that allow amortized linear growth over
14091 > # repeated appends, instead of the typical quadratic growth present in naive
14092 > # implementations.
14093 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14094 >  eval 'as_fn_append ()
14095 >  {
14096 >    eval $1+=\$2
14097 >  }'
14098 > else
14099 >  as_fn_append ()
14100 >  {
14101 >    eval $1=\$$1\$2
14102 >  }
14103 > fi # as_fn_append
14104 >
14105 > # as_fn_arith ARG...
14106 > # ------------------
14107 > # Perform arithmetic evaluation on the ARGs, and store the result in the
14108 > # global $as_val. Take advantage of shells that can avoid forks. The arguments
14109 > # must be portable across $(()) and expr.
14110 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14111 >  eval 'as_fn_arith ()
14112 >  {
14113 >    as_val=$(( $* ))
14114 >  }'
14115 > else
14116 >  as_fn_arith ()
14117 >  {
14118 >    as_val=`expr "$@" || test $? -eq 1`
14119 >  }
14120 > fi # as_fn_arith
14121 >
14122 >
14123   if expr a : '\(a\)' >/dev/null 2>&1 &&
14124     test "X`expr 00001 : '.*\(...\)'`" = X001; then
14125    as_expr=expr
# Line 18424 | Line 14133 | else
14133    as_basename=false
14134   fi
14135  
14136 + if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14137 +  as_dirname=dirname
14138 + else
14139 +  as_dirname=false
14140 + fi
14141  
18428 # Name of the executable.
14142   as_me=`$as_basename -- "$0" ||
14143   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14144           X"$0" : 'X\(//\)$' \| \
# Line 18445 | Line 14158 | $as_echo X/"$0" |
14158            }
14159            s/.*/./; q'`
14160  
14161 < # CDPATH.
14162 < $as_unset CDPATH
14163 <
14164 <
14165 <
14166 <  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
14161 > # Avoid depending upon Character Ranges.
14162 > as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14163 > as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14164 > as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14165 > as_cr_digits='0123456789'
14166 > as_cr_alnum=$as_cr_Letters$as_cr_digits
14167  
14168   ECHO_C= ECHO_N= ECHO_T=
14169 < case `echo -n x` in
14169 > case `echo -n x` in #(((((
14170   -n*)
14171 <  case `echo 'x\c'` in
14171 >  case `echo 'xy\c'` in
14172    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14173 <  *)   ECHO_C='\c';;
14173 >  xy)  ECHO_C='\c';;
14174 >  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14175 >       ECHO_T=' ';;
14176    esac;;
14177   *)
14178    ECHO_N='-n';;
14179   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
14180  
14181   rm -f conf$$ conf$$.exe conf$$.file
14182   if test -d conf$$.dir; then
# Line 18543 | Line 14205 | fi
14205   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14206   rmdir conf$$.dir 2>/dev/null
14207  
14208 +
14209 + # as_fn_mkdir_p
14210 + # -------------
14211 + # Create "$as_dir" as a directory, including parents if necessary.
14212 + as_fn_mkdir_p ()
14213 + {
14214 +
14215 +  case $as_dir in #(
14216 +  -*) as_dir=./$as_dir;;
14217 +  esac
14218 +  test -d "$as_dir" || eval $as_mkdir_p || {
14219 +    as_dirs=
14220 +    while :; do
14221 +      case $as_dir in #(
14222 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14223 +      *) as_qdir=$as_dir;;
14224 +      esac
14225 +      as_dirs="'$as_qdir' $as_dirs"
14226 +      as_dir=`$as_dirname -- "$as_dir" ||
14227 + $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14228 +         X"$as_dir" : 'X\(//\)[^/]' \| \
14229 +         X"$as_dir" : 'X\(//\)$' \| \
14230 +         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14231 + $as_echo X"$as_dir" |
14232 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14233 +            s//\1/
14234 +            q
14235 +          }
14236 +          /^X\(\/\/\)[^/].*/{
14237 +            s//\1/
14238 +            q
14239 +          }
14240 +          /^X\(\/\/\)$/{
14241 +            s//\1/
14242 +            q
14243 +          }
14244 +          /^X\(\/\).*/{
14245 +            s//\1/
14246 +            q
14247 +          }
14248 +          s/.*/./; q'`
14249 +      test -d "$as_dir" && break
14250 +    done
14251 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
14252 +  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14253 +
14254 +
14255 + } # as_fn_mkdir_p
14256   if mkdir -p . 2>/dev/null; then
14257 <  as_mkdir_p=:
14257 >  as_mkdir_p='mkdir -p "$as_dir"'
14258   else
14259    test -d ./-p && rmdir ./-p
14260    as_mkdir_p=false
# Line 18563 | Line 14273 | else
14273        if test -d "$1"; then
14274          test -d "$1/.";
14275        else
14276 <        case $1 in
14276 >        case $1 in #(
14277          -*)set "./$1";;
14278          esac;
14279 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14279 >        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14280          ???[sx]*):;;*)false;;esac;fi
14281      '\'' sh
14282    '
# Line 18581 | Line 14291 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
14291  
14292  
14293   exec 6>&1
14294 + ## ----------------------------------- ##
14295 + ## Main body of $CONFIG_STATUS script. ##
14296 + ## ----------------------------------- ##
14297 + _ASEOF
14298 + test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14299  
14300 < # Save the log message, to keep $[0] and so on meaningful, and to
14300 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14301 > # Save the log message, to keep $0 and so on meaningful, and to
14302   # report actual input values of CONFIG_FILES etc. instead of their
14303   # values after options handling.
14304   ac_log="
14305 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
14306 < generated by GNU Autoconf 2.63.  Invocation command line was
14305 > This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
14306 > generated by GNU Autoconf 2.65.  Invocation command line was
14307  
14308    CONFIG_FILES    = $CONFIG_FILES
14309    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 18611 | Line 14327 | esac
14327  
14328   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14329   # Files that config.status was made for.
14330 < config_files="`echo $ac_config_files`"
14331 < config_headers="`echo $ac_config_headers`"
14332 < config_commands="`echo $ac_config_commands`"
14330 > config_files="$ac_config_files"
14331 > config_headers="$ac_config_headers"
14332 > config_commands="$ac_config_commands"
14333  
14334   _ACEOF
14335  
14336   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14337   ac_cs_usage="\
14338 < \`$as_me' instantiates files from templates according to the
14339 < current configuration.
14338 > \`$as_me' instantiates files and other configuration actions
14339 > from templates according to the current configuration.  Unless the files
14340 > and actions are specified as TAGs, all are instantiated by default.
14341  
14342 < Usage: $0 [OPTION]... [FILE]...
14342 > Usage: $0 [OPTION]... [TAG]...
14343  
14344    -h, --help       print this help, then exit
14345    -V, --version    print version number and configuration settings, then exit
14346 +      --config     print configuration, then exit
14347    -q, --quiet, --silent
14348                     do not print progress messages
14349    -d, --debug      don't remove temporary files
# Line 18644 | Line 14362 | $config_headers
14362   Configuration commands:
14363   $config_commands
14364  
14365 < Report bugs to <bug-autoconf@gnu.org>."
14365 > Report bugs to <bugs@ircd-hybrid.org>."
14366  
14367   _ACEOF
14368   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14369 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14370   ac_cs_version="\\
14371 < ircd-hybrid config.status 7.2.4
14372 < configured by $0, generated by GNU Autoconf 2.63,
14373 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14371 > ircd-hybrid config.status 7.3-rc1
14372 > configured by $0, generated by GNU Autoconf 2.65,
14373 >  with options \\"\$ac_cs_config\\"
14374  
14375 < Copyright (C) 2008 Free Software Foundation, Inc.
14375 > Copyright (C) 2009 Free Software Foundation, Inc.
14376   This config.status script is free software; the Free Software Foundation
14377   gives unlimited permission to copy, distribute and modify it."
14378  
# Line 18689 | Line 14408 | do
14408      ac_cs_recheck=: ;;
14409    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14410      $as_echo "$ac_cs_version"; exit ;;
14411 +  --config | --confi | --conf | --con | --co | --c )
14412 +    $as_echo "$ac_cs_config"; exit ;;
14413    --debug | --debu | --deb | --de | --d | -d )
14414      debug=: ;;
14415    --file | --fil | --fi | --f )
# Line 18696 | Line 14417 | do
14417      case $ac_optarg in
14418      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14419      esac
14420 <    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
14420 >    as_fn_append CONFIG_FILES " '$ac_optarg'"
14421      ac_need_defaults=false;;
14422    --header | --heade | --head | --hea )
14423      $ac_shift
14424      case $ac_optarg in
14425      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14426      esac
14427 <    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
14427 >    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14428      ac_need_defaults=false;;
14429    --he | --h)
14430      # Conflict between --help and --header
14431 <    { $as_echo "$as_me: error: ambiguous option: $1
14432 < Try \`$0 --help' for more information." >&2
18712 <   { (exit 1); exit 1; }; };;
14431 >    as_fn_error "ambiguous option: \`$1'
14432 > Try \`$0 --help' for more information.";;
14433    --help | --hel | -h )
14434      $as_echo "$ac_cs_usage"; exit ;;
14435    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
# Line 18717 | Line 14437 | Try \`$0 --help' for more information."
14437      ac_cs_silent=: ;;
14438  
14439    # This is an error.
14440 <  -*) { $as_echo "$as_me: error: unrecognized option: $1
14441 < Try \`$0 --help' for more information." >&2
18722 <   { (exit 1); exit 1; }; } ;;
14440 >  -*) as_fn_error "unrecognized option: \`$1'
14441 > Try \`$0 --help' for more information." ;;
14442  
14443 <  *) ac_config_targets="$ac_config_targets $1"
14443 >  *) as_fn_append ac_config_targets " $1"
14444       ac_need_defaults=false ;;
14445  
14446    esac
# Line 18774 | Line 14493 | double_quote_subst='$double_quote_subst'
14493   delay_variable_subst='$delay_variable_subst'
14494   macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14495   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"`'
14496   enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14497 + enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14498   pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14499   enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14500   host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
# Line 19046 | Line 14765 | do
14765      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14766      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14767      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
19049    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
19050    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
14768      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14769  
14770 <  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19054 < $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19055 <   { (exit 1); exit 1; }; };;
14770 >  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14771    esac
14772   done
14773  
# Line 19079 | Line 14794 | $debug ||
14794    trap 'exit_status=$?
14795    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14796   ' 0
14797 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
14797 >  trap 'as_fn_exit 1' 1 2 13 15
14798   }
14799   # Create a (secure) tmp directory for tmp files.
14800  
# Line 19090 | Line 14805 | $debug ||
14805   {
14806    tmp=./conf$$-$RANDOM
14807    (umask 077 && mkdir "$tmp")
14808 < } ||
19094 < {
19095 <   $as_echo "$as_me: cannot create a temporary directory in ." >&2
19096 <   { (exit 1); exit 1; }
19097 < }
14808 > } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14809  
14810   # Set up the scripts for CONFIG_FILES section.
14811   # No need to generate them if there are no CONFIG_FILES.
# Line 19102 | Line 14813 | $debug ||
14813   if test -n "$CONFIG_FILES"; then
14814  
14815  
19105 ac_cr='
14816  
14817 + ac_cr=`echo X | tr X '\015'`
14818 + # On cygwin, bash can eat \r inside `` if the user requested igncr.
14819 + # But we know of no other shell where ac_cr would be empty at this
14820 + # point, so we can use a bashism as a fallback.
14821 + if test "x$ac_cr" = x; then
14822 +  eval ac_cr=\$\'\\r\'
14823 + fi
14824   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14825   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14826 <  ac_cs_awk_cr='\\r'
14826 >  ac_cs_awk_cr='\r'
14827   else
14828    ac_cs_awk_cr=$ac_cr
14829   fi
# Line 19119 | Line 14836 | _ACEOF
14836    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14837    echo "_ACEOF"
14838   } >conf$$subs.sh ||
14839 <  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19123 < $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19124 <   { (exit 1); exit 1; }; }
14839 >  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14840   ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14841   ac_delim='%!_!# '
14842   for ac_last_try in false false false false false :; do
14843    . ./conf$$subs.sh ||
14844 <    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19130 < $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19131 <   { (exit 1); exit 1; }; }
14844 >    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14845  
14846    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14847    if test $ac_delim_n = $ac_delim_num; then
14848      break
14849    elif $ac_last_try; then
14850 <    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19138 < $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19139 <   { (exit 1); exit 1; }; }
14850 >    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14851    else
14852      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14853    fi
# Line 19158 | Line 14869 | s/'"$ac_delim"'$//
14869   t delim
14870   :nl
14871   h
14872 < s/\(.\{148\}\).*/\1/
14872 > s/\(.\{148\}\)..*/\1/
14873   t more1
14874   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14875   p
# Line 19172 | Line 14883 | s/.\{148\}//
14883   t nl
14884   :delim
14885   h
14886 < s/\(.\{148\}\).*/\1/
14886 > s/\(.\{148\}\)..*/\1/
14887   t more2
14888   s/["\\]/\\&/g; s/^/"/; s/$/"/
14889   p
# Line 19225 | Line 14936 | if sed "s/$ac_cr//" < /dev/null > /dev/n
14936   else
14937    cat
14938   fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14939 <  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
19229 < $as_echo "$as_me: error: could not setup config files machinery" >&2;}
19230 <   { (exit 1); exit 1; }; }
14939 >  || as_fn_error "could not setup config files machinery" "$LINENO" 5
14940   _ACEOF
14941  
14942   # VPATH may cause trouble with some makes, so we remove $(srcdir),
# Line 19268 | Line 14977 | for ac_last_try in false false :; do
14977    if test -z "$ac_t"; then
14978      break
14979    elif $ac_last_try; then
14980 <    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
19272 < $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
19273 <   { (exit 1); exit 1; }; }
14980 >    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14981    else
14982      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14983    fi
# Line 19355 | Line 15062 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15062   _ACAWK
15063   _ACEOF
15064   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15065 <  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
19359 < $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
19360 <   { (exit 1); exit 1; }; }
15065 >  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15066   fi # test -n "$CONFIG_HEADERS"
15067  
15068  
# Line 19370 | Line 15075 | do
15075    esac
15076    case $ac_mode$ac_tag in
15077    :[FHL]*:*);;
15078 <  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
19374 < $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
19375 <   { (exit 1); exit 1; }; };;
15078 >  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15079    :[FH]-) ac_tag=-:-;;
15080    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15081    esac
# Line 19400 | Line 15103 | $as_echo "$as_me: error: invalid tag $ac
15103             [\\/$]*) false;;
15104             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15105             esac ||
15106 <           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19404 < $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19405 <   { (exit 1); exit 1; }; };;
15106 >           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15107        esac
15108        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15109 <      ac_file_inputs="$ac_file_inputs '$ac_f'"
15109 >      as_fn_append ac_file_inputs " '$ac_f'"
15110      done
15111  
15112      # Let's still pretend it is `configure' which instantiates (i.e., don't
# Line 19416 | Line 15117 | $as_echo "$as_me: error: cannot find inp
15117          `' by configure.'
15118      if test x"$ac_file" != x-; then
15119        configure_input="$ac_file.  $configure_input"
15120 <      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
15120 >      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15121   $as_echo "$as_me: creating $ac_file" >&6;}
15122      fi
15123      # Neutralize special characters interpreted by sed in replacement strings.
# Line 19429 | Line 15130 | $as_echo "$as_me: creating $ac_file" >&6
15130  
15131      case $ac_tag in
15132      *:-:* | *:-) cat >"$tmp/stdin" \
15133 <      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19433 < $as_echo "$as_me: error: could not create $ac_file" >&2;}
19434 <   { (exit 1); exit 1; }; } ;;
15133 >      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15134      esac
15135      ;;
15136    esac
# Line 19459 | Line 15158 | $as_echo X"$ac_file" |
15158              q
15159            }
15160            s/.*/./; q'`
15161 <  { as_dir="$ac_dir"
19463 <  case $as_dir in #(
19464 <  -*) as_dir=./$as_dir;;
19465 <  esac
19466 <  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19467 <    as_dirs=
19468 <    while :; do
19469 <      case $as_dir in #(
19470 <      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19471 <      *) as_qdir=$as_dir;;
19472 <      esac
19473 <      as_dirs="'$as_qdir' $as_dirs"
19474 <      as_dir=`$as_dirname -- "$as_dir" ||
19475 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19476 <         X"$as_dir" : 'X\(//\)[^/]' \| \
19477 <         X"$as_dir" : 'X\(//\)$' \| \
19478 <         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19479 < $as_echo X"$as_dir" |
19480 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19481 <            s//\1/
19482 <            q
19483 <          }
19484 <          /^X\(\/\/\)[^/].*/{
19485 <            s//\1/
19486 <            q
19487 <          }
19488 <          /^X\(\/\/\)$/{
19489 <            s//\1/
19490 <            q
19491 <          }
19492 <          /^X\(\/\).*/{
19493 <            s//\1/
19494 <            q
19495 <          }
19496 <          s/.*/./; q'`
19497 <      test -d "$as_dir" && break
19498 <    done
19499 <    test -z "$as_dirs" || eval "mkdir $as_dirs"
19500 <  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19501 < $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19502 <   { (exit 1); exit 1; }; }; }
15161 >  as_dir="$ac_dir"; as_fn_mkdir_p
15162    ac_builddir=.
15163  
15164   case "$ac_dir" in
# Line 19556 | Line 15215 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15215   # If the template does not know about datarootdir, expand it.
15216   # FIXME: This hack should be removed a few years after 2.60.
15217   ac_datarootdir_hack=; ac_datarootdir_seen=
19559
15218   ac_sed_dataroot='
15219   /datarootdir/ {
15220    p
# Line 19566 | Line 15224 | ac_sed_dataroot='
15224   /@docdir@/p
15225   /@infodir@/p
15226   /@localedir@/p
15227 < /@mandir@/p
19570 < '
15227 > /@mandir@/p'
15228   case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15229   *datarootdir*) ac_datarootdir_seen=yes;;
15230   *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15231 <  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15231 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15232   $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15233   _ACEOF
15234   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Line 19581 | Line 15238 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15238    s&@infodir@&$infodir&g
15239    s&@localedir@&$localedir&g
15240    s&@mandir@&$mandir&g
15241 <    s&\\\${datarootdir}&$datarootdir&g' ;;
15241 >  s&\\\${datarootdir}&$datarootdir&g' ;;
15242   esac
15243   _ACEOF
15244  
# Line 19610 | Line 15267 | s&@MKDIR_P@&$ac_MKDIR_P&;t t
15267   $ac_datarootdir_hack
15268   "
15269   eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15270 <  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19614 < $as_echo "$as_me: error: could not create $ac_file" >&2;}
19615 <   { (exit 1); exit 1; }; }
15270 >  || as_fn_error "could not create $ac_file" "$LINENO" 5
15271  
15272   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15273    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15274    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15275 <  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15275 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15276   which seems to be undefined.  Please make sure it is defined." >&5
15277   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15278   which seems to be undefined.  Please make sure it is defined." >&2;}
# Line 19627 | Line 15282 | which seems to be undefined.  Please mak
15282    -) cat "$tmp/out" && rm -f "$tmp/out";;
15283    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15284    esac \
15285 <  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19631 < $as_echo "$as_me: error: could not create $ac_file" >&2;}
19632 <   { (exit 1); exit 1; }; }
15285 >  || as_fn_error "could not create $ac_file" "$LINENO" 5
15286   ;;
15287    :H)
15288    #
# Line 19640 | Line 15293 | $as_echo "$as_me: error: could not creat
15293        $as_echo "/* $configure_input  */" \
15294        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15295      } >"$tmp/config.h" \
15296 <      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19644 < $as_echo "$as_me: error: could not create $ac_file" >&2;}
19645 <   { (exit 1); exit 1; }; }
15296 >      || as_fn_error "could not create $ac_file" "$LINENO" 5
15297      if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15298 <      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15298 >      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15299   $as_echo "$as_me: $ac_file is unchanged" >&6;}
15300      else
15301        rm -f "$ac_file"
15302        mv "$tmp/config.h" "$ac_file" \
15303 <        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19653 < $as_echo "$as_me: error: could not create $ac_file" >&2;}
19654 <   { (exit 1); exit 1; }; }
15303 >        || as_fn_error "could not create $ac_file" "$LINENO" 5
15304      fi
15305    else
15306      $as_echo "/* $configure_input  */" \
15307        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15308 <      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19660 < $as_echo "$as_me: error: could not create -" >&2;}
19661 <   { (exit 1); exit 1; }; }
15308 >      || as_fn_error "could not create -" "$LINENO" 5
15309    fi
15310   # Compute "$ac_file"'s index in $config_headers.
15311   _am_arg="$ac_file"
# Line 19696 | Line 15343 | $as_echo X"$_am_arg" |
15343            s/.*/./; q'`/stamp-h$_am_stamp_count
15344   ;;
15345  
15346 <  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15346 >  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15347   $as_echo "$as_me: executing $ac_file commands" >&6;}
15348   ;;
15349    esac
# Line 19791 | Line 15438 | $as_echo X"$file" |
15438              q
15439            }
15440            s/.*/./; q'`
15441 <      { as_dir=$dirpart/$fdir
19795 <  case $as_dir in #(
19796 <  -*) as_dir=./$as_dir;;
19797 <  esac
19798 <  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19799 <    as_dirs=
19800 <    while :; do
19801 <      case $as_dir in #(
19802 <      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19803 <      *) as_qdir=$as_dir;;
19804 <      esac
19805 <      as_dirs="'$as_qdir' $as_dirs"
19806 <      as_dir=`$as_dirname -- "$as_dir" ||
19807 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19808 <         X"$as_dir" : 'X\(//\)[^/]' \| \
19809 <         X"$as_dir" : 'X\(//\)$' \| \
19810 <         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19811 < $as_echo X"$as_dir" |
19812 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19813 <            s//\1/
19814 <            q
19815 <          }
19816 <          /^X\(\/\/\)[^/].*/{
19817 <            s//\1/
19818 <            q
19819 <          }
19820 <          /^X\(\/\/\)$/{
19821 <            s//\1/
19822 <            q
19823 <          }
19824 <          /^X\(\/\).*/{
19825 <            s//\1/
19826 <            q
19827 <          }
19828 <          s/.*/./; q'`
19829 <      test -d "$as_dir" && break
19830 <    done
19831 <    test -z "$as_dirs" || eval "mkdir $as_dirs"
19832 <  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19833 < $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19834 <   { (exit 1); exit 1; }; }; }
15441 >      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15442        # echo "creating $dirpart/$file"
15443        echo '# dummy' > "$dirpart/$file"
15444      done
# Line 19895 | Line 15502 | available_tags=""
15502   macro_version=$macro_version
15503   macro_revision=$macro_revision
15504  
19898 # Whether or not to build shared libraries.
19899 build_libtool_libs=$enable_shared
19900
15505   # Whether or not to build static libraries.
15506   build_old_libs=$enable_static
15507  
15508 + # Whether or not to build shared libraries.
15509 + build_libtool_libs=$enable_shared
15510 +
15511   # What type of objects to build.
15512   pic_mode=$pic_mode
15513  
# Line 20478 | Line 16085 | _LT_EOF
16085   done # for ac_tag
16086  
16087  
16088 < { (exit 0); exit 0; }
16088 > as_fn_exit 0
16089   _ACEOF
20483 chmod +x $CONFIG_STATUS
16090   ac_clean_files=$ac_clean_files_save
16091  
16092   test $ac_write_fail = 0 ||
16093 <  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
20488 < $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
20489 <   { (exit 1); exit 1; }; }
16093 >  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16094  
16095  
16096   # configure is writing to config.log, and then calls config.status.
# Line 20507 | Line 16111 | if test "$no_create" != yes; then
16111    exec 5>>config.log
16112    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16113    # would make configure fail if this is the last instruction.
16114 <  $ac_cs_success || { (exit 1); exit 1; }
16114 >  $ac_cs_success || as_fn_exit $?
16115   fi
16116  
16117   #
# Line 20551 | Line 16155 | if test "$no_recursion" != yes; then
16155        case $ac_arg in
16156        *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16157        esac
16158 <      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
16158 >      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16159      esac
16160    done
16161  
# Line 20580 | Line 16184 | if test "$no_recursion" != yes; then
16184      test -d "$srcdir/$ac_dir" || continue
16185  
16186      ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16187 <    $as_echo "$as_me:$LINENO: $ac_msg" >&5
16187 >    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16188      $as_echo "$ac_msg" >&6
16189 <    { as_dir="$ac_dir"
20586 <  case $as_dir in #(
20587 <  -*) as_dir=./$as_dir;;
20588 <  esac
20589 <  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20590 <    as_dirs=
20591 <    while :; do
20592 <      case $as_dir in #(
20593 <      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20594 <      *) as_qdir=$as_dir;;
20595 <      esac
20596 <      as_dirs="'$as_qdir' $as_dirs"
20597 <      as_dir=`$as_dirname -- "$as_dir" ||
20598 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20599 <         X"$as_dir" : 'X\(//\)[^/]' \| \
20600 <         X"$as_dir" : 'X\(//\)$' \| \
20601 <         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20602 < $as_echo X"$as_dir" |
20603 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20604 <            s//\1/
20605 <            q
20606 <          }
20607 <          /^X\(\/\/\)[^/].*/{
20608 <            s//\1/
20609 <            q
20610 <          }
20611 <          /^X\(\/\/\)$/{
20612 <            s//\1/
20613 <            q
20614 <          }
20615 <          /^X\(\/\).*/{
20616 <            s//\1/
20617 <            q
20618 <          }
20619 <          s/.*/./; q'`
20620 <      test -d "$as_dir" && break
20621 <    done
20622 <    test -z "$as_dirs" || eval "mkdir $as_dirs"
20623 <  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20624 < $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20625 <   { (exit 1); exit 1; }; }; }
16189 >    as_dir="$ac_dir"; as_fn_mkdir_p
16190      ac_builddir=.
16191  
16192   case "$ac_dir" in
# Line 20669 | Line 16233 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
16233        # This should be Cygnus configure.
16234        ac_sub_configure=$ac_aux_dir/configure
16235      else
16236 <      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
16236 >      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16237   $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16238        ac_sub_configure=
16239      fi
# Line 20683 | Line 16247 | $as_echo "$as_me: WARNING: no configurat
16247          ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16248        esac
16249  
16250 <      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16250 >      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16251   $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16252        # The eval makes quoting arguments work.
16253        eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16254             --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16255 <        { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
20692 < $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
20693 <   { (exit 1); exit 1; }; }
16255 >        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16256      fi
16257  
16258      cd "$ac_popdir"
16259    done
16260   fi
16261   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16262 <  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16262 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16263   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16264   fi
16265  

Diff Legend

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