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-8/configure (file contents), Revision 1456 by michael, Mon Jul 2 18:21:40 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 + # From configure.ac Id: configure.ac 1454 2012-06-29 13:58:54Z 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.69 for ircd-hybrid 8beta2.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7 > #
8 > #
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 > #
11   #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
12   # This configure script is free software; the Free Software Foundation
13   # gives unlimited permission to copy, distribute and modify it.
14 < ## --------------------- ##
15 < ## M4sh Initialization.  ##
16 < ## --------------------- ##
14 > ## -------------------- ##
15 > ## M4sh Initialization. ##
16 > ## -------------------- ##
17  
18   # Be more Bourne compatible
19   DUALCASE=1; export DUALCASE # for MKS sh
20 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21    emulate sh
22    NULLCMD=:
23    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# Line 20 | Line 25 | if test -n "${ZSH_VERSION+set}" && (emul
25    alias -g '${1+"$@"}'='"$@"'
26    setopt NO_GLOB_SUBST
27   else
28 <  case `(set -o) 2>/dev/null` in
29 <  *posix*) set -o posix ;;
28 >  case `(set -o) 2>/dev/null` in #(
29 >  *posix*) :
30 >    set -o posix ;; #(
31 >  *) :
32 >     ;;
33   esac
26
34   fi
35  
36  
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
37   as_nl='
38   '
39   export as_nl
# Line 44 | Line 41 | export as_nl
41   as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 < if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
44 > # Prefer a ksh shell builtin over an external printf program on Solaris,
45 > # but without wasting forks for bash or zsh.
46 > if test -z "$BASH_VERSION$ZSH_VERSION" \
47 >    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 >  as_echo='print -r --'
49 >  as_echo_n='print -rn --'
50 > elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51    as_echo='printf %s\n'
52    as_echo_n='printf %s'
53   else
# Line 55 | Line 58 | else
58      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59      as_echo_n_body='eval
60        arg=$1;
61 <      case $arg in
61 >      case $arg in #(
62        *"$as_nl"*)
63          expr "X$arg" : "X\\(.*\\)$as_nl";
64          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 78 | Line 81 | if test "${PATH_SEPARATOR+set}" != set;
81    }
82   fi
83  
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
84  
85   # IFS
86   # We need space, tab and new line, in precisely that order.  Quoting is
# Line 94 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 < case $0 in
93 > as_myself=
94 > case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97   for as_dir in $PATH
98   do
99    IFS=$as_save_IFS
100    test -z "$as_dir" && as_dir=.
101 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 < done
101 >    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 >  done
103   IFS=$as_save_IFS
104  
105       ;;
# Line 114 | Line 111 | if test "x$as_myself" = x; then
111   fi
112   if test ! -f "$as_myself"; then
113    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 <  { (exit 1); exit 1; }
114 >  exit 1
115   fi
116  
117 < # Work around bugs in pre-3.0 UWIN ksh.
118 < for as_var in ENV MAIL MAILPATH
119 < do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 > # Unset variables that we do not need and which cause bugs (e.g. in
118 > # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 > # suppresses any "Segmentation fault" message there.  '((' could
120 > # trigger a bug in pdksh 5.2.14.
121 > for as_var in BASH_ENV ENV MAIL MAILPATH
122 > do eval test x\${$as_var+set} = xset \
123 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124   done
125   PS1='$ '
126   PS2='> '
# Line 131 | Line 132 | export LC_ALL
132   LANGUAGE=C
133   export LANGUAGE
134  
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
135   # CDPATH.
136 < $as_unset CDPATH
171 <
136 > (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164 <  if (eval ":") 2>/dev/null; then
165 <  as_have_required=yes
164 >  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 >  emulate sh
166 >  NULLCMD=:
167 >  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 >  # is contrary to our usage.  Disable this feature.
169 >  alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 >  setopt NO_GLOB_SUBST
171   else
172 <  as_have_required=no
172 >  case \`(set -o) 2>/dev/null\` in #(
173 >  *posix*) :
174 >    set -o posix ;; #(
175 >  *) :
176 >     ;;
177 > esac
178   fi
179 <
180 <  if test $as_have_required = yes &&     (eval ":
181 < (as_func_return () {
182 <  (exit \$1)
183 < }
184 < 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 < }
179 > "
180 >  as_required="as_fn_return () { (exit \$1); }
181 > as_fn_success () { as_fn_return 0; }
182 > as_fn_failure () { as_fn_return 1; }
183 > as_fn_ret_success () { return 0; }
184 > as_fn_ret_failure () { return 1; }
185  
186   exitcode=0
187 < if as_func_success; then
188 <  :
189 < else
190 <  exitcode=1
191 <  echo as_func_success failed.
192 < fi
193 <
194 < if as_func_failure; then
195 <  exitcode=1
196 <  echo as_func_failure succeeded.
197 < fi
198 <
199 < if as_func_ret_success; then
200 <  :
201 < else
202 <  exitcode=1
203 <  echo as_func_ret_success failed.
204 < fi
205 <
206 < if as_func_ret_failure; then
207 <  exitcode=1
208 <  echo as_func_ret_failure succeeded.
209 < fi
210 <
211 < if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
212 <  :
187 > as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 > as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 > as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 > as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 > if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 >
193 > else
194 >  exitcode=1; echo positional parameters were not saved.
195 > fi
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198 >  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199 >  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200 >  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 >  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 >
203 >  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 >    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 >    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 >    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 >    PATH=/empty FPATH=/empty; export PATH FPATH
208 >    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 >      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210 > test \$(( 1 + 1 )) = 2 || exit 1"
211 >  if (eval "$as_required") 2>/dev/null; then :
212 >  as_have_required=yes
213   else
214 <  exitcode=1
226 <  echo positional parameters were not saved.
214 >  as_have_required=no
215   fi
216 +  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
217  
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  :
218   else
219 <  as_candidate_shells=
220 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 > as_found=false
221   for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222   do
223    IFS=$as_save_IFS
224    test -z "$as_dir" && as_dir=.
225 <  case $as_dir in
225 >  as_found=:
226 >  case $as_dir in #(
227           /*)
228             for as_base in sh bash ksh sh5; do
229 <             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 >             # Try only shells that exist, to save several forks.
230 >             as_shell=$as_dir/$as_base
231 >             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
232 >                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 >  CONFIG_SHELL=$as_shell as_have_required=yes
234 >                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
235 >  break 2
236 > fi
237 > fi
238             done;;
239         esac
240 +  as_found=false
241   done
242 + $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
243 +              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
244 +  CONFIG_SHELL=$SHELL as_have_required=yes
245 + fi; }
246   IFS=$as_save_IFS
247  
248  
249 <      for as_shell in $as_candidate_shells $SHELL; do
250 <         # Try only shells that exist, to save several forks.
251 <         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
252 <                { ("$as_shell") 2> /dev/null <<\_ASEOF
253 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
254 <  emulate sh
255 <  NULLCMD=:
256 <  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
257 <  # is contrary to our usage.  Disable this feature.
258 <  alias -g '${1+"$@"}'='"$@"'
259 <  setopt NO_GLOB_SUBST
260 < else
261 <  case `(set -o) 2>/dev/null` in
262 <  *posix*) set -o posix ;;
263 < esac
264 <
249 >      if test "x$CONFIG_SHELL" != x; then :
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269 > fi
270 >
271 >    if test x$as_have_required = xno; then :
272 >  $as_echo "$0: This script requires a shell more modern than all"
273 >  $as_echo "$0: the shells that I found on your system."
274 >  if test x${ZSH_VERSION+set} = xset ; then
275 >    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 >    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 >  else
278 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 > $0: bugs@ircd-hybrid.org about your system, including any
280 > $0: error possibly output before this message. Then install
281 > $0: a modern shell, or manually run the script under such a
282 > $0: shell if you do have one."
283 >  fi
284 >  exit 1
285   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
286   fi
287 + fi
288 + SHELL=${CONFIG_SHELL-/bin/sh}
289 + export SHELL
290 + # Unset more variables known to interfere with behavior of common tools.
291 + CLICOLOR_FORCE= GREP_OPTIONS=
292 + unset CLICOLOR_FORCE GREP_OPTIONS
293  
294 + ## --------------------- ##
295 + ## M4sh Shell Functions. ##
296 + ## --------------------- ##
297 + # as_fn_unset VAR
298 + # ---------------
299 + # Portably unset VAR.
300 + as_fn_unset ()
301 + {
302 +  { eval $1=; unset $1;}
303 + }
304 + as_unset=as_fn_unset
305 +
306 + # as_fn_set_status STATUS
307 + # -----------------------
308 + # Set $? to STATUS, without forking.
309 + as_fn_set_status ()
310 + {
311 +  return $1
312 + } # as_fn_set_status
313 +
314 + # as_fn_exit STATUS
315 + # -----------------
316 + # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 + as_fn_exit ()
318 + {
319 +  set +e
320 +  as_fn_set_status $1
321 +  exit $1
322 + } # as_fn_exit
323 +
324 + # as_fn_mkdir_p
325 + # -------------
326 + # Create "$as_dir" as a directory, including parents if necessary.
327 + as_fn_mkdir_p ()
328 + {
329  
330 < :
331 < (as_func_return () {
332 <  (exit $1)
333 < }
334 < as_func_success () {
335 <  as_func_return 0
336 < }
337 < as_func_failure () {
338 <  as_func_return 1
339 < }
340 < as_func_ret_success () {
341 <  return 0
342 < }
343 < as_func_ret_failure () {
344 <  return 1
345 < }
330 >  case $as_dir in #(
331 >  -*) as_dir=./$as_dir;;
332 >  esac
333 >  test -d "$as_dir" || eval $as_mkdir_p || {
334 >    as_dirs=
335 >    while :; do
336 >      case $as_dir in #(
337 >      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 >      *) as_qdir=$as_dir;;
339 >      esac
340 >      as_dirs="'$as_qdir' $as_dirs"
341 >      as_dir=`$as_dirname -- "$as_dir" ||
342 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 >         X"$as_dir" : 'X\(//\)[^/]' \| \
344 >         X"$as_dir" : 'X\(//\)$' \| \
345 >         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 > $as_echo X"$as_dir" |
347 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 >            s//\1/
349 >            q
350 >          }
351 >          /^X\(\/\/\)[^/].*/{
352 >            s//\1/
353 >            q
354 >          }
355 >          /^X\(\/\/\)$/{
356 >            s//\1/
357 >            q
358 >          }
359 >          /^X\(\/\).*/{
360 >            s//\1/
361 >            q
362 >          }
363 >          s/.*/./; q'`
364 >      test -d "$as_dir" && break
365 >    done
366 >    test -z "$as_dirs" || eval "mkdir $as_dirs"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368  
312 exitcode=0
313 if as_func_success; then
314  :
315 else
316  exitcode=1
317  echo as_func_success failed.
318 fi
369  
370 < if as_func_failure; then
321 <  exitcode=1
322 <  echo as_func_failure succeeded.
323 < fi
370 > } # as_fn_mkdir_p
371  
372 < if as_func_ret_success; then
373 <  :
372 > # as_fn_executable_p FILE
373 > # -----------------------
374 > # Test if FILE is an executable regular file.
375 > as_fn_executable_p ()
376 > {
377 >  test -f "$1" && test -x "$1"
378 > } # as_fn_executable_p
379 > # as_fn_append VAR VALUE
380 > # ----------------------
381 > # Append the text in VALUE to the end of the definition contained in VAR. Take
382 > # advantage of any shell optimizations that allow amortized linear growth over
383 > # repeated appends, instead of the typical quadratic growth present in naive
384 > # implementations.
385 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 >  eval 'as_fn_append ()
387 >  {
388 >    eval $1+=\$2
389 >  }'
390   else
391 <  exitcode=1
392 <  echo as_func_ret_success failed.
393 < fi
394 <
395 < if as_func_ret_failure; then
333 <  exitcode=1
334 <  echo as_func_ret_failure succeeded.
335 < fi
391 >  as_fn_append ()
392 >  {
393 >    eval $1=\$$1\$2
394 >  }
395 > fi # as_fn_append
396  
397 < if ( set x; as_func_ret_success y && test x = "$1" ); then
398 <  :
397 > # as_fn_arith ARG...
398 > # ------------------
399 > # Perform arithmetic evaluation on the ARGs, and store the result in the
400 > # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 > # must be portable across $(()) and expr.
402 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403 >  eval 'as_fn_arith ()
404 >  {
405 >    as_val=$(( $* ))
406 >  }'
407   else
408 <  exitcode=1
409 <  echo positional parameters were not saved.
410 < fi
411 <
412 < 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
365 <        export CONFIG_SHELL
366 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367 < fi
368 <
369 <
370 <    if test $as_have_required = no; then
371 <  echo This script requires a shell more modern than all the
372 <      echo shells that I found on your system.  Please install a
373 <      echo modern shell, or manually run the script under such a
374 <      echo shell if you do have one.
375 <      { (exit 1); exit 1; }
376 < fi
377 <
378 <
379 < fi
380 <
381 < fi
382 <
408 >  as_fn_arith ()
409 >  {
410 >    as_val=`expr "$@" || test $? -eq 1`
411 >  }
412 > fi # as_fn_arith
413  
414  
415 < (eval "as_func_return () {
416 <  (exit \$1)
417 < }
418 < as_func_success () {
419 <  as_func_return 0
420 < }
421 < as_func_failure () {
422 <  as_func_return 1
423 < }
424 < as_func_ret_success () {
425 <  return 0
426 < }
427 < as_func_ret_failure () {
428 <  return 1
429 < }
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417 > # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 > # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 > # script with STATUS, using 1 if that was 0.
420 > as_fn_error ()
421 > {
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 >  fi
427 >  $as_echo "$as_me: error: $2" >&2
428 >  as_fn_exit $as_status
429 > } # as_fn_error
430  
431 < exitcode=0
432 < if as_func_success; then
433 <  :
431 > if expr a : '\(a\)' >/dev/null 2>&1 &&
432 >   test "X`expr 00001 : '.*\(...\)'`" = X001; then
433 >  as_expr=expr
434   else
435 <  exitcode=1
406 <  echo as_func_success failed.
407 < fi
408 <
409 < if as_func_failure; then
410 <  exitcode=1
411 <  echo as_func_failure succeeded.
435 >  as_expr=false
436   fi
437  
438 < if as_func_ret_success; then
439 <  :
438 > if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439 >  as_basename=basename
440   else
441 <  exitcode=1
418 <  echo as_func_ret_success failed.
419 < fi
420 <
421 < if as_func_ret_failure; then
422 <  exitcode=1
423 <  echo as_func_ret_failure succeeded.
441 >  as_basename=false
442   fi
443  
444 < if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
445 <  :
444 > if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445 >  as_dirname=dirname
446   else
447 <  exitcode=1
430 <  echo positional parameters were not saved.
447 >  as_dirname=false
448   fi
449  
450 < test \$exitcode = 0") || {
451 <  echo No shell found that supports shell functions.
452 <  echo Please tell bug-autoconf@gnu.org about your system,
453 <  echo including any error possibly output before this message.
454 <  echo This can help us improve future autoconf versions.
455 <  echo Configuration will now proceed without shell functions.
456 < }
450 > as_me=`$as_basename -- "$0" ||
451 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 >         X"$0" : 'X\(//\)$' \| \
453 >         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 > $as_echo X/"$0" |
455 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
456 >            s//\1/
457 >            q
458 >          }
459 >          /^X\/\(\/\/\)$/{
460 >            s//\1/
461 >            q
462 >          }
463 >          /^X\/\(\/\).*/{
464 >            s//\1/
465 >            q
466 >          }
467 >          s/.*/./; q'`
468  
469 + # Avoid depending upon Character Ranges.
470 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 + as_cr_digits='0123456789'
474 + as_cr_alnum=$as_cr_Letters$as_cr_digits
475  
476  
477 <  as_lineno_1=$LINENO
478 <  as_lineno_2=$LINENO
479 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
480 <  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
481 <
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.  :-)
477 >  as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 >  as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 >  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 >  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 >  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482    sed -n '
483      p
484      /[$]LINENO/=
# Line 471 | Line 495 | test \$exitcode = 0") || {
495        s/-\n.*//
496      ' >$as_me.lineno &&
497    chmod +x "$as_me.lineno" ||
498 <    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 <   { (exit 1); exit 1; }; }
498 >    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 482 | Line 509 | test \$exitcode = 0") || {
509    exit
510   }
511  
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
512   ECHO_C= ECHO_N= ECHO_T=
513 < case `echo -n x` in
513 > case `echo -n x` in #(((((
514   -n*)
515 <  case `echo 'x\c'` in
515 >  case `echo 'xy\c'` in
516    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517 <  *)   ECHO_C='\c';;
517 >  xy)  ECHO_C='\c';;
518 >  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519 >       ECHO_T=' ';;
520    esac;;
521   *)
522    ECHO_N='-n';;
523   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
524  
525   rm -f conf$$ conf$$.exe conf$$.file
526   if test -d conf$$.dir; then
# Line 519 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
551  
552   if mkdir -p . 2>/dev/null; then
553 <  as_mkdir_p=:
553 >  as_mkdir_p='mkdir -p "$as_dir"'
554   else
555    test -d ./-p && rmdir ./-p
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
545 < else
546 <  if ls -dL / >/dev/null 2>&1; then
547 <    as_ls_L_option=L
548 <  else
549 <    as_ls_L_option=
550 <  fi
551 <  as_test_x='
552 <    eval sh -c '\''
553 <      if test -d "$1"; then
554 <        test -d "$1/.";
555 <      else
556 <        case $1 in
557 <        -*)set "./$1";;
558 <        esac;
559 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 <        ???[sx]*):;;*)false;;esac;fi
561 <    '\'' sh
562 <  '
563 < fi
564 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 569 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
568 + lt_ltdl_dir='libltdl'
569  
573
574
575 # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
578 case X$lt_ECHO in
579 X*--fallback-echo)
580  # Remove one level of quotation (which was required for Make).
581  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
582  ;;
583 esac
584
585 ECHO=${lt_ECHO-echo}
586 if test "X$1" = X--no-reexec; then
587  # Discard the --no-reexec flag, and continue.
588  shift
589 elif test "X$1" = X--fallback-echo; then
590  # Avoid inline document here, it may be left over
591  :
592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593  # Yippee, $ECHO works!
594  :
595 else
596  # Restart under the correct shell.
597  exec $SHELL "$0" --no-reexec ${1+"$@"}
598 fi
572  
573 < if test "X$1" = X--fallback-echo; then
574 <  # used as fallback echo
602 <  shift
603 <  cat <<_LT_EOF
604 < $*
605 < _LT_EOF
606 <  exit 0
607 < fi
608 <
609 < # The HP-UX ksh and POSIX shell print the target directory to stdout
610 < # if CDPATH is set.
611 < (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
612 <
613 < if test -z "$lt_ECHO"; then
614 <  if test "X${echo_test_string+set}" != Xset; then
615 <    # find a string as large as possible, as long as the shell can cope with it
616 <    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 <      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 <      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619 <         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
620 <      then
621 <        break
622 <      fi
623 <    done
624 <  fi
625 <
626 <  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 <     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 <     test "X$echo_testing_string" = "X$echo_test_string"; then
629 <    :
630 <  else
631 <    # The Solaris, AIX, and Digital Unix default echo programs unquote
632 <    # backslashes.  This makes it impossible to quote backslashes using
633 <    #   echo "$something" | sed 's/\\/\\\\/g'
634 <    #
635 <    # So, first we look for a working echo in the user's PATH.
636 <
637 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638 <    for dir in $PATH /usr/ucb; do
639 <      IFS="$lt_save_ifs"
640 <      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641 <         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642 <         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643 <         test "X$echo_testing_string" = "X$echo_test_string"; then
644 <        ECHO="$dir/echo"
645 <        break
646 <      fi
647 <    done
648 <    IFS="$lt_save_ifs"
649 <
650 <    if test "X$ECHO" = Xecho; then
651 <      # We didn't find a better echo, so look for alternatives.
652 <      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653 <         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654 <         test "X$echo_testing_string" = "X$echo_test_string"; then
655 <        # This shell has a builtin print -r that does the trick.
656 <        ECHO='print -r'
657 <      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658 <           test "X$CONFIG_SHELL" != X/bin/ksh; then
659 <        # If we have ksh, try running configure again with it.
660 <        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661 <        export ORIGINAL_CONFIG_SHELL
662 <        CONFIG_SHELL=/bin/ksh
663 <        export CONFIG_SHELL
664 <        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
665 <      else
666 <        # Try using printf.
667 <        ECHO='printf %s\n'
668 <        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669 <           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670 <           test "X$echo_testing_string" = "X$echo_test_string"; then
671 <          # Cool, printf works
672 <          :
673 <        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674 <             test "X$echo_testing_string" = 'X\t' &&
675 <             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676 <             test "X$echo_testing_string" = "X$echo_test_string"; then
677 <          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
678 <          export CONFIG_SHELL
679 <          SHELL="$CONFIG_SHELL"
680 <          export SHELL
681 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
682 <        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683 <             test "X$echo_testing_string" = 'X\t' &&
684 <             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685 <             test "X$echo_testing_string" = "X$echo_test_string"; then
686 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
687 <        else
688 <          # maybe with a smaller string...
689 <          prev=:
690 <
691 <          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692 <            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
693 <            then
694 <              break
695 <            fi
696 <            prev="$cmd"
697 <          done
698 <
699 <          if test "$prev" != 'sed 50q "$0"'; then
700 <            echo_test_string=`eval $prev`
701 <            export echo_test_string
702 <            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
703 <          else
704 <            # Oops.  We lost completely, so just stick with echo.
705 <            ECHO=echo
706 <          fi
707 <        fi
708 <      fi
709 <    fi
710 <  fi
711 < fi
712 <
713 < # Copy echo and quote the copy suitably for passing to libtool from
714 < # the Makefile, instead of quoting the original, which is used later.
715 < lt_ECHO=$ECHO
716 < if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717 <   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
718 < fi
719 <
720 <
721 <
722 <
723 < lt_ltdl_dir='libltdl'
724 <
725 < lt_dlopen_dir="$lt_ltdl_dir"
726 <
727 < exec 7<&0 </dev/null 6>&1
573 > test -n "$DJDIR" || exec 7<&0 </dev/null
574 > exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 742 | Line 589 | cross_compiling=no
589   subdirs=
590   MFLAGS=
591   MAKEFLAGS=
745 SHELL=${CONFIG_SHELL-/bin/sh}
592  
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.2.4'
597 < PACKAGE_STRING='ircd-hybrid 7.2.4'
598 < PACKAGE_BUGREPORT=''
596 > PACKAGE_VERSION='8beta2'
597 > PACKAGE_STRING='ircd-hybrid 8beta2'
598 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599 > PACKAGE_URL=''
600  
601   ac_unique_file="src/ircd.c"
602   # Factoring default headers for most tests.
# Line 788 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
791 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 802 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
805 EFNET_FALSE
806 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
809 HAVE_CRYPT_FALSE
810 HAVE_CRYPT_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
813 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 833 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 < lt_ECHO
677 > MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 863 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 885 | Line 729 | AMTAR
729   am__leading_dot
730   SET_MAKE
731   AWK
888 mkdir_p
732   MKDIR_P
733   INSTALL_STRIP_PROGRAM
734   STRIP
# Line 932 | Line 775 | bindir
775   program_transform_name
776   prefix
777   exec_prefix
778 + PACKAGE_URL
779   PACKAGE_BUGREPORT
780   PACKAGE_STRING
781   PACKAGE_VERSION
# Line 944 | Line 788 | ac_user_opts='
788   enable_option_checking
789   enable_maintainer_mode
790   enable_dependency_tracking
947 enable_shared
791   enable_static
792 + enable_shared
793   with_pic
794   enable_fast_install
795   with_gnu_ld
796 + with_sysroot
797   enable_libtool_lock
798   with_included_ltdl
799   with_ltdl_include
800   with_ltdl_lib
801   enable_ltdl_install
802 < with_zlib_path
958 < enable_zlib
802 > enable_libpcre
803   enable_openssl
804   enable_assert
805   enable_small_net
# Line 967 | Line 811 | enable_poll
811   enable_select
812   with_nicklen
813   with_topiclen
970 with_syslog_facility
971 enable_efnet
814   enable_halfops
815   enable_debugging
816   enable_warnings
975 enable_syslog
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 985 | Line 826 | CPPFLAGS
826   YACC
827   YFLAGS
828   CPP'
829 < ac_subdirs_all='libltdl'
829 >
830  
831   # Initialize some variables set by options.
832   ac_init_help=
# Line 1047 | Line 888 | do
888    fi
889  
890    case $ac_option in
891 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 <  *)    ac_optarg=yes ;;
891 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 >  *=)   ac_optarg= ;;
893 >  *)    ac_optarg=yes ;;
894    esac
895  
896    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1093 | Line 935 | do
935      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936      # Reject names that are not valid shell variable names.
937      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 <      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1097 <   { (exit 1); exit 1; }; }
938 >      as_fn_error $? "invalid feature name: $ac_useropt"
939      ac_useropt_orig=$ac_useropt
940      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941      case $ac_user_opts in
# Line 1120 | Line 961 | do
961      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962      # Reject names that are not valid shell variable names.
963      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 <      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1124 <   { (exit 1); exit 1; }; }
964 >      as_fn_error $? "invalid feature name: $ac_useropt"
965      ac_useropt_orig=$ac_useropt
966      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967      case $ac_user_opts in
# Line 1325 | Line 1165 | do
1165      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166      # Reject names that are not valid shell variable names.
1167      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 <      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1329 <   { (exit 1); exit 1; }; }
1168 >      as_fn_error $? "invalid package name: $ac_useropt"
1169      ac_useropt_orig=$ac_useropt
1170      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171      case $ac_user_opts in
# Line 1342 | Line 1181 | do
1181      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182      # Reject names that are not valid shell variable names.
1183      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 <      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1346 <   { (exit 1); exit 1; }; }
1184 >      as_fn_error $? "invalid package name: $ac_useropt"
1185      ac_useropt_orig=$ac_useropt
1186      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187      case $ac_user_opts in
# Line 1373 | Line 1211 | do
1211    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212      x_libraries=$ac_optarg ;;
1213  
1214 <  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1215 < Try \`$0 --help' for more information." >&2
1378 <   { (exit 1); exit 1; }; }
1214 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1215 > Try \`$0 --help' for more information"
1216      ;;
1217  
1218    *=*)
1219      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1220      # Reject names that are not valid shell variable names.
1221 <    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1222 <      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1223 <   { (exit 1); exit 1; }; }
1221 >    case $ac_envvar in #(
1222 >      '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1224 >    esac
1225      eval $ac_envvar=\$ac_optarg
1226      export $ac_envvar ;;
1227  
# Line 1392 | Line 1230 | Try \`$0 --help' for more information."
1230      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1234      ;;
1235  
1236    esac
# Line 1400 | Line 1238 | done
1238  
1239   if test -n "$ac_prev"; then
1240    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 <  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1404 <   { (exit 1); exit 1; }; }
1241 >  as_fn_error $? "missing argument to $ac_option"
1242   fi
1243  
1244   if test -n "$ac_unrecognized_opts"; then
1245    case $enable_option_checking in
1246      no) ;;
1247 <    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1411 <   { (exit 1); exit 1; }; } ;;
1247 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1248      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249    esac
1250   fi
# Line 1431 | Line 1267 | do
1267      [\\/$]* | ?:[\\/]* )  continue;;
1268      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269    esac
1270 <  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1435 <   { (exit 1); exit 1; }; }
1270 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1271   done
1272  
1273   # There might be people who depend on the old broken behavior: `$host'
# Line 1446 | Line 1281 | target=$target_alias
1281   if test "x$host_alias" != x; then
1282    if test "x$build_alias" = x; then
1283      cross_compiling=maybe
1449    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1450    If a cross compiler is detected then cross compile mode will be used." >&2
1284    elif test "x$build_alias" != "x$host_alias"; then
1285      cross_compiling=yes
1286    fi
# Line 1462 | Line 1295 | test "$silent" = yes && exec 6>/dev/null
1295   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296   ac_ls_di=`ls -di .` &&
1297   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298 <  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1466 <   { (exit 1); exit 1; }; }
1298 >  as_fn_error $? "working directory cannot be determined"
1299   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 <  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1469 <   { (exit 1); exit 1; }; }
1300 >  as_fn_error $? "pwd does not report name of working directory"
1301  
1302  
1303   # Find the source files, if location was not specified.
# Line 1505 | Line 1336 | else
1336   fi
1337   if test ! -r "$srcdir/$ac_unique_file"; then
1338    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339 <  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1509 <   { (exit 1); exit 1; }; }
1339 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340   fi
1341   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342   ac_abs_confdir=`(
1343 <        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1514 <   { (exit 1); exit 1; }; }
1343 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344          pwd)`
1345   # When building in place, set srcdir=.
1346   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1537 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8beta2 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1551 | Line 1380 | Configuration:
1380        --help=short        display options specific to this package
1381        --help=recursive    display the short help of all the included packages
1382    -V, --version           display version information and exit
1383 <  -q, --quiet, --silent   do not print \`checking...' messages
1383 >  -q, --quiet, --silent   do not print \`checking ...' messages
1384        --cache-file=FILE   cache test results in FILE [disabled]
1385    -C, --config-cache      alias for \`--cache-file=config.cache'
1386    -n, --no-create         do not create output files
# Line 1607 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta2:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1615 | Line 1444 | Optional Features:
1444    --disable-option-checking  ignore unrecognized --enable/--with options
1445    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1446    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1447 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1448 <                          (and sometimes confusing) to the casual installer
1449 <  --disable-dependency-tracking  speeds up one-time build
1450 <  --enable-dependency-tracking   do not reject slow dependency extractors
1447 >  --enable-maintainer-mode
1448 >                          enable make rules and dependencies not useful (and
1449 >                          sometimes confusing) to the casual installer
1450 >  --enable-dependency-tracking
1451 >                          do not reject slow dependency extractors
1452 >  --disable-dependency-tracking
1453 >                          speeds up one-time build
1454 >  --enable-static[=PKGS]  build static libraries [default=no]
1455    --enable-shared[=PKGS]  build shared libraries [default=yes]
1623  --enable-static[=PKGS]  build static libraries [default=yes]
1456    --enable-fast-install[=PKGS]
1457                            optimize for fast installation [default=yes]
1458    --disable-libtool-lock  avoid locking (might break parallel builds)
1459    --enable-ltdl-install   install libltdl
1460 <  --disable-zlib          Disable ziplinks support
1460 >  --disable-libpcre       Disable PCRE support
1461    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1462    --disable-openssl            Disable OpenSSL support.
1463    --enable-assert         Enable assert() statements
# Line 1636 | Line 1468 | Optional Features:
1468    --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1470    --enable-select         Force select usage.
1639  --enable-efnet          For IRCDs running on EFnet.
1471    --enable-halfops        Enable halfops support.
1472    --enable-debugging      Enable debugging.
1473    --enable-warnings       Enable compiler warnings.
1643  --enable-syslog="EVENTS"
1644                          Enable syslog for events: users oper (space
1645                          separated in quotes; default: disabled).
1474  
1475   Optional Packages:
1476    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1477    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1478 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1478 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1479                            both]
1480    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1481 +  --with-sysroot=DIR Search for dependent libraries within DIR
1482 +                        (or the compiler's sysroot if not specified).
1483    --with-included-ltdl    use the GNU ltdl sources included here
1484    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1485    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1656  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1486    --with-nicklen=<value>  Set nickname length (default 9).
1487    --with-topiclen=<value> Set topic length (default 160).
1659  --with-syslog-facility=LOG
1660                          Define the syslog facility to use (default:
1661                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1666 | Line 1492 | Some influential environment variables:
1492    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1493                nonstandard directory <lib dir>
1494    LIBS        libraries to pass to the linker, e.g. -l<library>
1495 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1495 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1496                you have headers in a nonstandard directory <include dir>
1497 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1498 <              the first program found out of: `bison -y', `byacc', `yacc'.
1497 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1498 >              Defaults to the first program found out of: `bison -y', `byacc',
1499 >              `yacc'.
1500    YFLAGS      The list of arguments that will be passed by default to $YACC.
1501                This script will default YFLAGS to the empty string to avoid a
1502                default value of `-d' given by some make applications.
# Line 1678 | Line 1505 | Some influential environment variables:
1505   Use these variables to override the choices made by `configure' or to help
1506   it to find libraries and programs with nonstandard names/locations.
1507  
1508 + Report bugs to <bugs@ircd-hybrid.org>.
1509   _ACEOF
1510   ac_status=$?
1511   fi
# Line 1740 | Line 1568 | fi
1568   test -n "$ac_init_help" && exit $ac_status
1569   if $ac_init_version; then
1570    cat <<\_ACEOF
1571 < ircd-hybrid configure 7.2.4
1572 < generated by GNU Autoconf 2.63
1571 > ircd-hybrid configure 8beta2
1572 > generated by GNU Autoconf 2.69
1573  
1574 < Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1747 < 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1574 > Copyright (C) 2012 Free Software Foundation, Inc.
1575   This configure script is free software; the Free Software Foundation
1576   gives unlimited permission to copy, distribute and modify it.
1577   _ACEOF
1578    exit
1579   fi
1580 +
1581 + ## ------------------------ ##
1582 + ## Autoconf initialization. ##
1583 + ## ------------------------ ##
1584 +
1585 + # ac_fn_c_try_compile LINENO
1586 + # --------------------------
1587 + # Try to compile conftest.$ac_ext, and return whether this succeeded.
1588 + ac_fn_c_try_compile ()
1589 + {
1590 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591 +  rm -f conftest.$ac_objext
1592 +  if { { ac_try="$ac_compile"
1593 + case "(($ac_try" in
1594 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595 +  *) ac_try_echo=$ac_try;;
1596 + esac
1597 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 + $as_echo "$ac_try_echo"; } >&5
1599 +  (eval "$ac_compile") 2>conftest.err
1600 +  ac_status=$?
1601 +  if test -s conftest.err; then
1602 +    grep -v '^ *+' conftest.err >conftest.er1
1603 +    cat conftest.er1 >&5
1604 +    mv -f conftest.er1 conftest.err
1605 +  fi
1606 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 +  test $ac_status = 0; } && {
1608 +         test -z "$ac_c_werror_flag" ||
1609 +         test ! -s conftest.err
1610 +       } && test -s conftest.$ac_objext; then :
1611 +  ac_retval=0
1612 + else
1613 +  $as_echo "$as_me: failed program was:" >&5
1614 + sed 's/^/| /' conftest.$ac_ext >&5
1615 +
1616 +        ac_retval=1
1617 + fi
1618 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 +  as_fn_set_status $ac_retval
1620 +
1621 + } # ac_fn_c_try_compile
1622 +
1623 + # ac_fn_c_try_link LINENO
1624 + # -----------------------
1625 + # Try to link conftest.$ac_ext, and return whether this succeeded.
1626 + ac_fn_c_try_link ()
1627 + {
1628 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 +  rm -f conftest.$ac_objext conftest$ac_exeext
1630 +  if { { ac_try="$ac_link"
1631 + case "(($ac_try" in
1632 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633 +  *) ac_try_echo=$ac_try;;
1634 + esac
1635 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 + $as_echo "$ac_try_echo"; } >&5
1637 +  (eval "$ac_link") 2>conftest.err
1638 +  ac_status=$?
1639 +  if test -s conftest.err; then
1640 +    grep -v '^ *+' conftest.err >conftest.er1
1641 +    cat conftest.er1 >&5
1642 +    mv -f conftest.er1 conftest.err
1643 +  fi
1644 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 +  test $ac_status = 0; } && {
1646 +         test -z "$ac_c_werror_flag" ||
1647 +         test ! -s conftest.err
1648 +       } && test -s conftest$ac_exeext && {
1649 +         test "$cross_compiling" = yes ||
1650 +         test -x conftest$ac_exeext
1651 +       }; then :
1652 +  ac_retval=0
1653 + else
1654 +  $as_echo "$as_me: failed program was:" >&5
1655 + sed 's/^/| /' conftest.$ac_ext >&5
1656 +
1657 +        ac_retval=1
1658 + fi
1659 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1660 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1661 +  # interfere with the next link command; also delete a directory that is
1662 +  # left behind by Apple's compiler.  We do this before executing the actions.
1663 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 +  as_fn_set_status $ac_retval
1666 +
1667 + } # ac_fn_c_try_link
1668 +
1669 + # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1670 + # -------------------------------------------------------
1671 + # Tests whether HEADER exists and can be compiled using the include files in
1672 + # INCLUDES, setting the cache variable VAR accordingly.
1673 + ac_fn_c_check_header_compile ()
1674 + {
1675 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 + $as_echo_n "checking for $2... " >&6; }
1678 + if eval \${$3+:} false; then :
1679 +  $as_echo_n "(cached) " >&6
1680 + else
1681 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1682 + /* end confdefs.h.  */
1683 + $4
1684 + #include <$2>
1685 + _ACEOF
1686 + if ac_fn_c_try_compile "$LINENO"; then :
1687 +  eval "$3=yes"
1688 + else
1689 +  eval "$3=no"
1690 + fi
1691 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1692 + fi
1693 + eval ac_res=\$$3
1694 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695 + $as_echo "$ac_res" >&6; }
1696 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697 +
1698 + } # ac_fn_c_check_header_compile
1699 +
1700 + # ac_fn_c_try_cpp LINENO
1701 + # ----------------------
1702 + # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1703 + ac_fn_c_try_cpp ()
1704 + {
1705 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 +  if { { ac_try="$ac_cpp conftest.$ac_ext"
1707 + case "(($ac_try" in
1708 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709 +  *) ac_try_echo=$ac_try;;
1710 + esac
1711 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 + $as_echo "$ac_try_echo"; } >&5
1713 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1714 +  ac_status=$?
1715 +  if test -s conftest.err; then
1716 +    grep -v '^ *+' conftest.err >conftest.er1
1717 +    cat conftest.er1 >&5
1718 +    mv -f conftest.er1 conftest.err
1719 +  fi
1720 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 +  test $ac_status = 0; } > conftest.i && {
1722 +         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1723 +         test ! -s conftest.err
1724 +       }; then :
1725 +  ac_retval=0
1726 + else
1727 +  $as_echo "$as_me: failed program was:" >&5
1728 + sed 's/^/| /' conftest.$ac_ext >&5
1729 +
1730 +    ac_retval=1
1731 + fi
1732 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 +  as_fn_set_status $ac_retval
1734 +
1735 + } # ac_fn_c_try_cpp
1736 +
1737 + # ac_fn_c_try_run LINENO
1738 + # ----------------------
1739 + # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1740 + # that executables *can* be run.
1741 + ac_fn_c_try_run ()
1742 + {
1743 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 +  if { { ac_try="$ac_link"
1745 + case "(($ac_try" in
1746 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747 +  *) ac_try_echo=$ac_try;;
1748 + esac
1749 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 + $as_echo "$ac_try_echo"; } >&5
1751 +  (eval "$ac_link") 2>&5
1752 +  ac_status=$?
1753 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 +  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1755 +  { { case "(($ac_try" in
1756 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1757 +  *) ac_try_echo=$ac_try;;
1758 + esac
1759 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 + $as_echo "$ac_try_echo"; } >&5
1761 +  (eval "$ac_try") 2>&5
1762 +  ac_status=$?
1763 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764 +  test $ac_status = 0; }; }; then :
1765 +  ac_retval=0
1766 + else
1767 +  $as_echo "$as_me: program exited with status $ac_status" >&5
1768 +       $as_echo "$as_me: failed program was:" >&5
1769 + sed 's/^/| /' conftest.$ac_ext >&5
1770 +
1771 +       ac_retval=$ac_status
1772 + fi
1773 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 +  as_fn_set_status $ac_retval
1776 +
1777 + } # ac_fn_c_try_run
1778 +
1779 + # ac_fn_c_check_func LINENO FUNC VAR
1780 + # ----------------------------------
1781 + # Tests whether FUNC exists, setting the cache variable VAR accordingly
1782 + ac_fn_c_check_func ()
1783 + {
1784 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 + $as_echo_n "checking for $2... " >&6; }
1787 + if eval \${$3+:} false; then :
1788 +  $as_echo_n "(cached) " >&6
1789 + else
1790 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 + /* end confdefs.h.  */
1792 + /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1793 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1794 + #define $2 innocuous_$2
1795 +
1796 + /* System header to define __stub macros and hopefully few prototypes,
1797 +    which can conflict with char $2 (); below.
1798 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1799 +    <limits.h> exists even on freestanding compilers.  */
1800 +
1801 + #ifdef __STDC__
1802 + # include <limits.h>
1803 + #else
1804 + # include <assert.h>
1805 + #endif
1806 +
1807 + #undef $2
1808 +
1809 + /* Override any GCC internal prototype to avoid an error.
1810 +   Use char because int might match the return type of a GCC
1811 +   builtin and then its argument prototype would still apply.  */
1812 + #ifdef __cplusplus
1813 + extern "C"
1814 + #endif
1815 + char $2 ();
1816 + /* The GNU C library defines this for functions which it implements
1817 +    to always fail with ENOSYS.  Some functions are actually named
1818 +    something starting with __ and the normal name is an alias.  */
1819 + #if defined __stub_$2 || defined __stub___$2
1820 + choke me
1821 + #endif
1822 +
1823 + int
1824 + main ()
1825 + {
1826 + return $2 ();
1827 +  ;
1828 +  return 0;
1829 + }
1830 + _ACEOF
1831 + if ac_fn_c_try_link "$LINENO"; then :
1832 +  eval "$3=yes"
1833 + else
1834 +  eval "$3=no"
1835 + fi
1836 + rm -f core conftest.err conftest.$ac_objext \
1837 +    conftest$ac_exeext conftest.$ac_ext
1838 + fi
1839 + eval ac_res=\$$3
1840 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841 + $as_echo "$ac_res" >&6; }
1842 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843 +
1844 + } # ac_fn_c_check_func
1845 +
1846 + # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1847 + # ---------------------------------------------
1848 + # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1849 + # accordingly.
1850 + ac_fn_c_check_decl ()
1851 + {
1852 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 +  as_decl_name=`echo $2|sed 's/ *(.*//'`
1854 +  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1855 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1856 + $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1857 + if eval \${$3+:} false; then :
1858 +  $as_echo_n "(cached) " >&6
1859 + else
1860 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1861 + /* end confdefs.h.  */
1862 + $4
1863 + int
1864 + main ()
1865 + {
1866 + #ifndef $as_decl_name
1867 + #ifdef __cplusplus
1868 +  (void) $as_decl_use;
1869 + #else
1870 +  (void) $as_decl_name;
1871 + #endif
1872 + #endif
1873 +
1874 +  ;
1875 +  return 0;
1876 + }
1877 + _ACEOF
1878 + if ac_fn_c_try_compile "$LINENO"; then :
1879 +  eval "$3=yes"
1880 + else
1881 +  eval "$3=no"
1882 + fi
1883 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1884 + fi
1885 + eval ac_res=\$$3
1886 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 + $as_echo "$ac_res" >&6; }
1888 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 +
1890 + } # ac_fn_c_check_decl
1891 +
1892 + # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1893 + # -------------------------------------------
1894 + # Tests whether TYPE exists after having included INCLUDES, setting cache
1895 + # variable VAR accordingly.
1896 + ac_fn_c_check_type ()
1897 + {
1898 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 + $as_echo_n "checking for $2... " >&6; }
1901 + if eval \${$3+:} false; then :
1902 +  $as_echo_n "(cached) " >&6
1903 + else
1904 +  eval "$3=no"
1905 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 + /* end confdefs.h.  */
1907 + $4
1908 + int
1909 + main ()
1910 + {
1911 + if (sizeof ($2))
1912 +         return 0;
1913 +  ;
1914 +  return 0;
1915 + }
1916 + _ACEOF
1917 + if ac_fn_c_try_compile "$LINENO"; then :
1918 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 + /* end confdefs.h.  */
1920 + $4
1921 + int
1922 + main ()
1923 + {
1924 + if (sizeof (($2)))
1925 +            return 0;
1926 +  ;
1927 +  return 0;
1928 + }
1929 + _ACEOF
1930 + if ac_fn_c_try_compile "$LINENO"; then :
1931 +
1932 + else
1933 +  eval "$3=yes"
1934 + fi
1935 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1936 + fi
1937 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1938 + fi
1939 + eval ac_res=\$$3
1940 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 + $as_echo "$ac_res" >&6; }
1942 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943 +
1944 + } # ac_fn_c_check_type
1945 +
1946 + # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1947 + # ----------------------------------------------------
1948 + # Tries to find if the field MEMBER exists in type AGGR, after including
1949 + # INCLUDES, setting cache variable VAR accordingly.
1950 + ac_fn_c_check_member ()
1951 + {
1952 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1954 + $as_echo_n "checking for $2.$3... " >&6; }
1955 + if eval \${$4+:} false; then :
1956 +  $as_echo_n "(cached) " >&6
1957 + else
1958 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 + /* end confdefs.h.  */
1960 + $5
1961 + int
1962 + main ()
1963 + {
1964 + static $2 ac_aggr;
1965 + if (ac_aggr.$3)
1966 + return 0;
1967 +  ;
1968 +  return 0;
1969 + }
1970 + _ACEOF
1971 + if ac_fn_c_try_compile "$LINENO"; then :
1972 +  eval "$4=yes"
1973 + else
1974 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1975 + /* end confdefs.h.  */
1976 + $5
1977 + int
1978 + main ()
1979 + {
1980 + static $2 ac_aggr;
1981 + if (sizeof ac_aggr.$3)
1982 + return 0;
1983 +  ;
1984 +  return 0;
1985 + }
1986 + _ACEOF
1987 + if ac_fn_c_try_compile "$LINENO"; then :
1988 +  eval "$4=yes"
1989 + else
1990 +  eval "$4=no"
1991 + fi
1992 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1993 + fi
1994 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995 + fi
1996 + eval ac_res=\$$4
1997 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998 + $as_echo "$ac_res" >&6; }
1999 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000 +
2001 + } # ac_fn_c_check_member
2002 +
2003 + # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2004 + # -------------------------------------------------------
2005 + # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2006 + # the include files in INCLUDES and setting the cache variable VAR
2007 + # accordingly.
2008 + ac_fn_c_check_header_mongrel ()
2009 + {
2010 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 +  if eval \${$3+:} false; then :
2012 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013 + $as_echo_n "checking for $2... " >&6; }
2014 + if eval \${$3+:} false; then :
2015 +  $as_echo_n "(cached) " >&6
2016 + fi
2017 + eval ac_res=\$$3
2018 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2019 + $as_echo "$ac_res" >&6; }
2020 + else
2021 +  # Is the header compilable?
2022 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2023 + $as_echo_n "checking $2 usability... " >&6; }
2024 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 + /* end confdefs.h.  */
2026 + $4
2027 + #include <$2>
2028 + _ACEOF
2029 + if ac_fn_c_try_compile "$LINENO"; then :
2030 +  ac_header_compiler=yes
2031 + else
2032 +  ac_header_compiler=no
2033 + fi
2034 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2036 + $as_echo "$ac_header_compiler" >&6; }
2037 +
2038 + # Is the header present?
2039 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2040 + $as_echo_n "checking $2 presence... " >&6; }
2041 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2042 + /* end confdefs.h.  */
2043 + #include <$2>
2044 + _ACEOF
2045 + if ac_fn_c_try_cpp "$LINENO"; then :
2046 +  ac_header_preproc=yes
2047 + else
2048 +  ac_header_preproc=no
2049 + fi
2050 + rm -f conftest.err conftest.i conftest.$ac_ext
2051 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2052 + $as_echo "$ac_header_preproc" >&6; }
2053 +
2054 + # So?  What about this header?
2055 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2056 +  yes:no: )
2057 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2058 + $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2059 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2060 + $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2061 +    ;;
2062 +  no:yes:* )
2063 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2064 + $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2065 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2066 + $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2067 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2068 + $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2069 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2070 + $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2071 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2072 + $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2073 + ( $as_echo "## ----------------------------------- ##
2074 + ## Report this to bugs@ircd-hybrid.org ##
2075 + ## ----------------------------------- ##"
2076 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2077 +    ;;
2078 + esac
2079 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080 + $as_echo_n "checking for $2... " >&6; }
2081 + if eval \${$3+:} false; then :
2082 +  $as_echo_n "(cached) " >&6
2083 + else
2084 +  eval "$3=\$ac_header_compiler"
2085 + fi
2086 + eval ac_res=\$$3
2087 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 + $as_echo "$ac_res" >&6; }
2089 + fi
2090 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091 +
2092 + } # ac_fn_c_check_header_mongrel
2093   cat >config.log <<_ACEOF
2094   This file contains any messages produced by compilers while
2095   running configure, to aid debugging if configure makes a mistake.
2096  
2097 < It was created by ircd-hybrid $as_me 7.2.4, which was
2098 < generated by GNU Autoconf 2.63.  Invocation command line was
2097 > It was created by ircd-hybrid $as_me 8beta2, which was
2098 > generated by GNU Autoconf 2.69.  Invocation command line was
2099  
2100    $ $0 $@
2101  
# Line 1791 | Line 2131 | for as_dir in $PATH
2131   do
2132    IFS=$as_save_IFS
2133    test -z "$as_dir" && as_dir=.
2134 <  $as_echo "PATH: $as_dir"
2135 < done
2134 >    $as_echo "PATH: $as_dir"
2135 >  done
2136   IFS=$as_save_IFS
2137  
2138   } >&5
# Line 1829 | Line 2169 | do
2169        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2170      esac
2171      case $ac_pass in
2172 <    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2172 >    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2173      2)
2174 <      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2174 >      as_fn_append ac_configure_args1 " '$ac_arg'"
2175        if test $ac_must_keep_next = true; then
2176          ac_must_keep_next=false # Got value, back to normal.
2177        else
# Line 1847 | Line 2187 | do
2187            -* ) ac_must_keep_next=true ;;
2188          esac
2189        fi
2190 <      ac_configure_args="$ac_configure_args '$ac_arg'"
2190 >      as_fn_append ac_configure_args " '$ac_arg'"
2191        ;;
2192      esac
2193    done
2194   done
2195 < $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2196 < $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2195 > { ac_configure_args0=; unset ac_configure_args0;}
2196 > { ac_configure_args1=; unset ac_configure_args1;}
2197  
2198   # When interrupted or exit'd, cleanup temporary files, and complete
2199   # config.log.  We remove comments because anyway the quotes in there
# Line 1865 | Line 2205 | trap 'exit_status=$?
2205    {
2206      echo
2207  
2208 <    cat <<\_ASBOX
1869 < ## ---------------- ##
2208 >    $as_echo "## ---------------- ##
2209   ## Cache variables. ##
2210 < ## ---------------- ##
1872 < _ASBOX
2210 > ## ---------------- ##"
2211      echo
2212      # The following way of writing the cache mishandles newlines in values,
2213   (
# Line 1878 | Line 2216 | _ASBOX
2216      case $ac_val in #(
2217      *${as_nl}*)
2218        case $ac_var in #(
2219 <      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2219 >      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2220   $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2221        esac
2222        case $ac_var in #(
2223        _ | IFS | as_nl) ;; #(
2224        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2225 <      *) $as_unset $ac_var ;;
2225 >      *) { eval $ac_var=; unset $ac_var;} ;;
2226        esac ;;
2227      esac
2228    done
# Line 1903 | Line 2241 | $as_echo "$as_me: WARNING: cache variabl
2241   )
2242      echo
2243  
2244 <    cat <<\_ASBOX
1907 < ## ----------------- ##
2244 >    $as_echo "## ----------------- ##
2245   ## Output variables. ##
2246 < ## ----------------- ##
1910 < _ASBOX
2246 > ## ----------------- ##"
2247      echo
2248      for ac_var in $ac_subst_vars
2249      do
# Line 1920 | Line 2256 | _ASBOX
2256      echo
2257  
2258      if test -n "$ac_subst_files"; then
2259 <      cat <<\_ASBOX
1924 < ## ------------------- ##
2259 >      $as_echo "## ------------------- ##
2260   ## File substitutions. ##
2261 < ## ------------------- ##
1927 < _ASBOX
2261 > ## ------------------- ##"
2262        echo
2263        for ac_var in $ac_subst_files
2264        do
# Line 1938 | Line 2272 | _ASBOX
2272      fi
2273  
2274      if test -s confdefs.h; then
2275 <      cat <<\_ASBOX
1942 < ## ----------- ##
2275 >      $as_echo "## ----------- ##
2276   ## confdefs.h. ##
2277 < ## ----------- ##
1945 < _ASBOX
2277 > ## ----------- ##"
2278        echo
2279        cat confdefs.h
2280        echo
# Line 1956 | Line 2288 | _ASBOX
2288      exit $exit_status
2289   ' 0
2290   for ac_signal in 1 2 13 15; do
2291 <  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2291 >  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2292   done
2293   ac_signal=0
2294  
2295   # confdefs.h avoids OS command line length limits that DEFS can exceed.
2296   rm -f -r conftest* confdefs.h
2297  
2298 + $as_echo "/* confdefs.h */" > confdefs.h
2299 +
2300   # Predefined preprocessor variables.
2301  
2302   cat >>confdefs.h <<_ACEOF
2303   #define PACKAGE_NAME "$PACKAGE_NAME"
2304   _ACEOF
2305  
1972
2306   cat >>confdefs.h <<_ACEOF
2307   #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2308   _ACEOF
2309  
1977
2310   cat >>confdefs.h <<_ACEOF
2311   #define PACKAGE_VERSION "$PACKAGE_VERSION"
2312   _ACEOF
2313  
1982
2314   cat >>confdefs.h <<_ACEOF
2315   #define PACKAGE_STRING "$PACKAGE_STRING"
2316   _ACEOF
2317  
1987
2318   cat >>confdefs.h <<_ACEOF
2319   #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2320   _ACEOF
2321  
2322 + cat >>confdefs.h <<_ACEOF
2323 + #define PACKAGE_URL "$PACKAGE_URL"
2324 + _ACEOF
2325 +
2326  
2327   # Let the site file select an alternate cache file if it wants to.
2328   # Prefer an explicitly selected file to automatically selected ones.
2329   ac_site_file1=NONE
2330   ac_site_file2=NONE
2331   if test -n "$CONFIG_SITE"; then
2332 <  ac_site_file1=$CONFIG_SITE
2332 >  # We do not want a PATH search for config.site.
2333 >  case $CONFIG_SITE in #((
2334 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2335 >    */*) ac_site_file1=$CONFIG_SITE;;
2336 >    *)   ac_site_file1=./$CONFIG_SITE;;
2337 >  esac
2338   elif test "x$prefix" != xNONE; then
2339    ac_site_file1=$prefix/share/config.site
2340    ac_site_file2=$prefix/etc/config.site
# Line 2006 | Line 2345 | fi
2345   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2346   do
2347    test "x$ac_site_file" = xNONE && continue
2348 <  if test -r "$ac_site_file"; then
2349 <    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2348 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2349 >    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2350   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2351      sed 's/^/| /' "$ac_site_file" >&5
2352 <    . "$ac_site_file"
2352 >    . "$ac_site_file" \
2353 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2354 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2355 > as_fn_error $? "failed to load site script $ac_site_file
2356 > See \`config.log' for more details" "$LINENO" 5; }
2357    fi
2358   done
2359  
2360   if test -r "$cache_file"; then
2361 <  # Some versions of bash will fail to source /dev/null (special
2362 <  # files actually), so we avoid doing that.
2363 <  if test -f "$cache_file"; then
2364 <    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2361 >  # Some versions of bash will fail to source /dev/null (special files
2362 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2363 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2364 >    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2365   $as_echo "$as_me: loading cache $cache_file" >&6;}
2366      case $cache_file in
2367        [\\/]* | ?:[\\/]* ) . "$cache_file";;
# Line 2026 | Line 2369 | $as_echo "$as_me: loading cache $cache_f
2369      esac
2370    fi
2371   else
2372 <  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2372 >  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2373   $as_echo "$as_me: creating cache $cache_file" >&6;}
2374    >$cache_file
2375   fi
2376  
2377 < ac_func_list="$ac_func_list snprintf"
2378 < ac_func_list="$ac_func_list vsnprintf"
2379 < ac_func_list="$ac_func_list lrand48"
2380 < ac_func_list="$ac_func_list srand48"
2381 < ac_func_list="$ac_func_list mmap"
2382 < ac_func_list="$ac_func_list strtok_r"
2383 < ac_func_list="$ac_func_list usleep"
2384 < ac_func_list="$ac_func_list strlcat"
2385 < ac_func_list="$ac_func_list strlcpy"
2386 < ac_func_list="$ac_func_list basename"
2387 < ac_header_list="$ac_header_list crypt.h"
2388 < ac_header_list="$ac_header_list inttypes.h"
2046 < ac_header_list="$ac_header_list stdint.h"
2047 < ac_header_list="$ac_header_list sys/resource.h"
2048 < ac_header_list="$ac_header_list sys/param.h"
2049 < ac_header_list="$ac_header_list errno.h"
2050 < 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"
2377 > as_fn_append ac_func_list " mmap"
2378 > as_fn_append ac_func_list " strtok_r"
2379 > as_fn_append ac_func_list " usleep"
2380 > as_fn_append ac_func_list " strlcat"
2381 > as_fn_append ac_func_list " strlcpy"
2382 > as_fn_append ac_header_list " crypt.h"
2383 > as_fn_append ac_header_list " sys/resource.h"
2384 > as_fn_append ac_header_list " sys/param.h"
2385 > as_fn_append ac_header_list " types.h"
2386 > as_fn_append ac_header_list " socket.h"
2387 > as_fn_append ac_header_list " sys/wait.h"
2388 > as_fn_append ac_header_list " wait.h"
2389   # Check that the precious variables saved in the cache have kept the same
2390   # value.
2391   ac_cache_corrupted=false
# Line 2065 | Line 2396 | for ac_var in $ac_precious_vars; do
2396    eval ac_new_val=\$ac_env_${ac_var}_value
2397    case $ac_old_set,$ac_new_set in
2398      set,)
2399 <      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2399 >      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2400   $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2401        ac_cache_corrupted=: ;;
2402      ,set)
2403 <      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2403 >      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2404   $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2405        ac_cache_corrupted=: ;;
2406      ,);;
# Line 2079 | Line 2410 | $as_echo "$as_me: error: \`$ac_var' was
2410          ac_old_val_w=`echo x $ac_old_val`
2411          ac_new_val_w=`echo x $ac_new_val`
2412          if test "$ac_old_val_w" != "$ac_new_val_w"; then
2413 <          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2413 >          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2414   $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2415            ac_cache_corrupted=:
2416          else
2417 <          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2417 >          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2418   $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2419            eval $ac_var=\$ac_old_val
2420          fi
2421 <        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2421 >        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2422   $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2423 <        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2423 >        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2424   $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2425        fi;;
2426    esac
# Line 2101 | Line 2432 | $as_echo "$as_me:   current value: \`$ac
2432      esac
2433      case " $ac_configure_args " in
2434        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2435 <      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2435 >      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2436      esac
2437    fi
2438   done
2439   if $ac_cache_corrupted; then
2440 <  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2440 >  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2441   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442 <  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2442 >  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2443   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2444 <  { { $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; }; }
2444 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2445   fi
2446 <
2447 <
2448 <
2120 <
2121 <
2122 <
2123 <
2124 <
2125 <
2126 <
2127 <
2128 <
2129 <
2130 <
2131 <
2132 <
2133 <
2134 <
2135 <
2136 <
2137 <
2138 <
2139 <
2140 <
2446 > ## -------------------- ##
2447 > ## Main body of script. ##
2448 > ## -------------------- ##
2449  
2450   ac_ext=c
2451   ac_cpp='$CPP $CPPFLAGS'
# Line 2146 | Line 2454 | ac_link='$CC -o conftest$ac_exeext $CFLA
2454   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2455  
2456  
2457 < am__api_version='1.11'
2457 > am__api_version='1.12'
2458  
2459   ac_aux_dir=
2460   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2165 | Line 2473 | for ac_dir in "$srcdir" "$srcdir/.." "$s
2473    fi
2474   done
2475   if test -z "$ac_aux_dir"; then
2476 <  { { $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; }; }
2476 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2477   fi
2478  
2479   # These three variables are undocumented and unsupported,
# Line 2193 | Line 2499 | ac_configure="$SHELL $ac_aux_dir/configu
2499   # OS/2's system install, which has a completely different semantic
2500   # ./install, which can be erroneously created by make from ./install.sh.
2501   # Reject install programs that cannot install multiple files.
2502 < { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2502 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2504   if test -z "$INSTALL"; then
2505 < if test "${ac_cv_path_install+set}" = set; then
2505 > if ${ac_cv_path_install+:} false; then :
2506    $as_echo_n "(cached) " >&6
2507   else
2508    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2204 | Line 2510 | for as_dir in $PATH
2510   do
2511    IFS=$as_save_IFS
2512    test -z "$as_dir" && as_dir=.
2513 <  # Account for people who put trailing slashes in PATH elements.
2514 < case $as_dir/ in
2515 <  ./ | .// | /cC/* | \
2513 >    # Account for people who put trailing slashes in PATH elements.
2514 > case $as_dir/ in #((
2515 >  ./ | .// | /[cC]/* | \
2516    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2517 <  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2517 >  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2518    /usr/ucb/* ) ;;
2519    *)
2520      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 2216 | Line 2522 | case $as_dir/ in
2522      # by default.
2523      for ac_prog in ginstall scoinst install; do
2524        for ac_exec_ext in '' $ac_executable_extensions; do
2525 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2525 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2526            if test $ac_prog = install &&
2527              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528              # AIX install.  It has an incompatible calling convention.
# Line 2245 | Line 2551 | case $as_dir/ in
2551      ;;
2552   esac
2553  
2554 < done
2554 >  done
2555   IFS=$as_save_IFS
2556  
2557   rm -rf conftest.one conftest.two conftest.dir
# Line 2261 | Line 2567 | fi
2567      INSTALL=$ac_install_sh
2568    fi
2569   fi
2570 < { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2570 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2571   $as_echo "$INSTALL" >&6; }
2572  
2573   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 2272 | Line 2578 | test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2578  
2579   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2580  
2581 < { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2581 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582   $as_echo_n "checking whether build environment is sane... " >&6; }
2277 # Just in case
2278 sleep 1
2279 echo timestamp > conftest.file
2583   # Reject unsafe characters in $srcdir or the absolute working directory
2584   # name.  Accept space and tab only in the latter.
2585   am_lf='
2586   '
2587   case `pwd` in
2588    *[\\\"\#\$\&\'\`$am_lf]*)
2589 <    { { $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; }; };;
2589 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2590   esac
2591   case $srcdir in
2592    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2593 <    { { $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; }; };;
2593 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2594   esac
2595  
2596 < # Do `set' in a subshell so we don't clobber the current shell's
2596 > # Do 'set' in a subshell so we don't clobber the current shell's
2597   # arguments.  Must try -L first in case configure is actually a
2598   # symlink; some systems play weird games with the mod time of symlinks
2599   # (eg FreeBSD returns the mod time of the symlink's containing
2600   # directory).
2601   if (
2602 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603 <   if test "$*" = "X"; then
2604 <      # -L didn't work.
2605 <      set X `ls -t "$srcdir/configure" conftest.file`
2606 <   fi
2607 <   rm -f conftest.file
2608 <   if test "$*" != "X $srcdir/configure conftest.file" \
2609 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2610 <
2611 <      # If neither matched, then we have a broken ls.  This can happen
2313 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2314 <      # broken ls alias from the environment.  This has actually
2315 <      # happened.  Such a system could not be considered "sane".
2316 <      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2317 < 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; }; }
2321 <   fi
2602 >   am_has_slept=no
2603 >   for am_try in 1 2; do
2604 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2605 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606 >     if test "$*" = "X"; then
2607 >        # -L didn't work.
2608 >        set X `ls -t "$srcdir/configure" conftest.file`
2609 >     fi
2610 >     if test "$*" != "X $srcdir/configure conftest.file" \
2611 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2612  
2613 +        # If neither matched, then we have a broken ls.  This can happen
2614 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2615 +        # broken ls alias from the environment.  This has actually
2616 +        # happened.  Such a system could not be considered "sane".
2617 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2618 +  alias in your environment" "$LINENO" 5
2619 +     fi
2620 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2621 +       break
2622 +     fi
2623 +     # Just in case.
2624 +     sleep 1
2625 +     am_has_slept=yes
2626 +   done
2627     test "$2" = conftest.file
2628     )
2629   then
2630     # Ok.
2631     :
2632   else
2633 <   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2634 < 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; }; }
2633 >   as_fn_error $? "newly created file is older than distributed files!
2634 > Check your system clock" "$LINENO" 5
2635   fi
2636 < { $as_echo "$as_me:$LINENO: result: yes" >&5
2636 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2637   $as_echo "yes" >&6; }
2638 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2639 + # generated files are strictly newer.
2640 + am_sleep_pid=
2641 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2642 +  ( sleep 1 ) &
2643 +  am_sleep_pid=$!
2644 + fi
2645 +
2646 + rm -f conftest.file
2647 +
2648   test "$program_prefix" != NONE &&
2649    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2650   # Use a double $ so make ignores it.
# Line 2360 | Line 2671 | if eval "$MISSING --run true"; then
2671    am_missing_run="$MISSING --run "
2672   else
2673    am_missing_run=
2674 <  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2675 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2674 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2675 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2676   fi
2677  
2678   if test x"${install_sh}" != xset; then
# Line 2373 | Line 2684 | if test x"${install_sh}" != xset; then
2684    esac
2685   fi
2686  
2687 < # Installed binaries are usually stripped using `strip' when the user
2688 < # run `make install-strip'.  However `strip' might not be the right
2687 > # Installed binaries are usually stripped using 'strip' when the user
2688 > # run "make install-strip".  However 'strip' might not be the right
2689   # tool to use in cross-compilation environments, therefore Automake
2690 < # will honor the `STRIP' environment variable to overrule this program.
2690 > # will honor the 'STRIP' environment variable to overrule this program.
2691   if test "$cross_compiling" != no; then
2692    if test -n "$ac_tool_prefix"; then
2693    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2694   set dummy ${ac_tool_prefix}strip; ac_word=$2
2695 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2695 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696   $as_echo_n "checking for $ac_word... " >&6; }
2697 < if test "${ac_cv_prog_STRIP+set}" = set; then
2697 > if ${ac_cv_prog_STRIP+:} false; then :
2698    $as_echo_n "(cached) " >&6
2699   else
2700    if test -n "$STRIP"; then
# Line 2394 | Line 2705 | for as_dir in $PATH
2705   do
2706    IFS=$as_save_IFS
2707    test -z "$as_dir" && as_dir=.
2708 <  for ac_exec_ext in '' $ac_executable_extensions; do
2709 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 >    for ac_exec_ext in '' $ac_executable_extensions; do
2709 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2711 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712      break 2
2713    fi
2714   done
2715 < done
2715 >  done
2716   IFS=$as_save_IFS
2717  
2718   fi
2719   fi
2720   STRIP=$ac_cv_prog_STRIP
2721   if test -n "$STRIP"; then
2722 <  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2722 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2723   $as_echo "$STRIP" >&6; }
2724   else
2725 <  { $as_echo "$as_me:$LINENO: result: no" >&5
2725 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726   $as_echo "no" >&6; }
2727   fi
2728  
# Line 2421 | Line 2732 | if test -z "$ac_cv_prog_STRIP"; then
2732    ac_ct_STRIP=$STRIP
2733    # Extract the first word of "strip", so it can be a program name with args.
2734   set dummy strip; ac_word=$2
2735 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2735 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736   $as_echo_n "checking for $ac_word... " >&6; }
2737 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2737 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2738    $as_echo_n "(cached) " >&6
2739   else
2740    if test -n "$ac_ct_STRIP"; then
# Line 2434 | Line 2745 | for as_dir in $PATH
2745   do
2746    IFS=$as_save_IFS
2747    test -z "$as_dir" && as_dir=.
2748 <  for ac_exec_ext in '' $ac_executable_extensions; do
2749 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 >    for ac_exec_ext in '' $ac_executable_extensions; do
2749 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2750      ac_cv_prog_ac_ct_STRIP="strip"
2751 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752      break 2
2753    fi
2754   done
2755 < done
2755 >  done
2756   IFS=$as_save_IFS
2757  
2758   fi
2759   fi
2760   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2761   if test -n "$ac_ct_STRIP"; then
2762 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2762 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2763   $as_echo "$ac_ct_STRIP" >&6; }
2764   else
2765 <  { $as_echo "$as_me:$LINENO: result: no" >&5
2765 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2766   $as_echo "no" >&6; }
2767   fi
2768  
# Line 2460 | Line 2771 | fi
2771    else
2772      case $cross_compiling:$ac_tool_warned in
2773   yes:)
2774 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2774 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2775   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2776   ac_tool_warned=yes ;;
2777   esac
# Line 2473 | Line 2784 | fi
2784   fi
2785   INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2786  
2787 < { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2787 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2788   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2789   if test -z "$MKDIR_P"; then
2790 <  if test "${ac_cv_path_mkdir+set}" = set; then
2790 >  if ${ac_cv_path_mkdir+:} false; then :
2791    $as_echo_n "(cached) " >&6
2792   else
2793    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2484 | Line 2795 | for as_dir in $PATH$PATH_SEPARATOR/opt/s
2795   do
2796    IFS=$as_save_IFS
2797    test -z "$as_dir" && as_dir=.
2798 <  for ac_prog in mkdir gmkdir; do
2798 >    for ac_prog in mkdir gmkdir; do
2799           for ac_exec_ext in '' $ac_executable_extensions; do
2800 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2800 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2801             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2802               'mkdir (GNU coreutils) '* | \
2803               'mkdir (coreutils) '* | \
# Line 2496 | Line 2807 | do
2807             esac
2808           done
2809         done
2810 < done
2810 >  done
2811   IFS=$as_save_IFS
2812  
2813   fi
2814  
2815 +  test -d ./--version && rmdir ./--version
2816    if test "${ac_cv_path_mkdir+set}" = set; then
2817      MKDIR_P="$ac_cv_path_mkdir -p"
2818    else
# Line 2508 | Line 2820 | fi
2820      # value for MKDIR_P within a source directory, because that will
2821      # break other packages using the cache if that directory is
2822      # removed, or if the value is a relative name.
2511    test -d ./--version && rmdir ./--version
2823      MKDIR_P="$ac_install_sh -d"
2824    fi
2825   fi
2826 < { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2826 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2827   $as_echo "$MKDIR_P" >&6; }
2828  
2518 mkdir_p="$MKDIR_P"
2519 case $mkdir_p in
2520  [\\/$]* | ?:[\\/]*) ;;
2521  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2522 esac
2523
2829   for ac_prog in gawk mawk nawk awk
2830   do
2831    # Extract the first word of "$ac_prog", so it can be a program name with args.
2832   set dummy $ac_prog; ac_word=$2
2833 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2833 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834   $as_echo_n "checking for $ac_word... " >&6; }
2835 < if test "${ac_cv_prog_AWK+set}" = set; then
2835 > if ${ac_cv_prog_AWK+:} false; then :
2836    $as_echo_n "(cached) " >&6
2837   else
2838    if test -n "$AWK"; then
# Line 2538 | Line 2843 | for as_dir in $PATH
2843   do
2844    IFS=$as_save_IFS
2845    test -z "$as_dir" && as_dir=.
2846 <  for ac_exec_ext in '' $ac_executable_extensions; do
2847 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2846 >    for ac_exec_ext in '' $ac_executable_extensions; do
2847 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2848      ac_cv_prog_AWK="$ac_prog"
2849 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850      break 2
2851    fi
2852   done
2853 < done
2853 >  done
2854   IFS=$as_save_IFS
2855  
2856   fi
2857   fi
2858   AWK=$ac_cv_prog_AWK
2859   if test -n "$AWK"; then
2860 <  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2860 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2861   $as_echo "$AWK" >&6; }
2862   else
2863 <  { $as_echo "$as_me:$LINENO: result: no" >&5
2863 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864   $as_echo "no" >&6; }
2865   fi
2866  
# Line 2563 | Line 2868 | fi
2868    test -n "$AWK" && break
2869   done
2870  
2871 < { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2871 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2872   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2873   set x ${MAKE-make}
2874   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2875 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2875 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2876    $as_echo_n "(cached) " >&6
2877   else
2878    cat >conftest.make <<\_ACEOF
# Line 2575 | Line 2880 | SHELL = /bin/sh
2880   all:
2881          @echo '@@@%%%=$(MAKE)=@@@%%%'
2882   _ACEOF
2883 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2883 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2884   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2885    *@@@%%%=?*=@@@%%%*)
2886      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 2585 | Line 2890 | esac
2890   rm -f conftest.make
2891   fi
2892   if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2893 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
2893 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2894   $as_echo "yes" >&6; }
2895    SET_MAKE=
2896   else
2897 <  { $as_echo "$as_me:$LINENO: result: no" >&5
2897 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898   $as_echo "no" >&6; }
2899    SET_MAKE="MAKE=${MAKE-make}"
2900   fi
# Line 2609 | Line 2914 | if test "`cd $srcdir && pwd`" != "`pwd`"
2914    am__isrc=' -I$(srcdir)'
2915    # test to see if srcdir already configured
2916    if test -f $srcdir/config.status; then
2917 <    { { $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; }; }
2917 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2918    fi
2919   fi
2920  
# Line 2627 | Line 2930 | fi
2930  
2931   # Define the identity of the package.
2932   PACKAGE='ircd-hybrid'
2933 < VERSION='7.2.4'
2933 > VERSION='8beta2'
2934  
2935  
2936   cat >>confdefs.h <<_ACEOF
# Line 2657 | Line 2960 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2960  
2961   # We need awk for the "check" target.  The system "awk" is bad on
2962   # some platforms.
2963 < # Always define AMTAR for backward compatibility.
2964 <
2965 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2963 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2964 > # in the wild :-(  We should find a proper way to deprecate it ...
2965 > AMTAR='$${TAR-tar}'
2966  
2967 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2967 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2968  
2969  
2970  
2971  
2972  
2973  
2974 < { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2974 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2975   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2976      # Check whether --enable-maintainer-mode was given.
2977 < if test "${enable_maintainer_mode+set}" = set; then
2977 > if test "${enable_maintainer_mode+set}" = set; then :
2978    enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2979   else
2980    USE_MAINTAINER_MODE=no
2981   fi
2982  
2983 <  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2983 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2984   $as_echo "$USE_MAINTAINER_MODE" >&6; }
2985     if test $USE_MAINTAINER_MODE = yes; then
2986    MAINTAINER_MODE_TRUE=
# Line 2694 | Line 2997 | ac_config_headers="$ac_config_headers co
2997  
2998  
2999  
2697
3000   # Checks for programs.
3001 + DEPDIR="${am__leading_dot}deps"
3002 +
3003 + ac_config_commands="$ac_config_commands depfiles"
3004 +
3005 +
3006 + am_make=${MAKE-make}
3007 + cat > confinc << 'END'
3008 + am__doit:
3009 +        @echo this is the am__doit target
3010 + .PHONY: am__doit
3011 + END
3012 + # If we don't find an include directive, just comment out the code.
3013 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3014 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3015 + am__include="#"
3016 + am__quote=
3017 + _am_result=none
3018 + # First try GNU make style include.
3019 + echo "include confinc" > confmf
3020 + # Ignore all kinds of additional output from 'make'.
3021 + case `$am_make -s -f confmf 2> /dev/null` in #(
3022 + *the\ am__doit\ target*)
3023 +  am__include=include
3024 +  am__quote=
3025 +  _am_result=GNU
3026 +  ;;
3027 + esac
3028 + # Now try BSD make style include.
3029 + if test "$am__include" = "#"; then
3030 +   echo '.include "confinc"' > confmf
3031 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3032 +   *the\ am__doit\ target*)
3033 +     am__include=.include
3034 +     am__quote="\""
3035 +     _am_result=BSD
3036 +     ;;
3037 +   esac
3038 + fi
3039 +
3040 +
3041 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3042 + $as_echo "$_am_result" >&6; }
3043 + rm -f confinc confmf
3044 +
3045 + # Check whether --enable-dependency-tracking was given.
3046 + if test "${enable_dependency_tracking+set}" = set; then :
3047 +  enableval=$enable_dependency_tracking;
3048 + fi
3049 +
3050 + if test "x$enable_dependency_tracking" != xno; then
3051 +  am_depcomp="$ac_aux_dir/depcomp"
3052 +  AMDEPBACKSLASH='\'
3053 +  am__nodep='_no'
3054 + fi
3055 + if test "x$enable_dependency_tracking" != xno; then
3056 +  AMDEP_TRUE=
3057 +  AMDEP_FALSE='#'
3058 + else
3059 +  AMDEP_TRUE='#'
3060 +  AMDEP_FALSE=
3061 + fi
3062 +
3063 +
3064   ac_ext=c
3065   ac_cpp='$CPP $CPPFLAGS'
3066   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2704 | Line 3069 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3069   if test -n "$ac_tool_prefix"; then
3070    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3071   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3072 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3072 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073   $as_echo_n "checking for $ac_word... " >&6; }
3074 < if test "${ac_cv_prog_CC+set}" = set; then
3074 > if ${ac_cv_prog_CC+:} false; then :
3075    $as_echo_n "(cached) " >&6
3076   else
3077    if test -n "$CC"; then
# Line 2717 | Line 3082 | for as_dir in $PATH
3082   do
3083    IFS=$as_save_IFS
3084    test -z "$as_dir" && as_dir=.
3085 <  for ac_exec_ext in '' $ac_executable_extensions; do
3086 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3085 >    for ac_exec_ext in '' $ac_executable_extensions; do
3086 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3087      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3088 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089      break 2
3090    fi
3091   done
3092 < done
3092 >  done
3093   IFS=$as_save_IFS
3094  
3095   fi
3096   fi
3097   CC=$ac_cv_prog_CC
3098   if test -n "$CC"; then
3099 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3099 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3100   $as_echo "$CC" >&6; }
3101   else
3102 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3102 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103   $as_echo "no" >&6; }
3104   fi
3105  
# Line 2744 | Line 3109 | if test -z "$ac_cv_prog_CC"; then
3109    ac_ct_CC=$CC
3110    # Extract the first word of "gcc", so it can be a program name with args.
3111   set dummy gcc; ac_word=$2
3112 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3112 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113   $as_echo_n "checking for $ac_word... " >&6; }
3114 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3114 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3115    $as_echo_n "(cached) " >&6
3116   else
3117    if test -n "$ac_ct_CC"; then
# Line 2757 | Line 3122 | for as_dir in $PATH
3122   do
3123    IFS=$as_save_IFS
3124    test -z "$as_dir" && as_dir=.
3125 <  for ac_exec_ext in '' $ac_executable_extensions; do
3126 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3125 >    for ac_exec_ext in '' $ac_executable_extensions; do
3126 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127      ac_cv_prog_ac_ct_CC="gcc"
3128 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129      break 2
3130    fi
3131   done
3132 < done
3132 >  done
3133   IFS=$as_save_IFS
3134  
3135   fi
3136   fi
3137   ac_ct_CC=$ac_cv_prog_ac_ct_CC
3138   if test -n "$ac_ct_CC"; then
3139 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3139 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3140   $as_echo "$ac_ct_CC" >&6; }
3141   else
3142 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3142 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143   $as_echo "no" >&6; }
3144   fi
3145  
# Line 2783 | Line 3148 | fi
3148    else
3149      case $cross_compiling:$ac_tool_warned in
3150   yes:)
3151 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3151 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3152   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3153   ac_tool_warned=yes ;;
3154   esac
# Line 2797 | Line 3162 | if test -z "$CC"; then
3162            if test -n "$ac_tool_prefix"; then
3163      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3164   set dummy ${ac_tool_prefix}cc; ac_word=$2
3165 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3165 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3166   $as_echo_n "checking for $ac_word... " >&6; }
3167 < if test "${ac_cv_prog_CC+set}" = set; then
3167 > if ${ac_cv_prog_CC+:} false; then :
3168    $as_echo_n "(cached) " >&6
3169   else
3170    if test -n "$CC"; then
# Line 2810 | Line 3175 | for as_dir in $PATH
3175   do
3176    IFS=$as_save_IFS
3177    test -z "$as_dir" && as_dir=.
3178 <  for ac_exec_ext in '' $ac_executable_extensions; do
3179 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3178 >    for ac_exec_ext in '' $ac_executable_extensions; do
3179 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3180      ac_cv_prog_CC="${ac_tool_prefix}cc"
3181 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182      break 2
3183    fi
3184   done
3185 < done
3185 >  done
3186   IFS=$as_save_IFS
3187  
3188   fi
3189   fi
3190   CC=$ac_cv_prog_CC
3191   if test -n "$CC"; then
3192 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3192 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3193   $as_echo "$CC" >&6; }
3194   else
3195 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3195 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3196   $as_echo "no" >&6; }
3197   fi
3198  
# Line 2837 | Line 3202 | fi
3202   if test -z "$CC"; then
3203    # Extract the first word of "cc", so it can be a program name with args.
3204   set dummy cc; ac_word=$2
3205 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3205 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3206   $as_echo_n "checking for $ac_word... " >&6; }
3207 < if test "${ac_cv_prog_CC+set}" = set; then
3207 > if ${ac_cv_prog_CC+:} false; then :
3208    $as_echo_n "(cached) " >&6
3209   else
3210    if test -n "$CC"; then
# Line 2851 | Line 3216 | for as_dir in $PATH
3216   do
3217    IFS=$as_save_IFS
3218    test -z "$as_dir" && as_dir=.
3219 <  for ac_exec_ext in '' $ac_executable_extensions; do
3220 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3219 >    for ac_exec_ext in '' $ac_executable_extensions; do
3220 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3221      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3222         ac_prog_rejected=yes
3223         continue
3224       fi
3225      ac_cv_prog_CC="cc"
3226 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227      break 2
3228    fi
3229   done
3230 < done
3230 >  done
3231   IFS=$as_save_IFS
3232  
3233   if test $ac_prog_rejected = yes; then
# Line 2881 | Line 3246 | fi
3246   fi
3247   CC=$ac_cv_prog_CC
3248   if test -n "$CC"; then
3249 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3249 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3250   $as_echo "$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 2896 | Line 3261 | if test -z "$CC"; then
3261    do
3262      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3263   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3264 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3264 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265   $as_echo_n "checking for $ac_word... " >&6; }
3266 < if test "${ac_cv_prog_CC+set}" = set; then
3266 > if ${ac_cv_prog_CC+:} false; then :
3267    $as_echo_n "(cached) " >&6
3268   else
3269    if test -n "$CC"; then
# Line 2909 | Line 3274 | for as_dir in $PATH
3274   do
3275    IFS=$as_save_IFS
3276    test -z "$as_dir" && as_dir=.
3277 <  for ac_exec_ext in '' $ac_executable_extensions; do
3278 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3277 >    for ac_exec_ext in '' $ac_executable_extensions; do
3278 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3280 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281      break 2
3282    fi
3283   done
3284 < done
3284 >  done
3285   IFS=$as_save_IFS
3286  
3287   fi
3288   fi
3289   CC=$ac_cv_prog_CC
3290   if test -n "$CC"; then
3291 <  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3291 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3292   $as_echo "$CC" >&6; }
3293   else
3294 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3294 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295   $as_echo "no" >&6; }
3296   fi
3297  
# Line 2940 | Line 3305 | if test -z "$CC"; then
3305   do
3306    # Extract the first word of "$ac_prog", so it can be a program name with args.
3307   set dummy $ac_prog; ac_word=$2
3308 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3308 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309   $as_echo_n "checking for $ac_word... " >&6; }
3310 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3310 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3311    $as_echo_n "(cached) " >&6
3312   else
3313    if test -n "$ac_ct_CC"; then
# Line 2953 | Line 3318 | for as_dir in $PATH
3318   do
3319    IFS=$as_save_IFS
3320    test -z "$as_dir" && as_dir=.
3321 <  for ac_exec_ext in '' $ac_executable_extensions; do
3322 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3321 >    for ac_exec_ext in '' $ac_executable_extensions; do
3322 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323      ac_cv_prog_ac_ct_CC="$ac_prog"
3324 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325      break 2
3326    fi
3327   done
3328 < done
3328 >  done
3329   IFS=$as_save_IFS
3330  
3331   fi
3332   fi
3333   ac_ct_CC=$ac_cv_prog_ac_ct_CC
3334   if test -n "$ac_ct_CC"; then
3335 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3335 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3336   $as_echo "$ac_ct_CC" >&6; }
3337   else
3338 <  { $as_echo "$as_me:$LINENO: result: no" >&5
3338 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339   $as_echo "no" >&6; }
3340   fi
3341  
# Line 2983 | Line 3348 | done
3348    else
3349      case $cross_compiling:$ac_tool_warned in
3350   yes:)
3351 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3351 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3352   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3353   ac_tool_warned=yes ;;
3354   esac
# Line 2994 | Line 3359 | fi
3359   fi
3360  
3361  
3362 < test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3362 > test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3363   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3364 < { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3365 < 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; }; }; }
3364 > as_fn_error $? "no acceptable C compiler found in \$PATH
3365 > See \`config.log' for more details" "$LINENO" 5; }
3366  
3367   # Provide some information about the compiler.
3368 < $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3368 > $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3369   set X $ac_compile
3370   ac_compiler=$2
3371 < { (ac_try="$ac_compiler --version >&5"
3372 < case "(($ac_try" in
3011 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 <  *) ac_try_echo=$ac_try;;
3013 < esac
3014 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3015 < $as_echo "$ac_try_echo") >&5
3016 <  (eval "$ac_compiler --version >&5") 2>&5
3017 <  ac_status=$?
3018 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 <  (exit $ac_status); }
3020 < { (ac_try="$ac_compiler -v >&5"
3021 < case "(($ac_try" in
3022 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 <  *) ac_try_echo=$ac_try;;
3024 < esac
3025 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3026 < $as_echo "$ac_try_echo") >&5
3027 <  (eval "$ac_compiler -v >&5") 2>&5
3028 <  ac_status=$?
3029 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 <  (exit $ac_status); }
3031 < { (ac_try="$ac_compiler -V >&5"
3371 > for ac_option in --version -v -V -qversion; do
3372 >  { { ac_try="$ac_compiler $ac_option >&5"
3373   case "(($ac_try" in
3374    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3375    *) ac_try_echo=$ac_try;;
3376   esac
3377 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3378 < $as_echo "$ac_try_echo") >&5
3379 <  (eval "$ac_compiler -V >&5") 2>&5
3377 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3378 > $as_echo "$ac_try_echo"; } >&5
3379 >  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3380    ac_status=$?
3381 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 <  (exit $ac_status); }
3381 >  if test -s conftest.err; then
3382 >    sed '10a\
3383 > ... rest of stderr output deleted ...
3384 >         10q' conftest.err >conftest.er1
3385 >    cat conftest.er1 >&5
3386 >  fi
3387 >  rm -f conftest.er1 conftest.err
3388 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389 >  test $ac_status = 0; }
3390 > done
3391  
3392 < cat >conftest.$ac_ext <<_ACEOF
3044 < /* confdefs.h.  */
3045 < _ACEOF
3046 < cat confdefs.h >>conftest.$ac_ext
3047 < cat >>conftest.$ac_ext <<_ACEOF
3392 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393   /* end confdefs.h.  */
3394  
3395   int
# Line 3060 | Line 3405 | ac_clean_files="$ac_clean_files a.out a.
3405   # Try to create an executable without -o first, disregard a.out.
3406   # It will help us diagnose broken compilers, and finding out an intuition
3407   # of exeext.
3408 < { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3409 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3408 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3409 > $as_echo_n "checking whether the C compiler works... " >&6; }
3410   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3411  
3412   # The possible output files:
# Line 3077 | Line 3422 | do
3422   done
3423   rm -f $ac_rmfiles
3424  
3425 < if { (ac_try="$ac_link_default"
3425 > if { { ac_try="$ac_link_default"
3426   case "(($ac_try" in
3427    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428    *) ac_try_echo=$ac_try;;
3429   esac
3430 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3431 < $as_echo "$ac_try_echo") >&5
3430 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3431 > $as_echo "$ac_try_echo"; } >&5
3432    (eval "$ac_link_default") 2>&5
3433    ac_status=$?
3434 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 <  (exit $ac_status); }; then
3434 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3435 >  test $ac_status = 0; }; then :
3436    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3437   # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3438   # in a Makefile.  We should not override ac_cv_exeext if it was cached,
# Line 3104 | Line 3449 | do
3449          # certainly right.
3450          break;;
3451      *.* )
3452 <        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3452 >        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3453          then :; else
3454             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3455          fi
# Line 3123 | Line 3468 | test "$ac_cv_exeext" = no && ac_cv_exeex
3468   else
3469    ac_file=''
3470   fi
3471 <
3472 < { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3473 < $as_echo "$ac_file" >&6; }
3474 < if test -z "$ac_file"; then
3130 <  $as_echo "$as_me: failed program was:" >&5
3471 > if test -z "$ac_file"; then :
3472 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473 > $as_echo "no" >&6; }
3474 > $as_echo "$as_me: failed program was:" >&5
3475   sed 's/^/| /' conftest.$ac_ext >&5
3476  
3477 < { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3477 > { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 < { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3480 < See \`config.log' for more details." >&5
3481 < $as_echo "$as_me: error: C compiler cannot create executables
3482 < See \`config.log' for more details." >&2;}
3483 <   { (exit 77); exit 77; }; }; }
3479 > as_fn_error 77 "C compiler cannot create executables
3480 > See \`config.log' for more details" "$LINENO" 5; }
3481 > else
3482 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3483 > $as_echo "yes" >&6; }
3484   fi
3485 <
3485 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3486 > $as_echo_n "checking for C compiler default output file name... " >&6; }
3487 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3488 > $as_echo "$ac_file" >&6; }
3489   ac_exeext=$ac_cv_exeext
3490  
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
3491   rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3492   ac_clean_files=$ac_clean_files_save
3493 < # 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
3493 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3494   $as_echo_n "checking for suffix of executables... " >&6; }
3495 < if { (ac_try="$ac_link"
3495 > if { { ac_try="$ac_link"
3496   case "(($ac_try" in
3497    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498    *) ac_try_echo=$ac_try;;
3499   esac
3500 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3501 < $as_echo "$ac_try_echo") >&5
3500 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3501 > $as_echo "$ac_try_echo"; } >&5
3502    (eval "$ac_link") 2>&5
3503    ac_status=$?
3504 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 <  (exit $ac_status); }; then
3504 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3505 >  test $ac_status = 0; }; then :
3506    # If both `conftest.exe' and `conftest' are `present' (well, observable)
3507   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3508   # work properly (i.e., refer to `conftest.exe'), while it won't with
# Line 3215 | Line 3517 | for ac_file in conftest.exe conftest con
3517    esac
3518   done
3519   else
3520 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3520 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3521   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3522 < { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3523 < 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; }; }; }
3522 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3523 > See \`config.log' for more details" "$LINENO" 5; }
3524   fi
3525 <
3526 < rm -f conftest$ac_cv_exeext
3228 < { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3525 > rm -f conftest conftest$ac_cv_exeext
3526 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3527   $as_echo "$ac_cv_exeext" >&6; }
3528  
3529   rm -f conftest.$ac_ext
3530   EXEEXT=$ac_cv_exeext
3531   ac_exeext=$EXEEXT
3532 < { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3532 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533 > /* end confdefs.h.  */
3534 > #include <stdio.h>
3535 > int
3536 > main ()
3537 > {
3538 > FILE *f = fopen ("conftest.out", "w");
3539 > return ferror (f) || fclose (f) != 0;
3540 >
3541 >  ;
3542 >  return 0;
3543 > }
3544 > _ACEOF
3545 > ac_clean_files="$ac_clean_files conftest.out"
3546 > # Check that the compiler produces executables we can run.  If not, either
3547 > # the compiler is broken, or we cross compile.
3548 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3549 > $as_echo_n "checking whether we are cross compiling... " >&6; }
3550 > if test "$cross_compiling" != yes; then
3551 >  { { ac_try="$ac_link"
3552 > case "(($ac_try" in
3553 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554 >  *) ac_try_echo=$ac_try;;
3555 > esac
3556 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3557 > $as_echo "$ac_try_echo"; } >&5
3558 >  (eval "$ac_link") 2>&5
3559 >  ac_status=$?
3560 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3561 >  test $ac_status = 0; }
3562 >  if { ac_try='./conftest$ac_cv_exeext'
3563 >  { { case "(($ac_try" in
3564 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565 >  *) ac_try_echo=$ac_try;;
3566 > esac
3567 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3568 > $as_echo "$ac_try_echo"; } >&5
3569 >  (eval "$ac_try") 2>&5
3570 >  ac_status=$?
3571 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3572 >  test $ac_status = 0; }; }; then
3573 >    cross_compiling=no
3574 >  else
3575 >    if test "$cross_compiling" = maybe; then
3576 >        cross_compiling=yes
3577 >    else
3578 >        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 > as_fn_error $? "cannot run C compiled programs.
3581 > If you meant to cross compile, use \`--host'.
3582 > See \`config.log' for more details" "$LINENO" 5; }
3583 >    fi
3584 >  fi
3585 > fi
3586 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3587 > $as_echo "$cross_compiling" >&6; }
3588 >
3589 > rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3590 > ac_clean_files=$ac_clean_files_save
3591 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3592   $as_echo_n "checking for suffix of object files... " >&6; }
3593 < if test "${ac_cv_objext+set}" = set; then
3593 > if ${ac_cv_objext+:} false; then :
3594    $as_echo_n "(cached) " >&6
3595   else
3596 <  cat >conftest.$ac_ext <<_ACEOF
3240 < /* confdefs.h.  */
3241 < _ACEOF
3242 < cat confdefs.h >>conftest.$ac_ext
3243 < cat >>conftest.$ac_ext <<_ACEOF
3596 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597   /* end confdefs.h.  */
3598  
3599   int
# Line 3252 | Line 3605 | main ()
3605   }
3606   _ACEOF
3607   rm -f conftest.o conftest.obj
3608 < if { (ac_try="$ac_compile"
3608 > if { { ac_try="$ac_compile"
3609   case "(($ac_try" in
3610    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3611    *) ac_try_echo=$ac_try;;
3612   esac
3613 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3614 < $as_echo "$ac_try_echo") >&5
3613 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3614 > $as_echo "$ac_try_echo"; } >&5
3615    (eval "$ac_compile") 2>&5
3616    ac_status=$?
3617 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 <  (exit $ac_status); }; then
3617 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3618 >  test $ac_status = 0; }; then :
3619    for ac_file in conftest.o conftest.obj conftest.*; do
3620    test -f "$ac_file" || continue;
3621    case $ac_file in
# Line 3275 | Line 3628 | else
3628    $as_echo "$as_me: failed program was:" >&5
3629   sed 's/^/| /' conftest.$ac_ext >&5
3630  
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 object files: cannot compile
3634 < 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; }; }; }
3633 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3634 > See \`config.log' for more details" "$LINENO" 5; }
3635   fi
3286
3636   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3637   fi
3638 < { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3638 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3639   $as_echo "$ac_cv_objext" >&6; }
3640   OBJEXT=$ac_cv_objext
3641   ac_objext=$OBJEXT
3642 < { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3642 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3643   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3644 < if test "${ac_cv_c_compiler_gnu+set}" = set; then
3644 > if ${ac_cv_c_compiler_gnu+:} false; then :
3645    $as_echo_n "(cached) " >&6
3646   else
3647 <  cat >conftest.$ac_ext <<_ACEOF
3299 < /* confdefs.h.  */
3300 < _ACEOF
3301 < cat confdefs.h >>conftest.$ac_ext
3302 < cat >>conftest.$ac_ext <<_ACEOF
3647 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3648   /* end confdefs.h.  */
3649  
3650   int
# Line 3313 | Line 3658 | main ()
3658    return 0;
3659   }
3660   _ACEOF
3661 < 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
3661 > if ac_fn_c_try_compile "$LINENO"; then :
3662    ac_compiler_gnu=yes
3663   else
3664 <  $as_echo "$as_me: failed program was:" >&5
3337 < sed 's/^/| /' conftest.$ac_ext >&5
3338 <
3339 <        ac_compiler_gnu=no
3664 >  ac_compiler_gnu=no
3665   fi
3341
3666   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667   ac_cv_c_compiler_gnu=$ac_compiler_gnu
3668  
3669   fi
3670 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3670 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3671   $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3672   if test $ac_compiler_gnu = yes; then
3673    GCC=yes
# Line 3352 | Line 3676 | else
3676   fi
3677   ac_test_CFLAGS=${CFLAGS+set}
3678   ac_save_CFLAGS=$CFLAGS
3679 < { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3679 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3680   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3681 < if test "${ac_cv_prog_cc_g+set}" = set; then
3681 > if ${ac_cv_prog_cc_g+:} false; then :
3682    $as_echo_n "(cached) " >&6
3683   else
3684    ac_save_c_werror_flag=$ac_c_werror_flag
3685     ac_c_werror_flag=yes
3686     ac_cv_prog_cc_g=no
3687     CFLAGS="-g"
3688 <   cat >conftest.$ac_ext <<_ACEOF
3365 < /* confdefs.h.  */
3366 < _ACEOF
3367 < cat confdefs.h >>conftest.$ac_ext
3368 < cat >>conftest.$ac_ext <<_ACEOF
3688 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689   /* end confdefs.h.  */
3690  
3691   int
# Line 3376 | Line 3696 | main ()
3696    return 0;
3697   }
3698   _ACEOF
3699 < 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
3699 > if ac_fn_c_try_compile "$LINENO"; then :
3700    ac_cv_prog_cc_g=yes
3701   else
3702 <  $as_echo "$as_me: failed program was:" >&5
3703 < 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
3702 >  CFLAGS=""
3703 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3704   /* end confdefs.h.  */
3705  
3706   int
# Line 3415 | Line 3711 | main ()
3711    return 0;
3712   }
3713   _ACEOF
3714 < 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
3714 > if ac_fn_c_try_compile "$LINENO"; then :
3715  
3716 <        ac_c_werror_flag=$ac_save_c_werror_flag
3716 > else
3717 >  ac_c_werror_flag=$ac_save_c_werror_flag
3718           CFLAGS="-g"
3719 <         cat >conftest.$ac_ext <<_ACEOF
3444 < /* confdefs.h.  */
3445 < _ACEOF
3446 < cat confdefs.h >>conftest.$ac_ext
3447 < cat >>conftest.$ac_ext <<_ACEOF
3719 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720   /* end confdefs.h.  */
3721  
3722   int
# Line 3455 | Line 3727 | main ()
3727    return 0;
3728   }
3729   _ACEOF
3730 < 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
3730 > if ac_fn_c_try_compile "$LINENO"; then :
3731    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
3732   fi
3483
3733   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734   fi
3486
3735   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736   fi
3489
3737   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738     ac_c_werror_flag=$ac_save_c_werror_flag
3739   fi
3740 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3740 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3741   $as_echo "$ac_cv_prog_cc_g" >&6; }
3742   if test "$ac_test_CFLAGS" = set; then
3743    CFLAGS=$ac_save_CFLAGS
# Line 3507 | Line 3754 | else
3754      CFLAGS=
3755    fi
3756   fi
3757 < { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3757 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3758   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3759 < if test "${ac_cv_prog_cc_c89+set}" = set; then
3759 > if ${ac_cv_prog_cc_c89+:} false; then :
3760    $as_echo_n "(cached) " >&6
3761   else
3762    ac_cv_prog_cc_c89=no
3763   ac_save_CC=$CC
3764 < cat >conftest.$ac_ext <<_ACEOF
3518 < /* confdefs.h.  */
3519 < _ACEOF
3520 < cat confdefs.h >>conftest.$ac_ext
3521 < cat >>conftest.$ac_ext <<_ACEOF
3764 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765   /* end confdefs.h.  */
3766   #include <stdarg.h>
3767   #include <stdio.h>
3768 < #include <sys/types.h>
3526 < #include <sys/stat.h>
3768 > struct stat;
3769   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3770   struct buf { int x; };
3771   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3575 | Line 3817 | for ac_arg in '' -qlanglvl=extc89 -qlang
3817          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3818   do
3819    CC="$ac_save_CC $ac_arg"
3820 <  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
3820 >  if ac_fn_c_try_compile "$LINENO"; then :
3821    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
3822   fi
3603
3823   rm -f core conftest.err conftest.$ac_objext
3824    test "x$ac_cv_prog_cc_c89" != "xno" && break
3825   done
# Line 3611 | Line 3830 | fi
3830   # AC_CACHE_VAL
3831   case "x$ac_cv_prog_cc_c89" in
3832    x)
3833 <    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3833 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3834   $as_echo "none needed" >&6; } ;;
3835    xno)
3836 <    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3836 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3837   $as_echo "unsupported" >&6; } ;;
3838    *)
3839      CC="$CC $ac_cv_prog_cc_c89"
3840 <    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3840 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3841   $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3842   esac
3843 + if test "x$ac_cv_prog_cc_c89" != xno; then :
3844  
3845 + fi
3846  
3847   ac_ext=c
3848   ac_cpp='$CPP $CPPFLAGS'
3849   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3850   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3851   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
3852  
3853   depcc="$CC"   am_compiler_list=
3854  
3855 < { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3855 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3856   $as_echo_n "checking dependency style of $depcc... " >&6; }
3857 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3857 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3858    $as_echo_n "(cached) " >&6
3859   else
3860    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3861    # We make a subdir and do the tests there.  Otherwise we can end up
3862    # making bogus files that we don't know about and never remove.  For
3863    # instance it was reported that on HP-UX the gcc test will end up
3864 <  # making a dummy file named `D' -- because `-MD' means `put the output
3865 <  # in D'.
3864 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3865 >  # in D".
3866 >  rm -rf conftest.dir
3867    mkdir conftest.dir
3868    # Copy depcomp to subdir because otherwise we won't find it if we're
3869    # using a relative directory.
# Line 3737 | Line 3897 | else
3897      : > sub/conftest.c
3898      for i in 1 2 3 4 5 6; do
3899        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3900 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3901 <      # Solaris 8's {/usr,}/bin/sh.
3902 <      touch sub/conftst$i.h
3900 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3901 >      # Solaris 10 /bin/sh.
3902 >      echo '/* dummy */' > sub/conftst$i.h
3903      done
3904      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3905  
3906 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3906 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3907      # mode.  It turns out that the SunPro C++ compiler does not properly
3908 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3909 <    # versions had trouble with output in subdirs
3908 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3909 >    # versions had trouble with output in subdirs.
3910      am__obj=sub/conftest.${OBJEXT-o}
3911      am__minus_obj="-o $am__obj"
3912      case $depmode in
# Line 3755 | Line 3915 | else
3915        test "$am__universal" = false || continue
3916        ;;
3917      nosideeffect)
3918 <      # after this tag, mechanisms are not by side-effect, so they'll
3919 <      # only be used when explicitly requested
3918 >      # After this tag, mechanisms are not by side-effect, so they'll
3919 >      # only be used when explicitly requested.
3920        if test "x$enable_dependency_tracking" = xyes; then
3921          continue
3922        else
3923          break
3924        fi
3925        ;;
3926 <    msvisualcpp | msvcmsys)
3927 <      # This compiler won't grok `-c -o', but also, the minuso test has
3926 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3927 >      # This compiler won't grok '-c -o', but also, the minuso test has
3928        # not run yet.  These depmodes are late enough in the game, and
3929        # so weak that their functioning should not be impacted.
3930        am__obj=conftest.${OBJEXT-o}
# Line 3803 | Line 3963 | else
3963   fi
3964  
3965   fi
3966 < { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3966 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3967   $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3968   CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3969  
# Line 3818 | Line 3978 | else
3978   fi
3979  
3980  
3981 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3982 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3983 + if ${ac_cv_prog_cc_c99+:} false; then :
3984 +  $as_echo_n "(cached) " >&6
3985 + else
3986 +  ac_cv_prog_cc_c99=no
3987 + ac_save_CC=$CC
3988 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3989 + /* end confdefs.h.  */
3990 + #include <stdarg.h>
3991 + #include <stdbool.h>
3992 + #include <stdlib.h>
3993 + #include <wchar.h>
3994 + #include <stdio.h>
3995 +
3996 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
3997 + #define debug(...) fprintf (stderr, __VA_ARGS__)
3998 + #define showlist(...) puts (#__VA_ARGS__)
3999 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4000 + static void
4001 + test_varargs_macros (void)
4002 + {
4003 +  int x = 1234;
4004 +  int y = 5678;
4005 +  debug ("Flag");
4006 +  debug ("X = %d\n", x);
4007 +  showlist (The first, second, and third items.);
4008 +  report (x>y, "x is %d but y is %d", x, y);
4009 + }
4010 +
4011 + // Check long long types.
4012 + #define BIG64 18446744073709551615ull
4013 + #define BIG32 4294967295ul
4014 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4015 + #if !BIG_OK
4016 +  your preprocessor is broken;
4017 + #endif
4018 + #if BIG_OK
4019 + #else
4020 +  your preprocessor is broken;
4021 + #endif
4022 + static long long int bignum = -9223372036854775807LL;
4023 + static unsigned long long int ubignum = BIG64;
4024 +
4025 + struct incomplete_array
4026 + {
4027 +  int datasize;
4028 +  double data[];
4029 + };
4030 +
4031 + struct named_init {
4032 +  int number;
4033 +  const wchar_t *name;
4034 +  double average;
4035 + };
4036 +
4037 + typedef const char *ccp;
4038 +
4039 + static inline int
4040 + test_restrict (ccp restrict text)
4041 + {
4042 +  // See if C++-style comments work.
4043 +  // Iterate through items via the restricted pointer.
4044 +  // Also check for declarations in for loops.
4045 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4046 +    continue;
4047 +  return 0;
4048 + }
4049 +
4050 + // Check varargs and va_copy.
4051 + static void
4052 + test_varargs (const char *format, ...)
4053 + {
4054 +  va_list args;
4055 +  va_start (args, format);
4056 +  va_list args_copy;
4057 +  va_copy (args_copy, args);
4058 +
4059 +  const char *str;
4060 +  int number;
4061 +  float fnumber;
4062 +
4063 +  while (*format)
4064 +    {
4065 +      switch (*format++)
4066 +        {
4067 +        case 's': // string
4068 +          str = va_arg (args_copy, const char *);
4069 +          break;
4070 +        case 'd': // int
4071 +          number = va_arg (args_copy, int);
4072 +          break;
4073 +        case 'f': // float
4074 +          fnumber = va_arg (args_copy, double);
4075 +          break;
4076 +        default:
4077 +          break;
4078 +        }
4079 +    }
4080 +  va_end (args_copy);
4081 +  va_end (args);
4082 + }
4083 +
4084 + int
4085 + main ()
4086 + {
4087 +
4088 +  // Check bool.
4089 +  _Bool success = false;
4090 +
4091 +  // Check restrict.
4092 +  if (test_restrict ("String literal") == 0)
4093 +    success = true;
4094 +  char *restrict newvar = "Another string";
4095 +
4096 +  // Check varargs.
4097 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4098 +  test_varargs_macros ();
4099 +
4100 +  // Check flexible array members.
4101 +  struct incomplete_array *ia =
4102 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4103 +  ia->datasize = 10;
4104 +  for (int i = 0; i < ia->datasize; ++i)
4105 +    ia->data[i] = i * 1.234;
4106 +
4107 +  // Check named initializers.
4108 +  struct named_init ni = {
4109 +    .number = 34,
4110 +    .name = L"Test wide string",
4111 +    .average = 543.34343,
4112 +  };
4113 +
4114 +  ni.number = 58;
4115 +
4116 +  int dynamic_array[ni.number];
4117 +  dynamic_array[ni.number - 1] = 543;
4118 +
4119 +  // work around unused variable warnings
4120 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4121 +          || dynamic_array[ni.number - 1] != 543);
4122 +
4123 +  ;
4124 +  return 0;
4125 + }
4126 + _ACEOF
4127 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4128 + do
4129 +  CC="$ac_save_CC $ac_arg"
4130 +  if ac_fn_c_try_compile "$LINENO"; then :
4131 +  ac_cv_prog_cc_c99=$ac_arg
4132 + fi
4133 + rm -f core conftest.err conftest.$ac_objext
4134 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4135 + done
4136 + rm -f conftest.$ac_ext
4137 + CC=$ac_save_CC
4138 +
4139 + fi
4140 + # AC_CACHE_VAL
4141 + case "x$ac_cv_prog_cc_c99" in
4142 +  x)
4143 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4144 + $as_echo "none needed" >&6; } ;;
4145 +  xno)
4146 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4147 + $as_echo "unsupported" >&6; } ;;
4148 +  *)
4149 +    CC="$CC $ac_cv_prog_cc_c99"
4150 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4151 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4152 + esac
4153 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4154 +
4155 + fi
4156 +
4157 +
4158 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4159 +  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4160 + fi
4161   for ac_prog in 'bison -y' byacc
4162   do
4163    # Extract the first word of "$ac_prog", so it can be a program name with args.
4164   set dummy $ac_prog; ac_word=$2
4165 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4165 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4166   $as_echo_n "checking for $ac_word... " >&6; }
4167 < if test "${ac_cv_prog_YACC+set}" = set; then
4167 > if ${ac_cv_prog_YACC+:} false; then :
4168    $as_echo_n "(cached) " >&6
4169   else
4170    if test -n "$YACC"; then
# Line 3835 | Line 4175 | for as_dir in $PATH
4175   do
4176    IFS=$as_save_IFS
4177    test -z "$as_dir" && as_dir=.
4178 <  for ac_exec_ext in '' $ac_executable_extensions; do
4179 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4178 >    for ac_exec_ext in '' $ac_executable_extensions; do
4179 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180      ac_cv_prog_YACC="$ac_prog"
4181 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4181 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182      break 2
4183    fi
4184   done
4185 < done
4185 >  done
4186   IFS=$as_save_IFS
4187  
4188   fi
4189   fi
4190   YACC=$ac_cv_prog_YACC
4191   if test -n "$YACC"; then
4192 <  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
4192 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4193   $as_echo "$YACC" >&6; }
4194   else
4195 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4195 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4196   $as_echo "no" >&6; }
4197   fi
4198  
# Line 3866 | Line 4206 | for ac_prog in flex lex
4206   do
4207    # Extract the first word of "$ac_prog", so it can be a program name with args.
4208   set dummy $ac_prog; ac_word=$2
4209 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4209 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4210   $as_echo_n "checking for $ac_word... " >&6; }
4211 < if test "${ac_cv_prog_LEX+set}" = set; then
4211 > if ${ac_cv_prog_LEX+:} false; then :
4212    $as_echo_n "(cached) " >&6
4213   else
4214    if test -n "$LEX"; then
# Line 3879 | Line 4219 | for as_dir in $PATH
4219   do
4220    IFS=$as_save_IFS
4221    test -z "$as_dir" && as_dir=.
4222 <  for ac_exec_ext in '' $ac_executable_extensions; do
4223 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4222 >    for ac_exec_ext in '' $ac_executable_extensions; do
4223 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224      ac_cv_prog_LEX="$ac_prog"
4225 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4226      break 2
4227    fi
4228   done
4229 < done
4229 >  done
4230   IFS=$as_save_IFS
4231  
4232   fi
4233   fi
4234   LEX=$ac_cv_prog_LEX
4235   if test -n "$LEX"; then
4236 <  { $as_echo "$as_me:$LINENO: result: $LEX" >&5
4236 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4237   $as_echo "$LEX" >&6; }
4238   else
4239 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4239 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4240   $as_echo "no" >&6; }
4241   fi
4242  
# Line 3912 | Line 4252 | a { ECHO; }
4252   b { REJECT; }
4253   c { yymore (); }
4254   d { yyless (1); }
4255 < e { yyless (input () != 0); }
4255 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4256 >    yyless ((input () != 0)); }
4257   f { unput (yytext[0]); }
4258   . { BEGIN INITIAL; }
4259   %%
# Line 3925 | Line 4266 | main (void)
4266    return ! yylex () + ! yywrap ();
4267   }
4268   _ACEOF
4269 < { (ac_try="$LEX conftest.l"
4269 > { { ac_try="$LEX conftest.l"
4270   case "(($ac_try" in
4271    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4272    *) ac_try_echo=$ac_try;;
4273   esac
4274 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4275 < $as_echo "$ac_try_echo") >&5
4274 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4275 > $as_echo "$ac_try_echo"; } >&5
4276    (eval "$LEX conftest.l") 2>&5
4277    ac_status=$?
4278 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279 <  (exit $ac_status); }
4280 < { $as_echo "$as_me:$LINENO: checking lex output file root" >&5
4278 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4279 >  test $ac_status = 0; }
4280 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4281   $as_echo_n "checking lex output file root... " >&6; }
4282 < if test "${ac_cv_prog_lex_root+set}" = set; then
4282 > if ${ac_cv_prog_lex_root+:} false; then :
4283    $as_echo_n "(cached) " >&6
4284   else
4285  
# Line 3947 | Line 4288 | if test -f lex.yy.c; then
4288   elif test -f lexyy.c; then
4289    ac_cv_prog_lex_root=lexyy
4290   else
4291 <  { { $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; }; }
4291 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4292   fi
4293   fi
4294 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4294 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4295   $as_echo "$ac_cv_prog_lex_root" >&6; }
4296   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4297  
4298   if test -z "${LEXLIB+set}"; then
4299 <  { $as_echo "$as_me:$LINENO: checking lex library" >&5
4299 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4300   $as_echo_n "checking lex library... " >&6; }
4301 < if test "${ac_cv_lib_lex+set}" = set; then
4301 > if ${ac_cv_lib_lex+:} false; then :
4302    $as_echo_n "(cached) " >&6
4303   else
4304  
# Line 3967 | Line 4306 | else
4306      ac_cv_lib_lex='none needed'
4307      for ac_lib in '' -lfl -ll; do
4308        LIBS="$ac_lib $ac_save_LIBS"
4309 <      cat >conftest.$ac_ext <<_ACEOF
4309 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 > /* end confdefs.h.  */
4311   `cat $LEX_OUTPUT_ROOT.c`
4312   _ACEOF
4313 < 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
4313 > if ac_fn_c_try_link "$LINENO"; then :
4314    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
4315   fi
4316 <
4317 < rm -rf conftest.dSYM
4003 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4004 <      conftest$ac_exeext conftest.$ac_ext
4316 > rm -f core conftest.err conftest.$ac_objext \
4317 >    conftest$ac_exeext conftest.$ac_ext
4318        test "$ac_cv_lib_lex" != 'none needed' && break
4319      done
4320      LIBS=$ac_save_LIBS
4321  
4322   fi
4323 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
4323 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4324   $as_echo "$ac_cv_lib_lex" >&6; }
4325    test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4326   fi
4327  
4328  
4329 < { $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4329 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4330   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4331 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4331 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4332    $as_echo_n "(cached) " >&6
4333   else
4334    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4024 | Line 4337 | else
4337   ac_cv_prog_lex_yytext_pointer=no
4338   ac_save_LIBS=$LIBS
4339   LIBS="$LEXLIB $ac_save_LIBS"
4340 < cat >conftest.$ac_ext <<_ACEOF
4341 < #define YYTEXT_POINTER 1
4340 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 > /* end confdefs.h.  */
4342 >
4343 >  #define YYTEXT_POINTER 1
4344   `cat $LEX_OUTPUT_ROOT.c`
4345   _ACEOF
4346 < 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
4346 > if ac_fn_c_try_link "$LINENO"; then :
4347    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
4348   fi
4349 <
4350 < rm -rf conftest.dSYM
4061 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4062 <      conftest$ac_exeext conftest.$ac_ext
4349 > rm -f core conftest.err conftest.$ac_objext \
4350 >    conftest$ac_exeext conftest.$ac_ext
4351   LIBS=$ac_save_LIBS
4352  
4353   fi
4354 < { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4354 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4355   $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4356   if test $ac_cv_prog_lex_yytext_pointer = yes; then
4357  
4358 < cat >>confdefs.h <<\_ACEOF
4071 < #define YYTEXT_POINTER 1
4072 < _ACEOF
4358 > $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4359  
4360   fi
4361   rm -f conftest.l $LEX_OUTPUT_ROOT.c
# Line 4078 | Line 4364 | fi
4364   if test "$LEX" = :; then
4365    LEX=${am_missing_run}flex
4366   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
4367  
4147 done
4148 IFS=$as_save_IFS
4368  
4369 < rm -rf conftest.one conftest.two conftest.dir
4369 > # Initializing libtool.
4370  
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; }
4371  
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}'
4372  
4170 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4373  
4172 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4374  
4375  
4376  
4176 #ltdl stuff
4377   case `pwd` in
4378    *\ * | *\     *)
4379 <    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4379 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4380   $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4381   esac
4382  
4383  
4384  
4385 < macro_version='2.2.6'
4386 < macro_revision='1.3012'
4385 > macro_version='2.4.2'
4386 > macro_revision='1.3337'
4387  
4388  
4389  
# Line 4201 | Line 4401 | ltmain="$ac_aux_dir/ltmain.sh"
4401  
4402   # Make sure we can run config.sub.
4403   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4404 <  { { $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; }; }
4404 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4405  
4406 < { $as_echo "$as_me:$LINENO: checking build system type" >&5
4406 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4407   $as_echo_n "checking build system type... " >&6; }
4408 < if test "${ac_cv_build+set}" = set; then
4408 > if ${ac_cv_build+:} false; then :
4409    $as_echo_n "(cached) " >&6
4410   else
4411    ac_build_alias=$build_alias
4412   test "x$ac_build_alias" = x &&
4413    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4414   test "x$ac_build_alias" = x &&
4415 <  { { $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; }; }
4415 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4416   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4417 <  { { $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; }; }
4417 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4418  
4419   fi
4420 < { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4420 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4421   $as_echo "$ac_cv_build" >&6; }
4422   case $ac_cv_build in
4423   *-*-*) ;;
4424 < *) { { $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; }; };;
4424 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4425   esac
4426   build=$ac_cv_build
4427   ac_save_IFS=$IFS; IFS='-'
# Line 4245 | Line 4437 | IFS=$ac_save_IFS
4437   case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4438  
4439  
4440 < { $as_echo "$as_me:$LINENO: checking host system type" >&5
4440 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4441   $as_echo_n "checking host system type... " >&6; }
4442 < if test "${ac_cv_host+set}" = set; then
4442 > if ${ac_cv_host+:} false; then :
4443    $as_echo_n "(cached) " >&6
4444   else
4445    if test "x$host_alias" = x; then
4446    ac_cv_host=$ac_cv_build
4447   else
4448    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4449 <    { { $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; }; }
4449 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4450   fi
4451  
4452   fi
4453 < { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4453 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4454   $as_echo "$ac_cv_host" >&6; }
4455   case $ac_cv_host in
4456   *-*-*) ;;
4457 < *) { { $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; }; };;
4457 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4458   esac
4459   host=$ac_cv_host
4460   ac_save_IFS=$IFS; IFS='-'
# Line 4282 | Line 4470 | IFS=$ac_save_IFS
4470   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4471  
4472  
4473 < { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4473 > # Backslashify metacharacters that are still active within
4474 > # double-quoted strings.
4475 > sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4476 >
4477 > # Same as above, but do not quote variable references.
4478 > double_quote_subst='s/\(["`\\]\)/\\\1/g'
4479 >
4480 > # Sed substitution to delay expansion of an escaped shell variable in a
4481 > # double_quote_subst'ed string.
4482 > delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4483 >
4484 > # Sed substitution to delay expansion of an escaped single quote.
4485 > delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4486 >
4487 > # Sed substitution to avoid accidental globbing in evaled expressions
4488 > no_glob_subst='s/\*/\\\*/g'
4489 >
4490 > ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4491 > ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4492 > ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4493 >
4494 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4495 > $as_echo_n "checking how to print strings... " >&6; }
4496 > # Test print first, because it will be a builtin if present.
4497 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4498 >   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4499 >  ECHO='print -r --'
4500 > elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4501 >  ECHO='printf %s\n'
4502 > else
4503 >  # Use this function as a fallback that always works.
4504 >  func_fallback_echo ()
4505 >  {
4506 >    eval 'cat <<_LTECHO_EOF
4507 > $1
4508 > _LTECHO_EOF'
4509 >  }
4510 >  ECHO='func_fallback_echo'
4511 > fi
4512 >
4513 > # func_echo_all arg...
4514 > # Invoke $ECHO with all args, space-separated.
4515 > func_echo_all ()
4516 > {
4517 >    $ECHO ""
4518 > }
4519 >
4520 > case "$ECHO" in
4521 >  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4522 > $as_echo "printf" >&6; } ;;
4523 >  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4524 > $as_echo "print -r" >&6; } ;;
4525 >  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4526 > $as_echo "cat" >&6; } ;;
4527 > esac
4528 >
4529 >
4530 >
4531 >
4532 >
4533 >
4534 >
4535 >
4536 >
4537 >
4538 >
4539 >
4540 >
4541 >
4542 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4543   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4544 < if test "${ac_cv_path_SED+set}" = set; then
4544 > if ${ac_cv_path_SED+:} false; then :
4545    $as_echo_n "(cached) " >&6
4546   else
4547              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4292 | Line 4549 | else
4549         ac_script="$ac_script$as_nl$ac_script"
4550       done
4551       echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4552 <     $as_unset ac_script || ac_script=
4552 >     { ac_script=; unset ac_script;}
4553       if test -z "$SED"; then
4554    ac_path_SED_found=false
4555    # Loop through the user's path and test for each of PROGNAME-LIST
# Line 4301 | Line 4558 | for as_dir in $PATH
4558   do
4559    IFS=$as_save_IFS
4560    test -z "$as_dir" && as_dir=.
4561 <  for ac_prog in sed gsed; do
4561 >    for ac_prog in sed gsed; do
4562      for ac_exec_ext in '' $ac_executable_extensions; do
4563        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4564 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4564 >      as_fn_executable_p "$ac_path_SED" || continue
4565   # Check for GNU ac_path_SED and select it if it is found.
4566    # Check for GNU $ac_path_SED
4567   case `"$ac_path_SED" --version 2>&1` in
# Line 4321 | Line 4578 | case `"$ac_path_SED" --version 2>&1` in
4578      $as_echo '' >> "conftest.nl"
4579      "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4580      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4581 <    ac_count=`expr $ac_count + 1`
4581 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4582      if test $ac_count -gt ${ac_path_SED_max-0}; then
4583        # Best one so far, save it but keep looking for a better one
4584        ac_cv_path_SED="$ac_path_SED"
# Line 4336 | Line 4593 | esac
4593        $ac_path_SED_found && break 3
4594      done
4595    done
4596 < done
4596 >  done
4597   IFS=$as_save_IFS
4598    if test -z "$ac_cv_path_SED"; then
4599 <    { { $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; }; }
4599 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4600    fi
4601   else
4602    ac_cv_path_SED=$SED
4603   fi
4604  
4605   fi
4606 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4606 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4607   $as_echo "$ac_cv_path_SED" >&6; }
4608   SED="$ac_cv_path_SED"
4609    rm -f conftest.sed
# Line 4366 | Line 4621 | Xsed="$SED -e 1s/^X//"
4621  
4622  
4623  
4624 < { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4624 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4625   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4626 < if test "${ac_cv_path_GREP+set}" = set; then
4626 > if ${ac_cv_path_GREP+:} false; then :
4627    $as_echo_n "(cached) " >&6
4628   else
4629    if test -z "$GREP"; then
# Line 4379 | Line 4634 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4634   do
4635    IFS=$as_save_IFS
4636    test -z "$as_dir" && as_dir=.
4637 <  for ac_prog in grep ggrep; do
4637 >    for ac_prog in grep ggrep; do
4638      for ac_exec_ext in '' $ac_executable_extensions; do
4639        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4640 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4640 >      as_fn_executable_p "$ac_path_GREP" || continue
4641   # Check for GNU ac_path_GREP and select it if it is found.
4642    # Check for GNU $ac_path_GREP
4643   case `"$ac_path_GREP" --version 2>&1` in
# Line 4399 | Line 4654 | case `"$ac_path_GREP" --version 2>&1` in
4654      $as_echo 'GREP' >> "conftest.nl"
4655      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4656      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4657 <    ac_count=`expr $ac_count + 1`
4657 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4658      if test $ac_count -gt ${ac_path_GREP_max-0}; then
4659        # Best one so far, save it but keep looking for a better one
4660        ac_cv_path_GREP="$ac_path_GREP"
# Line 4414 | Line 4669 | esac
4669        $ac_path_GREP_found && break 3
4670      done
4671    done
4672 < done
4672 >  done
4673   IFS=$as_save_IFS
4674    if test -z "$ac_cv_path_GREP"; then
4675 <    { { $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; }; }
4675 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4676    fi
4677   else
4678    ac_cv_path_GREP=$GREP
4679   fi
4680  
4681   fi
4682 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4682 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4683   $as_echo "$ac_cv_path_GREP" >&6; }
4684   GREP="$ac_cv_path_GREP"
4685  
4686  
4687 < { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4687 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4688   $as_echo_n "checking for egrep... " >&6; }
4689 < if test "${ac_cv_path_EGREP+set}" = set; then
4689 > if ${ac_cv_path_EGREP+:} false; then :
4690    $as_echo_n "(cached) " >&6
4691   else
4692    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4447 | Line 4700 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4700   do
4701    IFS=$as_save_IFS
4702    test -z "$as_dir" && as_dir=.
4703 <  for ac_prog in egrep; do
4703 >    for ac_prog in egrep; do
4704      for ac_exec_ext in '' $ac_executable_extensions; do
4705        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4706 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4706 >      as_fn_executable_p "$ac_path_EGREP" || continue
4707   # Check for GNU ac_path_EGREP and select it if it is found.
4708    # Check for GNU $ac_path_EGREP
4709   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4467 | Line 4720 | case `"$ac_path_EGREP" --version 2>&1` i
4720      $as_echo 'EGREP' >> "conftest.nl"
4721      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4722      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4723 <    ac_count=`expr $ac_count + 1`
4723 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4724      if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4725        # Best one so far, save it but keep looking for a better one
4726        ac_cv_path_EGREP="$ac_path_EGREP"
# Line 4482 | Line 4735 | esac
4735        $ac_path_EGREP_found && break 3
4736      done
4737    done
4738 < done
4738 >  done
4739   IFS=$as_save_IFS
4740    if test -z "$ac_cv_path_EGREP"; then
4741 <    { { $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; }; }
4741 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4742    fi
4743   else
4744    ac_cv_path_EGREP=$EGREP
# Line 4495 | Line 4746 | fi
4746  
4747     fi
4748   fi
4749 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4749 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4750   $as_echo "$ac_cv_path_EGREP" >&6; }
4751   EGREP="$ac_cv_path_EGREP"
4752  
4753  
4754 < { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4754 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4755   $as_echo_n "checking for fgrep... " >&6; }
4756 < if test "${ac_cv_path_FGREP+set}" = set; then
4756 > if ${ac_cv_path_FGREP+:} false; then :
4757    $as_echo_n "(cached) " >&6
4758   else
4759    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4516 | Line 4767 | for as_dir in $PATH$PATH_SEPARATOR/usr/x
4767   do
4768    IFS=$as_save_IFS
4769    test -z "$as_dir" && as_dir=.
4770 <  for ac_prog in fgrep; do
4770 >    for ac_prog in fgrep; do
4771      for ac_exec_ext in '' $ac_executable_extensions; do
4772        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4773 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4773 >      as_fn_executable_p "$ac_path_FGREP" || continue
4774   # Check for GNU ac_path_FGREP and select it if it is found.
4775    # Check for GNU $ac_path_FGREP
4776   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4536 | Line 4787 | case `"$ac_path_FGREP" --version 2>&1` i
4787      $as_echo 'FGREP' >> "conftest.nl"
4788      "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4789      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4790 <    ac_count=`expr $ac_count + 1`
4790 >    as_fn_arith $ac_count + 1 && ac_count=$as_val
4791      if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4792        # Best one so far, save it but keep looking for a better one
4793        ac_cv_path_FGREP="$ac_path_FGREP"
# Line 4551 | Line 4802 | esac
4802        $ac_path_FGREP_found && break 3
4803      done
4804    done
4805 < done
4805 >  done
4806   IFS=$as_save_IFS
4807    if test -z "$ac_cv_path_FGREP"; then
4808 <    { { $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; }; }
4808 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4809    fi
4810   else
4811    ac_cv_path_FGREP=$FGREP
# Line 4564 | Line 4813 | fi
4813  
4814     fi
4815   fi
4816 < { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4816 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4817   $as_echo "$ac_cv_path_FGREP" >&6; }
4818   FGREP="$ac_cv_path_FGREP"
4819  
# Line 4590 | Line 4839 | test -z "$GREP" && GREP=grep
4839  
4840  
4841   # Check whether --with-gnu-ld was given.
4842 < if test "${with_gnu_ld+set}" = set; then
4842 > if test "${with_gnu_ld+set}" = set; then :
4843    withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4844   else
4845    with_gnu_ld=no
# Line 4599 | Line 4848 | fi
4848   ac_prog=ld
4849   if test "$GCC" = yes; then
4850    # Check if gcc -print-prog-name=ld gives a path.
4851 <  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4851 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4852   $as_echo_n "checking for ld used by $CC... " >&6; }
4853    case $host in
4854    *-*-mingw*)
# Line 4629 | Line 4878 | $as_echo_n "checking for ld used by $CC.
4878      ;;
4879    esac
4880   elif test "$with_gnu_ld" = yes; then
4881 <  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4881 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4882   $as_echo_n "checking for GNU ld... " >&6; }
4883   else
4884 <  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4884 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4885   $as_echo_n "checking for non-GNU ld... " >&6; }
4886   fi
4887 < if test "${lt_cv_path_LD+set}" = set; then
4887 > if ${lt_cv_path_LD+:} false; then :
4888    $as_echo_n "(cached) " >&6
4889   else
4890    if test -z "$LD"; then
# Line 4666 | Line 4915 | fi
4915  
4916   LD="$lt_cv_path_LD"
4917   if test -n "$LD"; then
4918 <  { $as_echo "$as_me:$LINENO: result: $LD" >&5
4918 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4919   $as_echo "$LD" >&6; }
4920   else
4921 <  { $as_echo "$as_me:$LINENO: result: no" >&5
4921 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922   $as_echo "no" >&6; }
4923   fi
4924 < test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4925 < $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
4924 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4925 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4926   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4927 < if test "${lt_cv_prog_gnu_ld+set}" = set; then
4927 > if ${lt_cv_prog_gnu_ld+:} false; then :
4928    $as_echo_n "(cached) " >&6
4929   else
4930    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4690 | Line 4937 | case `$LD -v 2>&1 </dev/null` in
4937    ;;
4938   esac
4939   fi
4940 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4940 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4941   $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4942   with_gnu_ld=$lt_cv_prog_gnu_ld
4943  
# Line 4702 | Line 4949 | with_gnu_ld=$lt_cv_prog_gnu_ld
4949  
4950  
4951  
4952 < { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4952 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4953   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4954 < if test "${lt_cv_path_NM+set}" = set; then
4954 > if ${lt_cv_path_NM+:} false; then :
4955    $as_echo_n "(cached) " >&6
4956   else
4957    if test -n "$NM"; then
# Line 4751 | Line 4998 | else
4998    : ${lt_cv_path_NM=no}
4999   fi
5000   fi
5001 < { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5001 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5002   $as_echo "$lt_cv_path_NM" >&6; }
5003   if test "$lt_cv_path_NM" != "no"; then
5004    NM="$lt_cv_path_NM"
5005   else
5006    # Didn't find any BSD compatible name lister, look for dumpbin.
5007 <  if test -n "$ac_tool_prefix"; then
5008 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5007 >  if test -n "$DUMPBIN"; then :
5008 >    # Let the user override the test.
5009 >  else
5010 >    if test -n "$ac_tool_prefix"; then
5011 >  for ac_prog in dumpbin "link -dump"
5012    do
5013      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5014   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5015 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5015 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016   $as_echo_n "checking for $ac_word... " >&6; }
5017 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5017 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5018    $as_echo_n "(cached) " >&6
5019   else
5020    if test -n "$DUMPBIN"; then
# Line 4775 | Line 5025 | for as_dir in $PATH
5025   do
5026    IFS=$as_save_IFS
5027    test -z "$as_dir" && as_dir=.
5028 <  for ac_exec_ext in '' $ac_executable_extensions; do
5029 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 >    for ac_exec_ext in '' $ac_executable_extensions; do
5029 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5030      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5031 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032      break 2
5033    fi
5034   done
5035 < done
5035 >  done
5036   IFS=$as_save_IFS
5037  
5038   fi
5039   fi
5040   DUMPBIN=$ac_cv_prog_DUMPBIN
5041   if test -n "$DUMPBIN"; then
5042 <  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5042 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5043   $as_echo "$DUMPBIN" >&6; }
5044   else
5045 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5045 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046   $as_echo "no" >&6; }
5047   fi
5048  
# Line 4802 | Line 5052 | fi
5052   fi
5053   if test -z "$DUMPBIN"; then
5054    ac_ct_DUMPBIN=$DUMPBIN
5055 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5055 >  for ac_prog in dumpbin "link -dump"
5056   do
5057    # Extract the first word of "$ac_prog", so it can be a program name with args.
5058   set dummy $ac_prog; ac_word=$2
5059 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5059 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060   $as_echo_n "checking for $ac_word... " >&6; }
5061 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5061 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5062    $as_echo_n "(cached) " >&6
5063   else
5064    if test -n "$ac_ct_DUMPBIN"; then
# Line 4819 | Line 5069 | for as_dir in $PATH
5069   do
5070    IFS=$as_save_IFS
5071    test -z "$as_dir" && as_dir=.
5072 <  for ac_exec_ext in '' $ac_executable_extensions; do
5073 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5072 >    for ac_exec_ext in '' $ac_executable_extensions; do
5073 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5075 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076      break 2
5077    fi
5078   done
5079 < done
5079 >  done
5080   IFS=$as_save_IFS
5081  
5082   fi
5083   fi
5084   ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5085   if test -n "$ac_ct_DUMPBIN"; then
5086 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5086 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5087   $as_echo "$ac_ct_DUMPBIN" >&6; }
5088   else
5089 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5089 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090   $as_echo "no" >&6; }
5091   fi
5092  
# Line 4849 | Line 5099 | done
5099    else
5100      case $cross_compiling:$ac_tool_warned in
5101   yes:)
5102 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5102 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104   ac_tool_warned=yes ;;
5105   esac
# Line 4857 | Line 5107 | esac
5107    fi
5108   fi
5109  
5110 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5111 +    *COFF*)
5112 +      DUMPBIN="$DUMPBIN -symbols"
5113 +      ;;
5114 +    *)
5115 +      DUMPBIN=:
5116 +      ;;
5117 +    esac
5118 +  fi
5119  
5120    if test "$DUMPBIN" != ":"; then
5121      NM="$DUMPBIN"
# Line 4869 | Line 5128 | test -z "$NM" && NM=nm
5128  
5129  
5130  
5131 < { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5131 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5132   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5133 < if test "${lt_cv_nm_interface+set}" = set; then
5133 > if ${lt_cv_nm_interface+:} false; then :
5134    $as_echo_n "(cached) " >&6
5135   else
5136    lt_cv_nm_interface="BSD nm"
5137    echo "int some_variable = 0;" > conftest.$ac_ext
5138 <  (eval echo "\"\$as_me:4879: $ac_compile\"" >&5)
5138 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5139    (eval "$ac_compile" 2>conftest.err)
5140    cat conftest.err >&5
5141 <  (eval echo "\"\$as_me:4882: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5141 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5142    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5143    cat conftest.err >&5
5144 <  (eval echo "\"\$as_me:4885: output\"" >&5)
5144 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5145    cat conftest.out >&5
5146    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5147      lt_cv_nm_interface="MS dumpbin"
5148    fi
5149    rm -f conftest*
5150   fi
5151 < { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5151 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5152   $as_echo "$lt_cv_nm_interface" >&6; }
5153  
5154 < { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5154 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5155   $as_echo_n "checking whether ln -s works... " >&6; }
5156   LN_S=$as_ln_s
5157   if test "$LN_S" = "ln -s"; then
5158 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
5158 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5159   $as_echo "yes" >&6; }
5160   else
5161 <  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5161 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5162   $as_echo "no, using $LN_S" >&6; }
5163   fi
5164  
5165   # find the maximum length of command line arguments
5166 < { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5166 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5167   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5168 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5168 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5169    $as_echo_n "(cached) " >&6
5170   else
5171      i=0
# Line 4939 | Line 5198 | else
5198      lt_cv_sys_max_cmd_len=8192;
5199      ;;
5200  
5201 +  mint*)
5202 +    # On MiNT this can take a long time and run out of memory.
5203 +    lt_cv_sys_max_cmd_len=8192;
5204 +    ;;
5205 +
5206    amigaos*)
5207      # On AmigaOS with pdksh, this test takes hours, literally.
5208      # So we just punt and use a minimum line length of 8192.
# Line 4964 | Line 5228 | else
5228      lt_cv_sys_max_cmd_len=196608
5229      ;;
5230  
5231 +  os2*)
5232 +    # The test takes a long time on OS/2.
5233 +    lt_cv_sys_max_cmd_len=8192
5234 +    ;;
5235 +
5236    osf*)
5237      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5238      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5003 | Line 5272 | else
5272        # If test is not a shell built-in, we'll probably end up computing a
5273        # maximum length that is only half of the actual maximum length, but
5274        # we can't tell.
5275 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5276 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5275 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5276 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5277                test $i != 17 # 1/2 MB should be enough
5278        do
5279          i=`expr $i + 1`
# Line 5024 | Line 5293 | else
5293   fi
5294  
5295   if test -n $lt_cv_sys_max_cmd_len ; then
5296 <  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5296 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5297   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5298   else
5299 <  { $as_echo "$as_me:$LINENO: result: none" >&5
5299 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5300   $as_echo "none" >&6; }
5301   fi
5302   max_cmd_len=$lt_cv_sys_max_cmd_len
# Line 5041 | Line 5310 | max_cmd_len=$lt_cv_sys_max_cmd_len
5310   : ${MV="mv -f"}
5311   : ${RM="rm -f"}
5312  
5313 < { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5313 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5314   $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5315   # Try some XSI features
5316   xsi_shell=no
5317   ( _lt_dummy="a/b/c"
5318 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5319 <      = c,a/b,, \
5318 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5319 >      = c,a/b,b/c, \
5320      && eval 'test $(( 1 + 1 )) -eq 2 \
5321      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5322    && xsi_shell=yes
5323 < { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5323 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5324   $as_echo "$xsi_shell" >&6; }
5325  
5326  
5327 < { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5327 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5328   $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5329   lt_shell_append=no
5330   ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5331      >/dev/null 2>&1 \
5332    && lt_shell_append=yes
5333 < { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5333 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5334   $as_echo "$lt_shell_append" >&6; }
5335  
5336  
# Line 5096 | Line 5365 | esac
5365  
5366  
5367  
5368 < { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5368 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5369 > $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5370 > if ${lt_cv_to_host_file_cmd+:} false; then :
5371 >  $as_echo_n "(cached) " >&6
5372 > else
5373 >  case $host in
5374 >  *-*-mingw* )
5375 >    case $build in
5376 >      *-*-mingw* ) # actually msys
5377 >        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5378 >        ;;
5379 >      *-*-cygwin* )
5380 >        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5381 >        ;;
5382 >      * ) # otherwise, assume *nix
5383 >        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5384 >        ;;
5385 >    esac
5386 >    ;;
5387 >  *-*-cygwin* )
5388 >    case $build in
5389 >      *-*-mingw* ) # actually msys
5390 >        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5391 >        ;;
5392 >      *-*-cygwin* )
5393 >        lt_cv_to_host_file_cmd=func_convert_file_noop
5394 >        ;;
5395 >      * ) # otherwise, assume *nix
5396 >        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5397 >        ;;
5398 >    esac
5399 >    ;;
5400 >  * ) # unhandled hosts (and "normal" native builds)
5401 >    lt_cv_to_host_file_cmd=func_convert_file_noop
5402 >    ;;
5403 > esac
5404 >
5405 > fi
5406 >
5407 > to_host_file_cmd=$lt_cv_to_host_file_cmd
5408 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5409 > $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5410 >
5411 >
5412 >
5413 >
5414 >
5415 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5416 > $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5417 > if ${lt_cv_to_tool_file_cmd+:} false; then :
5418 >  $as_echo_n "(cached) " >&6
5419 > else
5420 >  #assume ordinary cross tools, or native build.
5421 > lt_cv_to_tool_file_cmd=func_convert_file_noop
5422 > case $host in
5423 >  *-*-mingw* )
5424 >    case $build in
5425 >      *-*-mingw* ) # actually msys
5426 >        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5427 >        ;;
5428 >    esac
5429 >    ;;
5430 > esac
5431 >
5432 > fi
5433 >
5434 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5435 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5436 > $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5437 >
5438 >
5439 >
5440 >
5441 >
5442 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5443   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5444 < if test "${lt_cv_ld_reload_flag+set}" = set; then
5444 > if ${lt_cv_ld_reload_flag+:} false; then :
5445    $as_echo_n "(cached) " >&6
5446   else
5447    lt_cv_ld_reload_flag='-r'
5448   fi
5449 < { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5449 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5450   $as_echo "$lt_cv_ld_reload_flag" >&6; }
5451   reload_flag=$lt_cv_ld_reload_flag
5452   case $reload_flag in
# Line 5112 | Line 5455 | case $reload_flag in
5455   esac
5456   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5457   case $host_os in
5458 +  cygwin* | mingw* | pw32* | cegcc*)
5459 +    if test "$GCC" != yes; then
5460 +      reload_cmds=false
5461 +    fi
5462 +    ;;
5463    darwin*)
5464      if test "$GCC" = yes; then
5465        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5132 | Line 5480 | esac
5480   if test -n "$ac_tool_prefix"; then
5481    # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5482   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5483 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5483 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484   $as_echo_n "checking for $ac_word... " >&6; }
5485 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5485 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5486    $as_echo_n "(cached) " >&6
5487   else
5488    if test -n "$OBJDUMP"; then
# Line 5145 | Line 5493 | for as_dir in $PATH
5493   do
5494    IFS=$as_save_IFS
5495    test -z "$as_dir" && as_dir=.
5496 <  for ac_exec_ext in '' $ac_executable_extensions; do
5497 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5496 >    for ac_exec_ext in '' $ac_executable_extensions; do
5497 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5498      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5499 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500      break 2
5501    fi
5502   done
5503 < done
5503 >  done
5504   IFS=$as_save_IFS
5505  
5506   fi
5507   fi
5508   OBJDUMP=$ac_cv_prog_OBJDUMP
5509   if test -n "$OBJDUMP"; then
5510 <  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5510 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5511   $as_echo "$OBJDUMP" >&6; }
5512   else
5513 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5513 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514   $as_echo "no" >&6; }
5515   fi
5516  
# Line 5172 | Line 5520 | if test -z "$ac_cv_prog_OBJDUMP"; then
5520    ac_ct_OBJDUMP=$OBJDUMP
5521    # Extract the first word of "objdump", so it can be a program name with args.
5522   set dummy objdump; ac_word=$2
5523 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5523 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524   $as_echo_n "checking for $ac_word... " >&6; }
5525 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5525 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5526    $as_echo_n "(cached) " >&6
5527   else
5528    if test -n "$ac_ct_OBJDUMP"; then
# Line 5185 | Line 5533 | for as_dir in $PATH
5533   do
5534    IFS=$as_save_IFS
5535    test -z "$as_dir" && as_dir=.
5536 <  for ac_exec_ext in '' $ac_executable_extensions; do
5537 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5536 >    for ac_exec_ext in '' $ac_executable_extensions; do
5537 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5539 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540      break 2
5541    fi
5542   done
5543 < done
5543 >  done
5544   IFS=$as_save_IFS
5545  
5546   fi
5547   fi
5548   ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5549   if test -n "$ac_ct_OBJDUMP"; then
5550 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5550 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5551   $as_echo "$ac_ct_OBJDUMP" >&6; }
5552   else
5553 <  { $as_echo "$as_me:$LINENO: result: no" >&5
5553 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554   $as_echo "no" >&6; }
5555   fi
5556  
# Line 5211 | Line 5559 | fi
5559    else
5560      case $cross_compiling:$ac_tool_warned in
5561   yes:)
5562 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5562 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5563   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5564   ac_tool_warned=yes ;;
5565   esac
# Line 5231 | Line 5579 | test -z "$OBJDUMP" && OBJDUMP=objdump
5579  
5580  
5581  
5582 < { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5582 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5583   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5584 < if test "${lt_cv_deplibs_check_method+set}" = set; then
5584 > if ${lt_cv_deplibs_check_method+:} false; then :
5585    $as_echo_n "(cached) " >&6
5586   else
5587    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5275 | Line 5623 | mingw* | pw32*)
5623    # Base MSYS/MinGW do not provide the 'file' command needed by
5624    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5625    # unless we find 'file', for example because we are cross-compiling.
5626 <  if ( file / ) >/dev/null 2>&1; then
5626 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5627 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5628      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5629      lt_cv_file_magic_cmd='func_win32_libid'
5630    else
5631 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5631 >    # Keep this pattern in sync with the one in func_win32_libid.
5632 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5633      lt_cv_file_magic_cmd='$OBJDUMP -f'
5634    fi
5635    ;;
5636  
5637 < cegcc)
5637 > cegcc*)
5638    # use the weaker test based on 'objdump'. See mingw*.
5639    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5640    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5314 | Line 5664 | gnu*)
5664    lt_cv_deplibs_check_method=pass_all
5665    ;;
5666  
5667 + haiku*)
5668 +  lt_cv_deplibs_check_method=pass_all
5669 +  ;;
5670 +
5671   hpux10.20* | hpux11*)
5672    lt_cv_file_magic_cmd=/usr/bin/file
5673    case $host_cpu in
# Line 5322 | Line 5676 | hpux10.20* | hpux11*)
5676      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5677      ;;
5678    hppa*64*)
5679 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5679 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5680      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5681      ;;
5682    *)
5683 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5683 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5684      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5685      ;;
5686    esac
# Line 5347 | Line 5701 | irix5* | irix6* | nonstopux*)
5701    lt_cv_deplibs_check_method=pass_all
5702    ;;
5703  
5704 < # This must be Linux ELF.
5705 < linux* | k*bsd*-gnu)
5704 > # This must be glibc/ELF.
5705 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5706    lt_cv_deplibs_check_method=pass_all
5707    ;;
5708  
# Line 5427 | Line 5781 | tpf*)
5781   esac
5782  
5783   fi
5784 < { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5784 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5785   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5786 +
5787 + file_magic_glob=
5788 + want_nocaseglob=no
5789 + if test "$build" = "$host"; then
5790 +  case $host_os in
5791 +  mingw* | pw32*)
5792 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5793 +      want_nocaseglob=yes
5794 +    else
5795 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5796 +    fi
5797 +    ;;
5798 +  esac
5799 + fi
5800 +
5801   file_magic_cmd=$lt_cv_file_magic_cmd
5802   deplibs_check_method=$lt_cv_deplibs_check_method
5803   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5444 | Line 5813 | test -z "$deplibs_check_method" && depli
5813  
5814  
5815  
5816 +
5817 +
5818 +
5819 +
5820 +
5821 +
5822 +
5823 +
5824 +
5825 +
5826 + if test -n "$ac_tool_prefix"; then
5827 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5828 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5829 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 + $as_echo_n "checking for $ac_word... " >&6; }
5831 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5832 +  $as_echo_n "(cached) " >&6
5833 + else
5834 +  if test -n "$DLLTOOL"; then
5835 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5836 + else
5837 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 + for as_dir in $PATH
5839 + do
5840 +  IFS=$as_save_IFS
5841 +  test -z "$as_dir" && as_dir=.
5842 +    for ac_exec_ext in '' $ac_executable_extensions; do
5843 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5845 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 +    break 2
5847 +  fi
5848 + done
5849 +  done
5850 + IFS=$as_save_IFS
5851 +
5852 + fi
5853 + fi
5854 + DLLTOOL=$ac_cv_prog_DLLTOOL
5855 + if test -n "$DLLTOOL"; then
5856 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5857 + $as_echo "$DLLTOOL" >&6; }
5858 + else
5859 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 + $as_echo "no" >&6; }
5861 + fi
5862 +
5863 +
5864 + fi
5865 + if test -z "$ac_cv_prog_DLLTOOL"; then
5866 +  ac_ct_DLLTOOL=$DLLTOOL
5867 +  # Extract the first word of "dlltool", so it can be a program name with args.
5868 + set dummy dlltool; ac_word=$2
5869 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 + $as_echo_n "checking for $ac_word... " >&6; }
5871 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5872 +  $as_echo_n "(cached) " >&6
5873 + else
5874 +  if test -n "$ac_ct_DLLTOOL"; then
5875 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5876 + else
5877 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 + for as_dir in $PATH
5879 + do
5880 +  IFS=$as_save_IFS
5881 +  test -z "$as_dir" && as_dir=.
5882 +    for ac_exec_ext in '' $ac_executable_extensions; do
5883 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5885 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 +    break 2
5887 +  fi
5888 + done
5889 +  done
5890 + IFS=$as_save_IFS
5891 +
5892 + fi
5893 + fi
5894 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5895 + if test -n "$ac_ct_DLLTOOL"; then
5896 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5897 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5898 + else
5899 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 + $as_echo "no" >&6; }
5901 + fi
5902 +
5903 +  if test "x$ac_ct_DLLTOOL" = x; then
5904 +    DLLTOOL="false"
5905 +  else
5906 +    case $cross_compiling:$ac_tool_warned in
5907 + yes:)
5908 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5909 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5910 + ac_tool_warned=yes ;;
5911 + esac
5912 +    DLLTOOL=$ac_ct_DLLTOOL
5913 +  fi
5914 + else
5915 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5916 + fi
5917 +
5918 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5919 +
5920 +
5921 +
5922 +
5923 +
5924 +
5925 +
5926 +
5927 +
5928 +
5929 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5930 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5931 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5932 +  $as_echo_n "(cached) " >&6
5933 + else
5934 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5935 +
5936 + case $host_os in
5937 + cygwin* | mingw* | pw32* | cegcc*)
5938 +  # two different shell functions defined in ltmain.sh
5939 +  # decide which to use based on capabilities of $DLLTOOL
5940 +  case `$DLLTOOL --help 2>&1` in
5941 +  *--identify-strict*)
5942 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5943 +    ;;
5944 +  *)
5945 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5946 +    ;;
5947 +  esac
5948 +  ;;
5949 + *)
5950 +  # fallback: assume linklib IS sharedlib
5951 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5952 +  ;;
5953 + esac
5954 +
5955 + fi
5956 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5957 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5958 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5959 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5960 +
5961 +
5962 +
5963 +
5964 +
5965 +
5966 +
5967   if test -n "$ac_tool_prefix"; then
5968 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5969 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5970 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5968 >  for ac_prog in ar
5969 >  do
5970 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5971 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5972 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973   $as_echo_n "checking for $ac_word... " >&6; }
5974 < if test "${ac_cv_prog_AR+set}" = set; then
5974 > if ${ac_cv_prog_AR+:} false; then :
5975    $as_echo_n "(cached) " >&6
5976   else
5977    if test -n "$AR"; then
# Line 5460 | Line 5982 | for as_dir in $PATH
5982   do
5983    IFS=$as_save_IFS
5984    test -z "$as_dir" && as_dir=.
5985 <  for ac_exec_ext in '' $ac_executable_extensions; do
5986 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5988 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5985 >    for ac_exec_ext in '' $ac_executable_extensions; do
5986 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5988 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989      break 2
5990    fi
5991   done
5992 < done
5992 >  done
5993   IFS=$as_save_IFS
5994  
5995   fi
5996   fi
5997   AR=$ac_cv_prog_AR
5998   if test -n "$AR"; then
5999 <  { $as_echo "$as_me:$LINENO: result: $AR" >&5
5999 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6000   $as_echo "$AR" >&6; }
6001   else
6002 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6002 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003   $as_echo "no" >&6; }
6004   fi
6005  
6006  
6007 +    test -n "$AR" && break
6008 +  done
6009   fi
6010 < if test -z "$ac_cv_prog_AR"; then
6010 > if test -z "$AR"; then
6011    ac_ct_AR=$AR
6012 <  # Extract the first word of "ar", so it can be a program name with args.
6013 < set dummy ar; ac_word=$2
6014 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6012 >  for ac_prog in ar
6013 > do
6014 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6015 > set dummy $ac_prog; ac_word=$2
6016 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017   $as_echo_n "checking for $ac_word... " >&6; }
6018 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6018 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6019    $as_echo_n "(cached) " >&6
6020   else
6021    if test -n "$ac_ct_AR"; then
# Line 5500 | Line 6026 | for as_dir in $PATH
6026   do
6027    IFS=$as_save_IFS
6028    test -z "$as_dir" && as_dir=.
6029 <  for ac_exec_ext in '' $ac_executable_extensions; do
6030 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6031 <    ac_cv_prog_ac_ct_AR="ar"
6032 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 >    for ac_exec_ext in '' $ac_executable_extensions; do
6030 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6032 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033      break 2
6034    fi
6035   done
6036 < done
6036 >  done
6037   IFS=$as_save_IFS
6038  
6039   fi
6040   fi
6041   ac_ct_AR=$ac_cv_prog_ac_ct_AR
6042   if test -n "$ac_ct_AR"; then
6043 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6043 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6044   $as_echo "$ac_ct_AR" >&6; }
6045   else
6046 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6046 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047   $as_echo "no" >&6; }
6048   fi
6049  
6050 +
6051 +  test -n "$ac_ct_AR" && break
6052 + done
6053 +
6054    if test "x$ac_ct_AR" = x; then
6055      AR="false"
6056    else
6057      case $cross_compiling:$ac_tool_warned in
6058   yes:)
6059 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6059 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6060   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6061   ac_tool_warned=yes ;;
6062   esac
6063      AR=$ac_ct_AR
6064    fi
5535 else
5536  AR="$ac_cv_prog_AR"
6065   fi
6066  
6067 < test -z "$AR" && AR=ar
6068 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6067 > : ${AR=ar}
6068 > : ${AR_FLAGS=cru}
6069 >
6070 >
6071  
6072  
6073  
# Line 5547 | Line 6077 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6077  
6078  
6079  
6080 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6081 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6082 + if ${lt_cv_ar_at_file+:} false; then :
6083 +  $as_echo_n "(cached) " >&6
6084 + else
6085 +  lt_cv_ar_at_file=no
6086 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6087 + /* end confdefs.h.  */
6088 +
6089 + int
6090 + main ()
6091 + {
6092 +
6093 +  ;
6094 +  return 0;
6095 + }
6096 + _ACEOF
6097 + if ac_fn_c_try_compile "$LINENO"; then :
6098 +  echo conftest.$ac_objext > conftest.lst
6099 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6100 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6101 +  (eval $lt_ar_try) 2>&5
6102 +  ac_status=$?
6103 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6104 +  test $ac_status = 0; }
6105 +      if test "$ac_status" -eq 0; then
6106 +        # Ensure the archiver fails upon bogus file names.
6107 +        rm -f conftest.$ac_objext libconftest.a
6108 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6109 +  (eval $lt_ar_try) 2>&5
6110 +  ac_status=$?
6111 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6112 +  test $ac_status = 0; }
6113 +        if test "$ac_status" -ne 0; then
6114 +          lt_cv_ar_at_file=@
6115 +        fi
6116 +      fi
6117 +      rm -f conftest.* libconftest.a
6118 +
6119 + fi
6120 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6121 +
6122 + fi
6123 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6124 + $as_echo "$lt_cv_ar_at_file" >&6; }
6125 +
6126 + if test "x$lt_cv_ar_at_file" = xno; then
6127 +  archiver_list_spec=
6128 + else
6129 +  archiver_list_spec=$lt_cv_ar_at_file
6130 + fi
6131 +
6132 +
6133 +
6134 +
6135 +
6136  
6137  
6138   if test -n "$ac_tool_prefix"; then
6139    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6140   set dummy ${ac_tool_prefix}strip; ac_word=$2
6141 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6141 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142   $as_echo_n "checking for $ac_word... " >&6; }
6143 < if test "${ac_cv_prog_STRIP+set}" = set; then
6143 > if ${ac_cv_prog_STRIP+:} false; then :
6144    $as_echo_n "(cached) " >&6
6145   else
6146    if test -n "$STRIP"; then
# Line 5565 | Line 6151 | for as_dir in $PATH
6151   do
6152    IFS=$as_save_IFS
6153    test -z "$as_dir" && as_dir=.
6154 <  for ac_exec_ext in '' $ac_executable_extensions; do
6155 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 >    for ac_exec_ext in '' $ac_executable_extensions; do
6155 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6156      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6157 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6157 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158      break 2
6159    fi
6160   done
6161 < done
6161 >  done
6162   IFS=$as_save_IFS
6163  
6164   fi
6165   fi
6166   STRIP=$ac_cv_prog_STRIP
6167   if test -n "$STRIP"; then
6168 <  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6168 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6169   $as_echo "$STRIP" >&6; }
6170   else
6171 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6171 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172   $as_echo "no" >&6; }
6173   fi
6174  
# Line 5592 | Line 6178 | if test -z "$ac_cv_prog_STRIP"; then
6178    ac_ct_STRIP=$STRIP
6179    # Extract the first word of "strip", so it can be a program name with args.
6180   set dummy strip; ac_word=$2
6181 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6181 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6182   $as_echo_n "checking for $ac_word... " >&6; }
6183 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6183 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6184    $as_echo_n "(cached) " >&6
6185   else
6186    if test -n "$ac_ct_STRIP"; then
# Line 5605 | Line 6191 | for as_dir in $PATH
6191   do
6192    IFS=$as_save_IFS
6193    test -z "$as_dir" && as_dir=.
6194 <  for ac_exec_ext in '' $ac_executable_extensions; do
6195 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6194 >    for ac_exec_ext in '' $ac_executable_extensions; do
6195 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6196      ac_cv_prog_ac_ct_STRIP="strip"
6197 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6197 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198      break 2
6199    fi
6200   done
6201 < done
6201 >  done
6202   IFS=$as_save_IFS
6203  
6204   fi
6205   fi
6206   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6207   if test -n "$ac_ct_STRIP"; then
6208 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6208 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6209   $as_echo "$ac_ct_STRIP" >&6; }
6210   else
6211 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6211 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212   $as_echo "no" >&6; }
6213   fi
6214  
# Line 5631 | Line 6217 | fi
6217    else
6218      case $cross_compiling:$ac_tool_warned in
6219   yes:)
6220 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6220 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6221   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6222   ac_tool_warned=yes ;;
6223   esac
# Line 5651 | Line 6237 | test -z "$STRIP" && STRIP=:
6237   if test -n "$ac_tool_prefix"; then
6238    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6239   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6240 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6240 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241   $as_echo_n "checking for $ac_word... " >&6; }
6242 < if test "${ac_cv_prog_RANLIB+set}" = set; then
6242 > if ${ac_cv_prog_RANLIB+:} false; then :
6243    $as_echo_n "(cached) " >&6
6244   else
6245    if test -n "$RANLIB"; then
# Line 5664 | Line 6250 | for as_dir in $PATH
6250   do
6251    IFS=$as_save_IFS
6252    test -z "$as_dir" && as_dir=.
6253 <  for ac_exec_ext in '' $ac_executable_extensions; do
6254 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 >    for ac_exec_ext in '' $ac_executable_extensions; do
6254 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6256 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257      break 2
6258    fi
6259   done
6260 < done
6260 >  done
6261   IFS=$as_save_IFS
6262  
6263   fi
6264   fi
6265   RANLIB=$ac_cv_prog_RANLIB
6266   if test -n "$RANLIB"; then
6267 <  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6267 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6268   $as_echo "$RANLIB" >&6; }
6269   else
6270 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6270 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6271   $as_echo "no" >&6; }
6272   fi
6273  
# Line 5691 | Line 6277 | if test -z "$ac_cv_prog_RANLIB"; then
6277    ac_ct_RANLIB=$RANLIB
6278    # Extract the first word of "ranlib", so it can be a program name with args.
6279   set dummy ranlib; ac_word=$2
6280 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6280 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281   $as_echo_n "checking for $ac_word... " >&6; }
6282 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6282 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6283    $as_echo_n "(cached) " >&6
6284   else
6285    if test -n "$ac_ct_RANLIB"; then
# Line 5704 | Line 6290 | for as_dir in $PATH
6290   do
6291    IFS=$as_save_IFS
6292    test -z "$as_dir" && as_dir=.
6293 <  for ac_exec_ext in '' $ac_executable_extensions; do
6294 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6293 >    for ac_exec_ext in '' $ac_executable_extensions; do
6294 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295      ac_cv_prog_ac_ct_RANLIB="ranlib"
6296 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297      break 2
6298    fi
6299   done
6300 < done
6300 >  done
6301   IFS=$as_save_IFS
6302  
6303   fi
6304   fi
6305   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6306   if test -n "$ac_ct_RANLIB"; then
6307 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6307 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6308   $as_echo "$ac_ct_RANLIB" >&6; }
6309   else
6310 <  { $as_echo "$as_me:$LINENO: result: no" >&5
6310 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311   $as_echo "no" >&6; }
6312   fi
6313  
# Line 5730 | Line 6316 | fi
6316    else
6317      case $cross_compiling:$ac_tool_warned in
6318   yes:)
6319 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6319 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6320   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6321   ac_tool_warned=yes ;;
6322   esac
# Line 5755 | Line 6341 | old_postuninstall_cmds=
6341   if test -n "$RANLIB"; then
6342    case $host_os in
6343    openbsd*)
6344 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6344 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6345      ;;
6346    *)
6347 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6347 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6348      ;;
6349    esac
6350 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6350 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6351   fi
6352  
6353 + case $host_os in
6354 +  darwin*)
6355 +    lock_old_archive_extraction=yes ;;
6356 +  *)
6357 +    lock_old_archive_extraction=no ;;
6358 + esac
6359 +
6360 +
6361 +
6362 +
6363 +
6364 +
6365  
6366  
6367  
# Line 5808 | Line 6406 | compiler=$CC
6406  
6407  
6408   # Check for command to grab the raw symbol name followed by C symbol from nm.
6409 < { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6409 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6410   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6411 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6411 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6412    $as_echo_n "(cached) " >&6
6413   else
6414  
# Line 5871 | Line 6469 | esac
6469   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6470  
6471   # Transform an extracted symbol line into symbol name and symbol address
6472 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6473 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6472 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6473 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6474  
6475   # Handle CRLF in mingw tool chain
6476   opt_cr=
# Line 5896 | Line 6494 | for ac_symprfx in "" "_"; do
6494      # which start with @ or ?.
6495      lt_cv_sys_global_symbol_pipe="$AWK '"\
6496   "     {last_section=section; section=\$ 3};"\
6497 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6498   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6499   "     \$ 0!~/External *\|/{next};"\
6500   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 5908 | Line 6507 | for ac_symprfx in "" "_"; do
6507    else
6508      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6509    fi
6510 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6511  
6512    # Check to see that the pipe works correctly.
6513    pipe_works=no
# Line 5926 | Line 6526 | void nm_test_func(void){}
6526   int main(){nm_test_var='a';nm_test_func();return(0);}
6527   _LT_EOF
6528  
6529 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6529 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6530    (eval $ac_compile) 2>&5
6531    ac_status=$?
6532 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 <  (exit $ac_status); }; then
6532 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6533 >  test $ac_status = 0; }; then
6534      # Now try to grab the symbols.
6535      nlist=conftest.nm
6536 <    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6537 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6536 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6537 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6538    ac_status=$?
6539 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 <  (exit $ac_status); } && test -s "$nlist"; then
6539 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6540 >  test $ac_status = 0; } && test -s "$nlist"; then
6541        # Try sorting and uniquifying the output.
6542        if sort "$nlist" | uniq > "$nlist"T; then
6543          mv -f "$nlist"T "$nlist"
# Line 5949 | Line 6549 | _LT_EOF
6549        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6550          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6551            cat <<_LT_EOF > conftest.$ac_ext
6552 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6553 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6554 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6555 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6556 + # define LT_DLSYM_CONST
6557 + #elif defined(__osf__)
6558 + /* This system does not cope well with relocations in const data.  */
6559 + # define LT_DLSYM_CONST
6560 + #else
6561 + # define LT_DLSYM_CONST const
6562 + #endif
6563 +
6564   #ifdef __cplusplus
6565   extern "C" {
6566   #endif
# Line 5960 | Line 6572 | _LT_EOF
6572            cat <<_LT_EOF >> conftest.$ac_ext
6573  
6574   /* The mapping between symbol names and symbols.  */
6575 < const struct {
6575 > LT_DLSYM_CONST struct {
6576    const char *name;
6577    void       *address;
6578   }
# Line 5986 | Line 6598 | static const void *lt_preloaded_setup()
6598   _LT_EOF
6599            # Now try linking the two files.
6600            mv conftest.$ac_objext conftstm.$ac_objext
6601 <          lt_save_LIBS="$LIBS"
6602 <          lt_save_CFLAGS="$CFLAGS"
6601 >          lt_globsym_save_LIBS=$LIBS
6602 >          lt_globsym_save_CFLAGS=$CFLAGS
6603            LIBS="conftstm.$ac_objext"
6604            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6605 <          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6605 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6606    (eval $ac_link) 2>&5
6607    ac_status=$?
6608 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 <  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6608 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6609 >  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6610              pipe_works=yes
6611            fi
6612 <          LIBS="$lt_save_LIBS"
6613 <          CFLAGS="$lt_save_CFLAGS"
6612 >          LIBS=$lt_globsym_save_LIBS
6613 >          CFLAGS=$lt_globsym_save_CFLAGS
6614          else
6615            echo "cannot find nm_test_func in $nlist" >&5
6616          fi
# Line 6028 | Line 6640 | if test -z "$lt_cv_sys_global_symbol_pip
6640    lt_cv_sys_global_symbol_to_cdecl=
6641   fi
6642   if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6643 <  { $as_echo "$as_me:$LINENO: result: failed" >&5
6643 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6644   $as_echo "failed" >&6; }
6645   else
6646 <  { $as_echo "$as_me:$LINENO: result: ok" >&5
6646 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6647   $as_echo "ok" >&6; }
6648   fi
6649  
6650 + # Response file support.
6651 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6652 +  nm_file_list_spec='@'
6653 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6654 +  nm_file_list_spec='@'
6655 + fi
6656 +
6657 +
6658 +
6659 +
6660 +
6661 +
6662 +
6663 +
6664  
6665  
6666  
# Line 6054 | Line 6680 | fi
6680  
6681  
6682  
6683 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6684 + $as_echo_n "checking for sysroot... " >&6; }
6685 +
6686 + # Check whether --with-sysroot was given.
6687 + if test "${with_sysroot+set}" = set; then :
6688 +  withval=$with_sysroot;
6689 + else
6690 +  with_sysroot=no
6691 + fi
6692 +
6693 +
6694 + lt_sysroot=
6695 + case ${with_sysroot} in #(
6696 + yes)
6697 +   if test "$GCC" = yes; then
6698 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6699 +   fi
6700 +   ;; #(
6701 + /*)
6702 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6703 +   ;; #(
6704 + no|'')
6705 +   ;; #(
6706 + *)
6707 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6708 + $as_echo "${with_sysroot}" >&6; }
6709 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6710 +   ;;
6711 + esac
6712 +
6713 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6714 + $as_echo "${lt_sysroot:-no}" >&6; }
6715 +
6716 +
6717 +
6718  
6719  
6720   # Check whether --enable-libtool-lock was given.
6721 < if test "${enable_libtool_lock+set}" = set; then
6721 > if test "${enable_libtool_lock+set}" = set; then :
6722    enableval=$enable_libtool_lock;
6723   fi
6724  
# Line 6069 | Line 6730 | case $host in
6730   ia64-*-hpux*)
6731    # Find out which ABI we are using.
6732    echo 'int i;' > conftest.$ac_ext
6733 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6733 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6734    (eval $ac_compile) 2>&5
6735    ac_status=$?
6736 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 <  (exit $ac_status); }; then
6736 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6737 >  test $ac_status = 0; }; then
6738      case `/usr/bin/file conftest.$ac_objext` in
6739        *ELF-32*)
6740          HPUX_IA64_MODE="32"
# Line 6087 | Line 6748 | ia64-*-hpux*)
6748    ;;
6749   *-*-irix6*)
6750    # Find out which ABI we are using.
6751 <  echo '#line 6090 "configure"' > conftest.$ac_ext
6752 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6751 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6752 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6753    (eval $ac_compile) 2>&5
6754    ac_status=$?
6755 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 <  (exit $ac_status); }; then
6755 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6756 >  test $ac_status = 0; }; then
6757      if test "$lt_cv_prog_gnu_ld" = yes; then
6758        case `/usr/bin/file conftest.$ac_objext` in
6759          *32-bit*)
# Line 6126 | Line 6787 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc
6787   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6788    # Find out which ABI we are using.
6789    echo 'int i;' > conftest.$ac_ext
6790 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6790 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6791    (eval $ac_compile) 2>&5
6792    ac_status=$?
6793 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 <  (exit $ac_status); }; then
6793 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6794 >  test $ac_status = 0; }; then
6795      case `/usr/bin/file conftest.o` in
6796        *32-bit*)
6797          case $host in
# Line 6179 | Line 6840 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6840    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6841    SAVE_CFLAGS="$CFLAGS"
6842    CFLAGS="$CFLAGS -belf"
6843 <  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6843 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6844   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6845 < if test "${lt_cv_cc_needs_belf+set}" = set; then
6845 > if ${lt_cv_cc_needs_belf+:} false; then :
6846    $as_echo_n "(cached) " >&6
6847   else
6848    ac_ext=c
# Line 6190 | Line 6851 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
6851   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6852   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6853  
6854 <     cat >conftest.$ac_ext <<_ACEOF
6194 < /* confdefs.h.  */
6195 < _ACEOF
6196 < cat confdefs.h >>conftest.$ac_ext
6197 < cat >>conftest.$ac_ext <<_ACEOF
6854 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6855   /* end confdefs.h.  */
6856  
6857   int
# Line 6205 | Line 6862 | main ()
6862    return 0;
6863   }
6864   _ACEOF
6865 < 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
6865 > if ac_fn_c_try_link "$LINENO"; then :
6866    lt_cv_cc_needs_belf=yes
6867   else
6868 <  $as_echo "$as_me: failed program was:" >&5
6232 < sed 's/^/| /' conftest.$ac_ext >&5
6233 <
6234 <        lt_cv_cc_needs_belf=no
6868 >  lt_cv_cc_needs_belf=no
6869   fi
6870 <
6871 < rm -rf conftest.dSYM
6238 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6239 <      conftest$ac_exeext conftest.$ac_ext
6870 > rm -f core conftest.err conftest.$ac_objext \
6871 >    conftest$ac_exeext conftest.$ac_ext
6872       ac_ext=c
6873   ac_cpp='$CPP $CPPFLAGS'
6874   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 6244 | Line 6876 | ac_link='$CC -o conftest$ac_exeext $CFLA
6876   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6877  
6878   fi
6879 < { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6879 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6880   $as_echo "$lt_cv_cc_needs_belf" >&6; }
6881    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6882      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6883      CFLAGS="$SAVE_CFLAGS"
6884    fi
6885    ;;
6886 < sparc*-*solaris*)
6886 > *-*solaris*)
6887    # Find out which ABI we are using.
6888    echo 'int i;' > conftest.$ac_ext
6889 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6889 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6890    (eval $ac_compile) 2>&5
6891    ac_status=$?
6892 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 <  (exit $ac_status); }; then
6892 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6893 >  test $ac_status = 0; }; then
6894      case `/usr/bin/file conftest.o` in
6895      *64-bit*)
6896        case $lt_cv_prog_gnu_ld in
6897 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6897 >      yes*)
6898 >        case $host in
6899 >        i?86-*-solaris*)
6900 >          LD="${LD-ld} -m elf_x86_64"
6901 >          ;;
6902 >        sparc*-*-solaris*)
6903 >          LD="${LD-ld} -m elf64_sparc"
6904 >          ;;
6905 >        esac
6906 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6907 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6908 >          LD="${LD-ld}_sol2"
6909 >        fi
6910 >        ;;
6911        *)
6912          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6913            LD="${LD-ld} -64"
# Line 6278 | Line 6923 | esac
6923  
6924   need_locks="$enable_libtool_lock"
6925  
6926 + if test -n "$ac_tool_prefix"; then
6927 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6928 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6929 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 + $as_echo_n "checking for $ac_word... " >&6; }
6931 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6932 +  $as_echo_n "(cached) " >&6
6933 + else
6934 +  if test -n "$MANIFEST_TOOL"; then
6935 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6936 + else
6937 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938 + for as_dir in $PATH
6939 + do
6940 +  IFS=$as_save_IFS
6941 +  test -z "$as_dir" && as_dir=.
6942 +    for ac_exec_ext in '' $ac_executable_extensions; do
6943 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6945 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946 +    break 2
6947 +  fi
6948 + done
6949 +  done
6950 + IFS=$as_save_IFS
6951 +
6952 + fi
6953 + fi
6954 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6955 + if test -n "$MANIFEST_TOOL"; then
6956 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6957 + $as_echo "$MANIFEST_TOOL" >&6; }
6958 + else
6959 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 + $as_echo "no" >&6; }
6961 + fi
6962 +
6963 +
6964 + fi
6965 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6966 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6967 +  # Extract the first word of "mt", so it can be a program name with args.
6968 + set dummy mt; ac_word=$2
6969 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 + $as_echo_n "checking for $ac_word... " >&6; }
6971 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6972 +  $as_echo_n "(cached) " >&6
6973 + else
6974 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6975 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6976 + else
6977 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 + for as_dir in $PATH
6979 + do
6980 +  IFS=$as_save_IFS
6981 +  test -z "$as_dir" && as_dir=.
6982 +    for ac_exec_ext in '' $ac_executable_extensions; do
6983 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6985 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 +    break 2
6987 +  fi
6988 + done
6989 +  done
6990 + IFS=$as_save_IFS
6991 +
6992 + fi
6993 + fi
6994 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6995 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6996 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6997 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6998 + else
6999 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 + $as_echo "no" >&6; }
7001 + fi
7002 +
7003 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7004 +    MANIFEST_TOOL=":"
7005 +  else
7006 +    case $cross_compiling:$ac_tool_warned in
7007 + yes:)
7008 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7009 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7010 + ac_tool_warned=yes ;;
7011 + esac
7012 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7013 +  fi
7014 + else
7015 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7016 + fi
7017 +
7018 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7019 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7020 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7021 + if ${lt_cv_path_mainfest_tool+:} false; then :
7022 +  $as_echo_n "(cached) " >&6
7023 + else
7024 +  lt_cv_path_mainfest_tool=no
7025 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7026 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7027 +  cat conftest.err >&5
7028 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7029 +    lt_cv_path_mainfest_tool=yes
7030 +  fi
7031 +  rm -f conftest*
7032 + fi
7033 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7034 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7035 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7036 +  MANIFEST_TOOL=:
7037 + fi
7038 +
7039 +
7040 +
7041 +
7042 +
7043  
7044    case $host_os in
7045      rhapsody* | darwin*)
7046      if test -n "$ac_tool_prefix"; then
7047    # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7048   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7049 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7049 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7050   $as_echo_n "checking for $ac_word... " >&6; }
7051 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7051 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7052    $as_echo_n "(cached) " >&6
7053   else
7054    if test -n "$DSYMUTIL"; then
# Line 6297 | Line 7059 | for as_dir in $PATH
7059   do
7060    IFS=$as_save_IFS
7061    test -z "$as_dir" && as_dir=.
7062 <  for ac_exec_ext in '' $ac_executable_extensions; do
7063 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7062 >    for ac_exec_ext in '' $ac_executable_extensions; do
7063 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7064      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7065 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7065 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7066      break 2
7067    fi
7068   done
7069 < done
7069 >  done
7070   IFS=$as_save_IFS
7071  
7072   fi
7073   fi
7074   DSYMUTIL=$ac_cv_prog_DSYMUTIL
7075   if test -n "$DSYMUTIL"; then
7076 <  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7076 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7077   $as_echo "$DSYMUTIL" >&6; }
7078   else
7079 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7079 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080   $as_echo "no" >&6; }
7081   fi
7082  
# Line 6324 | Line 7086 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7086    ac_ct_DSYMUTIL=$DSYMUTIL
7087    # Extract the first word of "dsymutil", so it can be a program name with args.
7088   set dummy dsymutil; ac_word=$2
7089 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7089 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090   $as_echo_n "checking for $ac_word... " >&6; }
7091 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7091 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7092    $as_echo_n "(cached) " >&6
7093   else
7094    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6337 | Line 7099 | for as_dir in $PATH
7099   do
7100    IFS=$as_save_IFS
7101    test -z "$as_dir" && as_dir=.
7102 <  for ac_exec_ext in '' $ac_executable_extensions; do
7103 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7102 >    for ac_exec_ext in '' $ac_executable_extensions; do
7103 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7104      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7105 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7105 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106      break 2
7107    fi
7108   done
7109 < done
7109 >  done
7110   IFS=$as_save_IFS
7111  
7112   fi
7113   fi
7114   ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7115   if test -n "$ac_ct_DSYMUTIL"; then
7116 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7116 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7117   $as_echo "$ac_ct_DSYMUTIL" >&6; }
7118   else
7119 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7119 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120   $as_echo "no" >&6; }
7121   fi
7122  
# Line 6363 | Line 7125 | fi
7125    else
7126      case $cross_compiling:$ac_tool_warned in
7127   yes:)
7128 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7128 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7129   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7130   ac_tool_warned=yes ;;
7131   esac
# Line 6376 | Line 7138 | fi
7138      if test -n "$ac_tool_prefix"; then
7139    # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7140   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7141 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7141 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7142   $as_echo_n "checking for $ac_word... " >&6; }
7143 < if test "${ac_cv_prog_NMEDIT+set}" = set; then
7143 > if ${ac_cv_prog_NMEDIT+:} false; then :
7144    $as_echo_n "(cached) " >&6
7145   else
7146    if test -n "$NMEDIT"; then
# Line 6389 | Line 7151 | for as_dir in $PATH
7151   do
7152    IFS=$as_save_IFS
7153    test -z "$as_dir" && as_dir=.
7154 <  for ac_exec_ext in '' $ac_executable_extensions; do
7155 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7154 >    for ac_exec_ext in '' $ac_executable_extensions; do
7155 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7156      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7157 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7157 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158      break 2
7159    fi
7160   done
7161 < done
7161 >  done
7162   IFS=$as_save_IFS
7163  
7164   fi
7165   fi
7166   NMEDIT=$ac_cv_prog_NMEDIT
7167   if test -n "$NMEDIT"; then
7168 <  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7168 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7169   $as_echo "$NMEDIT" >&6; }
7170   else
7171 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7171 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172   $as_echo "no" >&6; }
7173   fi
7174  
# Line 6416 | Line 7178 | if test -z "$ac_cv_prog_NMEDIT"; then
7178    ac_ct_NMEDIT=$NMEDIT
7179    # Extract the first word of "nmedit", so it can be a program name with args.
7180   set dummy nmedit; ac_word=$2
7181 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7181 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7182   $as_echo_n "checking for $ac_word... " >&6; }
7183 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7183 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7184    $as_echo_n "(cached) " >&6
7185   else
7186    if test -n "$ac_ct_NMEDIT"; then
# Line 6429 | Line 7191 | for as_dir in $PATH
7191   do
7192    IFS=$as_save_IFS
7193    test -z "$as_dir" && as_dir=.
7194 <  for ac_exec_ext in '' $ac_executable_extensions; do
7195 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194 >    for ac_exec_ext in '' $ac_executable_extensions; do
7195 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7196      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7197 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198      break 2
7199    fi
7200   done
7201 < done
7201 >  done
7202   IFS=$as_save_IFS
7203  
7204   fi
7205   fi
7206   ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7207   if test -n "$ac_ct_NMEDIT"; then
7208 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7208 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7209   $as_echo "$ac_ct_NMEDIT" >&6; }
7210   else
7211 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7211 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7212   $as_echo "no" >&6; }
7213   fi
7214  
# Line 6455 | Line 7217 | fi
7217    else
7218      case $cross_compiling:$ac_tool_warned in
7219   yes:)
7220 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7220 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7221   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7222   ac_tool_warned=yes ;;
7223   esac
# Line 6468 | Line 7230 | fi
7230      if test -n "$ac_tool_prefix"; then
7231    # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7232   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7233 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7233 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234   $as_echo_n "checking for $ac_word... " >&6; }
7235 < if test "${ac_cv_prog_LIPO+set}" = set; then
7235 > if ${ac_cv_prog_LIPO+:} false; then :
7236    $as_echo_n "(cached) " >&6
7237   else
7238    if test -n "$LIPO"; then
# Line 6481 | Line 7243 | for as_dir in $PATH
7243   do
7244    IFS=$as_save_IFS
7245    test -z "$as_dir" && as_dir=.
7246 <  for ac_exec_ext in '' $ac_executable_extensions; do
7247 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7246 >    for ac_exec_ext in '' $ac_executable_extensions; do
7247 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7249 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7249 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250      break 2
7251    fi
7252   done
7253 < done
7253 >  done
7254   IFS=$as_save_IFS
7255  
7256   fi
7257   fi
7258   LIPO=$ac_cv_prog_LIPO
7259   if test -n "$LIPO"; then
7260 <  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7260 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7261   $as_echo "$LIPO" >&6; }
7262   else
7263 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7263 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264   $as_echo "no" >&6; }
7265   fi
7266  
# Line 6508 | Line 7270 | if test -z "$ac_cv_prog_LIPO"; then
7270    ac_ct_LIPO=$LIPO
7271    # Extract the first word of "lipo", so it can be a program name with args.
7272   set dummy lipo; ac_word=$2
7273 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7273 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274   $as_echo_n "checking for $ac_word... " >&6; }
7275 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7275 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7276    $as_echo_n "(cached) " >&6
7277   else
7278    if test -n "$ac_ct_LIPO"; then
# Line 6521 | Line 7283 | for as_dir in $PATH
7283   do
7284    IFS=$as_save_IFS
7285    test -z "$as_dir" && as_dir=.
7286 <  for ac_exec_ext in '' $ac_executable_extensions; do
7287 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7286 >    for ac_exec_ext in '' $ac_executable_extensions; do
7287 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7288      ac_cv_prog_ac_ct_LIPO="lipo"
7289 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7289 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290      break 2
7291    fi
7292   done
7293 < done
7293 >  done
7294   IFS=$as_save_IFS
7295  
7296   fi
7297   fi
7298   ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7299   if test -n "$ac_ct_LIPO"; then
7300 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7300 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7301   $as_echo "$ac_ct_LIPO" >&6; }
7302   else
7303 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7303 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304   $as_echo "no" >&6; }
7305   fi
7306  
# Line 6547 | Line 7309 | fi
7309    else
7310      case $cross_compiling:$ac_tool_warned in
7311   yes:)
7312 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7312 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314   ac_tool_warned=yes ;;
7315   esac
# Line 6560 | Line 7322 | fi
7322      if test -n "$ac_tool_prefix"; then
7323    # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7324   set dummy ${ac_tool_prefix}otool; ac_word=$2
7325 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7325 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326   $as_echo_n "checking for $ac_word... " >&6; }
7327 < if test "${ac_cv_prog_OTOOL+set}" = set; then
7327 > if ${ac_cv_prog_OTOOL+:} false; then :
7328    $as_echo_n "(cached) " >&6
7329   else
7330    if test -n "$OTOOL"; then
# Line 6573 | Line 7335 | for as_dir in $PATH
7335   do
7336    IFS=$as_save_IFS
7337    test -z "$as_dir" && as_dir=.
7338 <  for ac_exec_ext in '' $ac_executable_extensions; do
7339 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 >    for ac_exec_ext in '' $ac_executable_extensions; do
7339 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7341 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342      break 2
7343    fi
7344   done
7345 < done
7345 >  done
7346   IFS=$as_save_IFS
7347  
7348   fi
7349   fi
7350   OTOOL=$ac_cv_prog_OTOOL
7351   if test -n "$OTOOL"; then
7352 <  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7352 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7353   $as_echo "$OTOOL" >&6; }
7354   else
7355 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7355 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356   $as_echo "no" >&6; }
7357   fi
7358  
# Line 6600 | Line 7362 | if test -z "$ac_cv_prog_OTOOL"; then
7362    ac_ct_OTOOL=$OTOOL
7363    # Extract the first word of "otool", so it can be a program name with args.
7364   set dummy otool; ac_word=$2
7365 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7365 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366   $as_echo_n "checking for $ac_word... " >&6; }
7367 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7367 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7368    $as_echo_n "(cached) " >&6
7369   else
7370    if test -n "$ac_ct_OTOOL"; then
# Line 6613 | Line 7375 | for as_dir in $PATH
7375   do
7376    IFS=$as_save_IFS
7377    test -z "$as_dir" && as_dir=.
7378 <  for ac_exec_ext in '' $ac_executable_extensions; do
7379 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7378 >    for ac_exec_ext in '' $ac_executable_extensions; do
7379 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7380      ac_cv_prog_ac_ct_OTOOL="otool"
7381 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7381 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382      break 2
7383    fi
7384   done
7385 < done
7385 >  done
7386   IFS=$as_save_IFS
7387  
7388   fi
7389   fi
7390   ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7391   if test -n "$ac_ct_OTOOL"; then
7392 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7392 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7393   $as_echo "$ac_ct_OTOOL" >&6; }
7394   else
7395 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7395 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396   $as_echo "no" >&6; }
7397   fi
7398  
# Line 6639 | Line 7401 | fi
7401    else
7402      case $cross_compiling:$ac_tool_warned in
7403   yes:)
7404 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7404 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406   ac_tool_warned=yes ;;
7407   esac
# Line 6652 | Line 7414 | fi
7414      if test -n "$ac_tool_prefix"; then
7415    # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7416   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7417 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7417 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418   $as_echo_n "checking for $ac_word... " >&6; }
7419 < if test "${ac_cv_prog_OTOOL64+set}" = set; then
7419 > if ${ac_cv_prog_OTOOL64+:} false; then :
7420    $as_echo_n "(cached) " >&6
7421   else
7422    if test -n "$OTOOL64"; then
# Line 6665 | Line 7427 | for as_dir in $PATH
7427   do
7428    IFS=$as_save_IFS
7429    test -z "$as_dir" && as_dir=.
7430 <  for ac_exec_ext in '' $ac_executable_extensions; do
7431 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430 >    for ac_exec_ext in '' $ac_executable_extensions; do
7431 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7432      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7433 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7433 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434      break 2
7435    fi
7436   done
7437 < done
7437 >  done
7438   IFS=$as_save_IFS
7439  
7440   fi
7441   fi
7442   OTOOL64=$ac_cv_prog_OTOOL64
7443   if test -n "$OTOOL64"; then
7444 <  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7444 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7445   $as_echo "$OTOOL64" >&6; }
7446   else
7447 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7447 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448   $as_echo "no" >&6; }
7449   fi
7450  
# Line 6692 | Line 7454 | if test -z "$ac_cv_prog_OTOOL64"; then
7454    ac_ct_OTOOL64=$OTOOL64
7455    # Extract the first word of "otool64", so it can be a program name with args.
7456   set dummy otool64; ac_word=$2
7457 < { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7457 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458   $as_echo_n "checking for $ac_word... " >&6; }
7459 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7459 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7460    $as_echo_n "(cached) " >&6
7461   else
7462    if test -n "$ac_ct_OTOOL64"; then
# Line 6705 | Line 7467 | for as_dir in $PATH
7467   do
7468    IFS=$as_save_IFS
7469    test -z "$as_dir" && as_dir=.
7470 <  for ac_exec_ext in '' $ac_executable_extensions; do
7471 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7470 >    for ac_exec_ext in '' $ac_executable_extensions; do
7471 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7472      ac_cv_prog_ac_ct_OTOOL64="otool64"
7473 <    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474      break 2
7475    fi
7476   done
7477 < done
7477 >  done
7478   IFS=$as_save_IFS
7479  
7480   fi
7481   fi
7482   ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7483   if test -n "$ac_ct_OTOOL64"; then
7484 <  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7484 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7485   $as_echo "$ac_ct_OTOOL64" >&6; }
7486   else
7487 <  { $as_echo "$as_me:$LINENO: result: no" >&5
7487 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488   $as_echo "no" >&6; }
7489   fi
7490  
# Line 6731 | Line 7493 | fi
7493    else
7494      case $cross_compiling:$ac_tool_warned in
7495   yes:)
7496 < { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7496 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7497   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7498   ac_tool_warned=yes ;;
7499   esac
# Line 6767 | Line 7529 | fi
7529  
7530  
7531  
7532 <    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7532 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7533   $as_echo_n "checking for -single_module linker flag... " >&6; }
7534 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7534 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7535    $as_echo_n "(cached) " >&6
7536   else
7537    lt_cv_apple_cc_single_mod=no
# Line 6785 | Line 7547 | else
7547          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7548            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7549          _lt_result=$?
7550 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7550 >        # If there is a non-empty error log, and "single_module"
7551 >        # appears in it, assume the flag caused a linker warning
7552 >        if test -s conftest.err && $GREP single_module conftest.err; then
7553 >          cat conftest.err >&5
7554 >        # Otherwise, if the output was created with a 0 exit code from
7555 >        # the compiler, it worked.
7556 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7557            lt_cv_apple_cc_single_mod=yes
7558          else
7559            cat conftest.err >&5
# Line 6794 | Line 7562 | else
7562          rm -f conftest.*
7563        fi
7564   fi
7565 < { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7565 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7566   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7567 <    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7567 >
7568 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7569   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7570 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7570 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7571    $as_echo_n "(cached) " >&6
7572   else
7573    lt_cv_ld_exported_symbols_list=no
7574        save_LDFLAGS=$LDFLAGS
7575        echo "_main" > conftest.sym
7576        LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7577 <      cat >conftest.$ac_ext <<_ACEOF
6809 < /* confdefs.h.  */
6810 < _ACEOF
6811 < cat confdefs.h >>conftest.$ac_ext
6812 < cat >>conftest.$ac_ext <<_ACEOF
7577 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7578   /* end confdefs.h.  */
7579  
7580   int
# Line 6820 | Line 7585 | main ()
7585    return 0;
7586   }
7587   _ACEOF
7588 < 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
7588 > if ac_fn_c_try_link "$LINENO"; then :
7589    lt_cv_ld_exported_symbols_list=yes
7590   else
7591 <  $as_echo "$as_me: failed program was:" >&5
6847 < sed 's/^/| /' conftest.$ac_ext >&5
6848 <
6849 <        lt_cv_ld_exported_symbols_list=no
7591 >  lt_cv_ld_exported_symbols_list=no
7592   fi
7593 <
7594 < rm -rf conftest.dSYM
6853 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6854 <      conftest$ac_exeext conftest.$ac_ext
7593 > rm -f core conftest.err conftest.$ac_objext \
7594 >    conftest$ac_exeext conftest.$ac_ext
7595          LDFLAGS="$save_LDFLAGS"
7596  
7597   fi
7598 < { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7598 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7599   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7600 +
7601 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7602 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7603 + if ${lt_cv_ld_force_load+:} false; then :
7604 +  $as_echo_n "(cached) " >&6
7605 + else
7606 +  lt_cv_ld_force_load=no
7607 +      cat > conftest.c << _LT_EOF
7608 + int forced_loaded() { return 2;}
7609 + _LT_EOF
7610 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7611 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7612 +      echo "$AR cru libconftest.a conftest.o" >&5
7613 +      $AR cru libconftest.a conftest.o 2>&5
7614 +      echo "$RANLIB libconftest.a" >&5
7615 +      $RANLIB libconftest.a 2>&5
7616 +      cat > conftest.c << _LT_EOF
7617 + int main() { return 0;}
7618 + _LT_EOF
7619 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7620 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7621 +      _lt_result=$?
7622 +      if test -s conftest.err && $GREP force_load conftest.err; then
7623 +        cat conftest.err >&5
7624 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7625 +        lt_cv_ld_force_load=yes
7626 +      else
7627 +        cat conftest.err >&5
7628 +      fi
7629 +        rm -f conftest.err libconftest.a conftest conftest.c
7630 +        rm -rf conftest.dSYM
7631 +
7632 + fi
7633 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7634 + $as_echo "$lt_cv_ld_force_load" >&6; }
7635      case $host_os in
7636      rhapsody* | darwin1.[012])
7637        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 6884 | Line 7659 | $as_echo "$lt_cv_ld_exported_symbols_lis
7659      else
7660        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7661      fi
7662 <    if test "$DSYMUTIL" != ":"; then
7662 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7663        _lt_dsymutil='~$DSYMUTIL $lib || :'
7664      else
7665        _lt_dsymutil=
# Line 6897 | Line 7672 | ac_cpp='$CPP $CPPFLAGS'
7672   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7673   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7674   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7675 < { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7675 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7676   $as_echo_n "checking how to run the C preprocessor... " >&6; }
7677   # On Suns, sometimes $CPP names a directory.
7678   if test -n "$CPP" && test -d "$CPP"; then
7679    CPP=
7680   fi
7681   if test -z "$CPP"; then
7682 <  if test "${ac_cv_prog_CPP+set}" = set; then
7682 >  if ${ac_cv_prog_CPP+:} false; then :
7683    $as_echo_n "(cached) " >&6
7684   else
7685        # Double quotes because CPP needs to be expanded
# Line 6919 | Line 7694 | do
7694    # <limits.h> exists even on freestanding compilers.
7695    # On the NeXT, cc -E runs the code through the compiler's parser,
7696    # not just through cpp. "Syntax error" is here to catch this case.
7697 <  cat >conftest.$ac_ext <<_ACEOF
6923 < /* confdefs.h.  */
6924 < _ACEOF
6925 < cat confdefs.h >>conftest.$ac_ext
6926 < cat >>conftest.$ac_ext <<_ACEOF
7697 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698   /* end confdefs.h.  */
7699   #ifdef __STDC__
7700   # include <limits.h>
# Line 6932 | Line 7703 | cat >>conftest.$ac_ext <<_ACEOF
7703   #endif
7704                       Syntax error
7705   _ACEOF
7706 < 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
7706 > if ac_fn_c_try_cpp "$LINENO"; then :
7707  
7708 + else
7709    # Broken: fails on valid input.
7710   continue
7711   fi
7712 <
6961 < rm -f conftest.err conftest.$ac_ext
7712 > rm -f conftest.err conftest.i conftest.$ac_ext
7713  
7714    # OK, works on sane cases.  Now check whether nonexistent headers
7715    # can be detected and how.
7716 <  cat >conftest.$ac_ext <<_ACEOF
6966 < /* confdefs.h.  */
6967 < _ACEOF
6968 < cat confdefs.h >>conftest.$ac_ext
6969 < cat >>conftest.$ac_ext <<_ACEOF
7716 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717   /* end confdefs.h.  */
7718   #include <ac_nonexistent.h>
7719   _ACEOF
7720 < 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
7720 > if ac_fn_c_try_cpp "$LINENO"; then :
7721    # Broken: success on invalid input.
7722   continue
7723   else
6993  $as_echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.$ac_ext >&5
6995
7724    # Passes both tests.
7725   ac_preproc_ok=:
7726   break
7727   fi
7728 <
7001 < rm -f conftest.err conftest.$ac_ext
7728 > rm -f conftest.err conftest.i conftest.$ac_ext
7729  
7730   done
7731   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7732 < rm -f conftest.err conftest.$ac_ext
7733 < if $ac_preproc_ok; then
7732 > rm -f conftest.i conftest.err conftest.$ac_ext
7733 > if $ac_preproc_ok; then :
7734    break
7735   fi
7736  
# Line 7015 | Line 7742 | fi
7742   else
7743    ac_cv_prog_CPP=$CPP
7744   fi
7745 < { $as_echo "$as_me:$LINENO: result: $CPP" >&5
7745 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7746   $as_echo "$CPP" >&6; }
7747   ac_preproc_ok=false
7748   for ac_c_preproc_warn_flag in '' yes
# Line 7026 | Line 7753 | do
7753    # <limits.h> exists even on freestanding compilers.
7754    # On the NeXT, cc -E runs the code through the compiler's parser,
7755    # not just through cpp. "Syntax error" is here to catch this case.
7756 <  cat >conftest.$ac_ext <<_ACEOF
7030 < /* confdefs.h.  */
7031 < _ACEOF
7032 < cat confdefs.h >>conftest.$ac_ext
7033 < cat >>conftest.$ac_ext <<_ACEOF
7756 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757   /* end confdefs.h.  */
7758   #ifdef __STDC__
7759   # include <limits.h>
# Line 7039 | Line 7762 | cat >>conftest.$ac_ext <<_ACEOF
7762   #endif
7763                       Syntax error
7764   _ACEOF
7765 < 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
7765 > if ac_fn_c_try_cpp "$LINENO"; then :
7766  
7767 + else
7768    # Broken: fails on valid input.
7769   continue
7770   fi
7771 <
7068 < rm -f conftest.err conftest.$ac_ext
7771 > rm -f conftest.err conftest.i conftest.$ac_ext
7772  
7773    # OK, works on sane cases.  Now check whether nonexistent headers
7774    # can be detected and how.
7775 <  cat >conftest.$ac_ext <<_ACEOF
7073 < /* confdefs.h.  */
7074 < _ACEOF
7075 < cat confdefs.h >>conftest.$ac_ext
7076 < cat >>conftest.$ac_ext <<_ACEOF
7775 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7776   /* end confdefs.h.  */
7777   #include <ac_nonexistent.h>
7778   _ACEOF
7779 < 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
7779 > if ac_fn_c_try_cpp "$LINENO"; then :
7780    # Broken: success on invalid input.
7781   continue
7782   else
7100  $as_echo "$as_me: failed program was:" >&5
7101 sed 's/^/| /' conftest.$ac_ext >&5
7102
7783    # Passes both tests.
7784   ac_preproc_ok=:
7785   break
7786   fi
7787 <
7108 < rm -f conftest.err conftest.$ac_ext
7787 > rm -f conftest.err conftest.i conftest.$ac_ext
7788  
7789   done
7790   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7791 < rm -f conftest.err conftest.$ac_ext
7792 < if $ac_preproc_ok; then
7793 <  :
7791 > rm -f conftest.i conftest.err conftest.$ac_ext
7792 > if $ac_preproc_ok; then :
7793 >
7794   else
7795 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7795 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7796   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7797 < { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7798 < 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; }; }; }
7797 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7798 > See \`config.log' for more details" "$LINENO" 5; }
7799   fi
7800  
7801   ac_ext=c
# Line 7129 | Line 7805 | ac_link='$CC -o conftest$ac_exeext $CFLA
7805   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7806  
7807  
7808 < { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7808 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7809   $as_echo_n "checking for ANSI C header files... " >&6; }
7810 < if test "${ac_cv_header_stdc+set}" = set; then
7810 > if ${ac_cv_header_stdc+:} false; then :
7811    $as_echo_n "(cached) " >&6
7812   else
7813 <  cat >conftest.$ac_ext <<_ACEOF
7138 < /* confdefs.h.  */
7139 < _ACEOF
7140 < cat confdefs.h >>conftest.$ac_ext
7141 < cat >>conftest.$ac_ext <<_ACEOF
7813 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7814   /* end confdefs.h.  */
7815   #include <stdlib.h>
7816   #include <stdarg.h>
# Line 7153 | Line 7825 | main ()
7825    return 0;
7826   }
7827   _ACEOF
7828 < 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
7828 > if ac_fn_c_try_compile "$LINENO"; then :
7829    ac_cv_header_stdc=yes
7830   else
7831 <  $as_echo "$as_me: failed program was:" >&5
7177 < sed 's/^/| /' conftest.$ac_ext >&5
7178 <
7179 <        ac_cv_header_stdc=no
7831 >  ac_cv_header_stdc=no
7832   fi
7181
7833   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7834  
7835   if test $ac_cv_header_stdc = yes; then
7836    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7837 <  cat >conftest.$ac_ext <<_ACEOF
7187 < /* confdefs.h.  */
7188 < _ACEOF
7189 < cat confdefs.h >>conftest.$ac_ext
7190 < cat >>conftest.$ac_ext <<_ACEOF
7837 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7838   /* end confdefs.h.  */
7839   #include <string.h>
7840  
7841   _ACEOF
7842   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7843 <  $EGREP "memchr" >/dev/null 2>&1; then
7844 <  :
7843 >  $EGREP "memchr" >/dev/null 2>&1; then :
7844 >
7845   else
7846    ac_cv_header_stdc=no
7847   fi
# Line 7204 | Line 7851 | fi
7851  
7852   if test $ac_cv_header_stdc = yes; then
7853    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7854 <  cat >conftest.$ac_ext <<_ACEOF
7208 < /* confdefs.h.  */
7209 < _ACEOF
7210 < cat confdefs.h >>conftest.$ac_ext
7211 < cat >>conftest.$ac_ext <<_ACEOF
7854 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7855   /* end confdefs.h.  */
7856   #include <stdlib.h>
7857  
7858   _ACEOF
7859   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7860 <  $EGREP "free" >/dev/null 2>&1; then
7861 <  :
7860 >  $EGREP "free" >/dev/null 2>&1; then :
7861 >
7862   else
7863    ac_cv_header_stdc=no
7864   fi
# Line 7225 | Line 7868 | fi
7868  
7869   if test $ac_cv_header_stdc = yes; then
7870    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7871 <  if test "$cross_compiling" = yes; then
7871 >  if test "$cross_compiling" = yes; then :
7872    :
7873   else
7874 <  cat >conftest.$ac_ext <<_ACEOF
7232 < /* confdefs.h.  */
7233 < _ACEOF
7234 < cat confdefs.h >>conftest.$ac_ext
7235 < cat >>conftest.$ac_ext <<_ACEOF
7874 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875   /* end confdefs.h.  */
7876   #include <ctype.h>
7877   #include <stdlib.h>
# Line 7259 | Line 7898 | main ()
7898    return 0;
7899   }
7900   _ACEOF
7901 < 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
7901 > if ac_fn_c_try_run "$LINENO"; then :
7902  
7903 < ( exit $ac_status )
7904 < ac_cv_header_stdc=no
7903 > else
7904 >  ac_cv_header_stdc=no
7905   fi
7906 < rm -rf conftest.dSYM
7907 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7906 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7907 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
7908   fi
7909  
7297
7910   fi
7911   fi
7912 < { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7912 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7913   $as_echo "$ac_cv_header_stdc" >&6; }
7914   if test $ac_cv_header_stdc = yes; then
7915  
7916 < cat >>confdefs.h <<\_ACEOF
7305 < #define STDC_HEADERS 1
7306 < _ACEOF
7916 > $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7917  
7918   fi
7919  
7920   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7311
7312
7313
7314
7315
7316
7317
7318
7319
7921   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7922                    inttypes.h stdint.h unistd.h
7923 < do
7924 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7925 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7926 < $as_echo_n "checking for $ac_header... " >&6; }
7927 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7327 <  $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
7923 > do :
7924 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7925 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7926 > "
7927 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7928    cat >>confdefs.h <<_ACEOF
7929   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7930   _ACEOF
# Line 7380 | Line 7934 | fi
7934   done
7935  
7936  
7383
7937   for ac_header in dlfcn.h
7938 < do
7939 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7940 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7941 < $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
7938 > do :
7939 >  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7940 > "
7941 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7942    cat >>confdefs.h <<_ACEOF
7943 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7943 > #define HAVE_DLFCN_H 1
7944   _ACEOF
7945  
7946   fi
# Line 7444 | Line 7949 | done
7949  
7950  
7951  
7447 # Set options
7448 enable_dlopen=yes
7449
7450
7952  
7953  
7954 <  enable_win32_dll=no
7955 <
7956 <
7957 <            # Check whether --enable-shared was given.
7958 < if test "${enable_shared+set}" = set; then
7458 <  enableval=$enable_shared; p=${PACKAGE-default}
7954 > # Set options
7955 > enable_dlopen=yes
7956 > # Check whether --enable-static was given.
7957 > if test "${enable_static+set}" = set; then :
7958 >  enableval=$enable_static; p=${PACKAGE-default}
7959      case $enableval in
7960 <    yes) enable_shared=yes ;;
7961 <    no) enable_shared=no ;;
7960 >    yes) enable_static=yes ;;
7961 >    no) enable_static=no ;;
7962      *)
7963 <      enable_shared=no
7963 >     enable_static=no
7964        # Look at the argument we got.  We use all the common list separators.
7965        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7966        for pkg in $enableval; do
7967          IFS="$lt_save_ifs"
7968          if test "X$pkg" = "X$p"; then
7969 <          enable_shared=yes
7969 >          enable_static=yes
7970          fi
7971        done
7972        IFS="$lt_save_ifs"
7973        ;;
7974      esac
7975   else
7976 <  enable_shared=yes
7976 >  enable_static=no
7977   fi
7978  
7979  
# Line 7484 | Line 7984 | fi
7984  
7985  
7986  
7987 <  # Check whether --enable-static was given.
7988 < if test "${enable_static+set}" = set; then
7989 <  enableval=$enable_static; p=${PACKAGE-default}
7987 >
7988 >
7989 >  enable_win32_dll=no
7990 >
7991 >
7992 >            # Check whether --enable-shared was given.
7993 > if test "${enable_shared+set}" = set; then :
7994 >  enableval=$enable_shared; p=${PACKAGE-default}
7995      case $enableval in
7996 <    yes) enable_static=yes ;;
7997 <    no) enable_static=no ;;
7996 >    yes) enable_shared=yes ;;
7997 >    no) enable_shared=no ;;
7998      *)
7999 <     enable_static=no
7999 >      enable_shared=no
8000        # Look at the argument we got.  We use all the common list separators.
8001        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8002        for pkg in $enableval; do
8003          IFS="$lt_save_ifs"
8004          if test "X$pkg" = "X$p"; then
8005 <          enable_static=yes
8005 >          enable_shared=yes
8006          fi
8007        done
8008        IFS="$lt_save_ifs"
8009        ;;
8010      esac
8011   else
8012 <  enable_static=yes
8012 >  enable_shared=yes
8013   fi
8014  
8015  
# Line 7516 | Line 8021 | fi
8021  
8022  
8023  
8024 +
8025   # Check whether --with-pic was given.
8026 < if test "${with_pic+set}" = set; then
8027 <  withval=$with_pic; pic_mode="$withval"
8026 > if test "${with_pic+set}" = set; then :
8027 >  withval=$with_pic; lt_p=${PACKAGE-default}
8028 >    case $withval in
8029 >    yes|no) pic_mode=$withval ;;
8030 >    *)
8031 >      pic_mode=default
8032 >      # Look at the argument we got.  We use all the common list separators.
8033 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8034 >      for lt_pkg in $withval; do
8035 >        IFS="$lt_save_ifs"
8036 >        if test "X$lt_pkg" = "X$lt_p"; then
8037 >          pic_mode=yes
8038 >        fi
8039 >      done
8040 >      IFS="$lt_save_ifs"
8041 >      ;;
8042 >    esac
8043   else
8044    pic_mode=default
8045   fi
# Line 7533 | Line 8054 | test -z "$pic_mode" && pic_mode=default
8054  
8055  
8056    # Check whether --enable-fast-install was given.
8057 < if test "${enable_fast_install+set}" = set; then
8057 > if test "${enable_fast_install+set}" = set; then :
8058    enableval=$enable_fast_install; p=${PACKAGE-default}
8059      case $enableval in
8060      yes) enable_fast_install=yes ;;
# Line 7595 | Line 8116 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8116  
8117  
8118  
8119 +
8120 +
8121 +
8122 +
8123 +
8124   test -z "$LN_S" && LN_S="ln -s"
8125  
8126  
# Line 7614 | Line 8140 | if test -n "${ZSH_VERSION+set}" ; then
8140     setopt NO_GLOB_SUBST
8141   fi
8142  
8143 < { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8143 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8144   $as_echo_n "checking for objdir... " >&6; }
8145 < if test "${lt_cv_objdir+set}" = set; then
8145 > if ${lt_cv_objdir+:} false; then :
8146    $as_echo_n "(cached) " >&6
8147   else
8148    rm -f .libs 2>/dev/null
# Line 7629 | Line 8155 | else
8155   fi
8156   rmdir .libs 2>/dev/null
8157   fi
8158 < { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8158 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8159   $as_echo "$lt_cv_objdir" >&6; }
8160   objdir=$lt_cv_objdir
8161  
# Line 7644 | Line 8170 | _ACEOF
8170  
8171  
8172  
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
8173   case $host_os in
8174   aix3*)
8175    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7669 | Line 8182 | aix3*)
8182    ;;
8183   esac
8184  
7672 # Sed substitution that helps us do robust quoting.  It backslashifies
7673 # metacharacters that are still active within double-quoted strings.
7674 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7675
7676 # Same as above, but do not quote variable references.
7677 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7678
7679 # Sed substitution to delay expansion of an escaped shell variable in a
7680 # double_quote_subst'ed string.
7681 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7682
7683 # Sed substitution to delay expansion of an escaped single quote.
7684 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7685
7686 # Sed substitution to avoid accidental globbing in evaled expressions
7687 no_glob_subst='s/\*/\\\*/g'
7688
8185   # Global variables:
8186   ofile=libtool
8187   can_build_shared=yes
# Line 7714 | Line 8210 | for cc_temp in $compiler""; do
8210      *) break;;
8211    esac
8212   done
8213 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8213 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8214  
8215  
8216   # Only perform the check for file, if the check method requires it
# Line 7722 | Line 8218 | test -z "$MAGIC_CMD" && MAGIC_CMD=file
8218   case $deplibs_check_method in
8219   file_magic*)
8220    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8221 <    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8221 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8222   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8223 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8223 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8224    $as_echo_n "(cached) " >&6
8225   else
8226    case $MAGIC_CMD in
# Line 7775 | Line 8271 | fi
8271  
8272   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8273   if test -n "$MAGIC_CMD"; then
8274 <  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8274 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8275   $as_echo "$MAGIC_CMD" >&6; }
8276   else
8277 <  { $as_echo "$as_me:$LINENO: result: no" >&5
8277 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8278   $as_echo "no" >&6; }
8279   fi
8280  
# Line 7788 | Line 8284 | fi
8284  
8285   if test -z "$lt_cv_path_MAGIC_CMD"; then
8286    if test -n "$ac_tool_prefix"; then
8287 <    { $as_echo "$as_me:$LINENO: checking for file" >&5
8287 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8288   $as_echo_n "checking for file... " >&6; }
8289 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8289 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8290    $as_echo_n "(cached) " >&6
8291   else
8292    case $MAGIC_CMD in
# Line 7841 | Line 8337 | fi
8337  
8338   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8339   if test -n "$MAGIC_CMD"; then
8340 <  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8340 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8341   $as_echo "$MAGIC_CMD" >&6; }
8342   else
8343 <  { $as_echo "$as_me:$LINENO: result: no" >&5
8343 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8344   $as_echo "no" >&6; }
8345   fi
8346  
# Line 7919 | Line 8415 | if test -n "$compiler"; then
8415   lt_prog_compiler_no_builtin_flag=
8416  
8417   if test "$GCC" = yes; then
8418 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8418 >  case $cc_basename in
8419 >  nvcc*)
8420 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8421 >  *)
8422 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8423 >  esac
8424  
8425 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8425 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8426   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8427 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8427 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8428    $as_echo_n "(cached) " >&6
8429   else
8430    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7939 | Line 8440 | else
8440     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8441     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8442     -e 's:$: $lt_compiler_flag:'`
8443 <   (eval echo "\"\$as_me:7942: $lt_compile\"" >&5)
8443 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8444     (eval "$lt_compile" 2>conftest.err)
8445     ac_status=$?
8446     cat conftest.err >&5
8447 <   echo "$as_me:7946: \$? = $ac_status" >&5
8447 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448     if (exit $ac_status) && test -s "$ac_outfile"; then
8449       # The compiler can only warn and ignore the option if not recognized
8450       # So say no if there are warnings other than the usual output.
8451 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8451 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8452       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8453       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8454         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7956 | Line 8457 | else
8457     $RM conftest*
8458  
8459   fi
8460 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8460 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8461   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8462  
8463   if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
# Line 7976 | Line 8477 | fi
8477   lt_prog_compiler_pic=
8478   lt_prog_compiler_static=
8479  
7979 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7980 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8480  
8481    if test "$GCC" = yes; then
8482      lt_prog_compiler_wl='-Wl,'
# Line 8025 | Line 8524 | $as_echo_n "checking for $compiler optio
8524        lt_prog_compiler_pic='-fno-common'
8525        ;;
8526  
8527 +    haiku*)
8528 +      # PIC is the default for Haiku.
8529 +      # The "-static" flag exists, but is broken.
8530 +      lt_prog_compiler_static=
8531 +      ;;
8532 +
8533      hpux*)
8534        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8535        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8067 | Line 8572 | $as_echo_n "checking for $compiler optio
8572        lt_prog_compiler_pic='-fPIC'
8573        ;;
8574      esac
8575 +
8576 +    case $cc_basename in
8577 +    nvcc*) # Cuda Compiler Driver 2.2
8578 +      lt_prog_compiler_wl='-Xlinker '
8579 +      if test -n "$lt_prog_compiler_pic"; then
8580 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8581 +      fi
8582 +      ;;
8583 +    esac
8584    else
8585      # PORTME Check for flag to pass linker flags through the system compiler.
8586      case $host_os in
# Line 8108 | Line 8622 | $as_echo_n "checking for $compiler optio
8622        lt_prog_compiler_static='-non_shared'
8623        ;;
8624  
8625 <    linux* | k*bsd*-gnu)
8625 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8626        case $cc_basename in
8627        # old Intel for x86_64 which still supported -KPIC.
8628        ecc*)
# Line 8129 | Line 8643 | $as_echo_n "checking for $compiler optio
8643          lt_prog_compiler_pic='--shared'
8644          lt_prog_compiler_static='--static'
8645          ;;
8646 <      pgcc* | pgf77* | pgf90* | pgf95*)
8646 >      nagfor*)
8647 >        # NAG Fortran compiler
8648 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8649 >        lt_prog_compiler_pic='-PIC'
8650 >        lt_prog_compiler_static='-Bstatic'
8651 >        ;;
8652 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8653          # Portland Group compilers (*not* the Pentium gcc compiler,
8654          # which looks to be a dead project)
8655          lt_prog_compiler_wl='-Wl,'
# Line 8141 | Line 8661 | $as_echo_n "checking for $compiler optio
8661          # All Alpha code is PIC.
8662          lt_prog_compiler_static='-non_shared'
8663          ;;
8664 <      xl*)
8665 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8664 >      xl* | bgxl* | bgf* | mpixl*)
8665 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8666          lt_prog_compiler_wl='-Wl,'
8667          lt_prog_compiler_pic='-qpic'
8668          lt_prog_compiler_static='-qstaticlink'
8669          ;;
8670        *)
8671          case `$CC -V 2>&1 | sed 5q` in
8672 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8673 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8674 +          lt_prog_compiler_pic='-KPIC'
8675 +          lt_prog_compiler_static='-Bstatic'
8676 +          lt_prog_compiler_wl=''
8677 +          ;;
8678 +        *Sun\ F* | *Sun*Fortran*)
8679 +          lt_prog_compiler_pic='-KPIC'
8680 +          lt_prog_compiler_static='-Bstatic'
8681 +          lt_prog_compiler_wl='-Qoption ld '
8682 +          ;;
8683          *Sun\ C*)
8684            # Sun C 5.9
8685            lt_prog_compiler_pic='-KPIC'
8686            lt_prog_compiler_static='-Bstatic'
8687            lt_prog_compiler_wl='-Wl,'
8688            ;;
8689 <        *Sun\ F*)
8690 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8691 <          lt_prog_compiler_pic='-KPIC'
8689 >        *Intel*\ [CF]*Compiler*)
8690 >          lt_prog_compiler_wl='-Wl,'
8691 >          lt_prog_compiler_pic='-fPIC'
8692 >          lt_prog_compiler_static='-static'
8693 >          ;;
8694 >        *Portland\ Group*)
8695 >          lt_prog_compiler_wl='-Wl,'
8696 >          lt_prog_compiler_pic='-fpic'
8697            lt_prog_compiler_static='-Bstatic'
8162          lt_prog_compiler_wl=''
8698            ;;
8699          esac
8700          ;;
# Line 8191 | Line 8726 | $as_echo_n "checking for $compiler optio
8726        lt_prog_compiler_pic='-KPIC'
8727        lt_prog_compiler_static='-Bstatic'
8728        case $cc_basename in
8729 <      f77* | f90* | f95*)
8729 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8730          lt_prog_compiler_wl='-Qoption ld ';;
8731        *)
8732          lt_prog_compiler_wl='-Wl,';;
# Line 8248 | Line 8783 | case $host_os in
8783      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8784      ;;
8785   esac
8251 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8252 $as_echo "$lt_prog_compiler_pic" >&6; }
8253
8254
8255
8256
8786  
8787 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8788 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8789 + if ${lt_cv_prog_compiler_pic+:} false; then :
8790 +  $as_echo_n "(cached) " >&6
8791 + else
8792 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8793 + fi
8794 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8795 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8796 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8797  
8798   #
8799   # Check to make sure the PIC flag actually works.
8800   #
8801   if test -n "$lt_prog_compiler_pic"; then
8802 <  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8802 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8803   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8804 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8804 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8805    $as_echo_n "(cached) " >&6
8806   else
8807    lt_cv_prog_compiler_pic_works=no
# Line 8278 | Line 8817 | else
8817     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8818     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8819     -e 's:$: $lt_compiler_flag:'`
8820 <   (eval echo "\"\$as_me:8281: $lt_compile\"" >&5)
8820 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8821     (eval "$lt_compile" 2>conftest.err)
8822     ac_status=$?
8823     cat conftest.err >&5
8824 <   echo "$as_me:8285: \$? = $ac_status" >&5
8824 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825     if (exit $ac_status) && test -s "$ac_outfile"; then
8826       # The compiler can only warn and ignore the option if not recognized
8827       # So say no if there are warnings other than the usual output.
8828 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8828 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8829       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8830       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8831         lt_cv_prog_compiler_pic_works=yes
# Line 8295 | Line 8834 | else
8834     $RM conftest*
8835  
8836   fi
8837 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8837 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8838   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8839  
8840   if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
# Line 8315 | Line 8854 | fi
8854  
8855  
8856  
8857 +
8858 +
8859 +
8860 +
8861 +
8862   #
8863   # Check to make sure the static flag actually works.
8864   #
8865   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8866 < { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8866 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8867   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8868 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8868 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8869    $as_echo_n "(cached) " >&6
8870   else
8871    lt_cv_prog_compiler_static_works=no
# Line 8334 | Line 8878 | else
8878       if test -s conftest.err; then
8879         # Append any errors to the config.log.
8880         cat conftest.err 1>&5
8881 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8881 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8882         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8883         if diff conftest.exp conftest.er2 >/dev/null; then
8884           lt_cv_prog_compiler_static_works=yes
# Line 8347 | Line 8891 | else
8891     LDFLAGS="$save_LDFLAGS"
8892  
8893   fi
8894 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8894 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8895   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8896  
8897   if test x"$lt_cv_prog_compiler_static_works" = xyes; then
# Line 8362 | Line 8906 | fi
8906  
8907  
8908  
8909 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8909 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8910   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8911 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8911 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8912    $as_echo_n "(cached) " >&6
8913   else
8914    lt_cv_prog_compiler_c_o=no
# Line 8383 | Line 8927 | else
8927     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8928     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8929     -e 's:$: $lt_compiler_flag:'`
8930 <   (eval echo "\"\$as_me:8386: $lt_compile\"" >&5)
8930 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8931     (eval "$lt_compile" 2>out/conftest.err)
8932     ac_status=$?
8933     cat out/conftest.err >&5
8934 <   echo "$as_me:8390: \$? = $ac_status" >&5
8934 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8936     then
8937       # The compiler can only warn and ignore the option if not recognized
8938       # So say no if there are warnings
8939 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8939 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8940       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8941       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8942         lt_cv_prog_compiler_c_o=yes
# Line 8409 | Line 8953 | else
8953     $RM conftest*
8954  
8955   fi
8956 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8956 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8957   $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8958  
8959  
# Line 8417 | Line 8961 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8961  
8962  
8963  
8964 <  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8964 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8965   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8966 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8966 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8967    $as_echo_n "(cached) " >&6
8968   else
8969    lt_cv_prog_compiler_c_o=no
# Line 8438 | Line 8982 | else
8982     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8983     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8984     -e 's:$: $lt_compiler_flag:'`
8985 <   (eval echo "\"\$as_me:8441: $lt_compile\"" >&5)
8985 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8986     (eval "$lt_compile" 2>out/conftest.err)
8987     ac_status=$?
8988     cat out/conftest.err >&5
8989 <   echo "$as_me:8445: \$? = $ac_status" >&5
8989 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8991     then
8992       # The compiler can only warn and ignore the option if not recognized
8993       # So say no if there are warnings
8994 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8994 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8995       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8996       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8997         lt_cv_prog_compiler_c_o=yes
# Line 8464 | Line 9008 | else
9008     $RM conftest*
9009  
9010   fi
9011 < { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9011 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9012   $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9013  
9014  
# Line 8473 | Line 9017 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9017   hard_links="nottested"
9018   if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9019    # do not overwrite the value of need_locks provided by the user
9020 <  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9020 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9021   $as_echo_n "checking if we can lock with hard links... " >&6; }
9022    hard_links=yes
9023    $RM conftest*
# Line 8481 | Line 9025 | $as_echo_n "checking if we can lock with
9025    touch conftest.a
9026    ln conftest.a conftest.b 2>&5 || hard_links=no
9027    ln conftest.a conftest.b 2>/dev/null && hard_links=no
9028 <  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9028 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9029   $as_echo "$hard_links" >&6; }
9030    if test "$hard_links" = no; then
9031 <    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9031 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9032   $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9033      need_locks=warn
9034    fi
# Line 8497 | Line 9041 | fi
9041  
9042  
9043  
9044 <  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9044 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9045   $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9046  
9047    runpath_var=
# Line 8513 | Line 9057 | $as_echo_n "checking whether the $compil
9057    hardcode_direct=no
9058    hardcode_direct_absolute=no
9059    hardcode_libdir_flag_spec=
8516  hardcode_libdir_flag_spec_ld=
9060    hardcode_libdir_separator=
9061    hardcode_minus_L=no
9062    hardcode_shlibpath_var=unsupported
# Line 8560 | Line 9103 | $as_echo_n "checking whether the $compil
9103    esac
9104  
9105    ld_shlibs=yes
9106 +
9107 +  # On some targets, GNU ld is compatible enough with the native linker
9108 +  # that we're better off using the native interface for both.
9109 +  lt_use_gnu_ld_interface=no
9110    if test "$with_gnu_ld" = yes; then
9111 +    case $host_os in
9112 +      aix*)
9113 +        # The AIX port of GNU ld has always aspired to compatibility
9114 +        # with the native linker.  However, as the warning in the GNU ld
9115 +        # block says, versions before 2.19.5* couldn't really create working
9116 +        # shared libraries, regardless of the interface used.
9117 +        case `$LD -v 2>&1` in
9118 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9119 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9120 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9121 +          *)
9122 +            lt_use_gnu_ld_interface=yes
9123 +            ;;
9124 +        esac
9125 +        ;;
9126 +      *)
9127 +        lt_use_gnu_ld_interface=yes
9128 +        ;;
9129 +    esac
9130 +  fi
9131 +
9132 +  if test "$lt_use_gnu_ld_interface" = yes; then
9133      # If archive_cmds runs LD, not CC, wlarc should be empty
9134      wlarc='${wl}'
9135  
# Line 8578 | Line 9147 | $as_echo_n "checking whether the $compil
9147      fi
9148      supports_anon_versioning=no
9149      case `$LD -v 2>&1` in
9150 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9151        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9152        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9153        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8593 | Line 9163 | $as_echo_n "checking whether the $compil
9163          ld_shlibs=no
9164          cat <<_LT_EOF 1>&2
9165  
9166 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9166 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9167   *** to be unable to reliably create shared libraries on AIX.
9168   *** Therefore, libtool is disabling shared libraries support.  If you
9169 < *** really care for shared libraries, you may want to modify your PATH
9170 < *** so that a non-GNU linker is found, and then restart.
9169 > *** really care for shared libraries, you may want to install binutils
9170 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9171 > *** You will then need to restart the configuration process.
9172  
9173   _LT_EOF
9174        fi
# Line 8633 | Line 9204 | _LT_EOF
9204        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9205        # as there is no search path for DLLs.
9206        hardcode_libdir_flag_spec='-L$libdir'
9207 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9208        allow_undefined_flag=unsupported
9209        always_export_symbols=no
9210        enable_shared_with_static_runtimes=yes
9211 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9211 >      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9212 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9213  
9214        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9215          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8654 | Line 9227 | _LT_EOF
9227        fi
9228        ;;
9229  
9230 +    haiku*)
9231 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9232 +      link_all_deplibs=yes
9233 +      ;;
9234 +
9235      interix[3-9]*)
9236        hardcode_direct=no
9237        hardcode_shlibpath_var=no
# Line 8669 | Line 9247 | _LT_EOF
9247        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9248        ;;
9249  
9250 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9250 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9251        tmp_diet=no
9252        if test "$host_os" = linux-dietlibc; then
9253          case $cc_basename in
# Line 8679 | Line 9257 | _LT_EOF
9257        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9258           && test "$tmp_diet" = no
9259        then
9260 <        tmp_addflag=
9260 >        tmp_addflag=' $pic_flag'
9261          tmp_sharedflag='-shared'
9262          case $cc_basename,$host_cpu in
9263          pgcc*)                          # Portland Group C compiler
9264 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9264 >          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9265            tmp_addflag=' $pic_flag'
9266            ;;
9267 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9268 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9267 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9268 >                                        # Portland Group f77 and f90 compilers
9269 >          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9270            tmp_addflag=' $pic_flag -Mnomain' ;;
9271          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9272            tmp_addflag=' -i_dynamic' ;;
# Line 8698 | Line 9277 | _LT_EOF
9277          lf95*)                          # Lahey Fortran 8.1
9278            whole_archive_flag_spec=
9279            tmp_sharedflag='--shared' ;;
9280 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9280 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9281            tmp_sharedflag='-qmkshrobj'
9282            tmp_addflag= ;;
9283 +        nvcc*)  # Cuda Compiler Driver 2.2
9284 +          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9285 +          compiler_needs_object=yes
9286 +          ;;
9287          esac
9288          case `$CC -V 2>&1 | sed 5q` in
9289          *Sun\ C*)                       # Sun C 5.9
9290 <          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9290 >          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9291            compiler_needs_object=yes
9292            tmp_sharedflag='-G' ;;
9293          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8720 | Line 9303 | _LT_EOF
9303          fi
9304  
9305          case $cc_basename in
9306 <        xlf*)
9306 >        xlf* | bgf* | bgxlf* | mpixlf*)
9307            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9308            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9309 <          hardcode_libdir_flag_spec=
9310 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8728 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9309 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9310 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9311            if test "x$supports_anon_versioning" = xyes; then
9312              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9313                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9314                echo "local: *; };" >> $output_objdir/$libname.ver~
9315 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9315 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9316            fi
9317            ;;
9318          esac
# Line 8744 | Line 9326 | _LT_EOF
9326          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9327          wlarc=
9328        else
9329 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9329 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9331        fi
9332        ;;
9333  
# Line 8763 | Line 9345 | _LT_EOF
9345  
9346   _LT_EOF
9347        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9348 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9348 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9350        else
9351          ld_shlibs=no
9352        fi
# Line 8810 | Line 9392 | _LT_EOF
9392  
9393      *)
9394        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9395 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9396 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9395 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9396 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9397        else
9398          ld_shlibs=no
9399        fi
# Line 8851 | Line 9433 | _LT_EOF
9433        else
9434          # If we're using GNU nm, then we don't want the "-C" option.
9435          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9436 +        # Also, AIX nm treats weak defined symbols like other global
9437 +        # defined symbols, whereas GNU nm marks them as "W".
9438          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9439 <          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9439 >          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9440          else
9441            export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9442          fi
# Line 8914 | Line 9498 | _LT_EOF
9498          if test "$aix_use_runtimelinking" = yes; then
9499            shared_flag="$shared_flag "'${wl}-G'
9500          fi
8917        link_all_deplibs=no
9501        else
9502          # not using gcc
9503          if test "$host_cpu" = ia64; then
# Line 8940 | Line 9523 | _LT_EOF
9523          allow_undefined_flag='-berok'
9524          # Determine the default libpath from the value encoded in an
9525          # empty executable.
9526 <        cat >conftest.$ac_ext <<_ACEOF
9527 < /* confdefs.h.  */
9528 < _ACEOF
9529 < cat confdefs.h >>conftest.$ac_ext
9530 < cat >>conftest.$ac_ext <<_ACEOF
9526 >        if test "${lt_cv_aix_libpath+set}" = set; then
9527 >  aix_libpath=$lt_cv_aix_libpath
9528 > else
9529 >  if ${lt_cv_aix_libpath_+:} false; then :
9530 >  $as_echo_n "(cached) " >&6
9531 > else
9532 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533   /* end confdefs.h.  */
9534  
9535   int
# Line 8955 | Line 9540 | main ()
9540    return 0;
9541   }
9542   _ACEOF
9543 < 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
9543 > if ac_fn_c_try_link "$LINENO"; then :
9544  
9545 < lt_aix_libpath_sed='
9546 <    /Import File Strings/,/^$/ {
9547 <        /^0/ {
9548 <            s/^0  *\(.*\)$/\1/
9549 <            p
9550 <        }
9551 <    }'
9552 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9553 < # Check for a 64-bit object if we didn't find anything.
9554 < if test -z "$aix_libpath"; then
9555 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 >  lt_aix_libpath_sed='
9546 >      /Import File Strings/,/^$/ {
9547 >          /^0/ {
9548 >              s/^0  *\([^ ]*\) *$/\1/
9549 >              p
9550 >          }
9551 >      }'
9552 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9553 >  # Check for a 64-bit object if we didn't find anything.
9554 >  if test -z "$lt_cv_aix_libpath_"; then
9555 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9556 >  fi
9557   fi
9558 < else
9559 <  $as_echo "$as_me: failed program was:" >&5
9560 < sed 's/^/| /' conftest.$ac_ext >&5
9561 <
9558 > rm -f core conftest.err conftest.$ac_objext \
9559 >    conftest$ac_exeext conftest.$ac_ext
9560 >  if test -z "$lt_cv_aix_libpath_"; then
9561 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9562 >  fi
9563  
9564   fi
9565  
9566 < rm -rf conftest.dSYM
9567 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9001 <      conftest$ac_exeext conftest.$ac_ext
9002 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9566 >  aix_libpath=$lt_cv_aix_libpath_
9567 > fi
9568  
9569          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9570 <        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9570 >        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9571        else
9572          if test "$host_cpu" = ia64; then
9573            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 9011 | Line 9576 | if test -z "$aix_libpath"; then aix_libp
9576          else
9577           # Determine the default libpath from the value encoded in an
9578           # empty executable.
9579 <         cat >conftest.$ac_ext <<_ACEOF
9580 < /* confdefs.h.  */
9581 < _ACEOF
9582 < cat confdefs.h >>conftest.$ac_ext
9583 < cat >>conftest.$ac_ext <<_ACEOF
9579 >         if test "${lt_cv_aix_libpath+set}" = set; then
9580 >  aix_libpath=$lt_cv_aix_libpath
9581 > else
9582 >  if ${lt_cv_aix_libpath_+:} false; then :
9583 >  $as_echo_n "(cached) " >&6
9584 > else
9585 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586   /* end confdefs.h.  */
9587  
9588   int
# Line 9026 | Line 9593 | main ()
9593    return 0;
9594   }
9595   _ACEOF
9596 < 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
9596 > if ac_fn_c_try_link "$LINENO"; then :
9597  
9598 < lt_aix_libpath_sed='
9599 <    /Import File Strings/,/^$/ {
9600 <        /^0/ {
9601 <            s/^0  *\(.*\)$/\1/
9602 <            p
9603 <        }
9604 <    }'
9605 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9606 < # Check for a 64-bit object if we didn't find anything.
9607 < if test -z "$aix_libpath"; then
9608 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598 >  lt_aix_libpath_sed='
9599 >      /Import File Strings/,/^$/ {
9600 >          /^0/ {
9601 >              s/^0  *\([^ ]*\) *$/\1/
9602 >              p
9603 >          }
9604 >      }'
9605 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9606 >  # Check for a 64-bit object if we didn't find anything.
9607 >  if test -z "$lt_cv_aix_libpath_"; then
9608 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9609 >  fi
9610   fi
9611 < else
9612 <  $as_echo "$as_me: failed program was:" >&5
9613 < sed 's/^/| /' conftest.$ac_ext >&5
9614 <
9611 > rm -f core conftest.err conftest.$ac_objext \
9612 >    conftest$ac_exeext conftest.$ac_ext
9613 >  if test -z "$lt_cv_aix_libpath_"; then
9614 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9615 >  fi
9616  
9617   fi
9618  
9619 < rm -rf conftest.dSYM
9620 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9072 <      conftest$ac_exeext conftest.$ac_ext
9073 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9619 >  aix_libpath=$lt_cv_aix_libpath_
9620 > fi
9621  
9622           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623            # Warning - without using the other run time loading flags,
9624            # -berok will link without error, but may produce a broken library.
9625            no_undefined_flag=' ${wl}-bernotok'
9626            allow_undefined_flag=' ${wl}-berok'
9627 <          # Exported symbols can be pulled into shared objects from archives
9628 <          whole_archive_flag_spec='$convenience'
9627 >          if test "$with_gnu_ld" = yes; then
9628 >            # We only use this code for GNU lds that support --whole-archive.
9629 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630 >          else
9631 >            # Exported symbols can be pulled into shared objects from archives
9632 >            whole_archive_flag_spec='$convenience'
9633 >          fi
9634            archive_cmds_need_lc=yes
9635            # This is similar to how AIX traditionally builds its shared libraries.
9636            archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
# Line 9110 | Line 9662 | if test -z "$aix_libpath"; then aix_libp
9662        # Microsoft Visual C++.
9663        # hardcode_libdir_flag_spec is actually meaningless, as there is
9664        # no search path for DLLs.
9665 <      hardcode_libdir_flag_spec=' '
9666 <      allow_undefined_flag=unsupported
9667 <      # Tell ltmain to make .lib files, not .a files.
9668 <      libext=lib
9669 <      # Tell ltmain to make .dll files, not .so files.
9670 <      shrext_cmds=".dll"
9671 <      # FIXME: Setting linknames here is a bad hack.
9672 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9673 <      # The linker will automatically build a .lib file if we build a DLL.
9674 <      old_archive_from_new_cmds='true'
9675 <      # FIXME: Should let the user specify the lib program.
9676 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 <      enable_shared_with_static_runtimes=yes
9665 >      case $cc_basename in
9666 >      cl*)
9667 >        # Native MSVC
9668 >        hardcode_libdir_flag_spec=' '
9669 >        allow_undefined_flag=unsupported
9670 >        always_export_symbols=yes
9671 >        file_list_spec='@'
9672 >        # Tell ltmain to make .lib files, not .a files.
9673 >        libext=lib
9674 >        # Tell ltmain to make .dll files, not .so files.
9675 >        shrext_cmds=".dll"
9676 >        # FIXME: Setting linknames here is a bad hack.
9677 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9678 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9679 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9680 >          else
9681 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9682 >          fi~
9683 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9684 >          linknames='
9685 >        # The linker will not automatically build a static lib if we build a DLL.
9686 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9687 >        enable_shared_with_static_runtimes=yes
9688 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9689 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9690 >        # Don't use ranlib
9691 >        old_postinstall_cmds='chmod 644 $oldlib'
9692 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9693 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9694 >          case $lt_outputfile in
9695 >            *.exe|*.EXE) ;;
9696 >            *)
9697 >              lt_outputfile="$lt_outputfile.exe"
9698 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9699 >              ;;
9700 >          esac~
9701 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9702 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9703 >            $RM "$lt_outputfile.manifest";
9704 >          fi'
9705 >        ;;
9706 >      *)
9707 >        # Assume MSVC wrapper
9708 >        hardcode_libdir_flag_spec=' '
9709 >        allow_undefined_flag=unsupported
9710 >        # Tell ltmain to make .lib files, not .a files.
9711 >        libext=lib
9712 >        # Tell ltmain to make .dll files, not .so files.
9713 >        shrext_cmds=".dll"
9714 >        # FIXME: Setting linknames here is a bad hack.
9715 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9716 >        # The linker will automatically build a .lib file if we build a DLL.
9717 >        old_archive_from_new_cmds='true'
9718 >        # FIXME: Should let the user specify the lib program.
9719 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9720 >        enable_shared_with_static_runtimes=yes
9721 >        ;;
9722 >      esac
9723        ;;
9724  
9725      darwin* | rhapsody*)
# Line 9133 | Line 9729 | if test -z "$aix_libpath"; then aix_libp
9729    hardcode_direct=no
9730    hardcode_automatic=yes
9731    hardcode_shlibpath_var=unsupported
9732 <  whole_archive_flag_spec=''
9732 >  if test "$lt_cv_ld_force_load" = "yes"; then
9733 >    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9734 >
9735 >  else
9736 >    whole_archive_flag_spec=''
9737 >  fi
9738    link_all_deplibs=yes
9739    allow_undefined_flag="$_lt_dar_allow_undefined"
9740    case $cc_basename in
# Line 9141 | Line 9742 | if test -z "$aix_libpath"; then aix_libp
9742       *) _lt_dar_can_shared=$GCC ;;
9743    esac
9744    if test "$_lt_dar_can_shared" = "yes"; then
9745 <    output_verbose_link_cmd=echo
9745 >    output_verbose_link_cmd=func_echo_all
9746      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9747      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9748      archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
# Line 9159 | Line 9760 | if test -z "$aix_libpath"; then aix_libp
9760        hardcode_shlibpath_var=no
9761        ;;
9762  
9162    freebsd1*)
9163      ld_shlibs=no
9164      ;;
9165
9763      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9764      # support.  Future versions do this automatically, but an explicit c++rt0.o
9765      # does not break anything, and helps significantly (at the cost of a little
# Line 9175 | Line 9772 | if test -z "$aix_libpath"; then aix_libp
9772        ;;
9773  
9774      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9775 <    freebsd2*)
9775 >    freebsd2.*)
9776        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9777        hardcode_direct=yes
9778        hardcode_minus_L=yes
# Line 9184 | Line 9781 | if test -z "$aix_libpath"; then aix_libp
9781  
9782      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9783      freebsd* | dragonfly*)
9784 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9784 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9785        hardcode_libdir_flag_spec='-R$libdir'
9786        hardcode_direct=yes
9787        hardcode_shlibpath_var=no
# Line 9192 | Line 9789 | if test -z "$aix_libpath"; then aix_libp
9789  
9790      hpux9*)
9791        if test "$GCC" = yes; then
9792 <        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9792 >        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9793        else
9794          archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9795        fi
# Line 9207 | Line 9804 | if test -z "$aix_libpath"; then aix_libp
9804        ;;
9805  
9806      hpux10*)
9807 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9808 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9807 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9808 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9809        else
9810          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9811        fi
9812        if test "$with_gnu_ld" = no; then
9813          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9217        hardcode_libdir_flag_spec_ld='+b $libdir'
9814          hardcode_libdir_separator=:
9815          hardcode_direct=yes
9816          hardcode_direct_absolute=yes
# Line 9226 | Line 9822 | if test -z "$aix_libpath"; then aix_libp
9822        ;;
9823  
9824      hpux11*)
9825 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9825 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9826          case $host_cpu in
9827          hppa*64*)
9828            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9829            ;;
9830          ia64*)
9831 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9831 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9832            ;;
9833          *)
9834 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9834 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9835            ;;
9836          esac
9837        else
# Line 9247 | Line 9843 | if test -z "$aix_libpath"; then aix_libp
9843            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9844            ;;
9845          *)
9846 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9846 >
9847 >          # Older versions of the 11.00 compiler do not understand -b yet
9848 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9849 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9850 > $as_echo_n "checking if $CC understands -b... " >&6; }
9851 > if ${lt_cv_prog_compiler__b+:} false; then :
9852 >  $as_echo_n "(cached) " >&6
9853 > else
9854 >  lt_cv_prog_compiler__b=no
9855 >   save_LDFLAGS="$LDFLAGS"
9856 >   LDFLAGS="$LDFLAGS -b"
9857 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9858 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9859 >     # The linker can only warn and ignore the option if not recognized
9860 >     # So say no if there are warnings
9861 >     if test -s conftest.err; then
9862 >       # Append any errors to the config.log.
9863 >       cat conftest.err 1>&5
9864 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9865 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9866 >       if diff conftest.exp conftest.er2 >/dev/null; then
9867 >         lt_cv_prog_compiler__b=yes
9868 >       fi
9869 >     else
9870 >       lt_cv_prog_compiler__b=yes
9871 >     fi
9872 >   fi
9873 >   $RM -r conftest*
9874 >   LDFLAGS="$save_LDFLAGS"
9875 >
9876 > fi
9877 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9878 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9879 >
9880 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9881 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9882 > else
9883 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9884 > fi
9885 >
9886            ;;
9887          esac
9888        fi
# Line 9275 | Line 9910 | if test -z "$aix_libpath"; then aix_libp
9910  
9911      irix5* | irix6* | nonstopux*)
9912        if test "$GCC" = yes; then
9913 <        archive_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 -o $lib'
9913 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9914          # Try to use the -exported_symbol ld option, if it does not
9915          # work, assume that -exports_file does not work either and
9916          # implicitly export all symbols.
9917 <        save_LDFLAGS="$LDFLAGS"
9918 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9919 <        cat >conftest.$ac_ext <<_ACEOF
9920 < int foo(void) {}
9917 >        # This should be the same for all languages, so no per-tag cache variable.
9918 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9919 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9920 > if ${lt_cv_irix_exported_symbol+:} false; then :
9921 >  $as_echo_n "(cached) " >&6
9922 > else
9923 >  save_LDFLAGS="$LDFLAGS"
9924 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9925 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 > /* end confdefs.h.  */
9927 > int foo (void) { return 0; }
9928   _ACEOF
9929 < rm -f conftest.$ac_objext conftest$ac_exeext
9930 < 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
9308 <  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'
9309 <
9929 > if ac_fn_c_try_link "$LINENO"; then :
9930 >  lt_cv_irix_exported_symbol=yes
9931   else
9932 <  $as_echo "$as_me: failed program was:" >&5
9312 < sed 's/^/| /' conftest.$ac_ext >&5
9313 <
9314 <
9932 >  lt_cv_irix_exported_symbol=no
9933   fi
9934 <
9935 < rm -rf conftest.dSYM
9936 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9937 <      conftest$ac_exeext conftest.$ac_ext
9938 <        LDFLAGS="$save_LDFLAGS"
9934 > rm -f core conftest.err conftest.$ac_objext \
9935 >    conftest$ac_exeext conftest.$ac_ext
9936 >           LDFLAGS="$save_LDFLAGS"
9937 > fi
9938 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9939 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9940 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9941 >          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9942 >        fi
9943        else
9944 <        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'
9945 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9944 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9945 >        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9946        fi
9947        archive_cmds_need_lc='no'
9948        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9382 | Line 10004 | rm -f core conftest.err conftest.$ac_obj
10004        hardcode_libdir_flag_spec='-L$libdir'
10005        hardcode_minus_L=yes
10006        allow_undefined_flag=unsupported
10007 <      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10007 >      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10008        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10009        ;;
10010  
10011      osf3*)
10012        if test "$GCC" = yes; then
10013          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10014 <        archive_cmds='$CC -shared${allow_undefined_flag} $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 -o $lib'
10014 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10015        else
10016          allow_undefined_flag=' -expect_unresolved \*'
10017 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10017 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10018        fi
10019        archive_cmds_need_lc='no'
10020        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9402 | Line 10024 | rm -f core conftest.err conftest.$ac_obj
10024      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10025        if test "$GCC" = yes; then
10026          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10027 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10027 >        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10028          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10029        else
10030          allow_undefined_flag=' -expect_unresolved \*'
10031 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10031 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10032          archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10033 <        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10033 >        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10034  
10035          # Both c and cxx compiler support -rpath directly
10036          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9421 | Line 10043 | rm -f core conftest.err conftest.$ac_obj
10043        no_undefined_flag=' -z defs'
10044        if test "$GCC" = yes; then
10045          wlarc='${wl}'
10046 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10047          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10048 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10048 >          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10049        else
10050          case `$CC -V 2>&1` in
10051          *"Compilers 5.0"*)
# Line 9572 | Line 10194 | rm -f core conftest.err conftest.$ac_obj
10194      fi
10195    fi
10196  
10197 < { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10197 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10198   $as_echo "$ld_shlibs" >&6; }
10199   test "$ld_shlibs" = no && can_build_shared=no
10200  
# Line 9609 | Line 10231 | x|xyes)
10231        # Test whether the compiler implicitly links with -lc since on some
10232        # systems, -lgcc has to come before -lc. If gcc already passes -lc
10233        # to ld, don't add -lc before -lgcc.
10234 <      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10234 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10235   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10236 <      $RM conftest*
10237 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10236 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10237 >  $as_echo_n "(cached) " >&6
10238 > else
10239 >  $RM conftest*
10240 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10241  
10242 <      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10242 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10243    (eval $ac_compile) 2>&5
10244    ac_status=$?
10245 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 <  (exit $ac_status); } 2>conftest.err; then
10247 <        soname=conftest
10248 <        lib=conftest
10249 <        libobjs=conftest.$ac_objext
10250 <        deplibs=
10251 <        wl=$lt_prog_compiler_wl
10252 <        pic_flag=$lt_prog_compiler_pic
10253 <        compiler_flags=-v
10254 <        linker_flags=-v
10255 <        verstring=
10256 <        output_objdir=.
10257 <        libname=conftest
10258 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10259 <        allow_undefined_flag=
10260 <        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10245 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10246 >  test $ac_status = 0; } 2>conftest.err; then
10247 >          soname=conftest
10248 >          lib=conftest
10249 >          libobjs=conftest.$ac_objext
10250 >          deplibs=
10251 >          wl=$lt_prog_compiler_wl
10252 >          pic_flag=$lt_prog_compiler_pic
10253 >          compiler_flags=-v
10254 >          linker_flags=-v
10255 >          verstring=
10256 >          output_objdir=.
10257 >          libname=conftest
10258 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10259 >          allow_undefined_flag=
10260 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10261    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10262    ac_status=$?
10263 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 <  (exit $ac_status); }
10265 <        then
10266 <          archive_cmds_need_lc=no
10267 <        else
10268 <          archive_cmds_need_lc=yes
10269 <        fi
10270 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10271 <      else
10272 <        cat conftest.err 1>&5
10273 <      fi
10274 <      $RM conftest*
10275 <      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10276 < $as_echo "$archive_cmds_need_lc" >&6; }
10263 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10264 >  test $ac_status = 0; }
10265 >          then
10266 >            lt_cv_archive_cmds_need_lc=no
10267 >          else
10268 >            lt_cv_archive_cmds_need_lc=yes
10269 >          fi
10270 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10271 >        else
10272 >          cat conftest.err 1>&5
10273 >        fi
10274 >        $RM conftest*
10275 >
10276 > fi
10277 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10278 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10279 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10280        ;;
10281      esac
10282    fi
# Line 9806 | Line 10434 | esac
10434  
10435  
10436  
10437 <
9810 <
9811 <
9812 <
9813 <
9814 <  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10437 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10438   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10439  
10440   if test "$GCC" = yes; then
# Line 9819 | Line 10442 | if test "$GCC" = yes; then
10442      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10443      *) lt_awk_arg="/^libraries:/" ;;
10444    esac
10445 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10446 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10445 >  case $host_os in
10446 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10447 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10448 >  esac
10449 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10450 >  case $lt_search_path_spec in
10451 >  *\;*)
10452      # if the path contains ";" then we assume it to be the separator
10453      # otherwise default to the standard path separator (i.e. ":") - it is
10454      # assumed that no part of a normal pathname contains ";" but that should
10455      # okay in the real world where ";" in dirpaths is itself problematic.
10456 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10457 <  else
10458 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10459 <  fi
10456 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10457 >    ;;
10458 >  *)
10459 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10460 >    ;;
10461 >  esac
10462    # Ok, now we have the path, separated by spaces, we can step through it
10463    # and add multilib dir if necessary.
10464    lt_tmp_lt_search_path_spec=
# Line 9841 | Line 10471 | if test "$GCC" = yes; then
10471          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10472      fi
10473    done
10474 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10474 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10475   BEGIN {RS=" "; FS="/|\n";} {
10476    lt_foo="";
10477    lt_count=0;
# Line 9861 | Line 10491 | BEGIN {RS=" "; FS="/|\n";} {
10491    if (lt_foo != "") { lt_freq[lt_foo]++; }
10492    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10493   }'`
10494 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10494 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10495 >  # for these hosts.
10496 >  case $host_os in
10497 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10498 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10499 >  esac
10500 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10501   else
10502    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10503   fi
# Line 9887 | Line 10523 | need_version=unknown
10523  
10524   case $host_os in
10525   aix3*)
10526 <  version_type=linux
10526 >  version_type=linux # correct to gnu/linux during the next big refactor
10527    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10528    shlibpath_var=LIBPATH
10529  
# Line 9896 | Line 10532 | aix3*)
10532    ;;
10533  
10534   aix[4-9]*)
10535 <  version_type=linux
10535 >  version_type=linux # correct to gnu/linux during the next big refactor
10536    need_lib_prefix=no
10537    need_version=no
10538    hardcode_into_libs=yes
# Line 9949 | Line 10585 | amigaos*)
10585    m68k)
10586      library_names_spec='$libname.ixlibrary $libname.a'
10587      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10588 <    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10588 >    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10589      ;;
10590    esac
10591    ;;
# Line 9961 | Line 10597 | beos*)
10597    ;;
10598  
10599   bsdi[45]*)
10600 <  version_type=linux
10600 >  version_type=linux # correct to gnu/linux during the next big refactor
10601    need_version=no
10602    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9980 | Line 10616 | cygwin* | mingw* | pw32* | cegcc*)
10616    need_version=no
10617    need_lib_prefix=no
10618  
10619 <  case $GCC,$host_os in
10620 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10619 >  case $GCC,$cc_basename in
10620 >  yes,*)
10621 >    # gcc
10622      library_names_spec='$libname.dll.a'
10623      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10624      postinstall_cmds='base_file=`basename \${file}`~
# Line 10002 | Line 10639 | cygwin* | mingw* | pw32* | cegcc*)
10639      cygwin*)
10640        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10641        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10642 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10642 >
10643 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10644        ;;
10645      mingw* | cegcc*)
10646        # MinGW DLLs use traditional 'lib' prefix
10647        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10010      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10011      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10012        # It is most probably a Windows format PATH printed by
10013        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10014        # path with ; separators, and with drive letters. We can handle the
10015        # drive letters (cygwin fileutils understands them), so leave them,
10016        # especially as we might pass files found there to a mingw objdump,
10017        # which wouldn't understand a cygwinified path. Ahh.
10018        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10019      else
10020        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10021      fi
10648        ;;
10649      pw32*)
10650        # pw32 DLLs use 'pw' prefix rather than 'lib'
10651        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10652        ;;
10653      esac
10654 +    dynamic_linker='Win32 ld.exe'
10655 +    ;;
10656 +
10657 +  *,cl*)
10658 +    # Native MSVC
10659 +    libname_spec='$name'
10660 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10661 +    library_names_spec='${libname}.dll.lib'
10662 +
10663 +    case $build_os in
10664 +    mingw*)
10665 +      sys_lib_search_path_spec=
10666 +      lt_save_ifs=$IFS
10667 +      IFS=';'
10668 +      for lt_path in $LIB
10669 +      do
10670 +        IFS=$lt_save_ifs
10671 +        # Let DOS variable expansion print the short 8.3 style file name.
10672 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10673 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10674 +      done
10675 +      IFS=$lt_save_ifs
10676 +      # Convert to MSYS style.
10677 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10678 +      ;;
10679 +    cygwin*)
10680 +      # Convert to unix form, then to dos form, then back to unix form
10681 +      # but this time dos style (no spaces!) so that the unix form looks
10682 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10683 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10684 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10685 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10686 +      ;;
10687 +    *)
10688 +      sys_lib_search_path_spec="$LIB"
10689 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10690 +        # It is most probably a Windows format PATH.
10691 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10692 +      else
10693 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10694 +      fi
10695 +      # FIXME: find the short name or the path components, as spaces are
10696 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10697 +      ;;
10698 +    esac
10699 +
10700 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10701 +    postinstall_cmds='base_file=`basename \${file}`~
10702 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10703 +      dldir=$destdir/`dirname \$dlpath`~
10704 +      test -d \$dldir || mkdir -p \$dldir~
10705 +      $install_prog $dir/$dlname \$dldir/$dlname'
10706 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10707 +      dlpath=$dir/\$dldll~
10708 +       $RM \$dlpath'
10709 +    shlibpath_overrides_runpath=yes
10710 +    dynamic_linker='Win32 link.exe'
10711      ;;
10712  
10713    *)
10714 +    # Assume MSVC wrapper
10715      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10716 +    dynamic_linker='Win32 ld.exe'
10717      ;;
10718    esac
10034  dynamic_linker='Win32 ld.exe'
10719    # FIXME: first we should search . and the directory the executable is in
10720    shlibpath_var=PATH
10721    ;;
# Line 10052 | Line 10736 | darwin* | rhapsody*)
10736    ;;
10737  
10738   dgux*)
10739 <  version_type=linux
10739 >  version_type=linux # correct to gnu/linux during the next big refactor
10740    need_lib_prefix=no
10741    need_version=no
10742    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10060 | Line 10744 | dgux*)
10744    shlibpath_var=LD_LIBRARY_PATH
10745    ;;
10746  
10063 freebsd1*)
10064  dynamic_linker=no
10065  ;;
10066
10747   freebsd* | dragonfly*)
10748    # DragonFly does not have aout.  When/if they implement a new
10749    # versioning mechanism, adjust this.
# Line 10071 | Line 10751 | freebsd* | dragonfly*)
10751      objformat=`/usr/bin/objformat`
10752    else
10753      case $host_os in
10754 <    freebsd[123]*) objformat=aout ;;
10754 >    freebsd[23].*) objformat=aout ;;
10755      *) objformat=elf ;;
10756      esac
10757    fi
# Line 10089 | Line 10769 | freebsd* | dragonfly*)
10769    esac
10770    shlibpath_var=LD_LIBRARY_PATH
10771    case $host_os in
10772 <  freebsd2*)
10772 >  freebsd2.*)
10773      shlibpath_overrides_runpath=yes
10774      ;;
10775    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10109 | Line 10789 | freebsd* | dragonfly*)
10789    ;;
10790  
10791   gnu*)
10792 <  version_type=linux
10792 >  version_type=linux # correct to gnu/linux during the next big refactor
10793    need_lib_prefix=no
10794    need_version=no
10795    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10796    soname_spec='${libname}${release}${shared_ext}$major'
10797    shlibpath_var=LD_LIBRARY_PATH
10798 +  shlibpath_overrides_runpath=no
10799 +  hardcode_into_libs=yes
10800 +  ;;
10801 +
10802 + haiku*)
10803 +  version_type=linux # correct to gnu/linux during the next big refactor
10804 +  need_lib_prefix=no
10805 +  need_version=no
10806 +  dynamic_linker="$host_os runtime_loader"
10807 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10808 +  soname_spec='${libname}${release}${shared_ext}$major'
10809 +  shlibpath_var=LIBRARY_PATH
10810 +  shlibpath_overrides_runpath=yes
10811 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10812    hardcode_into_libs=yes
10813    ;;
10814  
# Line 10160 | Line 10854 | hpux9* | hpux10* | hpux11*)
10854      soname_spec='${libname}${release}${shared_ext}$major'
10855      ;;
10856    esac
10857 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10857 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10858    postinstall_cmds='chmod 555 $lib'
10859 +  # or fails outright, so override atomically:
10860 +  install_override_mode=555
10861    ;;
10862  
10863   interix[3-9]*)
10864 <  version_type=linux
10864 >  version_type=linux # correct to gnu/linux during the next big refactor
10865    need_lib_prefix=no
10866    need_version=no
10867    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10181 | Line 10877 | irix5* | irix6* | nonstopux*)
10877      nonstopux*) version_type=nonstopux ;;
10878      *)
10879          if test "$lt_cv_prog_gnu_ld" = yes; then
10880 <                version_type=linux
10880 >                version_type=linux # correct to gnu/linux during the next big refactor
10881          else
10882                  version_type=irix
10883          fi ;;
# Line 10218 | Line 10914 | linux*oldld* | linux*aout* | linux*coff*
10914    dynamic_linker=no
10915    ;;
10916  
10917 < # This must be Linux ELF.
10918 < linux* | k*bsd*-gnu)
10919 <  version_type=linux
10917 > # This must be glibc/ELF.
10918 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10919 >  version_type=linux # correct to gnu/linux during the next big refactor
10920    need_lib_prefix=no
10921    need_version=no
10922    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10228 | Line 10924 | linux* | k*bsd*-gnu)
10924    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10925    shlibpath_var=LD_LIBRARY_PATH
10926    shlibpath_overrides_runpath=no
10927 +
10928    # Some binutils ld are patched to set DT_RUNPATH
10929 <  save_LDFLAGS=$LDFLAGS
10930 <  save_libdir=$libdir
10931 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10932 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10933 <  cat >conftest.$ac_ext <<_ACEOF
10934 < /* confdefs.h.  */
10935 < _ACEOF
10936 < cat confdefs.h >>conftest.$ac_ext
10937 < cat >>conftest.$ac_ext <<_ACEOF
10929 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10930 >  $as_echo_n "(cached) " >&6
10931 > else
10932 >  lt_cv_shlibpath_overrides_runpath=no
10933 >    save_LDFLAGS=$LDFLAGS
10934 >    save_libdir=$libdir
10935 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10936 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10937 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938   /* end confdefs.h.  */
10939  
10940   int
# Line 10248 | Line 10945 | main ()
10945    return 0;
10946   }
10947   _ACEOF
10948 < rm -f conftest.$ac_objext conftest$ac_exeext
10949 < if { (ac_try="$ac_link"
10950 < 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
10273 <  shlibpath_overrides_runpath=yes
10948 > if ac_fn_c_try_link "$LINENO"; then :
10949 >  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10950 >  lt_cv_shlibpath_overrides_runpath=yes
10951   fi
10952 <
10953 < else
10954 <  $as_echo "$as_me: failed program was:" >&5
10955 < sed 's/^/| /' conftest.$ac_ext >&5
10956 <
10952 > fi
10953 > rm -f core conftest.err conftest.$ac_objext \
10954 >    conftest$ac_exeext conftest.$ac_ext
10955 >    LDFLAGS=$save_LDFLAGS
10956 >    libdir=$save_libdir
10957  
10958   fi
10959  
10960 < rm -rf conftest.dSYM
10284 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10285 <      conftest$ac_exeext conftest.$ac_ext
10286 <  LDFLAGS=$save_LDFLAGS
10287 <  libdir=$save_libdir
10960 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10961  
10962    # This implies no fast_install, which is unacceptable.
10963    # Some rework will be needed to allow for fast_install
10964    # before this can be enabled.
10965    hardcode_into_libs=yes
10966  
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
10967    # Append ld.so.conf contents to the search path
10968    if test -f /etc/ld.so.conf; then
10969 <    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' ' '`
10970 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10969 >    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;s/"//g;/^$/d' | tr '\n' ' '`
10970 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10971    fi
10972  
10973    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10347 | Line 10998 | netbsd*)
10998    ;;
10999  
11000   newsos6)
11001 <  version_type=linux
11001 >  version_type=linux # correct to gnu/linux during the next big refactor
11002    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003    shlibpath_var=LD_LIBRARY_PATH
11004    shlibpath_overrides_runpath=yes
# Line 10416 | Line 11067 | rdos*)
11067    ;;
11068  
11069   solaris*)
11070 <  version_type=linux
11070 >  version_type=linux # correct to gnu/linux during the next big refactor
11071    need_lib_prefix=no
11072    need_version=no
11073    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10441 | Line 11092 | sunos4*)
11092    ;;
11093  
11094   sysv4 | sysv4.3*)
11095 <  version_type=linux
11095 >  version_type=linux # correct to gnu/linux during the next big refactor
11096    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097    soname_spec='${libname}${release}${shared_ext}$major'
11098    shlibpath_var=LD_LIBRARY_PATH
# Line 10465 | Line 11116 | sysv4 | sysv4.3*)
11116  
11117   sysv4*MP*)
11118    if test -d /usr/nec ;then
11119 <    version_type=linux
11119 >    version_type=linux # correct to gnu/linux during the next big refactor
11120      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11121      soname_spec='$libname${shared_ext}.$major'
11122      shlibpath_var=LD_LIBRARY_PATH
# Line 10496 | Line 11147 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11147  
11148   tpf*)
11149    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11150 <  version_type=linux
11150 >  version_type=linux # correct to gnu/linux during the next big refactor
11151    need_lib_prefix=no
11152    need_version=no
11153    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10506 | Line 11157 | tpf*)
11157    ;;
11158  
11159   uts4*)
11160 <  version_type=linux
11160 >  version_type=linux # correct to gnu/linux during the next big refactor
11161    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11162    soname_spec='${libname}${release}${shared_ext}$major'
11163    shlibpath_var=LD_LIBRARY_PATH
# Line 10516 | Line 11167 | uts4*)
11167    dynamic_linker=no
11168    ;;
11169   esac
11170 < { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11170 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11171   $as_echo "$dynamic_linker" >&6; }
11172   test "$dynamic_linker" = no && can_build_shared=no
11173  
# Line 10618 | Line 11269 | fi
11269  
11270  
11271  
11272 <  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11272 >
11273 >
11274 >
11275 >
11276 >
11277 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11278   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11279   hardcode_action=
11280   if test -n "$hardcode_libdir_flag_spec" ||
# Line 10643 | Line 11299 | else
11299    # directories.
11300    hardcode_action=unsupported
11301   fi
11302 < { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11302 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11303   $as_echo "$hardcode_action" >&6; }
11304  
11305   if test "$hardcode_action" = relink ||
# Line 10688 | Line 11344 | else
11344  
11345    darwin*)
11346    # if libdl is installed we need to link against it
11347 <    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11347 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11348   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11349 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11349 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11350    $as_echo_n "(cached) " >&6
11351   else
11352    ac_check_lib_save_LIBS=$LIBS
11353   LIBS="-ldl  $LIBS"
11354 < cat >conftest.$ac_ext <<_ACEOF
10699 < /* confdefs.h.  */
10700 < _ACEOF
10701 < cat confdefs.h >>conftest.$ac_ext
10702 < cat >>conftest.$ac_ext <<_ACEOF
11354 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355   /* end confdefs.h.  */
11356  
11357   /* Override any GCC internal prototype to avoid an error.
# Line 10717 | Line 11369 | return dlopen ();
11369    return 0;
11370   }
11371   _ACEOF
11372 < 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
11372 > if ac_fn_c_try_link "$LINENO"; then :
11373    ac_cv_lib_dl_dlopen=yes
11374   else
11375 <  $as_echo "$as_me: failed program was:" >&5
10744 < sed 's/^/| /' conftest.$ac_ext >&5
10745 <
10746 <        ac_cv_lib_dl_dlopen=no
11375 >  ac_cv_lib_dl_dlopen=no
11376   fi
11377 <
11378 < rm -rf conftest.dSYM
10750 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10751 <      conftest$ac_exeext conftest.$ac_ext
11377 > rm -f core conftest.err conftest.$ac_objext \
11378 >    conftest$ac_exeext conftest.$ac_ext
11379   LIBS=$ac_check_lib_save_LIBS
11380   fi
11381 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11381 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11382   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11383 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11383 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11384    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11385   else
11386  
# Line 10766 | Line 11393 | fi
11393      ;;
11394  
11395    *)
11396 <    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11397 < $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
11396 >    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11397 > if test "x$ac_cv_func_shl_load" = xyes; then :
11398    lt_cv_dlopen="shl_load"
11399   else
11400 <  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11400 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11401   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11402 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11402 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11403    $as_echo_n "(cached) " >&6
11404   else
11405    ac_check_lib_save_LIBS=$LIBS
11406   LIBS="-ldld  $LIBS"
11407 < cat >conftest.$ac_ext <<_ACEOF
10865 < /* confdefs.h.  */
10866 < _ACEOF
10867 < cat confdefs.h >>conftest.$ac_ext
10868 < cat >>conftest.$ac_ext <<_ACEOF
11407 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408   /* end confdefs.h.  */
11409  
11410   /* Override any GCC internal prototype to avoid an error.
# Line 10883 | Line 11422 | return shl_load ();
11422    return 0;
11423   }
11424   _ACEOF
11425 < 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
11425 > if ac_fn_c_try_link "$LINENO"; then :
11426    ac_cv_lib_dld_shl_load=yes
11427   else
11428 <  $as_echo "$as_me: failed program was:" >&5
10910 < sed 's/^/| /' conftest.$ac_ext >&5
10911 <
10912 <        ac_cv_lib_dld_shl_load=no
11428 >  ac_cv_lib_dld_shl_load=no
11429   fi
11430 <
11431 < rm -rf conftest.dSYM
10916 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10917 <      conftest$ac_exeext conftest.$ac_ext
11430 > rm -f core conftest.err conftest.$ac_objext \
11431 >    conftest$ac_exeext conftest.$ac_ext
11432   LIBS=$ac_check_lib_save_LIBS
11433   fi
11434 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11434 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11435   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11436 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11436 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11437    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11438   else
11439 <  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11440 < $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
11439 >  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11440 > if test "x$ac_cv_func_dlopen" = xyes; then :
11441    lt_cv_dlopen="dlopen"
11442   else
11443 <  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11443 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11444   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11445 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11445 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11446    $as_echo_n "(cached) " >&6
11447   else
11448    ac_check_lib_save_LIBS=$LIBS
11449   LIBS="-ldl  $LIBS"
11450 < cat >conftest.$ac_ext <<_ACEOF
11021 < /* confdefs.h.  */
11022 < _ACEOF
11023 < cat confdefs.h >>conftest.$ac_ext
11024 < cat >>conftest.$ac_ext <<_ACEOF
11450 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451   /* end confdefs.h.  */
11452  
11453   /* Override any GCC internal prototype to avoid an error.
# Line 11039 | Line 11465 | return dlopen ();
11465    return 0;
11466   }
11467   _ACEOF
11468 < 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
11468 > if ac_fn_c_try_link "$LINENO"; then :
11469    ac_cv_lib_dl_dlopen=yes
11470   else
11471 <  $as_echo "$as_me: failed program was:" >&5
11066 < sed 's/^/| /' conftest.$ac_ext >&5
11067 <
11068 <        ac_cv_lib_dl_dlopen=no
11471 >  ac_cv_lib_dl_dlopen=no
11472   fi
11473 <
11474 < rm -rf conftest.dSYM
11072 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11073 <      conftest$ac_exeext conftest.$ac_ext
11473 > rm -f core conftest.err conftest.$ac_objext \
11474 >    conftest$ac_exeext conftest.$ac_ext
11475   LIBS=$ac_check_lib_save_LIBS
11476   fi
11477 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11477 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11478   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11479 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11479 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11480    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11481   else
11482 <  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11482 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11483   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11484 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11484 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11485    $as_echo_n "(cached) " >&6
11486   else
11487    ac_check_lib_save_LIBS=$LIBS
11488   LIBS="-lsvld  $LIBS"
11489 < cat >conftest.$ac_ext <<_ACEOF
11089 < /* confdefs.h.  */
11090 < _ACEOF
11091 < cat confdefs.h >>conftest.$ac_ext
11092 < cat >>conftest.$ac_ext <<_ACEOF
11489 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490   /* end confdefs.h.  */
11491  
11492   /* Override any GCC internal prototype to avoid an error.
# Line 11107 | Line 11504 | return dlopen ();
11504    return 0;
11505   }
11506   _ACEOF
11507 < 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
11507 > if ac_fn_c_try_link "$LINENO"; then :
11508    ac_cv_lib_svld_dlopen=yes
11509   else
11510 <  $as_echo "$as_me: failed program was:" >&5
11134 < sed 's/^/| /' conftest.$ac_ext >&5
11135 <
11136 <        ac_cv_lib_svld_dlopen=no
11510 >  ac_cv_lib_svld_dlopen=no
11511   fi
11512 <
11513 < rm -rf conftest.dSYM
11140 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11141 <      conftest$ac_exeext conftest.$ac_ext
11512 > rm -f core conftest.err conftest.$ac_objext \
11513 >    conftest$ac_exeext conftest.$ac_ext
11514   LIBS=$ac_check_lib_save_LIBS
11515   fi
11516 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11516 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11517   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11518 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11518 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11519    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11520   else
11521 <  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11521 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11522   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11523 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11523 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11524    $as_echo_n "(cached) " >&6
11525   else
11526    ac_check_lib_save_LIBS=$LIBS
11527   LIBS="-ldld  $LIBS"
11528 < cat >conftest.$ac_ext <<_ACEOF
11157 < /* confdefs.h.  */
11158 < _ACEOF
11159 < cat confdefs.h >>conftest.$ac_ext
11160 < cat >>conftest.$ac_ext <<_ACEOF
11528 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11529   /* end confdefs.h.  */
11530  
11531   /* Override any GCC internal prototype to avoid an error.
# Line 11175 | Line 11543 | return dld_link ();
11543    return 0;
11544   }
11545   _ACEOF
11546 < 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
11546 > if ac_fn_c_try_link "$LINENO"; then :
11547    ac_cv_lib_dld_dld_link=yes
11548   else
11549 <  $as_echo "$as_me: failed program was:" >&5
11202 < sed 's/^/| /' conftest.$ac_ext >&5
11203 <
11204 <        ac_cv_lib_dld_dld_link=no
11549 >  ac_cv_lib_dld_dld_link=no
11550   fi
11551 <
11552 < rm -rf conftest.dSYM
11208 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11209 <      conftest$ac_exeext conftest.$ac_ext
11551 > rm -f core conftest.err conftest.$ac_objext \
11552 >    conftest$ac_exeext conftest.$ac_ext
11553   LIBS=$ac_check_lib_save_LIBS
11554   fi
11555 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11555 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11556   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11557 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11557 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11558    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11559   fi
11560  
# Line 11250 | Line 11593 | fi
11593      save_LIBS="$LIBS"
11594      LIBS="$lt_cv_dlopen_libs $LIBS"
11595  
11596 <    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11596 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11597   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11598 < if test "${lt_cv_dlopen_self+set}" = set; then
11598 > if ${lt_cv_dlopen_self+:} false; then :
11599    $as_echo_n "(cached) " >&6
11600   else
11601            if test "$cross_compiling" = yes; then :
# Line 11261 | Line 11604 | else
11604    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11605    lt_status=$lt_dlunknown
11606    cat > conftest.$ac_ext <<_LT_EOF
11607 < #line 11264 "configure"
11607 > #line $LINENO "configure"
11608   #include "confdefs.h"
11609  
11610   #if HAVE_DLFCN_H
# Line 11302 | Line 11645 | else
11645   #  endif
11646   #endif
11647  
11648 < void fnord() { int i=42;}
11648 > /* When -fvisbility=hidden is used, assume the code has been annotated
11649 >   correspondingly for the symbols needed.  */
11650 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11651 > int fnord () __attribute__((visibility("default")));
11652 > #endif
11653 >
11654 > int fnord () { return 42; }
11655   int main ()
11656   {
11657    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11311 | Line 11660 | int main ()
11660    if (self)
11661      {
11662        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11663 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11663 >      else
11664 >        {
11665 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11666 >          else puts (dlerror ());
11667 >        }
11668        /* dlclose (self); */
11669      }
11670    else
# Line 11320 | Line 11673 | int main ()
11673    return status;
11674   }
11675   _LT_EOF
11676 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11676 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11677    (eval $ac_link) 2>&5
11678    ac_status=$?
11679 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11679 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11680 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11681      (./conftest; exit; ) >&5 2>/dev/null
11682      lt_status=$?
11683      case x$lt_status in
# Line 11341 | Line 11694 | rm -fr conftest*
11694  
11695  
11696   fi
11697 < { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11697 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11698   $as_echo "$lt_cv_dlopen_self" >&6; }
11699  
11700      if test "x$lt_cv_dlopen_self" = xyes; then
11701        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11702 <      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11702 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11703   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11704 < if test "${lt_cv_dlopen_self_static+set}" = set; then
11704 > if ${lt_cv_dlopen_self_static+:} false; then :
11705    $as_echo_n "(cached) " >&6
11706   else
11707            if test "$cross_compiling" = yes; then :
# Line 11357 | Line 11710 | else
11710    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11711    lt_status=$lt_dlunknown
11712    cat > conftest.$ac_ext <<_LT_EOF
11713 < #line 11360 "configure"
11713 > #line $LINENO "configure"
11714   #include "confdefs.h"
11715  
11716   #if HAVE_DLFCN_H
# Line 11398 | Line 11751 | else
11751   #  endif
11752   #endif
11753  
11754 < void fnord() { int i=42;}
11754 > /* When -fvisbility=hidden is used, assume the code has been annotated
11755 >   correspondingly for the symbols needed.  */
11756 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11757 > int fnord () __attribute__((visibility("default")));
11758 > #endif
11759 >
11760 > int fnord () { return 42; }
11761   int main ()
11762   {
11763    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11407 | Line 11766 | int main ()
11766    if (self)
11767      {
11768        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11769 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11769 >      else
11770 >        {
11771 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11772 >          else puts (dlerror ());
11773 >        }
11774        /* dlclose (self); */
11775      }
11776    else
# Line 11416 | Line 11779 | int main ()
11779    return status;
11780   }
11781   _LT_EOF
11782 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11782 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11783    (eval $ac_link) 2>&5
11784    ac_status=$?
11785 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11785 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11786 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11787      (./conftest; exit; ) >&5 2>/dev/null
11788      lt_status=$?
11789      case x$lt_status in
# Line 11437 | Line 11800 | rm -fr conftest*
11800  
11801  
11802   fi
11803 < { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11803 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11804   $as_echo "$lt_cv_dlopen_self_static" >&6; }
11805      fi
11806  
# Line 11476 | Line 11839 | fi
11839  
11840   striplib=
11841   old_striplib=
11842 < { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11842 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11843   $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11844   if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11845    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11846    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11847 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
11847 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11848   $as_echo "yes" >&6; }
11849   else
11850   # FIXME - insert some real tests, host_os isn't really good enough
# Line 11490 | Line 11853 | else
11853      if test -n "$STRIP" ; then
11854        striplib="$STRIP -x"
11855        old_striplib="$STRIP -S"
11856 <      { $as_echo "$as_me:$LINENO: result: yes" >&5
11856 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11857   $as_echo "yes" >&6; }
11858      else
11859 <      { $as_echo "$as_me:$LINENO: result: no" >&5
11859 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11860   $as_echo "no" >&6; }
11861      fi
11862      ;;
11863    *)
11864 <    { $as_echo "$as_me:$LINENO: result: no" >&5
11864 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11865   $as_echo "no" >&6; }
11866      ;;
11867    esac
# Line 11516 | Line 11879 | fi
11879  
11880  
11881    # Report which library types will actually be built
11882 <  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11882 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11883   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11884 <  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11884 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11885   $as_echo "$can_build_shared" >&6; }
11886  
11887 <  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11887 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11888   $as_echo_n "checking whether to build shared libraries... " >&6; }
11889    test "$can_build_shared" = "no" && enable_shared=no
11890  
# Line 11542 | Line 11905 | $as_echo_n "checking whether to build sh
11905      fi
11906      ;;
11907    esac
11908 <  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11908 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11909   $as_echo "$enable_shared" >&6; }
11910  
11911 <  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11911 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11912   $as_echo_n "checking whether to build static libraries... " >&6; }
11913    # Make sure either enable_shared or enable_static is yes.
11914    test "$enable_shared" = yes || enable_static=yes
11915 <  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11915 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11916   $as_echo "$enable_static" >&6; }
11917  
11918  
# Line 11576 | Line 11939 | CC="$lt_save_CC"
11939  
11940  
11941  
11942 +
11943 +
11944          ac_config_commands="$ac_config_commands libtool"
11945  
11946  
# Line 11584 | Line 11949 | CC="$lt_save_CC"
11949   # Only expand once:
11950  
11951  
11952 < { $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
11952 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11953   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11954 < if test "${libltdl_cv_shlibext+set}" = set; then
11954 > if ${libltdl_cv_shlibext+:} false; then :
11955    $as_echo_n "(cached) " >&6
11956   else
11957  
11958   module=yes
11959   eval libltdl_cv_shlibext=$shrext_cmds
11960 + module=no
11961 + eval libltdl_cv_shrext=$shrext_cmds
11962  
11963   fi
11964 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
11964 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
11965   $as_echo "$libltdl_cv_shlibext" >&6; }
11966   if test -n "$libltdl_cv_shlibext"; then
11967  
# Line 11603 | Line 11970 | cat >>confdefs.h <<_ACEOF
11970   _ACEOF
11971  
11972   fi
11973 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11974  
11975 < { $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
11975 > cat >>confdefs.h <<_ACEOF
11976 > #define LT_SHARED_EXT "$libltdl_cv_shrext"
11977 > _ACEOF
11978 >
11979 > fi
11980 >
11981 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11982   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11983 < if test "${lt_cv_module_path_var+set}" = set; then
11983 > if ${lt_cv_module_path_var+:} false; then :
11984    $as_echo_n "(cached) " >&6
11985   else
11986    lt_cv_module_path_var="$shlibpath_var"
11987   fi
11988 < { $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
11988 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
11989   $as_echo "$lt_cv_module_path_var" >&6; }
11990   if test -n "$lt_cv_module_path_var"; then
11991  
# Line 11621 | Line 11995 | _ACEOF
11995  
11996   fi
11997  
11998 < { $as_echo "$as_me:$LINENO: checking for the default library search path" >&5
11998 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11999   $as_echo_n "checking for the default library search path... " >&6; }
12000 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then
12000 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12001    $as_echo_n "(cached) " >&6
12002   else
12003    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
12004   fi
12005 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
12005 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12006   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
12007   if test -n "$lt_cv_sys_dlsearch_path"; then
12008    sys_dlsearch_path=
# Line 11658 | Line 12032 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12032  
12033  
12034   LIBADD_DLOPEN=
12035 < { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
12035 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12036   $as_echo_n "checking for library containing dlopen... " >&6; }
12037 < if test "${ac_cv_search_dlopen+set}" = set; then
12037 > if ${ac_cv_search_dlopen+:} false; then :
12038    $as_echo_n "(cached) " >&6
12039   else
12040    ac_func_search_save_LIBS=$LIBS
12041 < cat >conftest.$ac_ext <<_ACEOF
11668 < /* confdefs.h.  */
11669 < _ACEOF
11670 < cat confdefs.h >>conftest.$ac_ext
11671 < cat >>conftest.$ac_ext <<_ACEOF
12041 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042   /* end confdefs.h.  */
12043  
12044   /* Override any GCC internal prototype to avoid an error.
# Line 11693 | Line 12063 | for ac_lib in '' dl; do
12063      ac_res=-l$ac_lib
12064      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12065    fi
12066 <  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
12066 >  if ac_fn_c_try_link "$LINENO"; then :
12067    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
12068   fi
12069 <
12070 < rm -rf conftest.dSYM
12071 < 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
12069 > rm -f core conftest.err conftest.$ac_objext \
12070 >    conftest$ac_exeext
12071 >  if ${ac_cv_search_dlopen+:} false; then :
12072    break
12073   fi
12074   done
12075 < if test "${ac_cv_search_dlopen+set}" = set; then
12076 <  :
12075 > if ${ac_cv_search_dlopen+:} false; then :
12076 >
12077   else
12078    ac_cv_search_dlopen=no
12079   fi
12080   rm conftest.$ac_ext
12081   LIBS=$ac_func_search_save_LIBS
12082   fi
12083 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
12083 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12084   $as_echo "$ac_cv_search_dlopen" >&6; }
12085   ac_res=$ac_cv_search_dlopen
12086 < if test "$ac_res" != no; then
12086 > if test "$ac_res" != no; then :
12087    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12088  
12089 < cat >>confdefs.h <<\_ACEOF
11747 < #define HAVE_LIBDL 1
11748 < _ACEOF
12089 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12090  
12091          if test "$ac_cv_search_dlopen" != "none required" ; then
12092            LIBADD_DLOPEN="-ldl"
# Line 11753 | Line 12094 | _ACEOF
12094          libltdl_cv_lib_dl_dlopen="yes"
12095          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12096   else
12097 <  cat >conftest.$ac_ext <<_ACEOF
11757 < /* confdefs.h.  */
11758 < _ACEOF
11759 < cat confdefs.h >>conftest.$ac_ext
11760 < cat >>conftest.$ac_ext <<_ACEOF
12097 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12098   /* end confdefs.h.  */
12099   #if HAVE_DLFCN_H
12100   #  include <dlfcn.h>
# Line 11771 | Line 12108 | dlopen(0, 0);
12108    return 0;
12109   }
12110   _ACEOF
12111 < 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
12111 > if ac_fn_c_try_link "$LINENO"; then :
12112  
12113 < cat >>confdefs.h <<\_ACEOF
11797 < #define HAVE_LIBDL 1
11798 < _ACEOF
12113 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12114  
12115              libltdl_cv_func_dlopen="yes"
12116              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12117   else
12118 <  $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
12118 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12119   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12120 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12120 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12121    $as_echo_n "(cached) " >&6
12122   else
12123    ac_check_lib_save_LIBS=$LIBS
12124   LIBS="-lsvld  $LIBS"
12125 < cat >conftest.$ac_ext <<_ACEOF
11814 < /* confdefs.h.  */
11815 < _ACEOF
11816 < cat confdefs.h >>conftest.$ac_ext
11817 < cat >>conftest.$ac_ext <<_ACEOF
12125 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126   /* end confdefs.h.  */
12127  
12128   /* Override any GCC internal prototype to avoid an error.
# Line 11832 | Line 12140 | return dlopen ();
12140    return 0;
12141   }
12142   _ACEOF
12143 < 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
12143 > if ac_fn_c_try_link "$LINENO"; then :
12144    ac_cv_lib_svld_dlopen=yes
12145   else
12146 <  $as_echo "$as_me: failed program was:" >&5
11859 < sed 's/^/| /' conftest.$ac_ext >&5
11860 <
11861 <        ac_cv_lib_svld_dlopen=no
12146 >  ac_cv_lib_svld_dlopen=no
12147   fi
12148 <
12149 < rm -rf conftest.dSYM
11865 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11866 <      conftest$ac_exeext conftest.$ac_ext
12148 > rm -f core conftest.err conftest.$ac_objext \
12149 >    conftest$ac_exeext conftest.$ac_ext
12150   LIBS=$ac_check_lib_save_LIBS
12151   fi
12152 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12152 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12153   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12154 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12154 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12155  
12156 < cat >>confdefs.h <<\_ACEOF
11874 < #define HAVE_LIBDL 1
11875 < _ACEOF
12156 > $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12157  
12158                  LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
12159                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12160   fi
12161  
12162   fi
12163 <
12164 < rm -rf conftest.dSYM
11884 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11885 <      conftest$ac_exeext conftest.$ac_ext
12163 > rm -f core conftest.err conftest.$ac_objext \
12164 >    conftest$ac_exeext conftest.$ac_ext
12165   fi
12166  
12167   if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
12168   then
12169    lt_save_LIBS="$LIBS"
12170    LIBS="$LIBS $LIBADD_DLOPEN"
12171 <
12172 < for ac_func in dlerror
12173 < do
12174 < 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
12171 >  for ac_func in dlerror
12172 > do :
12173 >  ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12174 > if test "x$ac_cv_func_dlerror" = xyes; then :
12175    cat >>confdefs.h <<_ACEOF
12176 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12176 > #define HAVE_DLERROR 1
12177   _ACEOF
12178  
12179   fi
# Line 11995 | Line 12184 | fi
12184  
12185  
12186   LIBADD_SHL_LOAD=
12187 < { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12188 < $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
12187 > ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12188 > if test "x$ac_cv_func_shl_load" = xyes; then :
12189  
12190 < /* 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
12190 > $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12191  
12192          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12193   else
12194 <  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12194 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12195   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12196 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12196 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12197    $as_echo_n "(cached) " >&6
12198   else
12199    ac_check_lib_save_LIBS=$LIBS
12200   LIBS="-ldld  $LIBS"
12201 < cat >conftest.$ac_ext <<_ACEOF
12099 < /* confdefs.h.  */
12100 < _ACEOF
12101 < cat confdefs.h >>conftest.$ac_ext
12102 < cat >>conftest.$ac_ext <<_ACEOF
12201 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202   /* end confdefs.h.  */
12203  
12204   /* Override any GCC internal prototype to avoid an error.
# Line 12117 | Line 12216 | return shl_load ();
12216    return 0;
12217   }
12218   _ACEOF
12219 < 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
12219 > if ac_fn_c_try_link "$LINENO"; then :
12220    ac_cv_lib_dld_shl_load=yes
12221   else
12222 <  $as_echo "$as_me: failed program was:" >&5
12144 < sed 's/^/| /' conftest.$ac_ext >&5
12145 <
12146 <        ac_cv_lib_dld_shl_load=no
12222 >  ac_cv_lib_dld_shl_load=no
12223   fi
12224 <
12225 < rm -rf conftest.dSYM
12150 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12151 <      conftest$ac_exeext conftest.$ac_ext
12224 > rm -f core conftest.err conftest.$ac_objext \
12225 >    conftest$ac_exeext conftest.$ac_ext
12226   LIBS=$ac_check_lib_save_LIBS
12227   fi
12228 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12228 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12229   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12230 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
12230 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12231  
12232 < cat >>confdefs.h <<\_ACEOF
12159 < #define HAVE_SHL_LOAD 1
12160 < _ACEOF
12232 > $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12233  
12234              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12235              LIBADD_SHL_LOAD="-ldld"
# Line 12170 | Line 12242 | fi
12242   case $host_os in
12243   darwin[1567].*)
12244   # We only want this for pre-Mac OS X 10.4.
12245 <  { $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
12246 < $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
12251 <
12252 < rm -rf conftest.dSYM
12253 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12254 <      conftest$ac_exeext conftest.$ac_ext
12255 < fi
12256 < { $as_echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
12257 < $as_echo "$ac_cv_func__dyld_func_lookup" >&6; }
12258 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then
12245 >  ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12246 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12247  
12248 < cat >>confdefs.h <<\_ACEOF
12261 < #define HAVE_DYLD 1
12262 < _ACEOF
12248 > $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12249  
12250          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12251   fi
# Line 12269 | Line 12255 | beos*)
12255    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12256    ;;
12257   cygwin* | mingw* | os2* | pw32*)
12258 <  { $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
12259 < $as_echo_n "checking whether cygwin_conv_path is declared... " >&6; }
12260 < if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
12261 <  $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
12258 >  ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12259 > "
12260 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12261 >  ac_have_decl=1
12262   else
12263 <  $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
12263 >  ac_have_decl=0
12264   fi
12265  
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
12266   cat >>confdefs.h <<_ACEOF
12267 < #define HAVE_DECL_CYGWIN_CONV_PATH 1
12267 > #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
12268   _ACEOF
12269  
12332
12333 else
12334  cat >>confdefs.h <<_ACEOF
12335 #define HAVE_DECL_CYGWIN_CONV_PATH 0
12336 _ACEOF
12337
12338
12339 fi
12340
12341
12270    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12271    ;;
12272   esac
12273  
12274 < { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12274 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12275   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12276 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12276 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12277    $as_echo_n "(cached) " >&6
12278   else
12279    ac_check_lib_save_LIBS=$LIBS
12280   LIBS="-ldld  $LIBS"
12281 < cat >conftest.$ac_ext <<_ACEOF
12354 < /* confdefs.h.  */
12355 < _ACEOF
12356 < cat confdefs.h >>conftest.$ac_ext
12357 < cat >>conftest.$ac_ext <<_ACEOF
12281 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282   /* end confdefs.h.  */
12283  
12284   /* Override any GCC internal prototype to avoid an error.
# Line 12372 | Line 12296 | return dld_link ();
12296    return 0;
12297   }
12298   _ACEOF
12299 < 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
12299 > if ac_fn_c_try_link "$LINENO"; then :
12300    ac_cv_lib_dld_dld_link=yes
12301   else
12302 <  $as_echo "$as_me: failed program was:" >&5
12399 < sed 's/^/| /' conftest.$ac_ext >&5
12400 <
12401 <        ac_cv_lib_dld_dld_link=no
12302 >  ac_cv_lib_dld_dld_link=no
12303   fi
12304 <
12305 < rm -rf conftest.dSYM
12405 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12406 <      conftest$ac_exeext conftest.$ac_ext
12304 > rm -f core conftest.err conftest.$ac_objext \
12305 >    conftest$ac_exeext conftest.$ac_ext
12306   LIBS=$ac_check_lib_save_LIBS
12307   fi
12308 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12308 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12309   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12310 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12310 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12311  
12312 < cat >>confdefs.h <<\_ACEOF
12414 < #define HAVE_DLD 1
12415 < _ACEOF
12312 > $as_echo "#define HAVE_DLD 1" >>confdefs.h
12313  
12314                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12315   fi
# Line 12427 | Line 12324 | then
12324      LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
12325    done
12326  
12327 < cat >>confdefs.h <<\_ACEOF
12431 < #define HAVE_LIBDLLOADER 1
12432 < _ACEOF
12327 > $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
12328  
12329   fi
12330  
# Line 12444 | Line 12339 | ac_link='$CC -o conftest$ac_exeext $CFLA
12339   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12340  
12341  
12342 < { $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
12342 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12343   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12344 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then
12344 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12345    $as_echo_n "(cached) " >&6
12346   else
12347    lt_cv_sys_symbol_underscore=no
# Line 12454 | Line 12349 | else
12349   void nm_test_func(){}
12350   int main(){nm_test_func;return 0;}
12351   _LT_EOF
12352 <  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12352 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12353    (eval $ac_compile) 2>&5
12354    ac_status=$?
12355 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 <  (exit $ac_status); }; then
12355 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12356 >  test $ac_status = 0; }; then
12357      # Now try to grab the symbols.
12358      ac_nlist=conftest.nm
12359 <    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
12359 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
12360    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
12361    ac_status=$?
12362 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 <  (exit $ac_status); } && test -s "$ac_nlist"; then
12362 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12363 >  test $ac_status = 0; } && test -s "$ac_nlist"; then
12364        # See whether the symbols have a leading underscore.
12365        if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
12366          lt_cv_sys_symbol_underscore=yes
# Line 12486 | Line 12381 | _LT_EOF
12381    rm -rf conftest*
12382  
12383   fi
12384 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
12384 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
12385   $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12386    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12387  
# Line 12494 | Line 12389 | $as_echo "$lt_cv_sys_symbol_underscore"
12389   if test x"$lt_cv_sys_symbol_underscore" = xyes; then
12390    if test x"$libltdl_cv_func_dlopen" = xyes ||
12391       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12392 <        { $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
12392 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12393   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12394 < if test "${libltdl_cv_need_uscore+set}" = set; then
12394 > if ${libltdl_cv_need_uscore+:} false; then :
12395    $as_echo_n "(cached) " >&6
12396   else
12397    libltdl_cv_need_uscore=unknown
# Line 12508 | Line 12403 | else
12403    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12404    lt_status=$lt_dlunknown
12405    cat > conftest.$ac_ext <<_LT_EOF
12406 < #line 12511 "configure"
12406 > #line $LINENO "configure"
12407   #include "confdefs.h"
12408  
12409   #if HAVE_DLFCN_H
# Line 12549 | Line 12444 | else
12444   #  endif
12445   #endif
12446  
12447 < void fnord() { int i=42;}
12447 > /* When -fvisbility=hidden is used, assume the code has been annotated
12448 >   correspondingly for the symbols needed.  */
12449 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12450 > int fnord () __attribute__((visibility("default")));
12451 > #endif
12452 >
12453 > int fnord () { return 42; }
12454   int main ()
12455   {
12456    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 12558 | Line 12459 | int main ()
12459    if (self)
12460      {
12461        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12462 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12462 >      else
12463 >        {
12464 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12465 >          else puts (dlerror ());
12466 >        }
12467        /* dlclose (self); */
12468      }
12469    else
# Line 12567 | Line 12472 | int main ()
12472    return status;
12473   }
12474   _LT_EOF
12475 <  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12475 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12476    (eval $ac_link) 2>&5
12477    ac_status=$?
12478 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 <  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12478 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12479 >  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12480      (./conftest; exit; ) >&5 2>/dev/null
12481      lt_status=$?
12482      case x$lt_status in
# Line 12589 | Line 12494 | rm -fr conftest*
12494            LIBS="$save_LIBS"
12495  
12496   fi
12497 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
12497 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
12498   $as_echo "$libltdl_cv_need_uscore" >&6; }
12499    fi
12500   fi
12501  
12502   if test x"$libltdl_cv_need_uscore" = xyes; then
12503  
12504 < cat >>confdefs.h <<\_ACEOF
12600 < #define NEED_USCORE 1
12601 < _ACEOF
12504 > $as_echo "#define NEED_USCORE 1" >>confdefs.h
12505  
12506   fi
12507  
12508 < { $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
12508 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12509   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12510 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
12510 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12511    $as_echo_n "(cached) " >&6
12512   else
12513    # PORTME does your system automatically load deplibs for dlopen?
# Line 12636 | Line 12539 | else
12539    freebsd* | dragonfly*)
12540      lt_cv_sys_dlopen_deplibs=yes
12541      ;;
12542 <  gnu* | linux* | k*bsd*-gnu)
12542 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12543      # GNU and its variants, using gnu ld.so (Glibc)
12544      lt_cv_sys_dlopen_deplibs=yes
12545      ;;
# Line 12696 | Line 12599 | else
12599    esac
12600  
12601   fi
12602 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
12602 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
12603   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12604   if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12605  
12606 < cat >>confdefs.h <<\_ACEOF
12704 < #define LTDL_DLOPEN_DEPLIBS 1
12705 < _ACEOF
12606 > $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
12607  
12608   fi
12609  
12610   :
12611  
12711
12612   for ac_header in argz.h
12613 < do
12614 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12615 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12616 < $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
12613 > do :
12614 >  ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12615 > "
12616 > if test "x$ac_cv_header_argz_h" = xyes; then :
12617    cat >>confdefs.h <<_ACEOF
12618 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12618 > #define HAVE_ARGZ_H 1
12619   _ACEOF
12620  
12621   fi
# Line 12771 | Line 12623 | fi
12623   done
12624  
12625  
12626 < { $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)
12626 > ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
12627   #  include <argz.h>
12628   #endif
12629 <
12630 < 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
12629 > "
12630 > if test "x$ac_cv_type_error_t" = xyes; then :
12631  
12632   cat >>confdefs.h <<_ACEOF
12633   #define HAVE_ERROR_T 1
# Line 12880 | Line 12636 | _ACEOF
12636  
12637   else
12638  
12639 < cat >>confdefs.h <<\_ACEOF
12884 < #define error_t int
12885 < _ACEOF
12639 > $as_echo "#define error_t int" >>confdefs.h
12640  
12641  
12642 < cat >>confdefs.h <<\_ACEOF
12889 < #define __error_t_defined 1
12890 < _ACEOF
12642 > $as_echo "#define __error_t_defined 1" >>confdefs.h
12643  
12644   fi
12645  
12646  
12647   ARGZ_H=
12896
12897
12898
12899
12900
12901
12902
12648   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
12649          argz_next argz_stringify
12650 < do
12651 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12652 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12653 < $as_echo_n "checking for $ac_func... " >&6; }
12909 < 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
12650 > do :
12651 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12652 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12653 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12654    cat >>confdefs.h <<_ACEOF
12655   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12656   _ACEOF
# Line 13007 | Line 12664 | fi
12664   done
12665  
12666  
12667 < if test -z "$ARGZ_H"; then
12668 <  { $as_echo "$as_me:$LINENO: checking if argz actually works" >&5
12667 > if test -z "$ARGZ_H"; then :
12668 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12669   $as_echo_n "checking if argz actually works... " >&6; }
12670 < if test "${lt_cv_sys_argz_works+set}" = set; then
12670 > if ${lt_cv_sys_argz_works+:} false; then :
12671    $as_echo_n "(cached) " >&6
12672   else
12673    case $host_os in #(
# Line 13039 | Line 12696 | else
12696           *) lt_cv_sys_argz_works=yes ;;
12697           esac
12698   fi
12699 < { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
12699 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12700   $as_echo "$lt_cv_sys_argz_works" >&6; }
12701 <     if test $lt_cv_sys_argz_works = yes; then
12701 >     if test "$lt_cv_sys_argz_works" = yes; then :
12702  
12703 < cat >>confdefs.h <<\_ACEOF
13047 < #define HAVE_WORKING_ARGZ 1
13048 < _ACEOF
12703 > $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12704  
12705   else
12706    ARGZ_H=argz.h
# Line 13054 | Line 12709 | else
12709    _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
12710  
12711   fi
13057
12712   fi
12713  
12714  
12715  
12716 <
13063 < { $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
12716 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12717   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12718 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then
12718 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12719    $as_echo_n "(cached) " >&6
12720   else
12721    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 13072 | Line 12725 | else
12725    fi
12726  
12727   fi
12728 < { $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
12728 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
12729   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
12730   if test x"$libltdl_cv_preloaded_symbols" = xyes; then
12731  
12732 < cat >>confdefs.h <<\_ACEOF
13080 < #define HAVE_PRELOADED_SYMBOLS 1
13081 < _ACEOF
12732 > $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
12733  
12734   fi
12735  
13085
13086
12736   # Set options
12737  
12738  
# Line 13096 | Line 12745 | fi
12745  
12746  
12747  
13099
12748   # Check whether --with-included_ltdl was given.
12749 < if test "${with_included_ltdl+set}" = set; then
12749 > if test "${with_included_ltdl+set}" = set; then :
12750    withval=$with_included_ltdl;
12751   fi
12752  
# Line 13106 | Line 12754 | fi
12754   if test "x$with_included_ltdl" != xyes; then
12755    # We are not being forced to use the included libltdl sources, so
12756    # decide whether there is a useful installed version we can use.
12757 <  { $as_echo "$as_me:$LINENO: checking for ltdl.h" >&5
13110 < $as_echo_n "checking for ltdl.h... " >&6; }
13111 < if test "${ac_cv_header_ltdl_h+set}" = set; then
13112 <  $as_echo_n "(cached) " >&6
13113 < else
13114 <  cat >conftest.$ac_ext <<_ACEOF
13115 < /* confdefs.h.  */
13116 < _ACEOF
13117 < cat confdefs.h >>conftest.$ac_ext
13118 < cat >>conftest.$ac_ext <<_ACEOF
13119 < /* end confdefs.h.  */
13120 < $ac_includes_default
13121 <
13122 <
13123 < #include <ltdl.h>
13124 < _ACEOF
13125 < rm -f conftest.$ac_objext
13126 < if { (ac_try="$ac_compile"
13127 < case "(($ac_try" in
13128 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13129 <  *) ac_try_echo=$ac_try;;
13130 < esac
13131 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13132 < $as_echo "$ac_try_echo") >&5
13133 <  (eval "$ac_compile") 2>conftest.er1
13134 <  ac_status=$?
13135 <  grep -v '^ *+' conftest.er1 >conftest.err
13136 <  rm -f conftest.er1
13137 <  cat conftest.err >&5
13138 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 <  (exit $ac_status); } && {
13140 <         test -z "$ac_c_werror_flag" ||
13141 <         test ! -s conftest.err
13142 <       } && test -s conftest.$ac_objext; then
13143 <  ac_cv_header_ltdl_h=yes
13144 < else
13145 <  $as_echo "$as_me: failed program was:" >&5
13146 < sed 's/^/| /' conftest.$ac_ext >&5
13147 <
13148 <        ac_cv_header_ltdl_h=no
13149 < fi
12757 >  ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12758  
12759 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12760 < fi
12761 < { $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
12759 > "
12760 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12761 >  ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12762              #include <ltdl.h>
12763 <
12764 < int
12765 < 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
12763 > "
12764 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12765 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12766   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12767 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
12767 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12768    $as_echo_n "(cached) " >&6
12769   else
12770    ac_check_lib_save_LIBS=$LIBS
12771   LIBS="-lltdl  $LIBS"
12772 < cat >conftest.$ac_ext <<_ACEOF
13220 < /* confdefs.h.  */
13221 < _ACEOF
13222 < cat confdefs.h >>conftest.$ac_ext
13223 < cat >>conftest.$ac_ext <<_ACEOF
12772 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773   /* end confdefs.h.  */
12774  
12775   /* Override any GCC internal prototype to avoid an error.
# Line 13238 | Line 12787 | return lt_dladvise_preload ();
12787    return 0;
12788   }
12789   _ACEOF
12790 < 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
12790 > if ac_fn_c_try_link "$LINENO"; then :
12791    ac_cv_lib_ltdl_lt_dladvise_preload=yes
12792   else
12793 <  $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
12793 >  ac_cv_lib_ltdl_lt_dladvise_preload=no
12794   fi
12795 <
12796 < rm -rf conftest.dSYM
13271 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13272 <      conftest$ac_exeext conftest.$ac_ext
12795 > rm -f core conftest.err conftest.$ac_objext \
12796 >    conftest$ac_exeext conftest.$ac_ext
12797   LIBS=$ac_check_lib_save_LIBS
12798   fi
12799 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12799 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12800   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12801 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then
12801 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12802    with_included_ltdl=no
12803   else
12804    with_included_ltdl=yes
# Line 13294 | Line 12818 | fi
12818  
12819  
12820  
13297
13298
13299
13300
13301
12821   # Check whether --with-ltdl_include was given.
12822 < if test "${with_ltdl_include+set}" = set; then
12822 > if test "${with_ltdl_include+set}" = set; then :
12823    withval=$with_ltdl_include;
12824   fi
12825  
# Line 13308 | Line 12827 | fi
12827   if test -n "$with_ltdl_include"; then
12828    if test -f "$with_ltdl_include/ltdl.h"; then :
12829    else
12830 <    { { $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; }; }
12830 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12831    fi
12832   else
12833    with_ltdl_include=no
# Line 13318 | Line 12835 | fi
12835  
12836  
12837   # Check whether --with-ltdl_lib was given.
12838 < if test "${with_ltdl_lib+set}" = set; then
12838 > if test "${with_ltdl_lib+set}" = set; then :
12839    withval=$with_ltdl_lib;
12840   fi
12841  
# Line 13326 | Line 12843 | fi
12843   if test -n "$with_ltdl_lib"; then
12844    if test -f "$with_ltdl_lib/libltdl.la"; then :
12845    else
12846 <    { { $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; }; }
12846 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12847    fi
12848   else
12849    with_ltdl_lib=no
# Line 13337 | Line 12852 | fi
12852   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12853    ,yes,no,no,)
12854          case $enable_ltdl_convenience in
12855 <  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; }; } ;;
12855 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12856    "") enable_ltdl_convenience=yes
12857        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12858   esac
# Line 13360 | Line 12873 | INCLTDL="$LTDLINCL"
12873          # If the included ltdl is not to be used, then use the
12874          # preinstalled libltdl we found.
12875  
12876 < cat >>confdefs.h <<\_ACEOF
13364 < #define HAVE_LTDL 1
13365 < _ACEOF
12876 > $as_echo "#define HAVE_LTDL 1" >>confdefs.h
12877  
12878          LIBLTDL=-lltdl
12879          LTDLDEPS=
12880          LTDLINCL=
12881          ;;
12882    ,no*,no,*)
12883 <        { { $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; }; }
12883 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12884          ;;
12885    *)    with_included_ltdl=no
12886          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 13382 | Line 12891 | esac
12891   INCLTDL="$LTDLINCL"
12892  
12893   # Report our decision...
12894 < { $as_echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
12894 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
12895   $as_echo_n "checking where to find libltdl headers... " >&6; }
12896 < { $as_echo "$as_me:$LINENO: result: $LTDLINCL" >&5
12896 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
12897   $as_echo "$LTDLINCL" >&6; }
12898 < { $as_echo "$as_me:$LINENO: checking where to find libltdl library" >&5
12898 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
12899   $as_echo_n "checking where to find libltdl library... " >&6; }
12900 < { $as_echo "$as_me:$LINENO: result: $LIBLTDL" >&5
12900 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
12901   $as_echo "$LIBLTDL" >&6; }
12902  
12903  
12904  
12905   # Check whether --enable-ltdl-install was given.
12906 < if test "${enable_ltdl_install+set}" = set; then
12906 > if test "${enable_ltdl_install+set}" = set; then :
12907    enableval=$enable_ltdl_install;
12908   fi
12909  
# Line 13422 | Line 12931 | fi
12931  
12932  
12933  
13425    subdirs="$subdirs libltdl"
13426
13427
12934  
12935  
12936  
# Line 13436 | Line 12942 | fi
12942  
12943  
12944  
13439
13440
13441
13442
13443
13444
12945   for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
12946 < do
12947 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12948 < { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12949 < $as_echo_n "checking for $ac_header... " >&6; }
12950 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13451 <  $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
12946 > do :
12947 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12948 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12949 > "
12950 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12951    cat >>confdefs.h <<_ACEOF
12952   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12953   _ACEOF
# Line 13504 | Line 12957 | fi
12957   done
12958  
12959  
13507
13508
13509
12960   for ac_func in closedir opendir readdir
12961 < do
12962 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12963 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12964 < $as_echo_n "checking for $ac_func... " >&6; }
13515 < 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
12961 > do :
12962 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12963 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12964 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12965    cat >>confdefs.h <<_ACEOF
12966   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12967   _ACEOF
# Line 13612 | Line 12974 | else
12974   fi
12975   done
12976  
13615
13616
12977   for ac_func in strlcat strlcpy
12978 < do
12979 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12980 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12981 < $as_echo_n "checking for $ac_func... " >&6; }
13622 < 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
12978 > do :
12979 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12980 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12981 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12982    cat >>confdefs.h <<_ACEOF
12983   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12984   _ACEOF
# Line 13726 | Line 12998 | cat >>confdefs.h <<_ACEOF
12998   _ACEOF
12999  
13000  
13001 + name=
13002 + eval "lt_libprefix=\"$libname_spec\""
13003 +
13004 + cat >>confdefs.h <<_ACEOF
13005 + #define LT_LIBPREFIX "$lt_libprefix"
13006 + _ACEOF
13007 +
13008 +
13009   name=ltdl
13010 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13010 > eval "LTDLOPEN=\"$libname_spec\""
13011  
13012  
13013  
# Line 13741 | Line 13021 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13021  
13022   LIBTOOL="$LIBTOOL --silent"
13023  
13744
13024   # Checks for libraries.
13025  
13026 <  { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
13026 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13027   $as_echo_n "checking for library containing socket... " >&6; }
13028 < if test "${ac_cv_search_socket+set}" = set; then
13028 > if ${ac_cv_search_socket+:} false; then :
13029    $as_echo_n "(cached) " >&6
13030   else
13031    ac_func_search_save_LIBS=$LIBS
13032 < cat >conftest.$ac_ext <<_ACEOF
13754 < /* confdefs.h.  */
13755 < _ACEOF
13756 < cat confdefs.h >>conftest.$ac_ext
13757 < cat >>conftest.$ac_ext <<_ACEOF
13032 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033   /* end confdefs.h.  */
13034  
13035   /* Override any GCC internal prototype to avoid an error.
# Line 13779 | Line 13054 | for ac_lib in '' socket; do
13054      ac_res=-l$ac_lib
13055      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13056    fi
13057 <  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
13057 >  if ac_fn_c_try_link "$LINENO"; then :
13058    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
13059   fi
13060 <
13061 < rm -rf conftest.dSYM
13062 < 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
13060 > rm -f core conftest.err conftest.$ac_objext \
13061 >    conftest$ac_exeext
13062 >  if ${ac_cv_search_socket+:} false; then :
13063    break
13064   fi
13065   done
13066 < if test "${ac_cv_search_socket+set}" = set; then
13067 <  :
13066 > if ${ac_cv_search_socket+:} false; then :
13067 >
13068   else
13069    ac_cv_search_socket=no
13070   fi
13071   rm conftest.$ac_ext
13072   LIBS=$ac_func_search_save_LIBS
13073   fi
13074 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
13074 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13075   $as_echo "$ac_cv_search_socket" >&6; }
13076   ac_res=$ac_cv_search_socket
13077 < if test "$ac_res" != no; then
13077 > if test "$ac_res" != no; then :
13078    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13079  
13080   else
13081 <  { { $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; }; }
13081 >  as_fn_error $? "socket library not found" "$LINENO" 5
13082   fi
13083  
13084 <
13085 <
13086 <
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
13084 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13085 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13086 > if ${ac_cv_search_inet_ntoa+:} false; then :
13087    $as_echo_n "(cached) " >&6
13088   else
13089 <  cat >conftest.$ac_ext <<_ACEOF
13090 < /* confdefs.h.  */
13851 < _ACEOF
13852 < cat confdefs.h >>conftest.$ac_ext
13853 < cat >>conftest.$ac_ext <<_ACEOF
13089 >  ac_func_search_save_LIBS=$LIBS
13090 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091   /* 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
13092  
13093   /* Override any GCC internal prototype to avoid an error.
13094     Use char because int might match the return type of a GCC
# Line 13875 | Line 13096 | cat >>conftest.$ac_ext <<_ACEOF
13096   #ifdef __cplusplus
13097   extern "C"
13098   #endif
13099 < 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 <
13099 > char inet_ntoa ();
13100   int
13101   main ()
13102   {
13103 < return $ac_func ();
13103 > return inet_ntoa ();
13104    ;
13105    return 0;
13106   }
13107   _ACEOF
13108 < rm -f conftest.$ac_objext conftest$ac_exeext
13109 < if { (ac_try="$ac_link"
13110 < case "(($ac_try" in
13111 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13112 <  *) ac_try_echo=$ac_try;;
13113 < esac
13114 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13115 < $as_echo "$ac_try_echo") >&5
13116 <  (eval "$ac_link") 2>conftest.er1
13117 <  ac_status=$?
13118 <  grep -v '^ *+' conftest.er1 >conftest.err
13119 <  rm -f conftest.er1
13120 <  cat conftest.err >&5
13121 <  $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"
13108 > for ac_lib in '' nsl; do
13109 >  if test -z "$ac_lib"; then
13110 >    ac_res="none required"
13111 >  else
13112 >    ac_res=-l$ac_lib
13113 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13114 >  fi
13115 >  if ac_fn_c_try_link "$LINENO"; then :
13116 >  ac_cv_search_inet_ntoa=$ac_res
13117 > fi
13118 > rm -f core conftest.err conftest.$ac_objext \
13119 >    conftest$ac_exeext
13120 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13121 >  break
13122   fi
13123 + done
13124 + if ${ac_cv_search_inet_ntoa+:} false; then :
13125  
13126 < rm -rf conftest.dSYM
13127 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13925 <      conftest$ac_exeext conftest.$ac_ext
13126 > else
13127 >  ac_cv_search_inet_ntoa=no
13128   fi
13129 < ac_res=`eval 'as_val=${'$as_ac_var'}
13130 <                 $as_echo "$as_val"'`
13131 <               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13132 < $as_echo "$ac_res" >&6; }
13133 < as_val=`eval 'as_val=${'$as_ac_var'}
13134 <                 $as_echo "$as_val"'`
13135 <   if test "x$as_val" = x""yes; then
13136 <  cat >>confdefs.h <<_ACEOF
13935 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13936 < _ACEOF
13129 > rm conftest.$ac_ext
13130 > LIBS=$ac_func_search_save_LIBS
13131 > fi
13132 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13133 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13134 > ac_res=$ac_cv_search_inet_ntoa
13135 > if test "$ac_res" != no; then :
13136 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13137  
13138   fi
13939 done
13139  
13140 <  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in" >&5
13141 < $as_echo_n "checking for struct sockaddr_in... " >&6; }
13142 < if test "${ac_cv_type_struct_sockaddr_in+set}" = set; then
13140 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13141 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13142 > if ${ac_cv_search_inet_aton+:} false; then :
13143    $as_echo_n "(cached) " >&6
13144   else
13145 <  ac_cv_type_struct_sockaddr_in=no
13146 < 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
13145 >  ac_func_search_save_LIBS=$LIBS
13146 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13147   /* end confdefs.h.  */
13991 #include <sys/types.h>
13992   #include <sys/socket.h>
13993   #include <netdb.h>
13994
13148  
13149 + /* Override any GCC internal prototype to avoid an error.
13150 +   Use char because int might match the return type of a GCC
13151 +   builtin and then its argument prototype would still apply.  */
13152 + #ifdef __cplusplus
13153 + extern "C"
13154 + #endif
13155 + char inet_aton ();
13156   int
13157   main ()
13158   {
13159 < if (sizeof ((struct sockaddr_in)))
14000 <          return 0;
13159 > return inet_aton ();
13160    ;
13161    return 0;
13162   }
13163   _ACEOF
13164 < rm -f conftest.$ac_objext
13165 < if { (ac_try="$ac_compile"
13166 < case "(($ac_try" in
13167 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13168 <  *) ac_try_echo=$ac_try;;
13169 < esac
13170 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13171 < $as_echo "$ac_try_echo") >&5
13172 <  (eval "$ac_compile") 2>conftest.er1
13173 <  ac_status=$?
13174 <  grep -v '^ *+' conftest.er1 >conftest.err
13175 <  rm -f conftest.er1
13176 <  cat conftest.err >&5
13177 <  $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
13164 > for ac_lib in '' resolv; do
13165 >  if test -z "$ac_lib"; then
13166 >    ac_res="none required"
13167 >  else
13168 >    ac_res=-l$ac_lib
13169 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13170 >  fi
13171 >  if ac_fn_c_try_link "$LINENO"; then :
13172 >  ac_cv_search_inet_aton=$ac_res
13173 > fi
13174 > rm -f core conftest.err conftest.$ac_objext \
13175 >    conftest$ac_exeext
13176 >  if ${ac_cv_search_inet_aton+:} false; then :
13177 >  break
13178   fi
13179 + done
13180 + if ${ac_cv_search_inet_aton+:} false; then :
13181  
14031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13182   else
13183 <  $as_echo "$as_me: failed program was:" >&5
14034 < sed 's/^/| /' conftest.$ac_ext >&5
14035 <
14036 <
13183 >  ac_cv_search_inet_aton=no
13184   fi
13185 + rm conftest.$ac_ext
13186 + LIBS=$ac_func_search_save_LIBS
13187 + fi
13188 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13189 + $as_echo "$ac_cv_search_inet_aton" >&6; }
13190 + ac_res=$ac_cv_search_inet_aton
13191 + if test "$ac_res" != no; then :
13192 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13193  
14039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13194   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
13195  
13196 < cat >>confdefs.h <<_ACEOF
13197 < #define HAVE_STRUCT_SOCKADDR_IN 1
13196 >  for ac_func in inet_aton inet_ntop inet_pton
13197 > do :
13198 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13199 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13200 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13201 >  cat >>confdefs.h <<_ACEOF
13202 > #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13203   _ACEOF
13204  
14049
13205   fi
13206 < { $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
14052 < $as_echo_n "checking for struct sockaddr_storage... " >&6; }
14053 < if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
14054 <  $as_echo_n "(cached) " >&6
14055 < else
14056 <  ac_cv_type_struct_sockaddr_storage=no
14057 < cat >conftest.$ac_ext <<_ACEOF
14058 < /* confdefs.h.  */
14059 < _ACEOF
14060 < cat confdefs.h >>conftest.$ac_ext
14061 < cat >>conftest.$ac_ext <<_ACEOF
14062 < /* end confdefs.h.  */
14063 < #include <sys/types.h>
14064 <   #include <sys/socket.h>
14065 <   #include <netdb.h>
14066 <
13206 > done
13207  
13208 < 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>
13208 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13209     #include <sys/socket.h>
13210     #include <netdb.h>
13211  
13212 + "
13213 + if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13214  
13215 < int
13216 < main ()
14108 < {
14109 < if (sizeof ((struct sockaddr_storage)))
14110 <          return 0;
14111 <  ;
14112 <  return 0;
14113 < }
13215 > cat >>confdefs.h <<_ACEOF
13216 > #define HAVE_STRUCT_SOCKADDR_IN 1
13217   _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
13218  
13219  
13220   fi
13221 + ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13222 +   #include <sys/socket.h>
13223 +   #include <netdb.h>
13224  
13225 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13226 < 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
13225 > "
13226 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13227  
13228   cat >>confdefs.h <<_ACEOF
13229   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 14158 | Line 13231 | _ACEOF
13231  
13232  
13233   fi
13234 < { $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>
13234 > ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13235     #include <sys/socket.h>
13236     #include <netdb.h>
13237  
13238 <
13239 < 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
13238 > "
13239 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13240  
13241   cat >>confdefs.h <<_ACEOF
13242   #define HAVE_STRUCT_ADDRINFO 1
# Line 14269 | Line 13245 | _ACEOF
13245  
13246   fi
13247  
13248 <  { $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>
13248 >  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13249    <sys/socket.h>
13250 <
13251 < 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
13250 > "
13251 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13252  
13253   cat >>confdefs.h <<_ACEOF
13254   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 14379 | Line 13259 | fi
13259  
13260  
13261  
13262 <  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
13263 < $as_echo_n "checking for struct sockaddr_in6... " >&6; }
13264 < 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
14477 <
14478 < cat >>confdefs.h <<_ACEOF
14479 < #define HAVE_STRUCT_SOCKADDR_IN6 1
14480 < _ACEOF
14481 <
13262 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13263 > "
13264 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13265  
13266 < else
14484 <
14485 < cat >>confdefs.h <<\_ACEOF
14486 < #define IPV6 1
14487 < _ACEOF
13266 > $as_echo "#define IPV6 1" >>confdefs.h
13267  
13268   fi
13269  
13270  
13271  
14493
13272   # Checks for typedefs, structures, and compiler characteristics.
13273 < { $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
13273 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13274   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13275 < if test "${ac_cv_c_bigendian+set}" = set; then
13275 > if ${ac_cv_c_bigendian+:} false; then :
13276    $as_echo_n "(cached) " >&6
13277   else
13278    ac_cv_c_bigendian=unknown
13279      # See if we're dealing with a universal compiler.
13280 <    cat >conftest.$ac_ext <<_ACEOF
14681 < /* confdefs.h.  */
14682 < _ACEOF
14683 < cat confdefs.h >>conftest.$ac_ext
14684 < cat >>conftest.$ac_ext <<_ACEOF
13280 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13281   /* end confdefs.h.  */
13282   #ifndef __APPLE_CC__
13283                 not a universal capable compiler
# Line 14689 | Line 13285 | cat >>conftest.$ac_ext <<_ACEOF
13285               typedef int dummy;
13286  
13287   _ACEOF
13288 < 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
13288 > if ac_fn_c_try_compile "$LINENO"; then :
13289  
13290          # Check for potential -arch flags.  It is not universal unless
13291 <        # there are some -arch flags.  Note that *ppc* also matches
13292 <        # ppc64.  This check is also rather less than ideal.
13293 <        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
13294 <          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
13295 <        esac
13296 < else
13297 <  $as_echo "$as_me: failed program was:" >&5
13298 < sed 's/^/| /' conftest.$ac_ext >&5
13299 <
13300 <
13291 >        # there are at least two -arch flags with different values.
13292 >        ac_arch=
13293 >        ac_prev=
13294 >        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13295 >         if test -n "$ac_prev"; then
13296 >           case $ac_word in
13297 >             i?86 | x86_64 | ppc | ppc64)
13298 >               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13299 >                 ac_arch=$ac_word
13300 >               else
13301 >                 ac_cv_c_bigendian=universal
13302 >                 break
13303 >               fi
13304 >               ;;
13305 >           esac
13306 >           ac_prev=
13307 >         elif test "x$ac_word" = "x-arch"; then
13308 >           ac_prev=arch
13309 >         fi
13310 >       done
13311   fi
14723
13312   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13313      if test $ac_cv_c_bigendian = unknown; then
13314        # See if sys/param.h defines the BYTE_ORDER macro.
13315 <      cat >conftest.$ac_ext <<_ACEOF
14728 < /* confdefs.h.  */
14729 < _ACEOF
14730 < cat confdefs.h >>conftest.$ac_ext
14731 < cat >>conftest.$ac_ext <<_ACEOF
13315 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13316   /* end confdefs.h.  */
13317   #include <sys/types.h>
13318               #include <sys/param.h>
# Line 14746 | Line 13330 | main ()
13330    return 0;
13331   }
13332   _ACEOF
13333 < 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
13333 > if ac_fn_c_try_compile "$LINENO"; then :
13334    # It does; now see whether it defined to BIG_ENDIAN or not.
13335 <         cat >conftest.$ac_ext <<_ACEOF
14769 < /* confdefs.h.  */
14770 < _ACEOF
14771 < cat confdefs.h >>conftest.$ac_ext
14772 < cat >>conftest.$ac_ext <<_ACEOF
13335 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336   /* end confdefs.h.  */
13337   #include <sys/types.h>
13338                  #include <sys/param.h>
# Line 14785 | Line 13348 | main ()
13348    return 0;
13349   }
13350   _ACEOF
13351 < 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
13351 > if ac_fn_c_try_compile "$LINENO"; then :
13352    ac_cv_c_bigendian=yes
13353   else
13354 <  $as_echo "$as_me: failed program was:" >&5
14809 < sed 's/^/| /' conftest.$ac_ext >&5
14810 <
14811 <        ac_cv_c_bigendian=no
13354 >  ac_cv_c_bigendian=no
13355   fi
14813
13356   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
13357   fi
14821
13358   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13359      fi
13360      if test $ac_cv_c_bigendian = unknown; then
13361        # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13362 <      cat >conftest.$ac_ext <<_ACEOF
14827 < /* confdefs.h.  */
14828 < _ACEOF
14829 < cat confdefs.h >>conftest.$ac_ext
14830 < cat >>conftest.$ac_ext <<_ACEOF
13362 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13363   /* end confdefs.h.  */
13364   #include <limits.h>
13365  
# Line 14842 | Line 13374 | main ()
13374    return 0;
13375   }
13376   _ACEOF
13377 < 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
13377 > if ac_fn_c_try_compile "$LINENO"; then :
13378    # It does; now see whether it defined to _BIG_ENDIAN or not.
13379 <         cat >conftest.$ac_ext <<_ACEOF
14865 < /* confdefs.h.  */
14866 < _ACEOF
14867 < cat confdefs.h >>conftest.$ac_ext
14868 < cat >>conftest.$ac_ext <<_ACEOF
13379 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380   /* end confdefs.h.  */
13381   #include <limits.h>
13382  
# Line 14880 | Line 13391 | main ()
13391    return 0;
13392   }
13393   _ACEOF
13394 < 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
13394 > if ac_fn_c_try_compile "$LINENO"; then :
13395    ac_cv_c_bigendian=yes
13396   else
13397 <  $as_echo "$as_me: failed program was:" >&5
14904 < sed 's/^/| /' conftest.$ac_ext >&5
14905 <
14906 <        ac_cv_c_bigendian=no
13397 >  ac_cv_c_bigendian=no
13398   fi
14908
13399   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
13400   fi
14916
13401   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13402      fi
13403      if test $ac_cv_c_bigendian = unknown; then
13404        # Compile a test program.
13405 <      if test "$cross_compiling" = yes; then
13405 >      if test "$cross_compiling" = yes; then :
13406    # Try to guess by grepping values from an object file.
13407 <         cat >conftest.$ac_ext <<_ACEOF
14924 < /* confdefs.h.  */
14925 < _ACEOF
14926 < cat confdefs.h >>conftest.$ac_ext
14927 < cat >>conftest.$ac_ext <<_ACEOF
13407 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408   /* end confdefs.h.  */
13409   short int ascii_mm[] =
13410                    { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
# Line 14950 | Line 13430 | return use_ascii (foo) == use_ebcdic (fo
13430    return 0;
13431   }
13432   _ACEOF
13433 < 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
13433 > if ac_fn_c_try_compile "$LINENO"; then :
13434    if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13435                ac_cv_c_bigendian=yes
13436              fi
# Line 14979 | Line 13442 | $as_echo "$ac_try_echo") >&5
13442                  ac_cv_c_bigendian=unknown
13443                fi
13444              fi
14982 else
14983  $as_echo "$as_me: failed program was:" >&5
14984 sed 's/^/| /' conftest.$ac_ext >&5
14985
14986
13445   fi
14988
13446   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13447   else
13448 <  cat >conftest.$ac_ext <<_ACEOF
14992 < /* confdefs.h.  */
14993 < _ACEOF
14994 < cat confdefs.h >>conftest.$ac_ext
14995 < cat >>conftest.$ac_ext <<_ACEOF
13448 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449   /* end confdefs.h.  */
13450   $ac_includes_default
13451   int
# Line 15012 | Line 13465 | main ()
13465    return 0;
13466   }
13467   _ACEOF
13468 < 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
13468 > if ac_fn_c_try_run "$LINENO"; then :
13469    ac_cv_c_bigendian=no
13470   else
13471 <  $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
13471 >  ac_cv_c_bigendian=yes
13472   fi
13473 < rm -rf conftest.dSYM
13474 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13473 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13474 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13475   fi
13476  
15050
13477      fi
13478   fi
13479 < { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
13479 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13480   $as_echo "$ac_cv_c_bigendian" >&6; }
13481   case $ac_cv_c_bigendian in #(
13482     yes)
13483 <     cat >>confdefs.h <<\_ACEOF
15058 < #define WORDS_BIGENDIAN 1
15059 < _ACEOF
13483 >     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13484   ;; #(
13485     no)
13486        ;; #(
13487     universal)
13488  
13489 < cat >>confdefs.h <<\_ACEOF
15066 < #define AC_APPLE_UNIVERSAL_BUILD 1
15067 < _ACEOF
13489 > $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13490  
13491       ;; #(
13492     *)
13493 <     { { $as_echo "$as_me:$LINENO: error: unknown endianness
13494 < 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; }; } ;;
13493 >     as_fn_error $? "unknown endianness
13494 > presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13495   esac
13496  
13497  
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
13498   # Checks for library functions.
13499  
13500  
13501  
13502 <
13503 < for ac_func in $ac_func_list
13504 < do
13505 < as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13506 < { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16214 < $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
13502 >  for ac_func in $ac_func_list
13503 > do :
13504 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13505 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13506 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13507    cat >>confdefs.h <<_ACEOF
13508   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13509   _ACEOF
# Line 16319 | Line 13523 | done
13523  
13524  
13525  
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
13526   # Checks for header files.
13527  
13528  
13529  
13530 <
13531 < for ac_header in $ac_header_list
13532 < do
13533 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13534 < if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13535 <  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16365 < $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
13530 >  for ac_header in $ac_header_list
13531 > do :
13532 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13533 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13534 > "
13535 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13536    cat >>confdefs.h <<_ACEOF
13537   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13538   _ACEOF
# Line 16518 | Line 13557 | done
13557  
13558  
13559  
13560 <
16522 <
16523 <
16524 <
16525 <
16526 <
16527 <
16528 <
16529 <
16530 <
16531 <
16532 <
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
16567 < $as_echo_n "checking for /dev/null... " >&6; }
16568 < if test -c /dev/null ; then
16569 <
16570 < cat >>confdefs.h <<\_ACEOF
16571 < #define PATH_DEVNULL "/dev/null"
16572 < _ACEOF
16573 <
16574 <  { $as_echo "$as_me:$LINENO: result: yes" >&5
16575 < $as_echo "yes" >&6; }
16576 < else
16577 <
16578 < cat >>confdefs.h <<\_ACEOF
16579 < #define PATH_DEVNULL "devnull.log"
16580 < _ACEOF
16581 <
16582 <  { $as_echo "$as_me:$LINENO: result: no - using devnull.log" >&5
16583 < $as_echo "no - using devnull.log" >&6; }
16584 < fi
16585 <
16586 <
16587 < { $as_echo "$as_me:$LINENO: checking for library containing crypt" >&5
13560 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13561   $as_echo_n "checking for library containing crypt... " >&6; }
13562 < if test "${ac_cv_search_crypt+set}" = set; then
13562 > if ${ac_cv_search_crypt+:} false; then :
13563    $as_echo_n "(cached) " >&6
13564   else
13565    ac_func_search_save_LIBS=$LIBS
13566 < cat >conftest.$ac_ext <<_ACEOF
16594 < /* confdefs.h.  */
16595 < _ACEOF
16596 < cat confdefs.h >>conftest.$ac_ext
16597 < cat >>conftest.$ac_ext <<_ACEOF
13566 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567   /* end confdefs.h.  */
13568  
13569   /* Override any GCC internal prototype to avoid an error.
# Line 16612 | Line 13581 | return crypt ();
13581    return 0;
13582   }
13583   _ACEOF
13584 < for ac_lib in '' crypt descrypt; do
13584 > for ac_lib in '' crypt; do
13585    if test -z "$ac_lib"; then
13586      ac_res="none required"
13587    else
13588      ac_res=-l$ac_lib
13589      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13590    fi
13591 <  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
13591 >  if ac_fn_c_try_link "$LINENO"; then :
13592    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
13593   fi
13594 <
13595 < rm -rf conftest.dSYM
13596 < 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
13594 > rm -f core conftest.err conftest.$ac_objext \
13595 >    conftest$ac_exeext
13596 >  if ${ac_cv_search_crypt+:} false; then :
13597    break
13598   fi
13599   done
13600 < if test "${ac_cv_search_crypt+set}" = set; then
13601 <  :
13600 > if ${ac_cv_search_crypt+:} false; then :
13601 >
13602   else
13603    ac_cv_search_crypt=no
13604   fi
13605   rm conftest.$ac_ext
13606   LIBS=$ac_func_search_save_LIBS
13607   fi
13608 < { $as_echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
13608 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
13609   $as_echo "$ac_cv_search_crypt" >&6; }
13610   ac_res=$ac_cv_search_crypt
13611 < if test "$ac_res" != no; then
13611 > if test "$ac_res" != no; then :
13612    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13613  
13614   fi
13615  
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
16682
16683
16684
16685 # Check whether --with-zlib-path was given.
16686 if test "${with_zlib_path+set}" = set; then
16687  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
16688 fi
13616  
13617 <
13618 < # Check whether --enable-zlib was given.
13619 < if test "${enable_zlib+set}" = set; then
13620 <  enableval=$enable_zlib; zlib=$enableval
13621 < else
13622 <  zlib=yes
13623 < fi
13624 <
13625 <
16699 < if test "$zlib" = yes; then
16700 <  if test "${ac_cv_header_zlib_h+set}" = set; then
16701 <  { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
16702 < $as_echo_n "checking for zlib.h... " >&6; }
16703 < if test "${ac_cv_header_zlib_h+set}" = set; then
13617 > # Check whether --enable-libpcre was given.
13618 > if test "${enable_libpcre+set}" = set; then :
13619 >  enableval=$enable_libpcre;
13620 > else
13621 >  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13622 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13623 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13624 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13625 > if ${ac_cv_search_pcre_study+:} false; then :
13626    $as_echo_n "(cached) " >&6
16705 fi
16706 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
16707 $as_echo "$ac_cv_header_zlib_h" >&6; }
16708 else
16709  # Is the header compilable?
16710 { $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
16711 $as_echo_n "checking zlib.h usability... " >&6; }
16712 cat >conftest.$ac_ext <<_ACEOF
16713 /* confdefs.h.  */
16714 _ACEOF
16715 cat confdefs.h >>conftest.$ac_ext
16716 cat >>conftest.$ac_ext <<_ACEOF
16717 /* end confdefs.h.  */
16718 $ac_includes_default
16719 #include <zlib.h>
16720 _ACEOF
16721 rm -f conftest.$ac_objext
16722 if { (ac_try="$ac_compile"
16723 case "(($ac_try" in
16724  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16725  *) ac_try_echo=$ac_try;;
16726 esac
16727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16728 $as_echo "$ac_try_echo") >&5
16729  (eval "$ac_compile") 2>conftest.er1
16730  ac_status=$?
16731  grep -v '^ *+' conftest.er1 >conftest.err
16732  rm -f conftest.er1
16733  cat conftest.err >&5
16734  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735  (exit $ac_status); } && {
16736         test -z "$ac_c_werror_flag" ||
16737         test ! -s conftest.err
16738       } && test -s conftest.$ac_objext; then
16739  ac_header_compiler=yes
13627   else
13628 <  $as_echo "$as_me: failed program was:" >&5
13629 < sed 's/^/| /' conftest.$ac_ext >&5
16743 <
16744 <        ac_header_compiler=no
16745 < fi
16746 <
16747 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16748 < { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16749 < $as_echo "$ac_header_compiler" >&6; }
16750 <
16751 < # Is the header present?
16752 < { $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
16753 < $as_echo_n "checking zlib.h presence... " >&6; }
16754 < cat >conftest.$ac_ext <<_ACEOF
16755 < /* confdefs.h.  */
16756 < _ACEOF
16757 < cat confdefs.h >>conftest.$ac_ext
16758 < cat >>conftest.$ac_ext <<_ACEOF
16759 < /* end confdefs.h.  */
16760 < #include <zlib.h>
16761 < _ACEOF
16762 < if { (ac_try="$ac_cpp conftest.$ac_ext"
16763 < case "(($ac_try" in
16764 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 <  *) ac_try_echo=$ac_try;;
16766 < esac
16767 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16768 < $as_echo "$ac_try_echo") >&5
16769 <  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16770 <  ac_status=$?
16771 <  grep -v '^ *+' conftest.er1 >conftest.err
16772 <  rm -f conftest.er1
16773 <  cat conftest.err >&5
16774 <  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 <  (exit $ac_status); } >/dev/null && {
16776 <         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16777 <         test ! -s conftest.err
16778 <       }; then
16779 <  ac_header_preproc=yes
16780 < else
16781 <  $as_echo "$as_me: failed program was:" >&5
16782 < sed 's/^/| /' conftest.$ac_ext >&5
16783 <
16784 <  ac_header_preproc=no
16785 < fi
16786 <
16787 < rm -f conftest.err conftest.$ac_ext
16788 < { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16789 < $as_echo "$ac_header_preproc" >&6; }
16790 <
16791 < # So?  What about this header?
16792 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16793 <  yes:no: )
16794 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16795 < $as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16796 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
16797 < $as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
16798 <    ac_header_preproc=yes
16799 <    ;;
16800 <  no:yes:* )
16801 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
16802 < $as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
16803 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
16804 < $as_echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
16805 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
16806 < $as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
16807 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
16808 < $as_echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
16809 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
16810 < $as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
16811 <    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
16812 < $as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
16813 <
16814 <    ;;
16815 < esac
16816 < { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
16817 < $as_echo_n "checking for zlib.h... " >&6; }
16818 < if test "${ac_cv_header_zlib_h+set}" = set; then
16819 <  $as_echo_n "(cached) " >&6
16820 < else
16821 <  ac_cv_header_zlib_h=$ac_header_preproc
16822 < fi
16823 < { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
16824 < $as_echo "$ac_cv_header_zlib_h" >&6; }
16825 <
16826 < fi
16827 < if test "x$ac_cv_header_zlib_h" = x""yes; then
16828 <  { $as_echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5
16829 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
16830 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
16831 <  $as_echo_n "(cached) " >&6
16832 < else
16833 <  ac_check_lib_save_LIBS=$LIBS
16834 < LIBS="-lz  $LIBS"
16835 < cat >conftest.$ac_ext <<_ACEOF
16836 < /* confdefs.h.  */
16837 < _ACEOF
16838 < cat confdefs.h >>conftest.$ac_ext
16839 < cat >>conftest.$ac_ext <<_ACEOF
13628 >  ac_func_search_save_LIBS=$LIBS
13629 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630   /* end confdefs.h.  */
13631  
13632   /* Override any GCC internal prototype to avoid an error.
# Line 16845 | Line 13635 | cat >>conftest.$ac_ext <<_ACEOF
13635   #ifdef __cplusplus
13636   extern "C"
13637   #endif
13638 < char zlibVersion ();
13638 > char pcre_study ();
13639   int
13640   main ()
13641   {
13642 < return zlibVersion ();
13642 > return pcre_study ();
13643    ;
13644    return 0;
13645   }
13646   _ACEOF
13647 < rm -f conftest.$ac_objext conftest$ac_exeext
13648 < if { (ac_try="$ac_link"
13649 < case "(($ac_try" in
13650 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13651 <  *) ac_try_echo=$ac_try;;
13652 < esac
13653 < eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13654 < $as_echo "$ac_try_echo") >&5
13655 <  (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
16879 < else
16880 <  $as_echo "$as_me: failed program was:" >&5
16881 < sed 's/^/| /' conftest.$ac_ext >&5
16882 <
16883 <        ac_cv_lib_z_zlibVersion=no
13647 > for ac_lib in '' pcre; do
13648 >  if test -z "$ac_lib"; then
13649 >    ac_res="none required"
13650 >  else
13651 >    ac_res=-l$ac_lib
13652 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13653 >  fi
13654 >  if ac_fn_c_try_link "$LINENO"; then :
13655 >  ac_cv_search_pcre_study=$ac_res
13656   fi
13657 <
13658 < rm -rf conftest.dSYM
13659 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13660 <      conftest$ac_exeext conftest.$ac_ext
16889 < LIBS=$ac_check_lib_save_LIBS
13657 > rm -f core conftest.err conftest.$ac_objext \
13658 >    conftest$ac_exeext
13659 >  if ${ac_cv_search_pcre_study+:} false; then :
13660 >  break
13661   fi
13662 < { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
13663 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
16893 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then
16894 <
16895 <      LIBS="-lz $LIBS"
16896 <
16897 < cat >>confdefs.h <<\_ACEOF
16898 < #define HAVE_LIBZ 1
16899 < _ACEOF
16900 <
13662 > done
13663 > if ${ac_cv_search_pcre_study+:} false; then :
13664  
13665   else
13666 <  zlib=no
13666 >  ac_cv_search_pcre_study=no
13667 > fi
13668 > rm conftest.$ac_ext
13669 > LIBS=$ac_func_search_save_LIBS
13670   fi
13671 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13672 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13673 + ac_res=$ac_cv_search_pcre_study
13674 + if test "$ac_res" != no; then :
13675 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13676  
13677 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13678 +
13679 + fi
13680  
16907 else
16908  zlib=no
13681   fi
13682  
13683  
# Line 16913 | Line 13685 | fi
13685  
13686  
13687   # Check whether --enable-openssl was given.
13688 < if test "${enable_openssl+set}" = set; then
13688 > if test "${enable_openssl+set}" = set; then :
13689    enableval=$enable_openssl;  cf_enable_openssl=$enableval
13690   else
13691     cf_enable_openssl="auto"
13692   fi
13693  
13694 < { $as_echo "$as_me:$LINENO: checking for OpenSSL" >&5
13694 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
13695   $as_echo_n "checking for OpenSSL... " >&6; }
13696   if test "$cf_enable_openssl" != "no"; then
13697    cf_openssl_basedir=""
# Line 16951 | Line 13723 | if test "$cf_enable_openssl" != "no"; th
13723    fi
13724  
13725        if test ! -z "$cf_openssl_basedir"; then
13726 <    LIBS="-lcrypto -lssl $LIBS"
16955 <    { $as_echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5
13726 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13727   $as_echo "$cf_openssl_basedir" >&6; }
13728      cf_enable_openssl="yes"
16958
16959 cat >>confdefs.h <<\_ACEOF
16960 #define HAVE_LIBCRYPTO 1
16961 _ACEOF
16962
13729    else
13730 <    { $as_echo "$as_me:$LINENO: result: not found.  Please check your path." >&5
13731 < $as_echo "not found.  Please check your path." >&6; }
13730 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13731 > $as_echo "not found. Please check your path." >&6; }
13732      cf_enable_openssl="no"
13733    fi
13734    unset cf_openssl_basedir
13735   else
13736 <    { $as_echo "$as_me:$LINENO: result: disabled" >&5
13736 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13737   $as_echo "disabled" >&6; }
13738   fi
13739 < if test "$cf_enable_openssl" = yes; then
13739 >
13740 > if test "$cf_enable_openssl" != "no"; then :
13741 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13742 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13743 >  if test "$cross_compiling" = yes; then :
13744 >  cf_openssl_version_ok=no
13745 > else
13746 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13747 > /* end confdefs.h.  */
13748 >
13749 >
13750 >    #include <openssl/opensslv.h>
13751 >    #include <stdlib.h>
13752 > int
13753 > main ()
13754 > {
13755 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13756 >  ;
13757 >  return 0;
13758 > }
13759 > _ACEOF
13760 > if ac_fn_c_try_run "$LINENO"; then :
13761 >  cf_openssl_version_ok=yes
13762 > else
13763 >  cf_openssl_version_ok=no
13764 > fi
13765 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13766 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13767 > fi
13768 >
13769 >
13770 >  if test "$cf_openssl_version_ok" = "yes"; then :
13771 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13772 > $as_echo "found" >&6; }
13773 >
13774 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13775 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13776 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13777 >  $as_echo_n "(cached) " >&6
13778 > else
13779 >  ac_check_lib_save_LIBS=$LIBS
13780 > LIBS="-lcrypto  $LIBS"
13781 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 > /* end confdefs.h.  */
13783 >
13784 > /* Override any GCC internal prototype to avoid an error.
13785 >   Use char because int might match the return type of a GCC
13786 >   builtin and then its argument prototype would still apply.  */
13787 > #ifdef __cplusplus
13788 > extern "C"
13789 > #endif
13790 > char RSA_free ();
13791 > int
13792 > main ()
13793 > {
13794 > return RSA_free ();
13795 >  ;
13796 >  return 0;
13797 > }
13798 > _ACEOF
13799 > if ac_fn_c_try_link "$LINENO"; then :
13800 >  ac_cv_lib_crypto_RSA_free=yes
13801 > else
13802 >  ac_cv_lib_crypto_RSA_free=no
13803 > fi
13804 > rm -f core conftest.err conftest.$ac_objext \
13805 >    conftest$ac_exeext conftest.$ac_ext
13806 > LIBS=$ac_check_lib_save_LIBS
13807 > fi
13808 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13809 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13810 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13811 >  cat >>confdefs.h <<_ACEOF
13812 > #define HAVE_LIBCRYPTO 1
13813 > _ACEOF
13814 >
13815 >  LIBS="-lcrypto $LIBS"
13816 >
13817 > fi
13818 >
13819 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13820 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13821 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13822 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13823 >  $as_echo_n "(cached) " >&6
13824 > else
13825 >  ac_check_lib_save_LIBS=$LIBS
13826 > LIBS="-lssl  $LIBS"
13827 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13828 > /* end confdefs.h.  */
13829 >
13830 > /* Override any GCC internal prototype to avoid an error.
13831 >   Use char because int might match the return type of a GCC
13832 >   builtin and then its argument prototype would still apply.  */
13833 > #ifdef __cplusplus
13834 > extern "C"
13835 > #endif
13836 > char SSL_connect ();
13837 > int
13838 > main ()
13839 > {
13840 > return SSL_connect ();
13841 >  ;
13842 >  return 0;
13843 > }
13844 > _ACEOF
13845 > if ac_fn_c_try_link "$LINENO"; then :
13846 >  ac_cv_lib_ssl_SSL_connect=yes
13847 > else
13848 >  ac_cv_lib_ssl_SSL_connect=no
13849 > fi
13850 > rm -f core conftest.err conftest.$ac_objext \
13851 >    conftest$ac_exeext conftest.$ac_ext
13852 > LIBS=$ac_check_lib_save_LIBS
13853 > fi
13854 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13855 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13856 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13857 >  cat >>confdefs.h <<_ACEOF
13858 > #define HAVE_LIBSSL 1
13859 > _ACEOF
13860 >
13861 >  LIBS="-lssl $LIBS"
13862 >
13863 > fi
13864 >
13865 > fi
13866 >
13867 > else
13868 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13869 > $as_echo "no - OpenSSL support disabled" >&6; }
13870 >    cf_enable_openssl="no"
13871 > fi
13872 > fi
13873 >
13874 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13875    ENABLE_SSL_TRUE=
13876    ENABLE_SSL_FALSE='#'
13877   else
# Line 16981 | Line 13882 | fi
13882  
13883  
13884   # Check whether --enable-assert was given.
13885 < if test "${enable_assert+set}" = set; then
13885 > if test "${enable_assert+set}" = set; then :
13886    enableval=$enable_assert; assert=$enableval
13887   else
13888    assert=no
13889   fi
13890  
16990 if test "$assert" = no; then
13891  
13892 < cat >>confdefs.h <<\_ACEOF
13893 < #define NDEBUG 1
13894 < _ACEOF
13892 > if test "$assert" = "no"; then :
13893 >
13894 > $as_echo "#define NDEBUG 1" >>confdefs.h
13895  
13896   fi
13897  
13898  
13899   # Check whether --enable-small-net was given.
13900 < if test "${enable_small_net+set}" = set; then
13900 > if test "${enable_small_net+set}" = set; then :
13901    enableval=$enable_small_net; small_net=$enableval
13902   else
13903    small_net=no
13904   fi
13905  
13906  
13907 < if test "$small_net" = yes; then
13907 > if test "$small_net" = "yes"; then :
13908  
17009 cat >>confdefs.h <<\_ACEOF
17010 #define NICKNAMEHISTORYLENGTH 1500
17011 _ACEOF
13909  
13910 + $as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h
13911  
17014 cat >>confdefs.h <<\_ACEOF
17015 #define CHANNEL_HEAP_SIZE 256
17016 _ACEOF
13912  
13913 + $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13914  
17019 cat >>confdefs.h <<\_ACEOF
17020 #define BAN_HEAP_SIZE 128
17021 _ACEOF
13915  
13916 + $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13917  
17024 cat >>confdefs.h <<\_ACEOF
17025 #define CLIENT_HEAP_SIZE 256
17026 _ACEOF
13918  
13919 + $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13920  
17029 cat >>confdefs.h <<\_ACEOF
17030 #define LCLIENT_HEAP_SIZE 128
17031 _ACEOF
13921  
13922 + $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13923  
17034 cat >>confdefs.h <<\_ACEOF
17035 #define DNODE_HEAP_SIZE 256
17036 _ACEOF
13924  
13925 + $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13926  
17039 cat >>confdefs.h <<\_ACEOF
17040 #define TOPIC_HEAP_SIZE 256
17041 _ACEOF
13927  
13928 + $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13929  
13930 < cat >>confdefs.h <<\_ACEOF
13931 < #define DBUF_HEAP_SIZE 64
13932 < _ACEOF
13930 >
13931 > $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13932 >
13933 >
13934 > $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13935 >
13936 >
13937 > $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13938  
13939   else
13940  
17050 cat >>confdefs.h <<\_ACEOF
17051 #define NICKNAMEHISTORYLENGTH 15000
17052 _ACEOF
13941  
13942  
13943 < cat >>confdefs.h <<\_ACEOF
17056 < #define CHANNEL_HEAP_SIZE 1024
17057 < _ACEOF
13943 > $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13944  
13945  
13946 < cat >>confdefs.h <<\_ACEOF
17061 < #define BAN_HEAP_SIZE 1024
17062 < _ACEOF
13946 > $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13947  
13948  
13949 < cat >>confdefs.h <<\_ACEOF
17066 < #define CLIENT_HEAP_SIZE 1024
17067 < _ACEOF
13949 > $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13950  
13951  
13952 < cat >>confdefs.h <<\_ACEOF
17071 < #define LCLIENT_HEAP_SIZE 512
17072 < _ACEOF
13952 > $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13953  
13954  
13955 < cat >>confdefs.h <<\_ACEOF
17076 < #define DNODE_HEAP_SIZE 1024
17077 < _ACEOF
13955 > $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13956  
13957  
13958 < cat >>confdefs.h <<\_ACEOF
17081 < #define TOPIC_HEAP_SIZE 1024
17082 < _ACEOF
13958 > $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13959  
13960  
13961 < cat >>confdefs.h <<\_ACEOF
13962 < #define DBUF_HEAP_SIZE 512
13963 < _ACEOF
13961 > $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13962 >
13963 >
13964 > $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13965 >
13966 >
13967 > $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13968 >
13969 >
13970 > $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13971  
13972   fi
13973  
# Line 17093 | Line 13976 | fi
13976  
13977      desired_iopoll_mechanism="none"
13978      # Check whether --enable-kqueue was given.
13979 < if test "${enable_kqueue+set}" = set; then
13979 > if test "${enable_kqueue+set}" = set; then :
13980    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
13981   fi
13982  
13983    # Check whether --enable-epoll was given.
13984 < if test "${enable_epoll+set}" = set; then
13984 > if test "${enable_epoll+set}" = set; then :
13985    enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
13986   fi
13987  
13988    # Check whether --enable-devpoll was given.
13989 < if test "${enable_devpoll+set}" = set; then
13989 > if test "${enable_devpoll+set}" = set; then :
13990    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13991   fi
13992  
13993    # Check whether --enable-rtsigio was given.
13994 < if test "${enable_rtsigio+set}" = set; then
13994 > if test "${enable_rtsigio+set}" = set; then :
13995    enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13996   fi
13997  
13998    # Check whether --enable-poll was given.
13999 < if test "${enable_poll+set}" = set; then
13999 > if test "${enable_poll+set}" = set; then :
14000    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14001   fi
14002  
14003    # Check whether --enable-select was given.
14004 < if test "${enable_select+set}" = set; then
14004 > if test "${enable_select+set}" = set; then :
14005    enableval=$enable_select; desired_iopoll_mechanism="select"
14006   fi
14007  
14008 <      { $as_echo "$as_me:$LINENO: checking for optimal/desired iopoll mechanism" >&5
14008 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14009   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14010    iopoll_mechanism_none=0
14011  
# Line 17136 | Line 14019 | cat >>confdefs.h <<_ACEOF
14019   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
14020   _ACEOF
14021  
14022 <  cat >conftest.$ac_ext <<_ACEOF
17140 < /* confdefs.h.  */
17141 < _ACEOF
17142 < cat confdefs.h >>conftest.$ac_ext
17143 < cat >>conftest.$ac_ext <<_ACEOF
14022 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14023   /* end confdefs.h.  */
14024   /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
14025     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17181 | Line 14060 | return kevent ();
14060    return 0;
14061   }
14062   _ACEOF
14063 < 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
14063 > if ac_fn_c_try_link "$LINENO"; then :
14064    is_kqueue_mechanism_available="yes"
14065   else
14066 <  $as_echo "$as_me: failed program was:" >&5
17208 < sed 's/^/| /' conftest.$ac_ext >&5
17209 <
17210 <        is_kqueue_mechanism_available="no"
14066 >  is_kqueue_mechanism_available="no"
14067   fi
14068 <
14069 < rm -rf conftest.dSYM
17214 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17215 <      conftest$ac_exeext conftest.$ac_ext
14068 > rm -f core conftest.err conftest.$ac_objext \
14069 >    conftest$ac_exeext conftest.$ac_ext
14070        iopoll_mechanism_epoll=2
14071  
14072   cat >>confdefs.h <<_ACEOF
14073   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14074   _ACEOF
14075  
14076 <  if test "$cross_compiling" = yes; then
14077 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14076 >  if test "$cross_compiling" = yes; then :
14077 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14078   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14079 < { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14080 < 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; }; }; }
14079 > as_fn_error $? "cannot run test program while cross compiling
14080 > See \`config.log' for more details" "$LINENO" 5; }
14081   else
14082 <  cat >conftest.$ac_ext <<_ACEOF
14082 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 > /* end confdefs.h.  */
14084  
14085   #include <sys/epoll.h>
14086   #include <sys/syscall.h>
# Line 17258 | Line 14110 | else
14110   #endif
14111   _syscall1(int, epoll_create, int, size)
14112   #endif
17261 main() { return epoll_create(256) == -1 ? 1 : 0; }
14113  
14114 + int
14115 + main ()
14116 + {
14117 + return epoll_create(256) == -1 ? 1 : 0
14118 +  ;
14119 +  return 0;
14120 + }
14121   _ACEOF
14122 < 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
14122 > if ac_fn_c_try_run "$LINENO"; then :
14123    is_epoll_mechanism_available="yes"
14124   else
14125 <  $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"
14125 >  is_epoll_mechanism_available="no"
14126   fi
14127 < rm -rf conftest.dSYM
14128 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14127 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14128 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
14129   fi
14130  
17299
14131        iopoll_mechanism_devpoll=3
14132  
14133   cat >>confdefs.h <<_ACEOF
14134   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
14135   _ACEOF
14136  
14137 <  cat >conftest.$ac_ext <<_ACEOF
17307 < /* confdefs.h.  */
17308 < _ACEOF
17309 < cat confdefs.h >>conftest.$ac_ext
17310 < cat >>conftest.$ac_ext <<_ACEOF
14137 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138   /* end confdefs.h.  */
14139   #include <devpoll.h>
14140   int
# Line 17318 | Line 14145 | main ()
14145    return 0;
14146   }
14147   _ACEOF
14148 < 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
14148 > if ac_fn_c_try_compile "$LINENO"; then :
14149    is_devpoll_mechanism_available="yes"
14150   else
14151 <  $as_echo "$as_me: failed program was:" >&5
17342 < sed 's/^/| /' conftest.$ac_ext >&5
17343 <
17344 <        is_devpoll_mechanism_available="no"
14151 >  is_devpoll_mechanism_available="no"
14152   fi
17346
14153   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14154    if test "$is_devpoll_mechanism_available" = "yes" ; then
14155  
14156 < cat >>confdefs.h <<\_ACEOF
17351 < #define HAVE_DEVPOLL_H 1
17352 < _ACEOF
14156 > $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
14157  
14158    fi
14159 <  cat >conftest.$ac_ext <<_ACEOF
17356 < /* confdefs.h.  */
17357 < _ACEOF
17358 < cat confdefs.h >>conftest.$ac_ext
17359 < cat >>conftest.$ac_ext <<_ACEOF
14159 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14160   /* end confdefs.h.  */
14161   #include <sys/devpoll.h>
14162   int
# Line 17367 | Line 14167 | main ()
14167    return 0;
14168   }
14169   _ACEOF
14170 < 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
14170 > if ac_fn_c_try_compile "$LINENO"; then :
14171    is_devpoll_mechanism_available="yes"
14172   else
14173 <  $as_echo "$as_me: failed program was:" >&5
17391 < sed 's/^/| /' conftest.$ac_ext >&5
17392 <
17393 <        is_devpoll_mechanism_available="no"
14173 >  is_devpoll_mechanism_available="no"
14174   fi
17395
14175   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14176    if test "$is_devpoll_mechanism_available" = "yes" ; then
14177  
14178 < cat >>confdefs.h <<\_ACEOF
17400 < #define HAVE_SYS_DEVPOLL_H 1
17401 < _ACEOF
14178 > $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14179  
14180    fi
14181        iopoll_mechanism_rtsigio=4
# Line 17407 | Line 14184 | cat >>confdefs.h <<_ACEOF
14184   #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14185   _ACEOF
14186  
14187 <  if test "$cross_compiling" = yes; then
14188 <  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14187 >  if test "$cross_compiling" = yes; then :
14188 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14189   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14190 < { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14191 < 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; }; }; }
14190 > as_fn_error $? "cannot run test program while cross compiling
14191 > See \`config.log' for more details" "$LINENO" 5; }
14192   else
14193 <  cat >conftest.$ac_ext <<_ACEOF
17420 < /* confdefs.h.  */
17421 < _ACEOF
17422 < cat confdefs.h >>conftest.$ac_ext
17423 < cat >>conftest.$ac_ext <<_ACEOF
14193 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194   /* end confdefs.h.  */
14195  
14196 + #define _GNU_SOURCE
14197   #include <fcntl.h>
14198 < #ifdef F_SETSIG
17428 < main () { return 0; } /* F_SETSIG defined */
17429 < #else
17430 < main () { return 1; } /* F_SETSIG not defined */
17431 < #endif
14198 > static unsigned int have_f_setsig = 0;
14199  
14200   int
14201   main ()
14202   {
14203  
14204 + #ifdef F_SETSIG
14205 +  have_f_setsig = 1;
14206 + #endif
14207 +  return have_f_setsig == 0;
14208 +
14209    ;
14210    return 0;
14211   }
14212   _ACEOF
14213 < 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
14213 > if ac_fn_c_try_run "$LINENO"; then :
14214    is_rtsigio_mechanism_available="yes"
14215   else
14216 <  $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"
14216 >  is_rtsigio_mechanism_available="no"
14217   fi
14218 < rm -rf conftest.dSYM
14219 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14218 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14219 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
14220   fi
14221  
17476
14222        iopoll_mechanism_poll=5
14223  
14224   cat >>confdefs.h <<_ACEOF
14225   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
14226   _ACEOF
14227  
14228 <  cat >conftest.$ac_ext <<_ACEOF
17484 < /* confdefs.h.  */
17485 < _ACEOF
17486 < cat confdefs.h >>conftest.$ac_ext
17487 < cat >>conftest.$ac_ext <<_ACEOF
14228 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229   /* end confdefs.h.  */
14230   /* Define poll to an innocuous variant, in case <limits.h> declares poll.
14231     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17525 | Line 14266 | return poll ();
14266    return 0;
14267   }
14268   _ACEOF
14269 < 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
14269 > if ac_fn_c_try_link "$LINENO"; then :
14270    is_poll_mechanism_available="yes"
14271   else
14272 <  $as_echo "$as_me: failed program was:" >&5
17552 < sed 's/^/| /' conftest.$ac_ext >&5
17553 <
17554 <        is_poll_mechanism_available="no"
14272 >  is_poll_mechanism_available="no"
14273   fi
14274 <
14275 < rm -rf conftest.dSYM
17558 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17559 <      conftest$ac_exeext conftest.$ac_ext
14274 > rm -f core conftest.err conftest.$ac_objext \
14275 >    conftest$ac_exeext conftest.$ac_ext
14276        iopoll_mechanism_select=6
14277  
14278   cat >>confdefs.h <<_ACEOF
14279   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14280   _ACEOF
14281  
14282 <  cat >conftest.$ac_ext <<_ACEOF
17567 < /* confdefs.h.  */
17568 < _ACEOF
17569 < cat confdefs.h >>conftest.$ac_ext
17570 < cat >>conftest.$ac_ext <<_ACEOF
14282 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283   /* end confdefs.h.  */
14284   /* Define select to an innocuous variant, in case <limits.h> declares select.
14285     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
# Line 17608 | Line 14320 | return select ();
14320    return 0;
14321   }
14322   _ACEOF
14323 < 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
14323 > if ac_fn_c_try_link "$LINENO"; then :
14324    is_select_mechanism_available="yes"
14325   else
14326 <  $as_echo "$as_me: failed program was:" >&5
17635 < sed 's/^/| /' conftest.$ac_ext >&5
17636 <
17637 <        is_select_mechanism_available="no"
14326 >  is_select_mechanism_available="no"
14327   fi
14328 <
14329 < rm -rf conftest.dSYM
17641 < rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17642 <      conftest$ac_exeext conftest.$ac_ext
14328 > rm -f core conftest.err conftest.$ac_objext \
14329 >    conftest$ac_exeext conftest.$ac_ext
14330        optimal_iopoll_mechanism="none"
14331    for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14332      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
# Line 17650 | Line 14337 | rm -f core conftest.err conftest.$ac_obj
14337    done
14338        if test "$desired_iopoll_mechanism" = "none" ; then
14339      if test "$optimal_iopoll_mechanism" = "none" ; then
14340 <      { $as_echo "$as_me:$LINENO: result: none" >&5
14340 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14341   $as_echo "none" >&6; }
14342 <      { { $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; }; }
14342 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14343      else
14344        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14345 <      { $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5
14345 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14346   $as_echo "$selected_iopoll_mechanism" >&6; }
14347      fi
14348    else
14349      eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
14350      if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
14351        selected_iopoll_mechanism=$desired_iopoll_mechanism
14352 <      { $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5
14352 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14353   $as_echo "$selected_iopoll_mechanism" >&6; }
14354      else
14355 <      { $as_echo "$as_me:$LINENO: result: none" >&5
14355 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14356   $as_echo "none" >&6; }
14357 <      { { $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; }; }
14357 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14358      fi
14359    fi
14360        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 17684 | Line 14367 | _ACEOF
14367  
14368  
14369   # Check whether --with-nicklen was given.
14370 < if test "${with_nicklen+set}" = set; then
14370 > if test "${with_nicklen+set}" = set; then :
14371    withval=$with_nicklen; nicklen="$withval"
14372   else
14373    nicklen="9"
# Line 17692 | Line 14375 | fi
14375  
14376  
14377   cat >>confdefs.h <<_ACEOF
14378 < #define NICKLEN ($nicklen+1)
14378 > #define NICKLEN ($nicklen)
14379   _ACEOF
14380  
14381  
14382  
14383  
14384   # Check whether --with-topiclen was given.
14385 < if test "${with_topiclen+set}" = set; then
14385 > if test "${with_topiclen+set}" = set; then :
14386    withval=$with_topiclen; topiclen="$withval"
14387   else
14388    topiclen="160"
# Line 17707 | Line 14390 | fi
14390  
14391  
14392   cat >>confdefs.h <<_ACEOF
14393 < #define TOPICLEN ($topiclen+1)
17711 < _ACEOF
17712 <
17713 <
17714 <
17715 <
17716 < # Check whether --with-syslog-facility was given.
17717 < if test "${with_syslog_facility+set}" = set; then
17718 <  withval=$with_syslog_facility; syslog_facility="$withval"
17719 < else
17720 <  syslog_facility="LOG_LOCAL4"
17721 < fi
17722 <
17723 <
17724 < cat >>confdefs.h <<_ACEOF
17725 < #define LOG_FACILITY $syslog_facility
17726 < _ACEOF
17727 <
17728 <
17729 <
17730 <  # Check whether --enable-efnet was given.
17731 < if test "${enable_efnet+set}" = set; then
17732 <  enableval=$enable_efnet; efnet="$enableval"
17733 < else
17734 <  efnet="no"
17735 < fi
17736 <
17737 <  if test "$efnet" = "yes" ; then
17738 <                use_efnet="yes"
17739 <
17740 < cat >>confdefs.h <<\_ACEOF
17741 < #define EFNET 1
14393 > #define TOPICLEN ($topiclen)
14394   _ACEOF
14395  
14396  
17745 cat >>confdefs.h <<\_ACEOF
17746 #define TS5_ONLY 1
17747 _ACEOF
17748
17749        else
17750
17751 cat >>confdefs.h <<\_ACEOF
17752 #define INVARIANTS 1
17753 _ACEOF
17754
17755                use_efnet="no"
17756  fi
17757   if test "$use_efnet" = "yes"; then
17758  EFNET_TRUE=
17759  EFNET_FALSE='#'
17760 else
17761  EFNET_TRUE='#'
17762  EFNET_FALSE=
17763 fi
17764
17765
14397  
14398    # Check whether --enable-halfops was given.
14399 < if test "${enable_halfops+set}" = set; then
14399 > if test "${enable_halfops+set}" = set; then :
14400    enableval=$enable_halfops; halfops="$enableval"
14401   else
14402    halfops="no"
# Line 17773 | Line 14404 | fi
14404  
14405    if test "$halfops" = "yes" ; then
14406  
14407 < cat >>confdefs.h <<\_ACEOF
17777 < #define HALFOPS 1
17778 < _ACEOF
14407 > $as_echo "#define HALFOPS 1" >>confdefs.h
14408  
14409    fi
14410  
14411  
14412    # Check whether --enable-debugging was given.
14413 < if test "${enable_debugging+set}" = set; then
14413 > if test "${enable_debugging+set}" = set; then :
14414    enableval=$enable_debugging; debugging="$enableval"
14415   else
14416    debugging="no"
# Line 17789 | Line 14418 | fi
14418  
14419    if test "$debugging" = "yes" ; then
14420  
14421 < cat >>confdefs.h <<\_ACEOF
17793 < #define DEBUG 1
17794 < _ACEOF
14421 > $as_echo "#define DEBUG 1" >>confdefs.h
14422  
14423 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
14423 >    CFLAGS="-Wall -g -O0"
14424    else
14425  
14426 < cat >>confdefs.h <<\_ACEOF
17800 < #define NDEBUG 1
17801 < _ACEOF
14426 > $as_echo "#define NDEBUG 1" >>confdefs.h
14427  
14428    fi
14429  
14430  
14431    # Check whether --enable-warnings was given.
14432 < if test "${enable_warnings+set}" = set; then
14432 > if test "${enable_warnings+set}" = set; then :
14433    enableval=$enable_warnings; warnings="$enableval"
14434   else
14435    warnings="no"
14436   fi
14437  
14438    if test "$warnings" = "yes" ; then
14439 <    CFLAGS="-Wall -Wextra -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
17815 <  fi
17816 <
17817 <
17818 <
17819 <
17820 < for ac_header in syslog.h sys/syslog.h
17821 < do
17822 < as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17823 < 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
17957 <  cat >>confdefs.h <<_ACEOF
17958 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17959 < _ACEOF
17960 <
17961 < fi
17962 <
17963 < done
17964 <
17965 <  # Check whether --enable-syslog was given.
17966 < if test "${enable_syslog+set}" = set; then
17967 <  enableval=$enable_syslog; syslog="$enableval"
17968 < else
17969 <  syslog="no"
17970 < fi
17971 <
17972 <  if test "$enableval" != "no" ; then
17973 <    for option in $enableval ; do
17974 <      case "$option" in
17975 <        users)
17976 < cat >>confdefs.h <<\_ACEOF
17977 < #define SYSLOG_USERS 1
17978 < _ACEOF
17979 < ;;
17980 <        oper)
17981 < cat >>confdefs.h <<\_ACEOF
17982 < #define SYSLOG_OPER 1
17983 < _ACEOF
17984 < ;;
17985 <        yes) : ;;
17986 <        *) { { $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; }; } ;;
17989 <      esac
17990 <    done
17991 <
17992 < cat >>confdefs.h <<\_ACEOF
17993 < #define USE_SYSLOG 1
17994 < _ACEOF
17995 <
14439 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14440    fi
14441  
14442  
# Line 18082 | Line 14526 | _ACEOF
14526    test "$exec_prefix_NONE" && exec_prefix=NONE
14527  
14528  
14529 < 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"
14529 > ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14530  
14531  
14532   cat >confcache <<\_ACEOF
# Line 18112 | Line 14556 | _ACEOF
14556      case $ac_val in #(
14557      *${as_nl}*)
14558        case $ac_var in #(
14559 <      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
14559 >      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14560   $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14561        esac
14562        case $ac_var in #(
14563        _ | IFS | as_nl) ;; #(
14564        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14565 <      *) $as_unset $ac_var ;;
14565 >      *) { eval $ac_var=; unset $ac_var;} ;;
14566        esac ;;
14567      esac
14568    done
# Line 18126 | Line 14570 | $as_echo "$as_me: WARNING: cache variabl
14570    (set) 2>&1 |
14571      case $as_nl`(ac_space=' '; set) 2>&1` in #(
14572      *${as_nl}ac_space=\ *)
14573 <      # `set' does not quote correctly, so add quotes (double-quote
14574 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
14573 >      # `set' does not quote correctly, so add quotes: double-quote
14574 >      # substitution turns \\\\ into \\, and sed turns \\ into \.
14575        sed -n \
14576          "s/'/'\\\\''/g;
14577            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
# Line 18149 | Line 14593 | $as_echo "$as_me: WARNING: cache variabl
14593       :end' >>confcache
14594   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14595    if test -w "$cache_file"; then
14596 <    test "x$cache_file" != "x/dev/null" &&
14597 <      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
14596 >    if test "x$cache_file" != "x/dev/null"; then
14597 >      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14598   $as_echo "$as_me: updating cache $cache_file" >&6;}
14599 <    cat confcache >$cache_file
14599 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14600 >        cat confcache >"$cache_file"
14601 >      else
14602 >        case $cache_file in #(
14603 >        */* | ?:*)
14604 >          mv -f confcache "$cache_file"$$ &&
14605 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14606 >        *)
14607 >          mv -f confcache "$cache_file" ;;
14608 >        esac
14609 >      fi
14610 >    fi
14611    else
14612 <    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14612 >    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14613   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14614    fi
14615   fi
# Line 18168 | Line 14623 | DEFS=-DHAVE_CONFIG_H
14623  
14624   ac_libobjs=
14625   ac_ltlibobjs=
14626 + U=
14627   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14628    # 1. Remove the extension, and $U if already installed.
14629    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14630    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14631    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14632    #    will be set to the directory where LIBOBJS objects are built.
14633 <  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14634 <  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14633 >  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14634 >  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14635   done
14636   LIBOBJS=$ac_libobjs
14637  
14638   LTLIBOBJS=$ac_ltlibobjs
14639  
14640  
14641 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14642 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14643 +   if test -n "$am_sleep_pid"; then
14644 +     # Hide warnings about reused PIDs.
14645 +     wait $am_sleep_pid 2>/dev/null
14646 +   fi
14647 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14648 + $as_echo "done" >&6; }
14649   if test -n "$EXEEXT"; then
14650    am__EXEEXT_TRUE=
14651    am__EXEEXT_FALSE='#'
# Line 18191 | Line 14655 | else
14655   fi
14656  
14657   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14658 <  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14659 < 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; }; }
14658 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14659 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
14660   fi
14661   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14662 <  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14663 < 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; }; }
14662 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14663 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
14664   fi
14665   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14666 <  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14667 < 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; }; }
14666 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14667 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
14668   fi
14669   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14670 <  { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
14671 < 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; }; }
14670 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14671 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
14672   fi
14673   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14674 <  { { $as_echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
14675 < 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; }; }
14674 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14675 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
14676   fi
14677   LT_CONFIG_H=config.h
14678  
# Line 18243 | Line 14692 | LT_CONFIG_H=config.h
14692  
14693  
14694  
18246 if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then
18247  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CRYPT\" was never defined.
18248 Usually this means the macro was only invoked conditionally." >&5
18249 $as_echo "$as_me: error: conditional \"HAVE_CRYPT\" was never defined.
18250 Usually this means the macro was only invoked conditionally." >&2;}
18251   { (exit 1); exit 1; }; }
18252 fi
14695   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14696 <  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SSL\" was never defined.
14697 < 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; }; }
18259 < fi
18260 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
18261 <  { { $as_echo "$as_me:$LINENO: error: conditional \"EFNET\" was never defined.
18262 < 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; }; }
14696 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14697 > Usually this means the macro was only invoked conditionally." "$LINENO" 5
14698   fi
14699  
14700 < : ${CONFIG_STATUS=./config.status}
14700 > : "${CONFIG_STATUS=./config.status}"
14701   ac_write_fail=0
14702   ac_clean_files_save=$ac_clean_files
14703   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14704 < { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14704 > { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14705   $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14706 < cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14706 > as_write_fail=0
14707 > cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14708   #! $SHELL
14709   # Generated by $as_me.
14710   # Run this file to recreate the current configuration.
# Line 18281 | Line 14714 | cat >$CONFIG_STATUS <<_ACEOF || ac_write
14714   debug=false
14715   ac_cs_recheck=false
14716   ac_cs_silent=false
18284 SHELL=\${CONFIG_SHELL-$SHELL}
18285 _ACEOF
14717  
14718 < cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14719 < ## --------------------- ##
14720 < ## M4sh Initialization.  ##
14721 < ## --------------------- ##
14718 > SHELL=\${CONFIG_SHELL-$SHELL}
14719 > export SHELL
14720 > _ASEOF
14721 > cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14722 > ## -------------------- ##
14723 > ## M4sh Initialization. ##
14724 > ## -------------------- ##
14725  
14726   # Be more Bourne compatible
14727   DUALCASE=1; export DUALCASE # for MKS sh
14728 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14728 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14729    emulate sh
14730    NULLCMD=:
14731    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# Line 18299 | Line 14733 | if test -n "${ZSH_VERSION+set}" && (emul
14733    alias -g '${1+"$@"}'='"$@"'
14734    setopt NO_GLOB_SUBST
14735   else
14736 <  case `(set -o) 2>/dev/null` in
14737 <  *posix*) set -o posix ;;
14736 >  case `(set -o) 2>/dev/null` in #(
14737 >  *posix*) :
14738 >    set -o posix ;; #(
14739 >  *) :
14740 >     ;;
14741   esac
18305
14742   fi
14743  
14744  
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
14745   as_nl='
14746   '
14747   export as_nl
# Line 18323 | Line 14749 | export as_nl
14749   as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14750   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14751   as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14752 < if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14752 > # Prefer a ksh shell builtin over an external printf program on Solaris,
14753 > # but without wasting forks for bash or zsh.
14754 > if test -z "$BASH_VERSION$ZSH_VERSION" \
14755 >    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14756 >  as_echo='print -r --'
14757 >  as_echo_n='print -rn --'
14758 > elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14759    as_echo='printf %s\n'
14760    as_echo_n='printf %s'
14761   else
# Line 18334 | Line 14766 | else
14766      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14767      as_echo_n_body='eval
14768        arg=$1;
14769 <      case $arg in
14769 >      case $arg in #(
14770        *"$as_nl"*)
14771          expr "X$arg" : "X\\(.*\\)$as_nl";
14772          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 18357 | Line 14789 | if test "${PATH_SEPARATOR+set}" != set;
14789    }
14790   fi
14791  
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
14792  
14793   # IFS
14794   # We need space, tab and new line, in precisely that order.  Quoting is
# Line 18373 | Line 14798 | fi
14798   IFS=" ""        $as_nl"
14799  
14800   # Find who we are.  Look in the path if we contain no directory separator.
14801 < case $0 in
14801 > as_myself=
14802 > case $0 in #((
14803    *[\\/]* ) as_myself=$0 ;;
14804    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14805   for as_dir in $PATH
14806   do
14807    IFS=$as_save_IFS
14808    test -z "$as_dir" && as_dir=.
14809 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14810 < done
14809 >    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14810 >  done
14811   IFS=$as_save_IFS
14812  
14813       ;;
# Line 18393 | Line 14819 | if test "x$as_myself" = x; then
14819   fi
14820   if test ! -f "$as_myself"; then
14821    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14822 <  { (exit 1); exit 1; }
14822 >  exit 1
14823   fi
14824  
14825 < # Work around bugs in pre-3.0 UWIN ksh.
14826 < for as_var in ENV MAIL MAILPATH
14827 < do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14825 > # Unset variables that we do not need and which cause bugs (e.g. in
14826 > # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14827 > # suppresses any "Segmentation fault" message there.  '((' could
14828 > # trigger a bug in pdksh 5.2.14.
14829 > for as_var in BASH_ENV ENV MAIL MAILPATH
14830 > do eval test x\${$as_var+set} = xset \
14831 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14832   done
14833   PS1='$ '
14834   PS2='> '
# Line 18410 | Line 14840 | export LC_ALL
14840   LANGUAGE=C
14841   export LANGUAGE
14842  
14843 < # Required to use basename.
14843 > # CDPATH.
14844 > (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14845 >
14846 >
14847 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14848 > # ----------------------------------------
14849 > # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14850 > # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14851 > # script with STATUS, using 1 if that was 0.
14852 > as_fn_error ()
14853 > {
14854 >  as_status=$1; test $as_status -eq 0 && as_status=1
14855 >  if test "$4"; then
14856 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14857 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14858 >  fi
14859 >  $as_echo "$as_me: error: $2" >&2
14860 >  as_fn_exit $as_status
14861 > } # as_fn_error
14862 >
14863 >
14864 > # as_fn_set_status STATUS
14865 > # -----------------------
14866 > # Set $? to STATUS, without forking.
14867 > as_fn_set_status ()
14868 > {
14869 >  return $1
14870 > } # as_fn_set_status
14871 >
14872 > # as_fn_exit STATUS
14873 > # -----------------
14874 > # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14875 > as_fn_exit ()
14876 > {
14877 >  set +e
14878 >  as_fn_set_status $1
14879 >  exit $1
14880 > } # as_fn_exit
14881 >
14882 > # as_fn_unset VAR
14883 > # ---------------
14884 > # Portably unset VAR.
14885 > as_fn_unset ()
14886 > {
14887 >  { eval $1=; unset $1;}
14888 > }
14889 > as_unset=as_fn_unset
14890 > # as_fn_append VAR VALUE
14891 > # ----------------------
14892 > # Append the text in VALUE to the end of the definition contained in VAR. Take
14893 > # advantage of any shell optimizations that allow amortized linear growth over
14894 > # repeated appends, instead of the typical quadratic growth present in naive
14895 > # implementations.
14896 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14897 >  eval 'as_fn_append ()
14898 >  {
14899 >    eval $1+=\$2
14900 >  }'
14901 > else
14902 >  as_fn_append ()
14903 >  {
14904 >    eval $1=\$$1\$2
14905 >  }
14906 > fi # as_fn_append
14907 >
14908 > # as_fn_arith ARG...
14909 > # ------------------
14910 > # Perform arithmetic evaluation on the ARGs, and store the result in the
14911 > # global $as_val. Take advantage of shells that can avoid forks. The arguments
14912 > # must be portable across $(()) and expr.
14913 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14914 >  eval 'as_fn_arith ()
14915 >  {
14916 >    as_val=$(( $* ))
14917 >  }'
14918 > else
14919 >  as_fn_arith ()
14920 >  {
14921 >    as_val=`expr "$@" || test $? -eq 1`
14922 >  }
14923 > fi # as_fn_arith
14924 >
14925 >
14926   if expr a : '\(a\)' >/dev/null 2>&1 &&
14927     test "X`expr 00001 : '.*\(...\)'`" = X001; then
14928    as_expr=expr
# Line 18424 | Line 14936 | else
14936    as_basename=false
14937   fi
14938  
14939 + if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14940 +  as_dirname=dirname
14941 + else
14942 +  as_dirname=false
14943 + fi
14944  
18428 # Name of the executable.
14945   as_me=`$as_basename -- "$0" ||
14946   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14947           X"$0" : 'X\(//\)$' \| \
# Line 18445 | Line 14961 | $as_echo X/"$0" |
14961            }
14962            s/.*/./; q'`
14963  
14964 < # CDPATH.
14965 < $as_unset CDPATH
14966 <
14967 <
14968 <
14969 <  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
14964 > # Avoid depending upon Character Ranges.
14965 > as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14966 > as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14967 > as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14968 > as_cr_digits='0123456789'
14969 > as_cr_alnum=$as_cr_Letters$as_cr_digits
14970  
14971   ECHO_C= ECHO_N= ECHO_T=
14972 < case `echo -n x` in
14972 > case `echo -n x` in #(((((
14973   -n*)
14974 <  case `echo 'x\c'` in
14974 >  case `echo 'xy\c'` in
14975    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14976 <  *)   ECHO_C='\c';;
14976 >  xy)  ECHO_C='\c';;
14977 >  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14978 >       ECHO_T=' ';;
14979    esac;;
14980   *)
14981    ECHO_N='-n';;
14982   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
14983  
14984   rm -f conf$$ conf$$.exe conf$$.file
14985   if test -d conf$$.dir; then
# Line 18529 | Line 14994 | if (echo >conf$$.file) 2>/dev/null; then
14994      # ... but there are two gotchas:
14995      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14996      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14997 <    # In both cases, we have to default to `cp -p'.
14997 >    # In both cases, we have to default to `cp -pR'.
14998      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14999 <      as_ln_s='cp -p'
14999 >      as_ln_s='cp -pR'
15000    elif ln conf$$.file conf$$ 2>/dev/null; then
15001      as_ln_s=ln
15002    else
15003 <    as_ln_s='cp -p'
15003 >    as_ln_s='cp -pR'
15004    fi
15005   else
15006 <  as_ln_s='cp -p'
15006 >  as_ln_s='cp -pR'
15007   fi
15008   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15009   rmdir conf$$.dir 2>/dev/null
15010  
15011 +
15012 + # as_fn_mkdir_p
15013 + # -------------
15014 + # Create "$as_dir" as a directory, including parents if necessary.
15015 + as_fn_mkdir_p ()
15016 + {
15017 +
15018 +  case $as_dir in #(
15019 +  -*) as_dir=./$as_dir;;
15020 +  esac
15021 +  test -d "$as_dir" || eval $as_mkdir_p || {
15022 +    as_dirs=
15023 +    while :; do
15024 +      case $as_dir in #(
15025 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15026 +      *) as_qdir=$as_dir;;
15027 +      esac
15028 +      as_dirs="'$as_qdir' $as_dirs"
15029 +      as_dir=`$as_dirname -- "$as_dir" ||
15030 + $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15031 +         X"$as_dir" : 'X\(//\)[^/]' \| \
15032 +         X"$as_dir" : 'X\(//\)$' \| \
15033 +         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15034 + $as_echo X"$as_dir" |
15035 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15036 +            s//\1/
15037 +            q
15038 +          }
15039 +          /^X\(\/\/\)[^/].*/{
15040 +            s//\1/
15041 +            q
15042 +          }
15043 +          /^X\(\/\/\)$/{
15044 +            s//\1/
15045 +            q
15046 +          }
15047 +          /^X\(\/\).*/{
15048 +            s//\1/
15049 +            q
15050 +          }
15051 +          s/.*/./; q'`
15052 +      test -d "$as_dir" && break
15053 +    done
15054 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
15055 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15056 +
15057 +
15058 + } # as_fn_mkdir_p
15059   if mkdir -p . 2>/dev/null; then
15060 <  as_mkdir_p=:
15060 >  as_mkdir_p='mkdir -p "$as_dir"'
15061   else
15062    test -d ./-p && rmdir ./-p
15063    as_mkdir_p=false
15064   fi
15065  
15066 < if test -x / >/dev/null 2>&1; then
15067 <  as_test_x='test -x'
15068 < else
15069 <  if ls -dL / >/dev/null 2>&1; then
15070 <    as_ls_L_option=L
15071 <  else
15072 <    as_ls_L_option=
15073 <  fi
15074 <  as_test_x='
15075 <    eval sh -c '\''
18563 <      if test -d "$1"; then
18564 <        test -d "$1/.";
18565 <      else
18566 <        case $1 in
18567 <        -*)set "./$1";;
18568 <        esac;
18569 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
18570 <        ???[sx]*):;;*)false;;esac;fi
18571 <    '\'' sh
18572 <  '
18573 < fi
18574 < as_executable_p=$as_test_x
15066 >
15067 > # as_fn_executable_p FILE
15068 > # -----------------------
15069 > # Test if FILE is an executable regular file.
15070 > as_fn_executable_p ()
15071 > {
15072 >  test -f "$1" && test -x "$1"
15073 > } # as_fn_executable_p
15074 > as_test_x='test -x'
15075 > as_executable_p=as_fn_executable_p
15076  
15077   # Sed expression to map a string onto a valid CPP name.
15078   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 18581 | Line 15082 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
15082  
15083  
15084   exec 6>&1
15085 + ## ----------------------------------- ##
15086 + ## Main body of $CONFIG_STATUS script. ##
15087 + ## ----------------------------------- ##
15088 + _ASEOF
15089 + test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15090  
15091 < # Save the log message, to keep $[0] and so on meaningful, and to
15091 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15092 > # Save the log message, to keep $0 and so on meaningful, and to
15093   # report actual input values of CONFIG_FILES etc. instead of their
15094   # values after options handling.
15095   ac_log="
15096 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
15097 < generated by GNU Autoconf 2.63.  Invocation command line was
15096 > This file was extended by ircd-hybrid $as_me 8beta2, which was
15097 > generated by GNU Autoconf 2.69.  Invocation command line was
15098  
15099    CONFIG_FILES    = $CONFIG_FILES
15100    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 18611 | Line 15118 | esac
15118  
15119   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15120   # Files that config.status was made for.
15121 < config_files="`echo $ac_config_files`"
15122 < config_headers="`echo $ac_config_headers`"
15123 < config_commands="`echo $ac_config_commands`"
15121 > config_files="$ac_config_files"
15122 > config_headers="$ac_config_headers"
15123 > config_commands="$ac_config_commands"
15124  
15125   _ACEOF
15126  
15127   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15128   ac_cs_usage="\
15129 < \`$as_me' instantiates files from templates according to the
15130 < current configuration.
15129 > \`$as_me' instantiates files and other configuration actions
15130 > from templates according to the current configuration.  Unless the files
15131 > and actions are specified as TAGs, all are instantiated by default.
15132  
15133 < Usage: $0 [OPTION]... [FILE]...
15133 > Usage: $0 [OPTION]... [TAG]...
15134  
15135    -h, --help       print this help, then exit
15136    -V, --version    print version number and configuration settings, then exit
15137 +      --config     print configuration, then exit
15138    -q, --quiet, --silent
15139                     do not print progress messages
15140    -d, --debug      don't remove temporary files
# Line 18644 | Line 15153 | $config_headers
15153   Configuration commands:
15154   $config_commands
15155  
15156 < Report bugs to <bug-autoconf@gnu.org>."
15156 > Report bugs to <bugs@ircd-hybrid.org>."
15157  
15158   _ACEOF
15159   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15160 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15161   ac_cs_version="\\
15162 < ircd-hybrid config.status 7.2.4
15163 < configured by $0, generated by GNU Autoconf 2.63,
15164 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15162 > ircd-hybrid config.status 8beta2
15163 > configured by $0, generated by GNU Autoconf 2.69,
15164 >  with options \\"\$ac_cs_config\\"
15165  
15166 < Copyright (C) 2008 Free Software Foundation, Inc.
15166 > Copyright (C) 2012 Free Software Foundation, Inc.
15167   This config.status script is free software; the Free Software Foundation
15168   gives unlimited permission to copy, distribute and modify it."
15169  
# Line 18671 | Line 15181 | ac_need_defaults=:
15181   while test $# != 0
15182   do
15183    case $1 in
15184 <  --*=*)
15184 >  --*=?*)
15185      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15186      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15187      ac_shift=:
15188      ;;
15189 +  --*=)
15190 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15191 +    ac_optarg=
15192 +    ac_shift=:
15193 +    ;;
15194    *)
15195      ac_option=$1
15196      ac_optarg=$2
# Line 18689 | Line 15204 | do
15204      ac_cs_recheck=: ;;
15205    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15206      $as_echo "$ac_cs_version"; exit ;;
15207 +  --config | --confi | --conf | --con | --co | --c )
15208 +    $as_echo "$ac_cs_config"; exit ;;
15209    --debug | --debu | --deb | --de | --d | -d )
15210      debug=: ;;
15211    --file | --fil | --fi | --f )
15212      $ac_shift
15213      case $ac_optarg in
15214      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15215 +    '') as_fn_error $? "missing file argument" ;;
15216      esac
15217 <    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
15217 >    as_fn_append CONFIG_FILES " '$ac_optarg'"
15218      ac_need_defaults=false;;
15219    --header | --heade | --head | --hea )
15220      $ac_shift
15221      case $ac_optarg in
15222      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15223      esac
15224 <    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
15224 >    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15225      ac_need_defaults=false;;
15226    --he | --h)
15227      # Conflict between --help and --header
15228 <    { $as_echo "$as_me: error: ambiguous option: $1
15229 < Try \`$0 --help' for more information." >&2
18712 <   { (exit 1); exit 1; }; };;
15228 >    as_fn_error $? "ambiguous option: \`$1'
15229 > Try \`$0 --help' for more information.";;
15230    --help | --hel | -h )
15231      $as_echo "$ac_cs_usage"; exit ;;
15232    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
# Line 18717 | Line 15234 | Try \`$0 --help' for more information."
15234      ac_cs_silent=: ;;
15235  
15236    # This is an error.
15237 <  -*) { $as_echo "$as_me: error: unrecognized option: $1
15238 < Try \`$0 --help' for more information." >&2
18722 <   { (exit 1); exit 1; }; } ;;
15237 >  -*) as_fn_error $? "unrecognized option: \`$1'
15238 > Try \`$0 --help' for more information." ;;
15239  
15240 <  *) ac_config_targets="$ac_config_targets $1"
15240 >  *) as_fn_append ac_config_targets " $1"
15241       ac_need_defaults=false ;;
15242  
15243    esac
# Line 18738 | Line 15254 | fi
15254   _ACEOF
15255   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15256   if \$ac_cs_recheck; then
15257 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15257 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15258    shift
15259    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15260    CONFIG_SHELL='$SHELL'
# Line 18772 | Line 15288 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15288   sed_quote_subst='$sed_quote_subst'
15289   double_quote_subst='$double_quote_subst'
15290   delay_variable_subst='$delay_variable_subst'
15291 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15292 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15293 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15294 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15295 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15296 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15297 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15298 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15299 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15300 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15301 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15302 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15303 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15304 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15305 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15306 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15307 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15308 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15309 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15310 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15311 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15312 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15313 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15314 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15315 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15316 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15317 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15318 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15319 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15320 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15321 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15322 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15323 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15324 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15325 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15326 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15327 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15328 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15329 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15330 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15331 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15332 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15333 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15334 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15335 < lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15336 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15337 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15338 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15339 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15340 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15341 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15342 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15343 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15344 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15345 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15346 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15347 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15348 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15349 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15350 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15351 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15352 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15353 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15354 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15355 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15356 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15357 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15358 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15359 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15360 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15361 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15362 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15363 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15364 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15365 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15366 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15367 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15368 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15369 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15370 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15371 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15372 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15373 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15374 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15375 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15376 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15377 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15378 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15379 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15380 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15381 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15382 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15383 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15384 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15385 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15386 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15387 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15388 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15389 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15390 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15391 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15392 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15393 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15394 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15395 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15396 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15397 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15398 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15399 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15400 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15401 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15402 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15403 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15404 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15405 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15406 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15407 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15408 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15291 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15292 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15293 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15294 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15295 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15296 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15297 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15298 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15299 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15300 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15301 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15302 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15303 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15304 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15305 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15306 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15307 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15308 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15309 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15310 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15311 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15312 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15313 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15314 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15315 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15316 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15317 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15318 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15319 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15320 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15321 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15322 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15323 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15324 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15325 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15326 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15327 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15328 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15329 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15330 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15331 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15332 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15333 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15334 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15335 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15336 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15337 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15338 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15339 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15340 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15341 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15342 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15343 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15344 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15345 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15346 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15347 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15348 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15349 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15350 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15351 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15352 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15353 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15354 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15355 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15356 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15357 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15358 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15359 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15360 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15361 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15362 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15363 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15364 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15365 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15366 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15367 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15368 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15369 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15370 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15371 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15372 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15373 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15374 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15375 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15376 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15377 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15378 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15379 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15380 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15381 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15382 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15383 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15384 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15385 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15386 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15387 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15388 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15389 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15390 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15391 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15392 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15393 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15394 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15395 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15396 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15397 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15398 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15399 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15400 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15401 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15402 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15403 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15404 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15405 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15406 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15407 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15408 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15409 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15410 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15411 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15412 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15413 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15414 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15415 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15416 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15417 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15418 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15419 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15420 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15421  
15422   LTCC='$LTCC'
15423   LTCFLAGS='$LTCFLAGS'
15424   compiler='$compiler_DEFAULT'
15425  
15426 + # A function that is used when there is no print builtin or printf.
15427 + func_fallback_echo ()
15428 + {
15429 +  eval 'cat <<_LTECHO_EOF
15430 + \$1
15431 + _LTECHO_EOF'
15432 + }
15433 +
15434   # Quote evaled strings.
15435 < for var in SED \
15435 > for var in SHELL \
15436 > ECHO \
15437 > PATH_SEPARATOR \
15438 > SED \
15439   GREP \
15440   EGREP \
15441   FGREP \
# Line 18909 | Line 15448 | reload_flag \
15448   OBJDUMP \
15449   deplibs_check_method \
15450   file_magic_cmd \
15451 + file_magic_glob \
15452 + want_nocaseglob \
15453 + DLLTOOL \
15454 + sharedlib_from_linklib_cmd \
15455   AR \
15456   AR_FLAGS \
15457 + archiver_list_spec \
15458   STRIP \
15459   RANLIB \
15460   CC \
# Line 18920 | Line 15464 | lt_cv_sys_global_symbol_pipe \
15464   lt_cv_sys_global_symbol_to_cdecl \
15465   lt_cv_sys_global_symbol_to_c_name_address \
15466   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15467 < SHELL \
18924 < ECHO \
15467 > nm_file_list_spec \
15468   lt_prog_compiler_no_builtin_flag \
18926 lt_prog_compiler_wl \
15469   lt_prog_compiler_pic \
15470 + lt_prog_compiler_wl \
15471   lt_prog_compiler_static \
15472   lt_cv_prog_compiler_c_o \
15473   need_locks \
15474 + MANIFEST_TOOL \
15475   DSYMUTIL \
15476   NMEDIT \
15477   LIPO \
# Line 18941 | Line 15485 | with_gnu_ld \
15485   allow_undefined_flag \
15486   no_undefined_flag \
15487   hardcode_libdir_flag_spec \
18944 hardcode_libdir_flag_spec_ld \
15488   hardcode_libdir_separator \
18946 fix_srcfile_path \
15489   exclude_expsyms \
15490   include_expsyms \
15491   file_list_spec \
# Line 18951 | Line 15493 | variables_saved_for_relink \
15493   libname_spec \
15494   library_names_spec \
15495   soname_spec \
15496 + install_override_mode \
15497   finish_eval \
15498   old_striplib \
15499   striplib; do
15500 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15500 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15501      *[\\\\\\\`\\"\\\$]*)
15502 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15502 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15503        ;;
15504      *)
15505        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 18978 | Line 15521 | module_cmds \
15521   module_expsym_cmds \
15522   export_symbols_cmds \
15523   prelink_cmds \
15524 + postlink_cmds \
15525   postinstall_cmds \
15526   postuninstall_cmds \
15527   finish_cmds \
15528   sys_lib_search_path_spec \
15529   sys_lib_dlsearch_path_spec; do
15530 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15530 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15531      *[\\\\\\\`\\"\\\$]*)
15532 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15532 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15533        ;;
15534      *)
15535        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 18993 | Line 15537 | sys_lib_dlsearch_path_spec; do
15537      esac
15538   done
15539  
18996 # Fix-up fallback echo if it was mangled by the above quoting rules.
18997 case \$lt_ECHO in
18998 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18999  ;;
19000 esac
19001
15540   ac_aux_dir='$ac_aux_dir'
15541   xsi_shell='$xsi_shell'
15542   lt_shell_append='$lt_shell_append'
# Line 19031 | Line 15569 | do
15569      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15570      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15571      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19034    "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" ;;
19038    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15572      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15573      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15574      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15575 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15576      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15577      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15578      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 19046 | Line 15580 | do
15580      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15581      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15582      "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" ;;
15583      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15584  
15585 <  *) { { $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; }; };;
15585 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15586    esac
15587   done
15588  
# Line 19075 | Line 15605 | fi
15605   # after its creation but before its name has been assigned to `$tmp'.
15606   $debug ||
15607   {
15608 <  tmp=
15608 >  tmp= ac_tmp=
15609    trap 'exit_status=$?
15610 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15610 >  : "${ac_tmp:=$tmp}"
15611 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15612   ' 0
15613 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
15613 >  trap 'as_fn_exit 1' 1 2 13 15
15614   }
15615   # Create a (secure) tmp directory for tmp files.
15616  
15617   {
15618    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15619 <  test -n "$tmp" && test -d "$tmp"
15619 >  test -d "$tmp"
15620   }  ||
15621   {
15622    tmp=./conf$$-$RANDOM
15623    (umask 077 && mkdir "$tmp")
15624 < } ||
15625 < {
19095 <   $as_echo "$as_me: cannot create a temporary directory in ." >&2
19096 <   { (exit 1); exit 1; }
19097 < }
15624 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15625 > ac_tmp=$tmp
15626  
15627   # Set up the scripts for CONFIG_FILES section.
15628   # No need to generate them if there are no CONFIG_FILES.
# Line 19102 | Line 15630 | $debug ||
15630   if test -n "$CONFIG_FILES"; then
15631  
15632  
19105 ac_cr='
15633  
15634 + ac_cr=`echo X | tr X '\015'`
15635 + # On cygwin, bash can eat \r inside `` if the user requested igncr.
15636 + # But we know of no other shell where ac_cr would be empty at this
15637 + # point, so we can use a bashism as a fallback.
15638 + if test "x$ac_cr" = x; then
15639 +  eval ac_cr=\$\'\\r\'
15640 + fi
15641   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15642   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15643    ac_cs_awk_cr='\\r'
# Line 19110 | Line 15644 | else
15644    ac_cs_awk_cr=$ac_cr
15645   fi
15646  
15647 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15647 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15648   _ACEOF
15649  
15650  
# Line 19119 | Line 15653 | _ACEOF
15653    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15654    echo "_ACEOF"
15655   } >conf$$subs.sh ||
15656 <  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15657 < $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19124 <   { (exit 1); exit 1; }; }
19125 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15656 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15657 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15658   ac_delim='%!_!# '
15659   for ac_last_try in false false false false false :; do
15660    . ./conf$$subs.sh ||
15661 <    { { $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; }; }
15661 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15662  
15663    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15664    if test $ac_delim_n = $ac_delim_num; then
15665      break
15666    elif $ac_last_try; then
15667 <    { { $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; }; }
15667 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15668    else
15669      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15670    fi
# Line 19144 | Line 15672 | done
15672   rm -f conf$$subs.sh
15673  
15674   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15675 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15675 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15676   _ACEOF
15677   sed -n '
15678   h
# Line 19158 | Line 15686 | s/'"$ac_delim"'$//
15686   t delim
15687   :nl
15688   h
15689 < s/\(.\{148\}\).*/\1/
15689 > s/\(.\{148\}\)..*/\1/
15690   t more1
15691   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15692   p
# Line 19172 | Line 15700 | s/.\{148\}//
15700   t nl
15701   :delim
15702   h
15703 < s/\(.\{148\}\).*/\1/
15703 > s/\(.\{148\}\)..*/\1/
15704   t more2
15705   s/["\\]/\\&/g; s/^/"/; s/$/"/
15706   p
# Line 19192 | Line 15720 | t delim
15720   rm -f conf$$subs.awk
15721   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15722   _ACAWK
15723 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15723 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15724    for (key in S) S_is_set[key] = 1
15725    FS = ""
15726  
# Line 19224 | Line 15752 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15752    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15753   else
15754    cat
15755 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15756 <  || { { $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; }; }
15755 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15756 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15757   _ACEOF
15758  
15759 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15760 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15759 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15760 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15761   # trailing colons and then remove the whole line if VPATH becomes empty
15762   # (actually we leave an empty line to preserve line numbers).
15763   if test "x$srcdir" = x.; then
15764 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15765 < s/:*\$(srcdir):*/:/
15766 < s/:*\${srcdir}:*/:/
15767 < s/:*@srcdir@:*/:/
15768 < s/^\([^=]*=[     ]*\):*/\1/
15764 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15765 > h
15766 > s///
15767 > s/^/:/
15768 > s/[      ]*$/:/
15769 > s/:\$(srcdir):/:/g
15770 > s/:\${srcdir}:/:/g
15771 > s/:@srcdir@:/:/g
15772 > s/^:*//
15773   s/:*$//
15774 + x
15775 + s/\(=[   ]*\).*/\1/
15776 + G
15777 + s/\n//
15778   s/^[^=]*=[       ]*$//
15779   }'
15780   fi
# Line 19252 | Line 15786 | fi # test -n "$CONFIG_FILES"
15786   # No need to generate them if there are no CONFIG_HEADERS.
15787   # This happens for instance with `./config.status Makefile'.
15788   if test -n "$CONFIG_HEADERS"; then
15789 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15789 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15790   BEGIN {
15791   _ACEOF
15792  
# Line 19264 | Line 15798 | _ACEOF
15798   # handling of long lines.
15799   ac_delim='%!_!# '
15800   for ac_last_try in false false :; do
15801 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15802 <  if test -z "$ac_t"; then
15801 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15802 >  if test -z "$ac_tt"; then
15803      break
15804    elif $ac_last_try; then
15805 <    { { $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; }; }
15805 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15806    else
15807      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15808    fi
# Line 19355 | Line 15887 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15887   _ACAWK
15888   _ACEOF
15889   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15890 <  { { $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; }; }
15890 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15891   fi # test -n "$CONFIG_HEADERS"
15892  
15893  
# Line 19370 | Line 15900 | do
15900    esac
15901    case $ac_mode$ac_tag in
15902    :[FHL]*:*);;
15903 <  :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; }; };;
15903 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15904    :[FH]-) ac_tag=-:-;;
15905    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15906    esac
# Line 19391 | Line 15919 | $as_echo "$as_me: error: invalid tag $ac
15919      for ac_f
15920      do
15921        case $ac_f in
15922 <      -) ac_f="$tmp/stdin";;
15922 >      -) ac_f="$ac_tmp/stdin";;
15923        *) # Look for the file first in the build tree, then in the source tree
15924           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15925           # because $ac_f cannot contain `:'.
# Line 19400 | Line 15928 | $as_echo "$as_me: error: invalid tag $ac
15928             [\\/$]*) false;;
15929             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15930             esac ||
15931 <           { { $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; }; };;
15931 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15932        esac
15933        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15934 <      ac_file_inputs="$ac_file_inputs '$ac_f'"
15934 >      as_fn_append ac_file_inputs " '$ac_f'"
15935      done
15936  
15937      # Let's still pretend it is `configure' which instantiates (i.e., don't
# Line 19416 | Line 15942 | $as_echo "$as_me: error: cannot find inp
15942          `' by configure.'
15943      if test x"$ac_file" != x-; then
15944        configure_input="$ac_file.  $configure_input"
15945 <      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
15945 >      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15946   $as_echo "$as_me: creating $ac_file" >&6;}
15947      fi
15948      # Neutralize special characters interpreted by sed in replacement strings.
# Line 19428 | Line 15954 | $as_echo "$as_me: creating $ac_file" >&6
15954      esac
15955  
15956      case $ac_tag in
15957 <    *:-:* | *:-) cat >"$tmp/stdin" \
15958 <      || { { $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; }; } ;;
15957 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15958 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15959      esac
15960      ;;
15961    esac
# Line 19459 | Line 15983 | $as_echo X"$ac_file" |
15983              q
15984            }
15985            s/.*/./; q'`
15986 <  { 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; }; }; }
15986 >  as_dir="$ac_dir"; as_fn_mkdir_p
15987    ac_builddir=.
15988  
15989   case "$ac_dir" in
# Line 19556 | Line 16040 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16040   # If the template does not know about datarootdir, expand it.
16041   # FIXME: This hack should be removed a few years after 2.60.
16042   ac_datarootdir_hack=; ac_datarootdir_seen=
19559
16043   ac_sed_dataroot='
16044   /datarootdir/ {
16045    p
# Line 19566 | Line 16049 | ac_sed_dataroot='
16049   /@docdir@/p
16050   /@infodir@/p
16051   /@localedir@/p
16052 < /@mandir@/p
19570 < '
16052 > /@mandir@/p'
16053   case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16054   *datarootdir*) ac_datarootdir_seen=yes;;
16055   *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16056 <  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16056 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16057   $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16058   _ACEOF
16059   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Line 19581 | Line 16063 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16063    s&@infodir@&$infodir&g
16064    s&@localedir@&$localedir&g
16065    s&@mandir@&$mandir&g
16066 <    s&\\\${datarootdir}&$datarootdir&g' ;;
16066 >  s&\\\${datarootdir}&$datarootdir&g' ;;
16067   esac
16068   _ACEOF
16069  
# Line 19609 | Line 16091 | s&@INSTALL@&$ac_INSTALL&;t t
16091   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16092   $ac_datarootdir_hack
16093   "
16094 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16095 <  || { { $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; }; }
16094 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16095 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16096  
16097   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16098 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16099 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16100 <  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16101 < which seems to be undefined.  Please make sure it is defined." >&5
16098 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16099 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16100 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16101 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16102 > which seems to be undefined.  Please make sure it is defined" >&5
16103   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16104 < which seems to be undefined.  Please make sure it is defined." >&2;}
16104 > which seems to be undefined.  Please make sure it is defined" >&2;}
16105  
16106 <  rm -f "$tmp/stdin"
16106 >  rm -f "$ac_tmp/stdin"
16107    case $ac_file in
16108 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16109 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16108 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16109 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16110    esac \
16111 <  || { { $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; }; }
16111 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16112   ;;
16113    :H)
16114    #
# Line 19638 | Line 16117 | $as_echo "$as_me: error: could not creat
16117    if test x"$ac_file" != x-; then
16118      {
16119        $as_echo "/* $configure_input  */" \
16120 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16121 <    } >"$tmp/config.h" \
16122 <      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16123 < $as_echo "$as_me: error: could not create $ac_file" >&2;}
16124 <   { (exit 1); exit 1; }; }
19646 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19647 <      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16120 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16121 >    } >"$ac_tmp/config.h" \
16122 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16123 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16124 >      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16125   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16126      else
16127        rm -f "$ac_file"
16128 <      mv "$tmp/config.h" "$ac_file" \
16129 <        || { { $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; }; }
16128 >      mv "$ac_tmp/config.h" "$ac_file" \
16129 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16130      fi
16131    else
16132      $as_echo "/* $configure_input  */" \
16133 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16134 <      || { { $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; }; }
16133 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16134 >      || as_fn_error $? "could not create -" "$LINENO" 5
16135    fi
16136   # Compute "$ac_file"'s index in $config_headers.
16137   _am_arg="$ac_file"
# Line 19696 | Line 16169 | $as_echo X"$_am_arg" |
16169            s/.*/./; q'`/stamp-h$_am_stamp_count
16170   ;;
16171  
16172 <  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
16172 >  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16173   $as_echo "$as_me: executing $ac_file commands" >&6;}
16174   ;;
16175    esac
# Line 19717 | Line 16190 | $as_echo "$as_me: executing $ac_file com
16190      # Strip MF so we end up with the name of the file.
16191      mf=`echo "$mf" | sed -e 's/:.*$//'`
16192      # Check whether this is an Automake generated Makefile or not.
16193 <    # We used to match only the files named `Makefile.in', but
16193 >    # We used to match only the files named 'Makefile.in', but
16194      # some people rename them; so instead we look at the file content.
16195      # Grep'ing the first line is not enough: some people post-process
16196      # each Makefile.in and add a new line on top of each file to say so.
# Line 19751 | Line 16224 | $as_echo X"$mf" |
16224        continue
16225      fi
16226      # Extract the definition of DEPDIR, am__include, and am__quote
16227 <    # from the Makefile without running `make'.
16227 >    # from the Makefile without running 'make'.
16228      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16229      test -z "$DEPDIR" && continue
16230      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16231      test -z "am__include" && continue
16232      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19760    # When using ansi2knr, U may be empty or an underscore; expand it
19761    U=`sed -n 's/^U = //p' < "$mf"`
16233      # Find all dependency output files, they are included files with
16234      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16235      # simplest approach to changing $(DEPDIR) to its actual value in the
16236      # expansion.
16237      for file in `sed -n "
16238        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16239 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16239 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16240        # Make sure the directory exists.
16241        test -f "$dirpart/$file" && continue
16242        fdir=`$as_dirname -- "$file" ||
# Line 19791 | Line 16262 | $as_echo X"$file" |
16262              q
16263            }
16264            s/.*/./; q'`
16265 <      { 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; }; }; }
16265 >      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16266        # echo "creating $dirpart/$file"
16267        echo '# dummy' > "$dirpart/$file"
16268      done
# Line 19859 | Line 16290 | $as_echo "$as_me: error: cannot create d
16290   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16291   #
16292   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16293 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16293 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16294 > #                 Foundation, Inc.
16295   #   Written by Gordon Matzigkeit, 1996
16296   #
16297   #   This file is part of GNU Libtool.
# Line 19895 | Line 16327 | available_tags=""
16327   macro_version=$macro_version
16328   macro_revision=$macro_revision
16329  
19898 # Whether or not to build shared libraries.
19899 build_libtool_libs=$enable_shared
19900
16330   # Whether or not to build static libraries.
16331   build_old_libs=$enable_static
16332  
16333 + # Whether or not to build shared libraries.
16334 + build_libtool_libs=$enable_shared
16335 +
16336   # What type of objects to build.
16337   pic_mode=$pic_mode
16338  
16339   # Whether or not to optimize for fast installation.
16340   fast_install=$enable_fast_install
16341  
16342 + # Shell to use when invoking shell scripts.
16343 + SHELL=$lt_SHELL
16344 +
16345 + # An echo program that protects backslashes.
16346 + ECHO=$lt_ECHO
16347 +
16348 + # The PATH separator for the build system.
16349 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16350 +
16351   # The host system.
16352   host_alias=$host_alias
16353   host=$host
# Line 19956 | Line 16397 | SP2NL=$lt_lt_SP2NL
16397   # turn newlines into spaces.
16398   NL2SP=$lt_lt_NL2SP
16399  
16400 < # How to create reloadable object files.
16401 < reload_flag=$lt_reload_flag
16402 < reload_cmds=$lt_reload_cmds
16400 > # convert \$build file names to \$host format.
16401 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16402 >
16403 > # convert \$build files to toolchain format.
16404 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16405  
16406   # An object symbol dumper.
16407   OBJDUMP=$lt_OBJDUMP
# Line 19966 | Line 16409 | OBJDUMP=$lt_OBJDUMP
16409   # Method to check whether dependent libraries are shared objects.
16410   deplibs_check_method=$lt_deplibs_check_method
16411  
16412 < # Command to use when deplibs_check_method == "file_magic".
16412 > # Command to use when deplibs_check_method = "file_magic".
16413   file_magic_cmd=$lt_file_magic_cmd
16414  
16415 + # How to find potential files when deplibs_check_method = "file_magic".
16416 + file_magic_glob=$lt_file_magic_glob
16417 +
16418 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16419 + want_nocaseglob=$lt_want_nocaseglob
16420 +
16421 + # DLL creation program.
16422 + DLLTOOL=$lt_DLLTOOL
16423 +
16424 + # Command to associate shared and link libraries.
16425 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16426 +
16427   # The archiver.
16428   AR=$lt_AR
16429 +
16430 + # Flags to create an archive.
16431   AR_FLAGS=$lt_AR_FLAGS
16432  
16433 + # How to feed a file listing to the archiver.
16434 + archiver_list_spec=$lt_archiver_list_spec
16435 +
16436   # A symbol stripping program.
16437   STRIP=$lt_STRIP
16438  
# Line 19981 | Line 16441 | RANLIB=$lt_RANLIB
16441   old_postinstall_cmds=$lt_old_postinstall_cmds
16442   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16443  
16444 + # Whether to use a lock for old archive extraction.
16445 + lock_old_archive_extraction=$lock_old_archive_extraction
16446 +
16447   # A C compiler.
16448   LTCC=$lt_CC
16449  
# Line 19999 | Line 16462 | global_symbol_to_c_name_address=$lt_lt_c
16462   # Transform the output of nm in a C name address pair when lib prefix is needed.
16463   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16464  
16465 < # The name of the directory that contains temporary libtool files.
16466 < objdir=$objdir
16465 > # Specify filename containing input files for \$NM.
16466 > nm_file_list_spec=$lt_nm_file_list_spec
16467  
16468 < # Shell to use when invoking shell scripts.
16469 < SHELL=$lt_SHELL
16468 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16469 > lt_sysroot=$lt_sysroot
16470  
16471 < # An echo program that does not interpret backslashes.
16472 < ECHO=$lt_ECHO
16471 > # The name of the directory that contains temporary libtool files.
16472 > objdir=$objdir
16473  
16474   # Used to examine libraries when file_magic_cmd begins with "file".
16475   MAGIC_CMD=$MAGIC_CMD
# Line 20014 | Line 16477 | MAGIC_CMD=$MAGIC_CMD
16477   # Must we lock files when doing compilation?
16478   need_locks=$lt_need_locks
16479  
16480 + # Manifest tool.
16481 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16482 +
16483   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16484   DSYMUTIL=$lt_DSYMUTIL
16485  
# Line 20070 | Line 16536 | library_names_spec=$lt_library_names_spe
16536   # The coded name of the library, if different from the real name.
16537   soname_spec=$lt_soname_spec
16538  
16539 + # Permission mode override for installation of shared libraries.
16540 + install_override_mode=$lt_install_override_mode
16541 +
16542   # Command to use after installation of a shared archive.
16543   postinstall_cmds=$lt_postinstall_cmds
16544  
# Line 20109 | Line 16578 | striplib=$lt_striplib
16578   # The linker used to build libraries.
16579   LD=$lt_LD
16580  
16581 + # How to create reloadable object files.
16582 + reload_flag=$lt_reload_flag
16583 + reload_cmds=$lt_reload_cmds
16584 +
16585   # Commands used to build an old-style archive.
16586   old_archive_cmds=$lt_old_archive_cmds
16587  
# Line 20121 | Line 16594 | with_gcc=$GCC
16594   # Compiler flag to turn off builtin functions.
16595   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16596  
20124 # How to pass a linker flag through the compiler.
20125 wl=$lt_lt_prog_compiler_wl
20126
16597   # Additional compiler flags for building library objects.
16598   pic_flag=$lt_lt_prog_compiler_pic
16599  
16600 + # How to pass a linker flag through the compiler.
16601 + wl=$lt_lt_prog_compiler_wl
16602 +
16603   # Compiler flag to prevent dynamic linking.
16604   link_static_flag=$lt_lt_prog_compiler_static
16605  
# Line 20176 | Line 16649 | no_undefined_flag=$lt_no_undefined_flag
16649   # This must work even if \$libdir does not exist
16650   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16651  
20179 # If ld is used when linking, flag to hardcode \$libdir into a binary
20180 # during linking.  This must work even if \$libdir does not exist.
20181 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20182
16652   # Whether we need a single "-rpath" flag with a separated argument.
16653   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16654  
# Line 20213 | Line 16682 | inherit_rpath=$inherit_rpath
16682   # Whether libtool must link a program against all its dependency libraries.
16683   link_all_deplibs=$link_all_deplibs
16684  
20216 # Fix the shell variable \$srcfile for the compiler.
20217 fix_srcfile_path=$lt_fix_srcfile_path
20218
16685   # Set to "yes" if exported symbols are required.
16686   always_export_symbols=$always_export_symbols
16687  
# Line 20231 | Line 16697 | include_expsyms=$lt_include_expsyms
16697   # Commands necessary for linking programs (against libraries) with templates.
16698   prelink_cmds=$lt_prelink_cmds
16699  
16700 + # Commands necessary for finishing linking programs.
16701 + postlink_cmds=$lt_postlink_cmds
16702 +
16703   # Specify filename containing input files.
16704   file_list_spec=$lt_file_list_spec
16705  
# Line 20263 | Line 16732 | ltmain="$ac_aux_dir/ltmain.sh"
16732    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16733    # text mode, it properly converts lines to CR/LF.  This bash problem
16734    # is reportedly fixed, but why not run on old versions too?
16735 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16736 <    || (rm -f "$cfgfile"; exit 1)
20268 <
20269 <  case $xsi_shell in
20270 <  yes)
20271 <    cat << \_LT_EOF >> "$cfgfile"
20272 <
20273 < # func_dirname file append nondir_replacement
20274 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
20275 < # otherwise set result to NONDIR_REPLACEMENT.
20276 < func_dirname ()
20277 < {
20278 <  case ${1} in
20279 <    */*) func_dirname_result="${1%/*}${2}" ;;
20280 <    *  ) func_dirname_result="${3}" ;;
20281 <  esac
20282 < }
20283 <
20284 < # func_basename file
20285 < func_basename ()
20286 < {
20287 <  func_basename_result="${1##*/}"
20288 < }
20289 <
20290 < # func_dirname_and_basename file append nondir_replacement
20291 < # perform func_basename and func_dirname in a single function
20292 < # call:
20293 < #   dirname:  Compute the dirname of FILE.  If nonempty,
20294 < #             add APPEND to the result, otherwise set result
20295 < #             to NONDIR_REPLACEMENT.
20296 < #             value returned in "$func_dirname_result"
20297 < #   basename: Compute filename of FILE.
20298 < #             value retuned in "$func_basename_result"
20299 < # Implementation must be kept synchronized with func_dirname
20300 < # and func_basename. For efficiency, we do not delegate to
20301 < # those functions but instead duplicate the functionality here.
20302 < func_dirname_and_basename ()
20303 < {
20304 <  case ${1} in
20305 <    */*) func_dirname_result="${1%/*}${2}" ;;
20306 <    *  ) func_dirname_result="${3}" ;;
20307 <  esac
20308 <  func_basename_result="${1##*/}"
20309 < }
20310 <
20311 < # func_stripname prefix suffix name
20312 < # strip PREFIX and SUFFIX off of NAME.
20313 < # PREFIX and SUFFIX must not contain globbing or regex special
20314 < # characters, hashes, percent signs, but SUFFIX may contain a leading
20315 < # dot (in which case that matches only a dot).
20316 < func_stripname ()
20317 < {
20318 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20319 <  # positional parameters, so assign one to ordinary parameter first.
20320 <  func_stripname_result=${3}
20321 <  func_stripname_result=${func_stripname_result#"${1}"}
20322 <  func_stripname_result=${func_stripname_result%"${2}"}
20323 < }
20324 <
20325 < # func_opt_split
20326 < func_opt_split ()
20327 < {
20328 <  func_opt_split_opt=${1%%=*}
20329 <  func_opt_split_arg=${1#*=}
20330 < }
20331 <
20332 < # func_lo2o object
20333 < func_lo2o ()
20334 < {
20335 <  case ${1} in
20336 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20337 <    *)    func_lo2o_result=${1} ;;
20338 <  esac
20339 < }
20340 <
20341 < # func_xform libobj-or-source
20342 < func_xform ()
20343 < {
20344 <  func_xform_result=${1%.*}.lo
20345 < }
20346 <
20347 < # func_arith arithmetic-term...
20348 < func_arith ()
20349 < {
20350 <  func_arith_result=$(( $* ))
20351 < }
20352 <
20353 < # func_len string
20354 < # STRING may not start with a hyphen.
20355 < func_len ()
20356 < {
20357 <  func_len_result=${#1}
20358 < }
20359 <
20360 < _LT_EOF
20361 <    ;;
20362 <  *) # Bourne compatible functions.
20363 <    cat << \_LT_EOF >> "$cfgfile"
20364 <
20365 < # func_dirname file append nondir_replacement
20366 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
20367 < # otherwise set result to NONDIR_REPLACEMENT.
20368 < func_dirname ()
20369 < {
20370 <  # Extract subdirectory from the argument.
20371 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20372 <  if test "X$func_dirname_result" = "X${1}"; then
20373 <    func_dirname_result="${3}"
20374 <  else
20375 <    func_dirname_result="$func_dirname_result${2}"
20376 <  fi
20377 < }
20378 <
20379 < # func_basename file
20380 < func_basename ()
20381 < {
20382 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
20383 < }
20384 <
20385 <
20386 < # func_stripname prefix suffix name
20387 < # strip PREFIX and SUFFIX off of NAME.
20388 < # PREFIX and SUFFIX must not contain globbing or regex special
20389 < # characters, hashes, percent signs, but SUFFIX may contain a leading
20390 < # dot (in which case that matches only a dot).
20391 < # func_strip_suffix prefix name
20392 < func_stripname ()
20393 < {
20394 <  case ${2} in
20395 <    .*) func_stripname_result=`$ECHO "X${3}" \
20396 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20397 <    *)  func_stripname_result=`$ECHO "X${3}" \
20398 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20399 <  esac
20400 < }
20401 <
20402 < # sed scripts:
20403 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20404 < my_sed_long_arg='1s/^-[^=]*=//'
20405 <
20406 < # func_opt_split
20407 < func_opt_split ()
20408 < {
20409 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20410 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20411 < }
20412 <
20413 < # func_lo2o object
20414 < func_lo2o ()
20415 < {
20416 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20417 < }
20418 <
20419 < # func_xform libobj-or-source
20420 < func_xform ()
20421 < {
20422 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20423 < }
20424 <
20425 < # func_arith arithmetic-term...
20426 < func_arith ()
20427 < {
20428 <  func_arith_result=`expr "$@"`
20429 < }
20430 <
20431 < # func_len string
20432 < # STRING may not start with a hyphen.
20433 < func_len ()
20434 < {
20435 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20436 < }
20437 <
20438 < _LT_EOF
20439 < esac
20440 <
20441 < case $lt_shell_append in
20442 <  yes)
20443 <    cat << \_LT_EOF >> "$cfgfile"
20444 <
20445 < # func_append var value
20446 < # Append VALUE to the end of shell variable VAR.
20447 < func_append ()
20448 < {
20449 <  eval "$1+=\$2"
20450 < }
20451 < _LT_EOF
20452 <    ;;
20453 <  *)
20454 <    cat << \_LT_EOF >> "$cfgfile"
20455 <
20456 < # func_append var value
20457 < # Append VALUE to the end of shell variable VAR.
20458 < func_append ()
20459 < {
20460 <  eval "$1=\$$1\$2"
20461 < }
20462 <
20463 < _LT_EOF
20464 <    ;;
20465 <  esac
16735 >  sed '$q' "$ltmain" >> "$cfgfile" \
16736 >     || (rm -f "$cfgfile"; exit 1)
16737  
16738 +  if test x"$xsi_shell" = xyes; then
16739 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16740 + func_dirname ()\
16741 + {\
16742 + \    case ${1} in\
16743 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16744 + \      *  ) func_dirname_result="${3}" ;;\
16745 + \    esac\
16746 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16747 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16748 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16749 + test 0 -eq $? || _lt_function_replace_fail=:
16750 +
16751 +
16752 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16753 + func_basename ()\
16754 + {\
16755 + \    func_basename_result="${1##*/}"\
16756 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16757 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16758 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16759 + test 0 -eq $? || _lt_function_replace_fail=:
16760 +
16761 +
16762 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16763 + func_dirname_and_basename ()\
16764 + {\
16765 + \    case ${1} in\
16766 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16767 + \      *  ) func_dirname_result="${3}" ;;\
16768 + \    esac\
16769 + \    func_basename_result="${1##*/}"\
16770 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16771 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16772 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16773 + test 0 -eq $? || _lt_function_replace_fail=:
16774 +
16775 +
16776 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16777 + func_stripname ()\
16778 + {\
16779 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16780 + \    # positional parameters, so assign one to ordinary parameter first.\
16781 + \    func_stripname_result=${3}\
16782 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16783 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16784 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16785 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16786 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16787 + test 0 -eq $? || _lt_function_replace_fail=:
16788 +
16789 +
16790 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16791 + func_split_long_opt ()\
16792 + {\
16793 + \    func_split_long_opt_name=${1%%=*}\
16794 + \    func_split_long_opt_arg=${1#*=}\
16795 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16796 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16797 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16798 + test 0 -eq $? || _lt_function_replace_fail=:
16799 +
16800 +
16801 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16802 + func_split_short_opt ()\
16803 + {\
16804 + \    func_split_short_opt_arg=${1#??}\
16805 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16806 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16807 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16808 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16809 + test 0 -eq $? || _lt_function_replace_fail=:
16810 +
16811 +
16812 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16813 + func_lo2o ()\
16814 + {\
16815 + \    case ${1} in\
16816 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16817 + \      *)    func_lo2o_result=${1} ;;\
16818 + \    esac\
16819 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16820 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16821 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16822 + test 0 -eq $? || _lt_function_replace_fail=:
16823 +
16824 +
16825 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16826 + func_xform ()\
16827 + {\
16828 +    func_xform_result=${1%.*}.lo\
16829 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16830 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16831 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16832 + test 0 -eq $? || _lt_function_replace_fail=:
16833 +
16834 +
16835 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16836 + func_arith ()\
16837 + {\
16838 +    func_arith_result=$(( $* ))\
16839 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16840 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16841 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16842 + test 0 -eq $? || _lt_function_replace_fail=:
16843 +
16844 +
16845 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16846 + func_len ()\
16847 + {\
16848 +    func_len_result=${#1}\
16849 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16850 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16851 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16852 + test 0 -eq $? || _lt_function_replace_fail=:
16853 +
16854 + fi
16855 +
16856 + if test x"$lt_shell_append" = xyes; then
16857 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16858 + func_append ()\
16859 + {\
16860 +    eval "${1}+=\\${2}"\
16861 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16862 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16863 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16864 + test 0 -eq $? || _lt_function_replace_fail=:
16865 +
16866 +
16867 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16868 + func_append_quoted ()\
16869 + {\
16870 + \    func_quote_for_eval "${2}"\
16871 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16872 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16873 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16874 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16875 + test 0 -eq $? || _lt_function_replace_fail=:
16876 +
16877 +
16878 +  # Save a `func_append' function call where possible by direct use of '+='
16879 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16880 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16881 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16882 +  test 0 -eq $? || _lt_function_replace_fail=:
16883 + else
16884 +  # Save a `func_append' function call even when '+=' is not available
16885 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16886 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16887 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16888 +  test 0 -eq $? || _lt_function_replace_fail=:
16889 + fi
16890 +
16891 + if test x"$_lt_function_replace_fail" = x":"; then
16892 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16893 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16894 + fi
16895  
20468  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20469    || (rm -f "$cfgfile"; exit 1)
16896  
16897 <  mv -f "$cfgfile" "$ofile" ||
16897 >   mv -f "$cfgfile" "$ofile" ||
16898      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16899    chmod +x "$ofile"
16900  
# Line 20478 | Line 16904 | _LT_EOF
16904   done # for ac_tag
16905  
16906  
16907 < { (exit 0); exit 0; }
16907 > as_fn_exit 0
16908   _ACEOF
20483 chmod +x $CONFIG_STATUS
16909   ac_clean_files=$ac_clean_files_save
16910  
16911   test $ac_write_fail = 0 ||
16912 <  { { $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; }; }
16912 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16913  
16914  
16915   # configure is writing to config.log, and then calls config.status.
# Line 20507 | Line 16930 | if test "$no_create" != yes; then
16930    exec 5>>config.log
16931    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16932    # would make configure fail if this is the last instruction.
16933 <  $ac_cs_success || { (exit 1); exit 1; }
20511 < fi
20512 <
20513 < #
20514 < # CONFIG_SUBDIRS section.
20515 < #
20516 < if test "$no_recursion" != yes; then
20517 <
20518 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
20519 <  # so they do not pile up.
20520 <  ac_sub_configure_args=
20521 <  ac_prev=
20522 <  eval "set x $ac_configure_args"
20523 <  shift
20524 <  for ac_arg
20525 <  do
20526 <    if test -n "$ac_prev"; then
20527 <      ac_prev=
20528 <      continue
20529 <    fi
20530 <    case $ac_arg in
20531 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
20532 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20533 <      ac_prev=cache_file ;;
20534 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20535 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
20536 <    | --c=*)
20537 <      ;;
20538 <    --config-cache | -C)
20539 <      ;;
20540 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20541 <      ac_prev=srcdir ;;
20542 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20543 <      ;;
20544 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
20545 <      ac_prev=prefix ;;
20546 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
20547 <      ;;
20548 <    --disable-option-checking)
20549 <      ;;
20550 <    *)
20551 <      case $ac_arg in
20552 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
20553 <      esac
20554 <      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
20555 <    esac
20556 <  done
20557 <
20558 <  # Always prepend --prefix to ensure using the same prefix
20559 <  # in subdir configurations.
20560 <  ac_arg="--prefix=$prefix"
20561 <  case $ac_arg in
20562 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
20563 <  esac
20564 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
20565 <
20566 <  # Pass --silent
20567 <  if test "$silent" = yes; then
20568 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
20569 <  fi
20570 <
20571 <  # Always prepend --disable-option-checking to silence warnings, since
20572 <  # different subdirs can have different --enable and --with options.
20573 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
20574 <
20575 <  ac_popdir=`pwd`
20576 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
20577 <
20578 <    # Do not complain, so a configure script can configure whichever
20579 <    # parts of a large source tree are present.
20580 <    test -d "$srcdir/$ac_dir" || continue
20581 <
20582 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
20583 <    $as_echo "$as_me:$LINENO: $ac_msg" >&5
20584 <    $as_echo "$ac_msg" >&6
20585 <    { 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; }; }; }
20626 <    ac_builddir=.
20627 <
20628 < case "$ac_dir" in
20629 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20630 < *)
20631 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20632 <  # A ".." for each directory in $ac_dir_suffix.
20633 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20634 <  case $ac_top_builddir_sub in
20635 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20636 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20637 <  esac ;;
20638 < esac
20639 < ac_abs_top_builddir=$ac_pwd
20640 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
20641 < # for backward compatibility:
20642 < ac_top_builddir=$ac_top_build_prefix
20643 <
20644 < case $srcdir in
20645 <  .)  # We are building in place.
20646 <    ac_srcdir=.
20647 <    ac_top_srcdir=$ac_top_builddir_sub
20648 <    ac_abs_top_srcdir=$ac_pwd ;;
20649 <  [\\/]* | ?:[\\/]* )  # Absolute name.
20650 <    ac_srcdir=$srcdir$ac_dir_suffix;
20651 <    ac_top_srcdir=$srcdir
20652 <    ac_abs_top_srcdir=$srcdir ;;
20653 <  *) # Relative name.
20654 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20655 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
20656 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20657 < esac
20658 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20659 <
20660 <
20661 <    cd "$ac_dir"
20662 <
20663 <    # Check for guested configure; otherwise get Cygnus style configure.
20664 <    if test -f "$ac_srcdir/configure.gnu"; then
20665 <      ac_sub_configure=$ac_srcdir/configure.gnu
20666 <    elif test -f "$ac_srcdir/configure"; then
20667 <      ac_sub_configure=$ac_srcdir/configure
20668 <    elif test -f "$ac_srcdir/configure.in"; then
20669 <      # This should be Cygnus configure.
20670 <      ac_sub_configure=$ac_aux_dir/configure
20671 <    else
20672 <      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
20673 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
20674 <      ac_sub_configure=
20675 <    fi
20676 <
20677 <    # The recursion is here.
20678 <    if test -n "$ac_sub_configure"; then
20679 <      # Make the cache file name correct relative to the subdirectory.
20680 <      case $cache_file in
20681 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
20682 <      *) # Relative name.
20683 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
20684 <      esac
20685 <
20686 <      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
20687 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
20688 <      # The eval makes quoting arguments work.
20689 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
20690 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
20691 <        { { $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; }; }
20694 <    fi
20695 <
20696 <    cd "$ac_popdir"
20697 <  done
16933 >  $ac_cs_success || as_fn_exit 1
16934   fi
16935   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16936 <  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16936 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16937   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16938   fi
16939  

Diff Legend

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