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 1084 by michael, Sat Mar 13 23:24:10 2010 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 + # From configure.ac Id: configure.ac 1068 2010-02-16 23:01:26Z 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 570 | Line 530 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
530   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531  
532  
533 + lt_ltdl_dir='libltdl'
534  
535  
536   # Check that we are running under the correct shell.
# Line 720 | Line 681 | fi
681  
682  
683  
723 – lt_ltdl_dir='libltdl'
724 –
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
4476  
4147 – done
4148 – IFS=$as_save_IFS
4477  
4478 < rm -rf conftest.one conftest.two conftest.dir
4478 > # Initializing libtool.
4479 >
4480  
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; }
4481  
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}'
4482  
4170 – test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4483  
4172 – test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4484  
4485  
4486  
4176 – #ltdl stuff
4487   case `pwd` in
4488    *\ * | *\     *)
4489 <    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4489 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4490   $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4491   esac
4492  
4493  
4494  
4495 < macro_version='2.2.6'
4496 < macro_revision='1.3012'
4495 > macro_version='2.2.6b'
4496 > macro_revision='1.3017'
4497  
4498  
4499  
# Line 4201 | Line 4511 | ltmain="$ac_aux_dir/ltmain.sh"
4511  
4512   # Make sure we can run config.sub.
4513   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4514 <  { { $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; }; }
4514 >  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4515  
4516 < { $as_echo "$as_me:$LINENO: checking build system type" >&5
4516 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4517   $as_echo_n "checking build system type... " >&6; }
4518 < if test "${ac_cv_build+set}" = set; then
4518 > if test "${ac_cv_build+set}" = set; then :
4519    $as_echo_n "(cached) " >&6
4520   else
4521    ac_build_alias=$build_alias
4522   test "x$ac_build_alias" = x &&
4523    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4524   test "x$ac_build_alias" = x &&
4525 <  { { $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; }; }
4525 >  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4526   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4527 <  { { $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; }; }
4527 >  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4528  
4529   fi
4530 < { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4530 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4531   $as_echo "$ac_cv_build" >&6; }
4532   case $ac_cv_build in
4533   *-*-*) ;;
4534 < *) { { $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; }; };;
4534 > *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4535   esac
4536   build=$ac_cv_build
4537   ac_save_IFS=$IFS; IFS='-'
# Line 4245 | Line 4547 | IFS=$ac_save_IFS
4547   case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4548  
4549  
4550 < { $as_echo "$as_me:$LINENO: checking host system type" >&5
4550 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4551   $as_echo_n "checking host system type... " >&6; }
4552 < if test "${ac_cv_host+set}" = set; then
4552 > if test "${ac_cv_host+set}" = set; then :
4553    $as_echo_n "(cached) " >&6
4554   else
4555    if test "x$host_alias" = x; then
4556    ac_cv_host=$ac_cv_build
4557   else
4558    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4559 <    { { $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; }; }
4559 >    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4560   fi
4561  
4562   fi
4563 < { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4563 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4564   $as_echo "$ac_cv_host" >&6; }
4565   case $ac_cv_host in
4566   *-*-*) ;;
4567 < *) { { $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; }; };;
4567 > *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4568   esac
4569   host=$ac_cv_host
4570   ac_save_IFS=$IFS; IFS='-'
# Line 4282 | Line 4580 | IFS=$ac_save_IFS
4580   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4581  
4582  
4583 < { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4583 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4584   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4585 < if test "${ac_cv_path_SED+set}" = set; then
4585 > if test "${ac_cv_path_SED+set}" = set; then :
4586    $as_echo_n "(cached) " >&6
4587   else
4588              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4292 | Line 4590 | else
4590         ac_script="$ac_script$as_nl$ac_script"
4591       done
4592       echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4593 <     $as_unset ac_script || ac_script=
4593 >     { ac_script=; unset ac_script;}
4594       if test -z "$SED"; then
4595    ac_path_SED_found=false
4596    # Loop through the user's path and test for each of PROGNAME-LIST
# Line 4301 | Line 4599 | for as_dir in $PATH
4599   do
4600    IFS=$as_save_IFS
4601    test -z "$as_dir" && as_dir=.
4602 <  for ac_prog in sed gsed; do
4602 >    for ac_prog in sed gsed; do
4603      for ac_exec_ext in '' $ac_executable_extensions; do
4604        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4605        { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
# Line 4321 | Line 4619 | case `"$ac_path_SED" --version 2>&1` in
4619      $as_echo '' >> "conftest.nl"
4620      "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4621      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4622 <    ac_count=`expr $ac_count + 1`
4622 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4623      if test $ac_count -gt ${ac_path_SED_max-0}; then
4624        # Best one so far, save it but keep looking for a better one
4625        ac_cv_path_SED="$ac_path_SED"
# Line 4336 | Line 4634 | esac
4634        $ac_path_SED_found && break 3
4635      done
4636    done
4637 < done
4637 >  done
4638   IFS=$as_save_IFS
4639    if test -z "$ac_cv_path_SED"; then
4640 <    { { $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; }; }
4640 >    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4641    fi
4642   else
4643    ac_cv_path_SED=$SED
4644   fi
4645  
4646   fi
4647 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4647 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4648   $as_echo "$ac_cv_path_SED" >&6; }
4649   SED="$ac_cv_path_SED"
4650    rm -f conftest.sed
# Line 4366 | Line 4662 | Xsed="$SED -e 1s/^X//"
4662  
4663  
4664  
4665 < { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4665 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4666   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4667 < if test "${ac_cv_path_GREP+set}" = set; then
4667 > if test "${ac_cv_path_GREP+set}" = set; then :
4668    $as_echo_n "(cached) " >&6
4669   else
4670    if test -z "$GREP"; then
# Line 4379 | Line 4675 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4675   do
4676    IFS=$as_save_IFS
4677    test -z "$as_dir" && as_dir=.
4678 <  for ac_prog in grep ggrep; do
4678 >    for ac_prog in grep ggrep; do
4679      for ac_exec_ext in '' $ac_executable_extensions; do
4680        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4681        { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
# Line 4399 | Line 4695 | case `"$ac_path_GREP" --version 2>&1` in
4695      $as_echo 'GREP' >> "conftest.nl"
4696      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4697      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4698 <    ac_count=`expr $ac_count + 1`
4698 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4699      if test $ac_count -gt ${ac_path_GREP_max-0}; then
4700        # Best one so far, save it but keep looking for a better one
4701        ac_cv_path_GREP="$ac_path_GREP"
# Line 4414 | Line 4710 | esac
4710        $ac_path_GREP_found && break 3
4711      done
4712    done
4713 < done
4713 >  done
4714   IFS=$as_save_IFS
4715    if test -z "$ac_cv_path_GREP"; then
4716 <    { { $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; }; }
4716 >    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4717    fi
4718   else
4719    ac_cv_path_GREP=$GREP
4720   fi
4721  
4722   fi
4723 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4723 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4724   $as_echo "$ac_cv_path_GREP" >&6; }
4725   GREP="$ac_cv_path_GREP"
4726  
4727  
4728 < { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4728 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4729   $as_echo_n "checking for egrep... " >&6; }
4730 < if test "${ac_cv_path_EGREP+set}" = set; then
4730 > if test "${ac_cv_path_EGREP+set}" = set; then :
4731    $as_echo_n "(cached) " >&6
4732   else
4733    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4447 | Line 4741 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4741   do
4742    IFS=$as_save_IFS
4743    test -z "$as_dir" && as_dir=.
4744 <  for ac_prog in egrep; do
4744 >    for ac_prog in egrep; do
4745      for ac_exec_ext in '' $ac_executable_extensions; do
4746        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4747        { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
# Line 4467 | Line 4761 | case `"$ac_path_EGREP" --version 2>&1` i
4761      $as_echo 'EGREP' >> "conftest.nl"
4762      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4763      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4764 <    ac_count=`expr $ac_count + 1`
4764 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4765      if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4766        # Best one so far, save it but keep looking for a better one
4767        ac_cv_path_EGREP="$ac_path_EGREP"
# Line 4482 | Line 4776 | esac
4776        $ac_path_EGREP_found && break 3
4777      done
4778    done
4779 < done
4779 >  done
4780   IFS=$as_save_IFS
4781    if test -z "$ac_cv_path_EGREP"; then
4782 <    { { $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; }; }
4782 >    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4783    fi
4784   else
4785    ac_cv_path_EGREP=$EGREP
# Line 4495 | Line 4787 | fi
4787  
4788     fi
4789   fi
4790 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4790 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4791   $as_echo "$ac_cv_path_EGREP" >&6; }
4792   EGREP="$ac_cv_path_EGREP"
4793  
4794  
4795 < { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4795 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4796   $as_echo_n "checking for fgrep... " >&6; }
4797 < if test "${ac_cv_path_FGREP+set}" = set; then
4797 > if test "${ac_cv_path_FGREP+set}" = set; then :
4798    $as_echo_n "(cached) " >&6
4799   else
4800    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4516 | Line 4808 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4808   do
4809    IFS=$as_save_IFS
4810    test -z "$as_dir" && as_dir=.
4811 <  for ac_prog in fgrep; do
4811 >    for ac_prog in fgrep; do
4812      for ac_exec_ext in '' $ac_executable_extensions; do
4813        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4814        { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
# Line 4536 | Line 4828 | case `"$ac_path_FGREP" --version 2>&1` i
4828      $as_echo 'FGREP' >> "conftest.nl"
4829      "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4830      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4831 <    ac_count=`expr $ac_count + 1`
4831 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4832      if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4833        # Best one so far, save it but keep looking for a better one
4834        ac_cv_path_FGREP="$ac_path_FGREP"
# Line 4551 | Line 4843 | esac
4843        $ac_path_FGREP_found && break 3
4844      done
4845    done
4846 < done
4846 >  done
4847   IFS=$as_save_IFS
4848    if test -z "$ac_cv_path_FGREP"; then
4849 <    { { $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; }; }
4849 >    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4850    fi
4851   else
4852    ac_cv_path_FGREP=$FGREP
# Line 4564 | Line 4854 | fi
4854  
4855     fi
4856   fi
4857 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4857 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4858   $as_echo "$ac_cv_path_FGREP" >&6; }
4859   FGREP="$ac_cv_path_FGREP"
4860  
# Line 4590 | Line 4880 | test -z "$GREP" && GREP=grep
4880  
4881  
4882   # Check whether --with-gnu-ld was given.
4883 < if test "${with_gnu_ld+set}" = set; then
4883 > if test "${with_gnu_ld+set}" = set; then :
4884    withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4885   else
4886    with_gnu_ld=no
# Line 4599 | Line 4889 | fi
4889   ac_prog=ld
4890   if test "$GCC" = yes; then
4891    # Check if gcc -print-prog-name=ld gives a path.
4892 <  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4892 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4893   $as_echo_n "checking for ld used by $CC... " >&6; }
4894    case $host in
4895    *-*-mingw*)
# Line 4629 | Line 4919 | $as_echo_n "checking for ld used by $CC.
4919      ;;
4920    esac
4921   elif test "$with_gnu_ld" = yes; then
4922 <  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4922 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4923   $as_echo_n "checking for GNU ld... " >&6; }
4924   else
4925 <  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4925 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4926   $as_echo_n "checking for non-GNU ld... " >&6; }
4927   fi
4928 < if test "${lt_cv_path_LD+set}" = set; then
4928 > if test "${lt_cv_path_LD+set}" = set; then :
4929    $as_echo_n "(cached) " >&6
4930   else
4931    if test -z "$LD"; then
# Line 4666 | Line 4956 | fi
4956  
4957   LD="$lt_cv_path_LD"
4958   if test -n "$LD"; then
4959 <  { $as_echo "$as_me:$LINENO: result: $LD" >&5
4959 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4960   $as_echo "$LD" >&6; }
4961   else
4962 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4962 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963   $as_echo "no" >&6; }
4964   fi
4965 < test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4966 < $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
4965 > test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4966 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4967   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4968 < if test "${lt_cv_prog_gnu_ld+set}" = set; then
4968 > if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4969    $as_echo_n "(cached) " >&6
4970   else
4971    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4690 | Line 4978 | case `$LD -v 2>&1 </dev/null` in
4978    ;;
4979   esac
4980   fi
4981 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4981 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4982   $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4983   with_gnu_ld=$lt_cv_prog_gnu_ld
4984  
# Line 4702 | Line 4990 | with_gnu_ld=$lt_cv_prog_gnu_ld
4990  
4991  
4992  
4993 < { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4993 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4994   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4995 < if test "${lt_cv_path_NM+set}" = set; then
4995 > if test "${lt_cv_path_NM+set}" = set; then :
4996    $as_echo_n "(cached) " >&6
4997   else
4998    if test -n "$NM"; then
# Line 4751 | Line 5039 | else
5039    : ${lt_cv_path_NM=no}
5040   fi
5041   fi
5042 < { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5042 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5043   $as_echo "$lt_cv_path_NM" >&6; }
5044   if test "$lt_cv_path_NM" != "no"; then
5045    NM="$lt_cv_path_NM"
# Line 4762 | Line 5050 | else
5050    do
5051      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5052   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5053 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5053 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054   $as_echo_n "checking for $ac_word... " >&6; }
5055 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5055 > if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5056    $as_echo_n "(cached) " >&6
5057   else
5058    if test -n "$DUMPBIN"; then
# Line 4775 | Line 5063 | for as_dir in $PATH
5063   do
5064    IFS=$as_save_IFS
5065    test -z "$as_dir" && as_dir=.
5066 <  for ac_exec_ext in '' $ac_executable_extensions; do
5066 >    for ac_exec_ext in '' $ac_executable_extensions; do
5067    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5069 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070      break 2
5071    fi
5072   done
5073 < done
5073 >  done
5074   IFS=$as_save_IFS
5075  
5076   fi
5077   fi
5078   DUMPBIN=$ac_cv_prog_DUMPBIN
5079   if test -n "$DUMPBIN"; then
5080 <  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5080 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5081   $as_echo "$DUMPBIN" >&6; }
5082   else
5083 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5083 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084   $as_echo "no" >&6; }
5085   fi
5086  
# Line 4806 | Line 5094 | if test -z "$DUMPBIN"; then
5094   do
5095    # Extract the first word of "$ac_prog", so it can be a program name with args.
5096   set dummy $ac_prog; ac_word=$2
5097 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5097 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098   $as_echo_n "checking for $ac_word... " >&6; }
5099 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5099 > if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5100    $as_echo_n "(cached) " >&6
5101   else
5102    if test -n "$ac_ct_DUMPBIN"; then
# Line 4819 | Line 5107 | for as_dir in $PATH
5107   do
5108    IFS=$as_save_IFS
5109    test -z "$as_dir" && as_dir=.
5110 <  for ac_exec_ext in '' $ac_executable_extensions; do
5110 >    for ac_exec_ext in '' $ac_executable_extensions; do
5111    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5112      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5113 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114      break 2
5115    fi
5116   done
5117 < done
5117 >  done
5118   IFS=$as_save_IFS
5119  
5120   fi
5121   fi
5122   ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5123   if test -n "$ac_ct_DUMPBIN"; then
5124 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5124 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5125   $as_echo "$ac_ct_DUMPBIN" >&6; }
5126   else
5127 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5127 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128   $as_echo "no" >&6; }
5129   fi
5130  
# Line 4849 | Line 5137 | done
5137    else
5138      case $cross_compiling:$ac_tool_warned in
5139   yes:)
5140 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5140 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5141   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5142   ac_tool_warned=yes ;;
5143   esac
# Line 4869 | Line 5157 | test -z "$NM" && NM=nm
5157  
5158  
5159  
5160 < { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5160 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5161   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5162 < if test "${lt_cv_nm_interface+set}" = set; then
5162 > if test "${lt_cv_nm_interface+set}" = set; then :
5163    $as_echo_n "(cached) " >&6
5164   else
5165    lt_cv_nm_interface="BSD nm"
5166    echo "int some_variable = 0;" > conftest.$ac_ext
5167 <  (eval echo "\"\$as_me:4879: $ac_compile\"" >&5)
5167 >  (eval echo "\"\$as_me:5167: $ac_compile\"" >&5)
5168    (eval "$ac_compile" 2>conftest.err)
5169    cat conftest.err >&5
5170 <  (eval echo "\"\$as_me:4882: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5170 >  (eval echo "\"\$as_me:5170: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5171    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5172    cat conftest.err >&5
5173 <  (eval echo "\"\$as_me:4885: output\"" >&5)
5173 >  (eval echo "\"\$as_me:5173: output\"" >&5)
5174    cat conftest.out >&5
5175    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5176      lt_cv_nm_interface="MS dumpbin"
5177    fi
5178    rm -f conftest*
5179   fi
5180 < { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5180 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5181   $as_echo "$lt_cv_nm_interface" >&6; }
5182  
5183 < { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5183 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5184   $as_echo_n "checking whether ln -s works... " >&6; }
5185   LN_S=$as_ln_s
5186   if test "$LN_S" = "ln -s"; then
5187 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
5187 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5188   $as_echo "yes" >&6; }
5189   else
5190 <  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5190 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5191   $as_echo "no, using $LN_S" >&6; }
5192   fi
5193  
5194   # find the maximum length of command line arguments
5195 < { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5195 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5196   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5197 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5197 > if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5198    $as_echo_n "(cached) " >&6
5199   else
5200      i=0
# Line 5024 | Line 5312 | else
5312   fi
5313  
5314   if test -n $lt_cv_sys_max_cmd_len ; then
5315 <  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5315 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5316   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5317   else
5318 <  { $as_echo "$as_me:$LINENO: result: none" >&5
5318 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5319   $as_echo "none" >&6; }
5320   fi
5321   max_cmd_len=$lt_cv_sys_max_cmd_len
# Line 5041 | Line 5329 | max_cmd_len=$lt_cv_sys_max_cmd_len
5329   : ${MV="mv -f"}
5330   : ${RM="rm -f"}
5331  
5332 < { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5332 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5333   $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5334   # Try some XSI features
5335   xsi_shell=no
# Line 5051 | Line 5339 | xsi_shell=no
5339      && eval 'test $(( 1 + 1 )) -eq 2 \
5340      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5341    && xsi_shell=yes
5342 < { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5342 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5343   $as_echo "$xsi_shell" >&6; }
5344  
5345  
5346 < { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5346 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5347   $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5348   lt_shell_append=no
5349   ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5350      >/dev/null 2>&1 \
5351    && lt_shell_append=yes
5352 < { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5352 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5353   $as_echo "$lt_shell_append" >&6; }
5354  
5355  
# Line 5096 | Line 5384 | esac
5384  
5385  
5386  
5387 < { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5387 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5388   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5389 < if test "${lt_cv_ld_reload_flag+set}" = set; then
5389 > if test "${lt_cv_ld_reload_flag+set}" = set; then :
5390    $as_echo_n "(cached) " >&6
5391   else
5392    lt_cv_ld_reload_flag='-r'
5393   fi
5394 < { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5394 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5395   $as_echo "$lt_cv_ld_reload_flag" >&6; }
5396   reload_flag=$lt_cv_ld_reload_flag
5397   case $reload_flag in
# Line 5132 | Line 5420 | esac
5420   if test -n "$ac_tool_prefix"; then
5421    # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5422   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5423 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5423 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424   $as_echo_n "checking for $ac_word... " >&6; }
5425 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5425 > if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5426    $as_echo_n "(cached) " >&6
5427   else
5428    if test -n "$OBJDUMP"; then
# Line 5145 | Line 5433 | for as_dir in $PATH
5433   do
5434    IFS=$as_save_IFS
5435    test -z "$as_dir" && as_dir=.
5436 <  for ac_exec_ext in '' $ac_executable_extensions; do
5436 >    for ac_exec_ext in '' $ac_executable_extensions; do
5437    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5438      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5439 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5440      break 2
5441    fi
5442   done
5443 < done
5443 >  done
5444   IFS=$as_save_IFS
5445  
5446   fi
5447   fi
5448   OBJDUMP=$ac_cv_prog_OBJDUMP
5449   if test -n "$OBJDUMP"; then
5450 <  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5450 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5451   $as_echo "$OBJDUMP" >&6; }
5452   else
5453 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5453 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454   $as_echo "no" >&6; }
5455   fi
5456  
# Line 5172 | Line 5460 | if test -z "$ac_cv_prog_OBJDUMP"; then
5460    ac_ct_OBJDUMP=$OBJDUMP
5461    # Extract the first word of "objdump", so it can be a program name with args.
5462   set dummy objdump; ac_word=$2
5463 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5463 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464   $as_echo_n "checking for $ac_word... " >&6; }
5465 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5465 > if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5466    $as_echo_n "(cached) " >&6
5467   else
5468    if test -n "$ac_ct_OBJDUMP"; then
# Line 5185 | Line 5473 | for as_dir in $PATH
5473   do
5474    IFS=$as_save_IFS
5475    test -z "$as_dir" && as_dir=.
5476 <  for ac_exec_ext in '' $ac_executable_extensions; do
5476 >    for ac_exec_ext in '' $ac_executable_extensions; do
5477    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5479 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480      break 2
5481    fi
5482   done
5483 < done
5483 >  done
5484   IFS=$as_save_IFS
5485  
5486   fi
5487   fi
5488   ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5489   if test -n "$ac_ct_OBJDUMP"; then
5490 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5490 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5491   $as_echo "$ac_ct_OBJDUMP" >&6; }
5492   else
5493 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5493 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494   $as_echo "no" >&6; }
5495   fi
5496  
# Line 5211 | Line 5499 | fi
5499    else
5500      case $cross_compiling:$ac_tool_warned in
5501   yes:)
5502 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5502 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5503   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5504   ac_tool_warned=yes ;;
5505   esac
# Line 5231 | Line 5519 | test -z "$OBJDUMP" && OBJDUMP=objdump
5519  
5520  
5521  
5522 < { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5522 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5523   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5524 < if test "${lt_cv_deplibs_check_method+set}" = set; then
5524 > if test "${lt_cv_deplibs_check_method+set}" = set; then :
5525    $as_echo_n "(cached) " >&6
5526   else
5527    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5427 | Line 5715 | tpf*)
5715   esac
5716  
5717   fi
5718 < { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5718 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5719   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5720   file_magic_cmd=$lt_cv_file_magic_cmd
5721   deplibs_check_method=$lt_cv_deplibs_check_method
# Line 5447 | Line 5735 | test -z "$deplibs_check_method" && depli
5735   if test -n "$ac_tool_prefix"; then
5736    # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5737   set dummy ${ac_tool_prefix}ar; ac_word=$2
5738 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5738 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739   $as_echo_n "checking for $ac_word... " >&6; }
5740 < if test "${ac_cv_prog_AR+set}" = set; then
5740 > if test "${ac_cv_prog_AR+set}" = set; then :
5741    $as_echo_n "(cached) " >&6
5742   else
5743    if test -n "$AR"; then
# Line 5460 | Line 5748 | for as_dir in $PATH
5748   do
5749    IFS=$as_save_IFS
5750    test -z "$as_dir" && as_dir=.
5751 <  for ac_exec_ext in '' $ac_executable_extensions; do
5751 >    for ac_exec_ext in '' $ac_executable_extensions; do
5752    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5753      ac_cv_prog_AR="${ac_tool_prefix}ar"
5754 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755      break 2
5756    fi
5757   done
5758 < done
5758 >  done
5759   IFS=$as_save_IFS
5760  
5761   fi
5762   fi
5763   AR=$ac_cv_prog_AR
5764   if test -n "$AR"; then
5765 <  { $as_echo "$as_me:$LINENO: result: $AR" >&5
5765 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5766   $as_echo "$AR" >&6; }
5767   else
5768 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5768 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769   $as_echo "no" >&6; }
5770   fi
5771  
# Line 5487 | Line 5775 | if test -z "$ac_cv_prog_AR"; then
5775    ac_ct_AR=$AR
5776    # Extract the first word of "ar", so it can be a program name with args.
5777   set dummy ar; ac_word=$2
5778 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5778 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779   $as_echo_n "checking for $ac_word... " >&6; }
5780 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5780 > if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5781    $as_echo_n "(cached) " >&6
5782   else
5783    if test -n "$ac_ct_AR"; then
# Line 5500 | Line 5788 | for as_dir in $PATH
5788   do
5789    IFS=$as_save_IFS
5790    test -z "$as_dir" && as_dir=.
5791 <  for ac_exec_ext in '' $ac_executable_extensions; do
5791 >    for ac_exec_ext in '' $ac_executable_extensions; do
5792    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793      ac_cv_prog_ac_ct_AR="ar"
5794 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795      break 2
5796    fi
5797   done
5798 < done
5798 >  done
5799   IFS=$as_save_IFS
5800  
5801   fi
5802   fi
5803   ac_ct_AR=$ac_cv_prog_ac_ct_AR
5804   if test -n "$ac_ct_AR"; then
5805 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5805 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5806   $as_echo "$ac_ct_AR" >&6; }
5807   else
5808 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5808 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809   $as_echo "no" >&6; }
5810   fi
5811  
# Line 5526 | Line 5814 | fi
5814    else
5815      case $cross_compiling:$ac_tool_warned in
5816   yes:)
5817 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5817 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5818   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5819   ac_tool_warned=yes ;;
5820   esac
# Line 5552 | Line 5840 | test -z "$AR_FLAGS" && AR_FLAGS=cru
5840   if test -n "$ac_tool_prefix"; then
5841    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5842   set dummy ${ac_tool_prefix}strip; ac_word=$2
5843 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5843 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844   $as_echo_n "checking for $ac_word... " >&6; }
5845 < if test "${ac_cv_prog_STRIP+set}" = set; then
5845 > if test "${ac_cv_prog_STRIP+set}" = set; then :
5846    $as_echo_n "(cached) " >&6
5847   else
5848    if test -n "$STRIP"; then
# Line 5565 | Line 5853 | for as_dir in $PATH
5853   do
5854    IFS=$as_save_IFS
5855    test -z "$as_dir" && as_dir=.
5856 <  for ac_exec_ext in '' $ac_executable_extensions; do
5856 >    for ac_exec_ext in '' $ac_executable_extensions; do
5857    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5858      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5859 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860      break 2
5861    fi
5862   done
5863 < done
5863 >  done
5864   IFS=$as_save_IFS
5865  
5866   fi
5867   fi
5868   STRIP=$ac_cv_prog_STRIP
5869   if test -n "$STRIP"; then
5870 <  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5870 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5871   $as_echo "$STRIP" >&6; }
5872   else
5873 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5873 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874   $as_echo "no" >&6; }
5875   fi
5876  
# Line 5592 | Line 5880 | if test -z "$ac_cv_prog_STRIP"; then
5880    ac_ct_STRIP=$STRIP
5881    # Extract the first word of "strip", so it can be a program name with args.
5882   set dummy strip; ac_word=$2
5883 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5883 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884   $as_echo_n "checking for $ac_word... " >&6; }
5885 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5885 > if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5886    $as_echo_n "(cached) " >&6
5887   else
5888    if test -n "$ac_ct_STRIP"; then
# Line 5605 | Line 5893 | for as_dir in $PATH
5893   do
5894    IFS=$as_save_IFS
5895    test -z "$as_dir" && as_dir=.
5896 <  for ac_exec_ext in '' $ac_executable_extensions; do
5896 >    for ac_exec_ext in '' $ac_executable_extensions; do
5897    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5898      ac_cv_prog_ac_ct_STRIP="strip"
5899 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900      break 2
5901    fi
5902   done
5903 < done
5903 >  done
5904   IFS=$as_save_IFS
5905  
5906   fi
5907   fi
5908   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5909   if test -n "$ac_ct_STRIP"; then
5910 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5910 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5911   $as_echo "$ac_ct_STRIP" >&6; }
5912   else
5913 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5913 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914   $as_echo "no" >&6; }
5915   fi
5916  
# Line 5631 | Line 5919 | fi
5919    else
5920      case $cross_compiling:$ac_tool_warned in
5921   yes:)
5922 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5922 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5923   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5924   ac_tool_warned=yes ;;
5925   esac
# Line 5651 | Line 5939 | test -z "$STRIP" && STRIP=:
5939   if test -n "$ac_tool_prefix"; then
5940    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5941   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5942 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5942 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5943   $as_echo_n "checking for $ac_word... " >&6; }
5944 < if test "${ac_cv_prog_RANLIB+set}" = set; then
5944 > if test "${ac_cv_prog_RANLIB+set}" = set; then :
5945    $as_echo_n "(cached) " >&6
5946   else
5947    if test -n "$RANLIB"; then
# Line 5664 | Line 5952 | for as_dir in $PATH
5952   do
5953    IFS=$as_save_IFS
5954    test -z "$as_dir" && as_dir=.
5955 <  for ac_exec_ext in '' $ac_executable_extensions; do
5955 >    for ac_exec_ext in '' $ac_executable_extensions; do
5956    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5957      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5958 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5959      break 2
5960    fi
5961   done
5962 < done
5962 >  done
5963   IFS=$as_save_IFS
5964  
5965   fi
5966   fi
5967   RANLIB=$ac_cv_prog_RANLIB
5968   if test -n "$RANLIB"; then
5969 <  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5969 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5970   $as_echo "$RANLIB" >&6; }
5971   else
5972 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5972 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5973   $as_echo "no" >&6; }
5974   fi
5975  
# Line 5691 | Line 5979 | if test -z "$ac_cv_prog_RANLIB"; then
5979    ac_ct_RANLIB=$RANLIB
5980    # Extract the first word of "ranlib", so it can be a program name with args.
5981   set dummy ranlib; ac_word=$2
5982 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5982 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983   $as_echo_n "checking for $ac_word... " >&6; }
5984 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5984 > if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5985    $as_echo_n "(cached) " >&6
5986   else
5987    if test -n "$ac_ct_RANLIB"; then
# Line 5704 | Line 5992 | for as_dir in $PATH
5992   do
5993    IFS=$as_save_IFS
5994    test -z "$as_dir" && as_dir=.
5995 <  for ac_exec_ext in '' $ac_executable_extensions; do
5995 >    for ac_exec_ext in '' $ac_executable_extensions; do
5996    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997      ac_cv_prog_ac_ct_RANLIB="ranlib"
5998 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999      break 2
6000    fi
6001   done
6002 < done
6002 >  done
6003   IFS=$as_save_IFS
6004  
6005   fi
6006   fi
6007   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6008   if test -n "$ac_ct_RANLIB"; then
6009 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6009 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6010   $as_echo "$ac_ct_RANLIB" >&6; }
6011   else
6012 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6012 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013   $as_echo "no" >&6; }
6014   fi
6015  
# Line 5730 | Line 6018 | fi
6018    else
6019      case $cross_compiling:$ac_tool_warned in
6020   yes:)
6021 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6021 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6022   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6023   ac_tool_warned=yes ;;
6024   esac
# Line 5808 | Line 6096 | compiler=$CC
6096  
6097  
6098   # Check for command to grab the raw symbol name followed by C symbol from nm.
6099 < { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6099 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6100   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6101 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6101 > if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6102    $as_echo_n "(cached) " >&6
6103   else
6104  
# Line 5926 | Line 6214 | void nm_test_func(void){}
6214   int main(){nm_test_var='a';nm_test_func();return(0);}
6215   _LT_EOF
6216  
6217 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6217 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6218    (eval $ac_compile) 2>&5
6219    ac_status=$?
6220 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 <  (exit $ac_status); }; then
6220 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6221 >  test $ac_status = 0; }; then
6222      # Now try to grab the symbols.
6223      nlist=conftest.nm
6224 <    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6224 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6225    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6226    ac_status=$?
6227 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 <  (exit $ac_status); } && test -s "$nlist"; then
6227 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6228 >  test $ac_status = 0; } && test -s "$nlist"; then
6229        # Try sorting and uniquifying the output.
6230        if sort "$nlist" | uniq > "$nlist"T; then
6231          mv -f "$nlist"T "$nlist"
# Line 5990 | Line 6278 | _LT_EOF
6278            lt_save_CFLAGS="$CFLAGS"
6279            LIBS="conftstm.$ac_objext"
6280            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6281 <          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6281 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6282    (eval $ac_link) 2>&5
6283    ac_status=$?
6284 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 <  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6284 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6285 >  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6286              pipe_works=yes
6287            fi
6288            LIBS="$lt_save_LIBS"
# Line 6028 | Line 6316 | if test -z "$lt_cv_sys_global_symbol_pip
6316    lt_cv_sys_global_symbol_to_cdecl=
6317   fi
6318   if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6319 <  { $as_echo "$as_me:$LINENO: result: failed" >&5
6319 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6320   $as_echo "failed" >&6; }
6321   else
6322 <  { $as_echo "$as_me:$LINENO: result: ok" >&5
6322 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6323   $as_echo "ok" >&6; }
6324   fi
6325  
# Line 6057 | Line 6345 | fi
6345  
6346  
6347   # Check whether --enable-libtool-lock was given.
6348 < if test "${enable_libtool_lock+set}" = set; then
6348 > if test "${enable_libtool_lock+set}" = set; then :
6349    enableval=$enable_libtool_lock;
6350   fi
6351  
# Line 6069 | Line 6357 | case $host in
6357   ia64-*-hpux*)
6358    # Find out which ABI we are using.
6359    echo 'int i;' > conftest.$ac_ext
6360 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6360 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6361    (eval $ac_compile) 2>&5
6362    ac_status=$?
6363 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 <  (exit $ac_status); }; then
6363 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6364 >  test $ac_status = 0; }; then
6365      case `/usr/bin/file conftest.$ac_objext` in
6366        *ELF-32*)
6367          HPUX_IA64_MODE="32"
# Line 6087 | Line 6375 | ia64-*-hpux*)
6375    ;;
6376   *-*-irix6*)
6377    # Find out which ABI we are using.
6378 <  echo '#line 6090 "configure"' > conftest.$ac_ext
6379 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6378 >  echo '#line 6378 "configure"' > conftest.$ac_ext
6379 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6380    (eval $ac_compile) 2>&5
6381    ac_status=$?
6382 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 <  (exit $ac_status); }; then
6382 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6383 >  test $ac_status = 0; }; then
6384      if test "$lt_cv_prog_gnu_ld" = yes; then
6385        case `/usr/bin/file conftest.$ac_objext` in
6386          *32-bit*)
# Line 6126 | Line 6414 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc
6414   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6415    # Find out which ABI we are using.
6416    echo 'int i;' > conftest.$ac_ext
6417 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6417 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6418    (eval $ac_compile) 2>&5
6419    ac_status=$?
6420 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 <  (exit $ac_status); }; then
6420 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6421 >  test $ac_status = 0; }; then
6422      case `/usr/bin/file conftest.o` in
6423        *32-bit*)
6424          case $host in
# Line 6179 | Line 6467 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6467    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6468    SAVE_CFLAGS="$CFLAGS"
6469    CFLAGS="$CFLAGS -belf"
6470 <  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6470 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6471   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6472 < if test "${lt_cv_cc_needs_belf+set}" = set; then
6472 > if test "${lt_cv_cc_needs_belf+set}" = set; then :
6473    $as_echo_n "(cached) " >&6
6474   else
6475    ac_ext=c
# Line 6190 | Line 6478 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
6478   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6479   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6480  
6481 <     cat >conftest.$ac_ext <<_ACEOF
6194 < /* confdefs.h.  */
6195 < _ACEOF
6196 < cat confdefs.h >>conftest.$ac_ext
6197 < cat >>conftest.$ac_ext <<_ACEOF
6481 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6482   /* end confdefs.h.  */
6483  
6484   int
# Line 6205 | Line 6489 | main ()
6489    return 0;
6490   }
6491   _ACEOF
6492 < 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
6492 > if ac_fn_c_try_link "$LINENO"; then :
6493    lt_cv_cc_needs_belf=yes
6494   else
6495 <  $as_echo "$as_me: failed program was:" >&5
6232 < sed 's/^/| /' conftest.$ac_ext >&5
6233 <
6234 <        lt_cv_cc_needs_belf=no
6495 >  lt_cv_cc_needs_belf=no
6496   fi
6497 <
6498 < rm -rf conftest.dSYM
6238 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6239 <      conftest$ac_exeext conftest.$ac_ext
6497 > rm -f core conftest.err conftest.$ac_objext \
6498 >    conftest$ac_exeext conftest.$ac_ext
6499       ac_ext=c
6500   ac_cpp='$CPP $CPPFLAGS'
6501   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 6244 | Line 6503 | ac_link='$CC -o conftest$ac_exeext $CFLA
6503   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6504  
6505   fi
6506 < { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6506 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6507   $as_echo "$lt_cv_cc_needs_belf" >&6; }
6508    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6509      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
# Line 6254 | Line 6513 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6513   sparc*-*solaris*)
6514    # Find out which ABI we are using.
6515    echo 'int i;' > conftest.$ac_ext
6516 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6516 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6517    (eval $ac_compile) 2>&5
6518    ac_status=$?
6519 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 <  (exit $ac_status); }; then
6519 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6520 >  test $ac_status = 0; }; then
6521      case `/usr/bin/file conftest.o` in
6522      *64-bit*)
6523        case $lt_cv_prog_gnu_ld in
# Line 6284 | Line 6543 | need_locks="$enable_libtool_lock"
6543      if test -n "$ac_tool_prefix"; then
6544    # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6545   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6546 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6546 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6547   $as_echo_n "checking for $ac_word... " >&6; }
6548 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6548 > if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6549    $as_echo_n "(cached) " >&6
6550   else
6551    if test -n "$DSYMUTIL"; then
# Line 6297 | Line 6556 | for as_dir in $PATH
6556   do
6557    IFS=$as_save_IFS
6558    test -z "$as_dir" && as_dir=.
6559 <  for ac_exec_ext in '' $ac_executable_extensions; do
6559 >    for ac_exec_ext in '' $ac_executable_extensions; do
6560    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6561      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6562 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6563      break 2
6564    fi
6565   done
6566 < done
6566 >  done
6567   IFS=$as_save_IFS
6568  
6569   fi
6570   fi
6571   DSYMUTIL=$ac_cv_prog_DSYMUTIL
6572   if test -n "$DSYMUTIL"; then
6573 <  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6573 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6574   $as_echo "$DSYMUTIL" >&6; }
6575   else
6576 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6576 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577   $as_echo "no" >&6; }
6578   fi
6579  
# Line 6324 | Line 6583 | if test -z "$ac_cv_prog_DSYMUTIL"; then
6583    ac_ct_DSYMUTIL=$DSYMUTIL
6584    # Extract the first word of "dsymutil", so it can be a program name with args.
6585   set dummy dsymutil; ac_word=$2
6586 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6586 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6587   $as_echo_n "checking for $ac_word... " >&6; }
6588 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6588 > if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6589    $as_echo_n "(cached) " >&6
6590   else
6591    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6337 | Line 6596 | for as_dir in $PATH
6596   do
6597    IFS=$as_save_IFS
6598    test -z "$as_dir" && as_dir=.
6599 <  for ac_exec_ext in '' $ac_executable_extensions; do
6599 >    for ac_exec_ext in '' $ac_executable_extensions; do
6600    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6601      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6602 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6602 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6603      break 2
6604    fi
6605   done
6606 < done
6606 >  done
6607   IFS=$as_save_IFS
6608  
6609   fi
6610   fi
6611   ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6612   if test -n "$ac_ct_DSYMUTIL"; then
6613 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6613 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6614   $as_echo "$ac_ct_DSYMUTIL" >&6; }
6615   else
6616 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6616 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617   $as_echo "no" >&6; }
6618   fi
6619  
# Line 6363 | Line 6622 | fi
6622    else
6623      case $cross_compiling:$ac_tool_warned in
6624   yes:)
6625 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6625 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6626   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6627   ac_tool_warned=yes ;;
6628   esac
# Line 6376 | Line 6635 | fi
6635      if test -n "$ac_tool_prefix"; then
6636    # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6637   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6638 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6638 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639   $as_echo_n "checking for $ac_word... " >&6; }
6640 < if test "${ac_cv_prog_NMEDIT+set}" = set; then
6640 > if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6641    $as_echo_n "(cached) " >&6
6642   else
6643    if test -n "$NMEDIT"; then
# Line 6389 | Line 6648 | for as_dir in $PATH
6648   do
6649    IFS=$as_save_IFS
6650    test -z "$as_dir" && as_dir=.
6651 <  for ac_exec_ext in '' $ac_executable_extensions; do
6651 >    for ac_exec_ext in '' $ac_executable_extensions; do
6652    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6654 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655      break 2
6656    fi
6657   done
6658 < done
6658 >  done
6659   IFS=$as_save_IFS
6660  
6661   fi
6662   fi
6663   NMEDIT=$ac_cv_prog_NMEDIT
6664   if test -n "$NMEDIT"; then
6665 <  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6665 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6666   $as_echo "$NMEDIT" >&6; }
6667   else
6668 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6668 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669   $as_echo "no" >&6; }
6670   fi
6671  
# Line 6416 | Line 6675 | if test -z "$ac_cv_prog_NMEDIT"; then
6675    ac_ct_NMEDIT=$NMEDIT
6676    # Extract the first word of "nmedit", so it can be a program name with args.
6677   set dummy nmedit; ac_word=$2
6678 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6678 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679   $as_echo_n "checking for $ac_word... " >&6; }
6680 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6680 > if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6681    $as_echo_n "(cached) " >&6
6682   else
6683    if test -n "$ac_ct_NMEDIT"; then
# Line 6429 | Line 6688 | for as_dir in $PATH
6688   do
6689    IFS=$as_save_IFS
6690    test -z "$as_dir" && as_dir=.
6691 <  for ac_exec_ext in '' $ac_executable_extensions; do
6691 >    for ac_exec_ext in '' $ac_executable_extensions; do
6692    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693      ac_cv_prog_ac_ct_NMEDIT="nmedit"
6694 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6694 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695      break 2
6696    fi
6697   done
6698 < done
6698 >  done
6699   IFS=$as_save_IFS
6700  
6701   fi
6702   fi
6703   ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6704   if test -n "$ac_ct_NMEDIT"; then
6705 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6705 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6706   $as_echo "$ac_ct_NMEDIT" >&6; }
6707   else
6708 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6708 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709   $as_echo "no" >&6; }
6710   fi
6711  
# Line 6455 | Line 6714 | fi
6714    else
6715      case $cross_compiling:$ac_tool_warned in
6716   yes:)
6717 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6717 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719   ac_tool_warned=yes ;;
6720   esac
# Line 6468 | Line 6727 | fi
6727      if test -n "$ac_tool_prefix"; then
6728    # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6729   set dummy ${ac_tool_prefix}lipo; ac_word=$2
6730 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6730 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731   $as_echo_n "checking for $ac_word... " >&6; }
6732 < if test "${ac_cv_prog_LIPO+set}" = set; then
6732 > if test "${ac_cv_prog_LIPO+set}" = set; then :
6733    $as_echo_n "(cached) " >&6
6734   else
6735    if test -n "$LIPO"; then
# Line 6481 | Line 6740 | for as_dir in $PATH
6740   do
6741    IFS=$as_save_IFS
6742    test -z "$as_dir" && as_dir=.
6743 <  for ac_exec_ext in '' $ac_executable_extensions; do
6743 >    for ac_exec_ext in '' $ac_executable_extensions; do
6744    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6745      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6746 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6746 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747      break 2
6748    fi
6749   done
6750 < done
6750 >  done
6751   IFS=$as_save_IFS
6752  
6753   fi
6754   fi
6755   LIPO=$ac_cv_prog_LIPO
6756   if test -n "$LIPO"; then
6757 <  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6757 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6758   $as_echo "$LIPO" >&6; }
6759   else
6760 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6760 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761   $as_echo "no" >&6; }
6762   fi
6763  
# Line 6508 | Line 6767 | if test -z "$ac_cv_prog_LIPO"; then
6767    ac_ct_LIPO=$LIPO
6768    # Extract the first word of "lipo", so it can be a program name with args.
6769   set dummy lipo; ac_word=$2
6770 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6770 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771   $as_echo_n "checking for $ac_word... " >&6; }
6772 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6772 > if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6773    $as_echo_n "(cached) " >&6
6774   else
6775    if test -n "$ac_ct_LIPO"; then
# Line 6521 | Line 6780 | for as_dir in $PATH
6780   do
6781    IFS=$as_save_IFS
6782    test -z "$as_dir" && as_dir=.
6783 <  for ac_exec_ext in '' $ac_executable_extensions; do
6783 >    for ac_exec_ext in '' $ac_executable_extensions; do
6784    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6785      ac_cv_prog_ac_ct_LIPO="lipo"
6786 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6786 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6787      break 2
6788    fi
6789   done
6790 < done
6790 >  done
6791   IFS=$as_save_IFS
6792  
6793   fi
6794   fi
6795   ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6796   if test -n "$ac_ct_LIPO"; then
6797 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6797 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6798   $as_echo "$ac_ct_LIPO" >&6; }
6799   else
6800 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6800 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801   $as_echo "no" >&6; }
6802   fi
6803  
# Line 6547 | Line 6806 | fi
6806    else
6807      case $cross_compiling:$ac_tool_warned in
6808   yes:)
6809 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6809 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6810   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6811   ac_tool_warned=yes ;;
6812   esac
# Line 6560 | Line 6819 | fi
6819      if test -n "$ac_tool_prefix"; then
6820    # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6821   set dummy ${ac_tool_prefix}otool; ac_word=$2
6822 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6822 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6823   $as_echo_n "checking for $ac_word... " >&6; }
6824 < if test "${ac_cv_prog_OTOOL+set}" = set; then
6824 > if test "${ac_cv_prog_OTOOL+set}" = set; then :
6825    $as_echo_n "(cached) " >&6
6826   else
6827    if test -n "$OTOOL"; then
# Line 6573 | Line 6832 | for as_dir in $PATH
6832   do
6833    IFS=$as_save_IFS
6834    test -z "$as_dir" && as_dir=.
6835 <  for ac_exec_ext in '' $ac_executable_extensions; do
6835 >    for ac_exec_ext in '' $ac_executable_extensions; do
6836    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6837      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6838 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6838 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6839      break 2
6840    fi
6841   done
6842 < done
6842 >  done
6843   IFS=$as_save_IFS
6844  
6845   fi
6846   fi
6847   OTOOL=$ac_cv_prog_OTOOL
6848   if test -n "$OTOOL"; then
6849 <  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6849 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6850   $as_echo "$OTOOL" >&6; }
6851   else
6852 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6852 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853   $as_echo "no" >&6; }
6854   fi
6855  
# Line 6600 | Line 6859 | if test -z "$ac_cv_prog_OTOOL"; then
6859    ac_ct_OTOOL=$OTOOL
6860    # Extract the first word of "otool", so it can be a program name with args.
6861   set dummy otool; ac_word=$2
6862 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6862 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6863   $as_echo_n "checking for $ac_word... " >&6; }
6864 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6864 > if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6865    $as_echo_n "(cached) " >&6
6866   else
6867    if test -n "$ac_ct_OTOOL"; then
# Line 6613 | Line 6872 | for as_dir in $PATH
6872   do
6873    IFS=$as_save_IFS
6874    test -z "$as_dir" && as_dir=.
6875 <  for ac_exec_ext in '' $ac_executable_extensions; do
6875 >    for ac_exec_ext in '' $ac_executable_extensions; do
6876    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6877      ac_cv_prog_ac_ct_OTOOL="otool"
6878 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6878 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6879      break 2
6880    fi
6881   done
6882 < done
6882 >  done
6883   IFS=$as_save_IFS
6884  
6885   fi
6886   fi
6887   ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6888   if test -n "$ac_ct_OTOOL"; then
6889 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6889 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6890   $as_echo "$ac_ct_OTOOL" >&6; }
6891   else
6892 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6892 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6893   $as_echo "no" >&6; }
6894   fi
6895  
# Line 6639 | Line 6898 | fi
6898    else
6899      case $cross_compiling:$ac_tool_warned in
6900   yes:)
6901 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6901 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6902   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6903   ac_tool_warned=yes ;;
6904   esac
# Line 6652 | Line 6911 | fi
6911      if test -n "$ac_tool_prefix"; then
6912    # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6913   set dummy ${ac_tool_prefix}otool64; ac_word=$2
6914 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6914 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6915   $as_echo_n "checking for $ac_word... " >&6; }
6916 < if test "${ac_cv_prog_OTOOL64+set}" = set; then
6916 > if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6917    $as_echo_n "(cached) " >&6
6918   else
6919    if test -n "$OTOOL64"; then
# Line 6665 | Line 6924 | for as_dir in $PATH
6924   do
6925    IFS=$as_save_IFS
6926    test -z "$as_dir" && as_dir=.
6927 <  for ac_exec_ext in '' $ac_executable_extensions; do
6927 >    for ac_exec_ext in '' $ac_executable_extensions; do
6928    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6930 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6930 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931      break 2
6932    fi
6933   done
6934 < done
6934 >  done
6935   IFS=$as_save_IFS
6936  
6937   fi
6938   fi
6939   OTOOL64=$ac_cv_prog_OTOOL64
6940   if test -n "$OTOOL64"; then
6941 <  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6941 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6942   $as_echo "$OTOOL64" >&6; }
6943   else
6944 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6944 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6945   $as_echo "no" >&6; }
6946   fi
6947  
# Line 6692 | Line 6951 | if test -z "$ac_cv_prog_OTOOL64"; then
6951    ac_ct_OTOOL64=$OTOOL64
6952    # Extract the first word of "otool64", so it can be a program name with args.
6953   set dummy otool64; ac_word=$2
6954 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6954 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955   $as_echo_n "checking for $ac_word... " >&6; }
6956 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6956 > if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6957    $as_echo_n "(cached) " >&6
6958   else
6959    if test -n "$ac_ct_OTOOL64"; then
# Line 6705 | Line 6964 | for as_dir in $PATH
6964   do
6965    IFS=$as_save_IFS
6966    test -z "$as_dir" && as_dir=.
6967 <  for ac_exec_ext in '' $ac_executable_extensions; do
6967 >    for ac_exec_ext in '' $ac_executable_extensions; do
6968    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6969      ac_cv_prog_ac_ct_OTOOL64="otool64"
6970 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6970 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971      break 2
6972    fi
6973   done
6974 < done
6974 >  done
6975   IFS=$as_save_IFS
6976  
6977   fi
6978   fi
6979   ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6980   if test -n "$ac_ct_OTOOL64"; then
6981 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6981 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6982   $as_echo "$ac_ct_OTOOL64" >&6; }
6983   else
6984 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6984 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6985   $as_echo "no" >&6; }
6986   fi
6987  
# Line 6731 | Line 6990 | fi
6990    else
6991      case $cross_compiling:$ac_tool_warned in
6992   yes:)
6993 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6993 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6994   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6995   ac_tool_warned=yes ;;
6996   esac
# Line 6767 | Line 7026 | fi
7026  
7027  
7028  
7029 <    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7029 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7030   $as_echo_n "checking for -single_module linker flag... " >&6; }
7031 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7031 > if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7032    $as_echo_n "(cached) " >&6
7033   else
7034    lt_cv_apple_cc_single_mod=no
# Line 6794 | Line 7053 | else
7053          rm -f conftest.*
7054        fi
7055   fi
7056 < { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7056 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7057   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7058 <    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7058 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7059   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7060 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7060 > if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7061    $as_echo_n "(cached) " >&6
7062   else
7063    lt_cv_ld_exported_symbols_list=no
7064        save_LDFLAGS=$LDFLAGS
7065        echo "_main" > conftest.sym
7066        LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7067 <      cat >conftest.$ac_ext <<_ACEOF
6809 < /* confdefs.h.  */
6810 < _ACEOF
6811 < cat confdefs.h >>conftest.$ac_ext
6812 < cat >>conftest.$ac_ext <<_ACEOF
7067 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7068   /* end confdefs.h.  */
7069  
7070   int
# Line 6820 | Line 7075 | main ()
7075    return 0;
7076   }
7077   _ACEOF
7078 < 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
7078 > if ac_fn_c_try_link "$LINENO"; then :
7079    lt_cv_ld_exported_symbols_list=yes
7080   else
7081 <  $as_echo "$as_me: failed program was:" >&5
6847 < sed 's/^/| /' conftest.$ac_ext >&5
6848 <
6849 <        lt_cv_ld_exported_symbols_list=no
7081 >  lt_cv_ld_exported_symbols_list=no
7082   fi
7083 <
7084 < rm -rf conftest.dSYM
6853 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6854 <      conftest$ac_exeext conftest.$ac_ext
7083 > rm -f core conftest.err conftest.$ac_objext \
7084 >    conftest$ac_exeext conftest.$ac_ext
7085          LDFLAGS="$save_LDFLAGS"
7086  
7087   fi
7088 < { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7088 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7089   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7090      case $host_os in
7091      rhapsody* | darwin1.[012])
# Line 6897 | Line 7127 | ac_cpp='$CPP $CPPFLAGS'
7127   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7128   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7129   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7130 < { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7130 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7131   $as_echo_n "checking how to run the C preprocessor... " >&6; }
7132   # On Suns, sometimes $CPP names a directory.
7133   if test -n "$CPP" && test -d "$CPP"; then
7134    CPP=
7135   fi
7136   if test -z "$CPP"; then
7137 <  if test "${ac_cv_prog_CPP+set}" = set; then
7137 >  if test "${ac_cv_prog_CPP+set}" = set; then :
7138    $as_echo_n "(cached) " >&6
7139   else
7140        # Double quotes because CPP needs to be expanded
# Line 6919 | Line 7149 | do
7149    # <limits.h> exists even on freestanding compilers.
7150    # On the NeXT, cc -E runs the code through the compiler's parser,
7151    # not just through cpp. "Syntax error" is here to catch this case.
7152 <  cat >conftest.$ac_ext <<_ACEOF
6923 < /* confdefs.h.  */
6924 < _ACEOF
6925 < cat confdefs.h >>conftest.$ac_ext
6926 < cat >>conftest.$ac_ext <<_ACEOF
7152 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7153   /* end confdefs.h.  */
7154   #ifdef __STDC__
7155   # include <limits.h>
# Line 6932 | Line 7158 | cat >>conftest.$ac_ext <<_ACEOF
7158   #endif
7159                       Syntax error
7160   _ACEOF
7161 < 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
7161 > if ac_fn_c_try_cpp "$LINENO"; then :
7162  
7163 + else
7164    # Broken: fails on valid input.
7165   continue
7166   fi
6960 –
7167   rm -f conftest.err conftest.$ac_ext
7168  
7169    # OK, works on sane cases.  Now check whether nonexistent headers
7170    # can be detected and how.
7171 <  cat >conftest.$ac_ext <<_ACEOF
6966 < /* confdefs.h.  */
6967 < _ACEOF
6968 < cat confdefs.h >>conftest.$ac_ext
6969 < cat >>conftest.$ac_ext <<_ACEOF
7171 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172   /* end confdefs.h.  */
7173   #include <ac_nonexistent.h>
7174   _ACEOF
7175 < 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
7175 > if ac_fn_c_try_cpp "$LINENO"; then :
7176    # Broken: success on invalid input.
7177   continue
7178   else
6993 –  $as_echo "$as_me: failed program was:" >&5
6994 – sed 's/^/| /' conftest.$ac_ext >&5
6995 –
7179    # Passes both tests.
7180   ac_preproc_ok=:
7181   break
7182   fi
7000 –
7183   rm -f conftest.err conftest.$ac_ext
7184  
7185   done
7186   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7187   rm -f conftest.err conftest.$ac_ext
7188 < if $ac_preproc_ok; then
7188 > if $ac_preproc_ok; then :
7189    break
7190   fi
7191  
# Line 7015 | Line 7197 | fi
7197   else
7198    ac_cv_prog_CPP=$CPP
7199   fi
7200 < { $as_echo "$as_me:$LINENO: result: $CPP" >&5
7200 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7201   $as_echo "$CPP" >&6; }
7202   ac_preproc_ok=false
7203   for ac_c_preproc_warn_flag in '' yes
# Line 7026 | Line 7208 | do
7208    # <limits.h> exists even on freestanding compilers.
7209    # On the NeXT, cc -E runs the code through the compiler's parser,
7210    # not just through cpp. "Syntax error" is here to catch this case.
7211 <  cat >conftest.$ac_ext <<_ACEOF
7030 < /* confdefs.h.  */
7031 < _ACEOF
7032 < cat confdefs.h >>conftest.$ac_ext
7033 < cat >>conftest.$ac_ext <<_ACEOF
7211 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7212   /* end confdefs.h.  */
7213   #ifdef __STDC__
7214   # include <limits.h>
# Line 7039 | Line 7217 | cat >>conftest.$ac_ext <<_ACEOF
7217   #endif
7218                       Syntax error
7219   _ACEOF
7220 < 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
7220 > if ac_fn_c_try_cpp "$LINENO"; then :
7221  
7222 + else
7223    # Broken: fails on valid input.
7224   continue
7225   fi
7067 –
7226   rm -f conftest.err conftest.$ac_ext
7227  
7228    # OK, works on sane cases.  Now check whether nonexistent headers
7229    # can be detected and how.
7230 <  cat >conftest.$ac_ext <<_ACEOF
7073 < /* confdefs.h.  */
7074 < _ACEOF
7075 < cat confdefs.h >>conftest.$ac_ext
7076 < cat >>conftest.$ac_ext <<_ACEOF
7230 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231   /* end confdefs.h.  */
7232   #include <ac_nonexistent.h>
7233   _ACEOF
7234 < 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
7234 > if ac_fn_c_try_cpp "$LINENO"; then :
7235    # Broken: success on invalid input.
7236   continue
7237   else
7100 –  $as_echo "$as_me: failed program was:" >&5
7101 – sed 's/^/| /' conftest.$ac_ext >&5
7102 –
7238    # Passes both tests.
7239   ac_preproc_ok=:
7240   break
7241   fi
7107 –
7242   rm -f conftest.err conftest.$ac_ext
7243  
7244   done
7245   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7246   rm -f conftest.err conftest.$ac_ext
7247 < if $ac_preproc_ok; then
7248 <  :
7247 > if $ac_preproc_ok; then :
7248 >
7249   else
7250 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7250 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7251   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7252 < { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7253 < 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; }; }; }
7252 > as_fn_error "C preprocessor \"$CPP\" fails sanity check
7253 > See \`config.log' for more details." "$LINENO" 5; }
7254   fi
7255  
7256   ac_ext=c
# Line 7129 | Line 7260 | ac_link='$CC -o conftest$ac_exeext $CFLA
7260   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7261  
7262  
7263 < { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7263 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7264   $as_echo_n "checking for ANSI C header files... " >&6; }
7265 < if test "${ac_cv_header_stdc+set}" = set; then
7265 > if test "${ac_cv_header_stdc+set}" = set; then :
7266    $as_echo_n "(cached) " >&6
7267   else
7268 <  cat >conftest.$ac_ext <<_ACEOF
7138 < /* confdefs.h.  */
7139 < _ACEOF
7140 < cat confdefs.h >>conftest.$ac_ext
7141 < cat >>conftest.$ac_ext <<_ACEOF
7268 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7269   /* end confdefs.h.  */
7270   #include <stdlib.h>
7271   #include <stdarg.h>
# Line 7153 | Line 7280 | main ()
7280    return 0;
7281   }
7282   _ACEOF
7283 < 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
7283 > if ac_fn_c_try_compile "$LINENO"; then :
7284    ac_cv_header_stdc=yes
7285   else
7286 <  $as_echo "$as_me: failed program was:" >&5
7177 < sed 's/^/| /' conftest.$ac_ext >&5
7178 <
7179 <        ac_cv_header_stdc=no
7286 >  ac_cv_header_stdc=no
7287   fi
7181 –
7288   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7289  
7290   if test $ac_cv_header_stdc = yes; then
7291    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7292 <  cat >conftest.$ac_ext <<_ACEOF
7187 < /* confdefs.h.  */
7188 < _ACEOF
7189 < cat confdefs.h >>conftest.$ac_ext
7190 < cat >>conftest.$ac_ext <<_ACEOF
7292 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293   /* end confdefs.h.  */
7294   #include <string.h>
7295  
7296   _ACEOF
7297   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7298 <  $EGREP "memchr" >/dev/null 2>&1; then
7299 <  :
7298 >  $EGREP "memchr" >/dev/null 2>&1; then :
7299 >
7300   else
7301    ac_cv_header_stdc=no
7302   fi
# Line 7204 | Line 7306 | fi
7306  
7307   if test $ac_cv_header_stdc = yes; then
7308    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7309 <  cat >conftest.$ac_ext <<_ACEOF
7208 < /* confdefs.h.  */
7209 < _ACEOF
7210 < cat confdefs.h >>conftest.$ac_ext
7211 < cat >>conftest.$ac_ext <<_ACEOF
7309 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7310   /* end confdefs.h.  */
7311   #include <stdlib.h>
7312  
7313   _ACEOF
7314   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7315 <  $EGREP "free" >/dev/null 2>&1; then
7316 <  :
7315 >  $EGREP "free" >/dev/null 2>&1; then :
7316 >
7317   else
7318    ac_cv_header_stdc=no
7319   fi
# Line 7225 | Line 7323 | fi
7323  
7324   if test $ac_cv_header_stdc = yes; then
7325    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7326 <  if test "$cross_compiling" = yes; then
7326 >  if test "$cross_compiling" = yes; then :
7327    :
7328   else
7329 <  cat >conftest.$ac_ext <<_ACEOF
7232 < /* confdefs.h.  */
7233 < _ACEOF
7234 < cat confdefs.h >>conftest.$ac_ext
7235 < cat >>conftest.$ac_ext <<_ACEOF
7329 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7330   /* end confdefs.h.  */
7331   #include <ctype.h>
7332   #include <stdlib.h>
# Line 7259 | Line 7353 | main ()
7353    return 0;
7354   }
7355   _ACEOF
7356 < 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
7356 > if ac_fn_c_try_run "$LINENO"; then :
7357  
7358 < ( exit $ac_status )
7359 < ac_cv_header_stdc=no
7358 > else
7359 >  ac_cv_header_stdc=no
7360   fi
7361 < rm -rf conftest.dSYM
7362 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7361 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7362 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
7363   fi
7364  
7297 –
7365   fi
7366   fi
7367 < { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7367 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7368   $as_echo "$ac_cv_header_stdc" >&6; }
7369   if test $ac_cv_header_stdc = yes; then
7370  
7371 < cat >>confdefs.h <<\_ACEOF
7305 < #define STDC_HEADERS 1
7306 < _ACEOF
7371 > $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7372  
7373   fi
7374  
7375   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7311 –
7312 –
7313 –
7314 –
7315 –
7316 –
7317 –
7318 –
7319 –
7376   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7377                    inttypes.h stdint.h unistd.h
7378 < do
7379 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7380 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7381 < $as_echo_n "checking for $ac_header... " >&6; }
7382 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7383 <  $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
7378 > do :
7379 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7380 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7381 > "
7382 > eval as_val=\$$as_ac_Header
7383 >   if test "x$as_val" = x""yes; then :
7384    cat >>confdefs.h <<_ACEOF
7385   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7386   _ACEOF
# Line 7380 | Line 7390 | fi
7390   done
7391  
7392  
7383 –
7393   for ac_header in dlfcn.h
7394 < do
7395 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7396 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7397 < $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
7394 > do :
7395 >  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7396 > "
7397 > if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7398    cat >>confdefs.h <<_ACEOF
7399 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7399 > #define HAVE_DLFCN_H 1
7400   _ACEOF
7401  
7402   fi
# Line 7446 | Line 7407 | done
7407  
7408   # Set options
7409   enable_dlopen=yes
7410 <
7411 <
7412 <
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}
7410 > # Check whether --enable-static was given.
7411 > if test "${enable_static+set}" = set; then :
7412 >  enableval=$enable_static; p=${PACKAGE-default}
7413      case $enableval in
7414 <    yes) enable_shared=yes ;;
7415 <    no) enable_shared=no ;;
7414 >    yes) enable_static=yes ;;
7415 >    no) enable_static=no ;;
7416      *)
7417 <      enable_shared=no
7417 >     enable_static=no
7418        # Look at the argument we got.  We use all the common list separators.
7419        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7420        for pkg in $enableval; do
7421          IFS="$lt_save_ifs"
7422          if test "X$pkg" = "X$p"; then
7423 <          enable_shared=yes
7423 >          enable_static=yes
7424          fi
7425        done
7426        IFS="$lt_save_ifs"
7427        ;;
7428      esac
7429   else
7430 <  enable_shared=yes
7430 >  enable_static=no
7431   fi
7432  
7433  
# Line 7484 | Line 7438 | fi
7438  
7439  
7440  
7441 <  # Check whether --enable-static was given.
7442 < if test "${enable_static+set}" = set; then
7443 <  enableval=$enable_static; p=${PACKAGE-default}
7441 >
7442 >
7443 >  enable_win32_dll=no
7444 >
7445 >
7446 >            # Check whether --enable-shared was given.
7447 > if test "${enable_shared+set}" = set; then :
7448 >  enableval=$enable_shared; p=${PACKAGE-default}
7449      case $enableval in
7450 <    yes) enable_static=yes ;;
7451 <    no) enable_static=no ;;
7450 >    yes) enable_shared=yes ;;
7451 >    no) enable_shared=no ;;
7452      *)
7453 <     enable_static=no
7453 >      enable_shared=no
7454        # Look at the argument we got.  We use all the common list separators.
7455        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7456        for pkg in $enableval; do
7457          IFS="$lt_save_ifs"
7458          if test "X$pkg" = "X$p"; then
7459 <          enable_static=yes
7459 >          enable_shared=yes
7460          fi
7461        done
7462        IFS="$lt_save_ifs"
7463        ;;
7464      esac
7465   else
7466 <  enable_static=yes
7466 >  enable_shared=yes
7467   fi
7468  
7469  
# Line 7516 | Line 7475 | fi
7475  
7476  
7477  
7478 +
7479   # Check whether --with-pic was given.
7480 < if test "${with_pic+set}" = set; then
7480 > if test "${with_pic+set}" = set; then :
7481    withval=$with_pic; pic_mode="$withval"
7482   else
7483    pic_mode=default
# Line 7533 | Line 7493 | test -z "$pic_mode" && pic_mode=default
7493  
7494  
7495    # Check whether --enable-fast-install was given.
7496 < if test "${enable_fast_install+set}" = set; then
7496 > if test "${enable_fast_install+set}" = set; then :
7497    enableval=$enable_fast_install; p=${PACKAGE-default}
7498      case $enableval in
7499      yes) enable_fast_install=yes ;;
# Line 7614 | Line 7574 | if test -n "${ZSH_VERSION+set}" ; then
7574     setopt NO_GLOB_SUBST
7575   fi
7576  
7577 < { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7577 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7578   $as_echo_n "checking for objdir... " >&6; }
7579 < if test "${lt_cv_objdir+set}" = set; then
7579 > if test "${lt_cv_objdir+set}" = set; then :
7580    $as_echo_n "(cached) " >&6
7581   else
7582    rm -f .libs 2>/dev/null
# Line 7629 | Line 7589 | else
7589   fi
7590   rmdir .libs 2>/dev/null
7591   fi
7592 < { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7592 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7593   $as_echo "$lt_cv_objdir" >&6; }
7594   objdir=$lt_cv_objdir
7595  
# Line 7722 | Line 7682 | test -z "$MAGIC_CMD" && MAGIC_CMD=file
7682   case $deplibs_check_method in
7683   file_magic*)
7684    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7685 <    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7685 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7686   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7687 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7687 > if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7688    $as_echo_n "(cached) " >&6
7689   else
7690    case $MAGIC_CMD in
# Line 7775 | Line 7735 | fi
7735  
7736   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7737   if test -n "$MAGIC_CMD"; then
7738 <  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7738 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7739   $as_echo "$MAGIC_CMD" >&6; }
7740   else
7741 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7741 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7742   $as_echo "no" >&6; }
7743   fi
7744  
# Line 7788 | Line 7748 | fi
7748  
7749   if test -z "$lt_cv_path_MAGIC_CMD"; then
7750    if test -n "$ac_tool_prefix"; then
7751 <    { $as_echo "$as_me:$LINENO: checking for file" >&5
7751 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7752   $as_echo_n "checking for file... " >&6; }
7753 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7753 > if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7754    $as_echo_n "(cached) " >&6
7755   else
7756    case $MAGIC_CMD in
# Line 7841 | Line 7801 | fi
7801  
7802   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7803   if test -n "$MAGIC_CMD"; then
7804 <  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7804 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7805   $as_echo "$MAGIC_CMD" >&6; }
7806   else
7807 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7807 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7808   $as_echo "no" >&6; }
7809   fi
7810  
# Line 7921 | Line 7881 | lt_prog_compiler_no_builtin_flag=
7881   if test "$GCC" = yes; then
7882    lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7883  
7884 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7884 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7885   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7886 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7886 > if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7887    $as_echo_n "(cached) " >&6
7888   else
7889    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7939 | Line 7899 | else
7899     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7900     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7901     -e 's:$: $lt_compiler_flag:'`
7902 <   (eval echo "\"\$as_me:7942: $lt_compile\"" >&5)
7902 >   (eval echo "\"\$as_me:7902: $lt_compile\"" >&5)
7903     (eval "$lt_compile" 2>conftest.err)
7904     ac_status=$?
7905     cat conftest.err >&5
7906 <   echo "$as_me:7946: \$? = $ac_status" >&5
7906 >   echo "$as_me:7906: \$? = $ac_status" >&5
7907     if (exit $ac_status) && test -s "$ac_outfile"; then
7908       # The compiler can only warn and ignore the option if not recognized
7909       # So say no if there are warnings other than the usual output.
# Line 7956 | Line 7916 | else
7916     $RM conftest*
7917  
7918   fi
7919 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7919 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7920   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7921  
7922   if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
# Line 7976 | Line 7936 | fi
7936   lt_prog_compiler_pic=
7937   lt_prog_compiler_static=
7938  
7939 < { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7939 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7940   $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7941  
7942    if test "$GCC" = yes; then
# Line 8248 | Line 8208 | case $host_os in
8208      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8209      ;;
8210   esac
8211 < { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8211 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8212   $as_echo "$lt_prog_compiler_pic" >&6; }
8213  
8214  
# Line 8260 | Line 8220 | $as_echo "$lt_prog_compiler_pic" >&6; }
8220   # Check to make sure the PIC flag actually works.
8221   #
8222   if test -n "$lt_prog_compiler_pic"; then
8223 <  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8223 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8224   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8225 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8225 > if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8226    $as_echo_n "(cached) " >&6
8227   else
8228    lt_cv_prog_compiler_pic_works=no
# Line 8278 | Line 8238 | else
8238     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8239     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8240     -e 's:$: $lt_compiler_flag:'`
8241 <   (eval echo "\"\$as_me:8281: $lt_compile\"" >&5)
8241 >   (eval echo "\"\$as_me:8241: $lt_compile\"" >&5)
8242     (eval "$lt_compile" 2>conftest.err)
8243     ac_status=$?
8244     cat conftest.err >&5
8245 <   echo "$as_me:8285: \$? = $ac_status" >&5
8245 >   echo "$as_me:8245: \$? = $ac_status" >&5
8246     if (exit $ac_status) && test -s "$ac_outfile"; then
8247       # The compiler can only warn and ignore the option if not recognized
8248       # So say no if there are warnings other than the usual output.
# Line 8295 | Line 8255 | else
8255     $RM conftest*
8256  
8257   fi
8258 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8258 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8259   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8260  
8261   if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
# Line 8319 | Line 8279 | fi
8279   # Check to make sure the static flag actually works.
8280   #
8281   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8282 < { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8282 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8283   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8284 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8284 > if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8285    $as_echo_n "(cached) " >&6
8286   else
8287    lt_cv_prog_compiler_static_works=no
# Line 8347 | Line 8307 | else
8307     LDFLAGS="$save_LDFLAGS"
8308  
8309   fi
8310 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8310 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8311   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8312  
8313   if test x"$lt_cv_prog_compiler_static_works" = xyes; then
# Line 8362 | Line 8322 | fi
8322  
8323  
8324  
8325 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8325 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8326   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8327 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8327 > if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8328    $as_echo_n "(cached) " >&6
8329   else
8330    lt_cv_prog_compiler_c_o=no
# Line 8383 | Line 8343 | else
8343     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8344     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8345     -e 's:$: $lt_compiler_flag:'`
8346 <   (eval echo "\"\$as_me:8386: $lt_compile\"" >&5)
8346 >   (eval echo "\"\$as_me:8346: $lt_compile\"" >&5)
8347     (eval "$lt_compile" 2>out/conftest.err)
8348     ac_status=$?
8349     cat out/conftest.err >&5
8350 <   echo "$as_me:8390: \$? = $ac_status" >&5
8350 >   echo "$as_me:8350: \$? = $ac_status" >&5
8351     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8352     then
8353       # The compiler can only warn and ignore the option if not recognized
# Line 8409 | Line 8369 | else
8369     $RM conftest*
8370  
8371   fi
8372 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8372 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8373   $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8374  
8375  
# Line 8417 | Line 8377 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8377  
8378  
8379  
8380 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8380 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8381   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8382 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8382 > if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8383    $as_echo_n "(cached) " >&6
8384   else
8385    lt_cv_prog_compiler_c_o=no
# Line 8438 | Line 8398 | else
8398     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8399     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8400     -e 's:$: $lt_compiler_flag:'`
8401 <   (eval echo "\"\$as_me:8441: $lt_compile\"" >&5)
8401 >   (eval echo "\"\$as_me:8401: $lt_compile\"" >&5)
8402     (eval "$lt_compile" 2>out/conftest.err)
8403     ac_status=$?
8404     cat out/conftest.err >&5
8405 <   echo "$as_me:8445: \$? = $ac_status" >&5
8405 >   echo "$as_me:8405: \$? = $ac_status" >&5
8406     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8407     then
8408       # The compiler can only warn and ignore the option if not recognized
# Line 8464 | Line 8424 | else
8424     $RM conftest*
8425  
8426   fi
8427 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8427 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8428   $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8429  
8430  
# Line 8473 | Line 8433 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8433   hard_links="nottested"
8434   if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8435    # do not overwrite the value of need_locks provided by the user
8436 <  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8436 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8437   $as_echo_n "checking if we can lock with hard links... " >&6; }
8438    hard_links=yes
8439    $RM conftest*
# Line 8481 | Line 8441 | $as_echo_n "checking if we can lock with
8441    touch conftest.a
8442    ln conftest.a conftest.b 2>&5 || hard_links=no
8443    ln conftest.a conftest.b 2>/dev/null && hard_links=no
8444 <  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8444 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8445   $as_echo "$hard_links" >&6; }
8446    if test "$hard_links" = no; then
8447 <    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8447 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8448   $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8449      need_locks=warn
8450    fi
# Line 8497 | Line 8457 | fi
8457  
8458  
8459  
8460 <  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8460 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8461   $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8462  
8463    runpath_var=
# Line 8914 | Line 8874 | _LT_EOF
8874          if test "$aix_use_runtimelinking" = yes; then
8875            shared_flag="$shared_flag "'${wl}-G'
8876          fi
8917 –        link_all_deplibs=no
8877        else
8878          # not using gcc
8879          if test "$host_cpu" = ia64; then
# Line 8940 | Line 8899 | _LT_EOF
8899          allow_undefined_flag='-berok'
8900          # Determine the default libpath from the value encoded in an
8901          # empty executable.
8902 <        cat >conftest.$ac_ext <<_ACEOF
8944 < /* confdefs.h.  */
8945 < _ACEOF
8946 < cat confdefs.h >>conftest.$ac_ext
8947 < cat >>conftest.$ac_ext <<_ACEOF
8902 >        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8903   /* end confdefs.h.  */
8904  
8905   int
# Line 8955 | Line 8910 | main ()
8910    return 0;
8911   }
8912   _ACEOF
8913 < 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
8913 > if ac_fn_c_try_link "$LINENO"; then :
8914  
8915   lt_aix_libpath_sed='
8916      /Import File Strings/,/^$/ {
# Line 8989 | Line 8924 | aix_libpath=`dump -H conftest$ac_exeext
8924   if test -z "$aix_libpath"; then
8925    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8926   fi
8992 – else
8993 –  $as_echo "$as_me: failed program was:" >&5
8994 – sed 's/^/| /' conftest.$ac_ext >&5
8995 –
8996 –
8927   fi
8928 <
8929 < rm -rf conftest.dSYM
9000 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9001 <      conftest$ac_exeext conftest.$ac_ext
8928 > rm -f core conftest.err conftest.$ac_objext \
8929 >    conftest$ac_exeext conftest.$ac_ext
8930   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8931  
8932          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 9011 | Line 8939 | if test -z "$aix_libpath"; then aix_libp
8939          else
8940           # Determine the default libpath from the value encoded in an
8941           # empty executable.
8942 <         cat >conftest.$ac_ext <<_ACEOF
9015 < /* confdefs.h.  */
9016 < _ACEOF
9017 < cat confdefs.h >>conftest.$ac_ext
9018 < cat >>conftest.$ac_ext <<_ACEOF
8942 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943   /* end confdefs.h.  */
8944  
8945   int
# Line 9026 | Line 8950 | main ()
8950    return 0;
8951   }
8952   _ACEOF
8953 < 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
8953 > if ac_fn_c_try_link "$LINENO"; then :
8954  
8955   lt_aix_libpath_sed='
8956      /Import File Strings/,/^$/ {
# Line 9060 | Line 8964 | aix_libpath=`dump -H conftest$ac_exeext
8964   if test -z "$aix_libpath"; then
8965    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8966   fi
9063 – else
9064 –  $as_echo "$as_me: failed program was:" >&5
9065 – sed 's/^/| /' conftest.$ac_ext >&5
9066 –
9067 –
8967   fi
8968 <
8969 < rm -rf conftest.dSYM
9071 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9072 <      conftest$ac_exeext conftest.$ac_ext
8968 > rm -f core conftest.err conftest.$ac_objext \
8969 >    conftest$ac_exeext conftest.$ac_ext
8970   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8971  
8972           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 9281 | Line 9178 | if test -z "$aix_libpath"; then aix_libp
9178          # implicitly export all symbols.
9179          save_LDFLAGS="$LDFLAGS"
9180          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9181 <        cat >conftest.$ac_ext <<_ACEOF
9181 >        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9182 > /* end confdefs.h.  */
9183   int foo(void) {}
9184   _ACEOF
9185 < 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
9185 > if ac_fn_c_try_link "$LINENO"; then :
9186    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'
9187  
9310 – else
9311 –  $as_echo "$as_me: failed program was:" >&5
9312 – sed 's/^/| /' conftest.$ac_ext >&5
9313 –
9314 –
9188   fi
9189 <
9190 < rm -rf conftest.dSYM
9318 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9319 <      conftest$ac_exeext conftest.$ac_ext
9189 > rm -f core conftest.err conftest.$ac_objext \
9190 >    conftest$ac_exeext conftest.$ac_ext
9191          LDFLAGS="$save_LDFLAGS"
9192        else
9193          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 9443 | rm -f core conftest.err conftest.$ac_obj
9443      fi
9444    fi
9445  
9446 < { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9446 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9447   $as_echo "$ld_shlibs" >&6; }
9448   test "$ld_shlibs" = no && can_build_shared=no
9449  
# Line 9609 | Line 9480 | x|xyes)
9480        # Test whether the compiler implicitly links with -lc since on some
9481        # systems, -lgcc has to come before -lc. If gcc already passes -lc
9482        # to ld, don't add -lc before -lgcc.
9483 <      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9483 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9484   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9485        $RM conftest*
9486        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9487  
9488 <      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9488 >      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9489    (eval $ac_compile) 2>&5
9490    ac_status=$?
9491 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 <  (exit $ac_status); } 2>conftest.err; then
9491 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9492 >  test $ac_status = 0; } 2>conftest.err; then
9493          soname=conftest
9494          lib=conftest
9495          libobjs=conftest.$ac_objext
# Line 9632 | Line 9503 | $as_echo_n "checking whether -lc should
9503          libname=conftest
9504          lt_save_allow_undefined_flag=$allow_undefined_flag
9505          allow_undefined_flag=
9506 <        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9506 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9507    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9508    ac_status=$?
9509 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 <  (exit $ac_status); }
9509 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9510 >  test $ac_status = 0; }
9511          then
9512            archive_cmds_need_lc=no
9513          else
# Line 9647 | Line 9518 | $as_echo_n "checking whether -lc should
9518          cat conftest.err 1>&5
9519        fi
9520        $RM conftest*
9521 <      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9521 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9522   $as_echo "$archive_cmds_need_lc" >&6; }
9523        ;;
9524      esac
# Line 9811 | Line 9682 | esac
9682  
9683  
9684  
9685 <  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9685 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9686   $as_echo_n "checking dynamic linker characteristics... " >&6; }
9687  
9688   if test "$GCC" = yes; then
# Line 10233 | Line 10104 | linux* | k*bsd*-gnu)
10104    save_libdir=$libdir
10105    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10106         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10107 <  cat >conftest.$ac_ext <<_ACEOF
10237 < /* confdefs.h.  */
10238 < _ACEOF
10239 < cat confdefs.h >>conftest.$ac_ext
10240 < cat >>conftest.$ac_ext <<_ACEOF
10107 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108   /* end confdefs.h.  */
10109  
10110   int
# Line 10248 | Line 10115 | main ()
10115    return 0;
10116   }
10117   _ACEOF
10118 < rm -f conftest.$ac_objext conftest$ac_exeext
10119 < 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
10118 > if ac_fn_c_try_link "$LINENO"; then :
10119 >  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10120    shlibpath_overrides_runpath=yes
10121   fi
10275 –
10276 – else
10277 –  $as_echo "$as_me: failed program was:" >&5
10278 – sed 's/^/| /' conftest.$ac_ext >&5
10279 –
10280 –
10122   fi
10123 <
10124 < rm -rf conftest.dSYM
10284 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10285 <      conftest$ac_exeext conftest.$ac_ext
10123 > rm -f core conftest.err conftest.$ac_objext \
10124 >    conftest$ac_exeext conftest.$ac_ext
10125    LDFLAGS=$save_LDFLAGS
10126    libdir=$save_libdir
10127  
# Line 10291 | Line 10130 | rm -f core conftest.err conftest.$ac_obj
10130    # before this can be enabled.
10131    hardcode_into_libs=yes
10132  
10294 –  # find out which ABI we are using
10295 –  libsuff=
10296 –  case "$host_cpu" in
10297 –  x86_64*|s390x*|powerpc64*)
10298 –    echo '#line 10298 "configure"' > conftest.$ac_ext
10299 –    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10300 –  (eval $ac_compile) 2>&5
10301 –  ac_status=$?
10302 –  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 –  (exit $ac_status); }; then
10304 –      case `/usr/bin/file conftest.$ac_objext` in
10305 –      *64-bit*)
10306 –        libsuff=64
10307 –        ;;
10308 –      esac
10309 –    fi
10310 –    rm -rf conftest*
10311 –    ;;
10312 –  esac
10313 –
10314 –  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10315 –
10133    # Append ld.so.conf contents to the search path
10134    if test -f /etc/ld.so.conf; then
10135      lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10136 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10136 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10137    fi
10138  
10139    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10516 | Line 10333 | uts4*)
10333    dynamic_linker=no
10334    ;;
10335   esac
10336 < { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10336 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10337   $as_echo "$dynamic_linker" >&6; }
10338   test "$dynamic_linker" = no && can_build_shared=no
10339  
# Line 10618 | Line 10435 | fi
10435  
10436  
10437  
10438 <  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10438 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10439   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10440   hardcode_action=
10441   if test -n "$hardcode_libdir_flag_spec" ||
# Line 10643 | Line 10460 | else
10460    # directories.
10461    hardcode_action=unsupported
10462   fi
10463 < { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10463 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10464   $as_echo "$hardcode_action" >&6; }
10465  
10466   if test "$hardcode_action" = relink ||
# Line 10688 | Line 10505 | else
10505  
10506    darwin*)
10507    # if libdl is installed we need to link against it
10508 <    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10508 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10509   $as_echo_n "checking for dlopen in -ldl... " >&6; }
10510 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10510 > if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10511    $as_echo_n "(cached) " >&6
10512   else
10513    ac_check_lib_save_LIBS=$LIBS
10514   LIBS="-ldl  $LIBS"
10515 < cat >conftest.$ac_ext <<_ACEOF
10699 < /* confdefs.h.  */
10700 < _ACEOF
10701 < cat confdefs.h >>conftest.$ac_ext
10702 < cat >>conftest.$ac_ext <<_ACEOF
10515 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10516   /* end confdefs.h.  */
10517  
10518   /* Override any GCC internal prototype to avoid an error.
# Line 10717 | Line 10530 | return dlopen ();
10530    return 0;
10531   }
10532   _ACEOF
10533 < 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
10533 > if ac_fn_c_try_link "$LINENO"; then :
10534    ac_cv_lib_dl_dlopen=yes
10535   else
10536 <  $as_echo "$as_me: failed program was:" >&5
10744 < sed 's/^/| /' conftest.$ac_ext >&5
10745 <
10746 <        ac_cv_lib_dl_dlopen=no
10536 >  ac_cv_lib_dl_dlopen=no
10537   fi
10538 <
10539 < rm -rf conftest.dSYM
10750 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10751 <      conftest$ac_exeext conftest.$ac_ext
10538 > rm -f core conftest.err conftest.$ac_objext \
10539 >    conftest$ac_exeext conftest.$ac_ext
10540   LIBS=$ac_check_lib_save_LIBS
10541   fi
10542 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10542 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10543   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10544 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10544 > if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10545    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10546   else
10547  
# Line 10766 | Line 10554 | fi
10554      ;;
10555  
10556    *)
10557 <    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10558 < $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
10557 >    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10558 > if test "x$ac_cv_func_shl_load" = x""yes; then :
10559    lt_cv_dlopen="shl_load"
10560   else
10561 <  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10561 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10562   $as_echo_n "checking for shl_load in -ldld... " >&6; }
10563 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10563 > if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10564    $as_echo_n "(cached) " >&6
10565   else
10566    ac_check_lib_save_LIBS=$LIBS
10567   LIBS="-ldld  $LIBS"
10568 < cat >conftest.$ac_ext <<_ACEOF
10865 < /* confdefs.h.  */
10866 < _ACEOF
10867 < cat confdefs.h >>conftest.$ac_ext
10868 < cat >>conftest.$ac_ext <<_ACEOF
10568 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10569   /* end confdefs.h.  */
10570  
10571   /* Override any GCC internal prototype to avoid an error.
# Line 10883 | Line 10583 | return shl_load ();
10583    return 0;
10584   }
10585   _ACEOF
10586 < 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
10586 > if ac_fn_c_try_link "$LINENO"; then :
10587    ac_cv_lib_dld_shl_load=yes
10588   else
10589 <  $as_echo "$as_me: failed program was:" >&5
10910 < sed 's/^/| /' conftest.$ac_ext >&5
10911 <
10912 <        ac_cv_lib_dld_shl_load=no
10589 >  ac_cv_lib_dld_shl_load=no
10590   fi
10591 <
10592 < rm -rf conftest.dSYM
10916 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10917 <      conftest$ac_exeext conftest.$ac_ext
10591 > rm -f core conftest.err conftest.$ac_objext \
10592 >    conftest$ac_exeext conftest.$ac_ext
10593   LIBS=$ac_check_lib_save_LIBS
10594   fi
10595 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10595 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10596   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10597 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10597 > if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10598    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10599   else
10600 <  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10601 < $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
10600 >  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10601 > if test "x$ac_cv_func_dlopen" = x""yes; then :
10602    lt_cv_dlopen="dlopen"
10603   else
10604 <  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10604 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10605   $as_echo_n "checking for dlopen in -ldl... " >&6; }
10606 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10606 > if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10607    $as_echo_n "(cached) " >&6
10608   else
10609    ac_check_lib_save_LIBS=$LIBS
10610   LIBS="-ldl  $LIBS"
10611 < cat >conftest.$ac_ext <<_ACEOF
11021 < /* confdefs.h.  */
11022 < _ACEOF
11023 < cat confdefs.h >>conftest.$ac_ext
11024 < cat >>conftest.$ac_ext <<_ACEOF
10611 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10612   /* end confdefs.h.  */
10613  
10614   /* Override any GCC internal prototype to avoid an error.
# Line 11039 | Line 10626 | return dlopen ();
10626    return 0;
10627   }
10628   _ACEOF
10629 < 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
10629 > if ac_fn_c_try_link "$LINENO"; then :
10630    ac_cv_lib_dl_dlopen=yes
10631   else
10632 <  $as_echo "$as_me: failed program was:" >&5
11066 < sed 's/^/| /' conftest.$ac_ext >&5
11067 <
11068 <        ac_cv_lib_dl_dlopen=no
10632 >  ac_cv_lib_dl_dlopen=no
10633   fi
10634 <
10635 < rm -rf conftest.dSYM
11072 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11073 <      conftest$ac_exeext conftest.$ac_ext
10634 > rm -f core conftest.err conftest.$ac_objext \
10635 >    conftest$ac_exeext conftest.$ac_ext
10636   LIBS=$ac_check_lib_save_LIBS
10637   fi
10638 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10638 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10639   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10640 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10640 > if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10641    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10642   else
10643 <  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10643 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10644   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10645 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10645 > if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10646    $as_echo_n "(cached) " >&6
10647   else
10648    ac_check_lib_save_LIBS=$LIBS
10649   LIBS="-lsvld  $LIBS"
10650 < cat >conftest.$ac_ext <<_ACEOF
11089 < /* confdefs.h.  */
11090 < _ACEOF
11091 < cat confdefs.h >>conftest.$ac_ext
11092 < cat >>conftest.$ac_ext <<_ACEOF
10650 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651   /* end confdefs.h.  */
10652  
10653   /* Override any GCC internal prototype to avoid an error.
# Line 11107 | Line 10665 | return dlopen ();
10665    return 0;
10666   }
10667   _ACEOF
10668 < 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
10668 > if ac_fn_c_try_link "$LINENO"; then :
10669    ac_cv_lib_svld_dlopen=yes
10670   else
10671 <  $as_echo "$as_me: failed program was:" >&5
11134 < sed 's/^/| /' conftest.$ac_ext >&5
11135 <
11136 <        ac_cv_lib_svld_dlopen=no
10671 >  ac_cv_lib_svld_dlopen=no
10672   fi
10673 <
10674 < rm -rf conftest.dSYM
11140 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11141 <      conftest$ac_exeext conftest.$ac_ext
10673 > rm -f core conftest.err conftest.$ac_objext \
10674 >    conftest$ac_exeext conftest.$ac_ext
10675   LIBS=$ac_check_lib_save_LIBS
10676   fi
10677 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10677 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10678   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10679 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10679 > if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10680    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10681   else
10682 <  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10682 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10683   $as_echo_n "checking for dld_link in -ldld... " >&6; }
10684 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10684 > if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10685    $as_echo_n "(cached) " >&6
10686   else
10687    ac_check_lib_save_LIBS=$LIBS
10688   LIBS="-ldld  $LIBS"
10689 < cat >conftest.$ac_ext <<_ACEOF
11157 < /* confdefs.h.  */
11158 < _ACEOF
11159 < cat confdefs.h >>conftest.$ac_ext
11160 < cat >>conftest.$ac_ext <<_ACEOF
10689 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690   /* end confdefs.h.  */
10691  
10692   /* Override any GCC internal prototype to avoid an error.
# Line 11175 | Line 10704 | return dld_link ();
10704    return 0;
10705   }
10706   _ACEOF
10707 < 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
10707 > if ac_fn_c_try_link "$LINENO"; then :
10708    ac_cv_lib_dld_dld_link=yes
10709   else
10710 <  $as_echo "$as_me: failed program was:" >&5
11202 < sed 's/^/| /' conftest.$ac_ext >&5
11203 <
11204 <        ac_cv_lib_dld_dld_link=no
10710 >  ac_cv_lib_dld_dld_link=no
10711   fi
10712 <
10713 < rm -rf conftest.dSYM
11208 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11209 <      conftest$ac_exeext conftest.$ac_ext
10712 > rm -f core conftest.err conftest.$ac_objext \
10713 >    conftest$ac_exeext conftest.$ac_ext
10714   LIBS=$ac_check_lib_save_LIBS
10715   fi
10716 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10716 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10717   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10718 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10718 > if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10719    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10720   fi
10721  
# Line 11250 | Line 10754 | fi
10754      save_LIBS="$LIBS"
10755      LIBS="$lt_cv_dlopen_libs $LIBS"
10756  
10757 <    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10757 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10758   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10759 < if test "${lt_cv_dlopen_self+set}" = set; then
10759 > if test "${lt_cv_dlopen_self+set}" = set; then :
10760    $as_echo_n "(cached) " >&6
10761   else
10762            if test "$cross_compiling" = yes; then :
# Line 11261 | Line 10765 | else
10765    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10766    lt_status=$lt_dlunknown
10767    cat > conftest.$ac_ext <<_LT_EOF
10768 < #line 11264 "configure"
10768 > #line 10768 "configure"
10769   #include "confdefs.h"
10770  
10771   #if HAVE_DLFCN_H
# Line 11320 | Line 10824 | int main ()
10824    return status;
10825   }
10826   _LT_EOF
10827 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10827 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10828    (eval $ac_link) 2>&5
10829    ac_status=$?
10830 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10830 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10831 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10832      (./conftest; exit; ) >&5 2>/dev/null
10833      lt_status=$?
10834      case x$lt_status in
# Line 11341 | Line 10845 | rm -fr conftest*
10845  
10846  
10847   fi
10848 < { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10848 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10849   $as_echo "$lt_cv_dlopen_self" >&6; }
10850  
10851      if test "x$lt_cv_dlopen_self" = xyes; then
10852        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10853 <      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10853 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10854   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10855 < if test "${lt_cv_dlopen_self_static+set}" = set; then
10855 > if test "${lt_cv_dlopen_self_static+set}" = set; then :
10856    $as_echo_n "(cached) " >&6
10857   else
10858            if test "$cross_compiling" = yes; then :
# Line 11357 | Line 10861 | else
10861    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10862    lt_status=$lt_dlunknown
10863    cat > conftest.$ac_ext <<_LT_EOF
10864 < #line 11360 "configure"
10864 > #line 10864 "configure"
10865   #include "confdefs.h"
10866  
10867   #if HAVE_DLFCN_H
# Line 11416 | Line 10920 | int main ()
10920    return status;
10921   }
10922   _LT_EOF
10923 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10923 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10924    (eval $ac_link) 2>&5
10925    ac_status=$?
10926 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10926 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10927 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10928      (./conftest; exit; ) >&5 2>/dev/null
10929      lt_status=$?
10930      case x$lt_status in
# Line 11437 | Line 10941 | rm -fr conftest*
10941  
10942  
10943   fi
10944 < { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10944 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10945   $as_echo "$lt_cv_dlopen_self_static" >&6; }
10946      fi
10947  
# Line 11476 | Line 10980 | fi
10980  
10981   striplib=
10982   old_striplib=
10983 < { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10983 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10984   $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10985   if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10986    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10987    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10988 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
10988 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10989   $as_echo "yes" >&6; }
10990   else
10991   # FIXME - insert some real tests, host_os isn't really good enough
# Line 11490 | Line 10994 | else
10994      if test -n "$STRIP" ; then
10995        striplib="$STRIP -x"
10996        old_striplib="$STRIP -S"
10997 <      { $as_echo "$as_me:$LINENO: result: yes" >&5
10997 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10998   $as_echo "yes" >&6; }
10999      else
11000 <      { $as_echo "$as_me:$LINENO: result: no" >&5
11000 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11001   $as_echo "no" >&6; }
11002      fi
11003      ;;
11004    *)
11005 <    { $as_echo "$as_me:$LINENO: result: no" >&5
11005 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11006   $as_echo "no" >&6; }
11007      ;;
11008    esac
# Line 11516 | Line 11020 | fi
11020  
11021  
11022    # Report which library types will actually be built
11023 <  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11023 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11024   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11025 <  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11025 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11026   $as_echo "$can_build_shared" >&6; }
11027  
11028 <  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11028 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11029   $as_echo_n "checking whether to build shared libraries... " >&6; }
11030    test "$can_build_shared" = "no" && enable_shared=no
11031  
# Line 11542 | Line 11046 | $as_echo_n "checking whether to build sh
11046      fi
11047      ;;
11048    esac
11049 <  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11049 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11050   $as_echo "$enable_shared" >&6; }
11051  
11052 <  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11052 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11053   $as_echo_n "checking whether to build static libraries... " >&6; }
11054    # Make sure either enable_shared or enable_static is yes.
11055    test "$enable_shared" = yes || enable_static=yes
11056 <  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11056 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11057   $as_echo "$enable_static" >&6; }
11058  
11059  
# Line 11584 | Line 11088 | CC="$lt_save_CC"
11088   # Only expand once:
11089  
11090  
11091 < { $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
11091 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11092   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11093 < if test "${libltdl_cv_shlibext+set}" = set; then
11093 > if test "${libltdl_cv_shlibext+set}" = set; then :
11094    $as_echo_n "(cached) " >&6
11095   else
11096  
# Line 11594 | Line 11098 | module=yes
11098   eval libltdl_cv_shlibext=$shrext_cmds
11099  
11100   fi
11101 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
11101 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
11102   $as_echo "$libltdl_cv_shlibext" >&6; }
11103   if test -n "$libltdl_cv_shlibext"; then
11104  
# Line 11604 | Line 11108 | _ACEOF
11108  
11109   fi
11110  
11111 < { $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
11111 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11112   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11113 < if test "${lt_cv_module_path_var+set}" = set; then
11113 > if test "${lt_cv_module_path_var+set}" = set; then :
11114    $as_echo_n "(cached) " >&6
11115   else
11116    lt_cv_module_path_var="$shlibpath_var"
11117   fi
11118 < { $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
11118 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
11119   $as_echo "$lt_cv_module_path_var" >&6; }
11120   if test -n "$lt_cv_module_path_var"; then
11121  
# Line 11621 | Line 11125 | _ACEOF
11125  
11126   fi
11127  
11128 < { $as_echo "$as_me:$LINENO: checking for the default library search path" >&5
11128 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11129   $as_echo_n "checking for the default library search path... " >&6; }
11130 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then
11130 > if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11131    $as_echo_n "(cached) " >&6
11132   else
11133    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
11134   fi
11135 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
11135 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
11136   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
11137   if test -n "$lt_cv_sys_dlsearch_path"; then
11138    sys_dlsearch_path=
# Line 11658 | Line 11162 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
11162  
11163  
11164   LIBADD_DLOPEN=
11165 < { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
11165 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11166   $as_echo_n "checking for library containing dlopen... " >&6; }
11167 < if test "${ac_cv_search_dlopen+set}" = set; then
11167 > if test "${ac_cv_search_dlopen+set}" = set; then :
11168    $as_echo_n "(cached) " >&6
11169   else
11170    ac_func_search_save_LIBS=$LIBS
11171 < cat >conftest.$ac_ext <<_ACEOF
11668 < /* confdefs.h.  */
11669 < _ACEOF
11670 < cat confdefs.h >>conftest.$ac_ext
11671 < cat >>conftest.$ac_ext <<_ACEOF
11171 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11172   /* end confdefs.h.  */
11173  
11174   /* Override any GCC internal prototype to avoid an error.
# Line 11693 | Line 11193 | for ac_lib in '' dl; do
11193      ac_res=-l$ac_lib
11194      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11195    fi
11196 <  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
11196 >  if ac_fn_c_try_link "$LINENO"; then :
11197    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 –
11198   fi
11199 <
11200 < rm -rf conftest.dSYM
11201 < 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
11199 > rm -f core conftest.err conftest.$ac_objext \
11200 >    conftest$ac_exeext
11201 >  if test "${ac_cv_search_dlopen+set}" = set; then :
11202    break
11203   fi
11204   done
11205 < if test "${ac_cv_search_dlopen+set}" = set; then
11206 <  :
11205 > if test "${ac_cv_search_dlopen+set}" = set; then :
11206 >
11207   else
11208    ac_cv_search_dlopen=no
11209   fi
11210   rm conftest.$ac_ext
11211   LIBS=$ac_func_search_save_LIBS
11212   fi
11213 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
11213 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11214   $as_echo "$ac_cv_search_dlopen" >&6; }
11215   ac_res=$ac_cv_search_dlopen
11216 < if test "$ac_res" != no; then
11216 > if test "$ac_res" != no; then :
11217    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11218  
11219 < cat >>confdefs.h <<\_ACEOF
11747 < #define HAVE_LIBDL 1
11748 < _ACEOF
11219 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11220  
11221          if test "$ac_cv_search_dlopen" != "none required" ; then
11222            LIBADD_DLOPEN="-ldl"
# Line 11753 | Line 11224 | _ACEOF
11224          libltdl_cv_lib_dl_dlopen="yes"
11225          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11226   else
11227 <  cat >conftest.$ac_ext <<_ACEOF
11757 < /* confdefs.h.  */
11758 < _ACEOF
11759 < cat confdefs.h >>conftest.$ac_ext
11760 < cat >>conftest.$ac_ext <<_ACEOF
11227 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228   /* end confdefs.h.  */
11229   #if HAVE_DLFCN_H
11230   #  include <dlfcn.h>
# Line 11771 | Line 11238 | dlopen(0, 0);
11238    return 0;
11239   }
11240   _ACEOF
11241 < 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
11241 > if ac_fn_c_try_link "$LINENO"; then :
11242  
11243 < cat >>confdefs.h <<\_ACEOF
11797 < #define HAVE_LIBDL 1
11798 < _ACEOF
11243 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11244  
11245              libltdl_cv_func_dlopen="yes"
11246              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11247   else
11248 <  $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
11248 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11249   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11250 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11250 > if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11251    $as_echo_n "(cached) " >&6
11252   else
11253    ac_check_lib_save_LIBS=$LIBS
11254   LIBS="-lsvld  $LIBS"
11255 < cat >conftest.$ac_ext <<_ACEOF
11814 < /* confdefs.h.  */
11815 < _ACEOF
11816 < cat confdefs.h >>conftest.$ac_ext
11817 < cat >>conftest.$ac_ext <<_ACEOF
11255 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256   /* end confdefs.h.  */
11257  
11258   /* Override any GCC internal prototype to avoid an error.
# Line 11832 | Line 11270 | return dlopen ();
11270    return 0;
11271   }
11272   _ACEOF
11273 < 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
11273 > if ac_fn_c_try_link "$LINENO"; then :
11274    ac_cv_lib_svld_dlopen=yes
11275   else
11276 <  $as_echo "$as_me: failed program was:" >&5
11859 < sed 's/^/| /' conftest.$ac_ext >&5
11860 <
11861 <        ac_cv_lib_svld_dlopen=no
11276 >  ac_cv_lib_svld_dlopen=no
11277   fi
11278 <
11279 < rm -rf conftest.dSYM
11865 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11866 <      conftest$ac_exeext conftest.$ac_ext
11278 > rm -f core conftest.err conftest.$ac_objext \
11279 >    conftest$ac_exeext conftest.$ac_ext
11280   LIBS=$ac_check_lib_save_LIBS
11281   fi
11282 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11282 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11283   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11284 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11284 > if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11285  
11286 < cat >>confdefs.h <<\_ACEOF
11874 < #define HAVE_LIBDL 1
11875 < _ACEOF
11286 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11287  
11288                  LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
11289                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11290   fi
11291  
11292   fi
11293 <
11294 < rm -rf conftest.dSYM
11884 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11885 <      conftest$ac_exeext conftest.$ac_ext
11293 > rm -f core conftest.err conftest.$ac_objext \
11294 >    conftest$ac_exeext conftest.$ac_ext
11295   fi
11296  
11297   if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
11298   then
11299    lt_save_LIBS="$LIBS"
11300    LIBS="$LIBS $LIBADD_DLOPEN"
11301 <
11302 < for ac_func in dlerror
11303 < do
11304 < 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
11301 >  for ac_func in dlerror
11302 > do :
11303 >  ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
11304 > if test "x$ac_cv_func_dlerror" = x""yes; then :
11305    cat >>confdefs.h <<_ACEOF
11306 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11306 > #define HAVE_DLERROR 1
11307   _ACEOF
11308  
11309   fi
# Line 11995 | Line 11314 | fi
11314  
11315  
11316   LIBADD_SHL_LOAD=
11317 < { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11318 < $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
11317 > ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11318 > if test "x$ac_cv_func_shl_load" = x""yes; then :
11319  
11320 < /* System header to define __stub macros and hopefully few prototypes,
12014 <    which can conflict with char shl_load (); below.
12015 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12016 <    <limits.h> exists even on freestanding compilers.  */
12017 <
12018 < #ifdef __STDC__
12019 < # include <limits.h>
12020 < #else
12021 < # include <assert.h>
12022 < #endif
12023 <
12024 < #undef shl_load
12025 <
12026 < /* Override any GCC internal prototype to avoid an error.
12027 <   Use char because int might match the return type of a GCC
12028 <   builtin and then its argument prototype would still apply.  */
12029 < #ifdef __cplusplus
12030 < extern "C"
12031 < #endif
12032 < char shl_load ();
12033 < /* The GNU C library defines this for functions which it implements
12034 <    to always fail with ENOSYS.  Some functions are actually named
12035 <    something starting with __ and the normal name is an alias.  */
12036 < #if defined __stub_shl_load || defined __stub___shl_load
12037 < choke me
12038 < #endif
12039 <
12040 < int
12041 < main ()
12042 < {
12043 < return shl_load ();
12044 <  ;
12045 <  return 0;
12046 < }
12047 < _ACEOF
12048 < rm -f conftest.$ac_objext conftest$ac_exeext
12049 < if { (ac_try="$ac_link"
12050 < case "(($ac_try" in
12051 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12052 <  *) ac_try_echo=$ac_try;;
12053 < esac
12054 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12055 < $as_echo "$ac_try_echo") >&5
12056 <  (eval "$ac_link") 2>conftest.er1
12057 <  ac_status=$?
12058 <  grep -v '^ *+' conftest.er1 >conftest.err
12059 <  rm -f conftest.er1
12060 <  cat conftest.err >&5
12061 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 <  (exit $ac_status); } && {
12063 <         test -z "$ac_c_werror_flag" ||
12064 <         test ! -s conftest.err
12065 <       } && test -s conftest$ac_exeext && {
12066 <         test "$cross_compiling" = yes ||
12067 <         $as_test_x conftest$ac_exeext
12068 <       }; then
12069 <  ac_cv_func_shl_load=yes
12070 < else
12071 <  $as_echo "$as_me: failed program was:" >&5
12072 < sed 's/^/| /' conftest.$ac_ext >&5
12073 <
12074 <        ac_cv_func_shl_load=no
12075 < fi
12076 <
12077 < rm -rf conftest.dSYM
12078 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12079 <      conftest$ac_exeext conftest.$ac_ext
12080 < fi
12081 < { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12082 < $as_echo "$ac_cv_func_shl_load" >&6; }
12083 < if test "x$ac_cv_func_shl_load" = x""yes; then
12084 <
12085 < cat >>confdefs.h <<\_ACEOF
12086 < #define HAVE_SHL_LOAD 1
12087 < _ACEOF
11320 > $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
11321  
11322          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11323   else
11324 <  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11324 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11325   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11326 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11326 > if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11327    $as_echo_n "(cached) " >&6
11328   else
11329    ac_check_lib_save_LIBS=$LIBS
11330   LIBS="-ldld  $LIBS"
11331 < cat >conftest.$ac_ext <<_ACEOF
12099 < /* confdefs.h.  */
12100 < _ACEOF
12101 < cat confdefs.h >>conftest.$ac_ext
12102 < cat >>conftest.$ac_ext <<_ACEOF
11331 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332   /* end confdefs.h.  */
11333  
11334   /* Override any GCC internal prototype to avoid an error.
# Line 12117 | Line 11346 | return shl_load ();
11346    return 0;
11347   }
11348   _ACEOF
11349 < 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
11349 > if ac_fn_c_try_link "$LINENO"; then :
11350    ac_cv_lib_dld_shl_load=yes
11351   else
11352 <  $as_echo "$as_me: failed program was:" >&5
12144 < sed 's/^/| /' conftest.$ac_ext >&5
12145 <
12146 <        ac_cv_lib_dld_shl_load=no
11352 >  ac_cv_lib_dld_shl_load=no
11353   fi
11354 <
11355 < rm -rf conftest.dSYM
12150 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12151 <      conftest$ac_exeext conftest.$ac_ext
11354 > rm -f core conftest.err conftest.$ac_objext \
11355 >    conftest$ac_exeext conftest.$ac_ext
11356   LIBS=$ac_check_lib_save_LIBS
11357   fi
11358 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11358 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11359   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11360 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11360 > if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11361  
11362 < cat >>confdefs.h <<\_ACEOF
12159 < #define HAVE_SHL_LOAD 1
12160 < _ACEOF
11362 > $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
11363  
11364              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11365              LIBADD_SHL_LOAD="-ldld"
# Line 12170 | Line 11372 | fi
11372   case $host_os in
11373   darwin[1567].*)
11374   # We only want this for pre-Mac OS X 10.4.
11375 <  { $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
11376 < $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
12248 <
12249 <        ac_cv_func__dyld_func_lookup=no
12250 < fi
11375 >  ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
11376 > if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
11377  
11378 < 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
11378 > $as_echo "#define HAVE_DYLD 1" >>confdefs.h
11379  
11380          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
11381   fi
# Line 12269 | Line 11385 | beos*)
11385    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
11386    ;;
11387   cygwin* | mingw* | os2* | pw32*)
11388 <  { $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
11389 < $as_echo_n "checking whether cygwin_conv_path is declared... " >&6; }
11390 < if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
11391 <  $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
11388 >  ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
11389 > "
11390 > if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
11391 >  ac_have_decl=1
11392   else
11393 <  $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
11393 >  ac_have_decl=0
11394   fi
11395  
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 –
11396   cat >>confdefs.h <<_ACEOF
11397 < #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
11397 > #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
11398   _ACEOF
11399  
12338 –
12339 – fi
12340 –
12341 –
11400    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
11401    ;;
11402   esac
11403  
11404 < { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11404 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11405   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11406 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11406 > if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11407    $as_echo_n "(cached) " >&6
11408   else
11409    ac_check_lib_save_LIBS=$LIBS
11410   LIBS="-ldld  $LIBS"
11411 < cat >conftest.$ac_ext <<_ACEOF
12354 < /* confdefs.h.  */
12355 < _ACEOF
12356 < cat confdefs.h >>conftest.$ac_ext
12357 < cat >>conftest.$ac_ext <<_ACEOF
11411 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412   /* end confdefs.h.  */
11413  
11414   /* Override any GCC internal prototype to avoid an error.
# Line 12372 | Line 11426 | return dld_link ();
11426    return 0;
11427   }
11428   _ACEOF
11429 < 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
11429 > if ac_fn_c_try_link "$LINENO"; then :
11430    ac_cv_lib_dld_dld_link=yes
11431   else
11432 <  $as_echo "$as_me: failed program was:" >&5
12399 < sed 's/^/| /' conftest.$ac_ext >&5
12400 <
12401 <        ac_cv_lib_dld_dld_link=no
11432 >  ac_cv_lib_dld_dld_link=no
11433   fi
11434 <
11435 < rm -rf conftest.dSYM
12405 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12406 <      conftest$ac_exeext conftest.$ac_ext
11434 > rm -f core conftest.err conftest.$ac_objext \
11435 >    conftest$ac_exeext conftest.$ac_ext
11436   LIBS=$ac_check_lib_save_LIBS
11437   fi
11438 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11438 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11439   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11440 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11440 > if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11441  
11442 < cat >>confdefs.h <<\_ACEOF
12414 < #define HAVE_DLD 1
12415 < _ACEOF
11442 > $as_echo "#define HAVE_DLD 1" >>confdefs.h
11443  
11444                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
11445   fi
# Line 12427 | Line 11454 | then
11454      LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
11455    done
11456  
11457 < cat >>confdefs.h <<\_ACEOF
12431 < #define HAVE_LIBDLLOADER 1
12432 < _ACEOF
11457 > $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
11458  
11459   fi
11460  
# Line 12444 | Line 11469 | ac_link='$CC -o conftest$ac_exeext $CFLA
11469   ac_compiler_gnu=$ac_cv_c_compiler_gnu
11470  
11471  
11472 < { $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
11472 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
11473   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
11474 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then
11474 > if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
11475    $as_echo_n "(cached) " >&6
11476   else
11477    lt_cv_sys_symbol_underscore=no
# Line 12454 | Line 11479 | else
11479   void nm_test_func(){}
11480   int main(){nm_test_func;return 0;}
11481   _LT_EOF
11482 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11482 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11483    (eval $ac_compile) 2>&5
11484    ac_status=$?
11485 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 <  (exit $ac_status); }; then
11485 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11486 >  test $ac_status = 0; }; then
11487      # Now try to grab the symbols.
11488      ac_nlist=conftest.nm
11489 <    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
11489 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
11490    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
11491    ac_status=$?
11492 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493 <  (exit $ac_status); } && test -s "$ac_nlist"; then
11492 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11493 >  test $ac_status = 0; } && test -s "$ac_nlist"; then
11494        # See whether the symbols have a leading underscore.
11495        if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
11496          lt_cv_sys_symbol_underscore=yes
# Line 12486 | Line 11511 | _LT_EOF
11511    rm -rf conftest*
11512  
11513   fi
11514 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
11514 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
11515   $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
11516    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
11517  
# Line 12494 | Line 11519 | $as_echo "$lt_cv_sys_symbol_underscore"
11519   if test x"$lt_cv_sys_symbol_underscore" = xyes; then
11520    if test x"$libltdl_cv_func_dlopen" = xyes ||
11521       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
11522 <        { $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
11522 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
11523   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
11524 < if test "${libltdl_cv_need_uscore+set}" = set; then
11524 > if test "${libltdl_cv_need_uscore+set}" = set; then :
11525    $as_echo_n "(cached) " >&6
11526   else
11527    libltdl_cv_need_uscore=unknown
# Line 12508 | Line 11533 | else
11533    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11534    lt_status=$lt_dlunknown
11535    cat > conftest.$ac_ext <<_LT_EOF
11536 < #line 12511 "configure"
11536 > #line 11536 "configure"
11537   #include "confdefs.h"
11538  
11539   #if HAVE_DLFCN_H
# Line 12567 | Line 11592 | int main ()
11592    return status;
11593   }
11594   _LT_EOF
11595 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11595 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11596    (eval $ac_link) 2>&5
11597    ac_status=$?
11598 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11598 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11599 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11600      (./conftest; exit; ) >&5 2>/dev/null
11601      lt_status=$?
11602      case x$lt_status in
# Line 12589 | Line 11614 | rm -fr conftest*
11614            LIBS="$save_LIBS"
11615  
11616   fi
11617 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
11617 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
11618   $as_echo "$libltdl_cv_need_uscore" >&6; }
11619    fi
11620   fi
11621  
11622   if test x"$libltdl_cv_need_uscore" = xyes; then
11623  
11624 < cat >>confdefs.h <<\_ACEOF
12600 < #define NEED_USCORE 1
12601 < _ACEOF
11624 > $as_echo "#define NEED_USCORE 1" >>confdefs.h
11625  
11626   fi
11627  
11628 < { $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
11628 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
11629   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
11630 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
11630 > if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
11631    $as_echo_n "(cached) " >&6
11632   else
11633    # PORTME does your system automatically load deplibs for dlopen?
# Line 12696 | Line 11719 | else
11719    esac
11720  
11721   fi
11722 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
11722 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
11723   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
11724   if test "$lt_cv_sys_dlopen_deplibs" != yes; then
11725  
11726 < cat >>confdefs.h <<\_ACEOF
12704 < #define LTDL_DLOPEN_DEPLIBS 1
12705 < _ACEOF
11726 > $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
11727  
11728   fi
11729  
11730   :
11731  
12711 –
11732   for ac_header in argz.h
11733 < do
11734 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11735 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11736 < $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
11733 > do :
11734 >  ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
11735 > "
11736 > if test "x$ac_cv_header_argz_h" = x""yes; then :
11737    cat >>confdefs.h <<_ACEOF
11738 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11738 > #define HAVE_ARGZ_H 1
11739   _ACEOF
11740  
11741   fi
# Line 12771 | Line 11743 | fi
11743   done
11744  
11745  
11746 < { $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)
11746 > ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
11747   #  include <argz.h>
11748   #endif
11749 <
11750 < int
12791 < main ()
12792 < {
12793 < if (sizeof (error_t))
12794 <       return 0;
12795 <  ;
12796 <  return 0;
12797 < }
12798 < _ACEOF
12799 < rm -f conftest.$ac_objext
12800 < if { (ac_try="$ac_compile"
12801 < case "(($ac_try" in
12802 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12803 <  *) ac_try_echo=$ac_try;;
12804 < esac
12805 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12806 < $as_echo "$ac_try_echo") >&5
12807 <  (eval "$ac_compile") 2>conftest.er1
12808 <  ac_status=$?
12809 <  grep -v '^ *+' conftest.er1 >conftest.err
12810 <  rm -f conftest.er1
12811 <  cat conftest.err >&5
12812 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 <  (exit $ac_status); } && {
12814 <         test -z "$ac_c_werror_flag" ||
12815 <         test ! -s conftest.err
12816 <       } && test -s conftest.$ac_objext; then
12817 <  cat >conftest.$ac_ext <<_ACEOF
12818 < /* confdefs.h.  */
12819 < _ACEOF
12820 < cat confdefs.h >>conftest.$ac_ext
12821 < cat >>conftest.$ac_ext <<_ACEOF
12822 < /* end confdefs.h.  */
12823 < #if defined(HAVE_ARGZ_H)
12824 < #  include <argz.h>
12825 < #endif
12826 <
12827 < int
12828 < main ()
12829 < {
12830 < if (sizeof ((error_t)))
12831 <          return 0;
12832 <  ;
12833 <  return 0;
12834 < }
12835 < _ACEOF
12836 < rm -f conftest.$ac_objext
12837 < if { (ac_try="$ac_compile"
12838 < case "(($ac_try" in
12839 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12840 <  *) ac_try_echo=$ac_try;;
12841 < esac
12842 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12843 < $as_echo "$ac_try_echo") >&5
12844 <  (eval "$ac_compile") 2>conftest.er1
12845 <  ac_status=$?
12846 <  grep -v '^ *+' conftest.er1 >conftest.err
12847 <  rm -f conftest.er1
12848 <  cat conftest.err >&5
12849 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 <  (exit $ac_status); } && {
12851 <         test -z "$ac_c_werror_flag" ||
12852 <         test ! -s conftest.err
12853 <       } && test -s conftest.$ac_objext; then
12854 <  :
12855 < else
12856 <  $as_echo "$as_me: failed program was:" >&5
12857 < sed 's/^/| /' conftest.$ac_ext >&5
12858 <
12859 <        ac_cv_type_error_t=yes
12860 < fi
12861 <
12862 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12863 < else
12864 <  $as_echo "$as_me: failed program was:" >&5
12865 < sed 's/^/| /' conftest.$ac_ext >&5
12866 <
12867 <
12868 < fi
12869 <
12870 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12871 < fi
12872 < { $as_echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
12873 < $as_echo "$ac_cv_type_error_t" >&6; }
12874 < if test "x$ac_cv_type_error_t" = x""yes; then
11749 > "
11750 > if test "x$ac_cv_type_error_t" = x""yes; then :
11751  
11752   cat >>confdefs.h <<_ACEOF
11753   #define HAVE_ERROR_T 1
# Line 12880 | Line 11756 | _ACEOF
11756  
11757   else
11758  
11759 < cat >>confdefs.h <<\_ACEOF
12884 < #define error_t int
12885 < _ACEOF
11759 > $as_echo "#define error_t int" >>confdefs.h
11760  
11761  
11762 < cat >>confdefs.h <<\_ACEOF
12889 < #define __error_t_defined 1
12890 < _ACEOF
11762 > $as_echo "#define __error_t_defined 1" >>confdefs.h
11763  
11764   fi
11765  
11766  
11767   ARGZ_H=
12896 –
12897 –
12898 –
12899 –
12900 –
12901 –
12902 –
11768   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
11769          argz_next argz_stringify
11770 < do
11771 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11772 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11773 < $as_echo_n "checking for $ac_func... " >&6; }
11774 < 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
11770 > do :
11771 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11772 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11773 > eval as_val=\$$as_ac_var
11774 >   if test "x$as_val" = x""yes; then :
11775    cat >>confdefs.h <<_ACEOF
11776   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11777   _ACEOF
# Line 13007 | Line 11785 | fi
11785   done
11786  
11787  
11788 < if test -z "$ARGZ_H"; then
11789 <  { $as_echo "$as_me:$LINENO: checking if argz actually works" >&5
11788 > if test -z "$ARGZ_H"; then :
11789 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
11790   $as_echo_n "checking if argz actually works... " >&6; }
11791 < if test "${lt_cv_sys_argz_works+set}" = set; then
11791 > if test "${lt_cv_sys_argz_works+set}" = set; then :
11792    $as_echo_n "(cached) " >&6
11793   else
11794    case $host_os in #(
# Line 13039 | Line 11817 | else
11817           *) lt_cv_sys_argz_works=yes ;;
11818           esac
11819   fi
11820 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
11820 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
11821   $as_echo "$lt_cv_sys_argz_works" >&6; }
11822 <     if test $lt_cv_sys_argz_works = yes; then
11822 >     if test $lt_cv_sys_argz_works = yes; then :
11823  
11824 < cat >>confdefs.h <<\_ACEOF
13047 < #define HAVE_WORKING_ARGZ 1
13048 < _ACEOF
11824 > $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
11825  
11826   else
11827    ARGZ_H=argz.h
# Line 13054 | Line 11830 | else
11830    _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
11831  
11832   fi
13057 –
11833   fi
11834  
11835  
11836  
11837 <
13063 < { $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
11837 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
11838   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
11839 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then
11839 > if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
11840    $as_echo_n "(cached) " >&6
11841   else
11842    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 13072 | Line 11846 | else
11846    fi
11847  
11848   fi
11849 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
11849 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
11850   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
11851   if test x"$libltdl_cv_preloaded_symbols" = xyes; then
11852  
11853 < cat >>confdefs.h <<\_ACEOF
13080 < #define HAVE_PRELOADED_SYMBOLS 1
13081 < _ACEOF
11853 > $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
11854  
11855   fi
11856  
# Line 13098 | Line 11870 | fi
11870  
11871  
11872   # Check whether --with-included_ltdl was given.
11873 < if test "${with_included_ltdl+set}" = set; then
11873 > if test "${with_included_ltdl+set}" = set; then :
11874    withval=$with_included_ltdl;
11875   fi
11876  
# Line 13106 | Line 11878 | fi
11878   if test "x$with_included_ltdl" != xyes; then
11879    # We are not being forced to use the included libltdl sources, so
11880    # decide whether there is a useful installed version we can use.
11881 <  { $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
11881 >  ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
11882  
11883 <        ac_cv_header_ltdl_h=no
11884 < fi
11885 <
13151 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13152 < fi
13153 < { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
13154 < $as_echo "$ac_cv_header_ltdl_h" >&6; }
13155 < if test "x$ac_cv_header_ltdl_h" = x""yes; then
13156 <  { $as_echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
13157 < $as_echo_n "checking whether lt_dlinterface_register is declared... " >&6; }
13158 < if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
13159 <  $as_echo_n "(cached) " >&6
13160 < else
13161 <  cat >conftest.$ac_ext <<_ACEOF
13162 < /* confdefs.h.  */
13163 < _ACEOF
13164 < cat confdefs.h >>conftest.$ac_ext
13165 < cat >>conftest.$ac_ext <<_ACEOF
13166 < /* end confdefs.h.  */
13167 < $ac_includes_default
11883 > "
11884 > if test "x$ac_cv_header_ltdl_h" = x""yes; then :
11885 >  ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
11886              #include <ltdl.h>
11887 <
11888 < int
11889 < 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
11887 > "
11888 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
11889 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
11890   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
11891 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
11891 > if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
11892    $as_echo_n "(cached) " >&6
11893   else
11894    ac_check_lib_save_LIBS=$LIBS
11895   LIBS="-lltdl  $LIBS"
11896 < cat >conftest.$ac_ext <<_ACEOF
13220 < /* confdefs.h.  */
13221 < _ACEOF
13222 < cat confdefs.h >>conftest.$ac_ext
13223 < cat >>conftest.$ac_ext <<_ACEOF
11896 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897   /* end confdefs.h.  */
11898  
11899   /* Override any GCC internal prototype to avoid an error.
# Line 13238 | Line 11911 | return lt_dladvise_preload ();
11911    return 0;
11912   }
11913   _ACEOF
11914 < 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
11914 > if ac_fn_c_try_link "$LINENO"; then :
11915    ac_cv_lib_ltdl_lt_dladvise_preload=yes
11916   else
11917 <  $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
11917 >  ac_cv_lib_ltdl_lt_dladvise_preload=no
11918   fi
11919 <
11920 < rm -rf conftest.dSYM
13271 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13272 <      conftest$ac_exeext conftest.$ac_ext
11919 > rm -f core conftest.err conftest.$ac_objext \
11920 >    conftest$ac_exeext conftest.$ac_ext
11921   LIBS=$ac_check_lib_save_LIBS
11922   fi
11923 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
11923 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
11924   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
11925 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then
11925 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
11926    with_included_ltdl=no
11927   else
11928    with_included_ltdl=yes
# Line 13294 | Line 11942 | fi
11942  
11943  
11944  
13297 –
13298 –
13299 –
13300 –
13301 –
11945   # Check whether --with-ltdl_include was given.
11946 < if test "${with_ltdl_include+set}" = set; then
11946 > if test "${with_ltdl_include+set}" = set; then :
11947    withval=$with_ltdl_include;
11948   fi
11949  
# Line 13308 | Line 11951 | fi
11951   if test -n "$with_ltdl_include"; then
11952    if test -f "$with_ltdl_include/ltdl.h"; then :
11953    else
11954 <    { { $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; }; }
11954 >    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
11955    fi
11956   else
11957    with_ltdl_include=no
# Line 13318 | Line 11959 | fi
11959  
11960  
11961   # Check whether --with-ltdl_lib was given.
11962 < if test "${with_ltdl_lib+set}" = set; then
11962 > if test "${with_ltdl_lib+set}" = set; then :
11963    withval=$with_ltdl_lib;
11964   fi
11965  
# Line 13326 | Line 11967 | fi
11967   if test -n "$with_ltdl_lib"; then
11968    if test -f "$with_ltdl_lib/libltdl.la"; then :
11969    else
11970 <    { { $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; }; }
11970 >    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
11971    fi
11972   else
11973    with_ltdl_lib=no
# Line 13337 | Line 11976 | fi
11976   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
11977    ,yes,no,no,)
11978          case $enable_ltdl_convenience in
11979 <  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; }; } ;;
11979 >  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
11980    "") enable_ltdl_convenience=yes
11981        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
11982   esac
# Line 13360 | Line 11997 | INCLTDL="$LTDLINCL"
11997          # If the included ltdl is not to be used, then use the
11998          # preinstalled libltdl we found.
11999  
12000 < cat >>confdefs.h <<\_ACEOF
13364 < #define HAVE_LTDL 1
13365 < _ACEOF
12000 > $as_echo "#define HAVE_LTDL 1" >>confdefs.h
12001  
12002          LIBLTDL=-lltdl
12003          LTDLDEPS=
12004          LTDLINCL=
12005          ;;
12006    ,no*,no,*)
12007 <        { { $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; }; }
12007 >        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12008          ;;
12009    *)    with_included_ltdl=no
12010          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 13382 | Line 12015 | esac
12015   INCLTDL="$LTDLINCL"
12016  
12017   # Report our decision...
12018 < { $as_echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
12018 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
12019   $as_echo_n "checking where to find libltdl headers... " >&6; }
12020 < { $as_echo "$as_me:$LINENO: result: $LTDLINCL" >&5
12020 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
12021   $as_echo "$LTDLINCL" >&6; }
12022 < { $as_echo "$as_me:$LINENO: checking where to find libltdl library" >&5
12022 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
12023   $as_echo_n "checking where to find libltdl library... " >&6; }
12024 < { $as_echo "$as_me:$LINENO: result: $LIBLTDL" >&5
12024 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
12025   $as_echo "$LIBLTDL" >&6; }
12026  
12027  
12028  
12029   # Check whether --enable-ltdl-install was given.
12030 < if test "${enable_ltdl_install+set}" = set; then
12030 > if test "${enable_ltdl_install+set}" = set; then :
12031    enableval=$enable_ltdl_install;
12032   fi
12033  
# Line 13436 | Line 12069 | fi
12069  
12070  
12071  
13439 –
13440 –
13441 –
13442 –
13443 –
13444 –
12072   for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
12073 < do
12074 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12075 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12076 < $as_echo_n "checking for $ac_header... " >&6; }
12077 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12078 <  $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
12073 > do :
12074 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12075 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12076 > "
12077 > eval as_val=\$$as_ac_Header
12078 >   if test "x$as_val" = x""yes; then :
12079    cat >>confdefs.h <<_ACEOF
12080   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12081   _ACEOF
# Line 13504 | Line 12085 | fi
12085   done
12086  
12087  
13507 –
13508 –
13509 –
12088   for ac_func in closedir opendir readdir
12089 < do
12090 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12091 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12092 < $as_echo_n "checking for $ac_func... " >&6; }
12093 < if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
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
12089 > do :
12090 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12091 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12092 > eval as_val=\$$as_ac_var
12093 >   if test "x$as_val" = x""yes; then :
12094    cat >>confdefs.h <<_ACEOF
12095   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12096   _ACEOF
# Line 13612 | Line 12103 | else
12103   fi
12104   done
12105  
13615 –
13616 –
12106   for ac_func in strlcat strlcpy
12107 < do
12108 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12109 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12110 < $as_echo_n "checking for $ac_func... " >&6; }
12111 < 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
12107 > do :
12108 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12109 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12110 > eval as_val=\$$as_ac_var
12111 >   if test "x$as_val" = x""yes; then :
12112    cat >>confdefs.h <<_ACEOF
12113   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12114   _ACEOF
# Line 13741 | Line 12143 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
12143  
12144   LIBTOOL="$LIBTOOL --silent"
12145  
13744 –
12146   # Checks for libraries.
12147  
12148 <  { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
12148 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12149   $as_echo_n "checking for library containing socket... " >&6; }
12150 < if test "${ac_cv_search_socket+set}" = set; then
12150 > if test "${ac_cv_search_socket+set}" = set; then :
12151    $as_echo_n "(cached) " >&6
12152   else
12153    ac_func_search_save_LIBS=$LIBS
12154 < cat >conftest.$ac_ext <<_ACEOF
13754 < /* confdefs.h.  */
13755 < _ACEOF
13756 < cat confdefs.h >>conftest.$ac_ext
13757 < cat >>conftest.$ac_ext <<_ACEOF
12154 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155   /* end confdefs.h.  */
12156  
12157   /* Override any GCC internal prototype to avoid an error.
# Line 13779 | Line 12176 | for ac_lib in '' socket; do
12176      ac_res=-l$ac_lib
12177      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12178    fi
12179 <  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
12179 >  if ac_fn_c_try_link "$LINENO"; then :
12180    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 –
12181   fi
12182 <
12183 < rm -rf conftest.dSYM
12184 < 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
12182 > rm -f core conftest.err conftest.$ac_objext \
12183 >    conftest$ac_exeext
12184 >  if test "${ac_cv_search_socket+set}" = set; then :
12185    break
12186   fi
12187   done
12188 < if test "${ac_cv_search_socket+set}" = set; then
12189 <  :
12188 > if test "${ac_cv_search_socket+set}" = set; then :
12189 >
12190   else
12191    ac_cv_search_socket=no
12192   fi
12193   rm conftest.$ac_ext
12194   LIBS=$ac_func_search_save_LIBS
12195   fi
12196 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
12196 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12197   $as_echo "$ac_cv_search_socket" >&6; }
12198   ac_res=$ac_cv_search_socket
12199 < if test "$ac_res" != no; then
12199 > if test "$ac_res" != no; then :
12200    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12201  
12202   else
12203 <  { { $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"
12203 >  as_fn_error "socket library not found" "$LINENO" 5
12204   fi
12205  
12206 < rm -rf conftest.dSYM
12207 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12208 <      conftest$ac_exeext conftest.$ac_ext
12209 < fi
12210 < ac_res=`eval 'as_val=${'$as_ac_var'}
12211 <                 $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
12206 >  for ac_func in inet_aton inet_ntop inet_pton
12207 > do :
12208 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12209 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12210 > eval as_val=\$$as_ac_var
12211 >   if test "x$as_val" = x""yes; then :
12212    cat >>confdefs.h <<_ACEOF
12213   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12214   _ACEOF
# Line 13938 | Line 12216 | _ACEOF
12216   fi
12217   done
12218  
12219 <  { $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>
12219 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
12220     #include <sys/socket.h>
12221     #include <netdb.h>
12222  
12223 <
12224 < 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
12223 > "
12224 > if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
12225  
12226   cat >>confdefs.h <<_ACEOF
12227   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 14048 | Line 12229 | _ACEOF
12229  
12230  
12231   fi
12232 < { $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>
12232 > ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
12233     #include <sys/socket.h>
12234     #include <netdb.h>
12235  
12236 <
12237 < 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>
14102 <   #include <sys/socket.h>
14103 <   #include <netdb.h>
14104 <
14105 <
14106 < 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
12236 > "
12237 > if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
12238  
12239   cat >>confdefs.h <<_ACEOF
12240   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 14158 | Line 12242 | _ACEOF
12242  
12243  
12244   fi
12245 < { $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>
12245 > ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
12246     #include <sys/socket.h>
12247     #include <netdb.h>
12248  
12249 <
12250 < 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
12249 > "
12250 > if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
12251  
12252   cat >>confdefs.h <<_ACEOF
12253   #define HAVE_STRUCT_ADDRINFO 1
# Line 14269 | Line 12256 | _ACEOF
12256  
12257   fi
12258  
12259 <  { $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>
12259 >  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12260    <sys/socket.h>
12261 <
12262 < 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
12261 > "
12262 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12263  
12264   cat >>confdefs.h <<_ACEOF
12265   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 14379 | Line 12270 | fi
12270  
12271  
12272  
12273 <  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
12274 < $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
12273 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
12274 > if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
12275  
12276   cat >>confdefs.h <<_ACEOF
12277   #define HAVE_STRUCT_SOCKADDR_IN6 1
# Line 14482 | Line 12280 | _ACEOF
12280  
12281   else
12282  
12283 < cat >>confdefs.h <<\_ACEOF
14486 < #define IPV6 1
14487 < _ACEOF
12283 > $as_echo "#define IPV6 1" >>confdefs.h
12284  
12285   fi
12286  
12287  
12288  
14493 –
12289   # Checks for typedefs, structures, and compiler characteristics.
12290 < { $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
12290 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12291   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12292 < if test "${ac_cv_c_bigendian+set}" = set; then
12292 > if test "${ac_cv_c_bigendian+set}" = set; then :
12293    $as_echo_n "(cached) " >&6
12294   else
12295    ac_cv_c_bigendian=unknown
12296      # See if we're dealing with a universal compiler.
12297 <    cat >conftest.$ac_ext <<_ACEOF
14681 < /* confdefs.h.  */
14682 < _ACEOF
14683 < cat confdefs.h >>conftest.$ac_ext
14684 < cat >>conftest.$ac_ext <<_ACEOF
12297 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298   /* end confdefs.h.  */
12299   #ifndef __APPLE_CC__
12300                 not a universal capable compiler
# Line 14689 | Line 12302 | cat >>conftest.$ac_ext <<_ACEOF
12302               typedef int dummy;
12303  
12304   _ACEOF
12305 < 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
12305 > if ac_fn_c_try_compile "$LINENO"; then :
12306  
12307          # Check for potential -arch flags.  It is not universal unless
12308 <        # there are some -arch flags.  Note that *ppc* also matches
12309 <        # ppc64.  This check is also rather less than ideal.
12310 <        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
12311 <          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
12312 <        esac
12313 < else
12314 <  $as_echo "$as_me: failed program was:" >&5
12315 < sed 's/^/| /' conftest.$ac_ext >&5
12316 <
12317 <
12308 >        # there are at least two -arch flags with different values.
12309 >        ac_arch=
12310 >        ac_prev=
12311 >        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12312 >         if test -n "$ac_prev"; then
12313 >           case $ac_word in
12314 >             i?86 | x86_64 | ppc | ppc64)
12315 >               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12316 >                 ac_arch=$ac_word
12317 >               else
12318 >                 ac_cv_c_bigendian=universal
12319 >                 break
12320 >               fi
12321 >               ;;
12322 >           esac
12323 >           ac_prev=
12324 >         elif test "x$ac_word" = "x-arch"; then
12325 >           ac_prev=arch
12326 >         fi
12327 >       done
12328   fi
14723 –
12329   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12330      if test $ac_cv_c_bigendian = unknown; then
12331        # See if sys/param.h defines the BYTE_ORDER macro.
12332 <      cat >conftest.$ac_ext <<_ACEOF
14728 < /* confdefs.h.  */
14729 < _ACEOF
14730 < cat confdefs.h >>conftest.$ac_ext
14731 < cat >>conftest.$ac_ext <<_ACEOF
12332 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333   /* end confdefs.h.  */
12334   #include <sys/types.h>
12335               #include <sys/param.h>
# Line 14746 | Line 12347 | main ()
12347    return 0;
12348   }
12349   _ACEOF
12350 < 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
12350 > if ac_fn_c_try_compile "$LINENO"; then :
12351    # It does; now see whether it defined to BIG_ENDIAN or not.
12352 <         cat >conftest.$ac_ext <<_ACEOF
14769 < /* confdefs.h.  */
14770 < _ACEOF
14771 < cat confdefs.h >>conftest.$ac_ext
14772 < 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 14785 | Line 12365 | main ()
12365    return 0;
12366   }
12367   _ACEOF
12368 < 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
12368 > if ac_fn_c_try_compile "$LINENO"; then :
12369    ac_cv_c_bigendian=yes
12370   else
12371 <  $as_echo "$as_me: failed program was:" >&5
14809 < sed 's/^/| /' conftest.$ac_ext >&5
14810 <
14811 <        ac_cv_c_bigendian=no
12371 >  ac_cv_c_bigendian=no
12372   fi
14813 –
12373   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 –
12374   fi
14821 –
12375   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12376      fi
12377      if test $ac_cv_c_bigendian = unknown; then
12378        # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12379 <      cat >conftest.$ac_ext <<_ACEOF
14827 < /* confdefs.h.  */
14828 < _ACEOF
14829 < cat confdefs.h >>conftest.$ac_ext
14830 < cat >>conftest.$ac_ext <<_ACEOF
12379 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12380   /* end confdefs.h.  */
12381   #include <limits.h>
12382  
# Line 14842 | Line 12391 | main ()
12391    return 0;
12392   }
12393   _ACEOF
12394 < 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
12394 > if ac_fn_c_try_compile "$LINENO"; then :
12395    # It does; now see whether it defined to _BIG_ENDIAN or not.
12396 <         cat >conftest.$ac_ext <<_ACEOF
14865 < /* confdefs.h.  */
14866 < _ACEOF
14867 < cat confdefs.h >>conftest.$ac_ext
14868 < cat >>conftest.$ac_ext <<_ACEOF
12396 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397   /* end confdefs.h.  */
12398   #include <limits.h>
12399  
# Line 14880 | Line 12408 | main ()
12408    return 0;
12409   }
12410   _ACEOF
12411 < 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
12411 > if ac_fn_c_try_compile "$LINENO"; then :
12412    ac_cv_c_bigendian=yes
12413   else
12414 <  $as_echo "$as_me: failed program was:" >&5
14904 < sed 's/^/| /' conftest.$ac_ext >&5
14905 <
14906 <        ac_cv_c_bigendian=no
12414 >  ac_cv_c_bigendian=no
12415   fi
14908 –
12416   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 –
12417   fi
14916 –
12418   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12419      fi
12420      if test $ac_cv_c_bigendian = unknown; then
12421        # Compile a test program.
12422 <      if test "$cross_compiling" = yes; then
12422 >      if test "$cross_compiling" = yes; then :
12423    # Try to guess by grepping values from an object file.
12424 <         cat >conftest.$ac_ext <<_ACEOF
14924 < /* confdefs.h.  */
14925 < _ACEOF
14926 < cat confdefs.h >>conftest.$ac_ext
14927 < cat >>conftest.$ac_ext <<_ACEOF
12424 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425   /* end confdefs.h.  */
12426   short int ascii_mm[] =
12427                    { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
# Line 14950 | Line 12447 | return use_ascii (foo) == use_ebcdic (fo
12447    return 0;
12448   }
12449   _ACEOF
12450 < 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
12450 > if ac_fn_c_try_compile "$LINENO"; then :
12451    if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12452                ac_cv_c_bigendian=yes
12453              fi
# Line 14979 | Line 12459 | $as_echo "$ac_try_echo") >&5
12459                  ac_cv_c_bigendian=unknown
12460                fi
12461              fi
14982 – else
14983 –  $as_echo "$as_me: failed program was:" >&5
14984 – sed 's/^/| /' conftest.$ac_ext >&5
14985 –
14986 –
12462   fi
14988 –
12463   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12464   else
12465 <  cat >conftest.$ac_ext <<_ACEOF
14992 < /* confdefs.h.  */
14993 < _ACEOF
14994 < cat confdefs.h >>conftest.$ac_ext
14995 < cat >>conftest.$ac_ext <<_ACEOF
12465 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12466   /* end confdefs.h.  */
12467   $ac_includes_default
12468   int
# Line 15012 | Line 12482 | main ()
12482    return 0;
12483   }
12484   _ACEOF
12485 < 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
12485 > if ac_fn_c_try_run "$LINENO"; then :
12486    ac_cv_c_bigendian=no
12487   else
12488 <  $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
12488 >  ac_cv_c_bigendian=yes
12489   fi
12490 < rm -rf conftest.dSYM
12491 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12490 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12491 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
12492   fi
12493  
15050 –
12494      fi
12495   fi
12496 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12496 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12497   $as_echo "$ac_cv_c_bigendian" >&6; }
12498   case $ac_cv_c_bigendian in #(
12499     yes)
12500 <     cat >>confdefs.h <<\_ACEOF
15058 < #define WORDS_BIGENDIAN 1
15059 < _ACEOF
12500 >     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12501   ;; #(
12502     no)
12503        ;; #(
12504     universal)
12505  
12506 < cat >>confdefs.h <<\_ACEOF
15066 < #define AC_APPLE_UNIVERSAL_BUILD 1
15067 < _ACEOF
12506 > $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12507  
12508       ;; #(
12509     *)
12510 <     { { $as_echo "$as_me:$LINENO: error: unknown endianness
12511 < 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; }; } ;;
12510 >     as_fn_error "unknown endianness
12511 > presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12512   esac
12513  
12514  
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 –
12515   # Checks for library functions.
12516  
12517  
12518  
12519 <
12520 < for ac_func in $ac_func_list
12521 < do
12522 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12523 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12524 < $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
12519 >  for ac_func in $ac_func_list
12520 > do :
12521 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12522 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12523 > eval as_val=\$$as_ac_var
12524 >   if test "x$as_val" = x""yes; then :
12525    cat >>confdefs.h <<_ACEOF
12526   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12527   _ACEOF
# Line 16319 | Line 12541 | done
12541  
12542  
12543  
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 –
12544   # Checks for header files.
12545  
12546  
12547  
12548 <
12549 < for ac_header in $ac_header_list
12550 < do
12551 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12552 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12553 <  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12554 < $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
12548 >  for ac_header in $ac_header_list
12549 > do :
12550 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12551 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12552 > "
12553 > eval as_val=\$$as_ac_Header
12554 >   if test "x$as_val" = x""yes; then :
12555    cat >>confdefs.h <<_ACEOF
12556   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12557   _ACEOF
# Line 16528 | Line 12586 | done
12586  
12587  
12588  
12589 <
12590 <
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
12589 > # check for /dev/null so we can use it to hold evil fd's
12590 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12591   $as_echo_n "checking for /dev/null... " >&6; }
12592 < if test -c /dev/null ; then
12592 > if test -c /dev/null; then :
12593  
16570 – cat >>confdefs.h <<\_ACEOF
16571 – #define PATH_DEVNULL "/dev/null"
16572 – _ACEOF
12594  
12595 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
12595 > $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12596 >
12597 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12598   $as_echo "yes" >&6; }
12599   else
12600  
16578 – cat >>confdefs.h <<\_ACEOF
16579 – #define PATH_DEVNULL "devnull.log"
16580 – _ACEOF
12601  
12602 <  { $as_echo "$as_me:$LINENO: result: no - using devnull.log" >&5
12602 > $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12603 >
12604 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12605   $as_echo "no - using devnull.log" >&6; }
12606   fi
12607  
12608  
12609 < { $as_echo "$as_me:$LINENO: checking for library containing crypt" >&5
12609 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
12610   $as_echo_n "checking for library containing crypt... " >&6; }
12611 < if test "${ac_cv_search_crypt+set}" = set; then
12611 > if test "${ac_cv_search_crypt+set}" = set; then :
12612    $as_echo_n "(cached) " >&6
12613   else
12614    ac_func_search_save_LIBS=$LIBS
12615 < cat >conftest.$ac_ext <<_ACEOF
16594 < /* confdefs.h.  */
16595 < _ACEOF
16596 < cat confdefs.h >>conftest.$ac_ext
16597 < cat >>conftest.$ac_ext <<_ACEOF
12615 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616   /* end confdefs.h.  */
12617  
12618   /* Override any GCC internal prototype to avoid an error.
# Line 16612 | Line 12630 | return crypt ();
12630    return 0;
12631   }
12632   _ACEOF
12633 < for ac_lib in '' crypt descrypt; do
12633 > for ac_lib in '' crypt; do
12634    if test -z "$ac_lib"; then
12635      ac_res="none required"
12636    else
12637      ac_res=-l$ac_lib
12638      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12639    fi
12640 <  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
12640 >  if ac_fn_c_try_link "$LINENO"; then :
12641    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 –
12642   fi
12643 <
12644 < rm -rf conftest.dSYM
12645 < 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
12643 > rm -f core conftest.err conftest.$ac_objext \
12644 >    conftest$ac_exeext
12645 >  if test "${ac_cv_search_crypt+set}" = set; then :
12646    break
12647   fi
12648   done
12649 < if test "${ac_cv_search_crypt+set}" = set; then
12650 <  :
12649 > if test "${ac_cv_search_crypt+set}" = set; then :
12650 >
12651   else
12652    ac_cv_search_crypt=no
12653   fi
12654   rm conftest.$ac_ext
12655   LIBS=$ac_func_search_save_LIBS
12656   fi
12657 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
12657 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
12658   $as_echo "$ac_cv_search_crypt" >&6; }
12659   ac_res=$ac_cv_search_crypt
12660 < if test "$ac_res" != no; then
12660 > if test "$ac_res" != no; then :
12661    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12662  
12663   fi
12664  
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 –
12665  
12666  
12667  
12668   # Check whether --with-zlib-path was given.
12669 < if test "${with_zlib_path+set}" = set; then
12669 > if test "${with_zlib_path+set}" = set; then :
12670    withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12671   fi
12672  
12673  
12674   # Check whether --enable-zlib was given.
12675 < if test "${enable_zlib+set}" = set; then
12675 > if test "${enable_zlib+set}" = set; then :
12676    enableval=$enable_zlib; zlib=$enableval
12677   else
12678    zlib=yes
12679   fi
12680  
12681  
12682 < if test "$zlib" = yes; then
12683 <  if test "${ac_cv_header_zlib_h+set}" = set; then
12684 <  { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
12685 < $as_echo_n "checking for zlib.h... " >&6; }
12686 < if test "${ac_cv_header_zlib_h+set}" = set; then
12682 > if test "$zlib" = "yes"; then :
12683 >
12684 >  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12685 > if test "x$ac_cv_header_zlib_h" = x""yes; then :
12686 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12687 > $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12688 > if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12689    $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; }
12690   else
12691 <  # Is the header compilable?
12692 < { $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
12693 < $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
12691 >  ac_check_lib_save_LIBS=$LIBS
12692 > LIBS="-lz  $LIBS"
12693 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694   /* end confdefs.h.  */
12695 < $ac_includes_default
12696 < #include <zlib.h>
12695 >
12696 > /* Override any GCC internal prototype to avoid an error.
12697 >   Use char because int might match the return type of a GCC
12698 >   builtin and then its argument prototype would still apply.  */
12699 > #ifdef __cplusplus
12700 > extern "C"
12701 > #endif
12702 > char zlibVersion ();
12703 > int
12704 > main ()
12705 > {
12706 > return zlibVersion ();
12707 >  ;
12708 >  return 0;
12709 > }
12710   _ACEOF
12711 < rm -f conftest.$ac_objext
12712 < 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
12711 > if ac_fn_c_try_link "$LINENO"; then :
12712 >  ac_cv_lib_z_zlibVersion=yes
12713   else
12714 <  $as_echo "$as_me: failed program was:" >&5
12715 < sed 's/^/| /' conftest.$ac_ext >&5
12714 >  ac_cv_lib_z_zlibVersion=no
12715 > fi
12716 > rm -f core conftest.err conftest.$ac_objext \
12717 >    conftest$ac_exeext conftest.$ac_ext
12718 > LIBS=$ac_check_lib_save_LIBS
12719 > fi
12720 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12721 > $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12722 > if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12723 >
12724 >      LIBS="-lz $LIBS"
12725 >
12726 > $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12727  
12728 <        ac_header_compiler=no
12728 >
12729 > else
12730 >  zlib=no
12731   fi
12732  
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; }
12733  
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
12734   else
12735 <  $as_echo "$as_me: failed program was:" >&5
12736 < sed 's/^/| /' conftest.$ac_ext >&5
12735 >  zlib=no
12736 > fi
12737 >
12738 >
12739  
16784 –  ac_header_preproc=no
12740   fi
12741  
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; }
12742  
12743 < # So?  What about this header?
12744 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12745 <  yes:no: )
12746 <    { $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;}
12743 > # Check whether --with-libpcre-path was given.
12744 > if test "${with_libpcre_path+set}" = set; then :
12745 >  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12746 > fi
12747  
12748 <    ;;
12749 < esac
12750 < { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
12751 < $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
12748 >
12749 > # Check whether --enable-libpcre was given.
12750 > if test "${enable_libpcre+set}" = set; then :
12751 >  enableval=$enable_libpcre; libpcre=$enableval
12752   else
12753 <  ac_cv_header_zlib_h=$ac_header_preproc
12753 >  libpcre=yes
12754   fi
16823 – { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
16824 – $as_echo "$ac_cv_header_zlib_h" >&6; }
12755  
12756 < fi
12757 < if test "x$ac_cv_header_zlib_h" = x""yes; then
12758 <  { $as_echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5
12759 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12760 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
12756 >
12757 > if test "$libpcre" = "yes"; then :
12758 >
12759 >  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12760 > if test "x$ac_cv_header_pcre_h" = x""yes; then :
12761 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12762 > $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12763 > if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12764    $as_echo_n "(cached) " >&6
12765   else
12766    ac_check_lib_save_LIBS=$LIBS
12767 < LIBS="-lz  $LIBS"
12768 < cat >conftest.$ac_ext <<_ACEOF
16836 < /* confdefs.h.  */
16837 < _ACEOF
16838 < cat confdefs.h >>conftest.$ac_ext
16839 < cat >>conftest.$ac_ext <<_ACEOF
12767 > LIBS="-lpcre  $LIBS"
12768 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12769   /* end confdefs.h.  */
12770  
12771   /* Override any GCC internal prototype to avoid an error.
# Line 16845 | Line 12774 | cat >>conftest.$ac_ext <<_ACEOF
12774   #ifdef __cplusplus
12775   extern "C"
12776   #endif
12777 < char zlibVersion ();
12777 > char pcre_study ();
12778   int
12779   main ()
12780   {
12781 < return zlibVersion ();
12781 > return pcre_study ();
12782    ;
12783    return 0;
12784   }
12785   _ACEOF
12786 < rm -f conftest.$ac_objext conftest$ac_exeext
12787 < 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
12786 > if ac_fn_c_try_link "$LINENO"; then :
12787 >  ac_cv_lib_pcre_pcre_study=yes
12788   else
12789 <  $as_echo "$as_me: failed program was:" >&5
16881 < sed 's/^/| /' conftest.$ac_ext >&5
16882 <
16883 <        ac_cv_lib_z_zlibVersion=no
12789 >  ac_cv_lib_pcre_pcre_study=no
12790   fi
12791 <
12792 < rm -rf conftest.dSYM
16887 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16888 <      conftest$ac_exeext conftest.$ac_ext
12791 > rm -f core conftest.err conftest.$ac_objext \
12792 >    conftest$ac_exeext conftest.$ac_ext
12793   LIBS=$ac_check_lib_save_LIBS
12794   fi
12795 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
12796 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12797 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then
12795 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
12796 > $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12797 > if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12798  
12799 <      LIBS="-lz $LIBS"
12799 >      LIBS="-lpcre $LIBS"
12800  
12801 < cat >>confdefs.h <<\_ACEOF
16898 < #define HAVE_LIBZ 1
16899 < _ACEOF
12801 > $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12802  
12803  
12804   else
12805 <  zlib=no
12805 >  libpcre=no
12806   fi
12807  
12808  
12809   else
12810 <  zlib=no
12810 >  libpcre=no
12811   fi
12812  
12813  
12814 +
12815   fi
12816 + if test "$libpcre" = yes; then
12817 +  ENABLE_PCRE_TRUE=
12818 +  ENABLE_PCRE_FALSE='#'
12819 + else
12820 +  ENABLE_PCRE_TRUE='#'
12821 +  ENABLE_PCRE_FALSE=
12822 + fi
12823 +
12824  
12825  
12826   # Check whether --enable-openssl was given.
12827 < if test "${enable_openssl+set}" = set; then
12827 > if test "${enable_openssl+set}" = set; then :
12828    enableval=$enable_openssl;  cf_enable_openssl=$enableval
12829   else
12830     cf_enable_openssl="auto"
12831   fi
12832  
12833 < { $as_echo "$as_me:$LINENO: checking for OpenSSL" >&5
12833 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
12834   $as_echo_n "checking for OpenSSL... " >&6; }
12835   if test "$cf_enable_openssl" != "no"; then
12836    cf_openssl_basedir=""
# Line 16952 | Line 12863 | if test "$cf_enable_openssl" != "no"; th
12863  
12864        if test ! -z "$cf_openssl_basedir"; then
12865      LIBS="-lcrypto -lssl $LIBS"
12866 <    { $as_echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5
12866 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
12867   $as_echo "$cf_openssl_basedir" >&6; }
12868      cf_enable_openssl="yes"
12869  
12870 < cat >>confdefs.h <<\_ACEOF
16960 < #define HAVE_LIBCRYPTO 1
16961 < _ACEOF
12870 > $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12871  
12872    else
12873 <    { $as_echo "$as_me:$LINENO: result: not found.  Please check your path." >&5
12874 < $as_echo "not found.  Please check your path." >&6; }
12873 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
12874 > $as_echo "not found. Please check your path." >&6; }
12875      cf_enable_openssl="no"
12876    fi
12877    unset cf_openssl_basedir
12878   else
12879 <    { $as_echo "$as_me:$LINENO: result: disabled" >&5
12879 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12880   $as_echo "disabled" >&6; }
12881   fi
12882 +
12883 + if test "$cf_enable_openssl" != "no"; then :
12884 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
12885 + $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
12886 +  if test "$cross_compiling" = yes; then :
12887 +  cf_openssl_version_ok=no
12888 + else
12889 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 + /* end confdefs.h.  */
12891 +
12892 +    #include <openssl/opensslv.h>
12893 +    #include <stdlib.h>
12894 + int
12895 + main ()
12896 + {
12897 + exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
12898 +  ;
12899 +  return 0;
12900 + }
12901 + _ACEOF
12902 + if ac_fn_c_try_run "$LINENO"; then :
12903 +  cf_openssl_version_ok=yes
12904 + else
12905 +  cf_openssl_version_ok=no
12906 + fi
12907 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12908 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
12909 + fi
12910 +
12911 +
12912 +  if test "$cf_openssl_version_ok" = "yes"; then :
12913 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12914 + $as_echo "found" >&6; }
12915 +
12916 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
12917 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
12918 + if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
12919 +  $as_echo_n "(cached) " >&6
12920 + else
12921 +  ac_check_lib_save_LIBS=$LIBS
12922 + LIBS="-lcrypto  $LIBS"
12923 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12924 + /* end confdefs.h.  */
12925 +
12926 + /* Override any GCC internal prototype to avoid an error.
12927 +   Use char because int might match the return type of a GCC
12928 +   builtin and then its argument prototype would still apply.  */
12929 + #ifdef __cplusplus
12930 + extern "C"
12931 + #endif
12932 + char RSA_free ();
12933 + int
12934 + main ()
12935 + {
12936 + return RSA_free ();
12937 +  ;
12938 +  return 0;
12939 + }
12940 + _ACEOF
12941 + if ac_fn_c_try_link "$LINENO"; then :
12942 +  ac_cv_lib_crypto_RSA_free=yes
12943 + else
12944 +  ac_cv_lib_crypto_RSA_free=no
12945 + fi
12946 + rm -f core conftest.err conftest.$ac_objext \
12947 +    conftest$ac_exeext conftest.$ac_ext
12948 + LIBS=$ac_check_lib_save_LIBS
12949 + fi
12950 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
12951 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
12952 + if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
12953 +  cat >>confdefs.h <<_ACEOF
12954 + #define HAVE_LIBCRYPTO 1
12955 + _ACEOF
12956 +
12957 +  LIBS="-lcrypto $LIBS"
12958 +
12959 + fi
12960 +
12961 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12962 +  for ac_func in EVP_bf_cfb           \
12963 +                      EVP_cast5_cfb        \
12964 +                      EVP_idea_cfb         \
12965 +                      EVP_rc5_32_12_16_cfb \
12966 +                      EVP_des_ede3_cfb     \
12967 +                      EVP_des_cfb
12968 + do :
12969 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12970 + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12971 + eval as_val=\$$as_ac_var
12972 +   if test "x$as_val" = x""yes; then :
12973 +  cat >>confdefs.h <<_ACEOF
12974 + #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12975 + _ACEOF
12976 +
12977 + fi
12978 + done
12979 +
12980 + fi
12981 +
12982 + else
12983 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
12984 + $as_echo "no - OpenSSL support disabled" >&6; }
12985 +    cf_enable_openssl="no"
12986 + fi
12987 + fi
12988 +
12989   if test "$cf_enable_openssl" = yes; then
12990    ENABLE_SSL_TRUE=
12991    ENABLE_SSL_FALSE='#'
# Line 16981 | Line 12997 | fi
12997  
12998  
12999   # Check whether --enable-assert was given.
13000 < if test "${enable_assert+set}" = set; then
13000 > if test "${enable_assert+set}" = set; then :
13001    enableval=$enable_assert; assert=$enableval
13002   else
13003    assert=no
13004   fi
13005  
16990 – if test "$assert" = no; then
13006  
13007 < cat >>confdefs.h <<\_ACEOF
13008 < #define NDEBUG 1
13009 < _ACEOF
13007 > if test "$assert" = "no"; then :
13008 >
13009 > $as_echo "#define NDEBUG 1" >>confdefs.h
13010  
13011   fi
13012  
13013  
13014   # Check whether --enable-small-net was given.
13015 < if test "${enable_small_net+set}" = set; then
13015 > if test "${enable_small_net+set}" = set; then :
13016    enableval=$enable_small_net; small_net=$enableval
13017   else
13018    small_net=no
13019   fi
13020  
13021  
13022 < if test "$small_net" = yes; then
13022 > if test "$small_net" = "yes"; then :
13023  
17009 – cat >>confdefs.h <<\_ACEOF
17010 – #define NICKNAMEHISTORYLENGTH 1500
17011 – _ACEOF
13024  
13025 + $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13026  
17014 – cat >>confdefs.h <<\_ACEOF
17015 – #define CHANNEL_HEAP_SIZE 256
17016 – _ACEOF
13027  
13028 + $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13029  
17019 – cat >>confdefs.h <<\_ACEOF
17020 – #define BAN_HEAP_SIZE 128
17021 – _ACEOF
13030  
13031 + $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13032  
17024 – cat >>confdefs.h <<\_ACEOF
17025 – #define CLIENT_HEAP_SIZE 256
17026 – _ACEOF
13033  
13034 + $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13035  
17029 – cat >>confdefs.h <<\_ACEOF
17030 – #define LCLIENT_HEAP_SIZE 128
17031 – _ACEOF
13036  
13037 + $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13038  
17034 – cat >>confdefs.h <<\_ACEOF
17035 – #define DNODE_HEAP_SIZE 256
17036 – _ACEOF
13039  
13040 + $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13041  
17039 – cat >>confdefs.h <<\_ACEOF
17040 – #define TOPIC_HEAP_SIZE 256
17041 – _ACEOF
13042  
13043 + $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13044  
13045 < cat >>confdefs.h <<\_ACEOF
13046 < #define DBUF_HEAP_SIZE 64
13047 < _ACEOF
13045 >
13046 > $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13047 >
13048 >
13049 > $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13050 >
13051 >
13052 > $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13053  
13054   else
13055  
17050 – cat >>confdefs.h <<\_ACEOF
17051 – #define NICKNAMEHISTORYLENGTH 15000
17052 – _ACEOF
13056  
13057  
13058 < cat >>confdefs.h <<\_ACEOF
17056 < #define CHANNEL_HEAP_SIZE 1024
17057 < _ACEOF
13058 > $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13059  
13060  
13061 < cat >>confdefs.h <<\_ACEOF
17061 < #define BAN_HEAP_SIZE 1024
17062 < _ACEOF
13061 > $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13062  
13063  
13064 < cat >>confdefs.h <<\_ACEOF
17066 < #define CLIENT_HEAP_SIZE 1024
17067 < _ACEOF
13064 > $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13065  
13066  
13067 < cat >>confdefs.h <<\_ACEOF
17071 < #define LCLIENT_HEAP_SIZE 512
17072 < _ACEOF
13067 > $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13068  
13069  
13070 < cat >>confdefs.h <<\_ACEOF
17076 < #define DNODE_HEAP_SIZE 1024
17077 < _ACEOF
13070 > $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13071  
13072  
13073 < cat >>confdefs.h <<\_ACEOF
17081 < #define TOPIC_HEAP_SIZE 1024
17082 < _ACEOF
13073 > $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13074  
13075  
13076 < cat >>confdefs.h <<\_ACEOF
13077 < #define DBUF_HEAP_SIZE 512
13078 < _ACEOF
13076 > $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13077 >
13078 >
13079 > $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13080 >
13081 >
13082 > $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13083 >
13084 >
13085 > $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13086  
13087   fi
13088  
# Line 17093 | Line 13091 | fi
13091  
13092      desired_iopoll_mechanism="none"
13093      # Check whether --enable-kqueue was given.
13094 < if test "${enable_kqueue+set}" = set; then
13094 > if test "${enable_kqueue+set}" = set; then :
13095    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
13096   fi
13097  
13098    # Check whether --enable-epoll was given.
13099 < if test "${enable_epoll+set}" = set; then
13099 > if test "${enable_epoll+set}" = set; then :
13100    enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
13101   fi
13102  
13103    # Check whether --enable-devpoll was given.
13104 < if test "${enable_devpoll+set}" = set; then
13104 > if test "${enable_devpoll+set}" = set; then :
13105    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13106   fi
13107  
13108    # Check whether --enable-rtsigio was given.
13109 < if test "${enable_rtsigio+set}" = set; then
13109 > if test "${enable_rtsigio+set}" = set; then :
13110    enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13111   fi
13112  
13113    # Check whether --enable-poll was given.
13114 < if test "${enable_poll+set}" = set; then
13114 > if test "${enable_poll+set}" = set; then :
13115    enableval=$enable_poll; desired_iopoll_mechanism="poll"
13116   fi
13117  
13118    # Check whether --enable-select was given.
13119 < if test "${enable_select+set}" = set; then
13119 > if test "${enable_select+set}" = set; then :
13120    enableval=$enable_select; desired_iopoll_mechanism="select"
13121   fi
13122  
13123 <      { $as_echo "$as_me:$LINENO: checking for optimal/desired iopoll mechanism" >&5
13123 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13124   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13125    iopoll_mechanism_none=0
13126  
# Line 17136 | Line 13134 | cat >>confdefs.h <<_ACEOF
13134   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
13135   _ACEOF
13136  
13137 <  cat >conftest.$ac_ext <<_ACEOF
17140 < /* confdefs.h.  */
17141 < _ACEOF
17142 < cat confdefs.h >>conftest.$ac_ext
17143 < cat >>conftest.$ac_ext <<_ACEOF
13137 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13138   /* end confdefs.h.  */
13139   /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
13140     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17181 | Line 13175 | return kevent ();
13175    return 0;
13176   }
13177   _ACEOF
13178 < 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
13178 > if ac_fn_c_try_link "$LINENO"; then :
13179    is_kqueue_mechanism_available="yes"
13180   else
13181 <  $as_echo "$as_me: failed program was:" >&5
17208 < sed 's/^/| /' conftest.$ac_ext >&5
17209 <
17210 <        is_kqueue_mechanism_available="no"
13181 >  is_kqueue_mechanism_available="no"
13182   fi
13183 <
13184 < rm -rf conftest.dSYM
17214 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17215 <      conftest$ac_exeext conftest.$ac_ext
13183 > rm -f core conftest.err conftest.$ac_objext \
13184 >    conftest$ac_exeext conftest.$ac_ext
13185        iopoll_mechanism_epoll=2
13186  
13187   cat >>confdefs.h <<_ACEOF
13188   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
13189   _ACEOF
13190  
13191 <  if test "$cross_compiling" = yes; then
13192 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13191 >  if test "$cross_compiling" = yes; then :
13192 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13193   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13194 < { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13195 < 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; }; }; }
13194 > as_fn_error "cannot run test program while cross compiling
13195 > See \`config.log' for more details." "$LINENO" 5; }
13196   else
13197 <  cat >conftest.$ac_ext <<_ACEOF
13197 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13198 > /* end confdefs.h.  */
13199  
13200   #include <sys/epoll.h>
13201   #include <sys/syscall.h>
# Line 17261 | Line 13228 | _syscall1(int, epoll_create, int, size)
13228   main() { return epoll_create(256) == -1 ? 1 : 0; }
13229  
13230   _ACEOF
13231 < 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
13231 > if ac_fn_c_try_run "$LINENO"; then :
13232    is_epoll_mechanism_available="yes"
13233   else
13234 <  $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"
13234 >  is_epoll_mechanism_available="no"
13235   fi
13236 < rm -rf conftest.dSYM
13237 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13236 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13237 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13238   fi
13239  
17299 –
13240        iopoll_mechanism_devpoll=3
13241  
13242   cat >>confdefs.h <<_ACEOF
13243   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
13244   _ACEOF
13245  
13246 <  cat >conftest.$ac_ext <<_ACEOF
17307 < /* confdefs.h.  */
17308 < _ACEOF
17309 < cat confdefs.h >>conftest.$ac_ext
17310 < cat >>conftest.$ac_ext <<_ACEOF
13246 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13247   /* end confdefs.h.  */
13248   #include <devpoll.h>
13249   int
# Line 17318 | Line 13254 | main ()
13254    return 0;
13255   }
13256   _ACEOF
13257 < 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
13257 > if ac_fn_c_try_compile "$LINENO"; then :
13258    is_devpoll_mechanism_available="yes"
13259   else
13260 <  $as_echo "$as_me: failed program was:" >&5
17342 < sed 's/^/| /' conftest.$ac_ext >&5
17343 <
17344 <        is_devpoll_mechanism_available="no"
13260 >  is_devpoll_mechanism_available="no"
13261   fi
17346 –
13262   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13263    if test "$is_devpoll_mechanism_available" = "yes" ; then
13264  
13265 < cat >>confdefs.h <<\_ACEOF
17351 < #define HAVE_DEVPOLL_H 1
17352 < _ACEOF
13265 > $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
13266  
13267    fi
13268 <  cat >conftest.$ac_ext <<_ACEOF
17356 < /* confdefs.h.  */
17357 < _ACEOF
17358 < cat confdefs.h >>conftest.$ac_ext
17359 < cat >>conftest.$ac_ext <<_ACEOF
13268 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269   /* end confdefs.h.  */
13270   #include <sys/devpoll.h>
13271   int
# Line 17367 | Line 13276 | main ()
13276    return 0;
13277   }
13278   _ACEOF
13279 < 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
13279 > if ac_fn_c_try_compile "$LINENO"; then :
13280    is_devpoll_mechanism_available="yes"
13281   else
13282 <  $as_echo "$as_me: failed program was:" >&5
17391 < sed 's/^/| /' conftest.$ac_ext >&5
17392 <
17393 <        is_devpoll_mechanism_available="no"
13282 >  is_devpoll_mechanism_available="no"
13283   fi
17395 –
13284   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13285    if test "$is_devpoll_mechanism_available" = "yes" ; then
13286  
13287 < cat >>confdefs.h <<\_ACEOF
17400 < #define HAVE_SYS_DEVPOLL_H 1
17401 < _ACEOF
13287 > $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
13288  
13289    fi
13290        iopoll_mechanism_rtsigio=4
# Line 17407 | Line 13293 | cat >>confdefs.h <<_ACEOF
13293   #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13294   _ACEOF
13295  
13296 <  if test "$cross_compiling" = yes; then
13297 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13296 >  if test "$cross_compiling" = yes; then :
13297 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13298   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13299 < { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13300 < 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; }; }; }
13299 > as_fn_error "cannot run test program while cross compiling
13300 > See \`config.log' for more details." "$LINENO" 5; }
13301   else
13302 <  cat >conftest.$ac_ext <<_ACEOF
17420 < /* confdefs.h.  */
17421 < _ACEOF
17422 < cat confdefs.h >>conftest.$ac_ext
17423 < cat >>conftest.$ac_ext <<_ACEOF
13302 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13303   /* end confdefs.h.  */
13304  
13305   #include <fcntl.h>
# Line 17438 | Line 13317 | main ()
13317    return 0;
13318   }
13319   _ACEOF
13320 < 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
13320 > if ac_fn_c_try_run "$LINENO"; then :
13321    is_rtsigio_mechanism_available="yes"
13322   else
13323 <  $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"
13323 >  is_rtsigio_mechanism_available="no"
13324   fi
13325 < rm -rf conftest.dSYM
13326 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13325 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13326 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13327   fi
13328  
17476 –
13329        iopoll_mechanism_poll=5
13330  
13331   cat >>confdefs.h <<_ACEOF
13332   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
13333   _ACEOF
13334  
13335 <  cat >conftest.$ac_ext <<_ACEOF
17484 < /* confdefs.h.  */
17485 < _ACEOF
17486 < cat confdefs.h >>conftest.$ac_ext
17487 < cat >>conftest.$ac_ext <<_ACEOF
13335 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336   /* end confdefs.h.  */
13337   /* Define poll to an innocuous variant, in case <limits.h> declares poll.
13338     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17525 | Line 13373 | return poll ();
13373    return 0;
13374   }
13375   _ACEOF
13376 < 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
13376 > if ac_fn_c_try_link "$LINENO"; then :
13377    is_poll_mechanism_available="yes"
13378   else
13379 <  $as_echo "$as_me: failed program was:" >&5
17552 < sed 's/^/| /' conftest.$ac_ext >&5
17553 <
17554 <        is_poll_mechanism_available="no"
13379 >  is_poll_mechanism_available="no"
13380   fi
13381 <
13382 < rm -rf conftest.dSYM
17558 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17559 <      conftest$ac_exeext conftest.$ac_ext
13381 > rm -f core conftest.err conftest.$ac_objext \
13382 >    conftest$ac_exeext conftest.$ac_ext
13383        iopoll_mechanism_select=6
13384  
13385   cat >>confdefs.h <<_ACEOF
13386   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
13387   _ACEOF
13388  
13389 <  cat >conftest.$ac_ext <<_ACEOF
17567 < /* confdefs.h.  */
17568 < _ACEOF
17569 < cat confdefs.h >>conftest.$ac_ext
17570 < cat >>conftest.$ac_ext <<_ACEOF
13389 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13390   /* end confdefs.h.  */
13391   /* Define select to an innocuous variant, in case <limits.h> declares select.
13392     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17608 | Line 13427 | return select ();
13427    return 0;
13428   }
13429   _ACEOF
13430 < 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
13430 > if ac_fn_c_try_link "$LINENO"; then :
13431    is_select_mechanism_available="yes"
13432   else
13433 <  $as_echo "$as_me: failed program was:" >&5
17635 < sed 's/^/| /' conftest.$ac_ext >&5
17636 <
17637 <        is_select_mechanism_available="no"
13433 >  is_select_mechanism_available="no"
13434   fi
13435 <
13436 < rm -rf conftest.dSYM
17641 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17642 <      conftest$ac_exeext conftest.$ac_ext
13435 > rm -f core conftest.err conftest.$ac_objext \
13436 >    conftest$ac_exeext conftest.$ac_ext
13437        optimal_iopoll_mechanism="none"
13438    for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
13439      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
# Line 17650 | Line 13444 | rm -f core conftest.err conftest.$ac_obj
13444    done
13445        if test "$desired_iopoll_mechanism" = "none" ; then
13446      if test "$optimal_iopoll_mechanism" = "none" ; then
13447 <      { $as_echo "$as_me:$LINENO: result: none" >&5
13447 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13448   $as_echo "none" >&6; }
13449 <      { { $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; }; }
13449 >      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
13450      else
13451        selected_iopoll_mechanism=$optimal_iopoll_mechanism
13452 <      { $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5
13452 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13453   $as_echo "$selected_iopoll_mechanism" >&6; }
13454      fi
13455    else
13456      eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
13457      if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
13458        selected_iopoll_mechanism=$desired_iopoll_mechanism
13459 <      { $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5
13459 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13460   $as_echo "$selected_iopoll_mechanism" >&6; }
13461      else
13462 <      { $as_echo "$as_me:$LINENO: result: none" >&5
13462 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13463   $as_echo "none" >&6; }
13464 <      { { $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; }; }
13464 >      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
13465      fi
13466    fi
13467        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 17684 | Line 13474 | _ACEOF
13474  
13475  
13476   # Check whether --with-nicklen was given.
13477 < if test "${with_nicklen+set}" = set; then
13477 > if test "${with_nicklen+set}" = set; then :
13478    withval=$with_nicklen; nicklen="$withval"
13479   else
13480    nicklen="9"
# Line 17699 | Line 13489 | _ACEOF
13489  
13490  
13491   # Check whether --with-topiclen was given.
13492 < if test "${with_topiclen+set}" = set; then
13492 > if test "${with_topiclen+set}" = set; then :
13493    withval=$with_topiclen; topiclen="$withval"
13494   else
13495    topiclen="160"
# Line 17707 | Line 13497 | fi
13497  
13498  
13499   cat >>confdefs.h <<_ACEOF
13500 < #define TOPICLEN ($topiclen+1)
13500 > #define TOPICLEN ($topiclen)
13501   _ACEOF
13502  
13503  
13504  
13505  
13506   # Check whether --with-syslog-facility was given.
13507 < if test "${with_syslog_facility+set}" = set; then
13507 > if test "${with_syslog_facility+set}" = set; then :
13508    withval=$with_syslog_facility; syslog_facility="$withval"
13509   else
13510    syslog_facility="LOG_LOCAL4"
# Line 17728 | Line 13518 | _ACEOF
13518  
13519  
13520    # Check whether --enable-efnet was given.
13521 < if test "${enable_efnet+set}" = set; then
13521 > if test "${enable_efnet+set}" = set; then :
13522    enableval=$enable_efnet; efnet="$enableval"
13523   else
13524    efnet="no"
# Line 17737 | Line 13527 | fi
13527    if test "$efnet" = "yes" ; then
13528                  use_efnet="yes"
13529  
13530 < cat >>confdefs.h <<\_ACEOF
17741 < #define EFNET 1
17742 < _ACEOF
13530 > $as_echo "#define EFNET 1" >>confdefs.h
13531  
13532  
13533 < cat >>confdefs.h <<\_ACEOF
17746 < #define TS5_ONLY 1
17747 < _ACEOF
13533 > $as_echo "#define TS5_ONLY 1" >>confdefs.h
13534  
13535          else
17750 –
17751 – cat >>confdefs.h <<\_ACEOF
17752 – #define INVARIANTS 1
17753 – _ACEOF
17754 –
13536                  use_efnet="no"
13537    fi
13538     if test "$use_efnet" = "yes"; then
# Line 17765 | Line 13546 | fi
13546  
13547  
13548    # Check whether --enable-halfops was given.
13549 < if test "${enable_halfops+set}" = set; then
13549 > if test "${enable_halfops+set}" = set; then :
13550    enableval=$enable_halfops; halfops="$enableval"
13551   else
13552    halfops="no"
# Line 17773 | Line 13554 | fi
13554  
13555    if test "$halfops" = "yes" ; then
13556  
13557 < cat >>confdefs.h <<\_ACEOF
17777 < #define HALFOPS 1
17778 < _ACEOF
13557 > $as_echo "#define HALFOPS 1" >>confdefs.h
13558  
13559    fi
13560  
13561  
13562    # Check whether --enable-debugging was given.
13563 < if test "${enable_debugging+set}" = set; then
13563 > if test "${enable_debugging+set}" = set; then :
13564    enableval=$enable_debugging; debugging="$enableval"
13565   else
13566    debugging="no"
# Line 17789 | Line 13568 | fi
13568  
13569    if test "$debugging" = "yes" ; then
13570  
13571 < cat >>confdefs.h <<\_ACEOF
17793 < #define DEBUG 1
17794 < _ACEOF
13571 > $as_echo "#define DEBUG 1" >>confdefs.h
13572  
13573 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13573 >    CFLAGS="-Wall -g -O0"
13574    else
13575  
13576 < cat >>confdefs.h <<\_ACEOF
17800 < #define NDEBUG 1
17801 < _ACEOF
13576 > $as_echo "#define NDEBUG 1" >>confdefs.h
13577  
13578    fi
13579  
13580  
13581    # Check whether --enable-warnings was given.
13582 < if test "${enable_warnings+set}" = set; then
13582 > if test "${enable_warnings+set}" = set; then :
13583    enableval=$enable_warnings; warnings="$enableval"
13584   else
13585    warnings="no"
13586   fi
13587  
13588    if test "$warnings" = "yes" ; then
13589 <    CFLAGS="-Wall -Wextra -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
13589 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
13590    fi
13591  
13592  
13593 <
13594 <
13595 < for ac_header in syslog.h sys/syslog.h
13596 < do
13597 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13598 < 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
13593 >  for ac_header in syslog.h sys/syslog.h
13594 > do :
13595 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13596 > ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13597 > eval as_val=\$$as_ac_Header
13598 >   if test "x$as_val" = x""yes; then :
13599    cat >>confdefs.h <<_ACEOF
13600   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13601   _ACEOF
# Line 17963 | Line 13605 | fi
13605   done
13606  
13607    # Check whether --enable-syslog was given.
13608 < if test "${enable_syslog+set}" = set; then
13608 > if test "${enable_syslog+set}" = set; then :
13609    enableval=$enable_syslog; syslog="$enableval"
13610   else
13611    syslog="no"
# Line 17973 | Line 13615 | fi
13615      for option in $enableval ; do
13616        case "$option" in
13617          users)
13618 < cat >>confdefs.h <<\_ACEOF
17977 < #define SYSLOG_USERS 1
17978 < _ACEOF
13618 > $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13619   ;;
13620          oper)
13621 < cat >>confdefs.h <<\_ACEOF
17982 < #define SYSLOG_OPER 1
17983 < _ACEOF
13621 > $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13622   ;;
13623          yes) : ;;
13624 <        *) { { $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; }; } ;;
13624 >        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13625        esac
13626      done
13627  
13628 < cat >>confdefs.h <<\_ACEOF
17993 < #define USE_SYSLOG 1
17994 < _ACEOF
13628 > $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13629  
13630    fi
13631  
# Line 18082 | Line 13716 | _ACEOF
13716    test "$exec_prefix_NONE" && exec_prefix=NONE
13717  
13718  
13719 < 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"
13719 > ac_config_files="$ac_config_files Makefile etc/Makefile 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"
13720  
13721  
13722   cat >confcache <<\_ACEOF
# Line 18112 | Line 13746 | _ACEOF
13746      case $ac_val in #(
13747      *${as_nl}*)
13748        case $ac_var in #(
13749 <      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13749 >      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13750   $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13751        esac
13752        case $ac_var in #(
13753        _ | IFS | as_nl) ;; #(
13754        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13755 <      *) $as_unset $ac_var ;;
13755 >      *) { eval $ac_var=; unset $ac_var;} ;;
13756        esac ;;
13757      esac
13758    done
# Line 18126 | Line 13760 | $as_echo "$as_me: WARNING: cache variabl
13760    (set) 2>&1 |
13761      case $as_nl`(ac_space=' '; set) 2>&1` in #(
13762      *${as_nl}ac_space=\ *)
13763 <      # `set' does not quote correctly, so add quotes (double-quote
13764 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
13763 >      # `set' does not quote correctly, so add quotes: double-quote
13764 >      # substitution turns \\\\ into \\, and sed turns \\ into \.
13765        sed -n \
13766          "s/'/'\\\\''/g;
13767            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
# Line 18150 | Line 13784 | $as_echo "$as_me: WARNING: cache variabl
13784   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13785    if test -w "$cache_file"; then
13786      test "x$cache_file" != "x/dev/null" &&
13787 <      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13787 >      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13788   $as_echo "$as_me: updating cache $cache_file" >&6;}
13789      cat confcache >$cache_file
13790    else
13791 <    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13791 >    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13792   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13793    fi
13794   fi
# Line 18174 | Line 13808 | for ac_i in : $LIBOBJS; do test "x$ac_i"
13808    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13809    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13810    #    will be set to the directory where LIBOBJS objects are built.
13811 <  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13812 <  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13811 >  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13812 >  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13813   done
13814   LIBOBJS=$ac_libobjs
13815  
# Line 18191 | Line 13825 | else
13825   fi
13826  
13827   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13828 <  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13829 < 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; }; }
13828 >  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
13829 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13830   fi
13831   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13832 <  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13833 < 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; }; }
13832 >  as_fn_error "conditional \"AMDEP\" was never defined.
13833 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13834   fi
13835   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13836 <  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13837 < 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; }; }
13836 >  as_fn_error "conditional \"am__fastdepCC\" was never defined.
13837 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13838   fi
13839   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
13840 <  { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
13841 < 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; }; }
13840 >  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
13841 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13842   fi
13843   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
13844 <  { { $as_echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
13845 < 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; }; }
13844 >  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
13845 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13846   fi
13847   LT_CONFIG_H=config.h
13848  
# Line 18243 | Line 13862 | LT_CONFIG_H=config.h
13862  
13863  
13864  
13865 < if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then
13866 <  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CRYPT\" was never defined.
13867 < 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; }; }
13865 > if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13866 >  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13867 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13868   fi
13869   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
13870 <  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SSL\" was never defined.
13871 < 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; }; }
13870 >  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13871 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13872   fi
13873   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13874 <  { { $as_echo "$as_me:$LINENO: error: conditional \"EFNET\" was never defined.
13875 < 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; }; }
13874 >  as_fn_error "conditional \"EFNET\" was never defined.
13875 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
13876   fi
13877  
13878   : ${CONFIG_STATUS=./config.status}
13879   ac_write_fail=0
13880   ac_clean_files_save=$ac_clean_files
13881   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13882 < { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13882 > { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13883   $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13884 < cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13884 > as_write_fail=0
13885 > cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13886   #! $SHELL
13887   # Generated by $as_me.
13888   # Run this file to recreate the current configuration.
# Line 18281 | Line 13892 | cat >$CONFIG_STATUS <<_ACEOF || ac_write
13892   debug=false
13893   ac_cs_recheck=false
13894   ac_cs_silent=false
18284 – SHELL=\${CONFIG_SHELL-$SHELL}
18285 – _ACEOF
13895  
13896 < cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13897 < ## --------------------- ##
13898 < ## M4sh Initialization.  ##
13899 < ## --------------------- ##
13896 > SHELL=\${CONFIG_SHELL-$SHELL}
13897 > export SHELL
13898 > _ASEOF
13899 > cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13900 > ## -------------------- ##
13901 > ## M4sh Initialization. ##
13902 > ## -------------------- ##
13903  
13904   # Be more Bourne compatible
13905   DUALCASE=1; export DUALCASE # for MKS sh
13906 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13906 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13907    emulate sh
13908    NULLCMD=:
13909    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# Line 18299 | Line 13911 | if test -n "${ZSH_VERSION+set}" && (emul
13911    alias -g '${1+"$@"}'='"$@"'
13912    setopt NO_GLOB_SUBST
13913   else
13914 <  case `(set -o) 2>/dev/null` in
13915 <  *posix*) set -o posix ;;
13914 >  case `(set -o) 2>/dev/null` in #(
13915 >  *posix*) :
13916 >    set -o posix ;; #(
13917 >  *) :
13918 >     ;;
13919   esac
18305 –
13920   fi
13921  
13922  
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 –
13923   as_nl='
13924   '
13925   export as_nl
# Line 18323 | Line 13927 | export as_nl
13927   as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13928   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13929   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13930 < if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13930 > # Prefer a ksh shell builtin over an external printf program on Solaris,
13931 > # but without wasting forks for bash or zsh.
13932 > if test -z "$BASH_VERSION$ZSH_VERSION" \
13933 >    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13934 >  as_echo='print -r --'
13935 >  as_echo_n='print -rn --'
13936 > elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13937    as_echo='printf %s\n'
13938    as_echo_n='printf %s'
13939   else
# Line 18334 | Line 13944 | else
13944      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13945      as_echo_n_body='eval
13946        arg=$1;
13947 <      case $arg in
13947 >      case $arg in #(
13948        *"$as_nl"*)
13949          expr "X$arg" : "X\\(.*\\)$as_nl";
13950          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 18357 | Line 13967 | if test "${PATH_SEPARATOR+set}" != set;
13967    }
13968   fi
13969  
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 –
13970  
13971   # IFS
13972   # We need space, tab and new line, in precisely that order.  Quoting is
# Line 18373 | Line 13976 | fi
13976   IFS=" ""        $as_nl"
13977  
13978   # Find who we are.  Look in the path if we contain no directory separator.
13979 < case $0 in
13979 > case $0 in #((
13980    *[\\/]* ) as_myself=$0 ;;
13981    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13982   for as_dir in $PATH
13983   do
13984    IFS=$as_save_IFS
13985    test -z "$as_dir" && as_dir=.
13986 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13987 < done
13986 >    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13987 >  done
13988   IFS=$as_save_IFS
13989  
13990       ;;
# Line 18393 | Line 13996 | if test "x$as_myself" = x; then
13996   fi
13997   if test ! -f "$as_myself"; then
13998    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13999 <  { (exit 1); exit 1; }
13999 >  exit 1
14000   fi
14001  
14002 < # Work around bugs in pre-3.0 UWIN ksh.
14003 < for as_var in ENV MAIL MAILPATH
14004 < do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14002 > # Unset variables that we do not need and which cause bugs (e.g. in
14003 > # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14004 > # suppresses any "Segmentation fault" message there.  '((' could
14005 > # trigger a bug in pdksh 5.2.14.
14006 > for as_var in BASH_ENV ENV MAIL MAILPATH
14007 > do eval test x\${$as_var+set} = xset \
14008 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14009   done
14010   PS1='$ '
14011   PS2='> '
# Line 18410 | Line 14017 | export LC_ALL
14017   LANGUAGE=C
14018   export LANGUAGE
14019  
14020 < # Required to use basename.
14020 > # CDPATH.
14021 > (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14022 >
14023 >
14024 > # as_fn_error ERROR [LINENO LOG_FD]
14025 > # ---------------------------------
14026 > # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14027 > # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14028 > # script with status $?, using 1 if that was 0.
14029 > as_fn_error ()
14030 > {
14031 >  as_status=$?; test $as_status -eq 0 && as_status=1
14032 >  if test "$3"; then
14033 >    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14034 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14035 >  fi
14036 >  $as_echo "$as_me: error: $1" >&2
14037 >  as_fn_exit $as_status
14038 > } # as_fn_error
14039 >
14040 >
14041 > # as_fn_set_status STATUS
14042 > # -----------------------
14043 > # Set $? to STATUS, without forking.
14044 > as_fn_set_status ()
14045 > {
14046 >  return $1
14047 > } # as_fn_set_status
14048 >
14049 > # as_fn_exit STATUS
14050 > # -----------------
14051 > # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14052 > as_fn_exit ()
14053 > {
14054 >  set +e
14055 >  as_fn_set_status $1
14056 >  exit $1
14057 > } # as_fn_exit
14058 >
14059 > # as_fn_unset VAR
14060 > # ---------------
14061 > # Portably unset VAR.
14062 > as_fn_unset ()
14063 > {
14064 >  { eval $1=; unset $1;}
14065 > }
14066 > as_unset=as_fn_unset
14067 > # as_fn_append VAR VALUE
14068 > # ----------------------
14069 > # Append the text in VALUE to the end of the definition contained in VAR. Take
14070 > # advantage of any shell optimizations that allow amortized linear growth over
14071 > # repeated appends, instead of the typical quadratic growth present in naive
14072 > # implementations.
14073 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14074 >  eval 'as_fn_append ()
14075 >  {
14076 >    eval $1+=\$2
14077 >  }'
14078 > else
14079 >  as_fn_append ()
14080 >  {
14081 >    eval $1=\$$1\$2
14082 >  }
14083 > fi # as_fn_append
14084 >
14085 > # as_fn_arith ARG...
14086 > # ------------------
14087 > # Perform arithmetic evaluation on the ARGs, and store the result in the
14088 > # global $as_val. Take advantage of shells that can avoid forks. The arguments
14089 > # must be portable across $(()) and expr.
14090 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14091 >  eval 'as_fn_arith ()
14092 >  {
14093 >    as_val=$(( $* ))
14094 >  }'
14095 > else
14096 >  as_fn_arith ()
14097 >  {
14098 >    as_val=`expr "$@" || test $? -eq 1`
14099 >  }
14100 > fi # as_fn_arith
14101 >
14102 >
14103   if expr a : '\(a\)' >/dev/null 2>&1 &&
14104     test "X`expr 00001 : '.*\(...\)'`" = X001; then
14105    as_expr=expr
# Line 18424 | Line 14113 | else
14113    as_basename=false
14114   fi
14115  
14116 + if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14117 +  as_dirname=dirname
14118 + else
14119 +  as_dirname=false
14120 + fi
14121  
18428 – # Name of the executable.
14122   as_me=`$as_basename -- "$0" ||
14123   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14124           X"$0" : 'X\(//\)$' \| \
# Line 18445 | Line 14138 | $as_echo X/"$0" |
14138            }
14139            s/.*/./; q'`
14140  
14141 < # CDPATH.
14142 < $as_unset CDPATH
14143 <
14144 <
14145 <
14146 <  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
14141 > # Avoid depending upon Character Ranges.
14142 > as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14143 > as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14144 > as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14145 > as_cr_digits='0123456789'
14146 > as_cr_alnum=$as_cr_Letters$as_cr_digits
14147  
14148   ECHO_C= ECHO_N= ECHO_T=
14149 < case `echo -n x` in
14149 > case `echo -n x` in #(((((
14150   -n*)
14151 <  case `echo 'x\c'` in
14151 >  case `echo 'xy\c'` in
14152    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14153 <  *)   ECHO_C='\c';;
14153 >  xy)  ECHO_C='\c';;
14154 >  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14155 >       ECHO_T=' ';;
14156    esac;;
14157   *)
14158    ECHO_N='-n';;
14159   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
14160  
14161   rm -f conf$$ conf$$.exe conf$$.file
14162   if test -d conf$$.dir; then
# Line 18543 | Line 14185 | fi
14185   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14186   rmdir conf$$.dir 2>/dev/null
14187  
14188 +
14189 + # as_fn_mkdir_p
14190 + # -------------
14191 + # Create "$as_dir" as a directory, including parents if necessary.
14192 + as_fn_mkdir_p ()
14193 + {
14194 +
14195 +  case $as_dir in #(
14196 +  -*) as_dir=./$as_dir;;
14197 +  esac
14198 +  test -d "$as_dir" || eval $as_mkdir_p || {
14199 +    as_dirs=
14200 +    while :; do
14201 +      case $as_dir in #(
14202 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14203 +      *) as_qdir=$as_dir;;
14204 +      esac
14205 +      as_dirs="'$as_qdir' $as_dirs"
14206 +      as_dir=`$as_dirname -- "$as_dir" ||
14207 + $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14208 +         X"$as_dir" : 'X\(//\)[^/]' \| \
14209 +         X"$as_dir" : 'X\(//\)$' \| \
14210 +         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14211 + $as_echo X"$as_dir" |
14212 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14213 +            s//\1/
14214 +            q
14215 +          }
14216 +          /^X\(\/\/\)[^/].*/{
14217 +            s//\1/
14218 +            q
14219 +          }
14220 +          /^X\(\/\/\)$/{
14221 +            s//\1/
14222 +            q
14223 +          }
14224 +          /^X\(\/\).*/{
14225 +            s//\1/
14226 +            q
14227 +          }
14228 +          s/.*/./; q'`
14229 +      test -d "$as_dir" && break
14230 +    done
14231 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
14232 +  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14233 +
14234 +
14235 + } # as_fn_mkdir_p
14236   if mkdir -p . 2>/dev/null; then
14237 <  as_mkdir_p=:
14237 >  as_mkdir_p='mkdir -p "$as_dir"'
14238   else
14239    test -d ./-p && rmdir ./-p
14240    as_mkdir_p=false
# Line 18563 | Line 14253 | else
14253        if test -d "$1"; then
14254          test -d "$1/.";
14255        else
14256 <        case $1 in
14256 >        case $1 in #(
14257          -*)set "./$1";;
14258          esac;
14259 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14259 >        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14260          ???[sx]*):;;*)false;;esac;fi
14261      '\'' sh
14262    '
# Line 18581 | Line 14271 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
14271  
14272  
14273   exec 6>&1
14274 + ## ----------------------------------- ##
14275 + ## Main body of $CONFIG_STATUS script. ##
14276 + ## ----------------------------------- ##
14277 + _ASEOF
14278 + test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14279  
14280 < # Save the log message, to keep $[0] and so on meaningful, and to
14280 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14281 > # Save the log message, to keep $0 and so on meaningful, and to
14282   # report actual input values of CONFIG_FILES etc. instead of their
14283   # values after options handling.
14284   ac_log="
14285 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
14286 < generated by GNU Autoconf 2.63.  Invocation command line was
14285 > This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
14286 > generated by GNU Autoconf 2.65.  Invocation command line was
14287  
14288    CONFIG_FILES    = $CONFIG_FILES
14289    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 18611 | Line 14307 | esac
14307  
14308   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14309   # Files that config.status was made for.
14310 < config_files="`echo $ac_config_files`"
14311 < config_headers="`echo $ac_config_headers`"
14312 < config_commands="`echo $ac_config_commands`"
14310 > config_files="$ac_config_files"
14311 > config_headers="$ac_config_headers"
14312 > config_commands="$ac_config_commands"
14313  
14314   _ACEOF
14315  
14316   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14317   ac_cs_usage="\
14318 < \`$as_me' instantiates files from templates according to the
14319 < current configuration.
14318 > \`$as_me' instantiates files and other configuration actions
14319 > from templates according to the current configuration.  Unless the files
14320 > and actions are specified as TAGs, all are instantiated by default.
14321  
14322 < Usage: $0 [OPTION]... [FILE]...
14322 > Usage: $0 [OPTION]... [TAG]...
14323  
14324    -h, --help       print this help, then exit
14325    -V, --version    print version number and configuration settings, then exit
14326 +      --config     print configuration, then exit
14327    -q, --quiet, --silent
14328                     do not print progress messages
14329    -d, --debug      don't remove temporary files
# Line 18644 | Line 14342 | $config_headers
14342   Configuration commands:
14343   $config_commands
14344  
14345 < Report bugs to <bug-autoconf@gnu.org>."
14345 > Report bugs to <bugs@ircd-hybrid.org>."
14346  
14347   _ACEOF
14348   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14349 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14350   ac_cs_version="\\
14351 < ircd-hybrid config.status 7.2.4
14352 < configured by $0, generated by GNU Autoconf 2.63,
14353 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14351 > ircd-hybrid config.status 7.3-rc1
14352 > configured by $0, generated by GNU Autoconf 2.65,
14353 >  with options \\"\$ac_cs_config\\"
14354  
14355 < Copyright (C) 2008 Free Software Foundation, Inc.
14355 > Copyright (C) 2009 Free Software Foundation, Inc.
14356   This config.status script is free software; the Free Software Foundation
14357   gives unlimited permission to copy, distribute and modify it."
14358  
# Line 18689 | Line 14388 | do
14388      ac_cs_recheck=: ;;
14389    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14390      $as_echo "$ac_cs_version"; exit ;;
14391 +  --config | --confi | --conf | --con | --co | --c )
14392 +    $as_echo "$ac_cs_config"; exit ;;
14393    --debug | --debu | --deb | --de | --d | -d )
14394      debug=: ;;
14395    --file | --fil | --fi | --f )
# Line 18696 | Line 14397 | do
14397      case $ac_optarg in
14398      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14399      esac
14400 <    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
14400 >    as_fn_append CONFIG_FILES " '$ac_optarg'"
14401      ac_need_defaults=false;;
14402    --header | --heade | --head | --hea )
14403      $ac_shift
14404      case $ac_optarg in
14405      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14406      esac
14407 <    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
14407 >    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14408      ac_need_defaults=false;;
14409    --he | --h)
14410      # Conflict between --help and --header
14411 <    { $as_echo "$as_me: error: ambiguous option: $1
14412 < Try \`$0 --help' for more information." >&2
18712 <   { (exit 1); exit 1; }; };;
14411 >    as_fn_error "ambiguous option: \`$1'
14412 > Try \`$0 --help' for more information.";;
14413    --help | --hel | -h )
14414      $as_echo "$ac_cs_usage"; exit ;;
14415    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
# Line 18717 | Line 14417 | Try \`$0 --help' for more information."
14417      ac_cs_silent=: ;;
14418  
14419    # This is an error.
14420 <  -*) { $as_echo "$as_me: error: unrecognized option: $1
14421 < Try \`$0 --help' for more information." >&2
18722 <   { (exit 1); exit 1; }; } ;;
14420 >  -*) as_fn_error "unrecognized option: \`$1'
14421 > Try \`$0 --help' for more information." ;;
14422  
14423 <  *) ac_config_targets="$ac_config_targets $1"
14423 >  *) as_fn_append ac_config_targets " $1"
14424       ac_need_defaults=false ;;
14425  
14426    esac
# Line 18774 | Line 14473 | double_quote_subst='$double_quote_subst'
14473   delay_variable_subst='$delay_variable_subst'
14474   macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14475   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"`'
14476   enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14477 + enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14478   pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14479   enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14480   host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
# Line 19032 | Line 14731 | do
14731      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14732      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14733      "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
19035 –    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
19036 –    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
19037 –    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14734      "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14735      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14736      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
# Line 19046 | Line 14742 | do
14742      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14743      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14744      "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" ;;
14745      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14746  
14747 <  *) { { $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; }; };;
14747 >  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14748    esac
14749   done
14750  
# Line 19079 | Line 14771 | $debug ||
14771    trap 'exit_status=$?
14772    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14773   ' 0
14774 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
14774 >  trap 'as_fn_exit 1' 1 2 13 15
14775   }
14776   # Create a (secure) tmp directory for tmp files.
14777  
# Line 19090 | Line 14782 | $debug ||
14782   {
14783    tmp=./conf$$-$RANDOM
14784    (umask 077 && mkdir "$tmp")
14785 < } ||
19094 < {
19095 <   $as_echo "$as_me: cannot create a temporary directory in ." >&2
19096 <   { (exit 1); exit 1; }
19097 < }
14785 > } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14786  
14787   # Set up the scripts for CONFIG_FILES section.
14788   # No need to generate them if there are no CONFIG_FILES.
# Line 19102 | Line 14790 | $debug ||
14790   if test -n "$CONFIG_FILES"; then
14791  
14792  
19105 – ac_cr='
14793  
14794 + ac_cr=`echo X | tr X '\015'`
14795 + # On cygwin, bash can eat \r inside `` if the user requested igncr.
14796 + # But we know of no other shell where ac_cr would be empty at this
14797 + # point, so we can use a bashism as a fallback.
14798 + if test "x$ac_cr" = x; then
14799 +  eval ac_cr=\$\'\\r\'
14800 + fi
14801   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14802   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14803 <  ac_cs_awk_cr='\\r'
14803 >  ac_cs_awk_cr='\r'
14804   else
14805    ac_cs_awk_cr=$ac_cr
14806   fi
# Line 19119 | Line 14813 | _ACEOF
14813    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14814    echo "_ACEOF"
14815   } >conf$$subs.sh ||
14816 <  { { $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; }; }
14816 >  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14817   ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14818   ac_delim='%!_!# '
14819   for ac_last_try in false false false false false :; do
14820    . ./conf$$subs.sh ||
14821 <    { { $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; }; }
14821 >    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14822  
14823    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14824    if test $ac_delim_n = $ac_delim_num; then
14825      break
14826    elif $ac_last_try; then
14827 <    { { $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; }; }
14827 >    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14828    else
14829      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14830    fi
# Line 19158 | Line 14846 | s/'"$ac_delim"'$//
14846   t delim
14847   :nl
14848   h
14849 < s/\(.\{148\}\).*/\1/
14849 > s/\(.\{148\}\)..*/\1/
14850   t more1
14851   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14852   p
# Line 19172 | Line 14860 | s/.\{148\}//
14860   t nl
14861   :delim
14862   h
14863 < s/\(.\{148\}\).*/\1/
14863 > s/\(.\{148\}\)..*/\1/
14864   t more2
14865   s/["\\]/\\&/g; s/^/"/; s/$/"/
14866   p
# Line 19225 | Line 14913 | if sed "s/$ac_cr//" < /dev/null > /dev/n
14913   else
14914    cat
14915   fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14916 <  || { { $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; }; }
14916 >  || as_fn_error "could not setup config files machinery" "$LINENO" 5
14917   _ACEOF
14918  
14919   # VPATH may cause trouble with some makes, so we remove $(srcdir),
# Line 19268 | Line 14954 | for ac_last_try in false false :; do
14954    if test -z "$ac_t"; then
14955      break
14956    elif $ac_last_try; then
14957 <    { { $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; }; }
14957 >    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14958    else
14959      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14960    fi
# Line 19355 | Line 15039 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15039   _ACAWK
15040   _ACEOF
15041   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15042 <  { { $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; }; }
15042 >  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15043   fi # test -n "$CONFIG_HEADERS"
15044  
15045  
# Line 19370 | Line 15052 | do
15052    esac
15053    case $ac_mode$ac_tag in
15054    :[FHL]*:*);;
15055 <  :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; }; };;
15055 >  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15056    :[FH]-) ac_tag=-:-;;
15057    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15058    esac
# Line 19400 | Line 15080 | $as_echo "$as_me: error: invalid tag $ac
15080             [\\/$]*) false;;
15081             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15082             esac ||
15083 <           { { $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; }; };;
15083 >           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15084        esac
15085        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15086 <      ac_file_inputs="$ac_file_inputs '$ac_f'"
15086 >      as_fn_append ac_file_inputs " '$ac_f'"
15087      done
15088  
15089      # Let's still pretend it is `configure' which instantiates (i.e., don't
# Line 19416 | Line 15094 | $as_echo "$as_me: error: cannot find inp
15094          `' by configure.'
15095      if test x"$ac_file" != x-; then
15096        configure_input="$ac_file.  $configure_input"
15097 <      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
15097 >      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15098   $as_echo "$as_me: creating $ac_file" >&6;}
15099      fi
15100      # Neutralize special characters interpreted by sed in replacement strings.
# Line 19429 | Line 15107 | $as_echo "$as_me: creating $ac_file" >&6
15107  
15108      case $ac_tag in
15109      *:-:* | *:-) cat >"$tmp/stdin" \
15110 <      || { { $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; }; } ;;
15110 >      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15111      esac
15112      ;;
15113    esac
# Line 19459 | Line 15135 | $as_echo X"$ac_file" |
15135              q
15136            }
15137            s/.*/./; q'`
15138 <  { 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; }; }; }
15138 >  as_dir="$ac_dir"; as_fn_mkdir_p
15139    ac_builddir=.
15140  
15141   case "$ac_dir" in
# Line 19556 | Line 15192 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15192   # If the template does not know about datarootdir, expand it.
15193   # FIXME: This hack should be removed a few years after 2.60.
15194   ac_datarootdir_hack=; ac_datarootdir_seen=
19559 –
15195   ac_sed_dataroot='
15196   /datarootdir/ {
15197    p
# Line 19566 | Line 15201 | ac_sed_dataroot='
15201   /@docdir@/p
15202   /@infodir@/p
15203   /@localedir@/p
15204 < /@mandir@/p
19570 < '
15204 > /@mandir@/p'
15205   case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15206   *datarootdir*) ac_datarootdir_seen=yes;;
15207   *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15208 <  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15208 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15209   $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15210   _ACEOF
15211   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Line 19581 | Line 15215 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15215    s&@infodir@&$infodir&g
15216    s&@localedir@&$localedir&g
15217    s&@mandir@&$mandir&g
15218 <    s&\\\${datarootdir}&$datarootdir&g' ;;
15218 >  s&\\\${datarootdir}&$datarootdir&g' ;;
15219   esac
15220   _ACEOF
15221  
# Line 19610 | Line 15244 | s&@MKDIR_P@&$ac_MKDIR_P&;t t
15244   $ac_datarootdir_hack
15245   "
15246   eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15247 <  || { { $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; }; }
15247 >  || as_fn_error "could not create $ac_file" "$LINENO" 5
15248  
15249   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15250    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15251    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15252 <  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15252 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15253   which seems to be undefined.  Please make sure it is defined." >&5
15254   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15255   which seems to be undefined.  Please make sure it is defined." >&2;}
# Line 19627 | Line 15259 | which seems to be undefined.  Please mak
15259    -) cat "$tmp/out" && rm -f "$tmp/out";;
15260    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15261    esac \
15262 <  || { { $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; }; }
15262 >  || as_fn_error "could not create $ac_file" "$LINENO" 5
15263   ;;
15264    :H)
15265    #
# Line 19640 | Line 15270 | $as_echo "$as_me: error: could not creat
15270        $as_echo "/* $configure_input  */" \
15271        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15272      } >"$tmp/config.h" \
15273 <      || { { $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; }; }
15273 >      || as_fn_error "could not create $ac_file" "$LINENO" 5
15274      if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15275 <      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15275 >      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15276   $as_echo "$as_me: $ac_file is unchanged" >&6;}
15277      else
15278        rm -f "$ac_file"
15279        mv "$tmp/config.h" "$ac_file" \
15280 <        || { { $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; }; }
15280 >        || as_fn_error "could not create $ac_file" "$LINENO" 5
15281      fi
15282    else
15283      $as_echo "/* $configure_input  */" \
15284        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15285 <      || { { $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; }; }
15285 >      || as_fn_error "could not create -" "$LINENO" 5
15286    fi
15287   # Compute "$ac_file"'s index in $config_headers.
15288   _am_arg="$ac_file"
# Line 19696 | Line 15320 | $as_echo X"$_am_arg" |
15320            s/.*/./; q'`/stamp-h$_am_stamp_count
15321   ;;
15322  
15323 <  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15323 >  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15324   $as_echo "$as_me: executing $ac_file commands" >&6;}
15325   ;;
15326    esac
# Line 19791 | Line 15415 | $as_echo X"$file" |
15415              q
15416            }
15417            s/.*/./; q'`
15418 <      { 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; }; }; }
15418 >      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15419        # echo "creating $dirpart/$file"
15420        echo '# dummy' > "$dirpart/$file"
15421      done
# Line 19895 | Line 15479 | available_tags=""
15479   macro_version=$macro_version
15480   macro_revision=$macro_revision
15481  
19898 – # Whether or not to build shared libraries.
19899 – build_libtool_libs=$enable_shared
19900 –
15482   # Whether or not to build static libraries.
15483   build_old_libs=$enable_static
15484  
15485 + # Whether or not to build shared libraries.
15486 + build_libtool_libs=$enable_shared
15487 +
15488   # What type of objects to build.
15489   pic_mode=$pic_mode
15490  
# Line 20478 | Line 16062 | _LT_EOF
16062   done # for ac_tag
16063  
16064  
16065 < { (exit 0); exit 0; }
16065 > as_fn_exit 0
16066   _ACEOF
20483 – chmod +x $CONFIG_STATUS
16067   ac_clean_files=$ac_clean_files_save
16068  
16069   test $ac_write_fail = 0 ||
16070 <  { { $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; }; }
16070 >  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16071  
16072  
16073   # configure is writing to config.log, and then calls config.status.
# Line 20507 | Line 16088 | if test "$no_create" != yes; then
16088    exec 5>>config.log
16089    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16090    # would make configure fail if this is the last instruction.
16091 <  $ac_cs_success || { (exit 1); exit 1; }
16091 >  $ac_cs_success || as_fn_exit $?
16092   fi
16093  
16094   #
# Line 20551 | Line 16132 | if test "$no_recursion" != yes; then
16132        case $ac_arg in
16133        *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16134        esac
16135 <      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
16135 >      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16136      esac
16137    done
16138  
# Line 20580 | Line 16161 | if test "$no_recursion" != yes; then
16161      test -d "$srcdir/$ac_dir" || continue
16162  
16163      ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16164 <    $as_echo "$as_me:$LINENO: $ac_msg" >&5
16164 >    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16165      $as_echo "$ac_msg" >&6
16166 <    { 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; }; }; }
16166 >    as_dir="$ac_dir"; as_fn_mkdir_p
16167      ac_builddir=.
16168  
16169   case "$ac_dir" in
# Line 20669 | Line 16210 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
16210        # This should be Cygnus configure.
16211        ac_sub_configure=$ac_aux_dir/configure
16212      else
16213 <      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
16213 >      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16214   $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16215        ac_sub_configure=
16216      fi
# Line 20683 | Line 16224 | $as_echo "$as_me: WARNING: no configurat
16224          ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16225        esac
16226  
16227 <      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16227 >      { $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
16228   $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16229        # The eval makes quoting arguments work.
16230        eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16231             --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16232 <        { { $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; }; }
16232 >        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16233      fi
16234  
16235      cd "$ac_popdir"
16236    done
16237   fi
16238   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16239 <  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16239 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16240   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16241   fi
16242  

Diff Legend

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