1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for mod_gnutls 0.8.4.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    PATH=/empty FPATH=/empty; export PATH FPATH
205    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207test \$(( 1 + 1 )) = 2 || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566as_awk_strverscmp='
567  # Use only awk features that work with 7th edition Unix awk (1978).
568  # My, what an old awk you have, Mr. Solaris!
569  END {
570    while (length(v1) && length(v2)) {
571      # Set d1 to be the next thing to compare from v1, and likewise for d2.
572      # Normally this is a single character, but if v1 and v2 contain digits,
573      # compare them as integers and fractions as strverscmp does.
574      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
575	# Split v1 and v2 into their leading digit string components d1 and d2,
576	# and advance v1 and v2 past the leading digit strings.
577	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
578	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
579	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
580	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
581	if (d1 ~ /^0/) {
582	  if (d2 ~ /^0/) {
583	    # Compare two fractions.
584	    while (d1 ~ /^0/ && d2 ~ /^0/) {
585	      d1 = substr(d1, 2); len1--
586	      d2 = substr(d2, 2); len2--
587	    }
588	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
589	      # The two components differ in length, and the common prefix
590	      # contains only leading zeros.  Consider the longer to be less.
591	      d1 = -len1
592	      d2 = -len2
593	    } else {
594	      # Otherwise, compare as strings.
595	      d1 = "x" d1
596	      d2 = "x" d2
597	    }
598	  } else {
599	    # A fraction is less than an integer.
600	    exit 1
601	  }
602	} else {
603	  if (d2 ~ /^0/) {
604	    # An integer is greater than a fraction.
605	    exit 2
606	  } else {
607	    # Compare two integers.
608	    d1 += 0
609	    d2 += 0
610	  }
611	}
612      } else {
613	# The normal case, without worrying about digits.
614	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
615	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
616      }
617      if (d1 < d2) exit 1
618      if (d1 > d2) exit 2
619    }
620    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
621    # which mishandles some comparisons of empty strings to integers.
622    if (length(v2)) exit 1
623    if (length(v1)) exit 2
624  }
625'
626
627test -n "$DJDIR" || exec 7<&0 </dev/null
628exec 6>&1
629
630# Name of the host.
631# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
632# so uname gets run too.
633ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
634
635#
636# Initializations.
637#
638ac_default_prefix=/usr/local
639ac_clean_files=
640ac_config_libobj_dir=.
641LIBOBJS=
642cross_compiling=no
643subdirs=
644MFLAGS=
645MAKEFLAGS=
646
647# Identity of this package.
648PACKAGE_NAME='mod_gnutls'
649PACKAGE_TARNAME='mod_gnutls'
650PACKAGE_VERSION='0.8.4'
651PACKAGE_STRING='mod_gnutls 0.8.4'
652PACKAGE_BUGREPORT=''
653PACKAGE_URL=''
654
655ac_unique_file="src/mod_gnutls.c"
656# Factoring default headers for most tests.
657ac_includes_default="\
658#include <stdio.h>
659#ifdef HAVE_SYS_TYPES_H
660# include <sys/types.h>
661#endif
662#ifdef HAVE_SYS_STAT_H
663# include <sys/stat.h>
664#endif
665#ifdef STDC_HEADERS
666# include <stdlib.h>
667# include <stddef.h>
668#else
669# ifdef HAVE_STDLIB_H
670#  include <stdlib.h>
671# endif
672#endif
673#ifdef HAVE_STRING_H
674# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
675#  include <memory.h>
676# endif
677# include <string.h>
678#endif
679#ifdef HAVE_STRINGS_H
680# include <strings.h>
681#endif
682#ifdef HAVE_INTTYPES_H
683# include <inttypes.h>
684#endif
685#ifdef HAVE_STDINT_H
686# include <stdint.h>
687#endif
688#ifdef HAVE_UNISTD_H
689# include <unistd.h>
690#endif"
691
692ac_subst_vars='am__EXEEXT_FALSE
693am__EXEEXT_TRUE
694LTLIBOBJS
695LIBOBJS
696DX_RULES
697PAPER_SIZE
698DOXYGEN_PAPER_SIZE
699GENERATE_LATEX
700DX_PDFLATEX
701DX_FLAG_pdf
702DX_EGREP
703DX_DVIPS
704DX_MAKEINDEX
705DX_LATEX
706DX_FLAG_ps
707DX_FLAG_html
708GENERATE_CHI
709DX_FLAG_chi
710GENERATE_HTMLHELP
711GENERATE_HTML
712HHC_PATH
713DX_HHC
714DX_FLAG_chm
715GENERATE_XML
716DX_FLAG_xml
717GENERATE_RTF
718DX_FLAG_rtf
719GENERATE_MAN
720DX_FLAG_man
721DOT_PATH
722HAVE_DOT
723DX_DOT
724DX_FLAG_dot
725PERL_PATH
726DX_PERL
727DX_DOXYGEN
728DX_FLAG_doc
729PROJECT
730SRCDIR
731DX_ENV
732DX_DOCDIR
733DX_CONFIG
734DX_PROJECT
735LISTEN_LIST
736SOFTHSM_LIB
737TEST_QUERY_TIMEOUT
738TEST_LOCK_WAIT
739TEST_IP
740TEST_HOST
741MODULE_LIBS
742MODULE_CFLAGS
743HAVE_SOFTHSM2_FALSE
744HAVE_SOFTHSM2_TRUE
745HAVE_SOFTHSM1_FALSE
746HAVE_SOFTHSM1_TRUE
747HAVE_SOFTHSM_FALSE
748HAVE_SOFTHSM_TRUE
749SOFTHSM_MAJOR_VERSION
750SOFTHSM
751HTTP_CLI
752APACHE2
753USE_MARKDOWN_FALSE
754USE_MARKDOWN_TRUE
755USE_PDFLATEX_FALSE
756USE_PDFLATEX_TRUE
757USE_PANDOC_FALSE
758USE_PANDOC_TRUE
759MARKDOWN
760PDFLATEX
761PANDOC
762have_apr_memcache
763APR_MEMCACHE_CFLAGS
764APR_MEMCACHE_LIBS
765APR_UTIL_CONF
766USE_MSVA_FALSE
767USE_MSVA_TRUE
768PID_AFFIX
769MUTEX_CONF
770ENABLE_NETNS_FALSE
771ENABLE_NETNS_TRUE
772UNSHARE
773ENABLE_OCSP_TEST_FALSE
774ENABLE_OCSP_TEST_TRUE
775OPENSSL
776DISABLE_FLOCK_FALSE
777DISABLE_FLOCK_TRUE
778FLOCK
779ENABLE_VPATH_INSTALL_FALSE
780ENABLE_VPATH_INSTALL_TRUE
781LIBGNUTLS_LIBS
782LIBGNUTLS_CFLAGS
783PKG_CONFIG_LIBDIR
784PKG_CONFIG_PATH
785PKG_CONFIG
786APXS_CFLAGS
787APXS_EXTENSION
788APU_LIBTOOL
789APU_LIBS
790APU_LDFLAGS
791APU_INCLUDES
792APR_CFLAGS
793APR_CPPFLAGS
794APR_LIBTOOL
795APR_LIBS
796APR_LDFLAGS
797APR_INCLUDES
798AP_SBINDIR
799AP_BINDIR
800AP_SYSCONFDIR
801AP_VERSION
802AP_LIBEXECDIR
803AP_INCLUDEDIR
804AP_INCLUDES
805AP_CPPFLAGS
806AP_CFLAGS
807AP_EXEC_PREFIX
808AP_PREFIX
809AP_DEFS
810APXS_BIN
811MOD_GNUTLS_VERSION
812CPP
813LT_SYS_LIBRARY_PATH
814OTOOL64
815OTOOL
816LIPO
817NMEDIT
818DSYMUTIL
819MANIFEST_TOOL
820RANLIB
821ac_ct_AR
822AR
823DLLTOOL
824OBJDUMP
825LN_S
826NM
827ac_ct_DUMPBIN
828DUMPBIN
829LD
830FGREP
831EGREP
832GREP
833SED
834am__fastdepCC_FALSE
835am__fastdepCC_TRUE
836CCDEPMODE
837am__nodep
838AMDEPBACKSLASH
839AMDEP_FALSE
840AMDEP_TRUE
841am__quote
842am__include
843DEPDIR
844OBJEXT
845EXEEXT
846ac_ct_CC
847CPPFLAGS
848LDFLAGS
849CFLAGS
850CC
851LIBTOOL
852AM_BACKSLASH
853AM_DEFAULT_VERBOSITY
854AM_DEFAULT_V
855AM_V
856am__untar
857am__tar
858AMTAR
859am__leading_dot
860SET_MAKE
861AWK
862mkdir_p
863MKDIR_P
864INSTALL_STRIP_PROGRAM
865STRIP
866install_sh
867MAKEINFO
868AUTOHEADER
869AUTOMAKE
870AUTOCONF
871ACLOCAL
872VERSION
873PACKAGE
874CYGPATH_W
875am__isrc
876INSTALL_DATA
877INSTALL_SCRIPT
878INSTALL_PROGRAM
879target_os
880target_vendor
881target_cpu
882target
883host_os
884host_vendor
885host_cpu
886host
887build_os
888build_vendor
889build_cpu
890build
891MAINT
892MAINTAINER_MODE_FALSE
893MAINTAINER_MODE_TRUE
894OOO_MAINTAIN
895target_alias
896host_alias
897build_alias
898LIBS
899ECHO_T
900ECHO_N
901ECHO_C
902DEFS
903mandir
904localedir
905libdir
906psdir
907pdfdir
908dvidir
909htmldir
910infodir
911docdir
912oldincludedir
913includedir
914runstatedir
915localstatedir
916sharedstatedir
917sysconfdir
918datadir
919datarootdir
920libexecdir
921sbindir
922bindir
923program_transform_name
924prefix
925exec_prefix
926PACKAGE_URL
927PACKAGE_BUGREPORT
928PACKAGE_STRING
929PACKAGE_VERSION
930PACKAGE_TARNAME
931PACKAGE_NAME
932PATH_SEPARATOR
933SHELL'
934ac_subst_files=''
935ac_user_opts='
936enable_option_checking
937enable_maintainer
938enable_maintainer_mode
939enable_silent_rules
940enable_static
941enable_shared
942with_pic
943enable_fast_install
944with_aix_soname
945enable_dependency_tracking
946with_gnu_ld
947with_sysroot
948enable_libtool_lock
949with_apxs
950enable_apachetest
951enable_vpath_install
952enable_srp
953enable_strict
954enable_flock
955enable_test_namespaces
956enable_msva
957with_apu_config
958enable_doxygen_doc
959enable_doxygen_dot
960enable_doxygen_man
961enable_doxygen_rtf
962enable_doxygen_xml
963enable_doxygen_chm
964enable_doxygen_chi
965enable_doxygen_html
966enable_doxygen_ps
967enable_doxygen_pdf
968'
969      ac_precious_vars='build_alias
970host_alias
971target_alias
972CC
973CFLAGS
974LDFLAGS
975LIBS
976CPPFLAGS
977LT_SYS_LIBRARY_PATH
978CPP
979PKG_CONFIG
980PKG_CONFIG_PATH
981PKG_CONFIG_LIBDIR
982LIBGNUTLS_CFLAGS
983LIBGNUTLS_LIBS
984TEST_HOST
985TEST_IP
986TEST_LOCK_WAIT
987TEST_QUERY_TIMEOUT
988SOFTHSM_LIB
989DOXYGEN_PAPER_SIZE'
990
991
992# Initialize some variables set by options.
993ac_init_help=
994ac_init_version=false
995ac_unrecognized_opts=
996ac_unrecognized_sep=
997# The variables have the same names as the options, with
998# dashes changed to underlines.
999cache_file=/dev/null
1000exec_prefix=NONE
1001no_create=
1002no_recursion=
1003prefix=NONE
1004program_prefix=NONE
1005program_suffix=NONE
1006program_transform_name=s,x,x,
1007silent=
1008site=
1009srcdir=
1010verbose=
1011x_includes=NONE
1012x_libraries=NONE
1013
1014# Installation directory options.
1015# These are left unexpanded so users can "make install exec_prefix=/foo"
1016# and all the variables that are supposed to be based on exec_prefix
1017# by default will actually change.
1018# Use braces instead of parens because sh, perl, etc. also accept them.
1019# (The list follows the same order as the GNU Coding Standards.)
1020bindir='${exec_prefix}/bin'
1021sbindir='${exec_prefix}/sbin'
1022libexecdir='${exec_prefix}/libexec'
1023datarootdir='${prefix}/share'
1024datadir='${datarootdir}'
1025sysconfdir='${prefix}/etc'
1026sharedstatedir='${prefix}/com'
1027localstatedir='${prefix}/var'
1028runstatedir='${localstatedir}/run'
1029includedir='${prefix}/include'
1030oldincludedir='/usr/include'
1031docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1032infodir='${datarootdir}/info'
1033htmldir='${docdir}'
1034dvidir='${docdir}'
1035pdfdir='${docdir}'
1036psdir='${docdir}'
1037libdir='${exec_prefix}/lib'
1038localedir='${datarootdir}/locale'
1039mandir='${datarootdir}/man'
1040
1041ac_prev=
1042ac_dashdash=
1043for ac_option
1044do
1045  # If the previous option needs an argument, assign it.
1046  if test -n "$ac_prev"; then
1047    eval $ac_prev=\$ac_option
1048    ac_prev=
1049    continue
1050  fi
1051
1052  case $ac_option in
1053  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1054  *=)   ac_optarg= ;;
1055  *)    ac_optarg=yes ;;
1056  esac
1057
1058  # Accept the important Cygnus configure options, so we can diagnose typos.
1059
1060  case $ac_dashdash$ac_option in
1061  --)
1062    ac_dashdash=yes ;;
1063
1064  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1065    ac_prev=bindir ;;
1066  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1067    bindir=$ac_optarg ;;
1068
1069  -build | --build | --buil | --bui | --bu)
1070    ac_prev=build_alias ;;
1071  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1072    build_alias=$ac_optarg ;;
1073
1074  -cache-file | --cache-file | --cache-fil | --cache-fi \
1075  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1076    ac_prev=cache_file ;;
1077  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1078  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1079    cache_file=$ac_optarg ;;
1080
1081  --config-cache | -C)
1082    cache_file=config.cache ;;
1083
1084  -datadir | --datadir | --datadi | --datad)
1085    ac_prev=datadir ;;
1086  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1087    datadir=$ac_optarg ;;
1088
1089  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1090  | --dataroo | --dataro | --datar)
1091    ac_prev=datarootdir ;;
1092  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1093  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1094    datarootdir=$ac_optarg ;;
1095
1096  -disable-* | --disable-*)
1097    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1098    # Reject names that are not valid shell variable names.
1099    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100      as_fn_error $? "invalid feature name: $ac_useropt"
1101    ac_useropt_orig=$ac_useropt
1102    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103    case $ac_user_opts in
1104      *"
1105"enable_$ac_useropt"
1106"*) ;;
1107      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1108	 ac_unrecognized_sep=', ';;
1109    esac
1110    eval enable_$ac_useropt=no ;;
1111
1112  -docdir | --docdir | --docdi | --doc | --do)
1113    ac_prev=docdir ;;
1114  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1115    docdir=$ac_optarg ;;
1116
1117  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1118    ac_prev=dvidir ;;
1119  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1120    dvidir=$ac_optarg ;;
1121
1122  -enable-* | --enable-*)
1123    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1124    # Reject names that are not valid shell variable names.
1125    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1126      as_fn_error $? "invalid feature name: $ac_useropt"
1127    ac_useropt_orig=$ac_useropt
1128    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129    case $ac_user_opts in
1130      *"
1131"enable_$ac_useropt"
1132"*) ;;
1133      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1134	 ac_unrecognized_sep=', ';;
1135    esac
1136    eval enable_$ac_useropt=\$ac_optarg ;;
1137
1138  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1139  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1140  | --exec | --exe | --ex)
1141    ac_prev=exec_prefix ;;
1142  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1143  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1144  | --exec=* | --exe=* | --ex=*)
1145    exec_prefix=$ac_optarg ;;
1146
1147  -gas | --gas | --ga | --g)
1148    # Obsolete; use --with-gas.
1149    with_gas=yes ;;
1150
1151  -help | --help | --hel | --he | -h)
1152    ac_init_help=long ;;
1153  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1154    ac_init_help=recursive ;;
1155  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1156    ac_init_help=short ;;
1157
1158  -host | --host | --hos | --ho)
1159    ac_prev=host_alias ;;
1160  -host=* | --host=* | --hos=* | --ho=*)
1161    host_alias=$ac_optarg ;;
1162
1163  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1164    ac_prev=htmldir ;;
1165  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1166  | --ht=*)
1167    htmldir=$ac_optarg ;;
1168
1169  -includedir | --includedir | --includedi | --included | --include \
1170  | --includ | --inclu | --incl | --inc)
1171    ac_prev=includedir ;;
1172  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1173  | --includ=* | --inclu=* | --incl=* | --inc=*)
1174    includedir=$ac_optarg ;;
1175
1176  -infodir | --infodir | --infodi | --infod | --info | --inf)
1177    ac_prev=infodir ;;
1178  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1179    infodir=$ac_optarg ;;
1180
1181  -libdir | --libdir | --libdi | --libd)
1182    ac_prev=libdir ;;
1183  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1184    libdir=$ac_optarg ;;
1185
1186  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1187  | --libexe | --libex | --libe)
1188    ac_prev=libexecdir ;;
1189  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1190  | --libexe=* | --libex=* | --libe=*)
1191    libexecdir=$ac_optarg ;;
1192
1193  -localedir | --localedir | --localedi | --localed | --locale)
1194    ac_prev=localedir ;;
1195  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1196    localedir=$ac_optarg ;;
1197
1198  -localstatedir | --localstatedir | --localstatedi | --localstated \
1199  | --localstate | --localstat | --localsta | --localst | --locals)
1200    ac_prev=localstatedir ;;
1201  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1202  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1203    localstatedir=$ac_optarg ;;
1204
1205  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1206    ac_prev=mandir ;;
1207  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1208    mandir=$ac_optarg ;;
1209
1210  -nfp | --nfp | --nf)
1211    # Obsolete; use --without-fp.
1212    with_fp=no ;;
1213
1214  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1215  | --no-cr | --no-c | -n)
1216    no_create=yes ;;
1217
1218  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1219  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1220    no_recursion=yes ;;
1221
1222  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1223  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1224  | --oldin | --oldi | --old | --ol | --o)
1225    ac_prev=oldincludedir ;;
1226  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1227  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1228  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1229    oldincludedir=$ac_optarg ;;
1230
1231  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1232    ac_prev=prefix ;;
1233  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1234    prefix=$ac_optarg ;;
1235
1236  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1237  | --program-pre | --program-pr | --program-p)
1238    ac_prev=program_prefix ;;
1239  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1240  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1241    program_prefix=$ac_optarg ;;
1242
1243  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1244  | --program-suf | --program-su | --program-s)
1245    ac_prev=program_suffix ;;
1246  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1247  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1248    program_suffix=$ac_optarg ;;
1249
1250  -program-transform-name | --program-transform-name \
1251  | --program-transform-nam | --program-transform-na \
1252  | --program-transform-n | --program-transform- \
1253  | --program-transform | --program-transfor \
1254  | --program-transfo | --program-transf \
1255  | --program-trans | --program-tran \
1256  | --progr-tra | --program-tr | --program-t)
1257    ac_prev=program_transform_name ;;
1258  -program-transform-name=* | --program-transform-name=* \
1259  | --program-transform-nam=* | --program-transform-na=* \
1260  | --program-transform-n=* | --program-transform-=* \
1261  | --program-transform=* | --program-transfor=* \
1262  | --program-transfo=* | --program-transf=* \
1263  | --program-trans=* | --program-tran=* \
1264  | --progr-tra=* | --program-tr=* | --program-t=*)
1265    program_transform_name=$ac_optarg ;;
1266
1267  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1268    ac_prev=pdfdir ;;
1269  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1270    pdfdir=$ac_optarg ;;
1271
1272  -psdir | --psdir | --psdi | --psd | --ps)
1273    ac_prev=psdir ;;
1274  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1275    psdir=$ac_optarg ;;
1276
1277  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1278  | -silent | --silent | --silen | --sile | --sil)
1279    silent=yes ;;
1280
1281  -runstatedir | --runstatedir | --runstatedi | --runstated \
1282  | --runstate | --runstat | --runsta | --runst | --runs \
1283  | --run | --ru | --r)
1284    ac_prev=runstatedir ;;
1285  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1286  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1287  | --run=* | --ru=* | --r=*)
1288    runstatedir=$ac_optarg ;;
1289
1290  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1291    ac_prev=sbindir ;;
1292  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1293  | --sbi=* | --sb=*)
1294    sbindir=$ac_optarg ;;
1295
1296  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1297  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1298  | --sharedst | --shareds | --shared | --share | --shar \
1299  | --sha | --sh)
1300    ac_prev=sharedstatedir ;;
1301  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1302  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1303  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1304  | --sha=* | --sh=*)
1305    sharedstatedir=$ac_optarg ;;
1306
1307  -site | --site | --sit)
1308    ac_prev=site ;;
1309  -site=* | --site=* | --sit=*)
1310    site=$ac_optarg ;;
1311
1312  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1313    ac_prev=srcdir ;;
1314  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1315    srcdir=$ac_optarg ;;
1316
1317  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1318  | --syscon | --sysco | --sysc | --sys | --sy)
1319    ac_prev=sysconfdir ;;
1320  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1321  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1322    sysconfdir=$ac_optarg ;;
1323
1324  -target | --target | --targe | --targ | --tar | --ta | --t)
1325    ac_prev=target_alias ;;
1326  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1327    target_alias=$ac_optarg ;;
1328
1329  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1330    verbose=yes ;;
1331
1332  -version | --version | --versio | --versi | --vers | -V)
1333    ac_init_version=: ;;
1334
1335  -with-* | --with-*)
1336    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1337    # Reject names that are not valid shell variable names.
1338    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1339      as_fn_error $? "invalid package name: $ac_useropt"
1340    ac_useropt_orig=$ac_useropt
1341    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1342    case $ac_user_opts in
1343      *"
1344"with_$ac_useropt"
1345"*) ;;
1346      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1347	 ac_unrecognized_sep=', ';;
1348    esac
1349    eval with_$ac_useropt=\$ac_optarg ;;
1350
1351  -without-* | --without-*)
1352    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1353    # Reject names that are not valid shell variable names.
1354    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1355      as_fn_error $? "invalid package name: $ac_useropt"
1356    ac_useropt_orig=$ac_useropt
1357    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1358    case $ac_user_opts in
1359      *"
1360"with_$ac_useropt"
1361"*) ;;
1362      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1363	 ac_unrecognized_sep=', ';;
1364    esac
1365    eval with_$ac_useropt=no ;;
1366
1367  --x)
1368    # Obsolete; use --with-x.
1369    with_x=yes ;;
1370
1371  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1372  | --x-incl | --x-inc | --x-in | --x-i)
1373    ac_prev=x_includes ;;
1374  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1375  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1376    x_includes=$ac_optarg ;;
1377
1378  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1379  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1380    ac_prev=x_libraries ;;
1381  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1382  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1383    x_libraries=$ac_optarg ;;
1384
1385  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1386Try \`$0 --help' for more information"
1387    ;;
1388
1389  *=*)
1390    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1391    # Reject names that are not valid shell variable names.
1392    case $ac_envvar in #(
1393      '' | [0-9]* | *[!_$as_cr_alnum]* )
1394      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1395    esac
1396    eval $ac_envvar=\$ac_optarg
1397    export $ac_envvar ;;
1398
1399  *)
1400    # FIXME: should be removed in autoconf 3.0.
1401    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1402    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1403      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1404    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1405    ;;
1406
1407  esac
1408done
1409
1410if test -n "$ac_prev"; then
1411  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1412  as_fn_error $? "missing argument to $ac_option"
1413fi
1414
1415if test -n "$ac_unrecognized_opts"; then
1416  case $enable_option_checking in
1417    no) ;;
1418    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1419    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1420  esac
1421fi
1422
1423# Check all directory arguments for consistency.
1424for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1425		datadir sysconfdir sharedstatedir localstatedir includedir \
1426		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1427		libdir localedir mandir runstatedir
1428do
1429  eval ac_val=\$$ac_var
1430  # Remove trailing slashes.
1431  case $ac_val in
1432    */ )
1433      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1434      eval $ac_var=\$ac_val;;
1435  esac
1436  # Be sure to have absolute directory names.
1437  case $ac_val in
1438    [\\/$]* | ?:[\\/]* )  continue;;
1439    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1440  esac
1441  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1442done
1443
1444# There might be people who depend on the old broken behavior: `$host'
1445# used to hold the argument of --host etc.
1446# FIXME: To remove some day.
1447build=$build_alias
1448host=$host_alias
1449target=$target_alias
1450
1451# FIXME: To remove some day.
1452if test "x$host_alias" != x; then
1453  if test "x$build_alias" = x; then
1454    cross_compiling=maybe
1455  elif test "x$build_alias" != "x$host_alias"; then
1456    cross_compiling=yes
1457  fi
1458fi
1459
1460ac_tool_prefix=
1461test -n "$host_alias" && ac_tool_prefix=$host_alias-
1462
1463test "$silent" = yes && exec 6>/dev/null
1464
1465
1466ac_pwd=`pwd` && test -n "$ac_pwd" &&
1467ac_ls_di=`ls -di .` &&
1468ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1469  as_fn_error $? "working directory cannot be determined"
1470test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1471  as_fn_error $? "pwd does not report name of working directory"
1472
1473
1474# Find the source files, if location was not specified.
1475if test -z "$srcdir"; then
1476  ac_srcdir_defaulted=yes
1477  # Try the directory containing this script, then the parent directory.
1478  ac_confdir=`$as_dirname -- "$as_myself" ||
1479$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1480	 X"$as_myself" : 'X\(//\)[^/]' \| \
1481	 X"$as_myself" : 'X\(//\)$' \| \
1482	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1483$as_echo X"$as_myself" |
1484    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1485	    s//\1/
1486	    q
1487	  }
1488	  /^X\(\/\/\)[^/].*/{
1489	    s//\1/
1490	    q
1491	  }
1492	  /^X\(\/\/\)$/{
1493	    s//\1/
1494	    q
1495	  }
1496	  /^X\(\/\).*/{
1497	    s//\1/
1498	    q
1499	  }
1500	  s/.*/./; q'`
1501  srcdir=$ac_confdir
1502  if test ! -r "$srcdir/$ac_unique_file"; then
1503    srcdir=..
1504  fi
1505else
1506  ac_srcdir_defaulted=no
1507fi
1508if test ! -r "$srcdir/$ac_unique_file"; then
1509  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1510  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1511fi
1512ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1513ac_abs_confdir=`(
1514	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1515	pwd)`
1516# When building in place, set srcdir=.
1517if test "$ac_abs_confdir" = "$ac_pwd"; then
1518  srcdir=.
1519fi
1520# Remove unnecessary trailing slashes from srcdir.
1521# Double slashes in file names in object file debugging info
1522# mess up M-x gdb in Emacs.
1523case $srcdir in
1524*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1525esac
1526for ac_var in $ac_precious_vars; do
1527  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1528  eval ac_env_${ac_var}_value=\$${ac_var}
1529  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1530  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1531done
1532
1533#
1534# Report the --help message.
1535#
1536if test "$ac_init_help" = "long"; then
1537  # Omit some internal or obsolete options to make the list less imposing.
1538  # This message is too long to be a string in the A/UX 3.1 sh.
1539  cat <<_ACEOF
1540\`configure' configures mod_gnutls 0.8.4 to adapt to many kinds of systems.
1541
1542Usage: $0 [OPTION]... [VAR=VALUE]...
1543
1544To assign environment variables (e.g., CC, CFLAGS...), specify them as
1545VAR=VALUE.  See below for descriptions of some of the useful variables.
1546
1547Defaults for the options are specified in brackets.
1548
1549Configuration:
1550  -h, --help              display this help and exit
1551      --help=short        display options specific to this package
1552      --help=recursive    display the short help of all the included packages
1553  -V, --version           display version information and exit
1554  -q, --quiet, --silent   do not print \`checking ...' messages
1555      --cache-file=FILE   cache test results in FILE [disabled]
1556  -C, --config-cache      alias for \`--cache-file=config.cache'
1557  -n, --no-create         do not create output files
1558      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1559
1560Installation directories:
1561  --prefix=PREFIX         install architecture-independent files in PREFIX
1562                          [$ac_default_prefix]
1563  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1564                          [PREFIX]
1565
1566By default, \`make install' will install all the files in
1567\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1568an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1569for instance \`--prefix=\$HOME'.
1570
1571For better control, use the options below.
1572
1573Fine tuning of the installation directories:
1574  --bindir=DIR            user executables [EPREFIX/bin]
1575  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1576  --libexecdir=DIR        program executables [EPREFIX/libexec]
1577  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1578  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1579  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1580  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1581  --libdir=DIR            object code libraries [EPREFIX/lib]
1582  --includedir=DIR        C header files [PREFIX/include]
1583  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1584  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1585  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1586  --infodir=DIR           info documentation [DATAROOTDIR/info]
1587  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1588  --mandir=DIR            man documentation [DATAROOTDIR/man]
1589  --docdir=DIR            documentation root [DATAROOTDIR/doc/mod_gnutls]
1590  --htmldir=DIR           html documentation [DOCDIR]
1591  --dvidir=DIR            dvi documentation [DOCDIR]
1592  --pdfdir=DIR            pdf documentation [DOCDIR]
1593  --psdir=DIR             ps documentation [DOCDIR]
1594_ACEOF
1595
1596  cat <<\_ACEOF
1597
1598Program names:
1599  --program-prefix=PREFIX            prepend PREFIX to installed program names
1600  --program-suffix=SUFFIX            append SUFFIX to installed program names
1601  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1602
1603System types:
1604  --build=BUILD     configure for building on BUILD [guessed]
1605  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1606  --target=TARGET   configure for building compilers for TARGET [HOST]
1607_ACEOF
1608fi
1609
1610if test -n "$ac_init_help"; then
1611  case $ac_init_help in
1612     short | recursive ) echo "Configuration of mod_gnutls 0.8.4:";;
1613   esac
1614  cat <<\_ACEOF
1615
1616Optional Features:
1617  --disable-option-checking  ignore unrecognized --enable/--with options
1618  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1619  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1620  --enable-maintainer     Enable maintainer mode for this project
1621  --enable-maintainer-mode
1622                          enable make rules and dependencies not useful (and
1623                          sometimes confusing) to the casual installer
1624  --enable-silent-rules   less verbose build output (undo: "make V=1")
1625  --disable-silent-rules  verbose build output (undo: "make V=0")
1626  --enable-static[=PKGS]  build static libraries [default=no]
1627  --enable-shared[=PKGS]  build shared libraries [default=yes]
1628  --enable-fast-install[=PKGS]
1629                          optimize for fast installation [default=yes]
1630  --enable-dependency-tracking
1631                          do not reject slow dependency extractors
1632  --disable-dependency-tracking
1633                          speeds up one-time build
1634  --disable-libtool-lock  avoid locking (might break parallel builds)
1635  --disable-apxstest      Do not try to compile and run apache version test
1636                          program
1637  --enable-vpath-install  Modify the Apache module directory provided by apxs
1638                          to follow --prefix, if necessary. Most users will
1639                          not want this, but it is required for VPATH builds
1640                          including "make distcheck".
1641  --disable-srp           unconditionally disable the SRP functionality
1642  --disable-strict        Avoid strict compiler warnings and errors
1643  --disable-flock         Disable use of flock during tests (some exotic
1644                          architectures don't support it)
1645  --disable-test-namespaces
1646                          Disable use of network namespaces to run tests in
1647                          parallel (some architectures might not support it)
1648  --enable-msva           enable Monkeysphere client certificate verification
1649  --disable-doxygen-doc   don't generate any doxygen documentation
1650  --disable-doxygen-dot   don't generate graphics for doxygen documentation
1651  --enable-doxygen-man    generate doxygen manual pages
1652  --enable-doxygen-rtf    generate doxygen RTF documentation
1653  --enable-doxygen-xml    generate doxygen XML documentation
1654  --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1655  --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1656                          file
1657  --disable-doxygen-html  don't generate doxygen plain HTML documentation
1658  --enable-doxygen-ps     generate doxygen PostScript documentation
1659  --disable-doxygen-pdf   don't generate doxygen PDF documentation
1660
1661Optional Packages:
1662  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1663  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1664  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1665                          both]
1666  --with-aix-soname=aix|svr4|both
1667                          shared library versioning (aka "SONAME") variant to
1668                          provide on AIX, [default=aix].
1669  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1670  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1671                          compiler's sysroot if not specified).
1672  --with-apxs=PATH        Path to apxs
1673  --with-apu-config=PATH  Path to APR Utility Library config tool
1674                          (apu-1-config)
1675
1676Some influential environment variables:
1677  CC          C compiler command
1678  CFLAGS      C compiler flags
1679  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1680              nonstandard directory <lib dir>
1681  LIBS        libraries to pass to the linker, e.g. -l<library>
1682  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1683              you have headers in a nonstandard directory <include dir>
1684  LT_SYS_LIBRARY_PATH
1685              User-defined run-time library search path.
1686  CPP         C preprocessor
1687  PKG_CONFIG  path to pkg-config utility
1688  PKG_CONFIG_PATH
1689              directories to add to pkg-config's search path
1690  PKG_CONFIG_LIBDIR
1691              path overriding pkg-config's built-in search path
1692  LIBGNUTLS_CFLAGS
1693              C compiler flags for LIBGNUTLS, overriding pkg-config
1694  LIBGNUTLS_LIBS
1695              linker flags for LIBGNUTLS, overriding pkg-config
1696  TEST_HOST   Host name to use for server instances started by "make check",
1697              must resolve to addresses in TEST_IP. The default is
1698              "localhost".
1699  TEST_IP     List of IP addresses to use for server instances started by
1700              "make check". The default is "[::1] 127.0.0.1". Note that IPv6
1701              addresses must be enclosed in square brackets.
1702  TEST_LOCK_WAIT
1703              Timeout in seconds to acquire locks for Apache instances in the
1704              test suite, or the previous instance to remove its PID file if
1705              flock is not used. Default is 30.
1706  TEST_QUERY_TIMEOUT
1707              Timeout in seconds for HTTPS requests sent using gnutls-cli in
1708              the test suite. Default is 30.
1709  SOFTHSM_LIB Absolute path of the SoftHSM PKCS #11 module to use. By default
1710              the test suite will search common library paths.
1711  DOXYGEN_PAPER_SIZE
1712              a4wide (default), a4, letter, legal or executive
1713
1714Use these variables to override the choices made by `configure' or to help
1715it to find libraries and programs with nonstandard names/locations.
1716
1717Report bugs to the package provider.
1718_ACEOF
1719ac_status=$?
1720fi
1721
1722if test "$ac_init_help" = "recursive"; then
1723  # If there are subdirs, report their specific --help.
1724  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1725    test -d "$ac_dir" ||
1726      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1727      continue
1728    ac_builddir=.
1729
1730case "$ac_dir" in
1731.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1732*)
1733  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1734  # A ".." for each directory in $ac_dir_suffix.
1735  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1736  case $ac_top_builddir_sub in
1737  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1738  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1739  esac ;;
1740esac
1741ac_abs_top_builddir=$ac_pwd
1742ac_abs_builddir=$ac_pwd$ac_dir_suffix
1743# for backward compatibility:
1744ac_top_builddir=$ac_top_build_prefix
1745
1746case $srcdir in
1747  .)  # We are building in place.
1748    ac_srcdir=.
1749    ac_top_srcdir=$ac_top_builddir_sub
1750    ac_abs_top_srcdir=$ac_pwd ;;
1751  [\\/]* | ?:[\\/]* )  # Absolute name.
1752    ac_srcdir=$srcdir$ac_dir_suffix;
1753    ac_top_srcdir=$srcdir
1754    ac_abs_top_srcdir=$srcdir ;;
1755  *) # Relative name.
1756    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1757    ac_top_srcdir=$ac_top_build_prefix$srcdir
1758    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1759esac
1760ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1761
1762    cd "$ac_dir" || { ac_status=$?; continue; }
1763    # Check for guested configure.
1764    if test -f "$ac_srcdir/configure.gnu"; then
1765      echo &&
1766      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1767    elif test -f "$ac_srcdir/configure"; then
1768      echo &&
1769      $SHELL "$ac_srcdir/configure" --help=recursive
1770    else
1771      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1772    fi || ac_status=$?
1773    cd "$ac_pwd" || { ac_status=$?; break; }
1774  done
1775fi
1776
1777test -n "$ac_init_help" && exit $ac_status
1778if $ac_init_version; then
1779  cat <<\_ACEOF
1780mod_gnutls configure 0.8.4
1781generated by GNU Autoconf 2.69
1782
1783Copyright (C) 2012 Free Software Foundation, Inc.
1784This configure script is free software; the Free Software Foundation
1785gives unlimited permission to copy, distribute and modify it.
1786_ACEOF
1787  exit
1788fi
1789
1790## ------------------------ ##
1791## Autoconf initialization. ##
1792## ------------------------ ##
1793
1794# ac_fn_c_try_compile LINENO
1795# --------------------------
1796# Try to compile conftest.$ac_ext, and return whether this succeeded.
1797ac_fn_c_try_compile ()
1798{
1799  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800  rm -f conftest.$ac_objext
1801  if { { ac_try="$ac_compile"
1802case "(($ac_try" in
1803  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1804  *) ac_try_echo=$ac_try;;
1805esac
1806eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807$as_echo "$ac_try_echo"; } >&5
1808  (eval "$ac_compile") 2>conftest.err
1809  ac_status=$?
1810  if test -s conftest.err; then
1811    grep -v '^ *+' conftest.err >conftest.er1
1812    cat conftest.er1 >&5
1813    mv -f conftest.er1 conftest.err
1814  fi
1815  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816  test $ac_status = 0; } && {
1817	 test -z "$ac_c_werror_flag" ||
1818	 test ! -s conftest.err
1819       } && test -s conftest.$ac_objext; then :
1820  ac_retval=0
1821else
1822  $as_echo "$as_me: failed program was:" >&5
1823sed 's/^/| /' conftest.$ac_ext >&5
1824
1825	ac_retval=1
1826fi
1827  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828  as_fn_set_status $ac_retval
1829
1830} # ac_fn_c_try_compile
1831
1832# ac_fn_c_try_link LINENO
1833# -----------------------
1834# Try to link conftest.$ac_ext, and return whether this succeeded.
1835ac_fn_c_try_link ()
1836{
1837  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838  rm -f conftest.$ac_objext conftest$ac_exeext
1839  if { { ac_try="$ac_link"
1840case "(($ac_try" in
1841  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842  *) ac_try_echo=$ac_try;;
1843esac
1844eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845$as_echo "$ac_try_echo"; } >&5
1846  (eval "$ac_link") 2>conftest.err
1847  ac_status=$?
1848  if test -s conftest.err; then
1849    grep -v '^ *+' conftest.err >conftest.er1
1850    cat conftest.er1 >&5
1851    mv -f conftest.er1 conftest.err
1852  fi
1853  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854  test $ac_status = 0; } && {
1855	 test -z "$ac_c_werror_flag" ||
1856	 test ! -s conftest.err
1857       } && test -s conftest$ac_exeext && {
1858	 test "$cross_compiling" = yes ||
1859	 test -x conftest$ac_exeext
1860       }; then :
1861  ac_retval=0
1862else
1863  $as_echo "$as_me: failed program was:" >&5
1864sed 's/^/| /' conftest.$ac_ext >&5
1865
1866	ac_retval=1
1867fi
1868  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1869  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1870  # interfere with the next link command; also delete a directory that is
1871  # left behind by Apple's compiler.  We do this before executing the actions.
1872  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1873  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874  as_fn_set_status $ac_retval
1875
1876} # ac_fn_c_try_link
1877
1878# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1879# -------------------------------------------------------
1880# Tests whether HEADER exists and can be compiled using the include files in
1881# INCLUDES, setting the cache variable VAR accordingly.
1882ac_fn_c_check_header_compile ()
1883{
1884  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886$as_echo_n "checking for $2... " >&6; }
1887if eval \${$3+:} false; then :
1888  $as_echo_n "(cached) " >&6
1889else
1890  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1891/* end confdefs.h.  */
1892$4
1893#include <$2>
1894_ACEOF
1895if ac_fn_c_try_compile "$LINENO"; then :
1896  eval "$3=yes"
1897else
1898  eval "$3=no"
1899fi
1900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1901fi
1902eval ac_res=\$$3
1903	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904$as_echo "$ac_res" >&6; }
1905  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906
1907} # ac_fn_c_check_header_compile
1908
1909# ac_fn_c_try_cpp LINENO
1910# ----------------------
1911# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1912ac_fn_c_try_cpp ()
1913{
1914  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915  if { { ac_try="$ac_cpp conftest.$ac_ext"
1916case "(($ac_try" in
1917  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1918  *) ac_try_echo=$ac_try;;
1919esac
1920eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1921$as_echo "$ac_try_echo"; } >&5
1922  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1923  ac_status=$?
1924  if test -s conftest.err; then
1925    grep -v '^ *+' conftest.err >conftest.er1
1926    cat conftest.er1 >&5
1927    mv -f conftest.er1 conftest.err
1928  fi
1929  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930  test $ac_status = 0; } > conftest.i && {
1931	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1932	 test ! -s conftest.err
1933       }; then :
1934  ac_retval=0
1935else
1936  $as_echo "$as_me: failed program was:" >&5
1937sed 's/^/| /' conftest.$ac_ext >&5
1938
1939    ac_retval=1
1940fi
1941  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942  as_fn_set_status $ac_retval
1943
1944} # ac_fn_c_try_cpp
1945
1946# ac_fn_c_try_run LINENO
1947# ----------------------
1948# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1949# that executables *can* be run.
1950ac_fn_c_try_run ()
1951{
1952  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953  if { { ac_try="$ac_link"
1954case "(($ac_try" in
1955  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1956  *) ac_try_echo=$ac_try;;
1957esac
1958eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959$as_echo "$ac_try_echo"; } >&5
1960  (eval "$ac_link") 2>&5
1961  ac_status=$?
1962  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1963  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1964  { { case "(($ac_try" in
1965  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1966  *) ac_try_echo=$ac_try;;
1967esac
1968eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1969$as_echo "$ac_try_echo"; } >&5
1970  (eval "$ac_try") 2>&5
1971  ac_status=$?
1972  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973  test $ac_status = 0; }; }; then :
1974  ac_retval=0
1975else
1976  $as_echo "$as_me: program exited with status $ac_status" >&5
1977       $as_echo "$as_me: failed program was:" >&5
1978sed 's/^/| /' conftest.$ac_ext >&5
1979
1980       ac_retval=$ac_status
1981fi
1982  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1983  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984  as_fn_set_status $ac_retval
1985
1986} # ac_fn_c_try_run
1987
1988# ac_fn_c_check_func LINENO FUNC VAR
1989# ----------------------------------
1990# Tests whether FUNC exists, setting the cache variable VAR accordingly
1991ac_fn_c_check_func ()
1992{
1993  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1995$as_echo_n "checking for $2... " >&6; }
1996if eval \${$3+:} false; then :
1997  $as_echo_n "(cached) " >&6
1998else
1999  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000/* end confdefs.h.  */
2001/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2002   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2003#define $2 innocuous_$2
2004
2005/* System header to define __stub macros and hopefully few prototypes,
2006    which can conflict with char $2 (); below.
2007    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2008    <limits.h> exists even on freestanding compilers.  */
2009
2010#ifdef __STDC__
2011# include <limits.h>
2012#else
2013# include <assert.h>
2014#endif
2015
2016#undef $2
2017
2018/* Override any GCC internal prototype to avoid an error.
2019   Use char because int might match the return type of a GCC
2020   builtin and then its argument prototype would still apply.  */
2021#ifdef __cplusplus
2022extern "C"
2023#endif
2024char $2 ();
2025/* The GNU C library defines this for functions which it implements
2026    to always fail with ENOSYS.  Some functions are actually named
2027    something starting with __ and the normal name is an alias.  */
2028#if defined __stub_$2 || defined __stub___$2
2029choke me
2030#endif
2031
2032int
2033main ()
2034{
2035return $2 ();
2036  ;
2037  return 0;
2038}
2039_ACEOF
2040if ac_fn_c_try_link "$LINENO"; then :
2041  eval "$3=yes"
2042else
2043  eval "$3=no"
2044fi
2045rm -f core conftest.err conftest.$ac_objext \
2046    conftest$ac_exeext conftest.$ac_ext
2047fi
2048eval ac_res=\$$3
2049	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2050$as_echo "$ac_res" >&6; }
2051  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052
2053} # ac_fn_c_check_func
2054
2055# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2056# ---------------------------------------------
2057# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2058# accordingly.
2059ac_fn_c_check_decl ()
2060{
2061  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2062  as_decl_name=`echo $2|sed 's/ *(.*//'`
2063  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2064  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2065$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2066if eval \${$3+:} false; then :
2067  $as_echo_n "(cached) " >&6
2068else
2069  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070/* end confdefs.h.  */
2071$4
2072int
2073main ()
2074{
2075#ifndef $as_decl_name
2076#ifdef __cplusplus
2077  (void) $as_decl_use;
2078#else
2079  (void) $as_decl_name;
2080#endif
2081#endif
2082
2083  ;
2084  return 0;
2085}
2086_ACEOF
2087if ac_fn_c_try_compile "$LINENO"; then :
2088  eval "$3=yes"
2089else
2090  eval "$3=no"
2091fi
2092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2093fi
2094eval ac_res=\$$3
2095	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2096$as_echo "$ac_res" >&6; }
2097  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098
2099} # ac_fn_c_check_decl
2100
2101# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2102# -------------------------------------------------------
2103# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2104# the include files in INCLUDES and setting the cache variable VAR
2105# accordingly.
2106ac_fn_c_check_header_mongrel ()
2107{
2108  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2109  if eval \${$3+:} false; then :
2110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2111$as_echo_n "checking for $2... " >&6; }
2112if eval \${$3+:} false; then :
2113  $as_echo_n "(cached) " >&6
2114fi
2115eval ac_res=\$$3
2116	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2117$as_echo "$ac_res" >&6; }
2118else
2119  # Is the header compilable?
2120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2121$as_echo_n "checking $2 usability... " >&6; }
2122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2123/* end confdefs.h.  */
2124$4
2125#include <$2>
2126_ACEOF
2127if ac_fn_c_try_compile "$LINENO"; then :
2128  ac_header_compiler=yes
2129else
2130  ac_header_compiler=no
2131fi
2132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2134$as_echo "$ac_header_compiler" >&6; }
2135
2136# Is the header present?
2137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2138$as_echo_n "checking $2 presence... " >&6; }
2139cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140/* end confdefs.h.  */
2141#include <$2>
2142_ACEOF
2143if ac_fn_c_try_cpp "$LINENO"; then :
2144  ac_header_preproc=yes
2145else
2146  ac_header_preproc=no
2147fi
2148rm -f conftest.err conftest.i conftest.$ac_ext
2149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2150$as_echo "$ac_header_preproc" >&6; }
2151
2152# So?  What about this header?
2153case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2154  yes:no: )
2155    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2156$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2157    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2158$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2159    ;;
2160  no:yes:* )
2161    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2162$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2163    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2164$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2165    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2166$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2167    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2168$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2169    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2170$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2171    ;;
2172esac
2173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2174$as_echo_n "checking for $2... " >&6; }
2175if eval \${$3+:} false; then :
2176  $as_echo_n "(cached) " >&6
2177else
2178  eval "$3=\$ac_header_compiler"
2179fi
2180eval ac_res=\$$3
2181	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2182$as_echo "$ac_res" >&6; }
2183fi
2184  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2185
2186} # ac_fn_c_check_header_mongrel
2187cat >config.log <<_ACEOF
2188This file contains any messages produced by compilers while
2189running configure, to aid debugging if configure makes a mistake.
2190
2191It was created by mod_gnutls $as_me 0.8.4, which was
2192generated by GNU Autoconf 2.69.  Invocation command line was
2193
2194  $ $0 $@
2195
2196_ACEOF
2197exec 5>>config.log
2198{
2199cat <<_ASUNAME
2200## --------- ##
2201## Platform. ##
2202## --------- ##
2203
2204hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2205uname -m = `(uname -m) 2>/dev/null || echo unknown`
2206uname -r = `(uname -r) 2>/dev/null || echo unknown`
2207uname -s = `(uname -s) 2>/dev/null || echo unknown`
2208uname -v = `(uname -v) 2>/dev/null || echo unknown`
2209
2210/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2211/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2212
2213/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2214/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2215/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2216/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2217/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2218/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2219/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2220
2221_ASUNAME
2222
2223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224for as_dir in $PATH
2225do
2226  IFS=$as_save_IFS
2227  test -z "$as_dir" && as_dir=.
2228    $as_echo "PATH: $as_dir"
2229  done
2230IFS=$as_save_IFS
2231
2232} >&5
2233
2234cat >&5 <<_ACEOF
2235
2236
2237## ----------- ##
2238## Core tests. ##
2239## ----------- ##
2240
2241_ACEOF
2242
2243
2244# Keep a trace of the command line.
2245# Strip out --no-create and --no-recursion so they do not pile up.
2246# Strip out --silent because we don't want to record it for future runs.
2247# Also quote any args containing shell meta-characters.
2248# Make two passes to allow for proper duplicate-argument suppression.
2249ac_configure_args=
2250ac_configure_args0=
2251ac_configure_args1=
2252ac_must_keep_next=false
2253for ac_pass in 1 2
2254do
2255  for ac_arg
2256  do
2257    case $ac_arg in
2258    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2259    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2260    | -silent | --silent | --silen | --sile | --sil)
2261      continue ;;
2262    *\'*)
2263      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2264    esac
2265    case $ac_pass in
2266    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2267    2)
2268      as_fn_append ac_configure_args1 " '$ac_arg'"
2269      if test $ac_must_keep_next = true; then
2270	ac_must_keep_next=false # Got value, back to normal.
2271      else
2272	case $ac_arg in
2273	  *=* | --config-cache | -C | -disable-* | --disable-* \
2274	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2275	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2276	  | -with-* | --with-* | -without-* | --without-* | --x)
2277	    case "$ac_configure_args0 " in
2278	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2279	    esac
2280	    ;;
2281	  -* ) ac_must_keep_next=true ;;
2282	esac
2283      fi
2284      as_fn_append ac_configure_args " '$ac_arg'"
2285      ;;
2286    esac
2287  done
2288done
2289{ ac_configure_args0=; unset ac_configure_args0;}
2290{ ac_configure_args1=; unset ac_configure_args1;}
2291
2292# When interrupted or exit'd, cleanup temporary files, and complete
2293# config.log.  We remove comments because anyway the quotes in there
2294# would cause problems or look ugly.
2295# WARNING: Use '\'' to represent an apostrophe within the trap.
2296# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2297trap 'exit_status=$?
2298  # Save into config.log some information that might help in debugging.
2299  {
2300    echo
2301
2302    $as_echo "## ---------------- ##
2303## Cache variables. ##
2304## ---------------- ##"
2305    echo
2306    # The following way of writing the cache mishandles newlines in values,
2307(
2308  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2309    eval ac_val=\$$ac_var
2310    case $ac_val in #(
2311    *${as_nl}*)
2312      case $ac_var in #(
2313      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2314$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2315      esac
2316      case $ac_var in #(
2317      _ | IFS | as_nl) ;; #(
2318      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2319      *) { eval $ac_var=; unset $ac_var;} ;;
2320      esac ;;
2321    esac
2322  done
2323  (set) 2>&1 |
2324    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2325    *${as_nl}ac_space=\ *)
2326      sed -n \
2327	"s/'\''/'\''\\\\'\'''\''/g;
2328	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2329      ;; #(
2330    *)
2331      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2332      ;;
2333    esac |
2334    sort
2335)
2336    echo
2337
2338    $as_echo "## ----------------- ##
2339## Output variables. ##
2340## ----------------- ##"
2341    echo
2342    for ac_var in $ac_subst_vars
2343    do
2344      eval ac_val=\$$ac_var
2345      case $ac_val in
2346      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2347      esac
2348      $as_echo "$ac_var='\''$ac_val'\''"
2349    done | sort
2350    echo
2351
2352    if test -n "$ac_subst_files"; then
2353      $as_echo "## ------------------- ##
2354## File substitutions. ##
2355## ------------------- ##"
2356      echo
2357      for ac_var in $ac_subst_files
2358      do
2359	eval ac_val=\$$ac_var
2360	case $ac_val in
2361	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2362	esac
2363	$as_echo "$ac_var='\''$ac_val'\''"
2364      done | sort
2365      echo
2366    fi
2367
2368    if test -s confdefs.h; then
2369      $as_echo "## ----------- ##
2370## confdefs.h. ##
2371## ----------- ##"
2372      echo
2373      cat confdefs.h
2374      echo
2375    fi
2376    test "$ac_signal" != 0 &&
2377      $as_echo "$as_me: caught signal $ac_signal"
2378    $as_echo "$as_me: exit $exit_status"
2379  } >&5
2380  rm -f core *.core core.conftest.* &&
2381    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2382    exit $exit_status
2383' 0
2384for ac_signal in 1 2 13 15; do
2385  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2386done
2387ac_signal=0
2388
2389# confdefs.h avoids OS command line length limits that DEFS can exceed.
2390rm -f -r conftest* confdefs.h
2391
2392$as_echo "/* confdefs.h */" > confdefs.h
2393
2394# Predefined preprocessor variables.
2395
2396cat >>confdefs.h <<_ACEOF
2397#define PACKAGE_NAME "$PACKAGE_NAME"
2398_ACEOF
2399
2400cat >>confdefs.h <<_ACEOF
2401#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2402_ACEOF
2403
2404cat >>confdefs.h <<_ACEOF
2405#define PACKAGE_VERSION "$PACKAGE_VERSION"
2406_ACEOF
2407
2408cat >>confdefs.h <<_ACEOF
2409#define PACKAGE_STRING "$PACKAGE_STRING"
2410_ACEOF
2411
2412cat >>confdefs.h <<_ACEOF
2413#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2414_ACEOF
2415
2416cat >>confdefs.h <<_ACEOF
2417#define PACKAGE_URL "$PACKAGE_URL"
2418_ACEOF
2419
2420
2421# Let the site file select an alternate cache file if it wants to.
2422# Prefer an explicitly selected file to automatically selected ones.
2423ac_site_file1=NONE
2424ac_site_file2=NONE
2425if test -n "$CONFIG_SITE"; then
2426  # We do not want a PATH search for config.site.
2427  case $CONFIG_SITE in #((
2428    -*)  ac_site_file1=./$CONFIG_SITE;;
2429    */*) ac_site_file1=$CONFIG_SITE;;
2430    *)   ac_site_file1=./$CONFIG_SITE;;
2431  esac
2432elif test "x$prefix" != xNONE; then
2433  ac_site_file1=$prefix/share/config.site
2434  ac_site_file2=$prefix/etc/config.site
2435else
2436  ac_site_file1=$ac_default_prefix/share/config.site
2437  ac_site_file2=$ac_default_prefix/etc/config.site
2438fi
2439for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2440do
2441  test "x$ac_site_file" = xNONE && continue
2442  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2443    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2444$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2445    sed 's/^/| /' "$ac_site_file" >&5
2446    . "$ac_site_file" \
2447      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2448$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2449as_fn_error $? "failed to load site script $ac_site_file
2450See \`config.log' for more details" "$LINENO" 5; }
2451  fi
2452done
2453
2454if test -r "$cache_file"; then
2455  # Some versions of bash will fail to source /dev/null (special files
2456  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2457  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2458    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2459$as_echo "$as_me: loading cache $cache_file" >&6;}
2460    case $cache_file in
2461      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2462      *)                      . "./$cache_file";;
2463    esac
2464  fi
2465else
2466  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2467$as_echo "$as_me: creating cache $cache_file" >&6;}
2468  >$cache_file
2469fi
2470
2471# Check that the precious variables saved in the cache have kept the same
2472# value.
2473ac_cache_corrupted=false
2474for ac_var in $ac_precious_vars; do
2475  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2476  eval ac_new_set=\$ac_env_${ac_var}_set
2477  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2478  eval ac_new_val=\$ac_env_${ac_var}_value
2479  case $ac_old_set,$ac_new_set in
2480    set,)
2481      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2482$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2483      ac_cache_corrupted=: ;;
2484    ,set)
2485      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2486$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2487      ac_cache_corrupted=: ;;
2488    ,);;
2489    *)
2490      if test "x$ac_old_val" != "x$ac_new_val"; then
2491	# differences in whitespace do not lead to failure.
2492	ac_old_val_w=`echo x $ac_old_val`
2493	ac_new_val_w=`echo x $ac_new_val`
2494	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2495	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2496$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2497	  ac_cache_corrupted=:
2498	else
2499	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2500$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2501	  eval $ac_var=\$ac_old_val
2502	fi
2503	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2504$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2505	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2506$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2507      fi;;
2508  esac
2509  # Pass precious variables to config.status.
2510  if test "$ac_new_set" = set; then
2511    case $ac_new_val in
2512    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2513    *) ac_arg=$ac_var=$ac_new_val ;;
2514    esac
2515    case " $ac_configure_args " in
2516      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2517      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2518    esac
2519  fi
2520done
2521if $ac_cache_corrupted; then
2522  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2523$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2524  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2525$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2526  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2527fi
2528## -------------------- ##
2529## Main body of script. ##
2530## -------------------- ##
2531
2532ac_ext=c
2533ac_cpp='$CPP $CPPFLAGS'
2534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536ac_compiler_gnu=$ac_cv_c_compiler_gnu
2537
2538
2539
2540  echo configure: creating config.nice
2541  rm -f config.nice
2542  cat >config.nice<<EOF
2543#! /bin/sh
2544#
2545# Created by configure
2546
2547EOF
2548
2549  for arg in $0 "$@"; do
2550    if test "$arg" != "--no-create" -a "$arg" != "--no-recursion"; then
2551        echo "\"$arg\" \\" >> config.nice
2552    fi
2553  done
2554  echo '"$@"' >> config.nice
2555  chmod +x config.nice
2556
2557MOD_GNUTLS_VERSION=0.8.4
2558
2559
2560ac_aux_dir=
2561for ac_dir in config "$srcdir"/config; do
2562  if test -f "$ac_dir/install-sh"; then
2563    ac_aux_dir=$ac_dir
2564    ac_install_sh="$ac_aux_dir/install-sh -c"
2565    break
2566  elif test -f "$ac_dir/install.sh"; then
2567    ac_aux_dir=$ac_dir
2568    ac_install_sh="$ac_aux_dir/install.sh -c"
2569    break
2570  elif test -f "$ac_dir/shtool"; then
2571    ac_aux_dir=$ac_dir
2572    ac_install_sh="$ac_aux_dir/shtool install -c"
2573    break
2574  fi
2575done
2576if test -z "$ac_aux_dir"; then
2577  as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2578fi
2579
2580# These three variables are undocumented and unsupported,
2581# and are intended to be withdrawn in a future Autoconf release.
2582# They can cause serious problems if a builder's source tree is in a directory
2583# whose full name contains unusual characters.
2584ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2585ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2586ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2587
2588
2589
2590
2591  # Check whether --enable-maintainer was given.
2592if test "${enable_maintainer+set}" = set; then :
2593  enableval=$enable_maintainer; { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling Maintainer Mode!!" >&5
2594$as_echo "Enabling Maintainer Mode!!" >&6; }
2595        OOO_MAINTAIN=1
2596else
2597  OOO_MAINTAIN=0
2598fi
2599
2600
2601
2602
2603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2604$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2605    # Check whether --enable-maintainer-mode was given.
2606if test "${enable_maintainer_mode+set}" = set; then :
2607  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2608else
2609  USE_MAINTAINER_MODE=no
2610fi
2611
2612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2613$as_echo "$USE_MAINTAINER_MODE" >&6; }
2614   if test $USE_MAINTAINER_MODE = yes; then
2615  MAINTAINER_MODE_TRUE=
2616  MAINTAINER_MODE_FALSE='#'
2617else
2618  MAINTAINER_MODE_TRUE='#'
2619  MAINTAINER_MODE_FALSE=
2620fi
2621
2622  MAINT=$MAINTAINER_MODE_TRUE
2623
2624
2625# Make sure we can run config.sub.
2626$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2627  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2628
2629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2630$as_echo_n "checking build system type... " >&6; }
2631if ${ac_cv_build+:} false; then :
2632  $as_echo_n "(cached) " >&6
2633else
2634  ac_build_alias=$build_alias
2635test "x$ac_build_alias" = x &&
2636  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2637test "x$ac_build_alias" = x &&
2638  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2639ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2640  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2641
2642fi
2643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2644$as_echo "$ac_cv_build" >&6; }
2645case $ac_cv_build in
2646*-*-*) ;;
2647*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2648esac
2649build=$ac_cv_build
2650ac_save_IFS=$IFS; IFS='-'
2651set x $ac_cv_build
2652shift
2653build_cpu=$1
2654build_vendor=$2
2655shift; shift
2656# Remember, the first character of IFS is used to create $*,
2657# except with old shells:
2658build_os=$*
2659IFS=$ac_save_IFS
2660case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2661
2662
2663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2664$as_echo_n "checking host system type... " >&6; }
2665if ${ac_cv_host+:} false; then :
2666  $as_echo_n "(cached) " >&6
2667else
2668  if test "x$host_alias" = x; then
2669  ac_cv_host=$ac_cv_build
2670else
2671  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2672    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2673fi
2674
2675fi
2676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2677$as_echo "$ac_cv_host" >&6; }
2678case $ac_cv_host in
2679*-*-*) ;;
2680*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2681esac
2682host=$ac_cv_host
2683ac_save_IFS=$IFS; IFS='-'
2684set x $ac_cv_host
2685shift
2686host_cpu=$1
2687host_vendor=$2
2688shift; shift
2689# Remember, the first character of IFS is used to create $*,
2690# except with old shells:
2691host_os=$*
2692IFS=$ac_save_IFS
2693case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2694
2695
2696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2697$as_echo_n "checking target system type... " >&6; }
2698if ${ac_cv_target+:} false; then :
2699  $as_echo_n "(cached) " >&6
2700else
2701  if test "x$target_alias" = x; then
2702  ac_cv_target=$ac_cv_host
2703else
2704  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2705    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2706fi
2707
2708fi
2709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2710$as_echo "$ac_cv_target" >&6; }
2711case $ac_cv_target in
2712*-*-*) ;;
2713*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2714esac
2715target=$ac_cv_target
2716ac_save_IFS=$IFS; IFS='-'
2717set x $ac_cv_target
2718shift
2719target_cpu=$1
2720target_vendor=$2
2721shift; shift
2722# Remember, the first character of IFS is used to create $*,
2723# except with old shells:
2724target_os=$*
2725IFS=$ac_save_IFS
2726case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2727
2728
2729# The aliases save the names the user supplied, while $host etc.
2730# will get canonicalized.
2731test -n "$target_alias" &&
2732  test "$program_prefix$program_suffix$program_transform_name" = \
2733    NONENONEs,x,x, &&
2734  program_prefix=${target_alias}-
2735# mod_gnutls test suite requires GNU make
2736am__api_version='1.15'
2737
2738# Find a good install program.  We prefer a C program (faster),
2739# so one script is as good as another.  But avoid the broken or
2740# incompatible versions:
2741# SysV /etc/install, /usr/sbin/install
2742# SunOS /usr/etc/install
2743# IRIX /sbin/install
2744# AIX /bin/install
2745# AmigaOS /C/install, which installs bootblocks on floppy discs
2746# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2747# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2748# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2749# OS/2's system install, which has a completely different semantic
2750# ./install, which can be erroneously created by make from ./install.sh.
2751# Reject install programs that cannot install multiple files.
2752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2753$as_echo_n "checking for a BSD-compatible install... " >&6; }
2754if test -z "$INSTALL"; then
2755if ${ac_cv_path_install+:} false; then :
2756  $as_echo_n "(cached) " >&6
2757else
2758  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2759for as_dir in $PATH
2760do
2761  IFS=$as_save_IFS
2762  test -z "$as_dir" && as_dir=.
2763    # Account for people who put trailing slashes in PATH elements.
2764case $as_dir/ in #((
2765  ./ | .// | /[cC]/* | \
2766  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2767  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2768  /usr/ucb/* ) ;;
2769  *)
2770    # OSF1 and SCO ODT 3.0 have their own names for install.
2771    # Don't use installbsd from OSF since it installs stuff as root
2772    # by default.
2773    for ac_prog in ginstall scoinst install; do
2774      for ac_exec_ext in '' $ac_executable_extensions; do
2775	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2776	  if test $ac_prog = install &&
2777	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2778	    # AIX install.  It has an incompatible calling convention.
2779	    :
2780	  elif test $ac_prog = install &&
2781	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2782	    # program-specific install script used by HP pwplus--don't use.
2783	    :
2784	  else
2785	    rm -rf conftest.one conftest.two conftest.dir
2786	    echo one > conftest.one
2787	    echo two > conftest.two
2788	    mkdir conftest.dir
2789	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2790	      test -s conftest.one && test -s conftest.two &&
2791	      test -s conftest.dir/conftest.one &&
2792	      test -s conftest.dir/conftest.two
2793	    then
2794	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2795	      break 3
2796	    fi
2797	  fi
2798	fi
2799      done
2800    done
2801    ;;
2802esac
2803
2804  done
2805IFS=$as_save_IFS
2806
2807rm -rf conftest.one conftest.two conftest.dir
2808
2809fi
2810  if test "${ac_cv_path_install+set}" = set; then
2811    INSTALL=$ac_cv_path_install
2812  else
2813    # As a last resort, use the slow shell script.  Don't cache a
2814    # value for INSTALL within a source directory, because that will
2815    # break other packages using the cache if that directory is
2816    # removed, or if the value is a relative name.
2817    INSTALL=$ac_install_sh
2818  fi
2819fi
2820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2821$as_echo "$INSTALL" >&6; }
2822
2823# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2824# It thinks the first close brace ends the variable substitution.
2825test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2826
2827test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2828
2829test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2830
2831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2832$as_echo_n "checking whether build environment is sane... " >&6; }
2833# Reject unsafe characters in $srcdir or the absolute working directory
2834# name.  Accept space and tab only in the latter.
2835am_lf='
2836'
2837case `pwd` in
2838  *[\\\"\#\$\&\'\`$am_lf]*)
2839    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2840esac
2841case $srcdir in
2842  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2843    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2844esac
2845
2846# Do 'set' in a subshell so we don't clobber the current shell's
2847# arguments.  Must try -L first in case configure is actually a
2848# symlink; some systems play weird games with the mod time of symlinks
2849# (eg FreeBSD returns the mod time of the symlink's containing
2850# directory).
2851if (
2852   am_has_slept=no
2853   for am_try in 1 2; do
2854     echo "timestamp, slept: $am_has_slept" > conftest.file
2855     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2856     if test "$*" = "X"; then
2857	# -L didn't work.
2858	set X `ls -t "$srcdir/configure" conftest.file`
2859     fi
2860     if test "$*" != "X $srcdir/configure conftest.file" \
2861	&& test "$*" != "X conftest.file $srcdir/configure"; then
2862
2863	# If neither matched, then we have a broken ls.  This can happen
2864	# if, for instance, CONFIG_SHELL is bash and it inherits a
2865	# broken ls alias from the environment.  This has actually
2866	# happened.  Such a system could not be considered "sane".
2867	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2868  alias in your environment" "$LINENO" 5
2869     fi
2870     if test "$2" = conftest.file || test $am_try -eq 2; then
2871       break
2872     fi
2873     # Just in case.
2874     sleep 1
2875     am_has_slept=yes
2876   done
2877   test "$2" = conftest.file
2878   )
2879then
2880   # Ok.
2881   :
2882else
2883   as_fn_error $? "newly created file is older than distributed files!
2884Check your system clock" "$LINENO" 5
2885fi
2886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2887$as_echo "yes" >&6; }
2888# If we didn't sleep, we still need to ensure time stamps of config.status and
2889# generated files are strictly newer.
2890am_sleep_pid=
2891if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2892  ( sleep 1 ) &
2893  am_sleep_pid=$!
2894fi
2895
2896rm -f conftest.file
2897
2898test "$program_prefix" != NONE &&
2899  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2900# Use a double $ so make ignores it.
2901test "$program_suffix" != NONE &&
2902  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2903# Double any \ or $.
2904# By default was `s,x,x', remove it if useless.
2905ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2906program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2907
2908# Expand $ac_aux_dir to an absolute path.
2909am_aux_dir=`cd "$ac_aux_dir" && pwd`
2910
2911if test x"${MISSING+set}" != xset; then
2912  case $am_aux_dir in
2913  *\ * | *\	*)
2914    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2915  *)
2916    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2917  esac
2918fi
2919# Use eval to expand $SHELL
2920if eval "$MISSING --is-lightweight"; then
2921  am_missing_run="$MISSING "
2922else
2923  am_missing_run=
2924  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2925$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2926fi
2927
2928if test x"${install_sh+set}" != xset; then
2929  case $am_aux_dir in
2930  *\ * | *\	*)
2931    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2932  *)
2933    install_sh="\${SHELL} $am_aux_dir/install-sh"
2934  esac
2935fi
2936
2937# Installed binaries are usually stripped using 'strip' when the user
2938# run "make install-strip".  However 'strip' might not be the right
2939# tool to use in cross-compilation environments, therefore Automake
2940# will honor the 'STRIP' environment variable to overrule this program.
2941if test "$cross_compiling" != no; then
2942  if test -n "$ac_tool_prefix"; then
2943  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2944set dummy ${ac_tool_prefix}strip; ac_word=$2
2945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946$as_echo_n "checking for $ac_word... " >&6; }
2947if ${ac_cv_prog_STRIP+:} false; then :
2948  $as_echo_n "(cached) " >&6
2949else
2950  if test -n "$STRIP"; then
2951  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2952else
2953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954for as_dir in $PATH
2955do
2956  IFS=$as_save_IFS
2957  test -z "$as_dir" && as_dir=.
2958    for ac_exec_ext in '' $ac_executable_extensions; do
2959  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2960    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2961    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962    break 2
2963  fi
2964done
2965  done
2966IFS=$as_save_IFS
2967
2968fi
2969fi
2970STRIP=$ac_cv_prog_STRIP
2971if test -n "$STRIP"; then
2972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2973$as_echo "$STRIP" >&6; }
2974else
2975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976$as_echo "no" >&6; }
2977fi
2978
2979
2980fi
2981if test -z "$ac_cv_prog_STRIP"; then
2982  ac_ct_STRIP=$STRIP
2983  # Extract the first word of "strip", so it can be a program name with args.
2984set dummy strip; ac_word=$2
2985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2986$as_echo_n "checking for $ac_word... " >&6; }
2987if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2988  $as_echo_n "(cached) " >&6
2989else
2990  if test -n "$ac_ct_STRIP"; then
2991  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2992else
2993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994for as_dir in $PATH
2995do
2996  IFS=$as_save_IFS
2997  test -z "$as_dir" && as_dir=.
2998    for ac_exec_ext in '' $ac_executable_extensions; do
2999  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3000    ac_cv_prog_ac_ct_STRIP="strip"
3001    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002    break 2
3003  fi
3004done
3005  done
3006IFS=$as_save_IFS
3007
3008fi
3009fi
3010ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3011if test -n "$ac_ct_STRIP"; then
3012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3013$as_echo "$ac_ct_STRIP" >&6; }
3014else
3015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016$as_echo "no" >&6; }
3017fi
3018
3019  if test "x$ac_ct_STRIP" = x; then
3020    STRIP=":"
3021  else
3022    case $cross_compiling:$ac_tool_warned in
3023yes:)
3024{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3025$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3026ac_tool_warned=yes ;;
3027esac
3028    STRIP=$ac_ct_STRIP
3029  fi
3030else
3031  STRIP="$ac_cv_prog_STRIP"
3032fi
3033
3034fi
3035INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3036
3037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3038$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3039if test -z "$MKDIR_P"; then
3040  if ${ac_cv_path_mkdir+:} false; then :
3041  $as_echo_n "(cached) " >&6
3042else
3043  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3045do
3046  IFS=$as_save_IFS
3047  test -z "$as_dir" && as_dir=.
3048    for ac_prog in mkdir gmkdir; do
3049	 for ac_exec_ext in '' $ac_executable_extensions; do
3050	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3051	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3052	     'mkdir (GNU coreutils) '* | \
3053	     'mkdir (coreutils) '* | \
3054	     'mkdir (fileutils) '4.1*)
3055	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3056	       break 3;;
3057	   esac
3058	 done
3059       done
3060  done
3061IFS=$as_save_IFS
3062
3063fi
3064
3065  test -d ./--version && rmdir ./--version
3066  if test "${ac_cv_path_mkdir+set}" = set; then
3067    MKDIR_P="$ac_cv_path_mkdir -p"
3068  else
3069    # As a last resort, use the slow shell script.  Don't cache a
3070    # value for MKDIR_P within a source directory, because that will
3071    # break other packages using the cache if that directory is
3072    # removed, or if the value is a relative name.
3073    MKDIR_P="$ac_install_sh -d"
3074  fi
3075fi
3076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3077$as_echo "$MKDIR_P" >&6; }
3078
3079for ac_prog in gawk mawk nawk awk
3080do
3081  # Extract the first word of "$ac_prog", so it can be a program name with args.
3082set dummy $ac_prog; ac_word=$2
3083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084$as_echo_n "checking for $ac_word... " >&6; }
3085if ${ac_cv_prog_AWK+:} false; then :
3086  $as_echo_n "(cached) " >&6
3087else
3088  if test -n "$AWK"; then
3089  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3090else
3091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092for as_dir in $PATH
3093do
3094  IFS=$as_save_IFS
3095  test -z "$as_dir" && as_dir=.
3096    for ac_exec_ext in '' $ac_executable_extensions; do
3097  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098    ac_cv_prog_AWK="$ac_prog"
3099    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100    break 2
3101  fi
3102done
3103  done
3104IFS=$as_save_IFS
3105
3106fi
3107fi
3108AWK=$ac_cv_prog_AWK
3109if test -n "$AWK"; then
3110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3111$as_echo "$AWK" >&6; }
3112else
3113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114$as_echo "no" >&6; }
3115fi
3116
3117
3118  test -n "$AWK" && break
3119done
3120
3121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3122$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3123set x ${MAKE-make}
3124ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3125if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3126  $as_echo_n "(cached) " >&6
3127else
3128  cat >conftest.make <<\_ACEOF
3129SHELL = /bin/sh
3130all:
3131	@echo '@@@%%%=$(MAKE)=@@@%%%'
3132_ACEOF
3133# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3134case `${MAKE-make} -f conftest.make 2>/dev/null` in
3135  *@@@%%%=?*=@@@%%%*)
3136    eval ac_cv_prog_make_${ac_make}_set=yes;;
3137  *)
3138    eval ac_cv_prog_make_${ac_make}_set=no;;
3139esac
3140rm -f conftest.make
3141fi
3142if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3144$as_echo "yes" >&6; }
3145  SET_MAKE=
3146else
3147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148$as_echo "no" >&6; }
3149  SET_MAKE="MAKE=${MAKE-make}"
3150fi
3151
3152rm -rf .tst 2>/dev/null
3153mkdir .tst 2>/dev/null
3154if test -d .tst; then
3155  am__leading_dot=.
3156else
3157  am__leading_dot=_
3158fi
3159rmdir .tst 2>/dev/null
3160
3161# Check whether --enable-silent-rules was given.
3162if test "${enable_silent_rules+set}" = set; then :
3163  enableval=$enable_silent_rules;
3164fi
3165
3166case $enable_silent_rules in # (((
3167  yes) AM_DEFAULT_VERBOSITY=0;;
3168   no) AM_DEFAULT_VERBOSITY=1;;
3169    *) AM_DEFAULT_VERBOSITY=1;;
3170esac
3171am_make=${MAKE-make}
3172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3173$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3174if ${am_cv_make_support_nested_variables+:} false; then :
3175  $as_echo_n "(cached) " >&6
3176else
3177  if $as_echo 'TRUE=$(BAR$(V))
3178BAR0=false
3179BAR1=true
3180V=1
3181am__doit:
3182	@$(TRUE)
3183.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3184  am_cv_make_support_nested_variables=yes
3185else
3186  am_cv_make_support_nested_variables=no
3187fi
3188fi
3189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3190$as_echo "$am_cv_make_support_nested_variables" >&6; }
3191if test $am_cv_make_support_nested_variables = yes; then
3192    AM_V='$(V)'
3193  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3194else
3195  AM_V=$AM_DEFAULT_VERBOSITY
3196  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3197fi
3198AM_BACKSLASH='\'
3199
3200if test "`cd $srcdir && pwd`" != "`pwd`"; then
3201  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3202  # is not polluted with repeated "-I."
3203  am__isrc=' -I$(srcdir)'
3204  # test to see if srcdir already configured
3205  if test -f $srcdir/config.status; then
3206    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3207  fi
3208fi
3209
3210# test whether we have cygpath
3211if test -z "$CYGPATH_W"; then
3212  if (cygpath --version) >/dev/null 2>/dev/null; then
3213    CYGPATH_W='cygpath -w'
3214  else
3215    CYGPATH_W=echo
3216  fi
3217fi
3218
3219
3220# Define the identity of the package.
3221 PACKAGE='mod_gnutls'
3222 VERSION='0.8.4'
3223
3224
3225cat >>confdefs.h <<_ACEOF
3226#define PACKAGE "$PACKAGE"
3227_ACEOF
3228
3229
3230cat >>confdefs.h <<_ACEOF
3231#define VERSION "$VERSION"
3232_ACEOF
3233
3234# Some tools Automake needs.
3235
3236ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3237
3238
3239AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3240
3241
3242AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3243
3244
3245AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3246
3247
3248MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3249
3250# For better backward compatibility.  To be removed once Automake 1.9.x
3251# dies out for good.  For more background, see:
3252# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3253# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3254mkdir_p='$(MKDIR_P)'
3255
3256# We need awk for the "check" target (and possibly the TAP driver).  The
3257# system "awk" is bad on some platforms.
3258# Always define AMTAR for backward compatibility.  Yes, it's still used
3259# in the wild :-(  We should find a proper way to deprecate it ...
3260AMTAR='$${TAR-tar}'
3261
3262
3263# We'll loop over all known methods to create a tar archive until one works.
3264_am_tools='gnutar  pax cpio none'
3265
3266am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3267
3268
3269
3270
3271
3272
3273# POSIX will say in a future version that running "rm -f" with no argument
3274# is OK; and we want to be able to make that assumption in our Makefile
3275# recipes.  So use an aggressive probe to check that the usage we want is
3276# actually supported "in the wild" to an acceptable degree.
3277# See automake bug#10828.
3278# To make any issue more visible, cause the running configure to be aborted
3279# by default if the 'rm' program in use doesn't match our expectations; the
3280# user can still override this though.
3281if rm -f && rm -fr && rm -rf; then : OK; else
3282  cat >&2 <<'END'
3283Oops!
3284
3285Your 'rm' program seems unable to run without file operands specified
3286on the command line, even when the '-f' option is present.  This is contrary
3287to the behaviour of most rm programs out there, and not conforming with
3288the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3289
3290Please tell bug-automake@gnu.org about your system, including the value
3291of your $PATH and any error possibly output before this message.  This
3292can help us improve future automake versions.
3293
3294END
3295  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3296    echo 'Configuration will proceed anyway, since you have set the' >&2
3297    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3298    echo >&2
3299  else
3300    cat >&2 <<'END'
3301Aborting the configuration process, to ensure you take notice of the issue.
3302
3303You can download and install GNU coreutils to get an 'rm' implementation
3304that behaves properly: <http://www.gnu.org/software/coreutils/>.
3305
3306If you want to complete the configuration process using your problematic
3307'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3308to "yes", and re-run configure.
3309
3310END
3311    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3312  fi
3313fi
3314
3315ac_config_headers="$ac_config_headers include/mod_gnutls_config.h:config.in"
3316
3317
3318case `pwd` in
3319  *\ * | *\	*)
3320    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3321$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3322esac
3323
3324
3325
3326macro_version='2.4.6'
3327macro_revision='2.4.6'
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341ltmain=$ac_aux_dir/ltmain.sh
3342
3343# Backslashify metacharacters that are still active within
3344# double-quoted strings.
3345sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3346
3347# Same as above, but do not quote variable references.
3348double_quote_subst='s/\(["`\\]\)/\\\1/g'
3349
3350# Sed substitution to delay expansion of an escaped shell variable in a
3351# double_quote_subst'ed string.
3352delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3353
3354# Sed substitution to delay expansion of an escaped single quote.
3355delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3356
3357# Sed substitution to avoid accidental globbing in evaled expressions
3358no_glob_subst='s/\*/\\\*/g'
3359
3360ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3361ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3362ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3363
3364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3365$as_echo_n "checking how to print strings... " >&6; }
3366# Test print first, because it will be a builtin if present.
3367if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3368   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3369  ECHO='print -r --'
3370elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3371  ECHO='printf %s\n'
3372else
3373  # Use this function as a fallback that always works.
3374  func_fallback_echo ()
3375  {
3376    eval 'cat <<_LTECHO_EOF
3377$1
3378_LTECHO_EOF'
3379  }
3380  ECHO='func_fallback_echo'
3381fi
3382
3383# func_echo_all arg...
3384# Invoke $ECHO with all args, space-separated.
3385func_echo_all ()
3386{
3387    $ECHO ""
3388}
3389
3390case $ECHO in
3391  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3392$as_echo "printf" >&6; } ;;
3393  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3394$as_echo "print -r" >&6; } ;;
3395  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3396$as_echo "cat" >&6; } ;;
3397esac
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412DEPDIR="${am__leading_dot}deps"
3413
3414ac_config_commands="$ac_config_commands depfiles"
3415
3416
3417am_make=${MAKE-make}
3418cat > confinc << 'END'
3419am__doit:
3420	@echo this is the am__doit target
3421.PHONY: am__doit
3422END
3423# If we don't find an include directive, just comment out the code.
3424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3425$as_echo_n "checking for style of include used by $am_make... " >&6; }
3426am__include="#"
3427am__quote=
3428_am_result=none
3429# First try GNU make style include.
3430echo "include confinc" > confmf
3431# Ignore all kinds of additional output from 'make'.
3432case `$am_make -s -f confmf 2> /dev/null` in #(
3433*the\ am__doit\ target*)
3434  am__include=include
3435  am__quote=
3436  _am_result=GNU
3437  ;;
3438esac
3439# Now try BSD make style include.
3440if test "$am__include" = "#"; then
3441   echo '.include "confinc"' > confmf
3442   case `$am_make -s -f confmf 2> /dev/null` in #(
3443   *the\ am__doit\ target*)
3444     am__include=.include
3445     am__quote="\""
3446     _am_result=BSD
3447     ;;
3448   esac
3449fi
3450
3451
3452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3453$as_echo "$_am_result" >&6; }
3454rm -f confinc confmf
3455
3456# Check whether --enable-dependency-tracking was given.
3457if test "${enable_dependency_tracking+set}" = set; then :
3458  enableval=$enable_dependency_tracking;
3459fi
3460
3461if test "x$enable_dependency_tracking" != xno; then
3462  am_depcomp="$ac_aux_dir/depcomp"
3463  AMDEPBACKSLASH='\'
3464  am__nodep='_no'
3465fi
3466 if test "x$enable_dependency_tracking" != xno; then
3467  AMDEP_TRUE=
3468  AMDEP_FALSE='#'
3469else
3470  AMDEP_TRUE='#'
3471  AMDEP_FALSE=
3472fi
3473
3474
3475ac_ext=c
3476ac_cpp='$CPP $CPPFLAGS'
3477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3479ac_compiler_gnu=$ac_cv_c_compiler_gnu
3480if test -n "$ac_tool_prefix"; then
3481  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3482set dummy ${ac_tool_prefix}gcc; ac_word=$2
3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484$as_echo_n "checking for $ac_word... " >&6; }
3485if ${ac_cv_prog_CC+:} false; then :
3486  $as_echo_n "(cached) " >&6
3487else
3488  if test -n "$CC"; then
3489  ac_cv_prog_CC="$CC" # Let the user override the test.
3490else
3491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492for as_dir in $PATH
3493do
3494  IFS=$as_save_IFS
3495  test -z "$as_dir" && as_dir=.
3496    for ac_exec_ext in '' $ac_executable_extensions; do
3497  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3498    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3499    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500    break 2
3501  fi
3502done
3503  done
3504IFS=$as_save_IFS
3505
3506fi
3507fi
3508CC=$ac_cv_prog_CC
3509if test -n "$CC"; then
3510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3511$as_echo "$CC" >&6; }
3512else
3513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514$as_echo "no" >&6; }
3515fi
3516
3517
3518fi
3519if test -z "$ac_cv_prog_CC"; then
3520  ac_ct_CC=$CC
3521  # Extract the first word of "gcc", so it can be a program name with args.
3522set dummy gcc; ac_word=$2
3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524$as_echo_n "checking for $ac_word... " >&6; }
3525if ${ac_cv_prog_ac_ct_CC+:} false; then :
3526  $as_echo_n "(cached) " >&6
3527else
3528  if test -n "$ac_ct_CC"; then
3529  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3530else
3531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532for as_dir in $PATH
3533do
3534  IFS=$as_save_IFS
3535  test -z "$as_dir" && as_dir=.
3536    for ac_exec_ext in '' $ac_executable_extensions; do
3537  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3538    ac_cv_prog_ac_ct_CC="gcc"
3539    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540    break 2
3541  fi
3542done
3543  done
3544IFS=$as_save_IFS
3545
3546fi
3547fi
3548ac_ct_CC=$ac_cv_prog_ac_ct_CC
3549if test -n "$ac_ct_CC"; then
3550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3551$as_echo "$ac_ct_CC" >&6; }
3552else
3553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554$as_echo "no" >&6; }
3555fi
3556
3557  if test "x$ac_ct_CC" = x; then
3558    CC=""
3559  else
3560    case $cross_compiling:$ac_tool_warned in
3561yes:)
3562{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3563$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3564ac_tool_warned=yes ;;
3565esac
3566    CC=$ac_ct_CC
3567  fi
3568else
3569  CC="$ac_cv_prog_CC"
3570fi
3571
3572if test -z "$CC"; then
3573          if test -n "$ac_tool_prefix"; then
3574    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3575set dummy ${ac_tool_prefix}cc; ac_word=$2
3576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3577$as_echo_n "checking for $ac_word... " >&6; }
3578if ${ac_cv_prog_CC+:} false; then :
3579  $as_echo_n "(cached) " >&6
3580else
3581  if test -n "$CC"; then
3582  ac_cv_prog_CC="$CC" # Let the user override the test.
3583else
3584as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585for as_dir in $PATH
3586do
3587  IFS=$as_save_IFS
3588  test -z "$as_dir" && as_dir=.
3589    for ac_exec_ext in '' $ac_executable_extensions; do
3590  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3591    ac_cv_prog_CC="${ac_tool_prefix}cc"
3592    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3593    break 2
3594  fi
3595done
3596  done
3597IFS=$as_save_IFS
3598
3599fi
3600fi
3601CC=$ac_cv_prog_CC
3602if test -n "$CC"; then
3603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3604$as_echo "$CC" >&6; }
3605else
3606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607$as_echo "no" >&6; }
3608fi
3609
3610
3611  fi
3612fi
3613if test -z "$CC"; then
3614  # Extract the first word of "cc", so it can be a program name with args.
3615set dummy cc; ac_word=$2
3616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3617$as_echo_n "checking for $ac_word... " >&6; }
3618if ${ac_cv_prog_CC+:} false; then :
3619  $as_echo_n "(cached) " >&6
3620else
3621  if test -n "$CC"; then
3622  ac_cv_prog_CC="$CC" # Let the user override the test.
3623else
3624  ac_prog_rejected=no
3625as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3626for as_dir in $PATH
3627do
3628  IFS=$as_save_IFS
3629  test -z "$as_dir" && as_dir=.
3630    for ac_exec_ext in '' $ac_executable_extensions; do
3631  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3632    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3633       ac_prog_rejected=yes
3634       continue
3635     fi
3636    ac_cv_prog_CC="cc"
3637    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3638    break 2
3639  fi
3640done
3641  done
3642IFS=$as_save_IFS
3643
3644if test $ac_prog_rejected = yes; then
3645  # We found a bogon in the path, so make sure we never use it.
3646  set dummy $ac_cv_prog_CC
3647  shift
3648  if test $# != 0; then
3649    # We chose a different compiler from the bogus one.
3650    # However, it has the same basename, so the bogon will be chosen
3651    # first if we set CC to just the basename; use the full file name.
3652    shift
3653    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3654  fi
3655fi
3656fi
3657fi
3658CC=$ac_cv_prog_CC
3659if test -n "$CC"; then
3660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3661$as_echo "$CC" >&6; }
3662else
3663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3664$as_echo "no" >&6; }
3665fi
3666
3667
3668fi
3669if test -z "$CC"; then
3670  if test -n "$ac_tool_prefix"; then
3671  for ac_prog in cl.exe
3672  do
3673    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3674set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676$as_echo_n "checking for $ac_word... " >&6; }
3677if ${ac_cv_prog_CC+:} false; then :
3678  $as_echo_n "(cached) " >&6
3679else
3680  if test -n "$CC"; then
3681  ac_cv_prog_CC="$CC" # Let the user override the test.
3682else
3683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684for as_dir in $PATH
3685do
3686  IFS=$as_save_IFS
3687  test -z "$as_dir" && as_dir=.
3688    for ac_exec_ext in '' $ac_executable_extensions; do
3689  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3690    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3691    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3692    break 2
3693  fi
3694done
3695  done
3696IFS=$as_save_IFS
3697
3698fi
3699fi
3700CC=$ac_cv_prog_CC
3701if test -n "$CC"; then
3702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3703$as_echo "$CC" >&6; }
3704else
3705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706$as_echo "no" >&6; }
3707fi
3708
3709
3710    test -n "$CC" && break
3711  done
3712fi
3713if test -z "$CC"; then
3714  ac_ct_CC=$CC
3715  for ac_prog in cl.exe
3716do
3717  # Extract the first word of "$ac_prog", so it can be a program name with args.
3718set dummy $ac_prog; ac_word=$2
3719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3720$as_echo_n "checking for $ac_word... " >&6; }
3721if ${ac_cv_prog_ac_ct_CC+:} false; then :
3722  $as_echo_n "(cached) " >&6
3723else
3724  if test -n "$ac_ct_CC"; then
3725  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3726else
3727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3728for as_dir in $PATH
3729do
3730  IFS=$as_save_IFS
3731  test -z "$as_dir" && as_dir=.
3732    for ac_exec_ext in '' $ac_executable_extensions; do
3733  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3734    ac_cv_prog_ac_ct_CC="$ac_prog"
3735    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736    break 2
3737  fi
3738done
3739  done
3740IFS=$as_save_IFS
3741
3742fi
3743fi
3744ac_ct_CC=$ac_cv_prog_ac_ct_CC
3745if test -n "$ac_ct_CC"; then
3746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3747$as_echo "$ac_ct_CC" >&6; }
3748else
3749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750$as_echo "no" >&6; }
3751fi
3752
3753
3754  test -n "$ac_ct_CC" && break
3755done
3756
3757  if test "x$ac_ct_CC" = x; then
3758    CC=""
3759  else
3760    case $cross_compiling:$ac_tool_warned in
3761yes:)
3762{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3763$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3764ac_tool_warned=yes ;;
3765esac
3766    CC=$ac_ct_CC
3767  fi
3768fi
3769
3770fi
3771
3772
3773test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3774$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3775as_fn_error $? "no acceptable C compiler found in \$PATH
3776See \`config.log' for more details" "$LINENO" 5; }
3777
3778# Provide some information about the compiler.
3779$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3780set X $ac_compile
3781ac_compiler=$2
3782for ac_option in --version -v -V -qversion; do
3783  { { ac_try="$ac_compiler $ac_option >&5"
3784case "(($ac_try" in
3785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786  *) ac_try_echo=$ac_try;;
3787esac
3788eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3789$as_echo "$ac_try_echo"; } >&5
3790  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3791  ac_status=$?
3792  if test -s conftest.err; then
3793    sed '10a\
3794... rest of stderr output deleted ...
3795         10q' conftest.err >conftest.er1
3796    cat conftest.er1 >&5
3797  fi
3798  rm -f conftest.er1 conftest.err
3799  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3800  test $ac_status = 0; }
3801done
3802
3803cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804/* end confdefs.h.  */
3805
3806int
3807main ()
3808{
3809
3810  ;
3811  return 0;
3812}
3813_ACEOF
3814ac_clean_files_save=$ac_clean_files
3815ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3816# Try to create an executable without -o first, disregard a.out.
3817# It will help us diagnose broken compilers, and finding out an intuition
3818# of exeext.
3819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3820$as_echo_n "checking whether the C compiler works... " >&6; }
3821ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3822
3823# The possible output files:
3824ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3825
3826ac_rmfiles=
3827for ac_file in $ac_files
3828do
3829  case $ac_file in
3830    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3831    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3832  esac
3833done
3834rm -f $ac_rmfiles
3835
3836if { { ac_try="$ac_link_default"
3837case "(($ac_try" in
3838  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3839  *) ac_try_echo=$ac_try;;
3840esac
3841eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3842$as_echo "$ac_try_echo"; } >&5
3843  (eval "$ac_link_default") 2>&5
3844  ac_status=$?
3845  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3846  test $ac_status = 0; }; then :
3847  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3848# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3849# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3850# so that the user can short-circuit this test for compilers unknown to
3851# Autoconf.
3852for ac_file in $ac_files ''
3853do
3854  test -f "$ac_file" || continue
3855  case $ac_file in
3856    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3857	;;
3858    [ab].out )
3859	# We found the default executable, but exeext='' is most
3860	# certainly right.
3861	break;;
3862    *.* )
3863	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3864	then :; else
3865	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3866	fi
3867	# We set ac_cv_exeext here because the later test for it is not
3868	# safe: cross compilers may not add the suffix if given an `-o'
3869	# argument, so we may need to know it at that point already.
3870	# Even if this section looks crufty: it has the advantage of
3871	# actually working.
3872	break;;
3873    * )
3874	break;;
3875  esac
3876done
3877test "$ac_cv_exeext" = no && ac_cv_exeext=
3878
3879else
3880  ac_file=''
3881fi
3882if test -z "$ac_file"; then :
3883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3884$as_echo "no" >&6; }
3885$as_echo "$as_me: failed program was:" >&5
3886sed 's/^/| /' conftest.$ac_ext >&5
3887
3888{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3889$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3890as_fn_error 77 "C compiler cannot create executables
3891See \`config.log' for more details" "$LINENO" 5; }
3892else
3893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3894$as_echo "yes" >&6; }
3895fi
3896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3897$as_echo_n "checking for C compiler default output file name... " >&6; }
3898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3899$as_echo "$ac_file" >&6; }
3900ac_exeext=$ac_cv_exeext
3901
3902rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3903ac_clean_files=$ac_clean_files_save
3904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3905$as_echo_n "checking for suffix of executables... " >&6; }
3906if { { ac_try="$ac_link"
3907case "(($ac_try" in
3908  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909  *) ac_try_echo=$ac_try;;
3910esac
3911eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3912$as_echo "$ac_try_echo"; } >&5
3913  (eval "$ac_link") 2>&5
3914  ac_status=$?
3915  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3916  test $ac_status = 0; }; then :
3917  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3918# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3919# work properly (i.e., refer to `conftest.exe'), while it won't with
3920# `rm'.
3921for ac_file in conftest.exe conftest conftest.*; do
3922  test -f "$ac_file" || continue
3923  case $ac_file in
3924    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3925    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3926	  break;;
3927    * ) break;;
3928  esac
3929done
3930else
3931  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3932$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3934See \`config.log' for more details" "$LINENO" 5; }
3935fi
3936rm -f conftest conftest$ac_cv_exeext
3937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3938$as_echo "$ac_cv_exeext" >&6; }
3939
3940rm -f conftest.$ac_ext
3941EXEEXT=$ac_cv_exeext
3942ac_exeext=$EXEEXT
3943cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3944/* end confdefs.h.  */
3945#include <stdio.h>
3946int
3947main ()
3948{
3949FILE *f = fopen ("conftest.out", "w");
3950 return ferror (f) || fclose (f) != 0;
3951
3952  ;
3953  return 0;
3954}
3955_ACEOF
3956ac_clean_files="$ac_clean_files conftest.out"
3957# Check that the compiler produces executables we can run.  If not, either
3958# the compiler is broken, or we cross compile.
3959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3960$as_echo_n "checking whether we are cross compiling... " >&6; }
3961if test "$cross_compiling" != yes; then
3962  { { ac_try="$ac_link"
3963case "(($ac_try" in
3964  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965  *) ac_try_echo=$ac_try;;
3966esac
3967eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3968$as_echo "$ac_try_echo"; } >&5
3969  (eval "$ac_link") 2>&5
3970  ac_status=$?
3971  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972  test $ac_status = 0; }
3973  if { ac_try='./conftest$ac_cv_exeext'
3974  { { case "(($ac_try" in
3975  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976  *) ac_try_echo=$ac_try;;
3977esac
3978eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3979$as_echo "$ac_try_echo"; } >&5
3980  (eval "$ac_try") 2>&5
3981  ac_status=$?
3982  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3983  test $ac_status = 0; }; }; then
3984    cross_compiling=no
3985  else
3986    if test "$cross_compiling" = maybe; then
3987	cross_compiling=yes
3988    else
3989	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3990$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3991as_fn_error $? "cannot run C compiled programs.
3992If you meant to cross compile, use \`--host'.
3993See \`config.log' for more details" "$LINENO" 5; }
3994    fi
3995  fi
3996fi
3997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3998$as_echo "$cross_compiling" >&6; }
3999
4000rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4001ac_clean_files=$ac_clean_files_save
4002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4003$as_echo_n "checking for suffix of object files... " >&6; }
4004if ${ac_cv_objext+:} false; then :
4005  $as_echo_n "(cached) " >&6
4006else
4007  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4008/* end confdefs.h.  */
4009
4010int
4011main ()
4012{
4013
4014  ;
4015  return 0;
4016}
4017_ACEOF
4018rm -f conftest.o conftest.obj
4019if { { ac_try="$ac_compile"
4020case "(($ac_try" in
4021  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022  *) ac_try_echo=$ac_try;;
4023esac
4024eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4025$as_echo "$ac_try_echo"; } >&5
4026  (eval "$ac_compile") 2>&5
4027  ac_status=$?
4028  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4029  test $ac_status = 0; }; then :
4030  for ac_file in conftest.o conftest.obj conftest.*; do
4031  test -f "$ac_file" || continue;
4032  case $ac_file in
4033    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4034    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4035       break;;
4036  esac
4037done
4038else
4039  $as_echo "$as_me: failed program was:" >&5
4040sed 's/^/| /' conftest.$ac_ext >&5
4041
4042{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4043$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4044as_fn_error $? "cannot compute suffix of object files: cannot compile
4045See \`config.log' for more details" "$LINENO" 5; }
4046fi
4047rm -f conftest.$ac_cv_objext conftest.$ac_ext
4048fi
4049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4050$as_echo "$ac_cv_objext" >&6; }
4051OBJEXT=$ac_cv_objext
4052ac_objext=$OBJEXT
4053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4054$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4055if ${ac_cv_c_compiler_gnu+:} false; then :
4056  $as_echo_n "(cached) " >&6
4057else
4058  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059/* end confdefs.h.  */
4060
4061int
4062main ()
4063{
4064#ifndef __GNUC__
4065       choke me
4066#endif
4067
4068  ;
4069  return 0;
4070}
4071_ACEOF
4072if ac_fn_c_try_compile "$LINENO"; then :
4073  ac_compiler_gnu=yes
4074else
4075  ac_compiler_gnu=no
4076fi
4077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4078ac_cv_c_compiler_gnu=$ac_compiler_gnu
4079
4080fi
4081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4082$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4083if test $ac_compiler_gnu = yes; then
4084  GCC=yes
4085else
4086  GCC=
4087fi
4088ac_test_CFLAGS=${CFLAGS+set}
4089ac_save_CFLAGS=$CFLAGS
4090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4091$as_echo_n "checking whether $CC accepts -g... " >&6; }
4092if ${ac_cv_prog_cc_g+:} false; then :
4093  $as_echo_n "(cached) " >&6
4094else
4095  ac_save_c_werror_flag=$ac_c_werror_flag
4096   ac_c_werror_flag=yes
4097   ac_cv_prog_cc_g=no
4098   CFLAGS="-g"
4099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100/* end confdefs.h.  */
4101
4102int
4103main ()
4104{
4105
4106  ;
4107  return 0;
4108}
4109_ACEOF
4110if ac_fn_c_try_compile "$LINENO"; then :
4111  ac_cv_prog_cc_g=yes
4112else
4113  CFLAGS=""
4114      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115/* end confdefs.h.  */
4116
4117int
4118main ()
4119{
4120
4121  ;
4122  return 0;
4123}
4124_ACEOF
4125if ac_fn_c_try_compile "$LINENO"; then :
4126
4127else
4128  ac_c_werror_flag=$ac_save_c_werror_flag
4129	 CFLAGS="-g"
4130	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131/* end confdefs.h.  */
4132
4133int
4134main ()
4135{
4136
4137  ;
4138  return 0;
4139}
4140_ACEOF
4141if ac_fn_c_try_compile "$LINENO"; then :
4142  ac_cv_prog_cc_g=yes
4143fi
4144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4145fi
4146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147fi
4148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149   ac_c_werror_flag=$ac_save_c_werror_flag
4150fi
4151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4152$as_echo "$ac_cv_prog_cc_g" >&6; }
4153if test "$ac_test_CFLAGS" = set; then
4154  CFLAGS=$ac_save_CFLAGS
4155elif test $ac_cv_prog_cc_g = yes; then
4156  if test "$GCC" = yes; then
4157    CFLAGS="-g -O2"
4158  else
4159    CFLAGS="-g"
4160  fi
4161else
4162  if test "$GCC" = yes; then
4163    CFLAGS="-O2"
4164  else
4165    CFLAGS=
4166  fi
4167fi
4168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4169$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4170if ${ac_cv_prog_cc_c89+:} false; then :
4171  $as_echo_n "(cached) " >&6
4172else
4173  ac_cv_prog_cc_c89=no
4174ac_save_CC=$CC
4175cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176/* end confdefs.h.  */
4177#include <stdarg.h>
4178#include <stdio.h>
4179struct stat;
4180/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4181struct buf { int x; };
4182FILE * (*rcsopen) (struct buf *, struct stat *, int);
4183static char *e (p, i)
4184     char **p;
4185     int i;
4186{
4187  return p[i];
4188}
4189static char *f (char * (*g) (char **, int), char **p, ...)
4190{
4191  char *s;
4192  va_list v;
4193  va_start (v,p);
4194  s = g (p, va_arg (v,int));
4195  va_end (v);
4196  return s;
4197}
4198
4199/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4200   function prototypes and stuff, but not '\xHH' hex character constants.
4201   These don't provoke an error unfortunately, instead are silently treated
4202   as 'x'.  The following induces an error, until -std is added to get
4203   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4204   array size at least.  It's necessary to write '\x00'==0 to get something
4205   that's true only with -std.  */
4206int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4207
4208/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4209   inside strings and character constants.  */
4210#define FOO(x) 'x'
4211int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4212
4213int test (int i, double x);
4214struct s1 {int (*f) (int a);};
4215struct s2 {int (*f) (double a);};
4216int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4217int argc;
4218char **argv;
4219int
4220main ()
4221{
4222return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4223  ;
4224  return 0;
4225}
4226_ACEOF
4227for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4228	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4229do
4230  CC="$ac_save_CC $ac_arg"
4231  if ac_fn_c_try_compile "$LINENO"; then :
4232  ac_cv_prog_cc_c89=$ac_arg
4233fi
4234rm -f core conftest.err conftest.$ac_objext
4235  test "x$ac_cv_prog_cc_c89" != "xno" && break
4236done
4237rm -f conftest.$ac_ext
4238CC=$ac_save_CC
4239
4240fi
4241# AC_CACHE_VAL
4242case "x$ac_cv_prog_cc_c89" in
4243  x)
4244    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4245$as_echo "none needed" >&6; } ;;
4246  xno)
4247    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4248$as_echo "unsupported" >&6; } ;;
4249  *)
4250    CC="$CC $ac_cv_prog_cc_c89"
4251    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4252$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4253esac
4254if test "x$ac_cv_prog_cc_c89" != xno; then :
4255
4256fi
4257
4258ac_ext=c
4259ac_cpp='$CPP $CPPFLAGS'
4260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4262ac_compiler_gnu=$ac_cv_c_compiler_gnu
4263
4264ac_ext=c
4265ac_cpp='$CPP $CPPFLAGS'
4266ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4267ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4268ac_compiler_gnu=$ac_cv_c_compiler_gnu
4269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4270$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4271if ${am_cv_prog_cc_c_o+:} false; then :
4272  $as_echo_n "(cached) " >&6
4273else
4274  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275/* end confdefs.h.  */
4276
4277int
4278main ()
4279{
4280
4281  ;
4282  return 0;
4283}
4284_ACEOF
4285  # Make sure it works both with $CC and with simple cc.
4286  # Following AC_PROG_CC_C_O, we do the test twice because some
4287  # compilers refuse to overwrite an existing .o file with -o,
4288  # though they will create one.
4289  am_cv_prog_cc_c_o=yes
4290  for am_i in 1 2; do
4291    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4292   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4293   ac_status=$?
4294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295   (exit $ac_status); } \
4296         && test -f conftest2.$ac_objext; then
4297      : OK
4298    else
4299      am_cv_prog_cc_c_o=no
4300      break
4301    fi
4302  done
4303  rm -f core conftest*
4304  unset am_i
4305fi
4306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4307$as_echo "$am_cv_prog_cc_c_o" >&6; }
4308if test "$am_cv_prog_cc_c_o" != yes; then
4309   # Losing compiler, so override with the script.
4310   # FIXME: It is wrong to rewrite CC.
4311   # But if we don't then we get into trouble of one sort or another.
4312   # A longer-term fix would be to have automake use am__CC in this case,
4313   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4314   CC="$am_aux_dir/compile $CC"
4315fi
4316ac_ext=c
4317ac_cpp='$CPP $CPPFLAGS'
4318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4320ac_compiler_gnu=$ac_cv_c_compiler_gnu
4321
4322
4323depcc="$CC"   am_compiler_list=
4324
4325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4326$as_echo_n "checking dependency style of $depcc... " >&6; }
4327if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4328  $as_echo_n "(cached) " >&6
4329else
4330  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4331  # We make a subdir and do the tests there.  Otherwise we can end up
4332  # making bogus files that we don't know about and never remove.  For
4333  # instance it was reported that on HP-UX the gcc test will end up
4334  # making a dummy file named 'D' -- because '-MD' means "put the output
4335  # in D".
4336  rm -rf conftest.dir
4337  mkdir conftest.dir
4338  # Copy depcomp to subdir because otherwise we won't find it if we're
4339  # using a relative directory.
4340  cp "$am_depcomp" conftest.dir
4341  cd conftest.dir
4342  # We will build objects and dependencies in a subdirectory because
4343  # it helps to detect inapplicable dependency modes.  For instance
4344  # both Tru64's cc and ICC support -MD to output dependencies as a
4345  # side effect of compilation, but ICC will put the dependencies in
4346  # the current directory while Tru64 will put them in the object
4347  # directory.
4348  mkdir sub
4349
4350  am_cv_CC_dependencies_compiler_type=none
4351  if test "$am_compiler_list" = ""; then
4352     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4353  fi
4354  am__universal=false
4355  case " $depcc " in #(
4356     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4357     esac
4358
4359  for depmode in $am_compiler_list; do
4360    # Setup a source with many dependencies, because some compilers
4361    # like to wrap large dependency lists on column 80 (with \), and
4362    # we should not choose a depcomp mode which is confused by this.
4363    #
4364    # We need to recreate these files for each test, as the compiler may
4365    # overwrite some of them when testing with obscure command lines.
4366    # This happens at least with the AIX C compiler.
4367    : > sub/conftest.c
4368    for i in 1 2 3 4 5 6; do
4369      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4370      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4371      # Solaris 10 /bin/sh.
4372      echo '/* dummy */' > sub/conftst$i.h
4373    done
4374    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4375
4376    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4377    # mode.  It turns out that the SunPro C++ compiler does not properly
4378    # handle '-M -o', and we need to detect this.  Also, some Intel
4379    # versions had trouble with output in subdirs.
4380    am__obj=sub/conftest.${OBJEXT-o}
4381    am__minus_obj="-o $am__obj"
4382    case $depmode in
4383    gcc)
4384      # This depmode causes a compiler race in universal mode.
4385      test "$am__universal" = false || continue
4386      ;;
4387    nosideeffect)
4388      # After this tag, mechanisms are not by side-effect, so they'll
4389      # only be used when explicitly requested.
4390      if test "x$enable_dependency_tracking" = xyes; then
4391	continue
4392      else
4393	break
4394      fi
4395      ;;
4396    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4397      # This compiler won't grok '-c -o', but also, the minuso test has
4398      # not run yet.  These depmodes are late enough in the game, and
4399      # so weak that their functioning should not be impacted.
4400      am__obj=conftest.${OBJEXT-o}
4401      am__minus_obj=
4402      ;;
4403    none) break ;;
4404    esac
4405    if depmode=$depmode \
4406       source=sub/conftest.c object=$am__obj \
4407       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4408       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4409         >/dev/null 2>conftest.err &&
4410       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4411       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4412       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4413       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4414      # icc doesn't choke on unknown options, it will just issue warnings
4415      # or remarks (even with -Werror).  So we grep stderr for any message
4416      # that says an option was ignored or not supported.
4417      # When given -MP, icc 7.0 and 7.1 complain thusly:
4418      #   icc: Command line warning: ignoring option '-M'; no argument required
4419      # The diagnosis changed in icc 8.0:
4420      #   icc: Command line remark: option '-MP' not supported
4421      if (grep 'ignoring option' conftest.err ||
4422          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4423        am_cv_CC_dependencies_compiler_type=$depmode
4424        break
4425      fi
4426    fi
4427  done
4428
4429  cd ..
4430  rm -rf conftest.dir
4431else
4432  am_cv_CC_dependencies_compiler_type=none
4433fi
4434
4435fi
4436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4437$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4438CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4439
4440 if
4441  test "x$enable_dependency_tracking" != xno \
4442  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4443  am__fastdepCC_TRUE=
4444  am__fastdepCC_FALSE='#'
4445else
4446  am__fastdepCC_TRUE='#'
4447  am__fastdepCC_FALSE=
4448fi
4449
4450
4451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4452$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4453if ${ac_cv_path_SED+:} false; then :
4454  $as_echo_n "(cached) " >&6
4455else
4456            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4457     for ac_i in 1 2 3 4 5 6 7; do
4458       ac_script="$ac_script$as_nl$ac_script"
4459     done
4460     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4461     { ac_script=; unset ac_script;}
4462     if test -z "$SED"; then
4463  ac_path_SED_found=false
4464  # Loop through the user's path and test for each of PROGNAME-LIST
4465  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466for as_dir in $PATH
4467do
4468  IFS=$as_save_IFS
4469  test -z "$as_dir" && as_dir=.
4470    for ac_prog in sed gsed; do
4471    for ac_exec_ext in '' $ac_executable_extensions; do
4472      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4473      as_fn_executable_p "$ac_path_SED" || continue
4474# Check for GNU ac_path_SED and select it if it is found.
4475  # Check for GNU $ac_path_SED
4476case `"$ac_path_SED" --version 2>&1` in
4477*GNU*)
4478  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4479*)
4480  ac_count=0
4481  $as_echo_n 0123456789 >"conftest.in"
4482  while :
4483  do
4484    cat "conftest.in" "conftest.in" >"conftest.tmp"
4485    mv "conftest.tmp" "conftest.in"
4486    cp "conftest.in" "conftest.nl"
4487    $as_echo '' >> "conftest.nl"
4488    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4489    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4490    as_fn_arith $ac_count + 1 && ac_count=$as_val
4491    if test $ac_count -gt ${ac_path_SED_max-0}; then
4492      # Best one so far, save it but keep looking for a better one
4493      ac_cv_path_SED="$ac_path_SED"
4494      ac_path_SED_max=$ac_count
4495    fi
4496    # 10*(2^10) chars as input seems more than enough
4497    test $ac_count -gt 10 && break
4498  done
4499  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4500esac
4501
4502      $ac_path_SED_found && break 3
4503    done
4504  done
4505  done
4506IFS=$as_save_IFS
4507  if test -z "$ac_cv_path_SED"; then
4508    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4509  fi
4510else
4511  ac_cv_path_SED=$SED
4512fi
4513
4514fi
4515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4516$as_echo "$ac_cv_path_SED" >&6; }
4517 SED="$ac_cv_path_SED"
4518  rm -f conftest.sed
4519
4520test -z "$SED" && SED=sed
4521Xsed="$SED -e 1s/^X//"
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4534$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4535if ${ac_cv_path_GREP+:} false; then :
4536  $as_echo_n "(cached) " >&6
4537else
4538  if test -z "$GREP"; then
4539  ac_path_GREP_found=false
4540  # Loop through the user's path and test for each of PROGNAME-LIST
4541  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4543do
4544  IFS=$as_save_IFS
4545  test -z "$as_dir" && as_dir=.
4546    for ac_prog in grep ggrep; do
4547    for ac_exec_ext in '' $ac_executable_extensions; do
4548      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4549      as_fn_executable_p "$ac_path_GREP" || continue
4550# Check for GNU ac_path_GREP and select it if it is found.
4551  # Check for GNU $ac_path_GREP
4552case `"$ac_path_GREP" --version 2>&1` in
4553*GNU*)
4554  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4555*)
4556  ac_count=0
4557  $as_echo_n 0123456789 >"conftest.in"
4558  while :
4559  do
4560    cat "conftest.in" "conftest.in" >"conftest.tmp"
4561    mv "conftest.tmp" "conftest.in"
4562    cp "conftest.in" "conftest.nl"
4563    $as_echo 'GREP' >> "conftest.nl"
4564    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4565    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4566    as_fn_arith $ac_count + 1 && ac_count=$as_val
4567    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4568      # Best one so far, save it but keep looking for a better one
4569      ac_cv_path_GREP="$ac_path_GREP"
4570      ac_path_GREP_max=$ac_count
4571    fi
4572    # 10*(2^10) chars as input seems more than enough
4573    test $ac_count -gt 10 && break
4574  done
4575  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4576esac
4577
4578      $ac_path_GREP_found && break 3
4579    done
4580  done
4581  done
4582IFS=$as_save_IFS
4583  if test -z "$ac_cv_path_GREP"; then
4584    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4585  fi
4586else
4587  ac_cv_path_GREP=$GREP
4588fi
4589
4590fi
4591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4592$as_echo "$ac_cv_path_GREP" >&6; }
4593 GREP="$ac_cv_path_GREP"
4594
4595
4596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4597$as_echo_n "checking for egrep... " >&6; }
4598if ${ac_cv_path_EGREP+:} false; then :
4599  $as_echo_n "(cached) " >&6
4600else
4601  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4602   then ac_cv_path_EGREP="$GREP -E"
4603   else
4604     if test -z "$EGREP"; then
4605  ac_path_EGREP_found=false
4606  # Loop through the user's path and test for each of PROGNAME-LIST
4607  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4609do
4610  IFS=$as_save_IFS
4611  test -z "$as_dir" && as_dir=.
4612    for ac_prog in egrep; do
4613    for ac_exec_ext in '' $ac_executable_extensions; do
4614      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4615      as_fn_executable_p "$ac_path_EGREP" || continue
4616# Check for GNU ac_path_EGREP and select it if it is found.
4617  # Check for GNU $ac_path_EGREP
4618case `"$ac_path_EGREP" --version 2>&1` in
4619*GNU*)
4620  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4621*)
4622  ac_count=0
4623  $as_echo_n 0123456789 >"conftest.in"
4624  while :
4625  do
4626    cat "conftest.in" "conftest.in" >"conftest.tmp"
4627    mv "conftest.tmp" "conftest.in"
4628    cp "conftest.in" "conftest.nl"
4629    $as_echo 'EGREP' >> "conftest.nl"
4630    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4631    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4632    as_fn_arith $ac_count + 1 && ac_count=$as_val
4633    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4634      # Best one so far, save it but keep looking for a better one
4635      ac_cv_path_EGREP="$ac_path_EGREP"
4636      ac_path_EGREP_max=$ac_count
4637    fi
4638    # 10*(2^10) chars as input seems more than enough
4639    test $ac_count -gt 10 && break
4640  done
4641  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4642esac
4643
4644      $ac_path_EGREP_found && break 3
4645    done
4646  done
4647  done
4648IFS=$as_save_IFS
4649  if test -z "$ac_cv_path_EGREP"; then
4650    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4651  fi
4652else
4653  ac_cv_path_EGREP=$EGREP
4654fi
4655
4656   fi
4657fi
4658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4659$as_echo "$ac_cv_path_EGREP" >&6; }
4660 EGREP="$ac_cv_path_EGREP"
4661
4662
4663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4664$as_echo_n "checking for fgrep... " >&6; }
4665if ${ac_cv_path_FGREP+:} false; then :
4666  $as_echo_n "(cached) " >&6
4667else
4668  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4669   then ac_cv_path_FGREP="$GREP -F"
4670   else
4671     if test -z "$FGREP"; then
4672  ac_path_FGREP_found=false
4673  # Loop through the user's path and test for each of PROGNAME-LIST
4674  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4676do
4677  IFS=$as_save_IFS
4678  test -z "$as_dir" && as_dir=.
4679    for ac_prog in fgrep; do
4680    for ac_exec_ext in '' $ac_executable_extensions; do
4681      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4682      as_fn_executable_p "$ac_path_FGREP" || continue
4683# Check for GNU ac_path_FGREP and select it if it is found.
4684  # Check for GNU $ac_path_FGREP
4685case `"$ac_path_FGREP" --version 2>&1` in
4686*GNU*)
4687  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4688*)
4689  ac_count=0
4690  $as_echo_n 0123456789 >"conftest.in"
4691  while :
4692  do
4693    cat "conftest.in" "conftest.in" >"conftest.tmp"
4694    mv "conftest.tmp" "conftest.in"
4695    cp "conftest.in" "conftest.nl"
4696    $as_echo 'FGREP' >> "conftest.nl"
4697    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4698    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4699    as_fn_arith $ac_count + 1 && ac_count=$as_val
4700    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4701      # Best one so far, save it but keep looking for a better one
4702      ac_cv_path_FGREP="$ac_path_FGREP"
4703      ac_path_FGREP_max=$ac_count
4704    fi
4705    # 10*(2^10) chars as input seems more than enough
4706    test $ac_count -gt 10 && break
4707  done
4708  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4709esac
4710
4711      $ac_path_FGREP_found && break 3
4712    done
4713  done
4714  done
4715IFS=$as_save_IFS
4716  if test -z "$ac_cv_path_FGREP"; then
4717    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4718  fi
4719else
4720  ac_cv_path_FGREP=$FGREP
4721fi
4722
4723   fi
4724fi
4725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4726$as_echo "$ac_cv_path_FGREP" >&6; }
4727 FGREP="$ac_cv_path_FGREP"
4728
4729
4730test -z "$GREP" && GREP=grep
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750# Check whether --with-gnu-ld was given.
4751if test "${with_gnu_ld+set}" = set; then :
4752  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4753else
4754  with_gnu_ld=no
4755fi
4756
4757ac_prog=ld
4758if test yes = "$GCC"; then
4759  # Check if gcc -print-prog-name=ld gives a path.
4760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4761$as_echo_n "checking for ld used by $CC... " >&6; }
4762  case $host in
4763  *-*-mingw*)
4764    # gcc leaves a trailing carriage return, which upsets mingw
4765    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4766  *)
4767    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4768  esac
4769  case $ac_prog in
4770    # Accept absolute paths.
4771    [\\/]* | ?:[\\/]*)
4772      re_direlt='/[^/][^/]*/\.\./'
4773      # Canonicalize the pathname of ld
4774      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4775      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4776	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4777      done
4778      test -z "$LD" && LD=$ac_prog
4779      ;;
4780  "")
4781    # If it fails, then pretend we aren't using GCC.
4782    ac_prog=ld
4783    ;;
4784  *)
4785    # If it is relative, then search for the first ld in PATH.
4786    with_gnu_ld=unknown
4787    ;;
4788  esac
4789elif test yes = "$with_gnu_ld"; then
4790  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4791$as_echo_n "checking for GNU ld... " >&6; }
4792else
4793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4794$as_echo_n "checking for non-GNU ld... " >&6; }
4795fi
4796if ${lt_cv_path_LD+:} false; then :
4797  $as_echo_n "(cached) " >&6
4798else
4799  if test -z "$LD"; then
4800  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4801  for ac_dir in $PATH; do
4802    IFS=$lt_save_ifs
4803    test -z "$ac_dir" && ac_dir=.
4804    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4805      lt_cv_path_LD=$ac_dir/$ac_prog
4806      # Check to see if the program is GNU ld.  I'd rather use --version,
4807      # but apparently some variants of GNU ld only accept -v.
4808      # Break only if it was the GNU/non-GNU ld that we prefer.
4809      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4810      *GNU* | *'with BFD'*)
4811	test no != "$with_gnu_ld" && break
4812	;;
4813      *)
4814	test yes != "$with_gnu_ld" && break
4815	;;
4816      esac
4817    fi
4818  done
4819  IFS=$lt_save_ifs
4820else
4821  lt_cv_path_LD=$LD # Let the user override the test with a path.
4822fi
4823fi
4824
4825LD=$lt_cv_path_LD
4826if test -n "$LD"; then
4827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4828$as_echo "$LD" >&6; }
4829else
4830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831$as_echo "no" >&6; }
4832fi
4833test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4835$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4836if ${lt_cv_prog_gnu_ld+:} false; then :
4837  $as_echo_n "(cached) " >&6
4838else
4839  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4840case `$LD -v 2>&1 </dev/null` in
4841*GNU* | *'with BFD'*)
4842  lt_cv_prog_gnu_ld=yes
4843  ;;
4844*)
4845  lt_cv_prog_gnu_ld=no
4846  ;;
4847esac
4848fi
4849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4850$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4851with_gnu_ld=$lt_cv_prog_gnu_ld
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4862$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4863if ${lt_cv_path_NM+:} false; then :
4864  $as_echo_n "(cached) " >&6
4865else
4866  if test -n "$NM"; then
4867  # Let the user override the test.
4868  lt_cv_path_NM=$NM
4869else
4870  lt_nm_to_check=${ac_tool_prefix}nm
4871  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4872    lt_nm_to_check="$lt_nm_to_check nm"
4873  fi
4874  for lt_tmp_nm in $lt_nm_to_check; do
4875    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4876    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4877      IFS=$lt_save_ifs
4878      test -z "$ac_dir" && ac_dir=.
4879      tmp_nm=$ac_dir/$lt_tmp_nm
4880      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4881	# Check to see if the nm accepts a BSD-compat flag.
4882	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4883	#   nm: unknown option "B" ignored
4884	# Tru64's nm complains that /dev/null is an invalid object file
4885	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4886	case $build_os in
4887	mingw*) lt_bad_file=conftest.nm/nofile ;;
4888	*) lt_bad_file=/dev/null ;;
4889	esac
4890	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4891	*$lt_bad_file* | *'Invalid file or object type'*)
4892	  lt_cv_path_NM="$tmp_nm -B"
4893	  break 2
4894	  ;;
4895	*)
4896	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4897	  */dev/null*)
4898	    lt_cv_path_NM="$tmp_nm -p"
4899	    break 2
4900	    ;;
4901	  *)
4902	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4903	    continue # so that we can try to find one that supports BSD flags
4904	    ;;
4905	  esac
4906	  ;;
4907	esac
4908      fi
4909    done
4910    IFS=$lt_save_ifs
4911  done
4912  : ${lt_cv_path_NM=no}
4913fi
4914fi
4915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4916$as_echo "$lt_cv_path_NM" >&6; }
4917if test no != "$lt_cv_path_NM"; then
4918  NM=$lt_cv_path_NM
4919else
4920  # Didn't find any BSD compatible name lister, look for dumpbin.
4921  if test -n "$DUMPBIN"; then :
4922    # Let the user override the test.
4923  else
4924    if test -n "$ac_tool_prefix"; then
4925  for ac_prog in dumpbin "link -dump"
4926  do
4927    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4928set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4930$as_echo_n "checking for $ac_word... " >&6; }
4931if ${ac_cv_prog_DUMPBIN+:} false; then :
4932  $as_echo_n "(cached) " >&6
4933else
4934  if test -n "$DUMPBIN"; then
4935  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4936else
4937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938for as_dir in $PATH
4939do
4940  IFS=$as_save_IFS
4941  test -z "$as_dir" && as_dir=.
4942    for ac_exec_ext in '' $ac_executable_extensions; do
4943  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4944    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4945    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946    break 2
4947  fi
4948done
4949  done
4950IFS=$as_save_IFS
4951
4952fi
4953fi
4954DUMPBIN=$ac_cv_prog_DUMPBIN
4955if test -n "$DUMPBIN"; then
4956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4957$as_echo "$DUMPBIN" >&6; }
4958else
4959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960$as_echo "no" >&6; }
4961fi
4962
4963
4964    test -n "$DUMPBIN" && break
4965  done
4966fi
4967if test -z "$DUMPBIN"; then
4968  ac_ct_DUMPBIN=$DUMPBIN
4969  for ac_prog in dumpbin "link -dump"
4970do
4971  # Extract the first word of "$ac_prog", so it can be a program name with args.
4972set dummy $ac_prog; ac_word=$2
4973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974$as_echo_n "checking for $ac_word... " >&6; }
4975if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4976  $as_echo_n "(cached) " >&6
4977else
4978  if test -n "$ac_ct_DUMPBIN"; then
4979  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4980else
4981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982for as_dir in $PATH
4983do
4984  IFS=$as_save_IFS
4985  test -z "$as_dir" && as_dir=.
4986    for ac_exec_ext in '' $ac_executable_extensions; do
4987  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4988    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4989    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990    break 2
4991  fi
4992done
4993  done
4994IFS=$as_save_IFS
4995
4996fi
4997fi
4998ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4999if test -n "$ac_ct_DUMPBIN"; then
5000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5001$as_echo "$ac_ct_DUMPBIN" >&6; }
5002else
5003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004$as_echo "no" >&6; }
5005fi
5006
5007
5008  test -n "$ac_ct_DUMPBIN" && break
5009done
5010
5011  if test "x$ac_ct_DUMPBIN" = x; then
5012    DUMPBIN=":"
5013  else
5014    case $cross_compiling:$ac_tool_warned in
5015yes:)
5016{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5017$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5018ac_tool_warned=yes ;;
5019esac
5020    DUMPBIN=$ac_ct_DUMPBIN
5021  fi
5022fi
5023
5024    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5025    *COFF*)
5026      DUMPBIN="$DUMPBIN -symbols -headers"
5027      ;;
5028    *)
5029      DUMPBIN=:
5030      ;;
5031    esac
5032  fi
5033
5034  if test : != "$DUMPBIN"; then
5035    NM=$DUMPBIN
5036  fi
5037fi
5038test -z "$NM" && NM=nm
5039
5040
5041
5042
5043
5044
5045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5046$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5047if ${lt_cv_nm_interface+:} false; then :
5048  $as_echo_n "(cached) " >&6
5049else
5050  lt_cv_nm_interface="BSD nm"
5051  echo "int some_variable = 0;" > conftest.$ac_ext
5052  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5053  (eval "$ac_compile" 2>conftest.err)
5054  cat conftest.err >&5
5055  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5056  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5057  cat conftest.err >&5
5058  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5059  cat conftest.out >&5
5060  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5061    lt_cv_nm_interface="MS dumpbin"
5062  fi
5063  rm -f conftest*
5064fi
5065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5066$as_echo "$lt_cv_nm_interface" >&6; }
5067
5068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5069$as_echo_n "checking whether ln -s works... " >&6; }
5070LN_S=$as_ln_s
5071if test "$LN_S" = "ln -s"; then
5072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5073$as_echo "yes" >&6; }
5074else
5075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5076$as_echo "no, using $LN_S" >&6; }
5077fi
5078
5079# find the maximum length of command line arguments
5080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5081$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5082if ${lt_cv_sys_max_cmd_len+:} false; then :
5083  $as_echo_n "(cached) " >&6
5084else
5085    i=0
5086  teststring=ABCD
5087
5088  case $build_os in
5089  msdosdjgpp*)
5090    # On DJGPP, this test can blow up pretty badly due to problems in libc
5091    # (any single argument exceeding 2000 bytes causes a buffer overrun
5092    # during glob expansion).  Even if it were fixed, the result of this
5093    # check would be larger than it should be.
5094    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5095    ;;
5096
5097  gnu*)
5098    # Under GNU Hurd, this test is not required because there is
5099    # no limit to the length of command line arguments.
5100    # Libtool will interpret -1 as no limit whatsoever
5101    lt_cv_sys_max_cmd_len=-1;
5102    ;;
5103
5104  cygwin* | mingw* | cegcc*)
5105    # On Win9x/ME, this test blows up -- it succeeds, but takes
5106    # about 5 minutes as the teststring grows exponentially.
5107    # Worse, since 9x/ME are not pre-emptively multitasking,
5108    # you end up with a "frozen" computer, even though with patience
5109    # the test eventually succeeds (with a max line length of 256k).
5110    # Instead, let's just punt: use the minimum linelength reported by
5111    # all of the supported platforms: 8192 (on NT/2K/XP).
5112    lt_cv_sys_max_cmd_len=8192;
5113    ;;
5114
5115  mint*)
5116    # On MiNT this can take a long time and run out of memory.
5117    lt_cv_sys_max_cmd_len=8192;
5118    ;;
5119
5120  amigaos*)
5121    # On AmigaOS with pdksh, this test takes hours, literally.
5122    # So we just punt and use a minimum line length of 8192.
5123    lt_cv_sys_max_cmd_len=8192;
5124    ;;
5125
5126  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5127    # This has been around since 386BSD, at least.  Likely further.
5128    if test -x /sbin/sysctl; then
5129      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5130    elif test -x /usr/sbin/sysctl; then
5131      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5132    else
5133      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5134    fi
5135    # And add a safety zone
5136    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5137    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5138    ;;
5139
5140  interix*)
5141    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5142    lt_cv_sys_max_cmd_len=196608
5143    ;;
5144
5145  os2*)
5146    # The test takes a long time on OS/2.
5147    lt_cv_sys_max_cmd_len=8192
5148    ;;
5149
5150  osf*)
5151    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5152    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5153    # nice to cause kernel panics so lets avoid the loop below.
5154    # First set a reasonable default.
5155    lt_cv_sys_max_cmd_len=16384
5156    #
5157    if test -x /sbin/sysconfig; then
5158      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5159        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5160      esac
5161    fi
5162    ;;
5163  sco3.2v5*)
5164    lt_cv_sys_max_cmd_len=102400
5165    ;;
5166  sysv5* | sco5v6* | sysv4.2uw2*)
5167    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5168    if test -n "$kargmax"; then
5169      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5170    else
5171      lt_cv_sys_max_cmd_len=32768
5172    fi
5173    ;;
5174  *)
5175    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5176    if test -n "$lt_cv_sys_max_cmd_len" && \
5177       test undefined != "$lt_cv_sys_max_cmd_len"; then
5178      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5179      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5180    else
5181      # Make teststring a little bigger before we do anything with it.
5182      # a 1K string should be a reasonable start.
5183      for i in 1 2 3 4 5 6 7 8; do
5184        teststring=$teststring$teststring
5185      done
5186      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5187      # If test is not a shell built-in, we'll probably end up computing a
5188      # maximum length that is only half of the actual maximum length, but
5189      # we can't tell.
5190      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5191	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5192	      test 17 != "$i" # 1/2 MB should be enough
5193      do
5194        i=`expr $i + 1`
5195        teststring=$teststring$teststring
5196      done
5197      # Only check the string length outside the loop.
5198      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5199      teststring=
5200      # Add a significant safety factor because C++ compilers can tack on
5201      # massive amounts of additional arguments before passing them to the
5202      # linker.  It appears as though 1/2 is a usable value.
5203      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5204    fi
5205    ;;
5206  esac
5207
5208fi
5209
5210if test -n "$lt_cv_sys_max_cmd_len"; then
5211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5212$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5213else
5214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5215$as_echo "none" >&6; }
5216fi
5217max_cmd_len=$lt_cv_sys_max_cmd_len
5218
5219
5220
5221
5222
5223
5224: ${CP="cp -f"}
5225: ${MV="mv -f"}
5226: ${RM="rm -f"}
5227
5228if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5229  lt_unset=unset
5230else
5231  lt_unset=false
5232fi
5233
5234
5235
5236
5237
5238# test EBCDIC or ASCII
5239case `echo X|tr X '\101'` in
5240 A) # ASCII based system
5241    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5242  lt_SP2NL='tr \040 \012'
5243  lt_NL2SP='tr \015\012 \040\040'
5244  ;;
5245 *) # EBCDIC based system
5246  lt_SP2NL='tr \100 \n'
5247  lt_NL2SP='tr \r\n \100\100'
5248  ;;
5249esac
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5260$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5261if ${lt_cv_to_host_file_cmd+:} false; then :
5262  $as_echo_n "(cached) " >&6
5263else
5264  case $host in
5265  *-*-mingw* )
5266    case $build in
5267      *-*-mingw* ) # actually msys
5268        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5269        ;;
5270      *-*-cygwin* )
5271        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5272        ;;
5273      * ) # otherwise, assume *nix
5274        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5275        ;;
5276    esac
5277    ;;
5278  *-*-cygwin* )
5279    case $build in
5280      *-*-mingw* ) # actually msys
5281        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5282        ;;
5283      *-*-cygwin* )
5284        lt_cv_to_host_file_cmd=func_convert_file_noop
5285        ;;
5286      * ) # otherwise, assume *nix
5287        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5288        ;;
5289    esac
5290    ;;
5291  * ) # unhandled hosts (and "normal" native builds)
5292    lt_cv_to_host_file_cmd=func_convert_file_noop
5293    ;;
5294esac
5295
5296fi
5297
5298to_host_file_cmd=$lt_cv_to_host_file_cmd
5299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5300$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5301
5302
5303
5304
5305
5306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5307$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5308if ${lt_cv_to_tool_file_cmd+:} false; then :
5309  $as_echo_n "(cached) " >&6
5310else
5311  #assume ordinary cross tools, or native build.
5312lt_cv_to_tool_file_cmd=func_convert_file_noop
5313case $host in
5314  *-*-mingw* )
5315    case $build in
5316      *-*-mingw* ) # actually msys
5317        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5318        ;;
5319    esac
5320    ;;
5321esac
5322
5323fi
5324
5325to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5327$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5328
5329
5330
5331
5332
5333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5334$as_echo_n "checking for $LD option to reload object files... " >&6; }
5335if ${lt_cv_ld_reload_flag+:} false; then :
5336  $as_echo_n "(cached) " >&6
5337else
5338  lt_cv_ld_reload_flag='-r'
5339fi
5340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5341$as_echo "$lt_cv_ld_reload_flag" >&6; }
5342reload_flag=$lt_cv_ld_reload_flag
5343case $reload_flag in
5344"" | " "*) ;;
5345*) reload_flag=" $reload_flag" ;;
5346esac
5347reload_cmds='$LD$reload_flag -o $output$reload_objs'
5348case $host_os in
5349  cygwin* | mingw* | pw32* | cegcc*)
5350    if test yes != "$GCC"; then
5351      reload_cmds=false
5352    fi
5353    ;;
5354  darwin*)
5355    if test yes = "$GCC"; then
5356      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5357    else
5358      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5359    fi
5360    ;;
5361esac
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371if test -n "$ac_tool_prefix"; then
5372  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5373set dummy ${ac_tool_prefix}objdump; ac_word=$2
5374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375$as_echo_n "checking for $ac_word... " >&6; }
5376if ${ac_cv_prog_OBJDUMP+:} false; then :
5377  $as_echo_n "(cached) " >&6
5378else
5379  if test -n "$OBJDUMP"; then
5380  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5381else
5382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383for as_dir in $PATH
5384do
5385  IFS=$as_save_IFS
5386  test -z "$as_dir" && as_dir=.
5387    for ac_exec_ext in '' $ac_executable_extensions; do
5388  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5390    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391    break 2
5392  fi
5393done
5394  done
5395IFS=$as_save_IFS
5396
5397fi
5398fi
5399OBJDUMP=$ac_cv_prog_OBJDUMP
5400if test -n "$OBJDUMP"; then
5401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5402$as_echo "$OBJDUMP" >&6; }
5403else
5404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405$as_echo "no" >&6; }
5406fi
5407
5408
5409fi
5410if test -z "$ac_cv_prog_OBJDUMP"; then
5411  ac_ct_OBJDUMP=$OBJDUMP
5412  # Extract the first word of "objdump", so it can be a program name with args.
5413set dummy objdump; ac_word=$2
5414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415$as_echo_n "checking for $ac_word... " >&6; }
5416if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5417  $as_echo_n "(cached) " >&6
5418else
5419  if test -n "$ac_ct_OBJDUMP"; then
5420  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5421else
5422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423for as_dir in $PATH
5424do
5425  IFS=$as_save_IFS
5426  test -z "$as_dir" && as_dir=.
5427    for ac_exec_ext in '' $ac_executable_extensions; do
5428  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5429    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5430    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5431    break 2
5432  fi
5433done
5434  done
5435IFS=$as_save_IFS
5436
5437fi
5438fi
5439ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5440if test -n "$ac_ct_OBJDUMP"; then
5441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5442$as_echo "$ac_ct_OBJDUMP" >&6; }
5443else
5444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445$as_echo "no" >&6; }
5446fi
5447
5448  if test "x$ac_ct_OBJDUMP" = x; then
5449    OBJDUMP="false"
5450  else
5451    case $cross_compiling:$ac_tool_warned in
5452yes:)
5453{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5454$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5455ac_tool_warned=yes ;;
5456esac
5457    OBJDUMP=$ac_ct_OBJDUMP
5458  fi
5459else
5460  OBJDUMP="$ac_cv_prog_OBJDUMP"
5461fi
5462
5463test -z "$OBJDUMP" && OBJDUMP=objdump
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5474$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5475if ${lt_cv_deplibs_check_method+:} false; then :
5476  $as_echo_n "(cached) " >&6
5477else
5478  lt_cv_file_magic_cmd='$MAGIC_CMD'
5479lt_cv_file_magic_test_file=
5480lt_cv_deplibs_check_method='unknown'
5481# Need to set the preceding variable on all platforms that support
5482# interlibrary dependencies.
5483# 'none' -- dependencies not supported.
5484# 'unknown' -- same as none, but documents that we really don't know.
5485# 'pass_all' -- all dependencies passed with no checks.
5486# 'test_compile' -- check by making test program.
5487# 'file_magic [[regex]]' -- check by looking for files in library path
5488# that responds to the $file_magic_cmd with a given extended regex.
5489# If you have 'file' or equivalent on your system and you're not sure
5490# whether 'pass_all' will *always* work, you probably want this one.
5491
5492case $host_os in
5493aix[4-9]*)
5494  lt_cv_deplibs_check_method=pass_all
5495  ;;
5496
5497beos*)
5498  lt_cv_deplibs_check_method=pass_all
5499  ;;
5500
5501bsdi[45]*)
5502  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5503  lt_cv_file_magic_cmd='/usr/bin/file -L'
5504  lt_cv_file_magic_test_file=/shlib/libc.so
5505  ;;
5506
5507cygwin*)
5508  # func_win32_libid is a shell function defined in ltmain.sh
5509  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5510  lt_cv_file_magic_cmd='func_win32_libid'
5511  ;;
5512
5513mingw* | pw32*)
5514  # Base MSYS/MinGW do not provide the 'file' command needed by
5515  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5516  # unless we find 'file', for example because we are cross-compiling.
5517  if ( file / ) >/dev/null 2>&1; then
5518    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5519    lt_cv_file_magic_cmd='func_win32_libid'
5520  else
5521    # Keep this pattern in sync with the one in func_win32_libid.
5522    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5523    lt_cv_file_magic_cmd='$OBJDUMP -f'
5524  fi
5525  ;;
5526
5527cegcc*)
5528  # use the weaker test based on 'objdump'. See mingw*.
5529  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5530  lt_cv_file_magic_cmd='$OBJDUMP -f'
5531  ;;
5532
5533darwin* | rhapsody*)
5534  lt_cv_deplibs_check_method=pass_all
5535  ;;
5536
5537freebsd* | dragonfly*)
5538  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5539    case $host_cpu in
5540    i*86 )
5541      # Not sure whether the presence of OpenBSD here was a mistake.
5542      # Let's accept both of them until this is cleared up.
5543      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5544      lt_cv_file_magic_cmd=/usr/bin/file
5545      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5546      ;;
5547    esac
5548  else
5549    lt_cv_deplibs_check_method=pass_all
5550  fi
5551  ;;
5552
5553haiku*)
5554  lt_cv_deplibs_check_method=pass_all
5555  ;;
5556
5557hpux10.20* | hpux11*)
5558  lt_cv_file_magic_cmd=/usr/bin/file
5559  case $host_cpu in
5560  ia64*)
5561    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5562    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5563    ;;
5564  hppa*64*)
5565    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]'
5566    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5567    ;;
5568  *)
5569    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5570    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5571    ;;
5572  esac
5573  ;;
5574
5575interix[3-9]*)
5576  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5577  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5578  ;;
5579
5580irix5* | irix6* | nonstopux*)
5581  case $LD in
5582  *-32|*"-32 ") libmagic=32-bit;;
5583  *-n32|*"-n32 ") libmagic=N32;;
5584  *-64|*"-64 ") libmagic=64-bit;;
5585  *) libmagic=never-match;;
5586  esac
5587  lt_cv_deplibs_check_method=pass_all
5588  ;;
5589
5590# This must be glibc/ELF.
5591linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5592  lt_cv_deplibs_check_method=pass_all
5593  ;;
5594
5595netbsd* | netbsdelf*-gnu)
5596  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5597    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5598  else
5599    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5600  fi
5601  ;;
5602
5603newos6*)
5604  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5605  lt_cv_file_magic_cmd=/usr/bin/file
5606  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5607  ;;
5608
5609*nto* | *qnx*)
5610  lt_cv_deplibs_check_method=pass_all
5611  ;;
5612
5613openbsd* | bitrig*)
5614  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5615    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5616  else
5617    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5618  fi
5619  ;;
5620
5621osf3* | osf4* | osf5*)
5622  lt_cv_deplibs_check_method=pass_all
5623  ;;
5624
5625rdos*)
5626  lt_cv_deplibs_check_method=pass_all
5627  ;;
5628
5629solaris*)
5630  lt_cv_deplibs_check_method=pass_all
5631  ;;
5632
5633sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5634  lt_cv_deplibs_check_method=pass_all
5635  ;;
5636
5637sysv4 | sysv4.3*)
5638  case $host_vendor in
5639  motorola)
5640    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5641    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5642    ;;
5643  ncr)
5644    lt_cv_deplibs_check_method=pass_all
5645    ;;
5646  sequent)
5647    lt_cv_file_magic_cmd='/bin/file'
5648    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5649    ;;
5650  sni)
5651    lt_cv_file_magic_cmd='/bin/file'
5652    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5653    lt_cv_file_magic_test_file=/lib/libc.so
5654    ;;
5655  siemens)
5656    lt_cv_deplibs_check_method=pass_all
5657    ;;
5658  pc)
5659    lt_cv_deplibs_check_method=pass_all
5660    ;;
5661  esac
5662  ;;
5663
5664tpf*)
5665  lt_cv_deplibs_check_method=pass_all
5666  ;;
5667os2*)
5668  lt_cv_deplibs_check_method=pass_all
5669  ;;
5670esac
5671
5672fi
5673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5674$as_echo "$lt_cv_deplibs_check_method" >&6; }
5675
5676file_magic_glob=
5677want_nocaseglob=no
5678if test "$build" = "$host"; then
5679  case $host_os in
5680  mingw* | pw32*)
5681    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5682      want_nocaseglob=yes
5683    else
5684      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5685    fi
5686    ;;
5687  esac
5688fi
5689
5690file_magic_cmd=$lt_cv_file_magic_cmd
5691deplibs_check_method=$lt_cv_deplibs_check_method
5692test -z "$deplibs_check_method" && deplibs_check_method=unknown
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715if test -n "$ac_tool_prefix"; then
5716  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5717set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719$as_echo_n "checking for $ac_word... " >&6; }
5720if ${ac_cv_prog_DLLTOOL+:} false; then :
5721  $as_echo_n "(cached) " >&6
5722else
5723  if test -n "$DLLTOOL"; then
5724  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5725else
5726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727for as_dir in $PATH
5728do
5729  IFS=$as_save_IFS
5730  test -z "$as_dir" && as_dir=.
5731    for ac_exec_ext in '' $ac_executable_extensions; do
5732  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5733    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5734    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735    break 2
5736  fi
5737done
5738  done
5739IFS=$as_save_IFS
5740
5741fi
5742fi
5743DLLTOOL=$ac_cv_prog_DLLTOOL
5744if test -n "$DLLTOOL"; then
5745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5746$as_echo "$DLLTOOL" >&6; }
5747else
5748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749$as_echo "no" >&6; }
5750fi
5751
5752
5753fi
5754if test -z "$ac_cv_prog_DLLTOOL"; then
5755  ac_ct_DLLTOOL=$DLLTOOL
5756  # Extract the first word of "dlltool", so it can be a program name with args.
5757set dummy dlltool; ac_word=$2
5758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759$as_echo_n "checking for $ac_word... " >&6; }
5760if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5761  $as_echo_n "(cached) " >&6
5762else
5763  if test -n "$ac_ct_DLLTOOL"; then
5764  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5765else
5766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767for as_dir in $PATH
5768do
5769  IFS=$as_save_IFS
5770  test -z "$as_dir" && as_dir=.
5771    for ac_exec_ext in '' $ac_executable_extensions; do
5772  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5773    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5774    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775    break 2
5776  fi
5777done
5778  done
5779IFS=$as_save_IFS
5780
5781fi
5782fi
5783ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5784if test -n "$ac_ct_DLLTOOL"; then
5785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5786$as_echo "$ac_ct_DLLTOOL" >&6; }
5787else
5788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789$as_echo "no" >&6; }
5790fi
5791
5792  if test "x$ac_ct_DLLTOOL" = x; then
5793    DLLTOOL="false"
5794  else
5795    case $cross_compiling:$ac_tool_warned in
5796yes:)
5797{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5798$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5799ac_tool_warned=yes ;;
5800esac
5801    DLLTOOL=$ac_ct_DLLTOOL
5802  fi
5803else
5804  DLLTOOL="$ac_cv_prog_DLLTOOL"
5805fi
5806
5807test -z "$DLLTOOL" && DLLTOOL=dlltool
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5819$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5820if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5821  $as_echo_n "(cached) " >&6
5822else
5823  lt_cv_sharedlib_from_linklib_cmd='unknown'
5824
5825case $host_os in
5826cygwin* | mingw* | pw32* | cegcc*)
5827  # two different shell functions defined in ltmain.sh;
5828  # decide which one to use based on capabilities of $DLLTOOL
5829  case `$DLLTOOL --help 2>&1` in
5830  *--identify-strict*)
5831    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5832    ;;
5833  *)
5834    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5835    ;;
5836  esac
5837  ;;
5838*)
5839  # fallback: assume linklib IS sharedlib
5840  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5841  ;;
5842esac
5843
5844fi
5845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5846$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5847sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5848test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5849
5850
5851
5852
5853
5854
5855
5856
5857if test -n "$ac_tool_prefix"; then
5858  for ac_prog in ar
5859  do
5860    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5861set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863$as_echo_n "checking for $ac_word... " >&6; }
5864if ${ac_cv_prog_AR+:} false; then :
5865  $as_echo_n "(cached) " >&6
5866else
5867  if test -n "$AR"; then
5868  ac_cv_prog_AR="$AR" # Let the user override the test.
5869else
5870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871for as_dir in $PATH
5872do
5873  IFS=$as_save_IFS
5874  test -z "$as_dir" && as_dir=.
5875    for ac_exec_ext in '' $ac_executable_extensions; do
5876  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5877    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5878    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879    break 2
5880  fi
5881done
5882  done
5883IFS=$as_save_IFS
5884
5885fi
5886fi
5887AR=$ac_cv_prog_AR
5888if test -n "$AR"; then
5889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5890$as_echo "$AR" >&6; }
5891else
5892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893$as_echo "no" >&6; }
5894fi
5895
5896
5897    test -n "$AR" && break
5898  done
5899fi
5900if test -z "$AR"; then
5901  ac_ct_AR=$AR
5902  for ac_prog in ar
5903do
5904  # Extract the first word of "$ac_prog", so it can be a program name with args.
5905set dummy $ac_prog; ac_word=$2
5906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907$as_echo_n "checking for $ac_word... " >&6; }
5908if ${ac_cv_prog_ac_ct_AR+:} false; then :
5909  $as_echo_n "(cached) " >&6
5910else
5911  if test -n "$ac_ct_AR"; then
5912  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5913else
5914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915for as_dir in $PATH
5916do
5917  IFS=$as_save_IFS
5918  test -z "$as_dir" && as_dir=.
5919    for ac_exec_ext in '' $ac_executable_extensions; do
5920  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5921    ac_cv_prog_ac_ct_AR="$ac_prog"
5922    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923    break 2
5924  fi
5925done
5926  done
5927IFS=$as_save_IFS
5928
5929fi
5930fi
5931ac_ct_AR=$ac_cv_prog_ac_ct_AR
5932if test -n "$ac_ct_AR"; then
5933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5934$as_echo "$ac_ct_AR" >&6; }
5935else
5936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937$as_echo "no" >&6; }
5938fi
5939
5940
5941  test -n "$ac_ct_AR" && break
5942done
5943
5944  if test "x$ac_ct_AR" = x; then
5945    AR="false"
5946  else
5947    case $cross_compiling:$ac_tool_warned in
5948yes:)
5949{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5950$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5951ac_tool_warned=yes ;;
5952esac
5953    AR=$ac_ct_AR
5954  fi
5955fi
5956
5957: ${AR=ar}
5958: ${AR_FLAGS=cru}
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5971$as_echo_n "checking for archiver @FILE support... " >&6; }
5972if ${lt_cv_ar_at_file+:} false; then :
5973  $as_echo_n "(cached) " >&6
5974else
5975  lt_cv_ar_at_file=no
5976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5977/* end confdefs.h.  */
5978
5979int
5980main ()
5981{
5982
5983  ;
5984  return 0;
5985}
5986_ACEOF
5987if ac_fn_c_try_compile "$LINENO"; then :
5988  echo conftest.$ac_objext > conftest.lst
5989      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5990      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5991  (eval $lt_ar_try) 2>&5
5992  ac_status=$?
5993  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5994  test $ac_status = 0; }
5995      if test 0 -eq "$ac_status"; then
5996	# Ensure the archiver fails upon bogus file names.
5997	rm -f conftest.$ac_objext libconftest.a
5998	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5999  (eval $lt_ar_try) 2>&5
6000  ac_status=$?
6001  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6002  test $ac_status = 0; }
6003	if test 0 -ne "$ac_status"; then
6004          lt_cv_ar_at_file=@
6005        fi
6006      fi
6007      rm -f conftest.* libconftest.a
6008
6009fi
6010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6011
6012fi
6013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6014$as_echo "$lt_cv_ar_at_file" >&6; }
6015
6016if test no = "$lt_cv_ar_at_file"; then
6017  archiver_list_spec=
6018else
6019  archiver_list_spec=$lt_cv_ar_at_file
6020fi
6021
6022
6023
6024
6025
6026
6027
6028if test -n "$ac_tool_prefix"; then
6029  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6030set dummy ${ac_tool_prefix}strip; ac_word=$2
6031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032$as_echo_n "checking for $ac_word... " >&6; }
6033if ${ac_cv_prog_STRIP+:} false; then :
6034  $as_echo_n "(cached) " >&6
6035else
6036  if test -n "$STRIP"; then
6037  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6038else
6039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040for as_dir in $PATH
6041do
6042  IFS=$as_save_IFS
6043  test -z "$as_dir" && as_dir=.
6044    for ac_exec_ext in '' $ac_executable_extensions; do
6045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6046    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048    break 2
6049  fi
6050done
6051  done
6052IFS=$as_save_IFS
6053
6054fi
6055fi
6056STRIP=$ac_cv_prog_STRIP
6057if test -n "$STRIP"; then
6058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6059$as_echo "$STRIP" >&6; }
6060else
6061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062$as_echo "no" >&6; }
6063fi
6064
6065
6066fi
6067if test -z "$ac_cv_prog_STRIP"; then
6068  ac_ct_STRIP=$STRIP
6069  # Extract the first word of "strip", so it can be a program name with args.
6070set dummy strip; ac_word=$2
6071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072$as_echo_n "checking for $ac_word... " >&6; }
6073if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6074  $as_echo_n "(cached) " >&6
6075else
6076  if test -n "$ac_ct_STRIP"; then
6077  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6078else
6079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6080for as_dir in $PATH
6081do
6082  IFS=$as_save_IFS
6083  test -z "$as_dir" && as_dir=.
6084    for ac_exec_ext in '' $ac_executable_extensions; do
6085  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6086    ac_cv_prog_ac_ct_STRIP="strip"
6087    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6088    break 2
6089  fi
6090done
6091  done
6092IFS=$as_save_IFS
6093
6094fi
6095fi
6096ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6097if test -n "$ac_ct_STRIP"; then
6098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6099$as_echo "$ac_ct_STRIP" >&6; }
6100else
6101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102$as_echo "no" >&6; }
6103fi
6104
6105  if test "x$ac_ct_STRIP" = x; then
6106    STRIP=":"
6107  else
6108    case $cross_compiling:$ac_tool_warned in
6109yes:)
6110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6112ac_tool_warned=yes ;;
6113esac
6114    STRIP=$ac_ct_STRIP
6115  fi
6116else
6117  STRIP="$ac_cv_prog_STRIP"
6118fi
6119
6120test -z "$STRIP" && STRIP=:
6121
6122
6123
6124
6125
6126
6127if test -n "$ac_tool_prefix"; then
6128  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6129set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131$as_echo_n "checking for $ac_word... " >&6; }
6132if ${ac_cv_prog_RANLIB+:} false; then :
6133  $as_echo_n "(cached) " >&6
6134else
6135  if test -n "$RANLIB"; then
6136  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6137else
6138as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139for as_dir in $PATH
6140do
6141  IFS=$as_save_IFS
6142  test -z "$as_dir" && as_dir=.
6143    for ac_exec_ext in '' $ac_executable_extensions; do
6144  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6145    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6146    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147    break 2
6148  fi
6149done
6150  done
6151IFS=$as_save_IFS
6152
6153fi
6154fi
6155RANLIB=$ac_cv_prog_RANLIB
6156if test -n "$RANLIB"; then
6157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6158$as_echo "$RANLIB" >&6; }
6159else
6160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161$as_echo "no" >&6; }
6162fi
6163
6164
6165fi
6166if test -z "$ac_cv_prog_RANLIB"; then
6167  ac_ct_RANLIB=$RANLIB
6168  # Extract the first word of "ranlib", so it can be a program name with args.
6169set dummy ranlib; ac_word=$2
6170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171$as_echo_n "checking for $ac_word... " >&6; }
6172if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6173  $as_echo_n "(cached) " >&6
6174else
6175  if test -n "$ac_ct_RANLIB"; then
6176  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6177else
6178as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6179for as_dir in $PATH
6180do
6181  IFS=$as_save_IFS
6182  test -z "$as_dir" && as_dir=.
6183    for ac_exec_ext in '' $ac_executable_extensions; do
6184  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6185    ac_cv_prog_ac_ct_RANLIB="ranlib"
6186    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6187    break 2
6188  fi
6189done
6190  done
6191IFS=$as_save_IFS
6192
6193fi
6194fi
6195ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6196if test -n "$ac_ct_RANLIB"; then
6197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6198$as_echo "$ac_ct_RANLIB" >&6; }
6199else
6200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201$as_echo "no" >&6; }
6202fi
6203
6204  if test "x$ac_ct_RANLIB" = x; then
6205    RANLIB=":"
6206  else
6207    case $cross_compiling:$ac_tool_warned in
6208yes:)
6209{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6210$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6211ac_tool_warned=yes ;;
6212esac
6213    RANLIB=$ac_ct_RANLIB
6214  fi
6215else
6216  RANLIB="$ac_cv_prog_RANLIB"
6217fi
6218
6219test -z "$RANLIB" && RANLIB=:
6220
6221
6222
6223
6224
6225
6226# Determine commands to create old-style static archives.
6227old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6228old_postinstall_cmds='chmod 644 $oldlib'
6229old_postuninstall_cmds=
6230
6231if test -n "$RANLIB"; then
6232  case $host_os in
6233  bitrig* | openbsd*)
6234    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6235    ;;
6236  *)
6237    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6238    ;;
6239  esac
6240  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6241fi
6242
6243case $host_os in
6244  darwin*)
6245    lock_old_archive_extraction=yes ;;
6246  *)
6247    lock_old_archive_extraction=no ;;
6248esac
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288# If no C compiler was specified, use CC.
6289LTCC=${LTCC-"$CC"}
6290
6291# If no C compiler flags were specified, use CFLAGS.
6292LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6293
6294# Allow CC to be a program name with arguments.
6295compiler=$CC
6296
6297
6298# Check for command to grab the raw symbol name followed by C symbol from nm.
6299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6300$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6301if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6302  $as_echo_n "(cached) " >&6
6303else
6304
6305# These are sane defaults that work on at least a few old systems.
6306# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6307
6308# Character class describing NM global symbol codes.
6309symcode='[BCDEGRST]'
6310
6311# Regexp to match symbols that can be accessed directly from C.
6312sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6313
6314# Define system-specific variables.
6315case $host_os in
6316aix*)
6317  symcode='[BCDT]'
6318  ;;
6319cygwin* | mingw* | pw32* | cegcc*)
6320  symcode='[ABCDGISTW]'
6321  ;;
6322hpux*)
6323  if test ia64 = "$host_cpu"; then
6324    symcode='[ABCDEGRST]'
6325  fi
6326  ;;
6327irix* | nonstopux*)
6328  symcode='[BCDEGRST]'
6329  ;;
6330osf*)
6331  symcode='[BCDEGQRST]'
6332  ;;
6333solaris*)
6334  symcode='[BDRT]'
6335  ;;
6336sco3.2v5*)
6337  symcode='[DT]'
6338  ;;
6339sysv4.2uw2*)
6340  symcode='[DT]'
6341  ;;
6342sysv5* | sco5v6* | unixware* | OpenUNIX*)
6343  symcode='[ABDT]'
6344  ;;
6345sysv4)
6346  symcode='[DFNSTU]'
6347  ;;
6348esac
6349
6350# If we're using GNU nm, then use its standard symbol codes.
6351case `$NM -V 2>&1` in
6352*GNU* | *'with BFD'*)
6353  symcode='[ABCDGIRSTW]' ;;
6354esac
6355
6356if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6357  # Gets list of data symbols to import.
6358  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6359  # Adjust the below global symbol transforms to fixup imported variables.
6360  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6361  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6362  lt_c_name_lib_hook="\
6363  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6364  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6365else
6366  # Disable hooks by default.
6367  lt_cv_sys_global_symbol_to_import=
6368  lt_cdecl_hook=
6369  lt_c_name_hook=
6370  lt_c_name_lib_hook=
6371fi
6372
6373# Transform an extracted symbol line into a proper C declaration.
6374# Some systems (esp. on ia64) link data and code symbols differently,
6375# so use this general approach.
6376lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6377$lt_cdecl_hook\
6378" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6379" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6380
6381# Transform an extracted symbol line into symbol name and symbol address
6382lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6383$lt_c_name_hook\
6384" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6385" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6386
6387# Transform an extracted symbol line into symbol name with lib prefix and
6388# symbol address.
6389lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6390$lt_c_name_lib_hook\
6391" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6392" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6393" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6394
6395# Handle CRLF in mingw tool chain
6396opt_cr=
6397case $build_os in
6398mingw*)
6399  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6400  ;;
6401esac
6402
6403# Try without a prefix underscore, then with it.
6404for ac_symprfx in "" "_"; do
6405
6406  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6407  symxfrm="\\1 $ac_symprfx\\2 \\2"
6408
6409  # Write the raw and C identifiers.
6410  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6411    # Fake it for dumpbin and say T for any non-static function,
6412    # D for any global variable and I for any imported variable.
6413    # Also find C++ and __fastcall symbols from MSVC++,
6414    # which start with @ or ?.
6415    lt_cv_sys_global_symbol_pipe="$AWK '"\
6416"     {last_section=section; section=\$ 3};"\
6417"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6418"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6419"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6420"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6421"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6422"     \$ 0!~/External *\|/{next};"\
6423"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6424"     {if(hide[section]) next};"\
6425"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6426"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6427"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6428"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6429"     ' prfx=^$ac_symprfx"
6430  else
6431    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6432  fi
6433  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6434
6435  # Check to see that the pipe works correctly.
6436  pipe_works=no
6437
6438  rm -f conftest*
6439  cat > conftest.$ac_ext <<_LT_EOF
6440#ifdef __cplusplus
6441extern "C" {
6442#endif
6443char nm_test_var;
6444void nm_test_func(void);
6445void nm_test_func(void){}
6446#ifdef __cplusplus
6447}
6448#endif
6449int main(){nm_test_var='a';nm_test_func();return(0);}
6450_LT_EOF
6451
6452  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6453  (eval $ac_compile) 2>&5
6454  ac_status=$?
6455  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6456  test $ac_status = 0; }; then
6457    # Now try to grab the symbols.
6458    nlist=conftest.nm
6459    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6460  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6461  ac_status=$?
6462  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6463  test $ac_status = 0; } && test -s "$nlist"; then
6464      # Try sorting and uniquifying the output.
6465      if sort "$nlist" | uniq > "$nlist"T; then
6466	mv -f "$nlist"T "$nlist"
6467      else
6468	rm -f "$nlist"T
6469      fi
6470
6471      # Make sure that we snagged all the symbols we need.
6472      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6473	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6474	  cat <<_LT_EOF > conftest.$ac_ext
6475/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6476#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6477/* DATA imports from DLLs on WIN32 can't be const, because runtime
6478   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6479# define LT_DLSYM_CONST
6480#elif defined __osf__
6481/* This system does not cope well with relocations in const data.  */
6482# define LT_DLSYM_CONST
6483#else
6484# define LT_DLSYM_CONST const
6485#endif
6486
6487#ifdef __cplusplus
6488extern "C" {
6489#endif
6490
6491_LT_EOF
6492	  # Now generate the symbol file.
6493	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6494
6495	  cat <<_LT_EOF >> conftest.$ac_ext
6496
6497/* The mapping between symbol names and symbols.  */
6498LT_DLSYM_CONST struct {
6499  const char *name;
6500  void       *address;
6501}
6502lt__PROGRAM__LTX_preloaded_symbols[] =
6503{
6504  { "@PROGRAM@", (void *) 0 },
6505_LT_EOF
6506	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6507	  cat <<\_LT_EOF >> conftest.$ac_ext
6508  {0, (void *) 0}
6509};
6510
6511/* This works around a problem in FreeBSD linker */
6512#ifdef FREEBSD_WORKAROUND
6513static const void *lt_preloaded_setup() {
6514  return lt__PROGRAM__LTX_preloaded_symbols;
6515}
6516#endif
6517
6518#ifdef __cplusplus
6519}
6520#endif
6521_LT_EOF
6522	  # Now try linking the two files.
6523	  mv conftest.$ac_objext conftstm.$ac_objext
6524	  lt_globsym_save_LIBS=$LIBS
6525	  lt_globsym_save_CFLAGS=$CFLAGS
6526	  LIBS=conftstm.$ac_objext
6527	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6528	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6529  (eval $ac_link) 2>&5
6530  ac_status=$?
6531  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6532  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6533	    pipe_works=yes
6534	  fi
6535	  LIBS=$lt_globsym_save_LIBS
6536	  CFLAGS=$lt_globsym_save_CFLAGS
6537	else
6538	  echo "cannot find nm_test_func in $nlist" >&5
6539	fi
6540      else
6541	echo "cannot find nm_test_var in $nlist" >&5
6542      fi
6543    else
6544      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6545    fi
6546  else
6547    echo "$progname: failed program was:" >&5
6548    cat conftest.$ac_ext >&5
6549  fi
6550  rm -rf conftest* conftst*
6551
6552  # Do not use the global_symbol_pipe unless it works.
6553  if test yes = "$pipe_works"; then
6554    break
6555  else
6556    lt_cv_sys_global_symbol_pipe=
6557  fi
6558done
6559
6560fi
6561
6562if test -z "$lt_cv_sys_global_symbol_pipe"; then
6563  lt_cv_sys_global_symbol_to_cdecl=
6564fi
6565if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6567$as_echo "failed" >&6; }
6568else
6569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6570$as_echo "ok" >&6; }
6571fi
6572
6573# Response file support.
6574if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6575  nm_file_list_spec='@'
6576elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6577  nm_file_list_spec='@'
6578fi
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6617$as_echo_n "checking for sysroot... " >&6; }
6618
6619# Check whether --with-sysroot was given.
6620if test "${with_sysroot+set}" = set; then :
6621  withval=$with_sysroot;
6622else
6623  with_sysroot=no
6624fi
6625
6626
6627lt_sysroot=
6628case $with_sysroot in #(
6629 yes)
6630   if test yes = "$GCC"; then
6631     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6632   fi
6633   ;; #(
6634 /*)
6635   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6636   ;; #(
6637 no|'')
6638   ;; #(
6639 *)
6640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6641$as_echo "$with_sysroot" >&6; }
6642   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6643   ;;
6644esac
6645
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6647$as_echo "${lt_sysroot:-no}" >&6; }
6648
6649
6650
6651
6652
6653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6654$as_echo_n "checking for a working dd... " >&6; }
6655if ${ac_cv_path_lt_DD+:} false; then :
6656  $as_echo_n "(cached) " >&6
6657else
6658  printf 0123456789abcdef0123456789abcdef >conftest.i
6659cat conftest.i conftest.i >conftest2.i
6660: ${lt_DD:=$DD}
6661if test -z "$lt_DD"; then
6662  ac_path_lt_DD_found=false
6663  # Loop through the user's path and test for each of PROGNAME-LIST
6664  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665for as_dir in $PATH
6666do
6667  IFS=$as_save_IFS
6668  test -z "$as_dir" && as_dir=.
6669    for ac_prog in dd; do
6670    for ac_exec_ext in '' $ac_executable_extensions; do
6671      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6672      as_fn_executable_p "$ac_path_lt_DD" || continue
6673if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6674  cmp -s conftest.i conftest.out \
6675  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6676fi
6677      $ac_path_lt_DD_found && break 3
6678    done
6679  done
6680  done
6681IFS=$as_save_IFS
6682  if test -z "$ac_cv_path_lt_DD"; then
6683    :
6684  fi
6685else
6686  ac_cv_path_lt_DD=$lt_DD
6687fi
6688
6689rm -f conftest.i conftest2.i conftest.out
6690fi
6691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6692$as_echo "$ac_cv_path_lt_DD" >&6; }
6693
6694
6695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6696$as_echo_n "checking how to truncate binary pipes... " >&6; }
6697if ${lt_cv_truncate_bin+:} false; then :
6698  $as_echo_n "(cached) " >&6
6699else
6700  printf 0123456789abcdef0123456789abcdef >conftest.i
6701cat conftest.i conftest.i >conftest2.i
6702lt_cv_truncate_bin=
6703if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6704  cmp -s conftest.i conftest.out \
6705  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6706fi
6707rm -f conftest.i conftest2.i conftest.out
6708test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6709fi
6710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6711$as_echo "$lt_cv_truncate_bin" >&6; }
6712
6713
6714
6715
6716
6717
6718
6719# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6720func_cc_basename ()
6721{
6722    for cc_temp in $*""; do
6723      case $cc_temp in
6724        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6725        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6726        \-*) ;;
6727        *) break;;
6728      esac
6729    done
6730    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6731}
6732
6733# Check whether --enable-libtool-lock was given.
6734if test "${enable_libtool_lock+set}" = set; then :
6735  enableval=$enable_libtool_lock;
6736fi
6737
6738test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6739
6740# Some flags need to be propagated to the compiler or linker for good
6741# libtool support.
6742case $host in
6743ia64-*-hpux*)
6744  # Find out what ABI is being produced by ac_compile, and set mode
6745  # options accordingly.
6746  echo 'int i;' > conftest.$ac_ext
6747  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6748  (eval $ac_compile) 2>&5
6749  ac_status=$?
6750  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6751  test $ac_status = 0; }; then
6752    case `/usr/bin/file conftest.$ac_objext` in
6753      *ELF-32*)
6754	HPUX_IA64_MODE=32
6755	;;
6756      *ELF-64*)
6757	HPUX_IA64_MODE=64
6758	;;
6759    esac
6760  fi
6761  rm -rf conftest*
6762  ;;
6763*-*-irix6*)
6764  # Find out what ABI is being produced by ac_compile, and set linker
6765  # options accordingly.
6766  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6767  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6768  (eval $ac_compile) 2>&5
6769  ac_status=$?
6770  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6771  test $ac_status = 0; }; then
6772    if test yes = "$lt_cv_prog_gnu_ld"; then
6773      case `/usr/bin/file conftest.$ac_objext` in
6774	*32-bit*)
6775	  LD="${LD-ld} -melf32bsmip"
6776	  ;;
6777	*N32*)
6778	  LD="${LD-ld} -melf32bmipn32"
6779	  ;;
6780	*64-bit*)
6781	  LD="${LD-ld} -melf64bmip"
6782	;;
6783      esac
6784    else
6785      case `/usr/bin/file conftest.$ac_objext` in
6786	*32-bit*)
6787	  LD="${LD-ld} -32"
6788	  ;;
6789	*N32*)
6790	  LD="${LD-ld} -n32"
6791	  ;;
6792	*64-bit*)
6793	  LD="${LD-ld} -64"
6794	  ;;
6795      esac
6796    fi
6797  fi
6798  rm -rf conftest*
6799  ;;
6800
6801mips64*-*linux*)
6802  # Find out what ABI is being produced by ac_compile, and set linker
6803  # options accordingly.
6804  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6805  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6806  (eval $ac_compile) 2>&5
6807  ac_status=$?
6808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6809  test $ac_status = 0; }; then
6810    emul=elf
6811    case `/usr/bin/file conftest.$ac_objext` in
6812      *32-bit*)
6813	emul="${emul}32"
6814	;;
6815      *64-bit*)
6816	emul="${emul}64"
6817	;;
6818    esac
6819    case `/usr/bin/file conftest.$ac_objext` in
6820      *MSB*)
6821	emul="${emul}btsmip"
6822	;;
6823      *LSB*)
6824	emul="${emul}ltsmip"
6825	;;
6826    esac
6827    case `/usr/bin/file conftest.$ac_objext` in
6828      *N32*)
6829	emul="${emul}n32"
6830	;;
6831    esac
6832    LD="${LD-ld} -m $emul"
6833  fi
6834  rm -rf conftest*
6835  ;;
6836
6837x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6838s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6839  # Find out what ABI is being produced by ac_compile, and set linker
6840  # options accordingly.  Note that the listed cases only cover the
6841  # situations where additional linker options are needed (such as when
6842  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6843  # vice versa); the common cases where no linker options are needed do
6844  # not appear in the list.
6845  echo 'int i;' > conftest.$ac_ext
6846  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6847  (eval $ac_compile) 2>&5
6848  ac_status=$?
6849  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6850  test $ac_status = 0; }; then
6851    case `/usr/bin/file conftest.o` in
6852      *32-bit*)
6853	case $host in
6854	  x86_64-*kfreebsd*-gnu)
6855	    LD="${LD-ld} -m elf_i386_fbsd"
6856	    ;;
6857	  x86_64-*linux*)
6858	    case `/usr/bin/file conftest.o` in
6859	      *x86-64*)
6860		LD="${LD-ld} -m elf32_x86_64"
6861		;;
6862	      *)
6863		LD="${LD-ld} -m elf_i386"
6864		;;
6865	    esac
6866	    ;;
6867	  powerpc64le-*linux*)
6868	    LD="${LD-ld} -m elf32lppclinux"
6869	    ;;
6870	  powerpc64-*linux*)
6871	    LD="${LD-ld} -m elf32ppclinux"
6872	    ;;
6873	  s390x-*linux*)
6874	    LD="${LD-ld} -m elf_s390"
6875	    ;;
6876	  sparc64-*linux*)
6877	    LD="${LD-ld} -m elf32_sparc"
6878	    ;;
6879	esac
6880	;;
6881      *64-bit*)
6882	case $host in
6883	  x86_64-*kfreebsd*-gnu)
6884	    LD="${LD-ld} -m elf_x86_64_fbsd"
6885	    ;;
6886	  x86_64-*linux*)
6887	    LD="${LD-ld} -m elf_x86_64"
6888	    ;;
6889	  powerpcle-*linux*)
6890	    LD="${LD-ld} -m elf64lppc"
6891	    ;;
6892	  powerpc-*linux*)
6893	    LD="${LD-ld} -m elf64ppc"
6894	    ;;
6895	  s390*-*linux*|s390*-*tpf*)
6896	    LD="${LD-ld} -m elf64_s390"
6897	    ;;
6898	  sparc*-*linux*)
6899	    LD="${LD-ld} -m elf64_sparc"
6900	    ;;
6901	esac
6902	;;
6903    esac
6904  fi
6905  rm -rf conftest*
6906  ;;
6907
6908*-*-sco3.2v5*)
6909  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6910  SAVE_CFLAGS=$CFLAGS
6911  CFLAGS="$CFLAGS -belf"
6912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6913$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6914if ${lt_cv_cc_needs_belf+:} false; then :
6915  $as_echo_n "(cached) " >&6
6916else
6917  ac_ext=c
6918ac_cpp='$CPP $CPPFLAGS'
6919ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6920ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6921ac_compiler_gnu=$ac_cv_c_compiler_gnu
6922
6923     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6924/* end confdefs.h.  */
6925
6926int
6927main ()
6928{
6929
6930  ;
6931  return 0;
6932}
6933_ACEOF
6934if ac_fn_c_try_link "$LINENO"; then :
6935  lt_cv_cc_needs_belf=yes
6936else
6937  lt_cv_cc_needs_belf=no
6938fi
6939rm -f core conftest.err conftest.$ac_objext \
6940    conftest$ac_exeext conftest.$ac_ext
6941     ac_ext=c
6942ac_cpp='$CPP $CPPFLAGS'
6943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6945ac_compiler_gnu=$ac_cv_c_compiler_gnu
6946
6947fi
6948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6949$as_echo "$lt_cv_cc_needs_belf" >&6; }
6950  if test yes != "$lt_cv_cc_needs_belf"; then
6951    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6952    CFLAGS=$SAVE_CFLAGS
6953  fi
6954  ;;
6955*-*solaris*)
6956  # Find out what ABI is being produced by ac_compile, and set linker
6957  # options accordingly.
6958  echo 'int i;' > conftest.$ac_ext
6959  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6960  (eval $ac_compile) 2>&5
6961  ac_status=$?
6962  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6963  test $ac_status = 0; }; then
6964    case `/usr/bin/file conftest.o` in
6965    *64-bit*)
6966      case $lt_cv_prog_gnu_ld in
6967      yes*)
6968        case $host in
6969        i?86-*-solaris*|x86_64-*-solaris*)
6970          LD="${LD-ld} -m elf_x86_64"
6971          ;;
6972        sparc*-*-solaris*)
6973          LD="${LD-ld} -m elf64_sparc"
6974          ;;
6975        esac
6976        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6977        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6978          LD=${LD-ld}_sol2
6979        fi
6980        ;;
6981      *)
6982	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6983	  LD="${LD-ld} -64"
6984	fi
6985	;;
6986      esac
6987      ;;
6988    esac
6989  fi
6990  rm -rf conftest*
6991  ;;
6992esac
6993
6994need_locks=$enable_libtool_lock
6995
6996if test -n "$ac_tool_prefix"; then
6997  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6998set dummy ${ac_tool_prefix}mt; ac_word=$2
6999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000$as_echo_n "checking for $ac_word... " >&6; }
7001if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7002  $as_echo_n "(cached) " >&6
7003else
7004  if test -n "$MANIFEST_TOOL"; then
7005  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7006else
7007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7008for as_dir in $PATH
7009do
7010  IFS=$as_save_IFS
7011  test -z "$as_dir" && as_dir=.
7012    for ac_exec_ext in '' $ac_executable_extensions; do
7013  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7014    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7015    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016    break 2
7017  fi
7018done
7019  done
7020IFS=$as_save_IFS
7021
7022fi
7023fi
7024MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7025if test -n "$MANIFEST_TOOL"; then
7026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7027$as_echo "$MANIFEST_TOOL" >&6; }
7028else
7029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030$as_echo "no" >&6; }
7031fi
7032
7033
7034fi
7035if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7036  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7037  # Extract the first word of "mt", so it can be a program name with args.
7038set dummy mt; ac_word=$2
7039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040$as_echo_n "checking for $ac_word... " >&6; }
7041if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7042  $as_echo_n "(cached) " >&6
7043else
7044  if test -n "$ac_ct_MANIFEST_TOOL"; then
7045  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7046else
7047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048for as_dir in $PATH
7049do
7050  IFS=$as_save_IFS
7051  test -z "$as_dir" && as_dir=.
7052    for ac_exec_ext in '' $ac_executable_extensions; do
7053  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7054    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7055    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056    break 2
7057  fi
7058done
7059  done
7060IFS=$as_save_IFS
7061
7062fi
7063fi
7064ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7065if test -n "$ac_ct_MANIFEST_TOOL"; then
7066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7067$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7068else
7069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070$as_echo "no" >&6; }
7071fi
7072
7073  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7074    MANIFEST_TOOL=":"
7075  else
7076    case $cross_compiling:$ac_tool_warned in
7077yes:)
7078{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7079$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7080ac_tool_warned=yes ;;
7081esac
7082    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7083  fi
7084else
7085  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7086fi
7087
7088test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7090$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7091if ${lt_cv_path_mainfest_tool+:} false; then :
7092  $as_echo_n "(cached) " >&6
7093else
7094  lt_cv_path_mainfest_tool=no
7095  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7096  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7097  cat conftest.err >&5
7098  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7099    lt_cv_path_mainfest_tool=yes
7100  fi
7101  rm -f conftest*
7102fi
7103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7104$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7105if test yes != "$lt_cv_path_mainfest_tool"; then
7106  MANIFEST_TOOL=:
7107fi
7108
7109
7110
7111
7112
7113
7114  case $host_os in
7115    rhapsody* | darwin*)
7116    if test -n "$ac_tool_prefix"; then
7117  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7118set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120$as_echo_n "checking for $ac_word... " >&6; }
7121if ${ac_cv_prog_DSYMUTIL+:} false; then :
7122  $as_echo_n "(cached) " >&6
7123else
7124  if test -n "$DSYMUTIL"; then
7125  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7126else
7127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128for as_dir in $PATH
7129do
7130  IFS=$as_save_IFS
7131  test -z "$as_dir" && as_dir=.
7132    for ac_exec_ext in '' $ac_executable_extensions; do
7133  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7134    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7135    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7136    break 2
7137  fi
7138done
7139  done
7140IFS=$as_save_IFS
7141
7142fi
7143fi
7144DSYMUTIL=$ac_cv_prog_DSYMUTIL
7145if test -n "$DSYMUTIL"; then
7146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7147$as_echo "$DSYMUTIL" >&6; }
7148else
7149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150$as_echo "no" >&6; }
7151fi
7152
7153
7154fi
7155if test -z "$ac_cv_prog_DSYMUTIL"; then
7156  ac_ct_DSYMUTIL=$DSYMUTIL
7157  # Extract the first word of "dsymutil", so it can be a program name with args.
7158set dummy dsymutil; ac_word=$2
7159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7160$as_echo_n "checking for $ac_word... " >&6; }
7161if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7162  $as_echo_n "(cached) " >&6
7163else
7164  if test -n "$ac_ct_DSYMUTIL"; then
7165  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7166else
7167as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168for as_dir in $PATH
7169do
7170  IFS=$as_save_IFS
7171  test -z "$as_dir" && as_dir=.
7172    for ac_exec_ext in '' $ac_executable_extensions; do
7173  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7174    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7175    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7176    break 2
7177  fi
7178done
7179  done
7180IFS=$as_save_IFS
7181
7182fi
7183fi
7184ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7185if test -n "$ac_ct_DSYMUTIL"; then
7186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7187$as_echo "$ac_ct_DSYMUTIL" >&6; }
7188else
7189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190$as_echo "no" >&6; }
7191fi
7192
7193  if test "x$ac_ct_DSYMUTIL" = x; then
7194    DSYMUTIL=":"
7195  else
7196    case $cross_compiling:$ac_tool_warned in
7197yes:)
7198{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7200ac_tool_warned=yes ;;
7201esac
7202    DSYMUTIL=$ac_ct_DSYMUTIL
7203  fi
7204else
7205  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7206fi
7207
7208    if test -n "$ac_tool_prefix"; then
7209  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7210set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212$as_echo_n "checking for $ac_word... " >&6; }
7213if ${ac_cv_prog_NMEDIT+:} false; then :
7214  $as_echo_n "(cached) " >&6
7215else
7216  if test -n "$NMEDIT"; then
7217  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7218else
7219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220for as_dir in $PATH
7221do
7222  IFS=$as_save_IFS
7223  test -z "$as_dir" && as_dir=.
7224    for ac_exec_ext in '' $ac_executable_extensions; do
7225  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7226    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7227    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7228    break 2
7229  fi
7230done
7231  done
7232IFS=$as_save_IFS
7233
7234fi
7235fi
7236NMEDIT=$ac_cv_prog_NMEDIT
7237if test -n "$NMEDIT"; then
7238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7239$as_echo "$NMEDIT" >&6; }
7240else
7241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242$as_echo "no" >&6; }
7243fi
7244
7245
7246fi
7247if test -z "$ac_cv_prog_NMEDIT"; then
7248  ac_ct_NMEDIT=$NMEDIT
7249  # Extract the first word of "nmedit", so it can be a program name with args.
7250set dummy nmedit; ac_word=$2
7251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7252$as_echo_n "checking for $ac_word... " >&6; }
7253if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7254  $as_echo_n "(cached) " >&6
7255else
7256  if test -n "$ac_ct_NMEDIT"; then
7257  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7258else
7259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7260for as_dir in $PATH
7261do
7262  IFS=$as_save_IFS
7263  test -z "$as_dir" && as_dir=.
7264    for ac_exec_ext in '' $ac_executable_extensions; do
7265  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7266    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7267    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7268    break 2
7269  fi
7270done
7271  done
7272IFS=$as_save_IFS
7273
7274fi
7275fi
7276ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7277if test -n "$ac_ct_NMEDIT"; then
7278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7279$as_echo "$ac_ct_NMEDIT" >&6; }
7280else
7281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282$as_echo "no" >&6; }
7283fi
7284
7285  if test "x$ac_ct_NMEDIT" = x; then
7286    NMEDIT=":"
7287  else
7288    case $cross_compiling:$ac_tool_warned in
7289yes:)
7290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7292ac_tool_warned=yes ;;
7293esac
7294    NMEDIT=$ac_ct_NMEDIT
7295  fi
7296else
7297  NMEDIT="$ac_cv_prog_NMEDIT"
7298fi
7299
7300    if test -n "$ac_tool_prefix"; then
7301  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7302set dummy ${ac_tool_prefix}lipo; ac_word=$2
7303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7304$as_echo_n "checking for $ac_word... " >&6; }
7305if ${ac_cv_prog_LIPO+:} false; then :
7306  $as_echo_n "(cached) " >&6
7307else
7308  if test -n "$LIPO"; then
7309  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7310else
7311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7312for as_dir in $PATH
7313do
7314  IFS=$as_save_IFS
7315  test -z "$as_dir" && as_dir=.
7316    for ac_exec_ext in '' $ac_executable_extensions; do
7317  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7318    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7319    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7320    break 2
7321  fi
7322done
7323  done
7324IFS=$as_save_IFS
7325
7326fi
7327fi
7328LIPO=$ac_cv_prog_LIPO
7329if test -n "$LIPO"; then
7330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7331$as_echo "$LIPO" >&6; }
7332else
7333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334$as_echo "no" >&6; }
7335fi
7336
7337
7338fi
7339if test -z "$ac_cv_prog_LIPO"; then
7340  ac_ct_LIPO=$LIPO
7341  # Extract the first word of "lipo", so it can be a program name with args.
7342set dummy lipo; ac_word=$2
7343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344$as_echo_n "checking for $ac_word... " >&6; }
7345if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7346  $as_echo_n "(cached) " >&6
7347else
7348  if test -n "$ac_ct_LIPO"; then
7349  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7350else
7351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352for as_dir in $PATH
7353do
7354  IFS=$as_save_IFS
7355  test -z "$as_dir" && as_dir=.
7356    for ac_exec_ext in '' $ac_executable_extensions; do
7357  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7358    ac_cv_prog_ac_ct_LIPO="lipo"
7359    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360    break 2
7361  fi
7362done
7363  done
7364IFS=$as_save_IFS
7365
7366fi
7367fi
7368ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7369if test -n "$ac_ct_LIPO"; then
7370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7371$as_echo "$ac_ct_LIPO" >&6; }
7372else
7373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374$as_echo "no" >&6; }
7375fi
7376
7377  if test "x$ac_ct_LIPO" = x; then
7378    LIPO=":"
7379  else
7380    case $cross_compiling:$ac_tool_warned in
7381yes:)
7382{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7383$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7384ac_tool_warned=yes ;;
7385esac
7386    LIPO=$ac_ct_LIPO
7387  fi
7388else
7389  LIPO="$ac_cv_prog_LIPO"
7390fi
7391
7392    if test -n "$ac_tool_prefix"; then
7393  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7394set dummy ${ac_tool_prefix}otool; ac_word=$2
7395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396$as_echo_n "checking for $ac_word... " >&6; }
7397if ${ac_cv_prog_OTOOL+:} false; then :
7398  $as_echo_n "(cached) " >&6
7399else
7400  if test -n "$OTOOL"; then
7401  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7402else
7403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404for as_dir in $PATH
7405do
7406  IFS=$as_save_IFS
7407  test -z "$as_dir" && as_dir=.
7408    for ac_exec_ext in '' $ac_executable_extensions; do
7409  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7411    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412    break 2
7413  fi
7414done
7415  done
7416IFS=$as_save_IFS
7417
7418fi
7419fi
7420OTOOL=$ac_cv_prog_OTOOL
7421if test -n "$OTOOL"; then
7422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7423$as_echo "$OTOOL" >&6; }
7424else
7425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426$as_echo "no" >&6; }
7427fi
7428
7429
7430fi
7431if test -z "$ac_cv_prog_OTOOL"; then
7432  ac_ct_OTOOL=$OTOOL
7433  # Extract the first word of "otool", so it can be a program name with args.
7434set dummy otool; ac_word=$2
7435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436$as_echo_n "checking for $ac_word... " >&6; }
7437if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7438  $as_echo_n "(cached) " >&6
7439else
7440  if test -n "$ac_ct_OTOOL"; then
7441  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7442else
7443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444for as_dir in $PATH
7445do
7446  IFS=$as_save_IFS
7447  test -z "$as_dir" && as_dir=.
7448    for ac_exec_ext in '' $ac_executable_extensions; do
7449  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450    ac_cv_prog_ac_ct_OTOOL="otool"
7451    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452    break 2
7453  fi
7454done
7455  done
7456IFS=$as_save_IFS
7457
7458fi
7459fi
7460ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7461if test -n "$ac_ct_OTOOL"; then
7462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7463$as_echo "$ac_ct_OTOOL" >&6; }
7464else
7465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466$as_echo "no" >&6; }
7467fi
7468
7469  if test "x$ac_ct_OTOOL" = x; then
7470    OTOOL=":"
7471  else
7472    case $cross_compiling:$ac_tool_warned in
7473yes:)
7474{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7475$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7476ac_tool_warned=yes ;;
7477esac
7478    OTOOL=$ac_ct_OTOOL
7479  fi
7480else
7481  OTOOL="$ac_cv_prog_OTOOL"
7482fi
7483
7484    if test -n "$ac_tool_prefix"; then
7485  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7486set dummy ${ac_tool_prefix}otool64; ac_word=$2
7487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488$as_echo_n "checking for $ac_word... " >&6; }
7489if ${ac_cv_prog_OTOOL64+:} false; then :
7490  $as_echo_n "(cached) " >&6
7491else
7492  if test -n "$OTOOL64"; then
7493  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7494else
7495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496for as_dir in $PATH
7497do
7498  IFS=$as_save_IFS
7499  test -z "$as_dir" && as_dir=.
7500    for ac_exec_ext in '' $ac_executable_extensions; do
7501  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7502    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7503    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504    break 2
7505  fi
7506done
7507  done
7508IFS=$as_save_IFS
7509
7510fi
7511fi
7512OTOOL64=$ac_cv_prog_OTOOL64
7513if test -n "$OTOOL64"; then
7514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7515$as_echo "$OTOOL64" >&6; }
7516else
7517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518$as_echo "no" >&6; }
7519fi
7520
7521
7522fi
7523if test -z "$ac_cv_prog_OTOOL64"; then
7524  ac_ct_OTOOL64=$OTOOL64
7525  # Extract the first word of "otool64", so it can be a program name with args.
7526set dummy otool64; ac_word=$2
7527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528$as_echo_n "checking for $ac_word... " >&6; }
7529if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7530  $as_echo_n "(cached) " >&6
7531else
7532  if test -n "$ac_ct_OTOOL64"; then
7533  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7534else
7535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536for as_dir in $PATH
7537do
7538  IFS=$as_save_IFS
7539  test -z "$as_dir" && as_dir=.
7540    for ac_exec_ext in '' $ac_executable_extensions; do
7541  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542    ac_cv_prog_ac_ct_OTOOL64="otool64"
7543    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544    break 2
7545  fi
7546done
7547  done
7548IFS=$as_save_IFS
7549
7550fi
7551fi
7552ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7553if test -n "$ac_ct_OTOOL64"; then
7554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7555$as_echo "$ac_ct_OTOOL64" >&6; }
7556else
7557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558$as_echo "no" >&6; }
7559fi
7560
7561  if test "x$ac_ct_OTOOL64" = x; then
7562    OTOOL64=":"
7563  else
7564    case $cross_compiling:$ac_tool_warned in
7565yes:)
7566{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7567$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7568ac_tool_warned=yes ;;
7569esac
7570    OTOOL64=$ac_ct_OTOOL64
7571  fi
7572else
7573  OTOOL64="$ac_cv_prog_OTOOL64"
7574fi
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7603$as_echo_n "checking for -single_module linker flag... " >&6; }
7604if ${lt_cv_apple_cc_single_mod+:} false; then :
7605  $as_echo_n "(cached) " >&6
7606else
7607  lt_cv_apple_cc_single_mod=no
7608      if test -z "$LT_MULTI_MODULE"; then
7609	# By default we will add the -single_module flag. You can override
7610	# by either setting the environment variable LT_MULTI_MODULE
7611	# non-empty at configure time, or by adding -multi_module to the
7612	# link flags.
7613	rm -rf libconftest.dylib*
7614	echo "int foo(void){return 1;}" > conftest.c
7615	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7616-dynamiclib -Wl,-single_module conftest.c" >&5
7617	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7618	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7619        _lt_result=$?
7620	# If there is a non-empty error log, and "single_module"
7621	# appears in it, assume the flag caused a linker warning
7622        if test -s conftest.err && $GREP single_module conftest.err; then
7623	  cat conftest.err >&5
7624	# Otherwise, if the output was created with a 0 exit code from
7625	# the compiler, it worked.
7626	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7627	  lt_cv_apple_cc_single_mod=yes
7628	else
7629	  cat conftest.err >&5
7630	fi
7631	rm -rf libconftest.dylib*
7632	rm -f conftest.*
7633      fi
7634fi
7635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7636$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7637
7638    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7639$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7640if ${lt_cv_ld_exported_symbols_list+:} false; then :
7641  $as_echo_n "(cached) " >&6
7642else
7643  lt_cv_ld_exported_symbols_list=no
7644      save_LDFLAGS=$LDFLAGS
7645      echo "_main" > conftest.sym
7646      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7647      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7648/* end confdefs.h.  */
7649
7650int
7651main ()
7652{
7653
7654  ;
7655  return 0;
7656}
7657_ACEOF
7658if ac_fn_c_try_link "$LINENO"; then :
7659  lt_cv_ld_exported_symbols_list=yes
7660else
7661  lt_cv_ld_exported_symbols_list=no
7662fi
7663rm -f core conftest.err conftest.$ac_objext \
7664    conftest$ac_exeext conftest.$ac_ext
7665	LDFLAGS=$save_LDFLAGS
7666
7667fi
7668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7669$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7670
7671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7672$as_echo_n "checking for -force_load linker flag... " >&6; }
7673if ${lt_cv_ld_force_load+:} false; then :
7674  $as_echo_n "(cached) " >&6
7675else
7676  lt_cv_ld_force_load=no
7677      cat > conftest.c << _LT_EOF
7678int forced_loaded() { return 2;}
7679_LT_EOF
7680      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7681      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7682      echo "$AR cru libconftest.a conftest.o" >&5
7683      $AR cru libconftest.a conftest.o 2>&5
7684      echo "$RANLIB libconftest.a" >&5
7685      $RANLIB libconftest.a 2>&5
7686      cat > conftest.c << _LT_EOF
7687int main() { return 0;}
7688_LT_EOF
7689      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7690      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7691      _lt_result=$?
7692      if test -s conftest.err && $GREP force_load conftest.err; then
7693	cat conftest.err >&5
7694      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7695	lt_cv_ld_force_load=yes
7696      else
7697	cat conftest.err >&5
7698      fi
7699        rm -f conftest.err libconftest.a conftest conftest.c
7700        rm -rf conftest.dSYM
7701
7702fi
7703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7704$as_echo "$lt_cv_ld_force_load" >&6; }
7705    case $host_os in
7706    rhapsody* | darwin1.[012])
7707      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7708    darwin1.*)
7709      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7710    darwin*) # darwin 5.x on
7711      # if running on 10.5 or later, the deployment target defaults
7712      # to the OS version, if on x86, and 10.4, the deployment
7713      # target defaults to 10.4. Don't you love it?
7714      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7715	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7716	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7717	10.[012][,.]*)
7718	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7719	10.*)
7720	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7721      esac
7722    ;;
7723  esac
7724    if test yes = "$lt_cv_apple_cc_single_mod"; then
7725      _lt_dar_single_mod='$single_module'
7726    fi
7727    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7728      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7729    else
7730      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7731    fi
7732    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7733      _lt_dsymutil='~$DSYMUTIL $lib || :'
7734    else
7735      _lt_dsymutil=
7736    fi
7737    ;;
7738  esac
7739
7740# func_munge_path_list VARIABLE PATH
7741# -----------------------------------
7742# VARIABLE is name of variable containing _space_ separated list of
7743# directories to be munged by the contents of PATH, which is string
7744# having a format:
7745# "DIR[:DIR]:"
7746#       string "DIR[ DIR]" will be prepended to VARIABLE
7747# ":DIR[:DIR]"
7748#       string "DIR[ DIR]" will be appended to VARIABLE
7749# "DIRP[:DIRP]::[DIRA:]DIRA"
7750#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7751#       "DIRA[ DIRA]" will be appended to VARIABLE
7752# "DIR[:DIR]"
7753#       VARIABLE will be replaced by "DIR[ DIR]"
7754func_munge_path_list ()
7755{
7756    case x$2 in
7757    x)
7758        ;;
7759    *:)
7760        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7761        ;;
7762    x:*)
7763        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7764        ;;
7765    *::*)
7766        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7767        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7768        ;;
7769    *)
7770        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7771        ;;
7772    esac
7773}
7774
7775ac_ext=c
7776ac_cpp='$CPP $CPPFLAGS'
7777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7779ac_compiler_gnu=$ac_cv_c_compiler_gnu
7780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7781$as_echo_n "checking how to run the C preprocessor... " >&6; }
7782# On Suns, sometimes $CPP names a directory.
7783if test -n "$CPP" && test -d "$CPP"; then
7784  CPP=
7785fi
7786if test -z "$CPP"; then
7787  if ${ac_cv_prog_CPP+:} false; then :
7788  $as_echo_n "(cached) " >&6
7789else
7790      # Double quotes because CPP needs to be expanded
7791    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7792    do
7793      ac_preproc_ok=false
7794for ac_c_preproc_warn_flag in '' yes
7795do
7796  # Use a header file that comes with gcc, so configuring glibc
7797  # with a fresh cross-compiler works.
7798  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7799  # <limits.h> exists even on freestanding compilers.
7800  # On the NeXT, cc -E runs the code through the compiler's parser,
7801  # not just through cpp. "Syntax error" is here to catch this case.
7802  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7803/* end confdefs.h.  */
7804#ifdef __STDC__
7805# include <limits.h>
7806#else
7807# include <assert.h>
7808#endif
7809		     Syntax error
7810_ACEOF
7811if ac_fn_c_try_cpp "$LINENO"; then :
7812
7813else
7814  # Broken: fails on valid input.
7815continue
7816fi
7817rm -f conftest.err conftest.i conftest.$ac_ext
7818
7819  # OK, works on sane cases.  Now check whether nonexistent headers
7820  # can be detected and how.
7821  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7822/* end confdefs.h.  */
7823#include <ac_nonexistent.h>
7824_ACEOF
7825if ac_fn_c_try_cpp "$LINENO"; then :
7826  # Broken: success on invalid input.
7827continue
7828else
7829  # Passes both tests.
7830ac_preproc_ok=:
7831break
7832fi
7833rm -f conftest.err conftest.i conftest.$ac_ext
7834
7835done
7836# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7837rm -f conftest.i conftest.err conftest.$ac_ext
7838if $ac_preproc_ok; then :
7839  break
7840fi
7841
7842    done
7843    ac_cv_prog_CPP=$CPP
7844
7845fi
7846  CPP=$ac_cv_prog_CPP
7847else
7848  ac_cv_prog_CPP=$CPP
7849fi
7850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7851$as_echo "$CPP" >&6; }
7852ac_preproc_ok=false
7853for ac_c_preproc_warn_flag in '' yes
7854do
7855  # Use a header file that comes with gcc, so configuring glibc
7856  # with a fresh cross-compiler works.
7857  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7858  # <limits.h> exists even on freestanding compilers.
7859  # On the NeXT, cc -E runs the code through the compiler's parser,
7860  # not just through cpp. "Syntax error" is here to catch this case.
7861  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862/* end confdefs.h.  */
7863#ifdef __STDC__
7864# include <limits.h>
7865#else
7866# include <assert.h>
7867#endif
7868		     Syntax error
7869_ACEOF
7870if ac_fn_c_try_cpp "$LINENO"; then :
7871
7872else
7873  # Broken: fails on valid input.
7874continue
7875fi
7876rm -f conftest.err conftest.i conftest.$ac_ext
7877
7878  # OK, works on sane cases.  Now check whether nonexistent headers
7879  # can be detected and how.
7880  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7881/* end confdefs.h.  */
7882#include <ac_nonexistent.h>
7883_ACEOF
7884if ac_fn_c_try_cpp "$LINENO"; then :
7885  # Broken: success on invalid input.
7886continue
7887else
7888  # Passes both tests.
7889ac_preproc_ok=:
7890break
7891fi
7892rm -f conftest.err conftest.i conftest.$ac_ext
7893
7894done
7895# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7896rm -f conftest.i conftest.err conftest.$ac_ext
7897if $ac_preproc_ok; then :
7898
7899else
7900  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7901$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7902as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7903See \`config.log' for more details" "$LINENO" 5; }
7904fi
7905
7906ac_ext=c
7907ac_cpp='$CPP $CPPFLAGS'
7908ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7909ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7910ac_compiler_gnu=$ac_cv_c_compiler_gnu
7911
7912
7913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7914$as_echo_n "checking for ANSI C header files... " >&6; }
7915if ${ac_cv_header_stdc+:} false; then :
7916  $as_echo_n "(cached) " >&6
7917else
7918  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7919/* end confdefs.h.  */
7920#include <stdlib.h>
7921#include <stdarg.h>
7922#include <string.h>
7923#include <float.h>
7924
7925int
7926main ()
7927{
7928
7929  ;
7930  return 0;
7931}
7932_ACEOF
7933if ac_fn_c_try_compile "$LINENO"; then :
7934  ac_cv_header_stdc=yes
7935else
7936  ac_cv_header_stdc=no
7937fi
7938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7939
7940if test $ac_cv_header_stdc = yes; then
7941  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7942  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7943/* end confdefs.h.  */
7944#include <string.h>
7945
7946_ACEOF
7947if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7948  $EGREP "memchr" >/dev/null 2>&1; then :
7949
7950else
7951  ac_cv_header_stdc=no
7952fi
7953rm -f conftest*
7954
7955fi
7956
7957if test $ac_cv_header_stdc = yes; then
7958  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7959  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7960/* end confdefs.h.  */
7961#include <stdlib.h>
7962
7963_ACEOF
7964if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7965  $EGREP "free" >/dev/null 2>&1; then :
7966
7967else
7968  ac_cv_header_stdc=no
7969fi
7970rm -f conftest*
7971
7972fi
7973
7974if test $ac_cv_header_stdc = yes; then
7975  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7976  if test "$cross_compiling" = yes; then :
7977  :
7978else
7979  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980/* end confdefs.h.  */
7981#include <ctype.h>
7982#include <stdlib.h>
7983#if ((' ' & 0x0FF) == 0x020)
7984# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7985# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7986#else
7987# define ISLOWER(c) \
7988		   (('a' <= (c) && (c) <= 'i') \
7989		     || ('j' <= (c) && (c) <= 'r') \
7990		     || ('s' <= (c) && (c) <= 'z'))
7991# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7992#endif
7993
7994#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7995int
7996main ()
7997{
7998  int i;
7999  for (i = 0; i < 256; i++)
8000    if (XOR (islower (i), ISLOWER (i))
8001	|| toupper (i) != TOUPPER (i))
8002      return 2;
8003  return 0;
8004}
8005_ACEOF
8006if ac_fn_c_try_run "$LINENO"; then :
8007
8008else
8009  ac_cv_header_stdc=no
8010fi
8011rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8012  conftest.$ac_objext conftest.beam conftest.$ac_ext
8013fi
8014
8015fi
8016fi
8017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8018$as_echo "$ac_cv_header_stdc" >&6; }
8019if test $ac_cv_header_stdc = yes; then
8020
8021$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8022
8023fi
8024
8025# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8026for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8027		  inttypes.h stdint.h unistd.h
8028do :
8029  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8030ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8031"
8032if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8033  cat >>confdefs.h <<_ACEOF
8034#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8035_ACEOF
8036
8037fi
8038
8039done
8040
8041
8042for ac_header in dlfcn.h
8043do :
8044  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8045"
8046if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8047  cat >>confdefs.h <<_ACEOF
8048#define HAVE_DLFCN_H 1
8049_ACEOF
8050
8051fi
8052
8053done
8054
8055
8056
8057
8058
8059# Set options
8060# Check whether --enable-static was given.
8061if test "${enable_static+set}" = set; then :
8062  enableval=$enable_static; p=${PACKAGE-default}
8063    case $enableval in
8064    yes) enable_static=yes ;;
8065    no) enable_static=no ;;
8066    *)
8067     enable_static=no
8068      # Look at the argument we got.  We use all the common list separators.
8069      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8070      for pkg in $enableval; do
8071	IFS=$lt_save_ifs
8072	if test "X$pkg" = "X$p"; then
8073	  enable_static=yes
8074	fi
8075      done
8076      IFS=$lt_save_ifs
8077      ;;
8078    esac
8079else
8080  enable_static=no
8081fi
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092        enable_dlopen=no
8093
8094
8095  enable_win32_dll=no
8096
8097
8098            # Check whether --enable-shared was given.
8099if test "${enable_shared+set}" = set; then :
8100  enableval=$enable_shared; p=${PACKAGE-default}
8101    case $enableval in
8102    yes) enable_shared=yes ;;
8103    no) enable_shared=no ;;
8104    *)
8105      enable_shared=no
8106      # Look at the argument we got.  We use all the common list separators.
8107      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8108      for pkg in $enableval; do
8109	IFS=$lt_save_ifs
8110	if test "X$pkg" = "X$p"; then
8111	  enable_shared=yes
8112	fi
8113      done
8114      IFS=$lt_save_ifs
8115      ;;
8116    esac
8117else
8118  enable_shared=yes
8119fi
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131# Check whether --with-pic was given.
8132if test "${with_pic+set}" = set; then :
8133  withval=$with_pic; lt_p=${PACKAGE-default}
8134    case $withval in
8135    yes|no) pic_mode=$withval ;;
8136    *)
8137      pic_mode=default
8138      # Look at the argument we got.  We use all the common list separators.
8139      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8140      for lt_pkg in $withval; do
8141	IFS=$lt_save_ifs
8142	if test "X$lt_pkg" = "X$lt_p"; then
8143	  pic_mode=yes
8144	fi
8145      done
8146      IFS=$lt_save_ifs
8147      ;;
8148    esac
8149else
8150  pic_mode=default
8151fi
8152
8153
8154
8155
8156
8157
8158
8159
8160  # Check whether --enable-fast-install was given.
8161if test "${enable_fast_install+set}" = set; then :
8162  enableval=$enable_fast_install; p=${PACKAGE-default}
8163    case $enableval in
8164    yes) enable_fast_install=yes ;;
8165    no) enable_fast_install=no ;;
8166    *)
8167      enable_fast_install=no
8168      # Look at the argument we got.  We use all the common list separators.
8169      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8170      for pkg in $enableval; do
8171	IFS=$lt_save_ifs
8172	if test "X$pkg" = "X$p"; then
8173	  enable_fast_install=yes
8174	fi
8175      done
8176      IFS=$lt_save_ifs
8177      ;;
8178    esac
8179else
8180  enable_fast_install=yes
8181fi
8182
8183
8184
8185
8186
8187
8188
8189
8190  shared_archive_member_spec=
8191case $host,$enable_shared in
8192power*-*-aix[5-9]*,yes)
8193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8194$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8195
8196# Check whether --with-aix-soname was given.
8197if test "${with_aix_soname+set}" = set; then :
8198  withval=$with_aix_soname; case $withval in
8199    aix|svr4|both)
8200      ;;
8201    *)
8202      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8203      ;;
8204    esac
8205    lt_cv_with_aix_soname=$with_aix_soname
8206else
8207  if ${lt_cv_with_aix_soname+:} false; then :
8208  $as_echo_n "(cached) " >&6
8209else
8210  lt_cv_with_aix_soname=aix
8211fi
8212
8213    with_aix_soname=$lt_cv_with_aix_soname
8214fi
8215
8216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8217$as_echo "$with_aix_soname" >&6; }
8218  if test aix != "$with_aix_soname"; then
8219    # For the AIX way of multilib, we name the shared archive member
8220    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8221    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8222    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8223    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8224    if test 64 = "${OBJECT_MODE-32}"; then
8225      shared_archive_member_spec=shr_64
8226    else
8227      shared_archive_member_spec=shr
8228    fi
8229  fi
8230  ;;
8231*)
8232  with_aix_soname=aix
8233  ;;
8234esac
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245# This can be used to rebuild libtool when needed
8246LIBTOOL_DEPS=$ltmain
8247
8248# Always use our own libtool.
8249LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280test -z "$LN_S" && LN_S="ln -s"
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295if test -n "${ZSH_VERSION+set}"; then
8296   setopt NO_GLOB_SUBST
8297fi
8298
8299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8300$as_echo_n "checking for objdir... " >&6; }
8301if ${lt_cv_objdir+:} false; then :
8302  $as_echo_n "(cached) " >&6
8303else
8304  rm -f .libs 2>/dev/null
8305mkdir .libs 2>/dev/null
8306if test -d .libs; then
8307  lt_cv_objdir=.libs
8308else
8309  # MS-DOS does not allow filenames that begin with a dot.
8310  lt_cv_objdir=_libs
8311fi
8312rmdir .libs 2>/dev/null
8313fi
8314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8315$as_echo "$lt_cv_objdir" >&6; }
8316objdir=$lt_cv_objdir
8317
8318
8319
8320
8321
8322cat >>confdefs.h <<_ACEOF
8323#define LT_OBJDIR "$lt_cv_objdir/"
8324_ACEOF
8325
8326
8327
8328
8329case $host_os in
8330aix3*)
8331  # AIX sometimes has problems with the GCC collect2 program.  For some
8332  # reason, if we set the COLLECT_NAMES environment variable, the problems
8333  # vanish in a puff of smoke.
8334  if test set != "${COLLECT_NAMES+set}"; then
8335    COLLECT_NAMES=
8336    export COLLECT_NAMES
8337  fi
8338  ;;
8339esac
8340
8341# Global variables:
8342ofile=libtool
8343can_build_shared=yes
8344
8345# All known linkers require a '.a' archive for static linking (except MSVC,
8346# which needs '.lib').
8347libext=a
8348
8349with_gnu_ld=$lt_cv_prog_gnu_ld
8350
8351old_CC=$CC
8352old_CFLAGS=$CFLAGS
8353
8354# Set sane defaults for various variables
8355test -z "$CC" && CC=cc
8356test -z "$LTCC" && LTCC=$CC
8357test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8358test -z "$LD" && LD=ld
8359test -z "$ac_objext" && ac_objext=o
8360
8361func_cc_basename $compiler
8362cc_basename=$func_cc_basename_result
8363
8364
8365# Only perform the check for file, if the check method requires it
8366test -z "$MAGIC_CMD" && MAGIC_CMD=file
8367case $deplibs_check_method in
8368file_magic*)
8369  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8370    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8371$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8372if ${lt_cv_path_MAGIC_CMD+:} false; then :
8373  $as_echo_n "(cached) " >&6
8374else
8375  case $MAGIC_CMD in
8376[\\/*] |  ?:[\\/]*)
8377  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8378  ;;
8379*)
8380  lt_save_MAGIC_CMD=$MAGIC_CMD
8381  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8382  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8383  for ac_dir in $ac_dummy; do
8384    IFS=$lt_save_ifs
8385    test -z "$ac_dir" && ac_dir=.
8386    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8387      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8388      if test -n "$file_magic_test_file"; then
8389	case $deplibs_check_method in
8390	"file_magic "*)
8391	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8392	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8393	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8394	    $EGREP "$file_magic_regex" > /dev/null; then
8395	    :
8396	  else
8397	    cat <<_LT_EOF 1>&2
8398
8399*** Warning: the command libtool uses to detect shared libraries,
8400*** $file_magic_cmd, produces output that libtool cannot recognize.
8401*** The result is that libtool may fail to recognize shared libraries
8402*** as such.  This will affect the creation of libtool libraries that
8403*** depend on shared libraries, but programs linked with such libtool
8404*** libraries will work regardless of this problem.  Nevertheless, you
8405*** may want to report the problem to your system manager and/or to
8406*** bug-libtool@gnu.org
8407
8408_LT_EOF
8409	  fi ;;
8410	esac
8411      fi
8412      break
8413    fi
8414  done
8415  IFS=$lt_save_ifs
8416  MAGIC_CMD=$lt_save_MAGIC_CMD
8417  ;;
8418esac
8419fi
8420
8421MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8422if test -n "$MAGIC_CMD"; then
8423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8424$as_echo "$MAGIC_CMD" >&6; }
8425else
8426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427$as_echo "no" >&6; }
8428fi
8429
8430
8431
8432
8433
8434if test -z "$lt_cv_path_MAGIC_CMD"; then
8435  if test -n "$ac_tool_prefix"; then
8436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8437$as_echo_n "checking for file... " >&6; }
8438if ${lt_cv_path_MAGIC_CMD+:} false; then :
8439  $as_echo_n "(cached) " >&6
8440else
8441  case $MAGIC_CMD in
8442[\\/*] |  ?:[\\/]*)
8443  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8444  ;;
8445*)
8446  lt_save_MAGIC_CMD=$MAGIC_CMD
8447  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8448  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8449  for ac_dir in $ac_dummy; do
8450    IFS=$lt_save_ifs
8451    test -z "$ac_dir" && ac_dir=.
8452    if test -f "$ac_dir/file"; then
8453      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8454      if test -n "$file_magic_test_file"; then
8455	case $deplibs_check_method in
8456	"file_magic "*)
8457	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8458	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8459	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8460	    $EGREP "$file_magic_regex" > /dev/null; then
8461	    :
8462	  else
8463	    cat <<_LT_EOF 1>&2
8464
8465*** Warning: the command libtool uses to detect shared libraries,
8466*** $file_magic_cmd, produces output that libtool cannot recognize.
8467*** The result is that libtool may fail to recognize shared libraries
8468*** as such.  This will affect the creation of libtool libraries that
8469*** depend on shared libraries, but programs linked with such libtool
8470*** libraries will work regardless of this problem.  Nevertheless, you
8471*** may want to report the problem to your system manager and/or to
8472*** bug-libtool@gnu.org
8473
8474_LT_EOF
8475	  fi ;;
8476	esac
8477      fi
8478      break
8479    fi
8480  done
8481  IFS=$lt_save_ifs
8482  MAGIC_CMD=$lt_save_MAGIC_CMD
8483  ;;
8484esac
8485fi
8486
8487MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8488if test -n "$MAGIC_CMD"; then
8489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8490$as_echo "$MAGIC_CMD" >&6; }
8491else
8492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8493$as_echo "no" >&6; }
8494fi
8495
8496
8497  else
8498    MAGIC_CMD=:
8499  fi
8500fi
8501
8502  fi
8503  ;;
8504esac
8505
8506# Use C for the default configuration in the libtool script
8507
8508lt_save_CC=$CC
8509ac_ext=c
8510ac_cpp='$CPP $CPPFLAGS'
8511ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8512ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8513ac_compiler_gnu=$ac_cv_c_compiler_gnu
8514
8515
8516# Source file extension for C test sources.
8517ac_ext=c
8518
8519# Object file extension for compiled C test sources.
8520objext=o
8521objext=$objext
8522
8523# Code to be used in simple compile tests
8524lt_simple_compile_test_code="int some_variable = 0;"
8525
8526# Code to be used in simple link tests
8527lt_simple_link_test_code='int main(){return(0);}'
8528
8529
8530
8531
8532
8533
8534
8535# If no C compiler was specified, use CC.
8536LTCC=${LTCC-"$CC"}
8537
8538# If no C compiler flags were specified, use CFLAGS.
8539LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8540
8541# Allow CC to be a program name with arguments.
8542compiler=$CC
8543
8544# Save the default compiler, since it gets overwritten when the other
8545# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8546compiler_DEFAULT=$CC
8547
8548# save warnings/boilerplate of simple test code
8549ac_outfile=conftest.$ac_objext
8550echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8551eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8552_lt_compiler_boilerplate=`cat conftest.err`
8553$RM conftest*
8554
8555ac_outfile=conftest.$ac_objext
8556echo "$lt_simple_link_test_code" >conftest.$ac_ext
8557eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8558_lt_linker_boilerplate=`cat conftest.err`
8559$RM -r conftest*
8560
8561
8562## CAVEAT EMPTOR:
8563## There is no encapsulation within the following macros, do not change
8564## the running order or otherwise move them around unless you know exactly
8565## what you are doing...
8566if test -n "$compiler"; then
8567
8568lt_prog_compiler_no_builtin_flag=
8569
8570if test yes = "$GCC"; then
8571  case $cc_basename in
8572  nvcc*)
8573    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8574  *)
8575    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8576  esac
8577
8578  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8579$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8580if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8581  $as_echo_n "(cached) " >&6
8582else
8583  lt_cv_prog_compiler_rtti_exceptions=no
8584   ac_outfile=conftest.$ac_objext
8585   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8586   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8587   # Insert the option either (1) after the last *FLAGS variable, or
8588   # (2) before a word containing "conftest.", or (3) at the end.
8589   # Note that $ac_compile itself does not contain backslashes and begins
8590   # with a dollar sign (not a hyphen), so the echo should work correctly.
8591   # The option is referenced via a variable to avoid confusing sed.
8592   lt_compile=`echo "$ac_compile" | $SED \
8593   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8594   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8595   -e 's:$: $lt_compiler_flag:'`
8596   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8597   (eval "$lt_compile" 2>conftest.err)
8598   ac_status=$?
8599   cat conftest.err >&5
8600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601   if (exit $ac_status) && test -s "$ac_outfile"; then
8602     # The compiler can only warn and ignore the option if not recognized
8603     # So say no if there are warnings other than the usual output.
8604     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8605     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8606     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8607       lt_cv_prog_compiler_rtti_exceptions=yes
8608     fi
8609   fi
8610   $RM conftest*
8611
8612fi
8613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8614$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8615
8616if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8617    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8618else
8619    :
8620fi
8621
8622fi
8623
8624
8625
8626
8627
8628
8629  lt_prog_compiler_wl=
8630lt_prog_compiler_pic=
8631lt_prog_compiler_static=
8632
8633
8634  if test yes = "$GCC"; then
8635    lt_prog_compiler_wl='-Wl,'
8636    lt_prog_compiler_static='-static'
8637
8638    case $host_os in
8639      aix*)
8640      # All AIX code is PIC.
8641      if test ia64 = "$host_cpu"; then
8642	# AIX 5 now supports IA64 processor
8643	lt_prog_compiler_static='-Bstatic'
8644      fi
8645      lt_prog_compiler_pic='-fPIC'
8646      ;;
8647
8648    amigaos*)
8649      case $host_cpu in
8650      powerpc)
8651            # see comment about AmigaOS4 .so support
8652            lt_prog_compiler_pic='-fPIC'
8653        ;;
8654      m68k)
8655            # FIXME: we need at least 68020 code to build shared libraries, but
8656            # adding the '-m68020' flag to GCC prevents building anything better,
8657            # like '-m68040'.
8658            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8659        ;;
8660      esac
8661      ;;
8662
8663    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8664      # PIC is the default for these OSes.
8665      ;;
8666
8667    mingw* | cygwin* | pw32* | os2* | cegcc*)
8668      # This hack is so that the source file can tell whether it is being
8669      # built for inclusion in a dll (and should export symbols for example).
8670      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8671      # (--disable-auto-import) libraries
8672      lt_prog_compiler_pic='-DDLL_EXPORT'
8673      case $host_os in
8674      os2*)
8675	lt_prog_compiler_static='$wl-static'
8676	;;
8677      esac
8678      ;;
8679
8680    darwin* | rhapsody*)
8681      # PIC is the default on this platform
8682      # Common symbols not allowed in MH_DYLIB files
8683      lt_prog_compiler_pic='-fno-common'
8684      ;;
8685
8686    haiku*)
8687      # PIC is the default for Haiku.
8688      # The "-static" flag exists, but is broken.
8689      lt_prog_compiler_static=
8690      ;;
8691
8692    hpux*)
8693      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8694      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8695      # sets the default TLS model and affects inlining.
8696      case $host_cpu in
8697      hppa*64*)
8698	# +Z the default
8699	;;
8700      *)
8701	lt_prog_compiler_pic='-fPIC'
8702	;;
8703      esac
8704      ;;
8705
8706    interix[3-9]*)
8707      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8708      # Instead, we relocate shared libraries at runtime.
8709      ;;
8710
8711    msdosdjgpp*)
8712      # Just because we use GCC doesn't mean we suddenly get shared libraries
8713      # on systems that don't support them.
8714      lt_prog_compiler_can_build_shared=no
8715      enable_shared=no
8716      ;;
8717
8718    *nto* | *qnx*)
8719      # QNX uses GNU C++, but need to define -shared option too, otherwise
8720      # it will coredump.
8721      lt_prog_compiler_pic='-fPIC -shared'
8722      ;;
8723
8724    sysv4*MP*)
8725      if test -d /usr/nec; then
8726	lt_prog_compiler_pic=-Kconform_pic
8727      fi
8728      ;;
8729
8730    *)
8731      lt_prog_compiler_pic='-fPIC'
8732      ;;
8733    esac
8734
8735    case $cc_basename in
8736    nvcc*) # Cuda Compiler Driver 2.2
8737      lt_prog_compiler_wl='-Xlinker '
8738      if test -n "$lt_prog_compiler_pic"; then
8739        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8740      fi
8741      ;;
8742    esac
8743  else
8744    # PORTME Check for flag to pass linker flags through the system compiler.
8745    case $host_os in
8746    aix*)
8747      lt_prog_compiler_wl='-Wl,'
8748      if test ia64 = "$host_cpu"; then
8749	# AIX 5 now supports IA64 processor
8750	lt_prog_compiler_static='-Bstatic'
8751      else
8752	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8753      fi
8754      ;;
8755
8756    darwin* | rhapsody*)
8757      # PIC is the default on this platform
8758      # Common symbols not allowed in MH_DYLIB files
8759      lt_prog_compiler_pic='-fno-common'
8760      case $cc_basename in
8761      nagfor*)
8762        # NAG Fortran compiler
8763        lt_prog_compiler_wl='-Wl,-Wl,,'
8764        lt_prog_compiler_pic='-PIC'
8765        lt_prog_compiler_static='-Bstatic'
8766        ;;
8767      esac
8768      ;;
8769
8770    mingw* | cygwin* | pw32* | os2* | cegcc*)
8771      # This hack is so that the source file can tell whether it is being
8772      # built for inclusion in a dll (and should export symbols for example).
8773      lt_prog_compiler_pic='-DDLL_EXPORT'
8774      case $host_os in
8775      os2*)
8776	lt_prog_compiler_static='$wl-static'
8777	;;
8778      esac
8779      ;;
8780
8781    hpux9* | hpux10* | hpux11*)
8782      lt_prog_compiler_wl='-Wl,'
8783      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8784      # not for PA HP-UX.
8785      case $host_cpu in
8786      hppa*64*|ia64*)
8787	# +Z the default
8788	;;
8789      *)
8790	lt_prog_compiler_pic='+Z'
8791	;;
8792      esac
8793      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8794      lt_prog_compiler_static='$wl-a ${wl}archive'
8795      ;;
8796
8797    irix5* | irix6* | nonstopux*)
8798      lt_prog_compiler_wl='-Wl,'
8799      # PIC (with -KPIC) is the default.
8800      lt_prog_compiler_static='-non_shared'
8801      ;;
8802
8803    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8804      case $cc_basename in
8805      # old Intel for x86_64, which still supported -KPIC.
8806      ecc*)
8807	lt_prog_compiler_wl='-Wl,'
8808	lt_prog_compiler_pic='-KPIC'
8809	lt_prog_compiler_static='-static'
8810        ;;
8811      # icc used to be incompatible with GCC.
8812      # ICC 10 doesn't accept -KPIC any more.
8813      icc* | ifort*)
8814	lt_prog_compiler_wl='-Wl,'
8815	lt_prog_compiler_pic='-fPIC'
8816	lt_prog_compiler_static='-static'
8817        ;;
8818      # Lahey Fortran 8.1.
8819      lf95*)
8820	lt_prog_compiler_wl='-Wl,'
8821	lt_prog_compiler_pic='--shared'
8822	lt_prog_compiler_static='--static'
8823	;;
8824      nagfor*)
8825	# NAG Fortran compiler
8826	lt_prog_compiler_wl='-Wl,-Wl,,'
8827	lt_prog_compiler_pic='-PIC'
8828	lt_prog_compiler_static='-Bstatic'
8829	;;
8830      tcc*)
8831	# Fabrice Bellard et al's Tiny C Compiler
8832	lt_prog_compiler_wl='-Wl,'
8833	lt_prog_compiler_pic='-fPIC'
8834	lt_prog_compiler_static='-static'
8835	;;
8836      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8837        # Portland Group compilers (*not* the Pentium gcc compiler,
8838	# which looks to be a dead project)
8839	lt_prog_compiler_wl='-Wl,'
8840	lt_prog_compiler_pic='-fpic'
8841	lt_prog_compiler_static='-Bstatic'
8842        ;;
8843      ccc*)
8844        lt_prog_compiler_wl='-Wl,'
8845        # All Alpha code is PIC.
8846        lt_prog_compiler_static='-non_shared'
8847        ;;
8848      xl* | bgxl* | bgf* | mpixl*)
8849	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8850	lt_prog_compiler_wl='-Wl,'
8851	lt_prog_compiler_pic='-qpic'
8852	lt_prog_compiler_static='-qstaticlink'
8853	;;
8854      *)
8855	case `$CC -V 2>&1 | sed 5q` in
8856	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8857	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8858	  lt_prog_compiler_pic='-KPIC'
8859	  lt_prog_compiler_static='-Bstatic'
8860	  lt_prog_compiler_wl=''
8861	  ;;
8862	*Sun\ F* | *Sun*Fortran*)
8863	  lt_prog_compiler_pic='-KPIC'
8864	  lt_prog_compiler_static='-Bstatic'
8865	  lt_prog_compiler_wl='-Qoption ld '
8866	  ;;
8867	*Sun\ C*)
8868	  # Sun C 5.9
8869	  lt_prog_compiler_pic='-KPIC'
8870	  lt_prog_compiler_static='-Bstatic'
8871	  lt_prog_compiler_wl='-Wl,'
8872	  ;;
8873        *Intel*\ [CF]*Compiler*)
8874	  lt_prog_compiler_wl='-Wl,'
8875	  lt_prog_compiler_pic='-fPIC'
8876	  lt_prog_compiler_static='-static'
8877	  ;;
8878	*Portland\ Group*)
8879	  lt_prog_compiler_wl='-Wl,'
8880	  lt_prog_compiler_pic='-fpic'
8881	  lt_prog_compiler_static='-Bstatic'
8882	  ;;
8883	esac
8884	;;
8885      esac
8886      ;;
8887
8888    newsos6)
8889      lt_prog_compiler_pic='-KPIC'
8890      lt_prog_compiler_static='-Bstatic'
8891      ;;
8892
8893    *nto* | *qnx*)
8894      # QNX uses GNU C++, but need to define -shared option too, otherwise
8895      # it will coredump.
8896      lt_prog_compiler_pic='-fPIC -shared'
8897      ;;
8898
8899    osf3* | osf4* | osf5*)
8900      lt_prog_compiler_wl='-Wl,'
8901      # All OSF/1 code is PIC.
8902      lt_prog_compiler_static='-non_shared'
8903      ;;
8904
8905    rdos*)
8906      lt_prog_compiler_static='-non_shared'
8907      ;;
8908
8909    solaris*)
8910      lt_prog_compiler_pic='-KPIC'
8911      lt_prog_compiler_static='-Bstatic'
8912      case $cc_basename in
8913      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8914	lt_prog_compiler_wl='-Qoption ld ';;
8915      *)
8916	lt_prog_compiler_wl='-Wl,';;
8917      esac
8918      ;;
8919
8920    sunos4*)
8921      lt_prog_compiler_wl='-Qoption ld '
8922      lt_prog_compiler_pic='-PIC'
8923      lt_prog_compiler_static='-Bstatic'
8924      ;;
8925
8926    sysv4 | sysv4.2uw2* | sysv4.3*)
8927      lt_prog_compiler_wl='-Wl,'
8928      lt_prog_compiler_pic='-KPIC'
8929      lt_prog_compiler_static='-Bstatic'
8930      ;;
8931
8932    sysv4*MP*)
8933      if test -d /usr/nec; then
8934	lt_prog_compiler_pic='-Kconform_pic'
8935	lt_prog_compiler_static='-Bstatic'
8936      fi
8937      ;;
8938
8939    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8940      lt_prog_compiler_wl='-Wl,'
8941      lt_prog_compiler_pic='-KPIC'
8942      lt_prog_compiler_static='-Bstatic'
8943      ;;
8944
8945    unicos*)
8946      lt_prog_compiler_wl='-Wl,'
8947      lt_prog_compiler_can_build_shared=no
8948      ;;
8949
8950    uts4*)
8951      lt_prog_compiler_pic='-pic'
8952      lt_prog_compiler_static='-Bstatic'
8953      ;;
8954
8955    *)
8956      lt_prog_compiler_can_build_shared=no
8957      ;;
8958    esac
8959  fi
8960
8961case $host_os in
8962  # For platforms that do not support PIC, -DPIC is meaningless:
8963  *djgpp*)
8964    lt_prog_compiler_pic=
8965    ;;
8966  *)
8967    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8968    ;;
8969esac
8970
8971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8972$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8973if ${lt_cv_prog_compiler_pic+:} false; then :
8974  $as_echo_n "(cached) " >&6
8975else
8976  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8977fi
8978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8979$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8980lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8981
8982#
8983# Check to make sure the PIC flag actually works.
8984#
8985if test -n "$lt_prog_compiler_pic"; then
8986  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8987$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8988if ${lt_cv_prog_compiler_pic_works+:} false; then :
8989  $as_echo_n "(cached) " >&6
8990else
8991  lt_cv_prog_compiler_pic_works=no
8992   ac_outfile=conftest.$ac_objext
8993   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8994   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8995   # Insert the option either (1) after the last *FLAGS variable, or
8996   # (2) before a word containing "conftest.", or (3) at the end.
8997   # Note that $ac_compile itself does not contain backslashes and begins
8998   # with a dollar sign (not a hyphen), so the echo should work correctly.
8999   # The option is referenced via a variable to avoid confusing sed.
9000   lt_compile=`echo "$ac_compile" | $SED \
9001   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003   -e 's:$: $lt_compiler_flag:'`
9004   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005   (eval "$lt_compile" 2>conftest.err)
9006   ac_status=$?
9007   cat conftest.err >&5
9008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009   if (exit $ac_status) && test -s "$ac_outfile"; then
9010     # The compiler can only warn and ignore the option if not recognized
9011     # So say no if there are warnings other than the usual output.
9012     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9013     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9014     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9015       lt_cv_prog_compiler_pic_works=yes
9016     fi
9017   fi
9018   $RM conftest*
9019
9020fi
9021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9022$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9023
9024if test yes = "$lt_cv_prog_compiler_pic_works"; then
9025    case $lt_prog_compiler_pic in
9026     "" | " "*) ;;
9027     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9028     esac
9029else
9030    lt_prog_compiler_pic=
9031     lt_prog_compiler_can_build_shared=no
9032fi
9033
9034fi
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046#
9047# Check to make sure the static flag actually works.
9048#
9049wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9051$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9052if ${lt_cv_prog_compiler_static_works+:} false; then :
9053  $as_echo_n "(cached) " >&6
9054else
9055  lt_cv_prog_compiler_static_works=no
9056   save_LDFLAGS=$LDFLAGS
9057   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9058   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9059   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9060     # The linker can only warn and ignore the option if not recognized
9061     # So say no if there are warnings
9062     if test -s conftest.err; then
9063       # Append any errors to the config.log.
9064       cat conftest.err 1>&5
9065       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9066       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9067       if diff conftest.exp conftest.er2 >/dev/null; then
9068         lt_cv_prog_compiler_static_works=yes
9069       fi
9070     else
9071       lt_cv_prog_compiler_static_works=yes
9072     fi
9073   fi
9074   $RM -r conftest*
9075   LDFLAGS=$save_LDFLAGS
9076
9077fi
9078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9079$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9080
9081if test yes = "$lt_cv_prog_compiler_static_works"; then
9082    :
9083else
9084    lt_prog_compiler_static=
9085fi
9086
9087
9088
9089
9090
9091
9092
9093  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9094$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9095if ${lt_cv_prog_compiler_c_o+:} false; then :
9096  $as_echo_n "(cached) " >&6
9097else
9098  lt_cv_prog_compiler_c_o=no
9099   $RM -r conftest 2>/dev/null
9100   mkdir conftest
9101   cd conftest
9102   mkdir out
9103   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9104
9105   lt_compiler_flag="-o out/conftest2.$ac_objext"
9106   # Insert the option either (1) after the last *FLAGS variable, or
9107   # (2) before a word containing "conftest.", or (3) at the end.
9108   # Note that $ac_compile itself does not contain backslashes and begins
9109   # with a dollar sign (not a hyphen), so the echo should work correctly.
9110   lt_compile=`echo "$ac_compile" | $SED \
9111   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9112   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9113   -e 's:$: $lt_compiler_flag:'`
9114   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9115   (eval "$lt_compile" 2>out/conftest.err)
9116   ac_status=$?
9117   cat out/conftest.err >&5
9118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9120   then
9121     # The compiler can only warn and ignore the option if not recognized
9122     # So say no if there are warnings
9123     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9124     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9125     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9126       lt_cv_prog_compiler_c_o=yes
9127     fi
9128   fi
9129   chmod u+w . 2>&5
9130   $RM conftest*
9131   # SGI C++ compiler will create directory out/ii_files/ for
9132   # template instantiation
9133   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9134   $RM out/* && rmdir out
9135   cd ..
9136   $RM -r conftest
9137   $RM conftest*
9138
9139fi
9140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9141$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9142
9143
9144
9145
9146
9147
9148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9149$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9150if ${lt_cv_prog_compiler_c_o+:} false; then :
9151  $as_echo_n "(cached) " >&6
9152else
9153  lt_cv_prog_compiler_c_o=no
9154   $RM -r conftest 2>/dev/null
9155   mkdir conftest
9156   cd conftest
9157   mkdir out
9158   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9159
9160   lt_compiler_flag="-o out/conftest2.$ac_objext"
9161   # Insert the option either (1) after the last *FLAGS variable, or
9162   # (2) before a word containing "conftest.", or (3) at the end.
9163   # Note that $ac_compile itself does not contain backslashes and begins
9164   # with a dollar sign (not a hyphen), so the echo should work correctly.
9165   lt_compile=`echo "$ac_compile" | $SED \
9166   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9167   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9168   -e 's:$: $lt_compiler_flag:'`
9169   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9170   (eval "$lt_compile" 2>out/conftest.err)
9171   ac_status=$?
9172   cat out/conftest.err >&5
9173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9175   then
9176     # The compiler can only warn and ignore the option if not recognized
9177     # So say no if there are warnings
9178     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9179     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9180     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9181       lt_cv_prog_compiler_c_o=yes
9182     fi
9183   fi
9184   chmod u+w . 2>&5
9185   $RM conftest*
9186   # SGI C++ compiler will create directory out/ii_files/ for
9187   # template instantiation
9188   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9189   $RM out/* && rmdir out
9190   cd ..
9191   $RM -r conftest
9192   $RM conftest*
9193
9194fi
9195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9196$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9197
9198
9199
9200
9201hard_links=nottested
9202if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9203  # do not overwrite the value of need_locks provided by the user
9204  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9205$as_echo_n "checking if we can lock with hard links... " >&6; }
9206  hard_links=yes
9207  $RM conftest*
9208  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9209  touch conftest.a
9210  ln conftest.a conftest.b 2>&5 || hard_links=no
9211  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9213$as_echo "$hard_links" >&6; }
9214  if test no = "$hard_links"; then
9215    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9216$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9217    need_locks=warn
9218  fi
9219else
9220  need_locks=no
9221fi
9222
9223
9224
9225
9226
9227
9228  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9229$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9230
9231  runpath_var=
9232  allow_undefined_flag=
9233  always_export_symbols=no
9234  archive_cmds=
9235  archive_expsym_cmds=
9236  compiler_needs_object=no
9237  enable_shared_with_static_runtimes=no
9238  export_dynamic_flag_spec=
9239  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9240  hardcode_automatic=no
9241  hardcode_direct=no
9242  hardcode_direct_absolute=no
9243  hardcode_libdir_flag_spec=
9244  hardcode_libdir_separator=
9245  hardcode_minus_L=no
9246  hardcode_shlibpath_var=unsupported
9247  inherit_rpath=no
9248  link_all_deplibs=unknown
9249  module_cmds=
9250  module_expsym_cmds=
9251  old_archive_from_new_cmds=
9252  old_archive_from_expsyms_cmds=
9253  thread_safe_flag_spec=
9254  whole_archive_flag_spec=
9255  # include_expsyms should be a list of space-separated symbols to be *always*
9256  # included in the symbol list
9257  include_expsyms=
9258  # exclude_expsyms can be an extended regexp of symbols to exclude
9259  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9260  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9261  # as well as any symbol that contains 'd'.
9262  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9263  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9264  # platforms (ab)use it in PIC code, but their linkers get confused if
9265  # the symbol is explicitly referenced.  Since portable code cannot
9266  # rely on this symbol name, it's probably fine to never include it in
9267  # preloaded symbol tables.
9268  # Exclude shared library initialization/finalization symbols.
9269  extract_expsyms_cmds=
9270
9271  case $host_os in
9272  cygwin* | mingw* | pw32* | cegcc*)
9273    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9274    # When not using gcc, we currently assume that we are using
9275    # Microsoft Visual C++.
9276    if test yes != "$GCC"; then
9277      with_gnu_ld=no
9278    fi
9279    ;;
9280  interix*)
9281    # we just hope/assume this is gcc and not c89 (= MSVC++)
9282    with_gnu_ld=yes
9283    ;;
9284  openbsd* | bitrig*)
9285    with_gnu_ld=no
9286    ;;
9287  linux* | k*bsd*-gnu | gnu*)
9288    link_all_deplibs=no
9289    ;;
9290  esac
9291
9292  ld_shlibs=yes
9293
9294  # On some targets, GNU ld is compatible enough with the native linker
9295  # that we're better off using the native interface for both.
9296  lt_use_gnu_ld_interface=no
9297  if test yes = "$with_gnu_ld"; then
9298    case $host_os in
9299      aix*)
9300	# The AIX port of GNU ld has always aspired to compatibility
9301	# with the native linker.  However, as the warning in the GNU ld
9302	# block says, versions before 2.19.5* couldn't really create working
9303	# shared libraries, regardless of the interface used.
9304	case `$LD -v 2>&1` in
9305	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9306	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9307	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9308	  *)
9309	    lt_use_gnu_ld_interface=yes
9310	    ;;
9311	esac
9312	;;
9313      *)
9314	lt_use_gnu_ld_interface=yes
9315	;;
9316    esac
9317  fi
9318
9319  if test yes = "$lt_use_gnu_ld_interface"; then
9320    # If archive_cmds runs LD, not CC, wlarc should be empty
9321    wlarc='$wl'
9322
9323    # Set some defaults for GNU ld with shared library support. These
9324    # are reset later if shared libraries are not supported. Putting them
9325    # here allows them to be overridden if necessary.
9326    runpath_var=LD_RUN_PATH
9327    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9328    export_dynamic_flag_spec='$wl--export-dynamic'
9329    # ancient GNU ld didn't support --whole-archive et. al.
9330    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9331      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9332    else
9333      whole_archive_flag_spec=
9334    fi
9335    supports_anon_versioning=no
9336    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9337      *GNU\ gold*) supports_anon_versioning=yes ;;
9338      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9339      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9340      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9341      *\ 2.11.*) ;; # other 2.11 versions
9342      *) supports_anon_versioning=yes ;;
9343    esac
9344
9345    # See if GNU ld supports shared libraries.
9346    case $host_os in
9347    aix[3-9]*)
9348      # On AIX/PPC, the GNU linker is very broken
9349      if test ia64 != "$host_cpu"; then
9350	ld_shlibs=no
9351	cat <<_LT_EOF 1>&2
9352
9353*** Warning: the GNU linker, at least up to release 2.19, is reported
9354*** to be unable to reliably create shared libraries on AIX.
9355*** Therefore, libtool is disabling shared libraries support.  If you
9356*** really care for shared libraries, you may want to install binutils
9357*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9358*** You will then need to restart the configuration process.
9359
9360_LT_EOF
9361      fi
9362      ;;
9363
9364    amigaos*)
9365      case $host_cpu in
9366      powerpc)
9367            # see comment about AmigaOS4 .so support
9368            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9369            archive_expsym_cmds=''
9370        ;;
9371      m68k)
9372            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9373            hardcode_libdir_flag_spec='-L$libdir'
9374            hardcode_minus_L=yes
9375        ;;
9376      esac
9377      ;;
9378
9379    beos*)
9380      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9381	allow_undefined_flag=unsupported
9382	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9383	# support --undefined.  This deserves some investigation.  FIXME
9384	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9385      else
9386	ld_shlibs=no
9387      fi
9388      ;;
9389
9390    cygwin* | mingw* | pw32* | cegcc*)
9391      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9392      # as there is no search path for DLLs.
9393      hardcode_libdir_flag_spec='-L$libdir'
9394      export_dynamic_flag_spec='$wl--export-all-symbols'
9395      allow_undefined_flag=unsupported
9396      always_export_symbols=no
9397      enable_shared_with_static_runtimes=yes
9398      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'
9399      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9400
9401      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9402        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9403	# If the export-symbols file already is a .def file, use it as
9404	# is; otherwise, prepend EXPORTS...
9405	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9406          cp $export_symbols $output_objdir/$soname.def;
9407        else
9408          echo EXPORTS > $output_objdir/$soname.def;
9409          cat $export_symbols >> $output_objdir/$soname.def;
9410        fi~
9411        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9412      else
9413	ld_shlibs=no
9414      fi
9415      ;;
9416
9417    haiku*)
9418      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9419      link_all_deplibs=yes
9420      ;;
9421
9422    os2*)
9423      hardcode_libdir_flag_spec='-L$libdir'
9424      hardcode_minus_L=yes
9425      allow_undefined_flag=unsupported
9426      shrext_cmds=.dll
9427      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9428	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9429	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9430	$ECHO EXPORTS >> $output_objdir/$libname.def~
9431	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9432	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9433	emximp -o $lib $output_objdir/$libname.def'
9434      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9435	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9436	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9437	$ECHO EXPORTS >> $output_objdir/$libname.def~
9438	prefix_cmds="$SED"~
9439	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9440	  prefix_cmds="$prefix_cmds -e 1d";
9441	fi~
9442	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9443	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9444	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9445	emximp -o $lib $output_objdir/$libname.def'
9446      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9447      enable_shared_with_static_runtimes=yes
9448      ;;
9449
9450    interix[3-9]*)
9451      hardcode_direct=no
9452      hardcode_shlibpath_var=no
9453      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9454      export_dynamic_flag_spec='$wl-E'
9455      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9456      # Instead, shared libraries are loaded at an image base (0x10000000 by
9457      # default) and relocated if they conflict, which is a slow very memory
9458      # consuming and fragmenting process.  To avoid this, we pick a random,
9459      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9460      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9461      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9462      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'
9463      ;;
9464
9465    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9466      tmp_diet=no
9467      if test linux-dietlibc = "$host_os"; then
9468	case $cc_basename in
9469	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9470	esac
9471      fi
9472      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9473	 && test no = "$tmp_diet"
9474      then
9475	tmp_addflag=' $pic_flag'
9476	tmp_sharedflag='-shared'
9477	case $cc_basename,$host_cpu in
9478        pgcc*)				# Portland Group C compiler
9479	  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'
9480	  tmp_addflag=' $pic_flag'
9481	  ;;
9482	pgf77* | pgf90* | pgf95* | pgfortran*)
9483					# Portland Group f77 and f90 compilers
9484	  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'
9485	  tmp_addflag=' $pic_flag -Mnomain' ;;
9486	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9487	  tmp_addflag=' -i_dynamic' ;;
9488	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9489	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9490	ifc* | ifort*)			# Intel Fortran compiler
9491	  tmp_addflag=' -nofor_main' ;;
9492	lf95*)				# Lahey Fortran 8.1
9493	  whole_archive_flag_spec=
9494	  tmp_sharedflag='--shared' ;;
9495        nagfor*)                        # NAGFOR 5.3
9496          tmp_sharedflag='-Wl,-shared' ;;
9497	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9498	  tmp_sharedflag='-qmkshrobj'
9499	  tmp_addflag= ;;
9500	nvcc*)	# Cuda Compiler Driver 2.2
9501	  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'
9502	  compiler_needs_object=yes
9503	  ;;
9504	esac
9505	case `$CC -V 2>&1 | sed 5q` in
9506	*Sun\ C*)			# Sun C 5.9
9507	  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'
9508	  compiler_needs_object=yes
9509	  tmp_sharedflag='-G' ;;
9510	*Sun\ F*)			# Sun Fortran 8.3
9511	  tmp_sharedflag='-G' ;;
9512	esac
9513	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9514
9515        if test yes = "$supports_anon_versioning"; then
9516          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9517            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9518            echo "local: *; };" >> $output_objdir/$libname.ver~
9519            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9520        fi
9521
9522	case $cc_basename in
9523	tcc*)
9524	  export_dynamic_flag_spec='-rdynamic'
9525	  ;;
9526	xlf* | bgf* | bgxlf* | mpixlf*)
9527	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9528	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9529	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9530	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9531	  if test yes = "$supports_anon_versioning"; then
9532	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9533              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9534              echo "local: *; };" >> $output_objdir/$libname.ver~
9535              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9536	  fi
9537	  ;;
9538	esac
9539      else
9540        ld_shlibs=no
9541      fi
9542      ;;
9543
9544    netbsd* | netbsdelf*-gnu)
9545      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9546	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9547	wlarc=
9548      else
9549	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9550	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9551      fi
9552      ;;
9553
9554    solaris*)
9555      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9556	ld_shlibs=no
9557	cat <<_LT_EOF 1>&2
9558
9559*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9560*** create shared libraries on Solaris systems.  Therefore, libtool
9561*** is disabling shared libraries support.  We urge you to upgrade GNU
9562*** binutils to release 2.9.1 or newer.  Another option is to modify
9563*** your PATH or compiler configuration so that the native linker is
9564*** used, and then restart.
9565
9566_LT_EOF
9567      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9568	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9569	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9570      else
9571	ld_shlibs=no
9572      fi
9573      ;;
9574
9575    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9576      case `$LD -v 2>&1` in
9577        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9578	ld_shlibs=no
9579	cat <<_LT_EOF 1>&2
9580
9581*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9582*** reliably create shared libraries on SCO systems.  Therefore, libtool
9583*** is disabling shared libraries support.  We urge you to upgrade GNU
9584*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9585*** your PATH or compiler configuration so that the native linker is
9586*** used, and then restart.
9587
9588_LT_EOF
9589	;;
9590	*)
9591	  # For security reasons, it is highly recommended that you always
9592	  # use absolute paths for naming shared libraries, and exclude the
9593	  # DT_RUNPATH tag from executables and libraries.  But doing so
9594	  # requires that you compile everything twice, which is a pain.
9595	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9596	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9597	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9598	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9599	  else
9600	    ld_shlibs=no
9601	  fi
9602	;;
9603      esac
9604      ;;
9605
9606    sunos4*)
9607      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9608      wlarc=
9609      hardcode_direct=yes
9610      hardcode_shlibpath_var=no
9611      ;;
9612
9613    *)
9614      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9615	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9616	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9617      else
9618	ld_shlibs=no
9619      fi
9620      ;;
9621    esac
9622
9623    if test no = "$ld_shlibs"; then
9624      runpath_var=
9625      hardcode_libdir_flag_spec=
9626      export_dynamic_flag_spec=
9627      whole_archive_flag_spec=
9628    fi
9629  else
9630    # PORTME fill in a description of your system's linker (not GNU ld)
9631    case $host_os in
9632    aix3*)
9633      allow_undefined_flag=unsupported
9634      always_export_symbols=yes
9635      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9636      # Note: this linker hardcodes the directories in LIBPATH if there
9637      # are no directories specified by -L.
9638      hardcode_minus_L=yes
9639      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9640	# Neither direct hardcoding nor static linking is supported with a
9641	# broken collect2.
9642	hardcode_direct=unsupported
9643      fi
9644      ;;
9645
9646    aix[4-9]*)
9647      if test ia64 = "$host_cpu"; then
9648	# On IA64, the linker does run time linking by default, so we don't
9649	# have to do anything special.
9650	aix_use_runtimelinking=no
9651	exp_sym_flag='-Bexport'
9652	no_entry_flag=
9653      else
9654	# If we're using GNU nm, then we don't want the "-C" option.
9655	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9656	# Without the "-l" option, or with the "-B" option, AIX nm treats
9657	# weak defined symbols like other global defined symbols, whereas
9658	# GNU nm marks them as "W".
9659	# While the 'weak' keyword is ignored in the Export File, we need
9660	# it in the Import File for the 'aix-soname' feature, so we have
9661	# to replace the "-B" option with "-P" for AIX nm.
9662	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9663	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9664	else
9665	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9666	fi
9667	aix_use_runtimelinking=no
9668
9669	# Test if we are trying to use run time linking or normal
9670	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9671	# have runtime linking enabled, and use it for executables.
9672	# For shared libraries, we enable/disable runtime linking
9673	# depending on the kind of the shared library created -
9674	# when "with_aix_soname,aix_use_runtimelinking" is:
9675	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9676	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9677	#            lib.a           static archive
9678	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9679	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9680	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9681	#            lib.a(lib.so.V) shared, rtl:no
9682	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9683	#            lib.a           static archive
9684	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9685	  for ld_flag in $LDFLAGS; do
9686	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9687	    aix_use_runtimelinking=yes
9688	    break
9689	  fi
9690	  done
9691	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9692	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9693	    # so we don't have lib.a shared libs to link our executables.
9694	    # We have to force runtime linking in this case.
9695	    aix_use_runtimelinking=yes
9696	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9697	  fi
9698	  ;;
9699	esac
9700
9701	exp_sym_flag='-bexport'
9702	no_entry_flag='-bnoentry'
9703      fi
9704
9705      # When large executables or shared objects are built, AIX ld can
9706      # have problems creating the table of contents.  If linking a library
9707      # or program results in "error TOC overflow" add -mminimal-toc to
9708      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9709      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9710
9711      archive_cmds=''
9712      hardcode_direct=yes
9713      hardcode_direct_absolute=yes
9714      hardcode_libdir_separator=':'
9715      link_all_deplibs=yes
9716      file_list_spec='$wl-f,'
9717      case $with_aix_soname,$aix_use_runtimelinking in
9718      aix,*) ;; # traditional, no import file
9719      svr4,* | *,yes) # use import file
9720	# The Import File defines what to hardcode.
9721	hardcode_direct=no
9722	hardcode_direct_absolute=no
9723	;;
9724      esac
9725
9726      if test yes = "$GCC"; then
9727	case $host_os in aix4.[012]|aix4.[012].*)
9728	# We only want to do this on AIX 4.2 and lower, the check
9729	# below for broken collect2 doesn't work under 4.3+
9730	  collect2name=`$CC -print-prog-name=collect2`
9731	  if test -f "$collect2name" &&
9732	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9733	  then
9734	  # We have reworked collect2
9735	  :
9736	  else
9737	  # We have old collect2
9738	  hardcode_direct=unsupported
9739	  # It fails to find uninstalled libraries when the uninstalled
9740	  # path is not listed in the libpath.  Setting hardcode_minus_L
9741	  # to unsupported forces relinking
9742	  hardcode_minus_L=yes
9743	  hardcode_libdir_flag_spec='-L$libdir'
9744	  hardcode_libdir_separator=
9745	  fi
9746	  ;;
9747	esac
9748	shared_flag='-shared'
9749	if test yes = "$aix_use_runtimelinking"; then
9750	  shared_flag="$shared_flag "'$wl-G'
9751	fi
9752	# Need to ensure runtime linking is disabled for the traditional
9753	# shared library, or the linker may eventually find shared libraries
9754	# /with/ Import File - we do not want to mix them.
9755	shared_flag_aix='-shared'
9756	shared_flag_svr4='-shared $wl-G'
9757      else
9758	# not using gcc
9759	if test ia64 = "$host_cpu"; then
9760	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9761	# chokes on -Wl,-G. The following line is correct:
9762	  shared_flag='-G'
9763	else
9764	  if test yes = "$aix_use_runtimelinking"; then
9765	    shared_flag='$wl-G'
9766	  else
9767	    shared_flag='$wl-bM:SRE'
9768	  fi
9769	  shared_flag_aix='$wl-bM:SRE'
9770	  shared_flag_svr4='$wl-G'
9771	fi
9772      fi
9773
9774      export_dynamic_flag_spec='$wl-bexpall'
9775      # It seems that -bexpall does not export symbols beginning with
9776      # underscore (_), so it is better to generate a list of symbols to export.
9777      always_export_symbols=yes
9778      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9779	# Warning - without using the other runtime loading flags (-brtl),
9780	# -berok will link without error, but may produce a broken library.
9781	allow_undefined_flag='-berok'
9782        # Determine the default libpath from the value encoded in an
9783        # empty executable.
9784        if test set = "${lt_cv_aix_libpath+set}"; then
9785  aix_libpath=$lt_cv_aix_libpath
9786else
9787  if ${lt_cv_aix_libpath_+:} false; then :
9788  $as_echo_n "(cached) " >&6
9789else
9790  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9791/* end confdefs.h.  */
9792
9793int
9794main ()
9795{
9796
9797  ;
9798  return 0;
9799}
9800_ACEOF
9801if ac_fn_c_try_link "$LINENO"; then :
9802
9803  lt_aix_libpath_sed='
9804      /Import File Strings/,/^$/ {
9805	  /^0/ {
9806	      s/^0  *\([^ ]*\) *$/\1/
9807	      p
9808	  }
9809      }'
9810  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9811  # Check for a 64-bit object if we didn't find anything.
9812  if test -z "$lt_cv_aix_libpath_"; then
9813    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9814  fi
9815fi
9816rm -f core conftest.err conftest.$ac_objext \
9817    conftest$ac_exeext conftest.$ac_ext
9818  if test -z "$lt_cv_aix_libpath_"; then
9819    lt_cv_aix_libpath_=/usr/lib:/lib
9820  fi
9821
9822fi
9823
9824  aix_libpath=$lt_cv_aix_libpath_
9825fi
9826
9827        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9828        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9829      else
9830	if test ia64 = "$host_cpu"; then
9831	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9832	  allow_undefined_flag="-z nodefs"
9833	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
9834	else
9835	 # Determine the default libpath from the value encoded in an
9836	 # empty executable.
9837	 if test set = "${lt_cv_aix_libpath+set}"; then
9838  aix_libpath=$lt_cv_aix_libpath
9839else
9840  if ${lt_cv_aix_libpath_+:} false; then :
9841  $as_echo_n "(cached) " >&6
9842else
9843  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844/* end confdefs.h.  */
9845
9846int
9847main ()
9848{
9849
9850  ;
9851  return 0;
9852}
9853_ACEOF
9854if ac_fn_c_try_link "$LINENO"; then :
9855
9856  lt_aix_libpath_sed='
9857      /Import File Strings/,/^$/ {
9858	  /^0/ {
9859	      s/^0  *\([^ ]*\) *$/\1/
9860	      p
9861	  }
9862      }'
9863  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9864  # Check for a 64-bit object if we didn't find anything.
9865  if test -z "$lt_cv_aix_libpath_"; then
9866    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9867  fi
9868fi
9869rm -f core conftest.err conftest.$ac_objext \
9870    conftest$ac_exeext conftest.$ac_ext
9871  if test -z "$lt_cv_aix_libpath_"; then
9872    lt_cv_aix_libpath_=/usr/lib:/lib
9873  fi
9874
9875fi
9876
9877  aix_libpath=$lt_cv_aix_libpath_
9878fi
9879
9880	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9881	  # Warning - without using the other run time loading flags,
9882	  # -berok will link without error, but may produce a broken library.
9883	  no_undefined_flag=' $wl-bernotok'
9884	  allow_undefined_flag=' $wl-berok'
9885	  if test yes = "$with_gnu_ld"; then
9886	    # We only use this code for GNU lds that support --whole-archive.
9887	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9888	  else
9889	    # Exported symbols can be pulled into shared objects from archives
9890	    whole_archive_flag_spec='$convenience'
9891	  fi
9892	  archive_cmds_need_lc=yes
9893	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9894	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9895	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9896	  if test svr4 != "$with_aix_soname"; then
9897	    # This is similar to how AIX traditionally builds its shared libraries.
9898	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9899	  fi
9900	  if test aix != "$with_aix_soname"; then
9901	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9902	  else
9903	    # used by -dlpreopen to get the symbols
9904	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9905	  fi
9906	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9907	fi
9908      fi
9909      ;;
9910
9911    amigaos*)
9912      case $host_cpu in
9913      powerpc)
9914            # see comment about AmigaOS4 .so support
9915            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9916            archive_expsym_cmds=''
9917        ;;
9918      m68k)
9919            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9920            hardcode_libdir_flag_spec='-L$libdir'
9921            hardcode_minus_L=yes
9922        ;;
9923      esac
9924      ;;
9925
9926    bsdi[45]*)
9927      export_dynamic_flag_spec=-rdynamic
9928      ;;
9929
9930    cygwin* | mingw* | pw32* | cegcc*)
9931      # When not using gcc, we currently assume that we are using
9932      # Microsoft Visual C++.
9933      # hardcode_libdir_flag_spec is actually meaningless, as there is
9934      # no search path for DLLs.
9935      case $cc_basename in
9936      cl*)
9937	# Native MSVC
9938	hardcode_libdir_flag_spec=' '
9939	allow_undefined_flag=unsupported
9940	always_export_symbols=yes
9941	file_list_spec='@'
9942	# Tell ltmain to make .lib files, not .a files.
9943	libext=lib
9944	# Tell ltmain to make .dll files, not .so files.
9945	shrext_cmds=.dll
9946	# FIXME: Setting linknames here is a bad hack.
9947	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9948	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9949            cp "$export_symbols" "$output_objdir/$soname.def";
9950            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9951          else
9952            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9953          fi~
9954          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9955          linknames='
9956	# The linker will not automatically build a static lib if we build a DLL.
9957	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9958	enable_shared_with_static_runtimes=yes
9959	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9960	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9961	# Don't use ranlib
9962	old_postinstall_cmds='chmod 644 $oldlib'
9963	postlink_cmds='lt_outputfile="@OUTPUT@"~
9964          lt_tool_outputfile="@TOOL_OUTPUT@"~
9965          case $lt_outputfile in
9966            *.exe|*.EXE) ;;
9967            *)
9968              lt_outputfile=$lt_outputfile.exe
9969              lt_tool_outputfile=$lt_tool_outputfile.exe
9970              ;;
9971          esac~
9972          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9973            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9974            $RM "$lt_outputfile.manifest";
9975          fi'
9976	;;
9977      *)
9978	# Assume MSVC wrapper
9979	hardcode_libdir_flag_spec=' '
9980	allow_undefined_flag=unsupported
9981	# Tell ltmain to make .lib files, not .a files.
9982	libext=lib
9983	# Tell ltmain to make .dll files, not .so files.
9984	shrext_cmds=.dll
9985	# FIXME: Setting linknames here is a bad hack.
9986	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9987	# The linker will automatically build a .lib file if we build a DLL.
9988	old_archive_from_new_cmds='true'
9989	# FIXME: Should let the user specify the lib program.
9990	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9991	enable_shared_with_static_runtimes=yes
9992	;;
9993      esac
9994      ;;
9995
9996    darwin* | rhapsody*)
9997
9998
9999  archive_cmds_need_lc=no
10000  hardcode_direct=no
10001  hardcode_automatic=yes
10002  hardcode_shlibpath_var=unsupported
10003  if test yes = "$lt_cv_ld_force_load"; then
10004    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\"`'
10005
10006  else
10007    whole_archive_flag_spec=''
10008  fi
10009  link_all_deplibs=yes
10010  allow_undefined_flag=$_lt_dar_allow_undefined
10011  case $cc_basename in
10012     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10013     *) _lt_dar_can_shared=$GCC ;;
10014  esac
10015  if test yes = "$_lt_dar_can_shared"; then
10016    output_verbose_link_cmd=func_echo_all
10017    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10018    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10019    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"
10020    module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
10021
10022  else
10023  ld_shlibs=no
10024  fi
10025
10026      ;;
10027
10028    dgux*)
10029      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10030      hardcode_libdir_flag_spec='-L$libdir'
10031      hardcode_shlibpath_var=no
10032      ;;
10033
10034    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10035    # support.  Future versions do this automatically, but an explicit c++rt0.o
10036    # does not break anything, and helps significantly (at the cost of a little
10037    # extra space).
10038    freebsd2.2*)
10039      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10040      hardcode_libdir_flag_spec='-R$libdir'
10041      hardcode_direct=yes
10042      hardcode_shlibpath_var=no
10043      ;;
10044
10045    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10046    freebsd2.*)
10047      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10048      hardcode_direct=yes
10049      hardcode_minus_L=yes
10050      hardcode_shlibpath_var=no
10051      ;;
10052
10053    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10054    freebsd* | dragonfly*)
10055      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10056      hardcode_libdir_flag_spec='-R$libdir'
10057      hardcode_direct=yes
10058      hardcode_shlibpath_var=no
10059      ;;
10060
10061    hpux9*)
10062      if test yes = "$GCC"; then
10063	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10064      else
10065	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10066      fi
10067      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10068      hardcode_libdir_separator=:
10069      hardcode_direct=yes
10070
10071      # hardcode_minus_L: Not really in the search PATH,
10072      # but as the default location of the library.
10073      hardcode_minus_L=yes
10074      export_dynamic_flag_spec='$wl-E'
10075      ;;
10076
10077    hpux10*)
10078      if test yes,no = "$GCC,$with_gnu_ld"; then
10079	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10080      else
10081	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10082      fi
10083      if test no = "$with_gnu_ld"; then
10084	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10085	hardcode_libdir_separator=:
10086	hardcode_direct=yes
10087	hardcode_direct_absolute=yes
10088	export_dynamic_flag_spec='$wl-E'
10089	# hardcode_minus_L: Not really in the search PATH,
10090	# but as the default location of the library.
10091	hardcode_minus_L=yes
10092      fi
10093      ;;
10094
10095    hpux11*)
10096      if test yes,no = "$GCC,$with_gnu_ld"; then
10097	case $host_cpu in
10098	hppa*64*)
10099	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10100	  ;;
10101	ia64*)
10102	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10103	  ;;
10104	*)
10105	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10106	  ;;
10107	esac
10108      else
10109	case $host_cpu in
10110	hppa*64*)
10111	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10112	  ;;
10113	ia64*)
10114	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10115	  ;;
10116	*)
10117
10118	  # Older versions of the 11.00 compiler do not understand -b yet
10119	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10120	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10121$as_echo_n "checking if $CC understands -b... " >&6; }
10122if ${lt_cv_prog_compiler__b+:} false; then :
10123  $as_echo_n "(cached) " >&6
10124else
10125  lt_cv_prog_compiler__b=no
10126   save_LDFLAGS=$LDFLAGS
10127   LDFLAGS="$LDFLAGS -b"
10128   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10129   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10130     # The linker can only warn and ignore the option if not recognized
10131     # So say no if there are warnings
10132     if test -s conftest.err; then
10133       # Append any errors to the config.log.
10134       cat conftest.err 1>&5
10135       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10136       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10137       if diff conftest.exp conftest.er2 >/dev/null; then
10138         lt_cv_prog_compiler__b=yes
10139       fi
10140     else
10141       lt_cv_prog_compiler__b=yes
10142     fi
10143   fi
10144   $RM -r conftest*
10145   LDFLAGS=$save_LDFLAGS
10146
10147fi
10148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10149$as_echo "$lt_cv_prog_compiler__b" >&6; }
10150
10151if test yes = "$lt_cv_prog_compiler__b"; then
10152    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10153else
10154    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10155fi
10156
10157	  ;;
10158	esac
10159      fi
10160      if test no = "$with_gnu_ld"; then
10161	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10162	hardcode_libdir_separator=:
10163
10164	case $host_cpu in
10165	hppa*64*|ia64*)
10166	  hardcode_direct=no
10167	  hardcode_shlibpath_var=no
10168	  ;;
10169	*)
10170	  hardcode_direct=yes
10171	  hardcode_direct_absolute=yes
10172	  export_dynamic_flag_spec='$wl-E'
10173
10174	  # hardcode_minus_L: Not really in the search PATH,
10175	  # but as the default location of the library.
10176	  hardcode_minus_L=yes
10177	  ;;
10178	esac
10179      fi
10180      ;;
10181
10182    irix5* | irix6* | nonstopux*)
10183      if test yes = "$GCC"; then
10184	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'
10185	# Try to use the -exported_symbol ld option, if it does not
10186	# work, assume that -exports_file does not work either and
10187	# implicitly export all symbols.
10188	# This should be the same for all languages, so no per-tag cache variable.
10189	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10190$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10191if ${lt_cv_irix_exported_symbol+:} false; then :
10192  $as_echo_n "(cached) " >&6
10193else
10194  save_LDFLAGS=$LDFLAGS
10195	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10196	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10197/* end confdefs.h.  */
10198int foo (void) { return 0; }
10199_ACEOF
10200if ac_fn_c_try_link "$LINENO"; then :
10201  lt_cv_irix_exported_symbol=yes
10202else
10203  lt_cv_irix_exported_symbol=no
10204fi
10205rm -f core conftest.err conftest.$ac_objext \
10206    conftest$ac_exeext conftest.$ac_ext
10207           LDFLAGS=$save_LDFLAGS
10208fi
10209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10210$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10211	if test yes = "$lt_cv_irix_exported_symbol"; then
10212          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'
10213	fi
10214	link_all_deplibs=no
10215      else
10216	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'
10217	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'
10218      fi
10219      archive_cmds_need_lc='no'
10220      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10221      hardcode_libdir_separator=:
10222      inherit_rpath=yes
10223      link_all_deplibs=yes
10224      ;;
10225
10226    linux*)
10227      case $cc_basename in
10228      tcc*)
10229	# Fabrice Bellard et al's Tiny C Compiler
10230	ld_shlibs=yes
10231	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10232	;;
10233      esac
10234      ;;
10235
10236    netbsd* | netbsdelf*-gnu)
10237      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10238	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10239      else
10240	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10241      fi
10242      hardcode_libdir_flag_spec='-R$libdir'
10243      hardcode_direct=yes
10244      hardcode_shlibpath_var=no
10245      ;;
10246
10247    newsos6)
10248      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10249      hardcode_direct=yes
10250      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10251      hardcode_libdir_separator=:
10252      hardcode_shlibpath_var=no
10253      ;;
10254
10255    *nto* | *qnx*)
10256      ;;
10257
10258    openbsd* | bitrig*)
10259      if test -f /usr/libexec/ld.so; then
10260	hardcode_direct=yes
10261	hardcode_shlibpath_var=no
10262	hardcode_direct_absolute=yes
10263	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10264	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10265	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10266	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10267	  export_dynamic_flag_spec='$wl-E'
10268	else
10269	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10270	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10271	fi
10272      else
10273	ld_shlibs=no
10274      fi
10275      ;;
10276
10277    os2*)
10278      hardcode_libdir_flag_spec='-L$libdir'
10279      hardcode_minus_L=yes
10280      allow_undefined_flag=unsupported
10281      shrext_cmds=.dll
10282      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10283	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10284	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10285	$ECHO EXPORTS >> $output_objdir/$libname.def~
10286	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10287	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10288	emximp -o $lib $output_objdir/$libname.def'
10289      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10290	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10291	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10292	$ECHO EXPORTS >> $output_objdir/$libname.def~
10293	prefix_cmds="$SED"~
10294	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10295	  prefix_cmds="$prefix_cmds -e 1d";
10296	fi~
10297	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10298	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10299	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10300	emximp -o $lib $output_objdir/$libname.def'
10301      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10302      enable_shared_with_static_runtimes=yes
10303      ;;
10304
10305    osf3*)
10306      if test yes = "$GCC"; then
10307	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10308	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'
10309      else
10310	allow_undefined_flag=' -expect_unresolved \*'
10311	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'
10312      fi
10313      archive_cmds_need_lc='no'
10314      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10315      hardcode_libdir_separator=:
10316      ;;
10317
10318    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10319      if test yes = "$GCC"; then
10320	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10321	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'
10322	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10323      else
10324	allow_undefined_flag=' -expect_unresolved \*'
10325	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'
10326	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~
10327          $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'
10328
10329	# Both c and cxx compiler support -rpath directly
10330	hardcode_libdir_flag_spec='-rpath $libdir'
10331      fi
10332      archive_cmds_need_lc='no'
10333      hardcode_libdir_separator=:
10334      ;;
10335
10336    solaris*)
10337      no_undefined_flag=' -z defs'
10338      if test yes = "$GCC"; then
10339	wlarc='$wl'
10340	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10341	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10342          $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'
10343      else
10344	case `$CC -V 2>&1` in
10345	*"Compilers 5.0"*)
10346	  wlarc=''
10347	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10348	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10349            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10350	  ;;
10351	*)
10352	  wlarc='$wl'
10353	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10354	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10355            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10356	  ;;
10357	esac
10358      fi
10359      hardcode_libdir_flag_spec='-R$libdir'
10360      hardcode_shlibpath_var=no
10361      case $host_os in
10362      solaris2.[0-5] | solaris2.[0-5].*) ;;
10363      *)
10364	# The compiler driver will combine and reorder linker options,
10365	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10366	# but is careful enough not to reorder.
10367	# Supported since Solaris 2.6 (maybe 2.5.1?)
10368	if test yes = "$GCC"; then
10369	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10370	else
10371	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10372	fi
10373	;;
10374      esac
10375      link_all_deplibs=yes
10376      ;;
10377
10378    sunos4*)
10379      if test sequent = "$host_vendor"; then
10380	# Use $CC to link under sequent, because it throws in some extra .o
10381	# files that make .init and .fini sections work.
10382	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10383      else
10384	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10385      fi
10386      hardcode_libdir_flag_spec='-L$libdir'
10387      hardcode_direct=yes
10388      hardcode_minus_L=yes
10389      hardcode_shlibpath_var=no
10390      ;;
10391
10392    sysv4)
10393      case $host_vendor in
10394	sni)
10395	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10396	  hardcode_direct=yes # is this really true???
10397	;;
10398	siemens)
10399	  ## LD is ld it makes a PLAMLIB
10400	  ## CC just makes a GrossModule.
10401	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10402	  reload_cmds='$CC -r -o $output$reload_objs'
10403	  hardcode_direct=no
10404        ;;
10405	motorola)
10406	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10407	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10408	;;
10409      esac
10410      runpath_var='LD_RUN_PATH'
10411      hardcode_shlibpath_var=no
10412      ;;
10413
10414    sysv4.3*)
10415      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10416      hardcode_shlibpath_var=no
10417      export_dynamic_flag_spec='-Bexport'
10418      ;;
10419
10420    sysv4*MP*)
10421      if test -d /usr/nec; then
10422	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10423	hardcode_shlibpath_var=no
10424	runpath_var=LD_RUN_PATH
10425	hardcode_runpath_var=yes
10426	ld_shlibs=yes
10427      fi
10428      ;;
10429
10430    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10431      no_undefined_flag='$wl-z,text'
10432      archive_cmds_need_lc=no
10433      hardcode_shlibpath_var=no
10434      runpath_var='LD_RUN_PATH'
10435
10436      if test yes = "$GCC"; then
10437	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10438	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10439      else
10440	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10441	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10442      fi
10443      ;;
10444
10445    sysv5* | sco3.2v5* | sco5v6*)
10446      # Note: We CANNOT use -z defs as we might desire, because we do not
10447      # link with -lc, and that would cause any symbols used from libc to
10448      # always be unresolved, which means just about no library would
10449      # ever link correctly.  If we're not using GNU ld we use -z text
10450      # though, which does catch some bad symbols but isn't as heavy-handed
10451      # as -z defs.
10452      no_undefined_flag='$wl-z,text'
10453      allow_undefined_flag='$wl-z,nodefs'
10454      archive_cmds_need_lc=no
10455      hardcode_shlibpath_var=no
10456      hardcode_libdir_flag_spec='$wl-R,$libdir'
10457      hardcode_libdir_separator=':'
10458      link_all_deplibs=yes
10459      export_dynamic_flag_spec='$wl-Bexport'
10460      runpath_var='LD_RUN_PATH'
10461
10462      if test yes = "$GCC"; then
10463	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10464	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10465      else
10466	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10467	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10468      fi
10469      ;;
10470
10471    uts4*)
10472      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10473      hardcode_libdir_flag_spec='-L$libdir'
10474      hardcode_shlibpath_var=no
10475      ;;
10476
10477    *)
10478      ld_shlibs=no
10479      ;;
10480    esac
10481
10482    if test sni = "$host_vendor"; then
10483      case $host in
10484      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10485	export_dynamic_flag_spec='$wl-Blargedynsym'
10486	;;
10487      esac
10488    fi
10489  fi
10490
10491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10492$as_echo "$ld_shlibs" >&6; }
10493test no = "$ld_shlibs" && can_build_shared=no
10494
10495with_gnu_ld=$with_gnu_ld
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511#
10512# Do we need to explicitly link libc?
10513#
10514case "x$archive_cmds_need_lc" in
10515x|xyes)
10516  # Assume -lc should be added
10517  archive_cmds_need_lc=yes
10518
10519  if test yes,yes = "$GCC,$enable_shared"; then
10520    case $archive_cmds in
10521    *'~'*)
10522      # FIXME: we may have to deal with multi-command sequences.
10523      ;;
10524    '$CC '*)
10525      # Test whether the compiler implicitly links with -lc since on some
10526      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10527      # to ld, don't add -lc before -lgcc.
10528      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10529$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10530if ${lt_cv_archive_cmds_need_lc+:} false; then :
10531  $as_echo_n "(cached) " >&6
10532else
10533  $RM conftest*
10534	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10535
10536	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10537  (eval $ac_compile) 2>&5
10538  ac_status=$?
10539  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10540  test $ac_status = 0; } 2>conftest.err; then
10541	  soname=conftest
10542	  lib=conftest
10543	  libobjs=conftest.$ac_objext
10544	  deplibs=
10545	  wl=$lt_prog_compiler_wl
10546	  pic_flag=$lt_prog_compiler_pic
10547	  compiler_flags=-v
10548	  linker_flags=-v
10549	  verstring=
10550	  output_objdir=.
10551	  libname=conftest
10552	  lt_save_allow_undefined_flag=$allow_undefined_flag
10553	  allow_undefined_flag=
10554	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10555  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10556  ac_status=$?
10557  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10558  test $ac_status = 0; }
10559	  then
10560	    lt_cv_archive_cmds_need_lc=no
10561	  else
10562	    lt_cv_archive_cmds_need_lc=yes
10563	  fi
10564	  allow_undefined_flag=$lt_save_allow_undefined_flag
10565	else
10566	  cat conftest.err 1>&5
10567	fi
10568	$RM conftest*
10569
10570fi
10571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10572$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10573      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10574      ;;
10575    esac
10576  fi
10577  ;;
10578esac
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10732$as_echo_n "checking dynamic linker characteristics... " >&6; }
10733
10734if test yes = "$GCC"; then
10735  case $host_os in
10736    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10737    *) lt_awk_arg='/^libraries:/' ;;
10738  esac
10739  case $host_os in
10740    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10741    *) lt_sed_strip_eq='s|=/|/|g' ;;
10742  esac
10743  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10744  case $lt_search_path_spec in
10745  *\;*)
10746    # if the path contains ";" then we assume it to be the separator
10747    # otherwise default to the standard path separator (i.e. ":") - it is
10748    # assumed that no part of a normal pathname contains ";" but that should
10749    # okay in the real world where ";" in dirpaths is itself problematic.
10750    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10751    ;;
10752  *)
10753    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10754    ;;
10755  esac
10756  # Ok, now we have the path, separated by spaces, we can step through it
10757  # and add multilib dir if necessary...
10758  lt_tmp_lt_search_path_spec=
10759  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10760  # ...but if some path component already ends with the multilib dir we assume
10761  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10762  case "$lt_multi_os_dir; $lt_search_path_spec " in
10763  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10764    lt_multi_os_dir=
10765    ;;
10766  esac
10767  for lt_sys_path in $lt_search_path_spec; do
10768    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10769      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10770    elif test -n "$lt_multi_os_dir"; then
10771      test -d "$lt_sys_path" && \
10772	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10773    fi
10774  done
10775  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10776BEGIN {RS = " "; FS = "/|\n";} {
10777  lt_foo = "";
10778  lt_count = 0;
10779  for (lt_i = NF; lt_i > 0; lt_i--) {
10780    if ($lt_i != "" && $lt_i != ".") {
10781      if ($lt_i == "..") {
10782        lt_count++;
10783      } else {
10784        if (lt_count == 0) {
10785          lt_foo = "/" $lt_i lt_foo;
10786        } else {
10787          lt_count--;
10788        }
10789      }
10790    }
10791  }
10792  if (lt_foo != "") { lt_freq[lt_foo]++; }
10793  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10794}'`
10795  # AWK program above erroneously prepends '/' to C:/dos/paths
10796  # for these hosts.
10797  case $host_os in
10798    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10799      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10800  esac
10801  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10802else
10803  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10804fi
10805library_names_spec=
10806libname_spec='lib$name'
10807soname_spec=
10808shrext_cmds=.so
10809postinstall_cmds=
10810postuninstall_cmds=
10811finish_cmds=
10812finish_eval=
10813shlibpath_var=
10814shlibpath_overrides_runpath=unknown
10815version_type=none
10816dynamic_linker="$host_os ld.so"
10817sys_lib_dlsearch_path_spec="/lib /usr/lib"
10818need_lib_prefix=unknown
10819hardcode_into_libs=no
10820
10821# when you set need_version to no, make sure it does not cause -set_version
10822# flags to be left without arguments
10823need_version=unknown
10824
10825
10826
10827case $host_os in
10828aix3*)
10829  version_type=linux # correct to gnu/linux during the next big refactor
10830  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10831  shlibpath_var=LIBPATH
10832
10833  # AIX 3 has no versioning support, so we append a major version to the name.
10834  soname_spec='$libname$release$shared_ext$major'
10835  ;;
10836
10837aix[4-9]*)
10838  version_type=linux # correct to gnu/linux during the next big refactor
10839  need_lib_prefix=no
10840  need_version=no
10841  hardcode_into_libs=yes
10842  if test ia64 = "$host_cpu"; then
10843    # AIX 5 supports IA64
10844    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10845    shlibpath_var=LD_LIBRARY_PATH
10846  else
10847    # With GCC up to 2.95.x, collect2 would create an import file
10848    # for dependence libraries.  The import file would start with
10849    # the line '#! .'.  This would cause the generated library to
10850    # depend on '.', always an invalid library.  This was fixed in
10851    # development snapshots of GCC prior to 3.0.
10852    case $host_os in
10853      aix4 | aix4.[01] | aix4.[01].*)
10854      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10855	   echo ' yes '
10856	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10857	:
10858      else
10859	can_build_shared=no
10860      fi
10861      ;;
10862    esac
10863    # Using Import Files as archive members, it is possible to support
10864    # filename-based versioning of shared library archives on AIX. While
10865    # this would work for both with and without runtime linking, it will
10866    # prevent static linking of such archives. So we do filename-based
10867    # shared library versioning with .so extension only, which is used
10868    # when both runtime linking and shared linking is enabled.
10869    # Unfortunately, runtime linking may impact performance, so we do
10870    # not want this to be the default eventually. Also, we use the
10871    # versioned .so libs for executables only if there is the -brtl
10872    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10873    # To allow for filename-based versioning support, we need to create
10874    # libNAME.so.V as an archive file, containing:
10875    # *) an Import File, referring to the versioned filename of the
10876    #    archive as well as the shared archive member, telling the
10877    #    bitwidth (32 or 64) of that shared object, and providing the
10878    #    list of exported symbols of that shared object, eventually
10879    #    decorated with the 'weak' keyword
10880    # *) the shared object with the F_LOADONLY flag set, to really avoid
10881    #    it being seen by the linker.
10882    # At run time we better use the real file rather than another symlink,
10883    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10884
10885    case $with_aix_soname,$aix_use_runtimelinking in
10886    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10887    # soname into executable. Probably we can add versioning support to
10888    # collect2, so additional links can be useful in future.
10889    aix,yes) # traditional libtool
10890      dynamic_linker='AIX unversionable lib.so'
10891      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10892      # instead of lib<name>.a to let people know that these are not
10893      # typical AIX shared libraries.
10894      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10895      ;;
10896    aix,no) # traditional AIX only
10897      dynamic_linker='AIX lib.a(lib.so.V)'
10898      # We preserve .a as extension for shared libraries through AIX4.2
10899      # and later when we are not doing run time linking.
10900      library_names_spec='$libname$release.a $libname.a'
10901      soname_spec='$libname$release$shared_ext$major'
10902      ;;
10903    svr4,*) # full svr4 only
10904      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10905      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10906      # We do not specify a path in Import Files, so LIBPATH fires.
10907      shlibpath_overrides_runpath=yes
10908      ;;
10909    *,yes) # both, prefer svr4
10910      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10911      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10912      # unpreferred sharedlib libNAME.a needs extra handling
10913      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10914      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10915      # We do not specify a path in Import Files, so LIBPATH fires.
10916      shlibpath_overrides_runpath=yes
10917      ;;
10918    *,no) # both, prefer aix
10919      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10920      library_names_spec='$libname$release.a $libname.a'
10921      soname_spec='$libname$release$shared_ext$major'
10922      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10923      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10924      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10925      ;;
10926    esac
10927    shlibpath_var=LIBPATH
10928  fi
10929  ;;
10930
10931amigaos*)
10932  case $host_cpu in
10933  powerpc)
10934    # Since July 2007 AmigaOS4 officially supports .so libraries.
10935    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10936    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10937    ;;
10938  m68k)
10939    library_names_spec='$libname.ixlibrary $libname.a'
10940    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10941    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10942    ;;
10943  esac
10944  ;;
10945
10946beos*)
10947  library_names_spec='$libname$shared_ext'
10948  dynamic_linker="$host_os ld.so"
10949  shlibpath_var=LIBRARY_PATH
10950  ;;
10951
10952bsdi[45]*)
10953  version_type=linux # correct to gnu/linux during the next big refactor
10954  need_version=no
10955  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10956  soname_spec='$libname$release$shared_ext$major'
10957  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10958  shlibpath_var=LD_LIBRARY_PATH
10959  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10960  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10961  # the default ld.so.conf also contains /usr/contrib/lib and
10962  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10963  # libtool to hard-code these into programs
10964  ;;
10965
10966cygwin* | mingw* | pw32* | cegcc*)
10967  version_type=windows
10968  shrext_cmds=.dll
10969  need_version=no
10970  need_lib_prefix=no
10971
10972  case $GCC,$cc_basename in
10973  yes,*)
10974    # gcc
10975    library_names_spec='$libname.dll.a'
10976    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10977    postinstall_cmds='base_file=`basename \$file`~
10978      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10979      dldir=$destdir/`dirname \$dlpath`~
10980      test -d \$dldir || mkdir -p \$dldir~
10981      $install_prog $dir/$dlname \$dldir/$dlname~
10982      chmod a+x \$dldir/$dlname~
10983      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10984        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10985      fi'
10986    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10987      dlpath=$dir/\$dldll~
10988       $RM \$dlpath'
10989    shlibpath_overrides_runpath=yes
10990
10991    case $host_os in
10992    cygwin*)
10993      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10994      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10995
10996      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10997      ;;
10998    mingw* | cegcc*)
10999      # MinGW DLLs use traditional 'lib' prefix
11000      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11001      ;;
11002    pw32*)
11003      # pw32 DLLs use 'pw' prefix rather than 'lib'
11004      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11005      ;;
11006    esac
11007    dynamic_linker='Win32 ld.exe'
11008    ;;
11009
11010  *,cl*)
11011    # Native MSVC
11012    libname_spec='$name'
11013    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11014    library_names_spec='$libname.dll.lib'
11015
11016    case $build_os in
11017    mingw*)
11018      sys_lib_search_path_spec=
11019      lt_save_ifs=$IFS
11020      IFS=';'
11021      for lt_path in $LIB
11022      do
11023        IFS=$lt_save_ifs
11024        # Let DOS variable expansion print the short 8.3 style file name.
11025        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11026        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11027      done
11028      IFS=$lt_save_ifs
11029      # Convert to MSYS style.
11030      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11031      ;;
11032    cygwin*)
11033      # Convert to unix form, then to dos form, then back to unix form
11034      # but this time dos style (no spaces!) so that the unix form looks
11035      # like /cygdrive/c/PROGRA~1:/cygdr...
11036      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11037      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11038      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11039      ;;
11040    *)
11041      sys_lib_search_path_spec=$LIB
11042      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11043        # It is most probably a Windows format PATH.
11044        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11045      else
11046        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11047      fi
11048      # FIXME: find the short name or the path components, as spaces are
11049      # common. (e.g. "Program Files" -> "PROGRA~1")
11050      ;;
11051    esac
11052
11053    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11054    postinstall_cmds='base_file=`basename \$file`~
11055      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11056      dldir=$destdir/`dirname \$dlpath`~
11057      test -d \$dldir || mkdir -p \$dldir~
11058      $install_prog $dir/$dlname \$dldir/$dlname'
11059    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11060      dlpath=$dir/\$dldll~
11061       $RM \$dlpath'
11062    shlibpath_overrides_runpath=yes
11063    dynamic_linker='Win32 link.exe'
11064    ;;
11065
11066  *)
11067    # Assume MSVC wrapper
11068    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11069    dynamic_linker='Win32 ld.exe'
11070    ;;
11071  esac
11072  # FIXME: first we should search . and the directory the executable is in
11073  shlibpath_var=PATH
11074  ;;
11075
11076darwin* | rhapsody*)
11077  dynamic_linker="$host_os dyld"
11078  version_type=darwin
11079  need_lib_prefix=no
11080  need_version=no
11081  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11082  soname_spec='$libname$release$major$shared_ext'
11083  shlibpath_overrides_runpath=yes
11084  shlibpath_var=DYLD_LIBRARY_PATH
11085  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11086
11087  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11088  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11089  ;;
11090
11091dgux*)
11092  version_type=linux # correct to gnu/linux during the next big refactor
11093  need_lib_prefix=no
11094  need_version=no
11095  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11096  soname_spec='$libname$release$shared_ext$major'
11097  shlibpath_var=LD_LIBRARY_PATH
11098  ;;
11099
11100freebsd* | dragonfly*)
11101  # DragonFly does not have aout.  When/if they implement a new
11102  # versioning mechanism, adjust this.
11103  if test -x /usr/bin/objformat; then
11104    objformat=`/usr/bin/objformat`
11105  else
11106    case $host_os in
11107    freebsd[23].*) objformat=aout ;;
11108    *) objformat=elf ;;
11109    esac
11110  fi
11111  version_type=freebsd-$objformat
11112  case $version_type in
11113    freebsd-elf*)
11114      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11115      soname_spec='$libname$release$shared_ext$major'
11116      need_version=no
11117      need_lib_prefix=no
11118      ;;
11119    freebsd-*)
11120      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11121      need_version=yes
11122      ;;
11123  esac
11124  shlibpath_var=LD_LIBRARY_PATH
11125  case $host_os in
11126  freebsd2.*)
11127    shlibpath_overrides_runpath=yes
11128    ;;
11129  freebsd3.[01]* | freebsdelf3.[01]*)
11130    shlibpath_overrides_runpath=yes
11131    hardcode_into_libs=yes
11132    ;;
11133  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11134  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11135    shlibpath_overrides_runpath=no
11136    hardcode_into_libs=yes
11137    ;;
11138  *) # from 4.6 on, and DragonFly
11139    shlibpath_overrides_runpath=yes
11140    hardcode_into_libs=yes
11141    ;;
11142  esac
11143  ;;
11144
11145haiku*)
11146  version_type=linux # correct to gnu/linux during the next big refactor
11147  need_lib_prefix=no
11148  need_version=no
11149  dynamic_linker="$host_os runtime_loader"
11150  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11151  soname_spec='$libname$release$shared_ext$major'
11152  shlibpath_var=LIBRARY_PATH
11153  shlibpath_overrides_runpath=no
11154  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11155  hardcode_into_libs=yes
11156  ;;
11157
11158hpux9* | hpux10* | hpux11*)
11159  # Give a soname corresponding to the major version so that dld.sl refuses to
11160  # link against other versions.
11161  version_type=sunos
11162  need_lib_prefix=no
11163  need_version=no
11164  case $host_cpu in
11165  ia64*)
11166    shrext_cmds='.so'
11167    hardcode_into_libs=yes
11168    dynamic_linker="$host_os dld.so"
11169    shlibpath_var=LD_LIBRARY_PATH
11170    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11171    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11172    soname_spec='$libname$release$shared_ext$major'
11173    if test 32 = "$HPUX_IA64_MODE"; then
11174      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11175      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11176    else
11177      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11178      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11179    fi
11180    ;;
11181  hppa*64*)
11182    shrext_cmds='.sl'
11183    hardcode_into_libs=yes
11184    dynamic_linker="$host_os dld.sl"
11185    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11186    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11187    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11188    soname_spec='$libname$release$shared_ext$major'
11189    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11190    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11191    ;;
11192  *)
11193    shrext_cmds='.sl'
11194    dynamic_linker="$host_os dld.sl"
11195    shlibpath_var=SHLIB_PATH
11196    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11197    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11198    soname_spec='$libname$release$shared_ext$major'
11199    ;;
11200  esac
11201  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11202  postinstall_cmds='chmod 555 $lib'
11203  # or fails outright, so override atomically:
11204  install_override_mode=555
11205  ;;
11206
11207interix[3-9]*)
11208  version_type=linux # correct to gnu/linux during the next big refactor
11209  need_lib_prefix=no
11210  need_version=no
11211  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11212  soname_spec='$libname$release$shared_ext$major'
11213  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11214  shlibpath_var=LD_LIBRARY_PATH
11215  shlibpath_overrides_runpath=no
11216  hardcode_into_libs=yes
11217  ;;
11218
11219irix5* | irix6* | nonstopux*)
11220  case $host_os in
11221    nonstopux*) version_type=nonstopux ;;
11222    *)
11223	if test yes = "$lt_cv_prog_gnu_ld"; then
11224		version_type=linux # correct to gnu/linux during the next big refactor
11225	else
11226		version_type=irix
11227	fi ;;
11228  esac
11229  need_lib_prefix=no
11230  need_version=no
11231  soname_spec='$libname$release$shared_ext$major'
11232  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11233  case $host_os in
11234  irix5* | nonstopux*)
11235    libsuff= shlibsuff=
11236    ;;
11237  *)
11238    case $LD in # libtool.m4 will add one of these switches to LD
11239    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11240      libsuff= shlibsuff= libmagic=32-bit;;
11241    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11242      libsuff=32 shlibsuff=N32 libmagic=N32;;
11243    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11244      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11245    *) libsuff= shlibsuff= libmagic=never-match;;
11246    esac
11247    ;;
11248  esac
11249  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11250  shlibpath_overrides_runpath=no
11251  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11252  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11253  hardcode_into_libs=yes
11254  ;;
11255
11256# No shared lib support for Linux oldld, aout, or coff.
11257linux*oldld* | linux*aout* | linux*coff*)
11258  dynamic_linker=no
11259  ;;
11260
11261linux*android*)
11262  version_type=none # Android doesn't support versioned libraries.
11263  need_lib_prefix=no
11264  need_version=no
11265  library_names_spec='$libname$release$shared_ext'
11266  soname_spec='$libname$release$shared_ext'
11267  finish_cmds=
11268  shlibpath_var=LD_LIBRARY_PATH
11269  shlibpath_overrides_runpath=yes
11270
11271  # This implies no fast_install, which is unacceptable.
11272  # Some rework will be needed to allow for fast_install
11273  # before this can be enabled.
11274  hardcode_into_libs=yes
11275
11276  dynamic_linker='Android linker'
11277  # Don't embed -rpath directories since the linker doesn't support them.
11278  hardcode_libdir_flag_spec='-L$libdir'
11279  ;;
11280
11281# This must be glibc/ELF.
11282linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11283  version_type=linux # correct to gnu/linux during the next big refactor
11284  need_lib_prefix=no
11285  need_version=no
11286  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11287  soname_spec='$libname$release$shared_ext$major'
11288  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11289  shlibpath_var=LD_LIBRARY_PATH
11290  shlibpath_overrides_runpath=no
11291
11292  # Some binutils ld are patched to set DT_RUNPATH
11293  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11294  $as_echo_n "(cached) " >&6
11295else
11296  lt_cv_shlibpath_overrides_runpath=no
11297    save_LDFLAGS=$LDFLAGS
11298    save_libdir=$libdir
11299    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11300	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11301    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302/* end confdefs.h.  */
11303
11304int
11305main ()
11306{
11307
11308  ;
11309  return 0;
11310}
11311_ACEOF
11312if ac_fn_c_try_link "$LINENO"; then :
11313  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11314  lt_cv_shlibpath_overrides_runpath=yes
11315fi
11316fi
11317rm -f core conftest.err conftest.$ac_objext \
11318    conftest$ac_exeext conftest.$ac_ext
11319    LDFLAGS=$save_LDFLAGS
11320    libdir=$save_libdir
11321
11322fi
11323
11324  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11325
11326  # This implies no fast_install, which is unacceptable.
11327  # Some rework will be needed to allow for fast_install
11328  # before this can be enabled.
11329  hardcode_into_libs=yes
11330
11331  # Ideally, we could use ldconfig to report *all* directores which are
11332  # searched for libraries, however this is still not possible.  Aside from not
11333  # being certain /sbin/ldconfig is available, command
11334  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11335  # even though it is searched at run-time.  Try to do the best guess by
11336  # appending ld.so.conf contents (and includes) to the search path.
11337  if test -f /etc/ld.so.conf; then
11338    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' ' '`
11339    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11340  fi
11341
11342  # We used to test for /lib/ld.so.1 and disable shared libraries on
11343  # powerpc, because MkLinux only supported shared libraries with the
11344  # GNU dynamic linker.  Since this was broken with cross compilers,
11345  # most powerpc-linux boxes support dynamic linking these days and
11346  # people can always --disable-shared, the test was removed, and we
11347  # assume the GNU/Linux dynamic linker is in use.
11348  dynamic_linker='GNU/Linux ld.so'
11349  ;;
11350
11351netbsdelf*-gnu)
11352  version_type=linux
11353  need_lib_prefix=no
11354  need_version=no
11355  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11356  soname_spec='${libname}${release}${shared_ext}$major'
11357  shlibpath_var=LD_LIBRARY_PATH
11358  shlibpath_overrides_runpath=no
11359  hardcode_into_libs=yes
11360  dynamic_linker='NetBSD ld.elf_so'
11361  ;;
11362
11363netbsd*)
11364  version_type=sunos
11365  need_lib_prefix=no
11366  need_version=no
11367  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11368    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11369    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11370    dynamic_linker='NetBSD (a.out) ld.so'
11371  else
11372    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11373    soname_spec='$libname$release$shared_ext$major'
11374    dynamic_linker='NetBSD ld.elf_so'
11375  fi
11376  shlibpath_var=LD_LIBRARY_PATH
11377  shlibpath_overrides_runpath=yes
11378  hardcode_into_libs=yes
11379  ;;
11380
11381newsos6)
11382  version_type=linux # correct to gnu/linux during the next big refactor
11383  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11384  shlibpath_var=LD_LIBRARY_PATH
11385  shlibpath_overrides_runpath=yes
11386  ;;
11387
11388*nto* | *qnx*)
11389  version_type=qnx
11390  need_lib_prefix=no
11391  need_version=no
11392  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11393  soname_spec='$libname$release$shared_ext$major'
11394  shlibpath_var=LD_LIBRARY_PATH
11395  shlibpath_overrides_runpath=no
11396  hardcode_into_libs=yes
11397  dynamic_linker='ldqnx.so'
11398  ;;
11399
11400openbsd* | bitrig*)
11401  version_type=sunos
11402  sys_lib_dlsearch_path_spec=/usr/lib
11403  need_lib_prefix=no
11404  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11405    need_version=no
11406  else
11407    need_version=yes
11408  fi
11409  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11410  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11411  shlibpath_var=LD_LIBRARY_PATH
11412  shlibpath_overrides_runpath=yes
11413  ;;
11414
11415os2*)
11416  libname_spec='$name'
11417  version_type=windows
11418  shrext_cmds=.dll
11419  need_version=no
11420  need_lib_prefix=no
11421  # OS/2 can only load a DLL with a base name of 8 characters or less.
11422  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11423    v=$($ECHO $release$versuffix | tr -d .-);
11424    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11425    $ECHO $n$v`$shared_ext'
11426  library_names_spec='${libname}_dll.$libext'
11427  dynamic_linker='OS/2 ld.exe'
11428  shlibpath_var=BEGINLIBPATH
11429  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11430  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11431  postinstall_cmds='base_file=`basename \$file`~
11432    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11433    dldir=$destdir/`dirname \$dlpath`~
11434    test -d \$dldir || mkdir -p \$dldir~
11435    $install_prog $dir/$dlname \$dldir/$dlname~
11436    chmod a+x \$dldir/$dlname~
11437    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11438      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11439    fi'
11440  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11441    dlpath=$dir/\$dldll~
11442    $RM \$dlpath'
11443  ;;
11444
11445osf3* | osf4* | osf5*)
11446  version_type=osf
11447  need_lib_prefix=no
11448  need_version=no
11449  soname_spec='$libname$release$shared_ext$major'
11450  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11451  shlibpath_var=LD_LIBRARY_PATH
11452  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11453  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11454  ;;
11455
11456rdos*)
11457  dynamic_linker=no
11458  ;;
11459
11460solaris*)
11461  version_type=linux # correct to gnu/linux during the next big refactor
11462  need_lib_prefix=no
11463  need_version=no
11464  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11465  soname_spec='$libname$release$shared_ext$major'
11466  shlibpath_var=LD_LIBRARY_PATH
11467  shlibpath_overrides_runpath=yes
11468  hardcode_into_libs=yes
11469  # ldd complains unless libraries are executable
11470  postinstall_cmds='chmod +x $lib'
11471  ;;
11472
11473sunos4*)
11474  version_type=sunos
11475  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11476  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11477  shlibpath_var=LD_LIBRARY_PATH
11478  shlibpath_overrides_runpath=yes
11479  if test yes = "$with_gnu_ld"; then
11480    need_lib_prefix=no
11481  fi
11482  need_version=yes
11483  ;;
11484
11485sysv4 | sysv4.3*)
11486  version_type=linux # correct to gnu/linux during the next big refactor
11487  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11488  soname_spec='$libname$release$shared_ext$major'
11489  shlibpath_var=LD_LIBRARY_PATH
11490  case $host_vendor in
11491    sni)
11492      shlibpath_overrides_runpath=no
11493      need_lib_prefix=no
11494      runpath_var=LD_RUN_PATH
11495      ;;
11496    siemens)
11497      need_lib_prefix=no
11498      ;;
11499    motorola)
11500      need_lib_prefix=no
11501      need_version=no
11502      shlibpath_overrides_runpath=no
11503      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11504      ;;
11505  esac
11506  ;;
11507
11508sysv4*MP*)
11509  if test -d /usr/nec; then
11510    version_type=linux # correct to gnu/linux during the next big refactor
11511    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11512    soname_spec='$libname$shared_ext.$major'
11513    shlibpath_var=LD_LIBRARY_PATH
11514  fi
11515  ;;
11516
11517sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11518  version_type=sco
11519  need_lib_prefix=no
11520  need_version=no
11521  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11522  soname_spec='$libname$release$shared_ext$major'
11523  shlibpath_var=LD_LIBRARY_PATH
11524  shlibpath_overrides_runpath=yes
11525  hardcode_into_libs=yes
11526  if test yes = "$with_gnu_ld"; then
11527    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11528  else
11529    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11530    case $host_os in
11531      sco3.2v5*)
11532        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11533	;;
11534    esac
11535  fi
11536  sys_lib_dlsearch_path_spec='/usr/lib'
11537  ;;
11538
11539tpf*)
11540  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11541  version_type=linux # correct to gnu/linux during the next big refactor
11542  need_lib_prefix=no
11543  need_version=no
11544  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11545  shlibpath_var=LD_LIBRARY_PATH
11546  shlibpath_overrides_runpath=no
11547  hardcode_into_libs=yes
11548  ;;
11549
11550uts4*)
11551  version_type=linux # correct to gnu/linux during the next big refactor
11552  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11553  soname_spec='$libname$release$shared_ext$major'
11554  shlibpath_var=LD_LIBRARY_PATH
11555  ;;
11556
11557*)
11558  dynamic_linker=no
11559  ;;
11560esac
11561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11562$as_echo "$dynamic_linker" >&6; }
11563test no = "$dynamic_linker" && can_build_shared=no
11564
11565variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11566if test yes = "$GCC"; then
11567  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11568fi
11569
11570if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11571  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11572fi
11573
11574if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11575  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11576fi
11577
11578# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11579configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11580
11581# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11582func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11583
11584# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11585configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11684$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11685hardcode_action=
11686if test -n "$hardcode_libdir_flag_spec" ||
11687   test -n "$runpath_var" ||
11688   test yes = "$hardcode_automatic"; then
11689
11690  # We can hardcode non-existent directories.
11691  if test no != "$hardcode_direct" &&
11692     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11693     # have to relink, otherwise we might link with an installed library
11694     # when we should be linking with a yet-to-be-installed one
11695     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11696     test no != "$hardcode_minus_L"; then
11697    # Linking always hardcodes the temporary library directory.
11698    hardcode_action=relink
11699  else
11700    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11701    hardcode_action=immediate
11702  fi
11703else
11704  # We cannot hardcode anything, or else we can only hardcode existing
11705  # directories.
11706  hardcode_action=unsupported
11707fi
11708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11709$as_echo "$hardcode_action" >&6; }
11710
11711if test relink = "$hardcode_action" ||
11712   test yes = "$inherit_rpath"; then
11713  # Fast installation is not supported
11714  enable_fast_install=no
11715elif test yes = "$shlibpath_overrides_runpath" ||
11716     test no = "$enable_shared"; then
11717  # Fast installation is not necessary
11718  enable_fast_install=needless
11719fi
11720
11721
11722
11723
11724
11725
11726  if test yes != "$enable_dlopen"; then
11727  enable_dlopen=unknown
11728  enable_dlopen_self=unknown
11729  enable_dlopen_self_static=unknown
11730else
11731  lt_cv_dlopen=no
11732  lt_cv_dlopen_libs=
11733
11734  case $host_os in
11735  beos*)
11736    lt_cv_dlopen=load_add_on
11737    lt_cv_dlopen_libs=
11738    lt_cv_dlopen_self=yes
11739    ;;
11740
11741  mingw* | pw32* | cegcc*)
11742    lt_cv_dlopen=LoadLibrary
11743    lt_cv_dlopen_libs=
11744    ;;
11745
11746  cygwin*)
11747    lt_cv_dlopen=dlopen
11748    lt_cv_dlopen_libs=
11749    ;;
11750
11751  darwin*)
11752    # if libdl is installed we need to link against it
11753    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11754$as_echo_n "checking for dlopen in -ldl... " >&6; }
11755if ${ac_cv_lib_dl_dlopen+:} false; then :
11756  $as_echo_n "(cached) " >&6
11757else
11758  ac_check_lib_save_LIBS=$LIBS
11759LIBS="-ldl  $LIBS"
11760cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761/* end confdefs.h.  */
11762
11763/* Override any GCC internal prototype to avoid an error.
11764   Use char because int might match the return type of a GCC
11765   builtin and then its argument prototype would still apply.  */
11766#ifdef __cplusplus
11767extern "C"
11768#endif
11769char dlopen ();
11770int
11771main ()
11772{
11773return dlopen ();
11774  ;
11775  return 0;
11776}
11777_ACEOF
11778if ac_fn_c_try_link "$LINENO"; then :
11779  ac_cv_lib_dl_dlopen=yes
11780else
11781  ac_cv_lib_dl_dlopen=no
11782fi
11783rm -f core conftest.err conftest.$ac_objext \
11784    conftest$ac_exeext conftest.$ac_ext
11785LIBS=$ac_check_lib_save_LIBS
11786fi
11787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11788$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11789if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11790  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11791else
11792
11793    lt_cv_dlopen=dyld
11794    lt_cv_dlopen_libs=
11795    lt_cv_dlopen_self=yes
11796
11797fi
11798
11799    ;;
11800
11801  tpf*)
11802    # Don't try to run any link tests for TPF.  We know it's impossible
11803    # because TPF is a cross-compiler, and we know how we open DSOs.
11804    lt_cv_dlopen=dlopen
11805    lt_cv_dlopen_libs=
11806    lt_cv_dlopen_self=no
11807    ;;
11808
11809  *)
11810    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11811if test "x$ac_cv_func_shl_load" = xyes; then :
11812  lt_cv_dlopen=shl_load
11813else
11814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11815$as_echo_n "checking for shl_load in -ldld... " >&6; }
11816if ${ac_cv_lib_dld_shl_load+:} false; then :
11817  $as_echo_n "(cached) " >&6
11818else
11819  ac_check_lib_save_LIBS=$LIBS
11820LIBS="-ldld  $LIBS"
11821cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11822/* end confdefs.h.  */
11823
11824/* Override any GCC internal prototype to avoid an error.
11825   Use char because int might match the return type of a GCC
11826   builtin and then its argument prototype would still apply.  */
11827#ifdef __cplusplus
11828extern "C"
11829#endif
11830char shl_load ();
11831int
11832main ()
11833{
11834return shl_load ();
11835  ;
11836  return 0;
11837}
11838_ACEOF
11839if ac_fn_c_try_link "$LINENO"; then :
11840  ac_cv_lib_dld_shl_load=yes
11841else
11842  ac_cv_lib_dld_shl_load=no
11843fi
11844rm -f core conftest.err conftest.$ac_objext \
11845    conftest$ac_exeext conftest.$ac_ext
11846LIBS=$ac_check_lib_save_LIBS
11847fi
11848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11849$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11850if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11851  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11852else
11853  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11854if test "x$ac_cv_func_dlopen" = xyes; then :
11855  lt_cv_dlopen=dlopen
11856else
11857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11858$as_echo_n "checking for dlopen in -ldl... " >&6; }
11859if ${ac_cv_lib_dl_dlopen+:} false; then :
11860  $as_echo_n "(cached) " >&6
11861else
11862  ac_check_lib_save_LIBS=$LIBS
11863LIBS="-ldl  $LIBS"
11864cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865/* end confdefs.h.  */
11866
11867/* Override any GCC internal prototype to avoid an error.
11868   Use char because int might match the return type of a GCC
11869   builtin and then its argument prototype would still apply.  */
11870#ifdef __cplusplus
11871extern "C"
11872#endif
11873char dlopen ();
11874int
11875main ()
11876{
11877return dlopen ();
11878  ;
11879  return 0;
11880}
11881_ACEOF
11882if ac_fn_c_try_link "$LINENO"; then :
11883  ac_cv_lib_dl_dlopen=yes
11884else
11885  ac_cv_lib_dl_dlopen=no
11886fi
11887rm -f core conftest.err conftest.$ac_objext \
11888    conftest$ac_exeext conftest.$ac_ext
11889LIBS=$ac_check_lib_save_LIBS
11890fi
11891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11892$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11893if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11894  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11895else
11896  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11897$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11898if ${ac_cv_lib_svld_dlopen+:} false; then :
11899  $as_echo_n "(cached) " >&6
11900else
11901  ac_check_lib_save_LIBS=$LIBS
11902LIBS="-lsvld  $LIBS"
11903cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904/* end confdefs.h.  */
11905
11906/* Override any GCC internal prototype to avoid an error.
11907   Use char because int might match the return type of a GCC
11908   builtin and then its argument prototype would still apply.  */
11909#ifdef __cplusplus
11910extern "C"
11911#endif
11912char dlopen ();
11913int
11914main ()
11915{
11916return dlopen ();
11917  ;
11918  return 0;
11919}
11920_ACEOF
11921if ac_fn_c_try_link "$LINENO"; then :
11922  ac_cv_lib_svld_dlopen=yes
11923else
11924  ac_cv_lib_svld_dlopen=no
11925fi
11926rm -f core conftest.err conftest.$ac_objext \
11927    conftest$ac_exeext conftest.$ac_ext
11928LIBS=$ac_check_lib_save_LIBS
11929fi
11930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11931$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11932if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11933  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11934else
11935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11936$as_echo_n "checking for dld_link in -ldld... " >&6; }
11937if ${ac_cv_lib_dld_dld_link+:} false; then :
11938  $as_echo_n "(cached) " >&6
11939else
11940  ac_check_lib_save_LIBS=$LIBS
11941LIBS="-ldld  $LIBS"
11942cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943/* end confdefs.h.  */
11944
11945/* Override any GCC internal prototype to avoid an error.
11946   Use char because int might match the return type of a GCC
11947   builtin and then its argument prototype would still apply.  */
11948#ifdef __cplusplus
11949extern "C"
11950#endif
11951char dld_link ();
11952int
11953main ()
11954{
11955return dld_link ();
11956  ;
11957  return 0;
11958}
11959_ACEOF
11960if ac_fn_c_try_link "$LINENO"; then :
11961  ac_cv_lib_dld_dld_link=yes
11962else
11963  ac_cv_lib_dld_dld_link=no
11964fi
11965rm -f core conftest.err conftest.$ac_objext \
11966    conftest$ac_exeext conftest.$ac_ext
11967LIBS=$ac_check_lib_save_LIBS
11968fi
11969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11970$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11971if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11972  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11973fi
11974
11975
11976fi
11977
11978
11979fi
11980
11981
11982fi
11983
11984
11985fi
11986
11987
11988fi
11989
11990    ;;
11991  esac
11992
11993  if test no = "$lt_cv_dlopen"; then
11994    enable_dlopen=no
11995  else
11996    enable_dlopen=yes
11997  fi
11998
11999  case $lt_cv_dlopen in
12000  dlopen)
12001    save_CPPFLAGS=$CPPFLAGS
12002    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12003
12004    save_LDFLAGS=$LDFLAGS
12005    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12006
12007    save_LIBS=$LIBS
12008    LIBS="$lt_cv_dlopen_libs $LIBS"
12009
12010    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12011$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12012if ${lt_cv_dlopen_self+:} false; then :
12013  $as_echo_n "(cached) " >&6
12014else
12015  	  if test yes = "$cross_compiling"; then :
12016  lt_cv_dlopen_self=cross
12017else
12018  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12019  lt_status=$lt_dlunknown
12020  cat > conftest.$ac_ext <<_LT_EOF
12021#line $LINENO "configure"
12022#include "confdefs.h"
12023
12024#if HAVE_DLFCN_H
12025#include <dlfcn.h>
12026#endif
12027
12028#include <stdio.h>
12029
12030#ifdef RTLD_GLOBAL
12031#  define LT_DLGLOBAL		RTLD_GLOBAL
12032#else
12033#  ifdef DL_GLOBAL
12034#    define LT_DLGLOBAL		DL_GLOBAL
12035#  else
12036#    define LT_DLGLOBAL		0
12037#  endif
12038#endif
12039
12040/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12041   find out it does not work in some platform. */
12042#ifndef LT_DLLAZY_OR_NOW
12043#  ifdef RTLD_LAZY
12044#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12045#  else
12046#    ifdef DL_LAZY
12047#      define LT_DLLAZY_OR_NOW		DL_LAZY
12048#    else
12049#      ifdef RTLD_NOW
12050#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12051#      else
12052#        ifdef DL_NOW
12053#          define LT_DLLAZY_OR_NOW	DL_NOW
12054#        else
12055#          define LT_DLLAZY_OR_NOW	0
12056#        endif
12057#      endif
12058#    endif
12059#  endif
12060#endif
12061
12062/* When -fvisibility=hidden is used, assume the code has been annotated
12063   correspondingly for the symbols needed.  */
12064#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12065int fnord () __attribute__((visibility("default")));
12066#endif
12067
12068int fnord () { return 42; }
12069int main ()
12070{
12071  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12072  int status = $lt_dlunknown;
12073
12074  if (self)
12075    {
12076      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12077      else
12078        {
12079	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12080          else puts (dlerror ());
12081	}
12082      /* dlclose (self); */
12083    }
12084  else
12085    puts (dlerror ());
12086
12087  return status;
12088}
12089_LT_EOF
12090  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12091  (eval $ac_link) 2>&5
12092  ac_status=$?
12093  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12094  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12095    (./conftest; exit; ) >&5 2>/dev/null
12096    lt_status=$?
12097    case x$lt_status in
12098      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12099      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12100      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12101    esac
12102  else :
12103    # compilation failed
12104    lt_cv_dlopen_self=no
12105  fi
12106fi
12107rm -fr conftest*
12108
12109
12110fi
12111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12112$as_echo "$lt_cv_dlopen_self" >&6; }
12113
12114    if test yes = "$lt_cv_dlopen_self"; then
12115      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12116      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12117$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12118if ${lt_cv_dlopen_self_static+:} false; then :
12119  $as_echo_n "(cached) " >&6
12120else
12121  	  if test yes = "$cross_compiling"; then :
12122  lt_cv_dlopen_self_static=cross
12123else
12124  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12125  lt_status=$lt_dlunknown
12126  cat > conftest.$ac_ext <<_LT_EOF
12127#line $LINENO "configure"
12128#include "confdefs.h"
12129
12130#if HAVE_DLFCN_H
12131#include <dlfcn.h>
12132#endif
12133
12134#include <stdio.h>
12135
12136#ifdef RTLD_GLOBAL
12137#  define LT_DLGLOBAL		RTLD_GLOBAL
12138#else
12139#  ifdef DL_GLOBAL
12140#    define LT_DLGLOBAL		DL_GLOBAL
12141#  else
12142#    define LT_DLGLOBAL		0
12143#  endif
12144#endif
12145
12146/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12147   find out it does not work in some platform. */
12148#ifndef LT_DLLAZY_OR_NOW
12149#  ifdef RTLD_LAZY
12150#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12151#  else
12152#    ifdef DL_LAZY
12153#      define LT_DLLAZY_OR_NOW		DL_LAZY
12154#    else
12155#      ifdef RTLD_NOW
12156#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12157#      else
12158#        ifdef DL_NOW
12159#          define LT_DLLAZY_OR_NOW	DL_NOW
12160#        else
12161#          define LT_DLLAZY_OR_NOW	0
12162#        endif
12163#      endif
12164#    endif
12165#  endif
12166#endif
12167
12168/* When -fvisibility=hidden is used, assume the code has been annotated
12169   correspondingly for the symbols needed.  */
12170#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12171int fnord () __attribute__((visibility("default")));
12172#endif
12173
12174int fnord () { return 42; }
12175int main ()
12176{
12177  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12178  int status = $lt_dlunknown;
12179
12180  if (self)
12181    {
12182      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12183      else
12184        {
12185	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12186          else puts (dlerror ());
12187	}
12188      /* dlclose (self); */
12189    }
12190  else
12191    puts (dlerror ());
12192
12193  return status;
12194}
12195_LT_EOF
12196  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12197  (eval $ac_link) 2>&5
12198  ac_status=$?
12199  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12200  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12201    (./conftest; exit; ) >&5 2>/dev/null
12202    lt_status=$?
12203    case x$lt_status in
12204      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12205      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12206      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12207    esac
12208  else :
12209    # compilation failed
12210    lt_cv_dlopen_self_static=no
12211  fi
12212fi
12213rm -fr conftest*
12214
12215
12216fi
12217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12218$as_echo "$lt_cv_dlopen_self_static" >&6; }
12219    fi
12220
12221    CPPFLAGS=$save_CPPFLAGS
12222    LDFLAGS=$save_LDFLAGS
12223    LIBS=$save_LIBS
12224    ;;
12225  esac
12226
12227  case $lt_cv_dlopen_self in
12228  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12229  *) enable_dlopen_self=unknown ;;
12230  esac
12231
12232  case $lt_cv_dlopen_self_static in
12233  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12234  *) enable_dlopen_self_static=unknown ;;
12235  esac
12236fi
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254striplib=
12255old_striplib=
12256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12257$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12258if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12259  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12260  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12262$as_echo "yes" >&6; }
12263else
12264# FIXME - insert some real tests, host_os isn't really good enough
12265  case $host_os in
12266  darwin*)
12267    if test -n "$STRIP"; then
12268      striplib="$STRIP -x"
12269      old_striplib="$STRIP -S"
12270      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12271$as_echo "yes" >&6; }
12272    else
12273      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12274$as_echo "no" >&6; }
12275    fi
12276    ;;
12277  *)
12278    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12279$as_echo "no" >&6; }
12280    ;;
12281  esac
12282fi
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295  # Report what library types will actually be built
12296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12297$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12299$as_echo "$can_build_shared" >&6; }
12300
12301  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12302$as_echo_n "checking whether to build shared libraries... " >&6; }
12303  test no = "$can_build_shared" && enable_shared=no
12304
12305  # On AIX, shared libraries and static libraries use the same namespace, and
12306  # are all built from PIC.
12307  case $host_os in
12308  aix3*)
12309    test yes = "$enable_shared" && enable_static=no
12310    if test -n "$RANLIB"; then
12311      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12312      postinstall_cmds='$RANLIB $lib'
12313    fi
12314    ;;
12315
12316  aix[4-9]*)
12317    if test ia64 != "$host_cpu"; then
12318      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12319      yes,aix,yes) ;;			# shared object as lib.so file only
12320      yes,svr4,*) ;;			# shared object as lib.so archive member only
12321      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12322      esac
12323    fi
12324    ;;
12325  esac
12326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12327$as_echo "$enable_shared" >&6; }
12328
12329  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12330$as_echo_n "checking whether to build static libraries... " >&6; }
12331  # Make sure either enable_shared or enable_static is yes.
12332  test yes = "$enable_shared" || enable_static=yes
12333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12334$as_echo "$enable_static" >&6; }
12335
12336
12337
12338
12339fi
12340ac_ext=c
12341ac_cpp='$CPP $CPPFLAGS'
12342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12344ac_compiler_gnu=$ac_cv_c_compiler_gnu
12345
12346CC=$lt_save_CC
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362        ac_config_commands="$ac_config_commands libtool"
12363
12364
12365
12366
12367# Only expand once:
12368
12369
12370
12371
12372
12373ac_ext=c
12374ac_cpp='$CPP $CPPFLAGS'
12375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12377ac_compiler_gnu=$ac_cv_c_compiler_gnu
12378if test -n "$ac_tool_prefix"; then
12379  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12380set dummy ${ac_tool_prefix}gcc; ac_word=$2
12381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12382$as_echo_n "checking for $ac_word... " >&6; }
12383if ${ac_cv_prog_CC+:} false; then :
12384  $as_echo_n "(cached) " >&6
12385else
12386  if test -n "$CC"; then
12387  ac_cv_prog_CC="$CC" # Let the user override the test.
12388else
12389as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12390for as_dir in $PATH
12391do
12392  IFS=$as_save_IFS
12393  test -z "$as_dir" && as_dir=.
12394    for ac_exec_ext in '' $ac_executable_extensions; do
12395  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12396    ac_cv_prog_CC="${ac_tool_prefix}gcc"
12397    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12398    break 2
12399  fi
12400done
12401  done
12402IFS=$as_save_IFS
12403
12404fi
12405fi
12406CC=$ac_cv_prog_CC
12407if test -n "$CC"; then
12408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12409$as_echo "$CC" >&6; }
12410else
12411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12412$as_echo "no" >&6; }
12413fi
12414
12415
12416fi
12417if test -z "$ac_cv_prog_CC"; then
12418  ac_ct_CC=$CC
12419  # Extract the first word of "gcc", so it can be a program name with args.
12420set dummy gcc; ac_word=$2
12421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12422$as_echo_n "checking for $ac_word... " >&6; }
12423if ${ac_cv_prog_ac_ct_CC+:} false; then :
12424  $as_echo_n "(cached) " >&6
12425else
12426  if test -n "$ac_ct_CC"; then
12427  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12428else
12429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12430for as_dir in $PATH
12431do
12432  IFS=$as_save_IFS
12433  test -z "$as_dir" && as_dir=.
12434    for ac_exec_ext in '' $ac_executable_extensions; do
12435  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12436    ac_cv_prog_ac_ct_CC="gcc"
12437    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12438    break 2
12439  fi
12440done
12441  done
12442IFS=$as_save_IFS
12443
12444fi
12445fi
12446ac_ct_CC=$ac_cv_prog_ac_ct_CC
12447if test -n "$ac_ct_CC"; then
12448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12449$as_echo "$ac_ct_CC" >&6; }
12450else
12451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12452$as_echo "no" >&6; }
12453fi
12454
12455  if test "x$ac_ct_CC" = x; then
12456    CC=""
12457  else
12458    case $cross_compiling:$ac_tool_warned in
12459yes:)
12460{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12461$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12462ac_tool_warned=yes ;;
12463esac
12464    CC=$ac_ct_CC
12465  fi
12466else
12467  CC="$ac_cv_prog_CC"
12468fi
12469
12470if test -z "$CC"; then
12471          if test -n "$ac_tool_prefix"; then
12472    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12473set dummy ${ac_tool_prefix}cc; ac_word=$2
12474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12475$as_echo_n "checking for $ac_word... " >&6; }
12476if ${ac_cv_prog_CC+:} false; then :
12477  $as_echo_n "(cached) " >&6
12478else
12479  if test -n "$CC"; then
12480  ac_cv_prog_CC="$CC" # Let the user override the test.
12481else
12482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12483for as_dir in $PATH
12484do
12485  IFS=$as_save_IFS
12486  test -z "$as_dir" && as_dir=.
12487    for ac_exec_ext in '' $ac_executable_extensions; do
12488  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12489    ac_cv_prog_CC="${ac_tool_prefix}cc"
12490    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12491    break 2
12492  fi
12493done
12494  done
12495IFS=$as_save_IFS
12496
12497fi
12498fi
12499CC=$ac_cv_prog_CC
12500if test -n "$CC"; then
12501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12502$as_echo "$CC" >&6; }
12503else
12504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505$as_echo "no" >&6; }
12506fi
12507
12508
12509  fi
12510fi
12511if test -z "$CC"; then
12512  # Extract the first word of "cc", so it can be a program name with args.
12513set dummy cc; ac_word=$2
12514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12515$as_echo_n "checking for $ac_word... " >&6; }
12516if ${ac_cv_prog_CC+:} false; then :
12517  $as_echo_n "(cached) " >&6
12518else
12519  if test -n "$CC"; then
12520  ac_cv_prog_CC="$CC" # Let the user override the test.
12521else
12522  ac_prog_rejected=no
12523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12524for as_dir in $PATH
12525do
12526  IFS=$as_save_IFS
12527  test -z "$as_dir" && as_dir=.
12528    for ac_exec_ext in '' $ac_executable_extensions; do
12529  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12530    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12531       ac_prog_rejected=yes
12532       continue
12533     fi
12534    ac_cv_prog_CC="cc"
12535    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12536    break 2
12537  fi
12538done
12539  done
12540IFS=$as_save_IFS
12541
12542if test $ac_prog_rejected = yes; then
12543  # We found a bogon in the path, so make sure we never use it.
12544  set dummy $ac_cv_prog_CC
12545  shift
12546  if test $# != 0; then
12547    # We chose a different compiler from the bogus one.
12548    # However, it has the same basename, so the bogon will be chosen
12549    # first if we set CC to just the basename; use the full file name.
12550    shift
12551    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12552  fi
12553fi
12554fi
12555fi
12556CC=$ac_cv_prog_CC
12557if test -n "$CC"; then
12558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12559$as_echo "$CC" >&6; }
12560else
12561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12562$as_echo "no" >&6; }
12563fi
12564
12565
12566fi
12567if test -z "$CC"; then
12568  if test -n "$ac_tool_prefix"; then
12569  for ac_prog in cl.exe
12570  do
12571    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12572set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12574$as_echo_n "checking for $ac_word... " >&6; }
12575if ${ac_cv_prog_CC+:} false; then :
12576  $as_echo_n "(cached) " >&6
12577else
12578  if test -n "$CC"; then
12579  ac_cv_prog_CC="$CC" # Let the user override the test.
12580else
12581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12582for as_dir in $PATH
12583do
12584  IFS=$as_save_IFS
12585  test -z "$as_dir" && as_dir=.
12586    for ac_exec_ext in '' $ac_executable_extensions; do
12587  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12588    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12589    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12590    break 2
12591  fi
12592done
12593  done
12594IFS=$as_save_IFS
12595
12596fi
12597fi
12598CC=$ac_cv_prog_CC
12599if test -n "$CC"; then
12600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12601$as_echo "$CC" >&6; }
12602else
12603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12604$as_echo "no" >&6; }
12605fi
12606
12607
12608    test -n "$CC" && break
12609  done
12610fi
12611if test -z "$CC"; then
12612  ac_ct_CC=$CC
12613  for ac_prog in cl.exe
12614do
12615  # Extract the first word of "$ac_prog", so it can be a program name with args.
12616set dummy $ac_prog; ac_word=$2
12617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12618$as_echo_n "checking for $ac_word... " >&6; }
12619if ${ac_cv_prog_ac_ct_CC+:} false; then :
12620  $as_echo_n "(cached) " >&6
12621else
12622  if test -n "$ac_ct_CC"; then
12623  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12624else
12625as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12626for as_dir in $PATH
12627do
12628  IFS=$as_save_IFS
12629  test -z "$as_dir" && as_dir=.
12630    for ac_exec_ext in '' $ac_executable_extensions; do
12631  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12632    ac_cv_prog_ac_ct_CC="$ac_prog"
12633    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12634    break 2
12635  fi
12636done
12637  done
12638IFS=$as_save_IFS
12639
12640fi
12641fi
12642ac_ct_CC=$ac_cv_prog_ac_ct_CC
12643if test -n "$ac_ct_CC"; then
12644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12645$as_echo "$ac_ct_CC" >&6; }
12646else
12647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12648$as_echo "no" >&6; }
12649fi
12650
12651
12652  test -n "$ac_ct_CC" && break
12653done
12654
12655  if test "x$ac_ct_CC" = x; then
12656    CC=""
12657  else
12658    case $cross_compiling:$ac_tool_warned in
12659yes:)
12660{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12661$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12662ac_tool_warned=yes ;;
12663esac
12664    CC=$ac_ct_CC
12665  fi
12666fi
12667
12668fi
12669
12670
12671test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12672$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12673as_fn_error $? "no acceptable C compiler found in \$PATH
12674See \`config.log' for more details" "$LINENO" 5; }
12675
12676# Provide some information about the compiler.
12677$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12678set X $ac_compile
12679ac_compiler=$2
12680for ac_option in --version -v -V -qversion; do
12681  { { ac_try="$ac_compiler $ac_option >&5"
12682case "(($ac_try" in
12683  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12684  *) ac_try_echo=$ac_try;;
12685esac
12686eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12687$as_echo "$ac_try_echo"; } >&5
12688  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12689  ac_status=$?
12690  if test -s conftest.err; then
12691    sed '10a\
12692... rest of stderr output deleted ...
12693         10q' conftest.err >conftest.er1
12694    cat conftest.er1 >&5
12695  fi
12696  rm -f conftest.er1 conftest.err
12697  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12698  test $ac_status = 0; }
12699done
12700
12701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12702$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12703if ${ac_cv_c_compiler_gnu+:} false; then :
12704  $as_echo_n "(cached) " >&6
12705else
12706  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707/* end confdefs.h.  */
12708
12709int
12710main ()
12711{
12712#ifndef __GNUC__
12713       choke me
12714#endif
12715
12716  ;
12717  return 0;
12718}
12719_ACEOF
12720if ac_fn_c_try_compile "$LINENO"; then :
12721  ac_compiler_gnu=yes
12722else
12723  ac_compiler_gnu=no
12724fi
12725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12726ac_cv_c_compiler_gnu=$ac_compiler_gnu
12727
12728fi
12729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12730$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12731if test $ac_compiler_gnu = yes; then
12732  GCC=yes
12733else
12734  GCC=
12735fi
12736ac_test_CFLAGS=${CFLAGS+set}
12737ac_save_CFLAGS=$CFLAGS
12738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12739$as_echo_n "checking whether $CC accepts -g... " >&6; }
12740if ${ac_cv_prog_cc_g+:} false; then :
12741  $as_echo_n "(cached) " >&6
12742else
12743  ac_save_c_werror_flag=$ac_c_werror_flag
12744   ac_c_werror_flag=yes
12745   ac_cv_prog_cc_g=no
12746   CFLAGS="-g"
12747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748/* end confdefs.h.  */
12749
12750int
12751main ()
12752{
12753
12754  ;
12755  return 0;
12756}
12757_ACEOF
12758if ac_fn_c_try_compile "$LINENO"; then :
12759  ac_cv_prog_cc_g=yes
12760else
12761  CFLAGS=""
12762      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12763/* end confdefs.h.  */
12764
12765int
12766main ()
12767{
12768
12769  ;
12770  return 0;
12771}
12772_ACEOF
12773if ac_fn_c_try_compile "$LINENO"; then :
12774
12775else
12776  ac_c_werror_flag=$ac_save_c_werror_flag
12777	 CFLAGS="-g"
12778	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12779/* end confdefs.h.  */
12780
12781int
12782main ()
12783{
12784
12785  ;
12786  return 0;
12787}
12788_ACEOF
12789if ac_fn_c_try_compile "$LINENO"; then :
12790  ac_cv_prog_cc_g=yes
12791fi
12792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12793fi
12794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12795fi
12796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12797   ac_c_werror_flag=$ac_save_c_werror_flag
12798fi
12799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12800$as_echo "$ac_cv_prog_cc_g" >&6; }
12801if test "$ac_test_CFLAGS" = set; then
12802  CFLAGS=$ac_save_CFLAGS
12803elif test $ac_cv_prog_cc_g = yes; then
12804  if test "$GCC" = yes; then
12805    CFLAGS="-g -O2"
12806  else
12807    CFLAGS="-g"
12808  fi
12809else
12810  if test "$GCC" = yes; then
12811    CFLAGS="-O2"
12812  else
12813    CFLAGS=
12814  fi
12815fi
12816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12817$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12818if ${ac_cv_prog_cc_c89+:} false; then :
12819  $as_echo_n "(cached) " >&6
12820else
12821  ac_cv_prog_cc_c89=no
12822ac_save_CC=$CC
12823cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824/* end confdefs.h.  */
12825#include <stdarg.h>
12826#include <stdio.h>
12827struct stat;
12828/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12829struct buf { int x; };
12830FILE * (*rcsopen) (struct buf *, struct stat *, int);
12831static char *e (p, i)
12832     char **p;
12833     int i;
12834{
12835  return p[i];
12836}
12837static char *f (char * (*g) (char **, int), char **p, ...)
12838{
12839  char *s;
12840  va_list v;
12841  va_start (v,p);
12842  s = g (p, va_arg (v,int));
12843  va_end (v);
12844  return s;
12845}
12846
12847/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12848   function prototypes and stuff, but not '\xHH' hex character constants.
12849   These don't provoke an error unfortunately, instead are silently treated
12850   as 'x'.  The following induces an error, until -std is added to get
12851   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12852   array size at least.  It's necessary to write '\x00'==0 to get something
12853   that's true only with -std.  */
12854int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12855
12856/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12857   inside strings and character constants.  */
12858#define FOO(x) 'x'
12859int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12860
12861int test (int i, double x);
12862struct s1 {int (*f) (int a);};
12863struct s2 {int (*f) (double a);};
12864int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12865int argc;
12866char **argv;
12867int
12868main ()
12869{
12870return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12871  ;
12872  return 0;
12873}
12874_ACEOF
12875for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12876	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12877do
12878  CC="$ac_save_CC $ac_arg"
12879  if ac_fn_c_try_compile "$LINENO"; then :
12880  ac_cv_prog_cc_c89=$ac_arg
12881fi
12882rm -f core conftest.err conftest.$ac_objext
12883  test "x$ac_cv_prog_cc_c89" != "xno" && break
12884done
12885rm -f conftest.$ac_ext
12886CC=$ac_save_CC
12887
12888fi
12889# AC_CACHE_VAL
12890case "x$ac_cv_prog_cc_c89" in
12891  x)
12892    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12893$as_echo "none needed" >&6; } ;;
12894  xno)
12895    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12896$as_echo "unsupported" >&6; } ;;
12897  *)
12898    CC="$CC $ac_cv_prog_cc_c89"
12899    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12900$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12901esac
12902if test "x$ac_cv_prog_cc_c89" != xno; then :
12903
12904fi
12905
12906ac_ext=c
12907ac_cpp='$CPP $CPPFLAGS'
12908ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12909ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12910ac_compiler_gnu=$ac_cv_c_compiler_gnu
12911
12912ac_ext=c
12913ac_cpp='$CPP $CPPFLAGS'
12914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12916ac_compiler_gnu=$ac_cv_c_compiler_gnu
12917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12918$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12919if ${am_cv_prog_cc_c_o+:} false; then :
12920  $as_echo_n "(cached) " >&6
12921else
12922  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12923/* end confdefs.h.  */
12924
12925int
12926main ()
12927{
12928
12929  ;
12930  return 0;
12931}
12932_ACEOF
12933  # Make sure it works both with $CC and with simple cc.
12934  # Following AC_PROG_CC_C_O, we do the test twice because some
12935  # compilers refuse to overwrite an existing .o file with -o,
12936  # though they will create one.
12937  am_cv_prog_cc_c_o=yes
12938  for am_i in 1 2; do
12939    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12940   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12941   ac_status=$?
12942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943   (exit $ac_status); } \
12944         && test -f conftest2.$ac_objext; then
12945      : OK
12946    else
12947      am_cv_prog_cc_c_o=no
12948      break
12949    fi
12950  done
12951  rm -f core conftest*
12952  unset am_i
12953fi
12954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12955$as_echo "$am_cv_prog_cc_c_o" >&6; }
12956if test "$am_cv_prog_cc_c_o" != yes; then
12957   # Losing compiler, so override with the script.
12958   # FIXME: It is wrong to rewrite CC.
12959   # But if we don't then we get into trouble of one sort or another.
12960   # A longer-term fix would be to have automake use am__CC in this case,
12961   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12962   CC="$am_aux_dir/compile $CC"
12963fi
12964ac_ext=c
12965ac_cpp='$CPP $CPPFLAGS'
12966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12968ac_compiler_gnu=$ac_cv_c_compiler_gnu
12969
12970
12971depcc="$CC"   am_compiler_list=
12972
12973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12974$as_echo_n "checking dependency style of $depcc... " >&6; }
12975if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12976  $as_echo_n "(cached) " >&6
12977else
12978  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12979  # We make a subdir and do the tests there.  Otherwise we can end up
12980  # making bogus files that we don't know about and never remove.  For
12981  # instance it was reported that on HP-UX the gcc test will end up
12982  # making a dummy file named 'D' -- because '-MD' means "put the output
12983  # in D".
12984  rm -rf conftest.dir
12985  mkdir conftest.dir
12986  # Copy depcomp to subdir because otherwise we won't find it if we're
12987  # using a relative directory.
12988  cp "$am_depcomp" conftest.dir
12989  cd conftest.dir
12990  # We will build objects and dependencies in a subdirectory because
12991  # it helps to detect inapplicable dependency modes.  For instance
12992  # both Tru64's cc and ICC support -MD to output dependencies as a
12993  # side effect of compilation, but ICC will put the dependencies in
12994  # the current directory while Tru64 will put them in the object
12995  # directory.
12996  mkdir sub
12997
12998  am_cv_CC_dependencies_compiler_type=none
12999  if test "$am_compiler_list" = ""; then
13000     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13001  fi
13002  am__universal=false
13003  case " $depcc " in #(
13004     *\ -arch\ *\ -arch\ *) am__universal=true ;;
13005     esac
13006
13007  for depmode in $am_compiler_list; do
13008    # Setup a source with many dependencies, because some compilers
13009    # like to wrap large dependency lists on column 80 (with \), and
13010    # we should not choose a depcomp mode which is confused by this.
13011    #
13012    # We need to recreate these files for each test, as the compiler may
13013    # overwrite some of them when testing with obscure command lines.
13014    # This happens at least with the AIX C compiler.
13015    : > sub/conftest.c
13016    for i in 1 2 3 4 5 6; do
13017      echo '#include "conftst'$i'.h"' >> sub/conftest.c
13018      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13019      # Solaris 10 /bin/sh.
13020      echo '/* dummy */' > sub/conftst$i.h
13021    done
13022    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13023
13024    # We check with '-c' and '-o' for the sake of the "dashmstdout"
13025    # mode.  It turns out that the SunPro C++ compiler does not properly
13026    # handle '-M -o', and we need to detect this.  Also, some Intel
13027    # versions had trouble with output in subdirs.
13028    am__obj=sub/conftest.${OBJEXT-o}
13029    am__minus_obj="-o $am__obj"
13030    case $depmode in
13031    gcc)
13032      # This depmode causes a compiler race in universal mode.
13033      test "$am__universal" = false || continue
13034      ;;
13035    nosideeffect)
13036      # After this tag, mechanisms are not by side-effect, so they'll
13037      # only be used when explicitly requested.
13038      if test "x$enable_dependency_tracking" = xyes; then
13039	continue
13040      else
13041	break
13042      fi
13043      ;;
13044    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13045      # This compiler won't grok '-c -o', but also, the minuso test has
13046      # not run yet.  These depmodes are late enough in the game, and
13047      # so weak that their functioning should not be impacted.
13048      am__obj=conftest.${OBJEXT-o}
13049      am__minus_obj=
13050      ;;
13051    none) break ;;
13052    esac
13053    if depmode=$depmode \
13054       source=sub/conftest.c object=$am__obj \
13055       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13056       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13057         >/dev/null 2>conftest.err &&
13058       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13059       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13060       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13061       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13062      # icc doesn't choke on unknown options, it will just issue warnings
13063      # or remarks (even with -Werror).  So we grep stderr for any message
13064      # that says an option was ignored or not supported.
13065      # When given -MP, icc 7.0 and 7.1 complain thusly:
13066      #   icc: Command line warning: ignoring option '-M'; no argument required
13067      # The diagnosis changed in icc 8.0:
13068      #   icc: Command line remark: option '-MP' not supported
13069      if (grep 'ignoring option' conftest.err ||
13070          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13071        am_cv_CC_dependencies_compiler_type=$depmode
13072        break
13073      fi
13074    fi
13075  done
13076
13077  cd ..
13078  rm -rf conftest.dir
13079else
13080  am_cv_CC_dependencies_compiler_type=none
13081fi
13082
13083fi
13084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13085$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13086CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13087
13088 if
13089  test "x$enable_dependency_tracking" != xno \
13090  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13091  am__fastdepCC_TRUE=
13092  am__fastdepCC_FALSE='#'
13093else
13094  am__fastdepCC_TRUE='#'
13095  am__fastdepCC_FALSE=
13096fi
13097
13098
13099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13100$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13101if ${ac_cv_prog_cc_c99+:} false; then :
13102  $as_echo_n "(cached) " >&6
13103else
13104  ac_cv_prog_cc_c99=no
13105ac_save_CC=$CC
13106cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107/* end confdefs.h.  */
13108#include <stdarg.h>
13109#include <stdbool.h>
13110#include <stdlib.h>
13111#include <wchar.h>
13112#include <stdio.h>
13113
13114// Check varargs macros.  These examples are taken from C99 6.10.3.5.
13115#define debug(...) fprintf (stderr, __VA_ARGS__)
13116#define showlist(...) puts (#__VA_ARGS__)
13117#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13118static void
13119test_varargs_macros (void)
13120{
13121  int x = 1234;
13122  int y = 5678;
13123  debug ("Flag");
13124  debug ("X = %d\n", x);
13125  showlist (The first, second, and third items.);
13126  report (x>y, "x is %d but y is %d", x, y);
13127}
13128
13129// Check long long types.
13130#define BIG64 18446744073709551615ull
13131#define BIG32 4294967295ul
13132#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13133#if !BIG_OK
13134  your preprocessor is broken;
13135#endif
13136#if BIG_OK
13137#else
13138  your preprocessor is broken;
13139#endif
13140static long long int bignum = -9223372036854775807LL;
13141static unsigned long long int ubignum = BIG64;
13142
13143struct incomplete_array
13144{
13145  int datasize;
13146  double data[];
13147};
13148
13149struct named_init {
13150  int number;
13151  const wchar_t *name;
13152  double average;
13153};
13154
13155typedef const char *ccp;
13156
13157static inline int
13158test_restrict (ccp restrict text)
13159{
13160  // See if C++-style comments work.
13161  // Iterate through items via the restricted pointer.
13162  // Also check for declarations in for loops.
13163  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13164    continue;
13165  return 0;
13166}
13167
13168// Check varargs and va_copy.
13169static void
13170test_varargs (const char *format, ...)
13171{
13172  va_list args;
13173  va_start (args, format);
13174  va_list args_copy;
13175  va_copy (args_copy, args);
13176
13177  const char *str;
13178  int number;
13179  float fnumber;
13180
13181  while (*format)
13182    {
13183      switch (*format++)
13184	{
13185	case 's': // string
13186	  str = va_arg (args_copy, const char *);
13187	  break;
13188	case 'd': // int
13189	  number = va_arg (args_copy, int);
13190	  break;
13191	case 'f': // float
13192	  fnumber = va_arg (args_copy, double);
13193	  break;
13194	default:
13195	  break;
13196	}
13197    }
13198  va_end (args_copy);
13199  va_end (args);
13200}
13201
13202int
13203main ()
13204{
13205
13206  // Check bool.
13207  _Bool success = false;
13208
13209  // Check restrict.
13210  if (test_restrict ("String literal") == 0)
13211    success = true;
13212  char *restrict newvar = "Another string";
13213
13214  // Check varargs.
13215  test_varargs ("s, d' f .", "string", 65, 34.234);
13216  test_varargs_macros ();
13217
13218  // Check flexible array members.
13219  struct incomplete_array *ia =
13220    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13221  ia->datasize = 10;
13222  for (int i = 0; i < ia->datasize; ++i)
13223    ia->data[i] = i * 1.234;
13224
13225  // Check named initializers.
13226  struct named_init ni = {
13227    .number = 34,
13228    .name = L"Test wide string",
13229    .average = 543.34343,
13230  };
13231
13232  ni.number = 58;
13233
13234  int dynamic_array[ni.number];
13235  dynamic_array[ni.number - 1] = 543;
13236
13237  // work around unused variable warnings
13238  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13239	  || dynamic_array[ni.number - 1] != 543);
13240
13241  ;
13242  return 0;
13243}
13244_ACEOF
13245for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
13246do
13247  CC="$ac_save_CC $ac_arg"
13248  if ac_fn_c_try_compile "$LINENO"; then :
13249  ac_cv_prog_cc_c99=$ac_arg
13250fi
13251rm -f core conftest.err conftest.$ac_objext
13252  test "x$ac_cv_prog_cc_c99" != "xno" && break
13253done
13254rm -f conftest.$ac_ext
13255CC=$ac_save_CC
13256
13257fi
13258# AC_CACHE_VAL
13259case "x$ac_cv_prog_cc_c99" in
13260  x)
13261    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13262$as_echo "none needed" >&6; } ;;
13263  xno)
13264    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13265$as_echo "unsupported" >&6; } ;;
13266  *)
13267    CC="$CC $ac_cv_prog_cc_c99"
13268    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13269$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13270esac
13271if test "x$ac_cv_prog_cc_c99" != xno; then :
13272
13273fi
13274
13275
13276
13277
13278# Check whether --with-gnu-ld was given.
13279if test "${with_gnu_ld+set}" = set; then :
13280  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13281else
13282  with_gnu_ld=no
13283fi
13284
13285ac_prog=ld
13286if test yes = "$GCC"; then
13287  # Check if gcc -print-prog-name=ld gives a path.
13288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13289$as_echo_n "checking for ld used by $CC... " >&6; }
13290  case $host in
13291  *-*-mingw*)
13292    # gcc leaves a trailing carriage return, which upsets mingw
13293    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13294  *)
13295    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13296  esac
13297  case $ac_prog in
13298    # Accept absolute paths.
13299    [\\/]* | ?:[\\/]*)
13300      re_direlt='/[^/][^/]*/\.\./'
13301      # Canonicalize the pathname of ld
13302      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13303      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13304	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13305      done
13306      test -z "$LD" && LD=$ac_prog
13307      ;;
13308  "")
13309    # If it fails, then pretend we aren't using GCC.
13310    ac_prog=ld
13311    ;;
13312  *)
13313    # If it is relative, then search for the first ld in PATH.
13314    with_gnu_ld=unknown
13315    ;;
13316  esac
13317elif test yes = "$with_gnu_ld"; then
13318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13319$as_echo_n "checking for GNU ld... " >&6; }
13320else
13321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13322$as_echo_n "checking for non-GNU ld... " >&6; }
13323fi
13324if ${lt_cv_path_LD+:} false; then :
13325  $as_echo_n "(cached) " >&6
13326else
13327  if test -z "$LD"; then
13328  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13329  for ac_dir in $PATH; do
13330    IFS=$lt_save_ifs
13331    test -z "$ac_dir" && ac_dir=.
13332    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13333      lt_cv_path_LD=$ac_dir/$ac_prog
13334      # Check to see if the program is GNU ld.  I'd rather use --version,
13335      # but apparently some variants of GNU ld only accept -v.
13336      # Break only if it was the GNU/non-GNU ld that we prefer.
13337      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13338      *GNU* | *'with BFD'*)
13339	test no != "$with_gnu_ld" && break
13340	;;
13341      *)
13342	test yes != "$with_gnu_ld" && break
13343	;;
13344      esac
13345    fi
13346  done
13347  IFS=$lt_save_ifs
13348else
13349  lt_cv_path_LD=$LD # Let the user override the test with a path.
13350fi
13351fi
13352
13353LD=$lt_cv_path_LD
13354if test -n "$LD"; then
13355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13356$as_echo "$LD" >&6; }
13357else
13358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13359$as_echo "no" >&6; }
13360fi
13361test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13363$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13364if ${lt_cv_prog_gnu_ld+:} false; then :
13365  $as_echo_n "(cached) " >&6
13366else
13367  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13368case `$LD -v 2>&1 </dev/null` in
13369*GNU* | *'with BFD'*)
13370  lt_cv_prog_gnu_ld=yes
13371  ;;
13372*)
13373  lt_cv_prog_gnu_ld=no
13374  ;;
13375esac
13376fi
13377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13378$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13379with_gnu_ld=$lt_cv_prog_gnu_ld
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391AP_VERSION=2.4.17
13392
13393# Check whether --with-apxs was given.
13394if test "${with_apxs+set}" = set; then :
13395  withval=$with_apxs; apxs_prefix="$withval"
13396else
13397  apxs_prefix="/usr"
13398
13399fi
13400
13401
13402# Check whether --enable-apachetest was given.
13403if test "${enable_apachetest+set}" = set; then :
13404  enableval=$enable_apachetest;
13405else
13406  enable_apachetest=yes
13407
13408fi
13409
13410
13411    if test -x $apxs_prefix -a ! -d $apxs_prefix; then
13412        APXS_BIN=$apxs_prefix
13413    else
13414        test_paths="$apxs_prefix:$apxs_prefix/bin:$apxs_prefix/sbin"
13415        test_paths="${test_paths}:/usr/bin:/usr/sbin"
13416        test_paths="${test_paths}:/usr/local/bin:/usr/local/sbin:/usr/local/apache2/bin"
13417        # Extract the first word of "apxs", so it can be a program name with args.
13418set dummy apxs; ac_word=$2
13419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13420$as_echo_n "checking for $ac_word... " >&6; }
13421if ${ac_cv_path_APXS_BIN+:} false; then :
13422  $as_echo_n "(cached) " >&6
13423else
13424  case $APXS_BIN in
13425  [\\/]* | ?:[\\/]*)
13426  ac_cv_path_APXS_BIN="$APXS_BIN" # Let the user override the test with a path.
13427  ;;
13428  *)
13429  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13430for as_dir in $test_paths
13431do
13432  IFS=$as_save_IFS
13433  test -z "$as_dir" && as_dir=.
13434    for ac_exec_ext in '' $ac_executable_extensions; do
13435  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13436    ac_cv_path_APXS_BIN="$as_dir/$ac_word$ac_exec_ext"
13437    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13438    break 2
13439  fi
13440done
13441  done
13442IFS=$as_save_IFS
13443
13444  test -z "$ac_cv_path_APXS_BIN" && ac_cv_path_APXS_BIN="no"
13445  ;;
13446esac
13447fi
13448APXS_BIN=$ac_cv_path_APXS_BIN
13449if test -n "$APXS_BIN"; then
13450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS_BIN" >&5
13451$as_echo "$APXS_BIN" >&6; }
13452else
13453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13454$as_echo "no" >&6; }
13455fi
13456
13457
13458    fi
13459    min_apache13_version=no
13460    min_apache20_version=$AP_VERSION
13461    no_apxs=""
13462    if test "$APXS_BIN" = "no"; then
13463        as_fn_error $? "*** The apxs binary installed by apache could not be found!" "$LINENO" 5
13464        as_fn_error $? "*** Use the --with-apxs option with the full path to apxs" "$LINENO" 5
13465    else
13466        AP_INCLUDES="-I`$APXS_BIN -q INCLUDEDIR 2>/dev/null`"
13467        AP_INCLUDEDIR="`$APXS_BIN -q INCLUDEDIR 2>/dev/null`"
13468
13469        AP_PREFIX="`$APXS_BIN -q prefix 2>/dev/null`"
13470        AP_EXEC_PREFIX="`$APXS_BIN -q exec_prefix 2>/dev/null`"
13471
13472        AP_BINDIR="`$APXS_BIN -q bindir 2>/dev/null`"
13473        AP_SBINDIR="`$APXS_BIN -q sbindir 2>/dev/null`"
13474        AP_SYSCONFDIR="`$APXS_BIN -q sysconfdir 2>/dev/null`"
13475
13476        APXS_CFLAGS=""
13477        for flag in CFLAGS EXTRA_CFLAGS EXTRA_CPPFLAGS NOTEST_CFLAGS; do
13478            APXS_CFLAGS="$APXS_CFLAGS `$APXS_BIN -q $flag 2>/dev/null`"
13479        done
13480
13481        AP_CPPFLAGS="$APXS_CPPFLAGS $AP_INCLUDES"
13482        AP_CFLAGS="$APXS_CFLAGS $AP_INCLUDES"
13483
13484        AP_LIBEXECDIR=`$APXS_BIN -q LIBEXECDIR 2>/dev/null`
13485
13486        if test "x$enable_apachetest" = "xyes" ; then
13487            if test "$min_apache20_version" != "no"; then
13488                APR_CONFIG="`$APXS_BIN -q APR_BINDIR 2>/dev/null`/apr-1-config"
13489                if test ! -x $APR_CONFIG; then
13490                    APR_CONFIG="`$APXS_BIN -q APR_BINDIR 2>/dev/null`/apr-config"
13491                fi
13492                APR_INCLUDES=`$APR_CONFIG --includes 2>/dev/null`
13493                APR_LDFLAGS=`$APR_CONFIG --link-ld 2>/dev/null`
13494                APR_LIBS=`$APR_CONFIG --libs 2>/dev/null`
13495                APR_LIBTOOL=`$APR_CONFIG --link-libtool 2>/dev/null`
13496                APR_CPPFLAGS=`$APR_CONFIG --cppflags 2>/dev/null`
13497                APR_CFLAGS=`$APR_CONFIG --cflags 2>/dev/null`
13498                APR_VERSION=`$APR_CONFIG --version 2>/dev/null`
13499                APU_CONFIG="`$APXS_BIN -q APU_BINDIR 2>/dev/null`/apu-1-config"
13500                if test ! -x $APU_CONFIG; then
13501                    APU_CONFIG="`$APXS_BIN -q APU_BINDIR 2>/dev/null`/apu-config"
13502                fi
13503                APU_INCLUDES=`$APU_CONFIG --includes 2>/dev/null`
13504                APU_LDFLAGS=`$APU_CONFIG --link-ld 2>/dev/null`
13505                APU_LIBS=`$APU_CONFIG --libs 2>/dev/null`
13506                APU_LIBTOOL=`$APU_CONFIG --link-libtool 2>/dev/null`
13507                APU_VERSION=`$APU_CONFIG --version 2>/dev/null`
13508
13509                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache 2.0 version >= $min_apache20_version" >&5
13510$as_echo_n "checking for Apache 2.0 version >= $min_apache20_version... " >&6; }
13511
13512    releasetest=20
13513    min_apache_version="$min_apache20_version"
13514    no_apache=""
13515    ac_save_CFLAGS="$CFLAGS"
13516    CFLAGS="$CFLAGS $AP_CFLAGS"
13517    if test $releasetest -eq 20; then
13518        CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
13519    fi
13520    if test "$cross_compiling" = yes; then :
13521  echo $ac_n "cross compiling; assumed OK... $ac_c"
13522else
13523  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524/* end confdefs.h.  */
13525
13526#include <stdio.h>
13527#include <stdlib.h>
13528#include <string.h>
13529#include "httpd.h"
13530
13531#ifndef AP_SERVER_BASEREVISION
13532    #define AP_SERVER_BASEREVISION SERVER_BASEREVISION
13533#endif
13534
13535char* my_strdup (char *str)
13536{
13537    char *new_str;
13538
13539    if (str) {
13540        new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
13541        strcpy (new_str, str);
13542    } else
13543        new_str = NULL;
13544
13545    return new_str;
13546}
13547
13548int main (int argc, char *argv[])
13549{
13550    int major1, minor1, micro1;
13551    int major2, minor2, micro2;
13552    char *tmp_version;
13553
13554    { FILE *fp = fopen("conf.apachetest", "a"); if ( fp ) fclose(fp); }
13555
13556    tmp_version = my_strdup("$min_apache_version");
13557    if (sscanf(tmp_version, "%d.%d.%d", &major1, &minor1, &micro1) != 3) {
13558        printf("%s, bad version string\n", "$min_apache_version");
13559        exit(1);
13560    }
13561    tmp_version = my_strdup(AP_SERVER_BASEREVISION);
13562    if (sscanf(tmp_version, "%d.%d.%d", &major2, &minor2, &micro2) != 3) {
13563        printf("%s, bad version string\n", AP_SERVER_BASEREVISION);
13564        exit(1);
13565    }
13566
13567    if ( (major2 == major1) &&
13568        ( (minor2 > minor1) ||
13569        ((minor2 == minor1) && (micro2 >= micro1)) ) ) {
13570        exit(0);
13571    } else {
13572        exit(1);
13573    }
13574}
13575
13576
13577_ACEOF
13578if ac_fn_c_try_run "$LINENO"; then :
13579
13580else
13581  no_apache=yes
13582fi
13583rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13584  conftest.$ac_objext conftest.beam conftest.$ac_ext
13585fi
13586
13587    CFLAGS="$ac_save_CFLAGS"
13588
13589    if test "x$no_apache" = x ; then
13590        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13591$as_echo "yes" >&6; }
13592
13593$as_echo "#define WITH_APACHE20 1" >>confdefs.h
13594
13595                    AP_VERSION="2.0"
13596                    APXS_EXTENSION=.la
13597		    if test -f `$APXS_BIN -q INCLUDEDIR`/mod_status.h; then
13598
13599$as_echo "#define HAVE_MOD_STATUS_H 1" >>confdefs.h
13600
13601		    fi
13602                    AP_CFLAGS="$AP_CFLAGS $APU_INCLUDES $APR_INCLUDES"
13603                    AP_CPPFLAGS="$AP_CPPFLAGS $APU_INCLUDES $APR_INCLUDES"
13604                    AP_DEFS="-DWITH_APACHE20"
13605                    :
13606       else
13607        if test -f conf.apachetest ; then
13608            :
13609        else
13610            echo "*** Could not run Apache test program, checking why..."
13611            CFLAGS="$CFLAGS $AP_CFLAGS"
13612            if test $releasetest -eq 20; then
13613                CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
13614            fi
13615            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616/* end confdefs.h.  */
13617
13618#include <stdio.h>
13619#include "httpd.h"
13620
13621int main(int argc, char *argv[])
13622{ return 0; }
13623#undef main
13624#define main K_and_R_C_main
13625
13626int
13627main ()
13628{
13629 return 0;
13630  ;
13631  return 0;
13632}
13633_ACEOF
13634if ac_fn_c_try_link "$LINENO"; then :
13635   echo "*** The test program compiled, but failed to run. Check config.log"
13636else
13637   echo "*** The test program failed to compile or link. Check config.log"
13638fi
13639rm -f core conftest.err conftest.$ac_objext \
13640    conftest$ac_exeext conftest.$ac_ext
13641            CFLAGS="$ac_save_CFLAGS"
13642        fi
13643         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13644$as_echo "no" >&6; }
13645                    if test "x$min_apache13_version" = "xno"; then
13646                        as_fn_error $? "*** Apache version $AP_VERSION not found!" "$LINENO" 5
13647
13648                    fi
13649
13650      fi
13651      rm -f conf.apachetest
13652
13653            fi
13654            if test "$min_apache13_version" != "no" -a "x$AP_VERSION" = "x"; then
13655                APR_INCLUDES=""
13656                APR_VERSION=""
13657                APR_LDFLAGS=""
13658                APR_LIBS=""
13659                APR_LIBTOOL=""
13660                APR_CFLAGS=""
13661                APR_CPPFLAGS=""
13662                APU_INCLUDES=""
13663                APU_VERSION=""
13664                APU_LDFLAGS=""
13665                APU_LIBS=""
13666                APU_LIBTOOL=""
13667                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache 1.3 version >= $min_apache13_version" >&5
13668$as_echo_n "checking for Apache 1.3 version >= $min_apache13_version... " >&6; }
13669
13670    releasetest=13
13671    min_apache_version="$min_apache13_version"
13672    no_apache=""
13673    ac_save_CFLAGS="$CFLAGS"
13674    CFLAGS="$CFLAGS $AP_CFLAGS"
13675    if test $releasetest -eq 20; then
13676        CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
13677    fi
13678    if test "$cross_compiling" = yes; then :
13679  echo $ac_n "cross compiling; assumed OK... $ac_c"
13680else
13681  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682/* end confdefs.h.  */
13683
13684#include <stdio.h>
13685#include <stdlib.h>
13686#include <string.h>
13687#include "httpd.h"
13688
13689#ifndef AP_SERVER_BASEREVISION
13690    #define AP_SERVER_BASEREVISION SERVER_BASEREVISION
13691#endif
13692
13693char* my_strdup (char *str)
13694{
13695    char *new_str;
13696
13697    if (str) {
13698        new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
13699        strcpy (new_str, str);
13700    } else
13701        new_str = NULL;
13702
13703    return new_str;
13704}
13705
13706int main (int argc, char *argv[])
13707{
13708    int major1, minor1, micro1;
13709    int major2, minor2, micro2;
13710    char *tmp_version;
13711
13712    { FILE *fp = fopen("conf.apachetest", "a"); if ( fp ) fclose(fp); }
13713
13714    tmp_version = my_strdup("$min_apache_version");
13715    if (sscanf(tmp_version, "%d.%d.%d", &major1, &minor1, &micro1) != 3) {
13716        printf("%s, bad version string\n", "$min_apache_version");
13717        exit(1);
13718    }
13719    tmp_version = my_strdup(AP_SERVER_BASEREVISION);
13720    if (sscanf(tmp_version, "%d.%d.%d", &major2, &minor2, &micro2) != 3) {
13721        printf("%s, bad version string\n", AP_SERVER_BASEREVISION);
13722        exit(1);
13723    }
13724
13725    if ( (major2 == major1) &&
13726        ( (minor2 > minor1) ||
13727        ((minor2 == minor1) && (micro2 >= micro1)) ) ) {
13728        exit(0);
13729    } else {
13730        exit(1);
13731    }
13732}
13733
13734
13735_ACEOF
13736if ac_fn_c_try_run "$LINENO"; then :
13737
13738else
13739  no_apache=yes
13740fi
13741rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13742  conftest.$ac_objext conftest.beam conftest.$ac_ext
13743fi
13744
13745    CFLAGS="$ac_save_CFLAGS"
13746
13747    if test "x$no_apache" = x ; then
13748        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13749$as_echo "yes" >&6; }
13750
13751$as_echo "#define WITH_APACHE13 1" >>confdefs.h
13752
13753                    AP_VERSION="1.3"
13754                    APXS_EXTENSION=.so
13755                    AP_CFLAGS="-g $AP_CFLAGS"
13756                    AP_DEFS="-DWITH_APACHE13"
13757                    :
13758       else
13759        if test -f conf.apachetest ; then
13760            :
13761        else
13762            echo "*** Could not run Apache test program, checking why..."
13763            CFLAGS="$CFLAGS $AP_CFLAGS"
13764            if test $releasetest -eq 20; then
13765                CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
13766            fi
13767            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768/* end confdefs.h.  */
13769
13770#include <stdio.h>
13771#include "httpd.h"
13772
13773int main(int argc, char *argv[])
13774{ return 0; }
13775#undef main
13776#define main K_and_R_C_main
13777
13778int
13779main ()
13780{
13781 return 0;
13782  ;
13783  return 0;
13784}
13785_ACEOF
13786if ac_fn_c_try_link "$LINENO"; then :
13787   echo "*** The test program compiled, but failed to run. Check config.log"
13788else
13789   echo "*** The test program failed to compile or link. Check config.log"
13790fi
13791rm -f core conftest.err conftest.$ac_objext \
13792    conftest$ac_exeext conftest.$ac_ext
13793            CFLAGS="$ac_save_CFLAGS"
13794        fi
13795         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13796$as_echo "no" >&6; }
13797                    as_fn_error $? "*** Apache version $AP_VERSION not found!" "$LINENO" 5
13798
13799
13800      fi
13801      rm -f conf.apachetest
13802
13803            fi
13804        fi
13805        ac_fn_c_check_decl "$LINENO" "DEFAULT_EXP_LIBEXECDIR" "ac_cv_have_decl_DEFAULT_EXP_LIBEXECDIR" "$ac_includes_default"
13806if test "x$ac_cv_have_decl_DEFAULT_EXP_LIBEXECDIR" = xyes; then :
13807
13808else
13809
13810cat >>confdefs.h <<_ACEOF
13811#define DEFAULT_EXP_LIBEXECDIR "$AP_LIBEXECDIR"
13812_ACEOF
13813
13814fi
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841    fi
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13852	if test -n "$ac_tool_prefix"; then
13853  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13854set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13856$as_echo_n "checking for $ac_word... " >&6; }
13857if ${ac_cv_path_PKG_CONFIG+:} false; then :
13858  $as_echo_n "(cached) " >&6
13859else
13860  case $PKG_CONFIG in
13861  [\\/]* | ?:[\\/]*)
13862  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13863  ;;
13864  *)
13865  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13866for as_dir in $PATH
13867do
13868  IFS=$as_save_IFS
13869  test -z "$as_dir" && as_dir=.
13870    for ac_exec_ext in '' $ac_executable_extensions; do
13871  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13872    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13873    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13874    break 2
13875  fi
13876done
13877  done
13878IFS=$as_save_IFS
13879
13880  ;;
13881esac
13882fi
13883PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13884if test -n "$PKG_CONFIG"; then
13885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13886$as_echo "$PKG_CONFIG" >&6; }
13887else
13888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13889$as_echo "no" >&6; }
13890fi
13891
13892
13893fi
13894if test -z "$ac_cv_path_PKG_CONFIG"; then
13895  ac_pt_PKG_CONFIG=$PKG_CONFIG
13896  # Extract the first word of "pkg-config", so it can be a program name with args.
13897set dummy pkg-config; ac_word=$2
13898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13899$as_echo_n "checking for $ac_word... " >&6; }
13900if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13901  $as_echo_n "(cached) " >&6
13902else
13903  case $ac_pt_PKG_CONFIG in
13904  [\\/]* | ?:[\\/]*)
13905  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13906  ;;
13907  *)
13908  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13909for as_dir in $PATH
13910do
13911  IFS=$as_save_IFS
13912  test -z "$as_dir" && as_dir=.
13913    for ac_exec_ext in '' $ac_executable_extensions; do
13914  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13915    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13916    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13917    break 2
13918  fi
13919done
13920  done
13921IFS=$as_save_IFS
13922
13923  ;;
13924esac
13925fi
13926ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13927if test -n "$ac_pt_PKG_CONFIG"; then
13928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13929$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13930else
13931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13932$as_echo "no" >&6; }
13933fi
13934
13935  if test "x$ac_pt_PKG_CONFIG" = x; then
13936    PKG_CONFIG=""
13937  else
13938    case $cross_compiling:$ac_tool_warned in
13939yes:)
13940{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13941$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13942ac_tool_warned=yes ;;
13943esac
13944    PKG_CONFIG=$ac_pt_PKG_CONFIG
13945  fi
13946else
13947  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13948fi
13949
13950fi
13951if test -n "$PKG_CONFIG"; then
13952	_pkg_min_version=0.9.0
13953	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13954$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13955	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13956		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13957$as_echo "yes" >&6; }
13958	else
13959		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13960$as_echo "no" >&6; }
13961		PKG_CONFIG=""
13962	fi
13963fi
13964
13965pkg_failed=no
13966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNUTLS" >&5
13967$as_echo_n "checking for LIBGNUTLS... " >&6; }
13968
13969if test -n "$LIBGNUTLS_CFLAGS"; then
13970    pkg_cv_LIBGNUTLS_CFLAGS="$LIBGNUTLS_CFLAGS"
13971 elif test -n "$PKG_CONFIG"; then
13972    if test -n "$PKG_CONFIG" && \
13973    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 3.3.0\""; } >&5
13974  ($PKG_CONFIG --exists --print-errors "gnutls >= 3.3.0") 2>&5
13975  ac_status=$?
13976  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13977  test $ac_status = 0; }; then
13978  pkg_cv_LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 3.3.0" 2>/dev/null`
13979		      test "x$?" != "x0" && pkg_failed=yes
13980else
13981  pkg_failed=yes
13982fi
13983 else
13984    pkg_failed=untried
13985fi
13986if test -n "$LIBGNUTLS_LIBS"; then
13987    pkg_cv_LIBGNUTLS_LIBS="$LIBGNUTLS_LIBS"
13988 elif test -n "$PKG_CONFIG"; then
13989    if test -n "$PKG_CONFIG" && \
13990    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 3.3.0\""; } >&5
13991  ($PKG_CONFIG --exists --print-errors "gnutls >= 3.3.0") 2>&5
13992  ac_status=$?
13993  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13994  test $ac_status = 0; }; then
13995  pkg_cv_LIBGNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 3.3.0" 2>/dev/null`
13996		      test "x$?" != "x0" && pkg_failed=yes
13997else
13998  pkg_failed=yes
13999fi
14000 else
14001    pkg_failed=untried
14002fi
14003
14004
14005
14006if test $pkg_failed = yes; then
14007   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14008$as_echo "no" >&6; }
14009
14010if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14011        _pkg_short_errors_supported=yes
14012else
14013        _pkg_short_errors_supported=no
14014fi
14015        if test $_pkg_short_errors_supported = yes; then
14016	        LIBGNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls >= 3.3.0" 2>&1`
14017        else
14018	        LIBGNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls >= 3.3.0" 2>&1`
14019        fi
14020	# Put the nasty error message in config.log where it belongs
14021	echo "$LIBGNUTLS_PKG_ERRORS" >&5
14022
14023	as_fn_error $? "Package requirements (gnutls >= 3.3.0) were not met:
14024
14025$LIBGNUTLS_PKG_ERRORS
14026
14027Consider adjusting the PKG_CONFIG_PATH environment variable if you
14028installed software in a non-standard prefix.
14029
14030Alternatively, you may set the environment variables LIBGNUTLS_CFLAGS
14031and LIBGNUTLS_LIBS to avoid the need to call pkg-config.
14032See the pkg-config man page for more details." "$LINENO" 5
14033elif test $pkg_failed = untried; then
14034     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14035$as_echo "no" >&6; }
14036	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14037$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14038as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14039is in your PATH or set the PKG_CONFIG environment variable to the full
14040path to pkg-config.
14041
14042Alternatively, you may set the environment variables LIBGNUTLS_CFLAGS
14043and LIBGNUTLS_LIBS to avoid the need to call pkg-config.
14044See the pkg-config man page for more details.
14045
14046To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14047See \`config.log' for more details" "$LINENO" 5; }
14048else
14049	LIBGNUTLS_CFLAGS=$pkg_cv_LIBGNUTLS_CFLAGS
14050	LIBGNUTLS_LIBS=$pkg_cv_LIBGNUTLS_LIBS
14051        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14052$as_echo "yes" >&6; }
14053
14054fi
14055
14056LIBGNUTLS_VERSION=`pkg-config --modversion gnutls`
14057
14058# Check whether --enable-vpath-install was given.
14059if test "${enable_vpath_install+set}" = set; then :
14060  enableval=$enable_vpath_install; vpath_install=$enableval
14061else
14062  vpath_install=no
14063fi
14064
14065 if test "$vpath_install" = "yes"; then
14066  ENABLE_VPATH_INSTALL_TRUE=
14067  ENABLE_VPATH_INSTALL_FALSE='#'
14068else
14069  ENABLE_VPATH_INSTALL_TRUE='#'
14070  ENABLE_VPATH_INSTALL_FALSE=
14071fi
14072
14073
14074# Check whether --enable-srp was given.
14075if test "${enable_srp+set}" = set; then :
14076  enableval=$enable_srp; use_srp=$enableval
14077else
14078  use_srp=yes
14079fi
14080
14081
14082# check if the available GnuTLS library supports SRP
14083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gnutls_srp_server_get_username" >&5
14084$as_echo_n "checking for library containing gnutls_srp_server_get_username... " >&6; }
14085if ${ac_cv_search_gnutls_srp_server_get_username+:} false; then :
14086  $as_echo_n "(cached) " >&6
14087else
14088  ac_func_search_save_LIBS=$LIBS
14089cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14090/* end confdefs.h.  */
14091
14092/* Override any GCC internal prototype to avoid an error.
14093   Use char because int might match the return type of a GCC
14094   builtin and then its argument prototype would still apply.  */
14095#ifdef __cplusplus
14096extern "C"
14097#endif
14098char gnutls_srp_server_get_username ();
14099int
14100main ()
14101{
14102return gnutls_srp_server_get_username ();
14103  ;
14104  return 0;
14105}
14106_ACEOF
14107for ac_lib in '' gnutls; do
14108  if test -z "$ac_lib"; then
14109    ac_res="none required"
14110  else
14111    ac_res=-l$ac_lib
14112    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14113  fi
14114  if ac_fn_c_try_link "$LINENO"; then :
14115  ac_cv_search_gnutls_srp_server_get_username=$ac_res
14116fi
14117rm -f core conftest.err conftest.$ac_objext \
14118    conftest$ac_exeext
14119  if ${ac_cv_search_gnutls_srp_server_get_username+:} false; then :
14120  break
14121fi
14122done
14123if ${ac_cv_search_gnutls_srp_server_get_username+:} false; then :
14124
14125else
14126  ac_cv_search_gnutls_srp_server_get_username=no
14127fi
14128rm conftest.$ac_ext
14129LIBS=$ac_func_search_save_LIBS
14130fi
14131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gnutls_srp_server_get_username" >&5
14132$as_echo "$ac_cv_search_gnutls_srp_server_get_username" >&6; }
14133ac_res=$ac_cv_search_gnutls_srp_server_get_username
14134if test "$ac_res" != no; then :
14135  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14136
14137else
14138  use_srp="no"
14139fi
14140
14141
14142SRP_CFLAGS=""
14143if test "$use_srp" != "no"; then
14144	SRP_CFLAGS="-DENABLE_SRP=1"
14145fi
14146
14147# Check whether --enable-strict was given.
14148if test "${enable_strict+set}" = set; then :
14149  enableval=$enable_strict; use_strict=$enableval
14150else
14151  use_strict=yes
14152fi
14153
14154
14155STRICT_CFLAGS=""
14156if test "$use_strict" != "no"; then
14157	STRICT_CFLAGS="-Wall -Werror -Wextra -Wno-error=deprecated-declarations"
14158fi
14159
14160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SRP functionality" >&5
14161$as_echo_n "checking whether to enable SRP functionality... " >&6; }
14162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_srp" >&5
14163$as_echo "$use_srp" >&6; }
14164
14165# Check whether --enable-flock was given.
14166if test "${enable_flock+set}" = set; then :
14167  enableval=$enable_flock; use_flock=$enableval
14168else
14169  use_flock=yes
14170fi
14171
14172# Check if flock is available and supports --timeout
14173# Extract the first word of "flock", so it can be a program name with args.
14174set dummy flock; ac_word=$2
14175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14176$as_echo_n "checking for $ac_word... " >&6; }
14177if ${ac_cv_path_FLOCK+:} false; then :
14178  $as_echo_n "(cached) " >&6
14179else
14180  case $FLOCK in
14181  [\\/]* | ?:[\\/]*)
14182  ac_cv_path_FLOCK="$FLOCK" # Let the user override the test with a path.
14183  ;;
14184  *)
14185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14186for as_dir in $PATH
14187do
14188  IFS=$as_save_IFS
14189  test -z "$as_dir" && as_dir=.
14190    for ac_exec_ext in '' $ac_executable_extensions; do
14191  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14192    ac_cv_path_FLOCK="$as_dir/$ac_word$ac_exec_ext"
14193    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14194    break 2
14195  fi
14196done
14197  done
14198IFS=$as_save_IFS
14199
14200  test -z "$ac_cv_path_FLOCK" && ac_cv_path_FLOCK="no"
14201  ;;
14202esac
14203fi
14204FLOCK=$ac_cv_path_FLOCK
14205if test -n "$FLOCK"; then
14206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLOCK" >&5
14207$as_echo "$FLOCK" >&6; }
14208else
14209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14210$as_echo "no" >&6; }
14211fi
14212
14213
14214if test "${FLOCK}" != "no"; then :
14215
14216	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${FLOCK} supports --timeout" >&5
14217$as_echo_n "checking whether ${FLOCK} supports --timeout... " >&6; }
14218	lockfile="$(mktemp)"
14219	if ${FLOCK} --timeout 1 ${lockfile} true >&5 2>&1; then :
14220  flock_works="yes"
14221else
14222  flock_works="no"
14223fi
14224	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $flock_works" >&5
14225$as_echo "$flock_works" >&6; }
14226	# Old versions of flock do not support --verbose. They fail
14227	# without executing the command but still return 0. Check for
14228	# this behavior by testing if the rm command was executed.
14229	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${FLOCK} supports --verbose" >&5
14230$as_echo_n "checking whether ${FLOCK} supports --verbose... " >&6; }
14231	testfile="$(mktemp)"
14232	if ${FLOCK} --verbose --timeout 1 ${lockfile} rm "${testfile}" \
14233			>&5 2>&1; test ! -e "${testfile}"; then :
14234  flock_verbose="yes"; FLOCK="${FLOCK} --verbose"
14235else
14236  flock_verbose="no"; rm "${testfile}"
14237fi
14238	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $flock_verbose" >&5
14239$as_echo "$flock_verbose" >&6; }
14240	rm "${lockfile}"
14241
14242else
14243  flock_works="no"
14244fi
14245# disable flock if requested by user or it doesn't support timeout
14246 if test "$enable_flock" = "no" || test "$flock_works" = "no"; then
14247  DISABLE_FLOCK_TRUE=
14248  DISABLE_FLOCK_FALSE='#'
14249else
14250  DISABLE_FLOCK_TRUE='#'
14251  DISABLE_FLOCK_FALSE=
14252fi
14253
14254
14255# openssl is needed as the responder for OCSP tests
14256# Extract the first word of "openssl", so it can be a program name with args.
14257set dummy openssl; ac_word=$2
14258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14259$as_echo_n "checking for $ac_word... " >&6; }
14260if ${ac_cv_path_OPENSSL+:} false; then :
14261  $as_echo_n "(cached) " >&6
14262else
14263  case $OPENSSL in
14264  [\\/]* | ?:[\\/]*)
14265  ac_cv_path_OPENSSL="$OPENSSL" # Let the user override the test with a path.
14266  ;;
14267  *)
14268  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14269for as_dir in $PATH
14270do
14271  IFS=$as_save_IFS
14272  test -z "$as_dir" && as_dir=.
14273    for ac_exec_ext in '' $ac_executable_extensions; do
14274  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14275    ac_cv_path_OPENSSL="$as_dir/$ac_word$ac_exec_ext"
14276    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14277    break 2
14278  fi
14279done
14280  done
14281IFS=$as_save_IFS
14282
14283  test -z "$ac_cv_path_OPENSSL" && ac_cv_path_OPENSSL="no"
14284  ;;
14285esac
14286fi
14287OPENSSL=$ac_cv_path_OPENSSL
14288if test -n "$OPENSSL"; then
14289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENSSL" >&5
14290$as_echo "$OPENSSL" >&6; }
14291else
14292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14293$as_echo "no" >&6; }
14294fi
14295
14296
14297# OCSP checks with gnutls-cli from GnuTLS versions before 3.3.23,
14298# 3.4.12, or 3.5.1 (on the respective 3.x branch) fail if intermediate
14299# CAs cannot be status checked, even if there are no intermediate CAs
14300# like in the mod_gnutls test suite where end entity certificates are
14301# directly issued by a root CA.
14302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls-cli version supporting OCSP for EE under root CA" >&5
14303$as_echo_n "checking for gnutls-cli version supporting OCSP for EE under root CA... " >&6; }
14304cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14305/* end confdefs.h.  */
14306#include "gnutls/gnutls.h"
14307			#if GNUTLS_VERSION_NUMBER < 0x030317
14308			#error
14309			#elif GNUTLS_VERSION_NUMBER >= 0x030400 && GNUTLS_VERSION_NUMBER < 0x03040c
14310			#error
14311			#elif GNUTLS_VERSION_NUMBER == 0x030500
14312			#error
14313			#endif
14314
14315_ACEOF
14316if ac_fn_c_try_cpp "$LINENO"; then :
14317  gnutls_ocsp_ok="yes"
14318else
14319  gnutls_ocsp_ok="no"
14320fi
14321rm -f conftest.err conftest.i conftest.$ac_ext
14322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnutls_ocsp_ok" >&5
14323$as_echo "$gnutls_ocsp_ok" >&6; }
14324 if test "${OPENSSL}" != "no" && test "${gnutls_ocsp_ok}" = "yes"; then
14325  ENABLE_OCSP_TEST_TRUE=
14326  ENABLE_OCSP_TEST_FALSE='#'
14327else
14328  ENABLE_OCSP_TEST_TRUE='#'
14329  ENABLE_OCSP_TEST_FALSE=
14330fi
14331
14332
14333# Check whether --enable-test-namespaces was given.
14334if test "${enable_test_namespaces+set}" = set; then :
14335  enableval=$enable_test_namespaces; use_netns=$enableval
14336else
14337  use_netns=yes
14338fi
14339
14340
14341# Check if "unshare" is available and has permission to create network
14342# and user namespaces
14343# Extract the first word of "unshare", so it can be a program name with args.
14344set dummy unshare; ac_word=$2
14345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14346$as_echo_n "checking for $ac_word... " >&6; }
14347if ${ac_cv_path_UNSHARE+:} false; then :
14348  $as_echo_n "(cached) " >&6
14349else
14350  case $UNSHARE in
14351  [\\/]* | ?:[\\/]*)
14352  ac_cv_path_UNSHARE="$UNSHARE" # Let the user override the test with a path.
14353  ;;
14354  *)
14355  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14356for as_dir in $PATH
14357do
14358  IFS=$as_save_IFS
14359  test -z "$as_dir" && as_dir=.
14360    for ac_exec_ext in '' $ac_executable_extensions; do
14361  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14362    ac_cv_path_UNSHARE="$as_dir/$ac_word$ac_exec_ext"
14363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14364    break 2
14365  fi
14366done
14367  done
14368IFS=$as_save_IFS
14369
14370  test -z "$ac_cv_path_UNSHARE" && ac_cv_path_UNSHARE="no"
14371  ;;
14372esac
14373fi
14374UNSHARE=$ac_cv_path_UNSHARE
14375if test -n "$UNSHARE"; then
14376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNSHARE" >&5
14377$as_echo "$UNSHARE" >&6; }
14378else
14379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14380$as_echo "no" >&6; }
14381fi
14382
14383
14384if test "${UNSHARE}" != "no"; then :
14385
14386	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for permission to create network and user namespaces" >&5
14387$as_echo_n "checking for permission to create network and user namespaces... " >&6; }
14388	if ${UNSHARE} --net -r /bin/sh -c \
14389		"ip link set up lo && ip addr show" >&5 2>&1; then :
14390  unshare_works="yes"
14391else
14392  unshare_works="no"
14393fi
14394	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $unshare_works" >&5
14395$as_echo "$unshare_works" >&6; }
14396
14397else
14398  unshare_works="no"
14399fi
14400# decide whether to enable network namespaces
14401if test "$enable_test_namespaces" != "no" \
14402	    && test "$unshare_works" = "yes"; then :
14403  use_netns="yes"
14404else
14405  use_netns="no"
14406fi
14407 if test "$use_netns" != "no"; then
14408  ENABLE_NETNS_TRUE=
14409  ENABLE_NETNS_FALSE='#'
14410else
14411  ENABLE_NETNS_TRUE='#'
14412  ENABLE_NETNS_FALSE=
14413fi
14414
14415# Adjust Apache configuration for tests accordingly: Use pthread mutex
14416# and test specific PID files if using namespaces, defaults otherwise.
14417if test "$use_netns" = "yes"; then :
14418  MUTEX_CONF="Mutex pthread default"; PID_AFFIX="-\${TEST_NAME}"
14419else
14420  MUTEX_CONF=""; PID_AFFIX=""
14421fi
14422
14423
14424
14425
14426
14427# Check whether --enable-msva was given.
14428if test "${enable_msva+set}" = set; then :
14429  enableval=$enable_msva; use_msva=$enableval
14430else
14431  use_msva=no
14432fi
14433
14434 if test "$use_msva" != "no"; then
14435  USE_MSVA_TRUE=
14436  USE_MSVA_FALSE='#'
14437else
14438  USE_MSVA_TRUE='#'
14439  USE_MSVA_FALSE=
14440fi
14441
14442
14443MSVA_CFLAGS=""
14444if test "$use_msva" != "no"; then
14445	for ac_header in msv/msv.h
14446do :
14447  ac_fn_c_check_header_mongrel "$LINENO" "msv/msv.h" "ac_cv_header_msv_msv_h" "$ac_includes_default"
14448if test "x$ac_cv_header_msv_msv_h" = xyes; then :
14449  cat >>confdefs.h <<_ACEOF
14450#define HAVE_MSV_MSV_H 1
14451_ACEOF
14452
14453else
14454  as_fn_error $? "*** No libmsv headers found!" "$LINENO" 5
14455fi
14456
14457done
14458
14459        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing msv_query_agent" >&5
14460$as_echo_n "checking for library containing msv_query_agent... " >&6; }
14461if ${ac_cv_search_msv_query_agent+:} false; then :
14462  $as_echo_n "(cached) " >&6
14463else
14464  ac_func_search_save_LIBS=$LIBS
14465cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466/* end confdefs.h.  */
14467
14468/* Override any GCC internal prototype to avoid an error.
14469   Use char because int might match the return type of a GCC
14470   builtin and then its argument prototype would still apply.  */
14471#ifdef __cplusplus
14472extern "C"
14473#endif
14474char msv_query_agent ();
14475int
14476main ()
14477{
14478return msv_query_agent ();
14479  ;
14480  return 0;
14481}
14482_ACEOF
14483for ac_lib in '' msv; do
14484  if test -z "$ac_lib"; then
14485    ac_res="none required"
14486  else
14487    ac_res=-l$ac_lib
14488    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14489  fi
14490  if ac_fn_c_try_link "$LINENO"; then :
14491  ac_cv_search_msv_query_agent=$ac_res
14492fi
14493rm -f core conftest.err conftest.$ac_objext \
14494    conftest$ac_exeext
14495  if ${ac_cv_search_msv_query_agent+:} false; then :
14496  break
14497fi
14498done
14499if ${ac_cv_search_msv_query_agent+:} false; then :
14500
14501else
14502  ac_cv_search_msv_query_agent=no
14503fi
14504rm conftest.$ac_ext
14505LIBS=$ac_func_search_save_LIBS
14506fi
14507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_msv_query_agent" >&5
14508$as_echo "$ac_cv_search_msv_query_agent" >&6; }
14509ac_res=$ac_cv_search_msv_query_agent
14510if test "$ac_res" != no; then :
14511  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14512
14513else
14514  as_fn_error $? "*** No libmsv found with msv_query_agent!" "$LINENO" 5
14515fi
14516
14517	MSVA_CFLAGS="-DENABLE_MSVA=1"
14518fi
14519
14520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable MSVA functionality" >&5
14521$as_echo_n "checking whether to enable MSVA functionality... " >&6; }
14522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_msva" >&5
14523$as_echo "$use_msva" >&6; }
14524
14525have_apr_memcache=0
14526
14527
14528# Check whether --with-apu-config was given.
14529if test "${with_apu_config+set}" = set; then :
14530  withval=$with_apu_config; apr_util_config="$withval"
14531fi
14532
14533
14534
14535
14536save_CFLAGS=$CFLAGS
14537save_LDFLAGS=$LDFLAGS
14538
14539if test -z "$apr_util_config"; then
14540	for ac_prog in apu-1-config
14541do
14542  # Extract the first word of "$ac_prog", so it can be a program name with args.
14543set dummy $ac_prog; ac_word=$2
14544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14545$as_echo_n "checking for $ac_word... " >&6; }
14546if ${ac_cv_path_APR_UTIL_CONF+:} false; then :
14547  $as_echo_n "(cached) " >&6
14548else
14549  case $APR_UTIL_CONF in
14550  [\\/]* | ?:[\\/]*)
14551  ac_cv_path_APR_UTIL_CONF="$APR_UTIL_CONF" # Let the user override the test with a path.
14552  ;;
14553  *)
14554  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14555as_dummy="$PATH:/usr/sbin"
14556for as_dir in $as_dummy
14557do
14558  IFS=$as_save_IFS
14559  test -z "$as_dir" && as_dir=.
14560    for ac_exec_ext in '' $ac_executable_extensions; do
14561  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14562    ac_cv_path_APR_UTIL_CONF="$as_dir/$ac_word$ac_exec_ext"
14563    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14564    break 2
14565  fi
14566done
14567  done
14568IFS=$as_save_IFS
14569
14570  ;;
14571esac
14572fi
14573APR_UTIL_CONF=$ac_cv_path_APR_UTIL_CONF
14574if test -n "$APR_UTIL_CONF"; then
14575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR_UTIL_CONF" >&5
14576$as_echo "$APR_UTIL_CONF" >&6; }
14577else
14578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14579$as_echo "no" >&6; }
14580fi
14581
14582
14583  test -n "$APR_UTIL_CONF" && break
14584done
14585test -n "$APR_UTIL_CONF" || APR_UTIL_CONF="no"
14586
14587else
14588	{ $as_echo "$as_me:${as_lineno-$LINENO}: using apu-1-config path set by user: $apr_util_config" >&5
14589$as_echo "$as_me: using apu-1-config path set by user: $apr_util_config" >&6;}
14590	APR_UTIL_CONF="$apr_util_config"
14591fi
14592
14593CFLAGS="`$APR_UTIL_CONF --includes` $CFLAGS"
14594LDFLAGS="`$APR_UTIL_CONF --link-ld` $LDFLAGS"
14595
14596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_memcache_create in -laprutil-1" >&5
14597$as_echo_n "checking for apr_memcache_create in -laprutil-1... " >&6; }
14598if ${ac_cv_lib_aprutil_1_apr_memcache_create+:} false; then :
14599  $as_echo_n "(cached) " >&6
14600else
14601  ac_check_lib_save_LIBS=$LIBS
14602LIBS="-laprutil-1  $LIBS"
14603cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604/* end confdefs.h.  */
14605
14606/* Override any GCC internal prototype to avoid an error.
14607   Use char because int might match the return type of a GCC
14608   builtin and then its argument prototype would still apply.  */
14609#ifdef __cplusplus
14610extern "C"
14611#endif
14612char apr_memcache_create ();
14613int
14614main ()
14615{
14616return apr_memcache_create ();
14617  ;
14618  return 0;
14619}
14620_ACEOF
14621if ac_fn_c_try_link "$LINENO"; then :
14622  ac_cv_lib_aprutil_1_apr_memcache_create=yes
14623else
14624  ac_cv_lib_aprutil_1_apr_memcache_create=no
14625fi
14626rm -f core conftest.err conftest.$ac_objext \
14627    conftest$ac_exeext conftest.$ac_ext
14628LIBS=$ac_check_lib_save_LIBS
14629fi
14630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aprutil_1_apr_memcache_create" >&5
14631$as_echo "$ac_cv_lib_aprutil_1_apr_memcache_create" >&6; }
14632if test "x$ac_cv_lib_aprutil_1_apr_memcache_create" = xyes; then :
14633
14634		APR_MEMCACHE_LIBS="`$APR_UTIL_CONF --link-ld`"
14635		APR_MEMCACHE_CFLAGS="`$APR_UTIL_CONF --includes`"
14636
14637
14638fi
14639
14640
14641CFLAGS=$save_CFLAGS
14642LDFLAGS=$save_LDFLAGS
14643
14644
14645
14646
14647if test -z "${APR_MEMCACHE_LIBS}"; then
14648  { $as_echo "$as_me:${as_lineno-$LINENO}: *** memcache library not found." >&5
14649$as_echo "$as_me: *** memcache library not found." >&6;}
14650  have_apr_memcache=0
14651else
14652  { $as_echo "$as_me:${as_lineno-$LINENO}: using '${APR_MEMCACHE_LIBS}' for memcache" >&5
14653$as_echo "$as_me: using '${APR_MEMCACHE_LIBS}' for memcache" >&6;}
14654  have_apr_memcache=1
14655fi
14656
14657
14658
14659# Building documentation requires pandoc, which in turn needs pdflatex
14660# to build PDF output.
14661build_doc=no
14662# Extract the first word of "pandoc", so it can be a program name with args.
14663set dummy pandoc; ac_word=$2
14664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14665$as_echo_n "checking for $ac_word... " >&6; }
14666if ${ac_cv_path_PANDOC+:} false; then :
14667  $as_echo_n "(cached) " >&6
14668else
14669  case $PANDOC in
14670  [\\/]* | ?:[\\/]*)
14671  ac_cv_path_PANDOC="$PANDOC" # Let the user override the test with a path.
14672  ;;
14673  *)
14674  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14675for as_dir in $PATH
14676do
14677  IFS=$as_save_IFS
14678  test -z "$as_dir" && as_dir=.
14679    for ac_exec_ext in '' $ac_executable_extensions; do
14680  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14681    ac_cv_path_PANDOC="$as_dir/$ac_word$ac_exec_ext"
14682    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14683    break 2
14684  fi
14685done
14686  done
14687IFS=$as_save_IFS
14688
14689  test -z "$ac_cv_path_PANDOC" && ac_cv_path_PANDOC="no"
14690  ;;
14691esac
14692fi
14693PANDOC=$ac_cv_path_PANDOC
14694if test -n "$PANDOC"; then
14695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANDOC" >&5
14696$as_echo "$PANDOC" >&6; }
14697else
14698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14699$as_echo "no" >&6; }
14700fi
14701
14702
14703if test "$PANDOC" != "no"; then
14704	# Extract the first word of "pdflatex", so it can be a program name with args.
14705set dummy pdflatex; ac_word=$2
14706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14707$as_echo_n "checking for $ac_word... " >&6; }
14708if ${ac_cv_path_PDFLATEX+:} false; then :
14709  $as_echo_n "(cached) " >&6
14710else
14711  case $PDFLATEX in
14712  [\\/]* | ?:[\\/]*)
14713  ac_cv_path_PDFLATEX="$PDFLATEX" # Let the user override the test with a path.
14714  ;;
14715  *)
14716  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14717for as_dir in $PATH
14718do
14719  IFS=$as_save_IFS
14720  test -z "$as_dir" && as_dir=.
14721    for ac_exec_ext in '' $ac_executable_extensions; do
14722  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14723    ac_cv_path_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
14724    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14725    break 2
14726  fi
14727done
14728  done
14729IFS=$as_save_IFS
14730
14731  test -z "$ac_cv_path_PDFLATEX" && ac_cv_path_PDFLATEX="no"
14732  ;;
14733esac
14734fi
14735PDFLATEX=$ac_cv_path_PDFLATEX
14736if test -n "$PDFLATEX"; then
14737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
14738$as_echo "$PDFLATEX" >&6; }
14739else
14740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14741$as_echo "no" >&6; }
14742fi
14743
14744
14745	if test "$PDFLATEX" != "no"; then
14746		build_doc=yes
14747	else
14748		build_doc="html only"
14749	fi
14750else
14751	# Extract the first word of "markdown", so it can be a program name with args.
14752set dummy markdown; ac_word=$2
14753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14754$as_echo_n "checking for $ac_word... " >&6; }
14755if ${ac_cv_path_MARKDOWN+:} false; then :
14756  $as_echo_n "(cached) " >&6
14757else
14758  case $MARKDOWN in
14759  [\\/]* | ?:[\\/]*)
14760  ac_cv_path_MARKDOWN="$MARKDOWN" # Let the user override the test with a path.
14761  ;;
14762  *)
14763  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14764for as_dir in $PATH
14765do
14766  IFS=$as_save_IFS
14767  test -z "$as_dir" && as_dir=.
14768    for ac_exec_ext in '' $ac_executable_extensions; do
14769  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14770    ac_cv_path_MARKDOWN="$as_dir/$ac_word$ac_exec_ext"
14771    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14772    break 2
14773  fi
14774done
14775  done
14776IFS=$as_save_IFS
14777
14778  test -z "$ac_cv_path_MARKDOWN" && ac_cv_path_MARKDOWN="no"
14779  ;;
14780esac
14781fi
14782MARKDOWN=$ac_cv_path_MARKDOWN
14783if test -n "$MARKDOWN"; then
14784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MARKDOWN" >&5
14785$as_echo "$MARKDOWN" >&6; }
14786else
14787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14788$as_echo "no" >&6; }
14789fi
14790
14791
14792	if test "$MARKDOWN" != "no"; then
14793		build_doc="html stub"
14794	fi
14795fi
14796 if test "$PANDOC" != "no"; then
14797  USE_PANDOC_TRUE=
14798  USE_PANDOC_FALSE='#'
14799else
14800  USE_PANDOC_TRUE='#'
14801  USE_PANDOC_FALSE=
14802fi
14803
14804 if test "$PANDOC" != "no" && \
14805			       test "$PDFLATEX" != "no"; then
14806  USE_PDFLATEX_TRUE=
14807  USE_PDFLATEX_FALSE='#'
14808else
14809  USE_PDFLATEX_TRUE='#'
14810  USE_PDFLATEX_FALSE=
14811fi
14812
14813 if test -n "$MARKDOWN" && \
14814			       test "$MARKDOWN" != "no"; then
14815  USE_MARKDOWN_TRUE=
14816  USE_MARKDOWN_FALSE='#'
14817else
14818  USE_MARKDOWN_TRUE='#'
14819  USE_MARKDOWN_FALSE=
14820fi
14821
14822
14823# Check for Apache binary
14824for ac_prog in apache2 httpd
14825do
14826  # Extract the first word of "$ac_prog", so it can be a program name with args.
14827set dummy $ac_prog; ac_word=$2
14828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14829$as_echo_n "checking for $ac_word... " >&6; }
14830if ${ac_cv_path_APACHE2+:} false; then :
14831  $as_echo_n "(cached) " >&6
14832else
14833  case $APACHE2 in
14834  [\\/]* | ?:[\\/]*)
14835  ac_cv_path_APACHE2="$APACHE2" # Let the user override the test with a path.
14836  ;;
14837  *)
14838  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14839as_dummy="$PATH:/usr/sbin"
14840for as_dir in $as_dummy
14841do
14842  IFS=$as_save_IFS
14843  test -z "$as_dir" && as_dir=.
14844    for ac_exec_ext in '' $ac_executable_extensions; do
14845  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14846    ac_cv_path_APACHE2="$as_dir/$ac_word$ac_exec_ext"
14847    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14848    break 2
14849  fi
14850done
14851  done
14852IFS=$as_save_IFS
14853
14854  ;;
14855esac
14856fi
14857APACHE2=$ac_cv_path_APACHE2
14858if test -n "$APACHE2"; then
14859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APACHE2" >&5
14860$as_echo "$APACHE2" >&6; }
14861else
14862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14863$as_echo "no" >&6; }
14864fi
14865
14866
14867  test -n "$APACHE2" && break
14868done
14869test -n "$APACHE2" || APACHE2="no"
14870
14871if test "${APACHE2}" = "no"; then
14872	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Neither apache2 nor httpd found in \
14873		     PATH. Test suite will fail." >&5
14874$as_echo "$as_me: WARNING: Neither apache2 nor httpd found in \
14875		     PATH. Test suite will fail." >&2;}
14876fi
14877
14878for ac_prog in curl wget
14879do
14880  # Extract the first word of "$ac_prog", so it can be a program name with args.
14881set dummy $ac_prog; ac_word=$2
14882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14883$as_echo_n "checking for $ac_word... " >&6; }
14884if ${ac_cv_path_HTTP_CLI+:} false; then :
14885  $as_echo_n "(cached) " >&6
14886else
14887  case $HTTP_CLI in
14888  [\\/]* | ?:[\\/]*)
14889  ac_cv_path_HTTP_CLI="$HTTP_CLI" # Let the user override the test with a path.
14890  ;;
14891  *)
14892  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14893for as_dir in $PATH
14894do
14895  IFS=$as_save_IFS
14896  test -z "$as_dir" && as_dir=.
14897    for ac_exec_ext in '' $ac_executable_extensions; do
14898  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14899    ac_cv_path_HTTP_CLI="$as_dir/$ac_word$ac_exec_ext"
14900    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14901    break 2
14902  fi
14903done
14904  done
14905IFS=$as_save_IFS
14906
14907  ;;
14908esac
14909fi
14910HTTP_CLI=$ac_cv_path_HTTP_CLI
14911if test -n "$HTTP_CLI"; then
14912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HTTP_CLI" >&5
14913$as_echo "$HTTP_CLI" >&6; }
14914else
14915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14916$as_echo "no" >&6; }
14917fi
14918
14919
14920  test -n "$HTTP_CLI" && break
14921done
14922test -n "$HTTP_CLI" || HTTP_CLI="no"
14923
14924
14925MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${SRP_CFLAGS} ${MSVA_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES} ${STRICT_CFLAGS}"
14926MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}"
14927
14928for ac_prog in softhsm2-util softhsm
14929do
14930  # Extract the first word of "$ac_prog", so it can be a program name with args.
14931set dummy $ac_prog; ac_word=$2
14932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14933$as_echo_n "checking for $ac_word... " >&6; }
14934if ${ac_cv_path_SOFTHSM+:} false; then :
14935  $as_echo_n "(cached) " >&6
14936else
14937  case $SOFTHSM in
14938  [\\/]* | ?:[\\/]*)
14939  ac_cv_path_SOFTHSM="$SOFTHSM" # Let the user override the test with a path.
14940  ;;
14941  *)
14942  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14943for as_dir in $PATH
14944do
14945  IFS=$as_save_IFS
14946  test -z "$as_dir" && as_dir=.
14947    for ac_exec_ext in '' $ac_executable_extensions; do
14948  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14949    ac_cv_path_SOFTHSM="$as_dir/$ac_word$ac_exec_ext"
14950    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14951    break 2
14952  fi
14953done
14954  done
14955IFS=$as_save_IFS
14956
14957  ;;
14958esac
14959fi
14960SOFTHSM=$ac_cv_path_SOFTHSM
14961if test -n "$SOFTHSM"; then
14962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOFTHSM" >&5
14963$as_echo "$SOFTHSM" >&6; }
14964else
14965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14966$as_echo "no" >&6; }
14967fi
14968
14969
14970  test -n "$SOFTHSM" && break
14971done
14972test -n "$SOFTHSM" || SOFTHSM="no"
14973
14974if test "${SOFTHSM}" != "no"; then
14975	softhsm_version=$(${SOFTHSM} --version)
14976	as_arg_v1=$(${SOFTHSM} --version)
14977as_arg_v2=2.0.0
14978awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14979case $? in #(
14980  1) :
14981    SOFTHSM_MAJOR_VERSION=1
14982 ;; #(
14983  0) :
14984    SOFTHSM_MAJOR_VERSION=2
14985 ;; #(
14986  2) :
14987    SOFTHSM_MAJOR_VERSION=2
14988 ;; #(
14989  *) :
14990     ;;
14991esac
14992fi
14993 if test "${SOFTHSM}" != "no"; then
14994  HAVE_SOFTHSM_TRUE=
14995  HAVE_SOFTHSM_FALSE='#'
14996else
14997  HAVE_SOFTHSM_TRUE='#'
14998  HAVE_SOFTHSM_FALSE=
14999fi
15000
15001 if test "${SOFTHSM_MAJOR_VERSION}" = "1"; then
15002  HAVE_SOFTHSM1_TRUE=
15003  HAVE_SOFTHSM1_FALSE='#'
15004else
15005  HAVE_SOFTHSM1_TRUE='#'
15006  HAVE_SOFTHSM1_FALSE=
15007fi
15008
15009 if test "${SOFTHSM_MAJOR_VERSION}" = "2"; then
15010  HAVE_SOFTHSM2_TRUE=
15011  HAVE_SOFTHSM2_FALSE='#'
15012else
15013  HAVE_SOFTHSM2_TRUE='#'
15014  HAVE_SOFTHSM2_FALSE=
15015fi
15016
15017
15018
15019
15020
15021# assign default values to TEST_HOST and TEST_IP if necessary
15022: ${TEST_HOST:="localhost"}
15023: ${TEST_IP:="[::1] 127.0.0.1"}
15024
15025
15026
15027
15028: ${TEST_LOCK_WAIT:="30"}
15029: ${TEST_QUERY_TIMEOUT:="30"}
15030
15031
15032
15033
15034
15035LISTEN_LIST="# Listen addresses for the test servers"
15036for i in ${TEST_IP}; do
15037	LISTEN_LIST="${LISTEN_LIST}
15038Listen ${i}:\${TEST_PORT}"
15039done
15040# Available extra ports, tests can "Define" variables of the listed
15041# names in their apache.conf to enable them.
15042for j in TEST_HTTP_PORT; do
15043LISTEN_LIST="${LISTEN_LIST}
15044<IfDefine ${j}>"
15045for i in ${TEST_IP}; do
15046	LISTEN_LIST="${LISTEN_LIST}
15047	Listen ${i}:\${${j}}"
15048done
15049LISTEN_LIST="${LISTEN_LIST}
15050</IfDefine>"
15051done
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065# Files:
15066DX_PROJECT=mod_gnutls
15067
15068DX_CONFIG='doc/doxygen.conf'
15069
15070DX_DOCDIR='doc/api'
15071
15072
15073# Environment variables used inside doxygen.cfg:
15074DX_ENV="$DX_ENV SRCDIR='$srcdir'"
15075SRCDIR=$srcdir
15076
15077DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
15078PROJECT=$DX_PROJECT
15079
15080DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
15081
15082
15083# Doxygen itself:
15084
15085
15086
15087    # Check whether --enable-doxygen-doc was given.
15088if test "${enable_doxygen_doc+set}" = set; then :
15089  enableval=$enable_doxygen_doc;
15090case "$enableval" in
15091#(
15092y|Y|yes|Yes|YES)
15093    DX_FLAG_doc=1
15094
15095
15096;; #(
15097n|N|no|No|NO)
15098    DX_FLAG_doc=0
15099
15100;; #(
15101*)
15102    as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
15103;;
15104esac
15105
15106else
15107
15108DX_FLAG_doc=1
15109
15110
15111
15112fi
15113
15114if test "$DX_FLAG_doc" = 1; then
15115
15116if test -n "$ac_tool_prefix"; then
15117  # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
15118set dummy ${ac_tool_prefix}doxygen; ac_word=$2
15119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15120$as_echo_n "checking for $ac_word... " >&6; }
15121if ${ac_cv_path_DX_DOXYGEN+:} false; then :
15122  $as_echo_n "(cached) " >&6
15123else
15124  case $DX_DOXYGEN in
15125  [\\/]* | ?:[\\/]*)
15126  ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
15127  ;;
15128  *)
15129  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15130for as_dir in $PATH
15131do
15132  IFS=$as_save_IFS
15133  test -z "$as_dir" && as_dir=.
15134    for ac_exec_ext in '' $ac_executable_extensions; do
15135  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15136    ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15137    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15138    break 2
15139  fi
15140done
15141  done
15142IFS=$as_save_IFS
15143
15144  ;;
15145esac
15146fi
15147DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
15148if test -n "$DX_DOXYGEN"; then
15149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
15150$as_echo "$DX_DOXYGEN" >&6; }
15151else
15152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15153$as_echo "no" >&6; }
15154fi
15155
15156
15157fi
15158if test -z "$ac_cv_path_DX_DOXYGEN"; then
15159  ac_pt_DX_DOXYGEN=$DX_DOXYGEN
15160  # Extract the first word of "doxygen", so it can be a program name with args.
15161set dummy doxygen; ac_word=$2
15162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15163$as_echo_n "checking for $ac_word... " >&6; }
15164if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
15165  $as_echo_n "(cached) " >&6
15166else
15167  case $ac_pt_DX_DOXYGEN in
15168  [\\/]* | ?:[\\/]*)
15169  ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
15170  ;;
15171  *)
15172  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15173for as_dir in $PATH
15174do
15175  IFS=$as_save_IFS
15176  test -z "$as_dir" && as_dir=.
15177    for ac_exec_ext in '' $ac_executable_extensions; do
15178  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15179    ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15180    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15181    break 2
15182  fi
15183done
15184  done
15185IFS=$as_save_IFS
15186
15187  ;;
15188esac
15189fi
15190ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
15191if test -n "$ac_pt_DX_DOXYGEN"; then
15192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
15193$as_echo "$ac_pt_DX_DOXYGEN" >&6; }
15194else
15195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15196$as_echo "no" >&6; }
15197fi
15198
15199  if test "x$ac_pt_DX_DOXYGEN" = x; then
15200    DX_DOXYGEN=""
15201  else
15202    case $cross_compiling:$ac_tool_warned in
15203yes:)
15204{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15205$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15206ac_tool_warned=yes ;;
15207esac
15208    DX_DOXYGEN=$ac_pt_DX_DOXYGEN
15209  fi
15210else
15211  DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
15212fi
15213
15214if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
15215    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
15216$as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
15217    DX_FLAG_doc=0
15218
15219fi
15220
15221
15222if test -n "$ac_tool_prefix"; then
15223  # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
15224set dummy ${ac_tool_prefix}perl; ac_word=$2
15225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15226$as_echo_n "checking for $ac_word... " >&6; }
15227if ${ac_cv_path_DX_PERL+:} false; then :
15228  $as_echo_n "(cached) " >&6
15229else
15230  case $DX_PERL in
15231  [\\/]* | ?:[\\/]*)
15232  ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
15233  ;;
15234  *)
15235  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15236for as_dir in $PATH
15237do
15238  IFS=$as_save_IFS
15239  test -z "$as_dir" && as_dir=.
15240    for ac_exec_ext in '' $ac_executable_extensions; do
15241  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15242    ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
15243    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15244    break 2
15245  fi
15246done
15247  done
15248IFS=$as_save_IFS
15249
15250  ;;
15251esac
15252fi
15253DX_PERL=$ac_cv_path_DX_PERL
15254if test -n "$DX_PERL"; then
15255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
15256$as_echo "$DX_PERL" >&6; }
15257else
15258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15259$as_echo "no" >&6; }
15260fi
15261
15262
15263fi
15264if test -z "$ac_cv_path_DX_PERL"; then
15265  ac_pt_DX_PERL=$DX_PERL
15266  # Extract the first word of "perl", so it can be a program name with args.
15267set dummy perl; ac_word=$2
15268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15269$as_echo_n "checking for $ac_word... " >&6; }
15270if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
15271  $as_echo_n "(cached) " >&6
15272else
15273  case $ac_pt_DX_PERL in
15274  [\\/]* | ?:[\\/]*)
15275  ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
15276  ;;
15277  *)
15278  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15279for as_dir in $PATH
15280do
15281  IFS=$as_save_IFS
15282  test -z "$as_dir" && as_dir=.
15283    for ac_exec_ext in '' $ac_executable_extensions; do
15284  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15285    ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
15286    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15287    break 2
15288  fi
15289done
15290  done
15291IFS=$as_save_IFS
15292
15293  ;;
15294esac
15295fi
15296ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
15297if test -n "$ac_pt_DX_PERL"; then
15298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
15299$as_echo "$ac_pt_DX_PERL" >&6; }
15300else
15301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15302$as_echo "no" >&6; }
15303fi
15304
15305  if test "x$ac_pt_DX_PERL" = x; then
15306    DX_PERL=""
15307  else
15308    case $cross_compiling:$ac_tool_warned in
15309yes:)
15310{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15311$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15312ac_tool_warned=yes ;;
15313esac
15314    DX_PERL=$ac_pt_DX_PERL
15315  fi
15316else
15317  DX_PERL="$ac_cv_path_DX_PERL"
15318fi
15319
15320if test "$DX_FLAG_doc$DX_PERL" = 1; then
15321    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
15322$as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
15323    DX_FLAG_doc=0
15324
15325fi
15326
15327    :
15328fi
15329if test "$DX_FLAG_doc" = 1; then
15330    DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
15331PERL_PATH=$DX_PERL
15332
15333    :
15334else
15335
15336    :
15337fi
15338
15339
15340# Dot for graphics:
15341
15342
15343
15344    # Check whether --enable-doxygen-dot was given.
15345if test "${enable_doxygen_dot+set}" = set; then :
15346  enableval=$enable_doxygen_dot;
15347case "$enableval" in
15348#(
15349y|Y|yes|Yes|YES)
15350    DX_FLAG_dot=1
15351
15352
15353test "$DX_FLAG_doc" = "1" \
15354|| as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
15355
15356;; #(
15357n|N|no|No|NO)
15358    DX_FLAG_dot=0
15359
15360;; #(
15361*)
15362    as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
15363;;
15364esac
15365
15366else
15367
15368DX_FLAG_dot=1
15369
15370
15371test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
15372
15373
15374
15375fi
15376
15377if test "$DX_FLAG_dot" = 1; then
15378
15379if test -n "$ac_tool_prefix"; then
15380  # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
15381set dummy ${ac_tool_prefix}dot; ac_word=$2
15382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15383$as_echo_n "checking for $ac_word... " >&6; }
15384if ${ac_cv_path_DX_DOT+:} false; then :
15385  $as_echo_n "(cached) " >&6
15386else
15387  case $DX_DOT in
15388  [\\/]* | ?:[\\/]*)
15389  ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
15390  ;;
15391  *)
15392  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15393for as_dir in $PATH
15394do
15395  IFS=$as_save_IFS
15396  test -z "$as_dir" && as_dir=.
15397    for ac_exec_ext in '' $ac_executable_extensions; do
15398  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15399    ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
15400    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15401    break 2
15402  fi
15403done
15404  done
15405IFS=$as_save_IFS
15406
15407  ;;
15408esac
15409fi
15410DX_DOT=$ac_cv_path_DX_DOT
15411if test -n "$DX_DOT"; then
15412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
15413$as_echo "$DX_DOT" >&6; }
15414else
15415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15416$as_echo "no" >&6; }
15417fi
15418
15419
15420fi
15421if test -z "$ac_cv_path_DX_DOT"; then
15422  ac_pt_DX_DOT=$DX_DOT
15423  # Extract the first word of "dot", so it can be a program name with args.
15424set dummy dot; ac_word=$2
15425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15426$as_echo_n "checking for $ac_word... " >&6; }
15427if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
15428  $as_echo_n "(cached) " >&6
15429else
15430  case $ac_pt_DX_DOT in
15431  [\\/]* | ?:[\\/]*)
15432  ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
15433  ;;
15434  *)
15435  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15436for as_dir in $PATH
15437do
15438  IFS=$as_save_IFS
15439  test -z "$as_dir" && as_dir=.
15440    for ac_exec_ext in '' $ac_executable_extensions; do
15441  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15442    ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
15443    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15444    break 2
15445  fi
15446done
15447  done
15448IFS=$as_save_IFS
15449
15450  ;;
15451esac
15452fi
15453ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
15454if test -n "$ac_pt_DX_DOT"; then
15455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
15456$as_echo "$ac_pt_DX_DOT" >&6; }
15457else
15458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15459$as_echo "no" >&6; }
15460fi
15461
15462  if test "x$ac_pt_DX_DOT" = x; then
15463    DX_DOT=""
15464  else
15465    case $cross_compiling:$ac_tool_warned in
15466yes:)
15467{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15468$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15469ac_tool_warned=yes ;;
15470esac
15471    DX_DOT=$ac_pt_DX_DOT
15472  fi
15473else
15474  DX_DOT="$ac_cv_path_DX_DOT"
15475fi
15476
15477if test "$DX_FLAG_dot$DX_DOT" = 1; then
15478    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
15479$as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
15480    DX_FLAG_dot=0
15481
15482fi
15483
15484    :
15485fi
15486if test "$DX_FLAG_dot" = 1; then
15487    DX_ENV="$DX_ENV HAVE_DOT='YES'"
15488HAVE_DOT=YES
15489
15490             DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
15491DOT_PATH=`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`
15492
15493    :
15494else
15495    DX_ENV="$DX_ENV HAVE_DOT='NO'"
15496HAVE_DOT=NO
15497
15498    :
15499fi
15500
15501
15502# Man pages generation:
15503
15504
15505
15506    # Check whether --enable-doxygen-man was given.
15507if test "${enable_doxygen_man+set}" = set; then :
15508  enableval=$enable_doxygen_man;
15509case "$enableval" in
15510#(
15511y|Y|yes|Yes|YES)
15512    DX_FLAG_man=1
15513
15514
15515test "$DX_FLAG_doc" = "1" \
15516|| as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
15517
15518;; #(
15519n|N|no|No|NO)
15520    DX_FLAG_man=0
15521
15522;; #(
15523*)
15524    as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
15525;;
15526esac
15527
15528else
15529
15530DX_FLAG_man=0
15531
15532
15533test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
15534
15535
15536
15537fi
15538
15539if test "$DX_FLAG_man" = 1; then
15540
15541    :
15542fi
15543if test "$DX_FLAG_man" = 1; then
15544    DX_ENV="$DX_ENV GENERATE_MAN='YES'"
15545GENERATE_MAN=YES
15546
15547    :
15548else
15549    DX_ENV="$DX_ENV GENERATE_MAN='NO'"
15550GENERATE_MAN=NO
15551
15552    :
15553fi
15554
15555
15556# RTF file generation:
15557
15558
15559
15560    # Check whether --enable-doxygen-rtf was given.
15561if test "${enable_doxygen_rtf+set}" = set; then :
15562  enableval=$enable_doxygen_rtf;
15563case "$enableval" in
15564#(
15565y|Y|yes|Yes|YES)
15566    DX_FLAG_rtf=1
15567
15568
15569test "$DX_FLAG_doc" = "1" \
15570|| as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
15571
15572;; #(
15573n|N|no|No|NO)
15574    DX_FLAG_rtf=0
15575
15576;; #(
15577*)
15578    as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
15579;;
15580esac
15581
15582else
15583
15584DX_FLAG_rtf=0
15585
15586
15587test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
15588
15589
15590
15591fi
15592
15593if test "$DX_FLAG_rtf" = 1; then
15594
15595    :
15596fi
15597if test "$DX_FLAG_rtf" = 1; then
15598    DX_ENV="$DX_ENV GENERATE_RTF='YES'"
15599GENERATE_RTF=YES
15600
15601    :
15602else
15603    DX_ENV="$DX_ENV GENERATE_RTF='NO'"
15604GENERATE_RTF=NO
15605
15606    :
15607fi
15608
15609
15610# XML file generation:
15611
15612
15613
15614    # Check whether --enable-doxygen-xml was given.
15615if test "${enable_doxygen_xml+set}" = set; then :
15616  enableval=$enable_doxygen_xml;
15617case "$enableval" in
15618#(
15619y|Y|yes|Yes|YES)
15620    DX_FLAG_xml=1
15621
15622
15623test "$DX_FLAG_doc" = "1" \
15624|| as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
15625
15626;; #(
15627n|N|no|No|NO)
15628    DX_FLAG_xml=0
15629
15630;; #(
15631*)
15632    as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
15633;;
15634esac
15635
15636else
15637
15638DX_FLAG_xml=0
15639
15640
15641test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
15642
15643
15644
15645fi
15646
15647if test "$DX_FLAG_xml" = 1; then
15648
15649    :
15650fi
15651if test "$DX_FLAG_xml" = 1; then
15652    DX_ENV="$DX_ENV GENERATE_XML='YES'"
15653GENERATE_XML=YES
15654
15655    :
15656else
15657    DX_ENV="$DX_ENV GENERATE_XML='NO'"
15658GENERATE_XML=NO
15659
15660    :
15661fi
15662
15663
15664# (Compressed) HTML help generation:
15665
15666
15667
15668    # Check whether --enable-doxygen-chm was given.
15669if test "${enable_doxygen_chm+set}" = set; then :
15670  enableval=$enable_doxygen_chm;
15671case "$enableval" in
15672#(
15673y|Y|yes|Yes|YES)
15674    DX_FLAG_chm=1
15675
15676
15677test "$DX_FLAG_doc" = "1" \
15678|| as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
15679
15680;; #(
15681n|N|no|No|NO)
15682    DX_FLAG_chm=0
15683
15684;; #(
15685*)
15686    as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
15687;;
15688esac
15689
15690else
15691
15692DX_FLAG_chm=0
15693
15694
15695test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
15696
15697
15698
15699fi
15700
15701if test "$DX_FLAG_chm" = 1; then
15702
15703if test -n "$ac_tool_prefix"; then
15704  # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
15705set dummy ${ac_tool_prefix}hhc; ac_word=$2
15706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15707$as_echo_n "checking for $ac_word... " >&6; }
15708if ${ac_cv_path_DX_HHC+:} false; then :
15709  $as_echo_n "(cached) " >&6
15710else
15711  case $DX_HHC in
15712  [\\/]* | ?:[\\/]*)
15713  ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
15714  ;;
15715  *)
15716  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15717for as_dir in $PATH
15718do
15719  IFS=$as_save_IFS
15720  test -z "$as_dir" && as_dir=.
15721    for ac_exec_ext in '' $ac_executable_extensions; do
15722  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15723    ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
15724    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15725    break 2
15726  fi
15727done
15728  done
15729IFS=$as_save_IFS
15730
15731  ;;
15732esac
15733fi
15734DX_HHC=$ac_cv_path_DX_HHC
15735if test -n "$DX_HHC"; then
15736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
15737$as_echo "$DX_HHC" >&6; }
15738else
15739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15740$as_echo "no" >&6; }
15741fi
15742
15743
15744fi
15745if test -z "$ac_cv_path_DX_HHC"; then
15746  ac_pt_DX_HHC=$DX_HHC
15747  # Extract the first word of "hhc", so it can be a program name with args.
15748set dummy hhc; ac_word=$2
15749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15750$as_echo_n "checking for $ac_word... " >&6; }
15751if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
15752  $as_echo_n "(cached) " >&6
15753else
15754  case $ac_pt_DX_HHC in
15755  [\\/]* | ?:[\\/]*)
15756  ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
15757  ;;
15758  *)
15759  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15760for as_dir in $PATH
15761do
15762  IFS=$as_save_IFS
15763  test -z "$as_dir" && as_dir=.
15764    for ac_exec_ext in '' $ac_executable_extensions; do
15765  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15766    ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
15767    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15768    break 2
15769  fi
15770done
15771  done
15772IFS=$as_save_IFS
15773
15774  ;;
15775esac
15776fi
15777ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
15778if test -n "$ac_pt_DX_HHC"; then
15779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
15780$as_echo "$ac_pt_DX_HHC" >&6; }
15781else
15782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15783$as_echo "no" >&6; }
15784fi
15785
15786  if test "x$ac_pt_DX_HHC" = x; then
15787    DX_HHC=""
15788  else
15789    case $cross_compiling:$ac_tool_warned in
15790yes:)
15791{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15792$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15793ac_tool_warned=yes ;;
15794esac
15795    DX_HHC=$ac_pt_DX_HHC
15796  fi
15797else
15798  DX_HHC="$ac_cv_path_DX_HHC"
15799fi
15800
15801if test "$DX_FLAG_chm$DX_HHC" = 1; then
15802    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
15803$as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
15804    DX_FLAG_chm=0
15805
15806fi
15807
15808    :
15809fi
15810if test "$DX_FLAG_chm" = 1; then
15811    DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
15812HHC_PATH=$DX_HHC
15813
15814             DX_ENV="$DX_ENV GENERATE_HTML='YES'"
15815GENERATE_HTML=YES
15816
15817             DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
15818GENERATE_HTMLHELP=YES
15819
15820    :
15821else
15822    DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
15823GENERATE_HTMLHELP=NO
15824
15825    :
15826fi
15827
15828
15829# Seperate CHI file generation.
15830
15831
15832
15833    # Check whether --enable-doxygen-chi was given.
15834if test "${enable_doxygen_chi+set}" = set; then :
15835  enableval=$enable_doxygen_chi;
15836case "$enableval" in
15837#(
15838y|Y|yes|Yes|YES)
15839    DX_FLAG_chi=1
15840
15841
15842test "$DX_FLAG_chm" = "1" \
15843|| as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
15844
15845;; #(
15846n|N|no|No|NO)
15847    DX_FLAG_chi=0
15848
15849;; #(
15850*)
15851    as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
15852;;
15853esac
15854
15855else
15856
15857DX_FLAG_chi=0
15858
15859
15860test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
15861
15862
15863
15864fi
15865
15866if test "$DX_FLAG_chi" = 1; then
15867
15868    :
15869fi
15870if test "$DX_FLAG_chi" = 1; then
15871    DX_ENV="$DX_ENV GENERATE_CHI='YES'"
15872GENERATE_CHI=YES
15873
15874    :
15875else
15876    DX_ENV="$DX_ENV GENERATE_CHI='NO'"
15877GENERATE_CHI=NO
15878
15879    :
15880fi
15881
15882
15883# Plain HTML pages generation:
15884
15885
15886
15887    # Check whether --enable-doxygen-html was given.
15888if test "${enable_doxygen_html+set}" = set; then :
15889  enableval=$enable_doxygen_html;
15890case "$enableval" in
15891#(
15892y|Y|yes|Yes|YES)
15893    DX_FLAG_html=1
15894
15895
15896test "$DX_FLAG_doc" = "1" \
15897|| as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
15898
15899test "$DX_FLAG_chm" = "0" \
15900|| as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
15901
15902;; #(
15903n|N|no|No|NO)
15904    DX_FLAG_html=0
15905
15906;; #(
15907*)
15908    as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
15909;;
15910esac
15911
15912else
15913
15914DX_FLAG_html=1
15915
15916
15917test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
15918
15919
15920test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
15921
15922
15923
15924fi
15925
15926if test "$DX_FLAG_html" = 1; then
15927
15928    :
15929fi
15930if test "$DX_FLAG_html" = 1; then
15931    DX_ENV="$DX_ENV GENERATE_HTML='YES'"
15932GENERATE_HTML=YES
15933
15934    :
15935else
15936    test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
15937GENERATE_HTML=NO
15938
15939    :
15940fi
15941
15942
15943# PostScript file generation:
15944
15945
15946
15947    # Check whether --enable-doxygen-ps was given.
15948if test "${enable_doxygen_ps+set}" = set; then :
15949  enableval=$enable_doxygen_ps;
15950case "$enableval" in
15951#(
15952y|Y|yes|Yes|YES)
15953    DX_FLAG_ps=1
15954
15955
15956test "$DX_FLAG_doc" = "1" \
15957|| as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
15958
15959;; #(
15960n|N|no|No|NO)
15961    DX_FLAG_ps=0
15962
15963;; #(
15964*)
15965    as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
15966;;
15967esac
15968
15969else
15970
15971DX_FLAG_ps=0
15972
15973
15974test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
15975
15976
15977
15978fi
15979
15980if test "$DX_FLAG_ps" = 1; then
15981
15982if test -n "$ac_tool_prefix"; then
15983  # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
15984set dummy ${ac_tool_prefix}latex; ac_word=$2
15985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15986$as_echo_n "checking for $ac_word... " >&6; }
15987if ${ac_cv_path_DX_LATEX+:} false; then :
15988  $as_echo_n "(cached) " >&6
15989else
15990  case $DX_LATEX in
15991  [\\/]* | ?:[\\/]*)
15992  ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
15993  ;;
15994  *)
15995  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15996for as_dir in $PATH
15997do
15998  IFS=$as_save_IFS
15999  test -z "$as_dir" && as_dir=.
16000    for ac_exec_ext in '' $ac_executable_extensions; do
16001  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16002    ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
16003    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16004    break 2
16005  fi
16006done
16007  done
16008IFS=$as_save_IFS
16009
16010  ;;
16011esac
16012fi
16013DX_LATEX=$ac_cv_path_DX_LATEX
16014if test -n "$DX_LATEX"; then
16015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
16016$as_echo "$DX_LATEX" >&6; }
16017else
16018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16019$as_echo "no" >&6; }
16020fi
16021
16022
16023fi
16024if test -z "$ac_cv_path_DX_LATEX"; then
16025  ac_pt_DX_LATEX=$DX_LATEX
16026  # Extract the first word of "latex", so it can be a program name with args.
16027set dummy latex; ac_word=$2
16028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16029$as_echo_n "checking for $ac_word... " >&6; }
16030if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
16031  $as_echo_n "(cached) " >&6
16032else
16033  case $ac_pt_DX_LATEX in
16034  [\\/]* | ?:[\\/]*)
16035  ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
16036  ;;
16037  *)
16038  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16039for as_dir in $PATH
16040do
16041  IFS=$as_save_IFS
16042  test -z "$as_dir" && as_dir=.
16043    for ac_exec_ext in '' $ac_executable_extensions; do
16044  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16045    ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
16046    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16047    break 2
16048  fi
16049done
16050  done
16051IFS=$as_save_IFS
16052
16053  ;;
16054esac
16055fi
16056ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
16057if test -n "$ac_pt_DX_LATEX"; then
16058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
16059$as_echo "$ac_pt_DX_LATEX" >&6; }
16060else
16061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16062$as_echo "no" >&6; }
16063fi
16064
16065  if test "x$ac_pt_DX_LATEX" = x; then
16066    DX_LATEX=""
16067  else
16068    case $cross_compiling:$ac_tool_warned in
16069yes:)
16070{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16071$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16072ac_tool_warned=yes ;;
16073esac
16074    DX_LATEX=$ac_pt_DX_LATEX
16075  fi
16076else
16077  DX_LATEX="$ac_cv_path_DX_LATEX"
16078fi
16079
16080if test "$DX_FLAG_ps$DX_LATEX" = 1; then
16081    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
16082$as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
16083    DX_FLAG_ps=0
16084
16085fi
16086
16087
16088if test -n "$ac_tool_prefix"; then
16089  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
16090set dummy ${ac_tool_prefix}makeindex; ac_word=$2
16091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16092$as_echo_n "checking for $ac_word... " >&6; }
16093if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
16094  $as_echo_n "(cached) " >&6
16095else
16096  case $DX_MAKEINDEX in
16097  [\\/]* | ?:[\\/]*)
16098  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
16099  ;;
16100  *)
16101  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16102for as_dir in $PATH
16103do
16104  IFS=$as_save_IFS
16105  test -z "$as_dir" && as_dir=.
16106    for ac_exec_ext in '' $ac_executable_extensions; do
16107  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16108    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
16109    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16110    break 2
16111  fi
16112done
16113  done
16114IFS=$as_save_IFS
16115
16116  ;;
16117esac
16118fi
16119DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
16120if test -n "$DX_MAKEINDEX"; then
16121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
16122$as_echo "$DX_MAKEINDEX" >&6; }
16123else
16124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125$as_echo "no" >&6; }
16126fi
16127
16128
16129fi
16130if test -z "$ac_cv_path_DX_MAKEINDEX"; then
16131  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
16132  # Extract the first word of "makeindex", so it can be a program name with args.
16133set dummy makeindex; ac_word=$2
16134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16135$as_echo_n "checking for $ac_word... " >&6; }
16136if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
16137  $as_echo_n "(cached) " >&6
16138else
16139  case $ac_pt_DX_MAKEINDEX in
16140  [\\/]* | ?:[\\/]*)
16141  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
16142  ;;
16143  *)
16144  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16145for as_dir in $PATH
16146do
16147  IFS=$as_save_IFS
16148  test -z "$as_dir" && as_dir=.
16149    for ac_exec_ext in '' $ac_executable_extensions; do
16150  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16151    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
16152    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16153    break 2
16154  fi
16155done
16156  done
16157IFS=$as_save_IFS
16158
16159  ;;
16160esac
16161fi
16162ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
16163if test -n "$ac_pt_DX_MAKEINDEX"; then
16164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
16165$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
16166else
16167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16168$as_echo "no" >&6; }
16169fi
16170
16171  if test "x$ac_pt_DX_MAKEINDEX" = x; then
16172    DX_MAKEINDEX=""
16173  else
16174    case $cross_compiling:$ac_tool_warned in
16175yes:)
16176{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16177$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16178ac_tool_warned=yes ;;
16179esac
16180    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
16181  fi
16182else
16183  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
16184fi
16185
16186if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
16187    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
16188$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
16189    DX_FLAG_ps=0
16190
16191fi
16192
16193
16194if test -n "$ac_tool_prefix"; then
16195  # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
16196set dummy ${ac_tool_prefix}dvips; ac_word=$2
16197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16198$as_echo_n "checking for $ac_word... " >&6; }
16199if ${ac_cv_path_DX_DVIPS+:} false; then :
16200  $as_echo_n "(cached) " >&6
16201else
16202  case $DX_DVIPS in
16203  [\\/]* | ?:[\\/]*)
16204  ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
16205  ;;
16206  *)
16207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16208for as_dir in $PATH
16209do
16210  IFS=$as_save_IFS
16211  test -z "$as_dir" && as_dir=.
16212    for ac_exec_ext in '' $ac_executable_extensions; do
16213  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16214    ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
16215    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16216    break 2
16217  fi
16218done
16219  done
16220IFS=$as_save_IFS
16221
16222  ;;
16223esac
16224fi
16225DX_DVIPS=$ac_cv_path_DX_DVIPS
16226if test -n "$DX_DVIPS"; then
16227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
16228$as_echo "$DX_DVIPS" >&6; }
16229else
16230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16231$as_echo "no" >&6; }
16232fi
16233
16234
16235fi
16236if test -z "$ac_cv_path_DX_DVIPS"; then
16237  ac_pt_DX_DVIPS=$DX_DVIPS
16238  # Extract the first word of "dvips", so it can be a program name with args.
16239set dummy dvips; ac_word=$2
16240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16241$as_echo_n "checking for $ac_word... " >&6; }
16242if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
16243  $as_echo_n "(cached) " >&6
16244else
16245  case $ac_pt_DX_DVIPS in
16246  [\\/]* | ?:[\\/]*)
16247  ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
16248  ;;
16249  *)
16250  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16251for as_dir in $PATH
16252do
16253  IFS=$as_save_IFS
16254  test -z "$as_dir" && as_dir=.
16255    for ac_exec_ext in '' $ac_executable_extensions; do
16256  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16257    ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
16258    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16259    break 2
16260  fi
16261done
16262  done
16263IFS=$as_save_IFS
16264
16265  ;;
16266esac
16267fi
16268ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
16269if test -n "$ac_pt_DX_DVIPS"; then
16270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
16271$as_echo "$ac_pt_DX_DVIPS" >&6; }
16272else
16273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16274$as_echo "no" >&6; }
16275fi
16276
16277  if test "x$ac_pt_DX_DVIPS" = x; then
16278    DX_DVIPS=""
16279  else
16280    case $cross_compiling:$ac_tool_warned in
16281yes:)
16282{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16283$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16284ac_tool_warned=yes ;;
16285esac
16286    DX_DVIPS=$ac_pt_DX_DVIPS
16287  fi
16288else
16289  DX_DVIPS="$ac_cv_path_DX_DVIPS"
16290fi
16291
16292if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
16293    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
16294$as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
16295    DX_FLAG_ps=0
16296
16297fi
16298
16299
16300if test -n "$ac_tool_prefix"; then
16301  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
16302set dummy ${ac_tool_prefix}egrep; ac_word=$2
16303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16304$as_echo_n "checking for $ac_word... " >&6; }
16305if ${ac_cv_path_DX_EGREP+:} false; then :
16306  $as_echo_n "(cached) " >&6
16307else
16308  case $DX_EGREP in
16309  [\\/]* | ?:[\\/]*)
16310  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
16311  ;;
16312  *)
16313  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16314for as_dir in $PATH
16315do
16316  IFS=$as_save_IFS
16317  test -z "$as_dir" && as_dir=.
16318    for ac_exec_ext in '' $ac_executable_extensions; do
16319  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16320    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
16321    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16322    break 2
16323  fi
16324done
16325  done
16326IFS=$as_save_IFS
16327
16328  ;;
16329esac
16330fi
16331DX_EGREP=$ac_cv_path_DX_EGREP
16332if test -n "$DX_EGREP"; then
16333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
16334$as_echo "$DX_EGREP" >&6; }
16335else
16336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16337$as_echo "no" >&6; }
16338fi
16339
16340
16341fi
16342if test -z "$ac_cv_path_DX_EGREP"; then
16343  ac_pt_DX_EGREP=$DX_EGREP
16344  # Extract the first word of "egrep", so it can be a program name with args.
16345set dummy egrep; ac_word=$2
16346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16347$as_echo_n "checking for $ac_word... " >&6; }
16348if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
16349  $as_echo_n "(cached) " >&6
16350else
16351  case $ac_pt_DX_EGREP in
16352  [\\/]* | ?:[\\/]*)
16353  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
16354  ;;
16355  *)
16356  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16357for as_dir in $PATH
16358do
16359  IFS=$as_save_IFS
16360  test -z "$as_dir" && as_dir=.
16361    for ac_exec_ext in '' $ac_executable_extensions; do
16362  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16363    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
16364    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16365    break 2
16366  fi
16367done
16368  done
16369IFS=$as_save_IFS
16370
16371  ;;
16372esac
16373fi
16374ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
16375if test -n "$ac_pt_DX_EGREP"; then
16376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
16377$as_echo "$ac_pt_DX_EGREP" >&6; }
16378else
16379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16380$as_echo "no" >&6; }
16381fi
16382
16383  if test "x$ac_pt_DX_EGREP" = x; then
16384    DX_EGREP=""
16385  else
16386    case $cross_compiling:$ac_tool_warned in
16387yes:)
16388{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16389$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16390ac_tool_warned=yes ;;
16391esac
16392    DX_EGREP=$ac_pt_DX_EGREP
16393  fi
16394else
16395  DX_EGREP="$ac_cv_path_DX_EGREP"
16396fi
16397
16398if test "$DX_FLAG_ps$DX_EGREP" = 1; then
16399    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
16400$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
16401    DX_FLAG_ps=0
16402
16403fi
16404
16405    :
16406fi
16407if test "$DX_FLAG_ps" = 1; then
16408
16409    :
16410else
16411
16412    :
16413fi
16414
16415
16416# PDF file generation:
16417
16418
16419
16420    # Check whether --enable-doxygen-pdf was given.
16421if test "${enable_doxygen_pdf+set}" = set; then :
16422  enableval=$enable_doxygen_pdf;
16423case "$enableval" in
16424#(
16425y|Y|yes|Yes|YES)
16426    DX_FLAG_pdf=1
16427
16428
16429test "$DX_FLAG_doc" = "1" \
16430|| as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
16431
16432;; #(
16433n|N|no|No|NO)
16434    DX_FLAG_pdf=0
16435
16436;; #(
16437*)
16438    as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
16439;;
16440esac
16441
16442else
16443
16444DX_FLAG_pdf=1
16445
16446
16447test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
16448
16449
16450
16451fi
16452
16453if test "$DX_FLAG_pdf" = 1; then
16454
16455if test -n "$ac_tool_prefix"; then
16456  # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
16457set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
16458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16459$as_echo_n "checking for $ac_word... " >&6; }
16460if ${ac_cv_path_DX_PDFLATEX+:} false; then :
16461  $as_echo_n "(cached) " >&6
16462else
16463  case $DX_PDFLATEX in
16464  [\\/]* | ?:[\\/]*)
16465  ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
16466  ;;
16467  *)
16468  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16469for as_dir in $PATH
16470do
16471  IFS=$as_save_IFS
16472  test -z "$as_dir" && as_dir=.
16473    for ac_exec_ext in '' $ac_executable_extensions; do
16474  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16475    ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
16476    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16477    break 2
16478  fi
16479done
16480  done
16481IFS=$as_save_IFS
16482
16483  ;;
16484esac
16485fi
16486DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
16487if test -n "$DX_PDFLATEX"; then
16488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
16489$as_echo "$DX_PDFLATEX" >&6; }
16490else
16491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16492$as_echo "no" >&6; }
16493fi
16494
16495
16496fi
16497if test -z "$ac_cv_path_DX_PDFLATEX"; then
16498  ac_pt_DX_PDFLATEX=$DX_PDFLATEX
16499  # Extract the first word of "pdflatex", so it can be a program name with args.
16500set dummy pdflatex; ac_word=$2
16501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16502$as_echo_n "checking for $ac_word... " >&6; }
16503if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
16504  $as_echo_n "(cached) " >&6
16505else
16506  case $ac_pt_DX_PDFLATEX in
16507  [\\/]* | ?:[\\/]*)
16508  ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
16509  ;;
16510  *)
16511  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16512for as_dir in $PATH
16513do
16514  IFS=$as_save_IFS
16515  test -z "$as_dir" && as_dir=.
16516    for ac_exec_ext in '' $ac_executable_extensions; do
16517  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16518    ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
16519    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16520    break 2
16521  fi
16522done
16523  done
16524IFS=$as_save_IFS
16525
16526  ;;
16527esac
16528fi
16529ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
16530if test -n "$ac_pt_DX_PDFLATEX"; then
16531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
16532$as_echo "$ac_pt_DX_PDFLATEX" >&6; }
16533else
16534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16535$as_echo "no" >&6; }
16536fi
16537
16538  if test "x$ac_pt_DX_PDFLATEX" = x; then
16539    DX_PDFLATEX=""
16540  else
16541    case $cross_compiling:$ac_tool_warned in
16542yes:)
16543{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16544$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16545ac_tool_warned=yes ;;
16546esac
16547    DX_PDFLATEX=$ac_pt_DX_PDFLATEX
16548  fi
16549else
16550  DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
16551fi
16552
16553if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
16554    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
16555$as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
16556    DX_FLAG_pdf=0
16557
16558fi
16559
16560
16561if test -n "$ac_tool_prefix"; then
16562  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
16563set dummy ${ac_tool_prefix}makeindex; ac_word=$2
16564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16565$as_echo_n "checking for $ac_word... " >&6; }
16566if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
16567  $as_echo_n "(cached) " >&6
16568else
16569  case $DX_MAKEINDEX in
16570  [\\/]* | ?:[\\/]*)
16571  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
16572  ;;
16573  *)
16574  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16575for as_dir in $PATH
16576do
16577  IFS=$as_save_IFS
16578  test -z "$as_dir" && as_dir=.
16579    for ac_exec_ext in '' $ac_executable_extensions; do
16580  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16581    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
16582    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16583    break 2
16584  fi
16585done
16586  done
16587IFS=$as_save_IFS
16588
16589  ;;
16590esac
16591fi
16592DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
16593if test -n "$DX_MAKEINDEX"; then
16594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
16595$as_echo "$DX_MAKEINDEX" >&6; }
16596else
16597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16598$as_echo "no" >&6; }
16599fi
16600
16601
16602fi
16603if test -z "$ac_cv_path_DX_MAKEINDEX"; then
16604  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
16605  # Extract the first word of "makeindex", so it can be a program name with args.
16606set dummy makeindex; ac_word=$2
16607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16608$as_echo_n "checking for $ac_word... " >&6; }
16609if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
16610  $as_echo_n "(cached) " >&6
16611else
16612  case $ac_pt_DX_MAKEINDEX in
16613  [\\/]* | ?:[\\/]*)
16614  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
16615  ;;
16616  *)
16617  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16618for as_dir in $PATH
16619do
16620  IFS=$as_save_IFS
16621  test -z "$as_dir" && as_dir=.
16622    for ac_exec_ext in '' $ac_executable_extensions; do
16623  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16624    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
16625    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16626    break 2
16627  fi
16628done
16629  done
16630IFS=$as_save_IFS
16631
16632  ;;
16633esac
16634fi
16635ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
16636if test -n "$ac_pt_DX_MAKEINDEX"; then
16637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
16638$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
16639else
16640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16641$as_echo "no" >&6; }
16642fi
16643
16644  if test "x$ac_pt_DX_MAKEINDEX" = x; then
16645    DX_MAKEINDEX=""
16646  else
16647    case $cross_compiling:$ac_tool_warned in
16648yes:)
16649{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16650$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16651ac_tool_warned=yes ;;
16652esac
16653    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
16654  fi
16655else
16656  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
16657fi
16658
16659if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
16660    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
16661$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
16662    DX_FLAG_pdf=0
16663
16664fi
16665
16666
16667if test -n "$ac_tool_prefix"; then
16668  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
16669set dummy ${ac_tool_prefix}egrep; ac_word=$2
16670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16671$as_echo_n "checking for $ac_word... " >&6; }
16672if ${ac_cv_path_DX_EGREP+:} false; then :
16673  $as_echo_n "(cached) " >&6
16674else
16675  case $DX_EGREP in
16676  [\\/]* | ?:[\\/]*)
16677  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
16678  ;;
16679  *)
16680  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16681for as_dir in $PATH
16682do
16683  IFS=$as_save_IFS
16684  test -z "$as_dir" && as_dir=.
16685    for ac_exec_ext in '' $ac_executable_extensions; do
16686  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16687    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
16688    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16689    break 2
16690  fi
16691done
16692  done
16693IFS=$as_save_IFS
16694
16695  ;;
16696esac
16697fi
16698DX_EGREP=$ac_cv_path_DX_EGREP
16699if test -n "$DX_EGREP"; then
16700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
16701$as_echo "$DX_EGREP" >&6; }
16702else
16703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16704$as_echo "no" >&6; }
16705fi
16706
16707
16708fi
16709if test -z "$ac_cv_path_DX_EGREP"; then
16710  ac_pt_DX_EGREP=$DX_EGREP
16711  # Extract the first word of "egrep", so it can be a program name with args.
16712set dummy egrep; ac_word=$2
16713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16714$as_echo_n "checking for $ac_word... " >&6; }
16715if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
16716  $as_echo_n "(cached) " >&6
16717else
16718  case $ac_pt_DX_EGREP in
16719  [\\/]* | ?:[\\/]*)
16720  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
16721  ;;
16722  *)
16723  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16724for as_dir in $PATH
16725do
16726  IFS=$as_save_IFS
16727  test -z "$as_dir" && as_dir=.
16728    for ac_exec_ext in '' $ac_executable_extensions; do
16729  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16730    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
16731    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16732    break 2
16733  fi
16734done
16735  done
16736IFS=$as_save_IFS
16737
16738  ;;
16739esac
16740fi
16741ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
16742if test -n "$ac_pt_DX_EGREP"; then
16743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
16744$as_echo "$ac_pt_DX_EGREP" >&6; }
16745else
16746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16747$as_echo "no" >&6; }
16748fi
16749
16750  if test "x$ac_pt_DX_EGREP" = x; then
16751    DX_EGREP=""
16752  else
16753    case $cross_compiling:$ac_tool_warned in
16754yes:)
16755{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16756$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16757ac_tool_warned=yes ;;
16758esac
16759    DX_EGREP=$ac_pt_DX_EGREP
16760  fi
16761else
16762  DX_EGREP="$ac_cv_path_DX_EGREP"
16763fi
16764
16765if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
16766    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
16767$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
16768    DX_FLAG_pdf=0
16769
16770fi
16771
16772    :
16773fi
16774if test "$DX_FLAG_pdf" = 1; then
16775
16776    :
16777else
16778
16779    :
16780fi
16781
16782
16783# LaTeX generation for PS and/or PDF:
16784if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
16785    DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
16786GENERATE_LATEX=YES
16787
16788else
16789    DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
16790GENERATE_LATEX=NO
16791
16792fi
16793
16794# Paper size for PS and/or PDF:
16795
16796case "$DOXYGEN_PAPER_SIZE" in
16797#(
16798"")
16799    DOXYGEN_PAPER_SIZE=""
16800
16801;; #(
16802a4wide|a4|letter|legal|executive)
16803    DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
16804PAPER_SIZE=$DOXYGEN_PAPER_SIZE
16805
16806;; #(
16807*)
16808    as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
16809;;
16810esac
16811
16812# Rules:
16813if test $DX_FLAG_html -eq 1; then :
16814  DX_SNIPPET_html="## ------------------------------- ##
16815## Rules specific for HTML output. ##
16816## ------------------------------- ##
16817
16818DX_CLEAN_HTML = \$(DX_DOCDIR)/html\\
16819                \$(DX_DOCDIR)/html
16820
16821"
16822else
16823  DX_SNIPPET_html=""
16824fi
16825if test $DX_FLAG_chi -eq 1; then :
16826  DX_SNIPPET_chi="
16827DX_CLEAN_CHI = \$(DX_DOCDIR)/\$(PACKAGE).chi\\
16828               \$(DX_DOCDIR)/\$(PACKAGE).chi"
16829else
16830  DX_SNIPPET_chi=""
16831fi
16832if test $DX_FLAG_chm -eq 1; then :
16833  DX_SNIPPET_chm="## ------------------------------ ##
16834## Rules specific for CHM output. ##
16835## ------------------------------ ##
16836
16837DX_CLEAN_CHM = \$(DX_DOCDIR)/chm\\
16838               \$(DX_DOCDIR)/chm\
16839${DX_SNIPPET_chi}
16840
16841"
16842else
16843  DX_SNIPPET_chm=""
16844fi
16845if test $DX_FLAG_man -eq 1; then :
16846  DX_SNIPPET_man="## ------------------------------ ##
16847## Rules specific for MAN output. ##
16848## ------------------------------ ##
16849
16850DX_CLEAN_MAN = \$(DX_DOCDIR)/man\\
16851               \$(DX_DOCDIR)/man
16852
16853"
16854else
16855  DX_SNIPPET_man=""
16856fi
16857if test $DX_FLAG_rtf -eq 1; then :
16858  DX_SNIPPET_rtf="## ------------------------------ ##
16859## Rules specific for RTF output. ##
16860## ------------------------------ ##
16861
16862DX_CLEAN_RTF = \$(DX_DOCDIR)/rtf\\
16863               \$(DX_DOCDIR)/rtf
16864
16865"
16866else
16867  DX_SNIPPET_rtf=""
16868fi
16869if test $DX_FLAG_xml -eq 1; then :
16870  DX_SNIPPET_xml="## ------------------------------ ##
16871## Rules specific for XML output. ##
16872## ------------------------------ ##
16873
16874DX_CLEAN_XML = \$(DX_DOCDIR)/xml\\
16875               \$(DX_DOCDIR)/xml
16876
16877"
16878else
16879  DX_SNIPPET_xml=""
16880fi
16881if test $DX_FLAG_ps -eq 1; then :
16882  DX_SNIPPET_ps="## ----------------------------- ##
16883## Rules specific for PS output. ##
16884## ----------------------------- ##
16885
16886DX_CLEAN_PS = \$(DX_DOCDIR)/\$(PACKAGE).ps\\
16887              \$(DX_DOCDIR)/\$(PACKAGE).ps
16888
16889DX_PS_GOAL = doxygen-ps
16890
16891doxygen-ps: \$(DX_CLEAN_PS)
16892
16893\$(DX_DOCDIR)/\$(PACKAGE).ps: \$(DX_DOCDIR)/\$(PACKAGE).tag
16894	\$(DX_V_LATEX)cd \$(DX_DOCDIR)/latex; \\
16895	rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\
16896	\$(DX_LATEX) refman.tex; \\
16897	\$(DX_MAKEINDEX) refman.idx; \\
16898	\$(DX_LATEX) refman.tex; \\
16899	countdown=5; \\
16900	while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\
16901	                  refman.log > /dev/null 2>&1 \\
16902	   && test \$\$countdown -gt 0; do \\
16903	    \$(DX_LATEX) refman.tex; \\
16904            countdown=\`expr \$\$countdown - 1\`; \\
16905	done; \\
16906	\$(DX_DVIPS) -o ../\$(PACKAGE).ps refman.dvi
16907
16908"
16909else
16910  DX_SNIPPET_ps=""
16911fi
16912if test $DX_FLAG_pdf -eq 1; then :
16913  DX_SNIPPET_pdf="## ------------------------------ ##
16914## Rules specific for PDF output. ##
16915## ------------------------------ ##
16916
16917DX_CLEAN_PDF = \$(DX_DOCDIR)/\$(PACKAGE).pdf\\
16918               \$(DX_DOCDIR)/\$(PACKAGE).pdf
16919
16920DX_PDF_GOAL = doxygen-pdf
16921
16922doxygen-pdf: \$(DX_CLEAN_PDF)
16923
16924\$(DX_DOCDIR)/\$(PACKAGE).pdf: \$(DX_DOCDIR)/\$(PACKAGE).tag
16925	\$(DX_V_LATEX)cd \$(DX_DOCDIR)/latex; \\
16926	rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\
16927	\$(DX_PDFLATEX) refman.tex; \\
16928	\$(DX_MAKEINDEX) refman.idx; \\
16929	\$(DX_PDFLATEX) refman.tex; \\
16930	countdown=5; \\
16931	while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\
16932	                  refman.log > /dev/null 2>&1 \\
16933	   && test \$\$countdown -gt 0; do \\
16934	    \$(DX_PDFLATEX) refman.tex; \\
16935	    countdown=\`expr \$\$countdown - 1\`; \\
16936	done; \\
16937	mv refman.pdf ../\$(PACKAGE).pdf
16938
16939"
16940else
16941  DX_SNIPPET_pdf=""
16942fi
16943if test $DX_FLAG_ps -eq 1 -o $DX_FLAG_pdf -eq 1; then :
16944  DX_SNIPPET_latex="## ------------------------------------------------- ##
16945## Rules specific for LaTeX (shared for PS and PDF). ##
16946## ------------------------------------------------- ##
16947
16948DX_V_LATEX = \$(_DX_v_LATEX_\$(V))
16949_DX_v_LATEX_ = \$(_DX_v_LATEX_\$(AM_DEFAULT_VERBOSITY))
16950_DX_v_LATEX_0 = @echo \"  LATEX \" \$@;
16951
16952DX_CLEAN_LATEX = \$(DX_DOCDIR)/latex\\
16953                 \$(DX_DOCDIR)/latex
16954
16955"
16956else
16957  DX_SNIPPET_latex=""
16958fi
16959
16960if test $DX_FLAG_doc -eq 1; then :
16961  DX_SNIPPET_doc="## --------------------------------- ##
16962## Format-independent Doxygen rules. ##
16963## --------------------------------- ##
16964
16965${DX_SNIPPET_html}\
16966${DX_SNIPPET_chm}\
16967${DX_SNIPPET_man}\
16968${DX_SNIPPET_rtf}\
16969${DX_SNIPPET_xml}\
16970${DX_SNIPPET_ps}\
16971${DX_SNIPPET_pdf}\
16972${DX_SNIPPET_latex}\
16973DX_V_DXGEN = \$(_DX_v_DXGEN_\$(V))
16974_DX_v_DXGEN_ = \$(_DX_v_DXGEN_\$(AM_DEFAULT_VERBOSITY))
16975_DX_v_DXGEN_0 = @echo \"  DXGEN \" \$<;
16976
16977.PHONY: doxygen-run doxygen-doc \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
16978
16979.INTERMEDIATE: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
16980
16981doxygen-run: \$(DX_DOCDIR)/\$(PACKAGE).tag
16982
16983doxygen-doc: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
16984
16985\$(DX_DOCDIR)/\$(PACKAGE).tag: \$(DX_CONFIG) \$(pkginclude_HEADERS)
16986	\$(A""M_V_at)rm -rf \$(DX_DOCDIR)
16987	\$(DX_V_DXGEN)\$(DX_ENV) DOCDIR=\$(DX_DOCDIR) \$(DX_DOXYGEN) \$(DX_CONFIG)
16988	\$(A""M_V_at)echo Timestamp >\$@
16989
16990DX_CLEANFILES = \\
16991	\$(DX_DOCDIR)/doxygen_sqlite3.db \\
16992	\$(DX_DOCDIR)/\$(PACKAGE).tag \\
16993	-r \\
16994	\$(DX_CLEAN_HTML) \\
16995	\$(DX_CLEAN_CHM) \\
16996	\$(DX_CLEAN_CHI) \\
16997	\$(DX_CLEAN_MAN) \\
16998	\$(DX_CLEAN_RTF) \\
16999	\$(DX_CLEAN_XML) \\
17000	\$(DX_CLEAN_PS) \\
17001	\$(DX_CLEAN_PDF) \\
17002	\$(DX_CLEAN_LATEX)"
17003else
17004  DX_SNIPPET_doc=""
17005fi
17006DX_RULES="${DX_SNIPPET_doc}"
17007
17008
17009#For debugging:
17010#echo DX_FLAG_doc=$DX_FLAG_doc
17011#echo DX_FLAG_dot=$DX_FLAG_dot
17012#echo DX_FLAG_man=$DX_FLAG_man
17013#echo DX_FLAG_html=$DX_FLAG_html
17014#echo DX_FLAG_chm=$DX_FLAG_chm
17015#echo DX_FLAG_chi=$DX_FLAG_chi
17016#echo DX_FLAG_rtf=$DX_FLAG_rtf
17017#echo DX_FLAG_xml=$DX_FLAG_xml
17018#echo DX_FLAG_pdf=$DX_FLAG_pdf
17019#echo DX_FLAG_ps=$DX_FLAG_ps
17020#echo DX_ENV=$DX_ENV
17021
17022
17023ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile test/tests/Makefile doc/Makefile doc/doxygen.conf include/mod_gnutls.h test/proxy_backend.conf test/ocsp_server.conf test/apache-conf/listen.conf test/apache-conf/netns.conf"
17024
17025cat >confcache <<\_ACEOF
17026# This file is a shell script that caches the results of configure
17027# tests run on this system so they can be shared between configure
17028# scripts and configure runs, see configure's option --config-cache.
17029# It is not useful on other systems.  If it contains results you don't
17030# want to keep, you may remove or edit it.
17031#
17032# config.status only pays attention to the cache file if you give it
17033# the --recheck option to rerun configure.
17034#
17035# `ac_cv_env_foo' variables (set or unset) will be overridden when
17036# loading this file, other *unset* `ac_cv_foo' will be assigned the
17037# following values.
17038
17039_ACEOF
17040
17041# The following way of writing the cache mishandles newlines in values,
17042# but we know of no workaround that is simple, portable, and efficient.
17043# So, we kill variables containing newlines.
17044# Ultrix sh set writes to stderr and can't be redirected directly,
17045# and sets the high bit in the cache file unless we assign to the vars.
17046(
17047  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17048    eval ac_val=\$$ac_var
17049    case $ac_val in #(
17050    *${as_nl}*)
17051      case $ac_var in #(
17052      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17053$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17054      esac
17055      case $ac_var in #(
17056      _ | IFS | as_nl) ;; #(
17057      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17058      *) { eval $ac_var=; unset $ac_var;} ;;
17059      esac ;;
17060    esac
17061  done
17062
17063  (set) 2>&1 |
17064    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17065    *${as_nl}ac_space=\ *)
17066      # `set' does not quote correctly, so add quotes: double-quote
17067      # substitution turns \\\\ into \\, and sed turns \\ into \.
17068      sed -n \
17069	"s/'/'\\\\''/g;
17070	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17071      ;; #(
17072    *)
17073      # `set' quotes correctly as required by POSIX, so do not add quotes.
17074      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17075      ;;
17076    esac |
17077    sort
17078) |
17079  sed '
17080     /^ac_cv_env_/b end
17081     t clear
17082     :clear
17083     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17084     t end
17085     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17086     :end' >>confcache
17087if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17088  if test -w "$cache_file"; then
17089    if test "x$cache_file" != "x/dev/null"; then
17090      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17091$as_echo "$as_me: updating cache $cache_file" >&6;}
17092      if test ! -f "$cache_file" || test -h "$cache_file"; then
17093	cat confcache >"$cache_file"
17094      else
17095        case $cache_file in #(
17096        */* | ?:*)
17097	  mv -f confcache "$cache_file"$$ &&
17098	  mv -f "$cache_file"$$ "$cache_file" ;; #(
17099        *)
17100	  mv -f confcache "$cache_file" ;;
17101	esac
17102      fi
17103    fi
17104  else
17105    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17106$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17107  fi
17108fi
17109rm -f confcache
17110
17111test "x$prefix" = xNONE && prefix=$ac_default_prefix
17112# Let make expand exec_prefix.
17113test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17114
17115DEFS=-DHAVE_CONFIG_H
17116
17117ac_libobjs=
17118ac_ltlibobjs=
17119for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17120  # 1. Remove the extension, and $U if already installed.
17121  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17122  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17123  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17124  #    will be set to the directory where LIBOBJS objects are built.
17125  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17126  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17127done
17128LIBOBJS=$ac_libobjs
17129
17130LTLIBOBJS=$ac_ltlibobjs
17131
17132
17133if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17134  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17135Usually this means the macro was only invoked conditionally." "$LINENO" 5
17136fi
17137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17138$as_echo_n "checking that generated files are newer than configure... " >&6; }
17139   if test -n "$am_sleep_pid"; then
17140     # Hide warnings about reused PIDs.
17141     wait $am_sleep_pid 2>/dev/null
17142   fi
17143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17144$as_echo "done" >&6; }
17145 if test -n "$EXEEXT"; then
17146  am__EXEEXT_TRUE=
17147  am__EXEEXT_FALSE='#'
17148else
17149  am__EXEEXT_TRUE='#'
17150  am__EXEEXT_FALSE=
17151fi
17152
17153if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17154  as_fn_error $? "conditional \"AMDEP\" was never defined.
17155Usually this means the macro was only invoked conditionally." "$LINENO" 5
17156fi
17157if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17158  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17159Usually this means the macro was only invoked conditionally." "$LINENO" 5
17160fi
17161if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17162  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17163Usually this means the macro was only invoked conditionally." "$LINENO" 5
17164fi
17165if test -z "${ENABLE_VPATH_INSTALL_TRUE}" && test -z "${ENABLE_VPATH_INSTALL_FALSE}"; then
17166  as_fn_error $? "conditional \"ENABLE_VPATH_INSTALL\" was never defined.
17167Usually this means the macro was only invoked conditionally." "$LINENO" 5
17168fi
17169if test -z "${DISABLE_FLOCK_TRUE}" && test -z "${DISABLE_FLOCK_FALSE}"; then
17170  as_fn_error $? "conditional \"DISABLE_FLOCK\" was never defined.
17171Usually this means the macro was only invoked conditionally." "$LINENO" 5
17172fi
17173if test -z "${ENABLE_OCSP_TEST_TRUE}" && test -z "${ENABLE_OCSP_TEST_FALSE}"; then
17174  as_fn_error $? "conditional \"ENABLE_OCSP_TEST\" was never defined.
17175Usually this means the macro was only invoked conditionally." "$LINENO" 5
17176fi
17177if test -z "${ENABLE_NETNS_TRUE}" && test -z "${ENABLE_NETNS_FALSE}"; then
17178  as_fn_error $? "conditional \"ENABLE_NETNS\" was never defined.
17179Usually this means the macro was only invoked conditionally." "$LINENO" 5
17180fi
17181if test -z "${USE_MSVA_TRUE}" && test -z "${USE_MSVA_FALSE}"; then
17182  as_fn_error $? "conditional \"USE_MSVA\" was never defined.
17183Usually this means the macro was only invoked conditionally." "$LINENO" 5
17184fi
17185if test -z "${USE_PANDOC_TRUE}" && test -z "${USE_PANDOC_FALSE}"; then
17186  as_fn_error $? "conditional \"USE_PANDOC\" was never defined.
17187Usually this means the macro was only invoked conditionally." "$LINENO" 5
17188fi
17189if test -z "${USE_PDFLATEX_TRUE}" && test -z "${USE_PDFLATEX_FALSE}"; then
17190  as_fn_error $? "conditional \"USE_PDFLATEX\" was never defined.
17191Usually this means the macro was only invoked conditionally." "$LINENO" 5
17192fi
17193if test -z "${USE_MARKDOWN_TRUE}" && test -z "${USE_MARKDOWN_FALSE}"; then
17194  as_fn_error $? "conditional \"USE_MARKDOWN\" was never defined.
17195Usually this means the macro was only invoked conditionally." "$LINENO" 5
17196fi
17197if test -z "${HAVE_SOFTHSM_TRUE}" && test -z "${HAVE_SOFTHSM_FALSE}"; then
17198  as_fn_error $? "conditional \"HAVE_SOFTHSM\" was never defined.
17199Usually this means the macro was only invoked conditionally." "$LINENO" 5
17200fi
17201if test -z "${HAVE_SOFTHSM1_TRUE}" && test -z "${HAVE_SOFTHSM1_FALSE}"; then
17202  as_fn_error $? "conditional \"HAVE_SOFTHSM1\" was never defined.
17203Usually this means the macro was only invoked conditionally." "$LINENO" 5
17204fi
17205if test -z "${HAVE_SOFTHSM2_TRUE}" && test -z "${HAVE_SOFTHSM2_FALSE}"; then
17206  as_fn_error $? "conditional \"HAVE_SOFTHSM2\" was never defined.
17207Usually this means the macro was only invoked conditionally." "$LINENO" 5
17208fi
17209
17210: "${CONFIG_STATUS=./config.status}"
17211ac_write_fail=0
17212ac_clean_files_save=$ac_clean_files
17213ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17214{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17215$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17216as_write_fail=0
17217cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17218#! $SHELL
17219# Generated by $as_me.
17220# Run this file to recreate the current configuration.
17221# Compiler output produced by configure, useful for debugging
17222# configure, is in config.log if it exists.
17223
17224debug=false
17225ac_cs_recheck=false
17226ac_cs_silent=false
17227
17228SHELL=\${CONFIG_SHELL-$SHELL}
17229export SHELL
17230_ASEOF
17231cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17232## -------------------- ##
17233## M4sh Initialization. ##
17234## -------------------- ##
17235
17236# Be more Bourne compatible
17237DUALCASE=1; export DUALCASE # for MKS sh
17238if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17239  emulate sh
17240  NULLCMD=:
17241  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17242  # is contrary to our usage.  Disable this feature.
17243  alias -g '${1+"$@"}'='"$@"'
17244  setopt NO_GLOB_SUBST
17245else
17246  case `(set -o) 2>/dev/null` in #(
17247  *posix*) :
17248    set -o posix ;; #(
17249  *) :
17250     ;;
17251esac
17252fi
17253
17254
17255as_nl='
17256'
17257export as_nl
17258# Printing a long string crashes Solaris 7 /usr/bin/printf.
17259as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17260as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17261as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17262# Prefer a ksh shell builtin over an external printf program on Solaris,
17263# but without wasting forks for bash or zsh.
17264if test -z "$BASH_VERSION$ZSH_VERSION" \
17265    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17266  as_echo='print -r --'
17267  as_echo_n='print -rn --'
17268elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17269  as_echo='printf %s\n'
17270  as_echo_n='printf %s'
17271else
17272  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17273    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17274    as_echo_n='/usr/ucb/echo -n'
17275  else
17276    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17277    as_echo_n_body='eval
17278      arg=$1;
17279      case $arg in #(
17280      *"$as_nl"*)
17281	expr "X$arg" : "X\\(.*\\)$as_nl";
17282	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17283      esac;
17284      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17285    '
17286    export as_echo_n_body
17287    as_echo_n='sh -c $as_echo_n_body as_echo'
17288  fi
17289  export as_echo_body
17290  as_echo='sh -c $as_echo_body as_echo'
17291fi
17292
17293# The user is always right.
17294if test "${PATH_SEPARATOR+set}" != set; then
17295  PATH_SEPARATOR=:
17296  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17297    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17298      PATH_SEPARATOR=';'
17299  }
17300fi
17301
17302
17303# IFS
17304# We need space, tab and new line, in precisely that order.  Quoting is
17305# there to prevent editors from complaining about space-tab.
17306# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17307# splitting by setting IFS to empty value.)
17308IFS=" ""	$as_nl"
17309
17310# Find who we are.  Look in the path if we contain no directory separator.
17311as_myself=
17312case $0 in #((
17313  *[\\/]* ) as_myself=$0 ;;
17314  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17315for as_dir in $PATH
17316do
17317  IFS=$as_save_IFS
17318  test -z "$as_dir" && as_dir=.
17319    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17320  done
17321IFS=$as_save_IFS
17322
17323     ;;
17324esac
17325# We did not find ourselves, most probably we were run as `sh COMMAND'
17326# in which case we are not to be found in the path.
17327if test "x$as_myself" = x; then
17328  as_myself=$0
17329fi
17330if test ! -f "$as_myself"; then
17331  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17332  exit 1
17333fi
17334
17335# Unset variables that we do not need and which cause bugs (e.g. in
17336# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17337# suppresses any "Segmentation fault" message there.  '((' could
17338# trigger a bug in pdksh 5.2.14.
17339for as_var in BASH_ENV ENV MAIL MAILPATH
17340do eval test x\${$as_var+set} = xset \
17341  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17342done
17343PS1='$ '
17344PS2='> '
17345PS4='+ '
17346
17347# NLS nuisances.
17348LC_ALL=C
17349export LC_ALL
17350LANGUAGE=C
17351export LANGUAGE
17352
17353# CDPATH.
17354(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17355
17356
17357# as_fn_error STATUS ERROR [LINENO LOG_FD]
17358# ----------------------------------------
17359# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17360# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17361# script with STATUS, using 1 if that was 0.
17362as_fn_error ()
17363{
17364  as_status=$1; test $as_status -eq 0 && as_status=1
17365  if test "$4"; then
17366    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17367    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17368  fi
17369  $as_echo "$as_me: error: $2" >&2
17370  as_fn_exit $as_status
17371} # as_fn_error
17372
17373
17374# as_fn_set_status STATUS
17375# -----------------------
17376# Set $? to STATUS, without forking.
17377as_fn_set_status ()
17378{
17379  return $1
17380} # as_fn_set_status
17381
17382# as_fn_exit STATUS
17383# -----------------
17384# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17385as_fn_exit ()
17386{
17387  set +e
17388  as_fn_set_status $1
17389  exit $1
17390} # as_fn_exit
17391
17392# as_fn_unset VAR
17393# ---------------
17394# Portably unset VAR.
17395as_fn_unset ()
17396{
17397  { eval $1=; unset $1;}
17398}
17399as_unset=as_fn_unset
17400# as_fn_append VAR VALUE
17401# ----------------------
17402# Append the text in VALUE to the end of the definition contained in VAR. Take
17403# advantage of any shell optimizations that allow amortized linear growth over
17404# repeated appends, instead of the typical quadratic growth present in naive
17405# implementations.
17406if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17407  eval 'as_fn_append ()
17408  {
17409    eval $1+=\$2
17410  }'
17411else
17412  as_fn_append ()
17413  {
17414    eval $1=\$$1\$2
17415  }
17416fi # as_fn_append
17417
17418# as_fn_arith ARG...
17419# ------------------
17420# Perform arithmetic evaluation on the ARGs, and store the result in the
17421# global $as_val. Take advantage of shells that can avoid forks. The arguments
17422# must be portable across $(()) and expr.
17423if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17424  eval 'as_fn_arith ()
17425  {
17426    as_val=$(( $* ))
17427  }'
17428else
17429  as_fn_arith ()
17430  {
17431    as_val=`expr "$@" || test $? -eq 1`
17432  }
17433fi # as_fn_arith
17434
17435
17436if expr a : '\(a\)' >/dev/null 2>&1 &&
17437   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17438  as_expr=expr
17439else
17440  as_expr=false
17441fi
17442
17443if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17444  as_basename=basename
17445else
17446  as_basename=false
17447fi
17448
17449if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17450  as_dirname=dirname
17451else
17452  as_dirname=false
17453fi
17454
17455as_me=`$as_basename -- "$0" ||
17456$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17457	 X"$0" : 'X\(//\)$' \| \
17458	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17459$as_echo X/"$0" |
17460    sed '/^.*\/\([^/][^/]*\)\/*$/{
17461	    s//\1/
17462	    q
17463	  }
17464	  /^X\/\(\/\/\)$/{
17465	    s//\1/
17466	    q
17467	  }
17468	  /^X\/\(\/\).*/{
17469	    s//\1/
17470	    q
17471	  }
17472	  s/.*/./; q'`
17473
17474# Avoid depending upon Character Ranges.
17475as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17476as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17477as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17478as_cr_digits='0123456789'
17479as_cr_alnum=$as_cr_Letters$as_cr_digits
17480
17481ECHO_C= ECHO_N= ECHO_T=
17482case `echo -n x` in #(((((
17483-n*)
17484  case `echo 'xy\c'` in
17485  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17486  xy)  ECHO_C='\c';;
17487  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17488       ECHO_T='	';;
17489  esac;;
17490*)
17491  ECHO_N='-n';;
17492esac
17493
17494rm -f conf$$ conf$$.exe conf$$.file
17495if test -d conf$$.dir; then
17496  rm -f conf$$.dir/conf$$.file
17497else
17498  rm -f conf$$.dir
17499  mkdir conf$$.dir 2>/dev/null
17500fi
17501if (echo >conf$$.file) 2>/dev/null; then
17502  if ln -s conf$$.file conf$$ 2>/dev/null; then
17503    as_ln_s='ln -s'
17504    # ... but there are two gotchas:
17505    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17506    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17507    # In both cases, we have to default to `cp -pR'.
17508    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17509      as_ln_s='cp -pR'
17510  elif ln conf$$.file conf$$ 2>/dev/null; then
17511    as_ln_s=ln
17512  else
17513    as_ln_s='cp -pR'
17514  fi
17515else
17516  as_ln_s='cp -pR'
17517fi
17518rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17519rmdir conf$$.dir 2>/dev/null
17520
17521
17522# as_fn_mkdir_p
17523# -------------
17524# Create "$as_dir" as a directory, including parents if necessary.
17525as_fn_mkdir_p ()
17526{
17527
17528  case $as_dir in #(
17529  -*) as_dir=./$as_dir;;
17530  esac
17531  test -d "$as_dir" || eval $as_mkdir_p || {
17532    as_dirs=
17533    while :; do
17534      case $as_dir in #(
17535      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17536      *) as_qdir=$as_dir;;
17537      esac
17538      as_dirs="'$as_qdir' $as_dirs"
17539      as_dir=`$as_dirname -- "$as_dir" ||
17540$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17541	 X"$as_dir" : 'X\(//\)[^/]' \| \
17542	 X"$as_dir" : 'X\(//\)$' \| \
17543	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17544$as_echo X"$as_dir" |
17545    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17546	    s//\1/
17547	    q
17548	  }
17549	  /^X\(\/\/\)[^/].*/{
17550	    s//\1/
17551	    q
17552	  }
17553	  /^X\(\/\/\)$/{
17554	    s//\1/
17555	    q
17556	  }
17557	  /^X\(\/\).*/{
17558	    s//\1/
17559	    q
17560	  }
17561	  s/.*/./; q'`
17562      test -d "$as_dir" && break
17563    done
17564    test -z "$as_dirs" || eval "mkdir $as_dirs"
17565  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17566
17567
17568} # as_fn_mkdir_p
17569if mkdir -p . 2>/dev/null; then
17570  as_mkdir_p='mkdir -p "$as_dir"'
17571else
17572  test -d ./-p && rmdir ./-p
17573  as_mkdir_p=false
17574fi
17575
17576
17577# as_fn_executable_p FILE
17578# -----------------------
17579# Test if FILE is an executable regular file.
17580as_fn_executable_p ()
17581{
17582  test -f "$1" && test -x "$1"
17583} # as_fn_executable_p
17584as_test_x='test -x'
17585as_executable_p=as_fn_executable_p
17586
17587# Sed expression to map a string onto a valid CPP name.
17588as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17589
17590# Sed expression to map a string onto a valid variable name.
17591as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17592
17593
17594exec 6>&1
17595## ----------------------------------- ##
17596## Main body of $CONFIG_STATUS script. ##
17597## ----------------------------------- ##
17598_ASEOF
17599test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17600
17601cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17602# Save the log message, to keep $0 and so on meaningful, and to
17603# report actual input values of CONFIG_FILES etc. instead of their
17604# values after options handling.
17605ac_log="
17606This file was extended by mod_gnutls $as_me 0.8.4, which was
17607generated by GNU Autoconf 2.69.  Invocation command line was
17608
17609  CONFIG_FILES    = $CONFIG_FILES
17610  CONFIG_HEADERS  = $CONFIG_HEADERS
17611  CONFIG_LINKS    = $CONFIG_LINKS
17612  CONFIG_COMMANDS = $CONFIG_COMMANDS
17613  $ $0 $@
17614
17615on `(hostname || uname -n) 2>/dev/null | sed 1q`
17616"
17617
17618_ACEOF
17619
17620case $ac_config_files in *"
17621"*) set x $ac_config_files; shift; ac_config_files=$*;;
17622esac
17623
17624case $ac_config_headers in *"
17625"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17626esac
17627
17628
17629cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17630# Files that config.status was made for.
17631config_files="$ac_config_files"
17632config_headers="$ac_config_headers"
17633config_commands="$ac_config_commands"
17634
17635_ACEOF
17636
17637cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17638ac_cs_usage="\
17639\`$as_me' instantiates files and other configuration actions
17640from templates according to the current configuration.  Unless the files
17641and actions are specified as TAGs, all are instantiated by default.
17642
17643Usage: $0 [OPTION]... [TAG]...
17644
17645  -h, --help       print this help, then exit
17646  -V, --version    print version number and configuration settings, then exit
17647      --config     print configuration, then exit
17648  -q, --quiet, --silent
17649                   do not print progress messages
17650  -d, --debug      don't remove temporary files
17651      --recheck    update $as_me by reconfiguring in the same conditions
17652      --file=FILE[:TEMPLATE]
17653                   instantiate the configuration file FILE
17654      --header=FILE[:TEMPLATE]
17655                   instantiate the configuration header FILE
17656
17657Configuration files:
17658$config_files
17659
17660Configuration headers:
17661$config_headers
17662
17663Configuration commands:
17664$config_commands
17665
17666Report bugs to the package provider."
17667
17668_ACEOF
17669cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17670ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17671ac_cs_version="\\
17672mod_gnutls config.status 0.8.4
17673configured by $0, generated by GNU Autoconf 2.69,
17674  with options \\"\$ac_cs_config\\"
17675
17676Copyright (C) 2012 Free Software Foundation, Inc.
17677This config.status script is free software; the Free Software Foundation
17678gives unlimited permission to copy, distribute and modify it."
17679
17680ac_pwd='$ac_pwd'
17681srcdir='$srcdir'
17682INSTALL='$INSTALL'
17683MKDIR_P='$MKDIR_P'
17684AWK='$AWK'
17685test -n "\$AWK" || AWK=awk
17686_ACEOF
17687
17688cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17689# The default lists apply if the user does not specify any file.
17690ac_need_defaults=:
17691while test $# != 0
17692do
17693  case $1 in
17694  --*=?*)
17695    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17696    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17697    ac_shift=:
17698    ;;
17699  --*=)
17700    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17701    ac_optarg=
17702    ac_shift=:
17703    ;;
17704  *)
17705    ac_option=$1
17706    ac_optarg=$2
17707    ac_shift=shift
17708    ;;
17709  esac
17710
17711  case $ac_option in
17712  # Handling of the options.
17713  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17714    ac_cs_recheck=: ;;
17715  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17716    $as_echo "$ac_cs_version"; exit ;;
17717  --config | --confi | --conf | --con | --co | --c )
17718    $as_echo "$ac_cs_config"; exit ;;
17719  --debug | --debu | --deb | --de | --d | -d )
17720    debug=: ;;
17721  --file | --fil | --fi | --f )
17722    $ac_shift
17723    case $ac_optarg in
17724    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17725    '') as_fn_error $? "missing file argument" ;;
17726    esac
17727    as_fn_append CONFIG_FILES " '$ac_optarg'"
17728    ac_need_defaults=false;;
17729  --header | --heade | --head | --hea )
17730    $ac_shift
17731    case $ac_optarg in
17732    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17733    esac
17734    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17735    ac_need_defaults=false;;
17736  --he | --h)
17737    # Conflict between --help and --header
17738    as_fn_error $? "ambiguous option: \`$1'
17739Try \`$0 --help' for more information.";;
17740  --help | --hel | -h )
17741    $as_echo "$ac_cs_usage"; exit ;;
17742  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17743  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17744    ac_cs_silent=: ;;
17745
17746  # This is an error.
17747  -*) as_fn_error $? "unrecognized option: \`$1'
17748Try \`$0 --help' for more information." ;;
17749
17750  *) as_fn_append ac_config_targets " $1"
17751     ac_need_defaults=false ;;
17752
17753  esac
17754  shift
17755done
17756
17757ac_configure_extra_args=
17758
17759if $ac_cs_silent; then
17760  exec 6>/dev/null
17761  ac_configure_extra_args="$ac_configure_extra_args --silent"
17762fi
17763
17764_ACEOF
17765cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17766if \$ac_cs_recheck; then
17767  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17768  shift
17769  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17770  CONFIG_SHELL='$SHELL'
17771  export CONFIG_SHELL
17772  exec "\$@"
17773fi
17774
17775_ACEOF
17776cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17777exec 5>>config.log
17778{
17779  echo
17780  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17781## Running $as_me. ##
17782_ASBOX
17783  $as_echo "$ac_log"
17784} >&5
17785
17786_ACEOF
17787cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17788#
17789# INIT-COMMANDS
17790#
17791AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17792
17793
17794# The HP-UX ksh and POSIX shell print the target directory to stdout
17795# if CDPATH is set.
17796(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17797
17798sed_quote_subst='$sed_quote_subst'
17799double_quote_subst='$double_quote_subst'
17800delay_variable_subst='$delay_variable_subst'
17801macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17802macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17803enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17804enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17805pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17806enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17807shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17808SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17809ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17810PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17811host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17812host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17813host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17814build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17815build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17816build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17817SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17818Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17819GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17820EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17821FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17822LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17823NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17824LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17825max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17826ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17827exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17828lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17829lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17830lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17831lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17832lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17833reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17834reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17835OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17836deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17837file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17838file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17839want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17840DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17841sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17842AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17843AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17844archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17845STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17846RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17847old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17848old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17849old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17850lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17851CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17852CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17853compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17854GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17855lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17856lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17857lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17858lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17859lt_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"`'
17860lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17861nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17862lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17863lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17864objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17865MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17866lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17867lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17868lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17869lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17870lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17871need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17872MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17873DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17874NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17875LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17876OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17877OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17878libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17879shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17880extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17881archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17882enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17883export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17884whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17885compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17886old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17887old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17888archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17889archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17890module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17891module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17892with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17893allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17894no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17895hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17896hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17897hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17898hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17899hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17900hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17901hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17902inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17903link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17904always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17905export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17906exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17907include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17908prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17909postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17910file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17911variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17912need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17913need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17914version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17915runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17916shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17917shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17918libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17919library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17920soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17921install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17922postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17923postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17924finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17925finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17926hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17927sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17928configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17929configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17930hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17931enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17932enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17933enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17934old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17935striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17936
17937LTCC='$LTCC'
17938LTCFLAGS='$LTCFLAGS'
17939compiler='$compiler_DEFAULT'
17940
17941# A function that is used when there is no print builtin or printf.
17942func_fallback_echo ()
17943{
17944  eval 'cat <<_LTECHO_EOF
17945\$1
17946_LTECHO_EOF'
17947}
17948
17949# Quote evaled strings.
17950for var in SHELL \
17951ECHO \
17952PATH_SEPARATOR \
17953SED \
17954GREP \
17955EGREP \
17956FGREP \
17957LD \
17958NM \
17959LN_S \
17960lt_SP2NL \
17961lt_NL2SP \
17962reload_flag \
17963OBJDUMP \
17964deplibs_check_method \
17965file_magic_cmd \
17966file_magic_glob \
17967want_nocaseglob \
17968DLLTOOL \
17969sharedlib_from_linklib_cmd \
17970AR \
17971AR_FLAGS \
17972archiver_list_spec \
17973STRIP \
17974RANLIB \
17975CC \
17976CFLAGS \
17977compiler \
17978lt_cv_sys_global_symbol_pipe \
17979lt_cv_sys_global_symbol_to_cdecl \
17980lt_cv_sys_global_symbol_to_import \
17981lt_cv_sys_global_symbol_to_c_name_address \
17982lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17983lt_cv_nm_interface \
17984nm_file_list_spec \
17985lt_cv_truncate_bin \
17986lt_prog_compiler_no_builtin_flag \
17987lt_prog_compiler_pic \
17988lt_prog_compiler_wl \
17989lt_prog_compiler_static \
17990lt_cv_prog_compiler_c_o \
17991need_locks \
17992MANIFEST_TOOL \
17993DSYMUTIL \
17994NMEDIT \
17995LIPO \
17996OTOOL \
17997OTOOL64 \
17998shrext_cmds \
17999export_dynamic_flag_spec \
18000whole_archive_flag_spec \
18001compiler_needs_object \
18002with_gnu_ld \
18003allow_undefined_flag \
18004no_undefined_flag \
18005hardcode_libdir_flag_spec \
18006hardcode_libdir_separator \
18007exclude_expsyms \
18008include_expsyms \
18009file_list_spec \
18010variables_saved_for_relink \
18011libname_spec \
18012library_names_spec \
18013soname_spec \
18014install_override_mode \
18015finish_eval \
18016old_striplib \
18017striplib; do
18018    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18019    *[\\\\\\\`\\"\\\$]*)
18020      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18021      ;;
18022    *)
18023      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18024      ;;
18025    esac
18026done
18027
18028# Double-quote double-evaled strings.
18029for var in reload_cmds \
18030old_postinstall_cmds \
18031old_postuninstall_cmds \
18032old_archive_cmds \
18033extract_expsyms_cmds \
18034old_archive_from_new_cmds \
18035old_archive_from_expsyms_cmds \
18036archive_cmds \
18037archive_expsym_cmds \
18038module_cmds \
18039module_expsym_cmds \
18040export_symbols_cmds \
18041prelink_cmds \
18042postlink_cmds \
18043postinstall_cmds \
18044postuninstall_cmds \
18045finish_cmds \
18046sys_lib_search_path_spec \
18047configure_time_dlsearch_path \
18048configure_time_lt_sys_library_path; do
18049    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18050    *[\\\\\\\`\\"\\\$]*)
18051      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18052      ;;
18053    *)
18054      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18055      ;;
18056    esac
18057done
18058
18059ac_aux_dir='$ac_aux_dir'
18060
18061# See if we are running on zsh, and set the options that allow our
18062# commands through without removal of \ escapes INIT.
18063if test -n "\${ZSH_VERSION+set}"; then
18064   setopt NO_GLOB_SUBST
18065fi
18066
18067
18068    PACKAGE='$PACKAGE'
18069    VERSION='$VERSION'
18070    RM='$RM'
18071    ofile='$ofile'
18072
18073
18074
18075
18076_ACEOF
18077
18078cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18079
18080# Handling of arguments.
18081for ac_config_target in $ac_config_targets
18082do
18083  case $ac_config_target in
18084    "include/mod_gnutls_config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/mod_gnutls_config.h:config.in" ;;
18085    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18086    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18087    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18088    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18089    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
18090    "test/tests/Makefile") CONFIG_FILES="$CONFIG_FILES test/tests/Makefile" ;;
18091    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18092    "doc/doxygen.conf") CONFIG_FILES="$CONFIG_FILES doc/doxygen.conf" ;;
18093    "include/mod_gnutls.h") CONFIG_FILES="$CONFIG_FILES include/mod_gnutls.h" ;;
18094    "test/proxy_backend.conf") CONFIG_FILES="$CONFIG_FILES test/proxy_backend.conf" ;;
18095    "test/ocsp_server.conf") CONFIG_FILES="$CONFIG_FILES test/ocsp_server.conf" ;;
18096    "test/apache-conf/listen.conf") CONFIG_FILES="$CONFIG_FILES test/apache-conf/listen.conf" ;;
18097    "test/apache-conf/netns.conf") CONFIG_FILES="$CONFIG_FILES test/apache-conf/netns.conf" ;;
18098
18099  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18100  esac
18101done
18102
18103
18104# If the user did not use the arguments to specify the items to instantiate,
18105# then the envvar interface is used.  Set only those that are not.
18106# We use the long form for the default assignment because of an extremely
18107# bizarre bug on SunOS 4.1.3.
18108if $ac_need_defaults; then
18109  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18110  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18111  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18112fi
18113
18114# Have a temporary directory for convenience.  Make it in the build tree
18115# simply because there is no reason against having it here, and in addition,
18116# creating and moving files from /tmp can sometimes cause problems.
18117# Hook for its removal unless debugging.
18118# Note that there is a small window in which the directory will not be cleaned:
18119# after its creation but before its name has been assigned to `$tmp'.
18120$debug ||
18121{
18122  tmp= ac_tmp=
18123  trap 'exit_status=$?
18124  : "${ac_tmp:=$tmp}"
18125  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18126' 0
18127  trap 'as_fn_exit 1' 1 2 13 15
18128}
18129# Create a (secure) tmp directory for tmp files.
18130
18131{
18132  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18133  test -d "$tmp"
18134}  ||
18135{
18136  tmp=./conf$$-$RANDOM
18137  (umask 077 && mkdir "$tmp")
18138} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18139ac_tmp=$tmp
18140
18141# Set up the scripts for CONFIG_FILES section.
18142# No need to generate them if there are no CONFIG_FILES.
18143# This happens for instance with `./config.status config.h'.
18144if test -n "$CONFIG_FILES"; then
18145
18146
18147ac_cr=`echo X | tr X '\015'`
18148# On cygwin, bash can eat \r inside `` if the user requested igncr.
18149# But we know of no other shell where ac_cr would be empty at this
18150# point, so we can use a bashism as a fallback.
18151if test "x$ac_cr" = x; then
18152  eval ac_cr=\$\'\\r\'
18153fi
18154ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18155if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18156  ac_cs_awk_cr='\\r'
18157else
18158  ac_cs_awk_cr=$ac_cr
18159fi
18160
18161echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18162_ACEOF
18163
18164
18165{
18166  echo "cat >conf$$subs.awk <<_ACEOF" &&
18167  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18168  echo "_ACEOF"
18169} >conf$$subs.sh ||
18170  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18171ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18172ac_delim='%!_!# '
18173for ac_last_try in false false false false false :; do
18174  . ./conf$$subs.sh ||
18175    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18176
18177  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18178  if test $ac_delim_n = $ac_delim_num; then
18179    break
18180  elif $ac_last_try; then
18181    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18182  else
18183    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18184  fi
18185done
18186rm -f conf$$subs.sh
18187
18188cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18189cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18190_ACEOF
18191sed -n '
18192h
18193s/^/S["/; s/!.*/"]=/
18194p
18195g
18196s/^[^!]*!//
18197:repl
18198t repl
18199s/'"$ac_delim"'$//
18200t delim
18201:nl
18202h
18203s/\(.\{148\}\)..*/\1/
18204t more1
18205s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18206p
18207n
18208b repl
18209:more1
18210s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18211p
18212g
18213s/.\{148\}//
18214t nl
18215:delim
18216h
18217s/\(.\{148\}\)..*/\1/
18218t more2
18219s/["\\]/\\&/g; s/^/"/; s/$/"/
18220p
18221b
18222:more2
18223s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18224p
18225g
18226s/.\{148\}//
18227t delim
18228' <conf$$subs.awk | sed '
18229/^[^""]/{
18230  N
18231  s/\n//
18232}
18233' >>$CONFIG_STATUS || ac_write_fail=1
18234rm -f conf$$subs.awk
18235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18236_ACAWK
18237cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18238  for (key in S) S_is_set[key] = 1
18239  FS = ""
18240
18241}
18242{
18243  line = $ 0
18244  nfields = split(line, field, "@")
18245  substed = 0
18246  len = length(field[1])
18247  for (i = 2; i < nfields; i++) {
18248    key = field[i]
18249    keylen = length(key)
18250    if (S_is_set[key]) {
18251      value = S[key]
18252      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18253      len += length(value) + length(field[++i])
18254      substed = 1
18255    } else
18256      len += 1 + keylen
18257  }
18258
18259  print line
18260}
18261
18262_ACAWK
18263_ACEOF
18264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18265if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18266  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18267else
18268  cat
18269fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18270  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18271_ACEOF
18272
18273# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18274# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18275# trailing colons and then remove the whole line if VPATH becomes empty
18276# (actually we leave an empty line to preserve line numbers).
18277if test "x$srcdir" = x.; then
18278  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18279h
18280s///
18281s/^/:/
18282s/[	 ]*$/:/
18283s/:\$(srcdir):/:/g
18284s/:\${srcdir}:/:/g
18285s/:@srcdir@:/:/g
18286s/^:*//
18287s/:*$//
18288x
18289s/\(=[	 ]*\).*/\1/
18290G
18291s/\n//
18292s/^[^=]*=[	 ]*$//
18293}'
18294fi
18295
18296cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18297fi # test -n "$CONFIG_FILES"
18298
18299# Set up the scripts for CONFIG_HEADERS section.
18300# No need to generate them if there are no CONFIG_HEADERS.
18301# This happens for instance with `./config.status Makefile'.
18302if test -n "$CONFIG_HEADERS"; then
18303cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18304BEGIN {
18305_ACEOF
18306
18307# Transform confdefs.h into an awk script `defines.awk', embedded as
18308# here-document in config.status, that substitutes the proper values into
18309# config.h.in to produce config.h.
18310
18311# Create a delimiter string that does not exist in confdefs.h, to ease
18312# handling of long lines.
18313ac_delim='%!_!# '
18314for ac_last_try in false false :; do
18315  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18316  if test -z "$ac_tt"; then
18317    break
18318  elif $ac_last_try; then
18319    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18320  else
18321    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18322  fi
18323done
18324
18325# For the awk script, D is an array of macro values keyed by name,
18326# likewise P contains macro parameters if any.  Preserve backslash
18327# newline sequences.
18328
18329ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18330sed -n '
18331s/.\{148\}/&'"$ac_delim"'/g
18332t rset
18333:rset
18334s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18335t def
18336d
18337:def
18338s/\\$//
18339t bsnl
18340s/["\\]/\\&/g
18341s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18342D["\1"]=" \3"/p
18343s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18344d
18345:bsnl
18346s/["\\]/\\&/g
18347s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18348D["\1"]=" \3\\\\\\n"\\/p
18349t cont
18350s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18351t cont
18352d
18353:cont
18354n
18355s/.\{148\}/&'"$ac_delim"'/g
18356t clear
18357:clear
18358s/\\$//
18359t bsnlc
18360s/["\\]/\\&/g; s/^/"/; s/$/"/p
18361d
18362:bsnlc
18363s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18364b cont
18365' <confdefs.h | sed '
18366s/'"$ac_delim"'/"\\\
18367"/g' >>$CONFIG_STATUS || ac_write_fail=1
18368
18369cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18370  for (key in D) D_is_set[key] = 1
18371  FS = ""
18372}
18373/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18374  line = \$ 0
18375  split(line, arg, " ")
18376  if (arg[1] == "#") {
18377    defundef = arg[2]
18378    mac1 = arg[3]
18379  } else {
18380    defundef = substr(arg[1], 2)
18381    mac1 = arg[2]
18382  }
18383  split(mac1, mac2, "(") #)
18384  macro = mac2[1]
18385  prefix = substr(line, 1, index(line, defundef) - 1)
18386  if (D_is_set[macro]) {
18387    # Preserve the white space surrounding the "#".
18388    print prefix "define", macro P[macro] D[macro]
18389    next
18390  } else {
18391    # Replace #undef with comments.  This is necessary, for example,
18392    # in the case of _POSIX_SOURCE, which is predefined and required
18393    # on some systems where configure will not decide to define it.
18394    if (defundef == "undef") {
18395      print "/*", prefix defundef, macro, "*/"
18396      next
18397    }
18398  }
18399}
18400{ print }
18401_ACAWK
18402_ACEOF
18403cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18404  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18405fi # test -n "$CONFIG_HEADERS"
18406
18407
18408eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18409shift
18410for ac_tag
18411do
18412  case $ac_tag in
18413  :[FHLC]) ac_mode=$ac_tag; continue;;
18414  esac
18415  case $ac_mode$ac_tag in
18416  :[FHL]*:*);;
18417  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18418  :[FH]-) ac_tag=-:-;;
18419  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18420  esac
18421  ac_save_IFS=$IFS
18422  IFS=:
18423  set x $ac_tag
18424  IFS=$ac_save_IFS
18425  shift
18426  ac_file=$1
18427  shift
18428
18429  case $ac_mode in
18430  :L) ac_source=$1;;
18431  :[FH])
18432    ac_file_inputs=
18433    for ac_f
18434    do
18435      case $ac_f in
18436      -) ac_f="$ac_tmp/stdin";;
18437      *) # Look for the file first in the build tree, then in the source tree
18438	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18439	 # because $ac_f cannot contain `:'.
18440	 test -f "$ac_f" ||
18441	   case $ac_f in
18442	   [\\/$]*) false;;
18443	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18444	   esac ||
18445	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18446      esac
18447      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18448      as_fn_append ac_file_inputs " '$ac_f'"
18449    done
18450
18451    # Let's still pretend it is `configure' which instantiates (i.e., don't
18452    # use $as_me), people would be surprised to read:
18453    #    /* config.h.  Generated by config.status.  */
18454    configure_input='Generated from '`
18455	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18456	`' by configure.'
18457    if test x"$ac_file" != x-; then
18458      configure_input="$ac_file.  $configure_input"
18459      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18460$as_echo "$as_me: creating $ac_file" >&6;}
18461    fi
18462    # Neutralize special characters interpreted by sed in replacement strings.
18463    case $configure_input in #(
18464    *\&* | *\|* | *\\* )
18465       ac_sed_conf_input=`$as_echo "$configure_input" |
18466       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18467    *) ac_sed_conf_input=$configure_input;;
18468    esac
18469
18470    case $ac_tag in
18471    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18472      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18473    esac
18474    ;;
18475  esac
18476
18477  ac_dir=`$as_dirname -- "$ac_file" ||
18478$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18479	 X"$ac_file" : 'X\(//\)[^/]' \| \
18480	 X"$ac_file" : 'X\(//\)$' \| \
18481	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18482$as_echo X"$ac_file" |
18483    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18484	    s//\1/
18485	    q
18486	  }
18487	  /^X\(\/\/\)[^/].*/{
18488	    s//\1/
18489	    q
18490	  }
18491	  /^X\(\/\/\)$/{
18492	    s//\1/
18493	    q
18494	  }
18495	  /^X\(\/\).*/{
18496	    s//\1/
18497	    q
18498	  }
18499	  s/.*/./; q'`
18500  as_dir="$ac_dir"; as_fn_mkdir_p
18501  ac_builddir=.
18502
18503case "$ac_dir" in
18504.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18505*)
18506  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18507  # A ".." for each directory in $ac_dir_suffix.
18508  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18509  case $ac_top_builddir_sub in
18510  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18511  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18512  esac ;;
18513esac
18514ac_abs_top_builddir=$ac_pwd
18515ac_abs_builddir=$ac_pwd$ac_dir_suffix
18516# for backward compatibility:
18517ac_top_builddir=$ac_top_build_prefix
18518
18519case $srcdir in
18520  .)  # We are building in place.
18521    ac_srcdir=.
18522    ac_top_srcdir=$ac_top_builddir_sub
18523    ac_abs_top_srcdir=$ac_pwd ;;
18524  [\\/]* | ?:[\\/]* )  # Absolute name.
18525    ac_srcdir=$srcdir$ac_dir_suffix;
18526    ac_top_srcdir=$srcdir
18527    ac_abs_top_srcdir=$srcdir ;;
18528  *) # Relative name.
18529    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18530    ac_top_srcdir=$ac_top_build_prefix$srcdir
18531    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18532esac
18533ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18534
18535
18536  case $ac_mode in
18537  :F)
18538  #
18539  # CONFIG_FILE
18540  #
18541
18542  case $INSTALL in
18543  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18544  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18545  esac
18546  ac_MKDIR_P=$MKDIR_P
18547  case $MKDIR_P in
18548  [\\/$]* | ?:[\\/]* ) ;;
18549  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18550  esac
18551_ACEOF
18552
18553cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18554# If the template does not know about datarootdir, expand it.
18555# FIXME: This hack should be removed a few years after 2.60.
18556ac_datarootdir_hack=; ac_datarootdir_seen=
18557ac_sed_dataroot='
18558/datarootdir/ {
18559  p
18560  q
18561}
18562/@datadir@/p
18563/@docdir@/p
18564/@infodir@/p
18565/@localedir@/p
18566/@mandir@/p'
18567case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18568*datarootdir*) ac_datarootdir_seen=yes;;
18569*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18570  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18571$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18572_ACEOF
18573cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18574  ac_datarootdir_hack='
18575  s&@datadir@&$datadir&g
18576  s&@docdir@&$docdir&g
18577  s&@infodir@&$infodir&g
18578  s&@localedir@&$localedir&g
18579  s&@mandir@&$mandir&g
18580  s&\\\${datarootdir}&$datarootdir&g' ;;
18581esac
18582_ACEOF
18583
18584# Neutralize VPATH when `$srcdir' = `.'.
18585# Shell code in configure.ac might set extrasub.
18586# FIXME: do we really want to maintain this feature?
18587cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18588ac_sed_extra="$ac_vpsub
18589$extrasub
18590_ACEOF
18591cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18592:t
18593/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18594s|@configure_input@|$ac_sed_conf_input|;t t
18595s&@top_builddir@&$ac_top_builddir_sub&;t t
18596s&@top_build_prefix@&$ac_top_build_prefix&;t t
18597s&@srcdir@&$ac_srcdir&;t t
18598s&@abs_srcdir@&$ac_abs_srcdir&;t t
18599s&@top_srcdir@&$ac_top_srcdir&;t t
18600s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18601s&@builddir@&$ac_builddir&;t t
18602s&@abs_builddir@&$ac_abs_builddir&;t t
18603s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18604s&@INSTALL@&$ac_INSTALL&;t t
18605s&@MKDIR_P@&$ac_MKDIR_P&;t t
18606$ac_datarootdir_hack
18607"
18608eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18609  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18610
18611test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18612  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18613  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18614      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18615  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18616which seems to be undefined.  Please make sure it is defined" >&5
18617$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18618which seems to be undefined.  Please make sure it is defined" >&2;}
18619
18620  rm -f "$ac_tmp/stdin"
18621  case $ac_file in
18622  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18623  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18624  esac \
18625  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18626 ;;
18627  :H)
18628  #
18629  # CONFIG_HEADER
18630  #
18631  if test x"$ac_file" != x-; then
18632    {
18633      $as_echo "/* $configure_input  */" \
18634      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18635    } >"$ac_tmp/config.h" \
18636      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18637    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18638      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18639$as_echo "$as_me: $ac_file is unchanged" >&6;}
18640    else
18641      rm -f "$ac_file"
18642      mv "$ac_tmp/config.h" "$ac_file" \
18643	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18644    fi
18645  else
18646    $as_echo "/* $configure_input  */" \
18647      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18648      || as_fn_error $? "could not create -" "$LINENO" 5
18649  fi
18650# Compute "$ac_file"'s index in $config_headers.
18651_am_arg="$ac_file"
18652_am_stamp_count=1
18653for _am_header in $config_headers :; do
18654  case $_am_header in
18655    $_am_arg | $_am_arg:* )
18656      break ;;
18657    * )
18658      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18659  esac
18660done
18661echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18662$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18663	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18664	 X"$_am_arg" : 'X\(//\)$' \| \
18665	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18666$as_echo X"$_am_arg" |
18667    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18668	    s//\1/
18669	    q
18670	  }
18671	  /^X\(\/\/\)[^/].*/{
18672	    s//\1/
18673	    q
18674	  }
18675	  /^X\(\/\/\)$/{
18676	    s//\1/
18677	    q
18678	  }
18679	  /^X\(\/\).*/{
18680	    s//\1/
18681	    q
18682	  }
18683	  s/.*/./; q'`/stamp-h$_am_stamp_count
18684 ;;
18685
18686  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18687$as_echo "$as_me: executing $ac_file commands" >&6;}
18688 ;;
18689  esac
18690
18691
18692  case $ac_file$ac_mode in
18693    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18694  # Older Autoconf quotes --file arguments for eval, but not when files
18695  # are listed without --file.  Let's play safe and only enable the eval
18696  # if we detect the quoting.
18697  case $CONFIG_FILES in
18698  *\'*) eval set x "$CONFIG_FILES" ;;
18699  *)   set x $CONFIG_FILES ;;
18700  esac
18701  shift
18702  for mf
18703  do
18704    # Strip MF so we end up with the name of the file.
18705    mf=`echo "$mf" | sed -e 's/:.*$//'`
18706    # Check whether this is an Automake generated Makefile or not.
18707    # We used to match only the files named 'Makefile.in', but
18708    # some people rename them; so instead we look at the file content.
18709    # Grep'ing the first line is not enough: some people post-process
18710    # each Makefile.in and add a new line on top of each file to say so.
18711    # Grep'ing the whole file is not good either: AIX grep has a line
18712    # limit of 2048, but all sed's we know have understand at least 4000.
18713    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18714      dirpart=`$as_dirname -- "$mf" ||
18715$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18716	 X"$mf" : 'X\(//\)[^/]' \| \
18717	 X"$mf" : 'X\(//\)$' \| \
18718	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18719$as_echo X"$mf" |
18720    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18721	    s//\1/
18722	    q
18723	  }
18724	  /^X\(\/\/\)[^/].*/{
18725	    s//\1/
18726	    q
18727	  }
18728	  /^X\(\/\/\)$/{
18729	    s//\1/
18730	    q
18731	  }
18732	  /^X\(\/\).*/{
18733	    s//\1/
18734	    q
18735	  }
18736	  s/.*/./; q'`
18737    else
18738      continue
18739    fi
18740    # Extract the definition of DEPDIR, am__include, and am__quote
18741    # from the Makefile without running 'make'.
18742    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18743    test -z "$DEPDIR" && continue
18744    am__include=`sed -n 's/^am__include = //p' < "$mf"`
18745    test -z "$am__include" && continue
18746    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18747    # Find all dependency output files, they are included files with
18748    # $(DEPDIR) in their names.  We invoke sed twice because it is the
18749    # simplest approach to changing $(DEPDIR) to its actual value in the
18750    # expansion.
18751    for file in `sed -n "
18752      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18753	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18754      # Make sure the directory exists.
18755      test -f "$dirpart/$file" && continue
18756      fdir=`$as_dirname -- "$file" ||
18757$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18758	 X"$file" : 'X\(//\)[^/]' \| \
18759	 X"$file" : 'X\(//\)$' \| \
18760	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18761$as_echo X"$file" |
18762    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18763	    s//\1/
18764	    q
18765	  }
18766	  /^X\(\/\/\)[^/].*/{
18767	    s//\1/
18768	    q
18769	  }
18770	  /^X\(\/\/\)$/{
18771	    s//\1/
18772	    q
18773	  }
18774	  /^X\(\/\).*/{
18775	    s//\1/
18776	    q
18777	  }
18778	  s/.*/./; q'`
18779      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18780      # echo "creating $dirpart/$file"
18781      echo '# dummy' > "$dirpart/$file"
18782    done
18783  done
18784}
18785 ;;
18786    "libtool":C)
18787
18788    # See if we are running on zsh, and set the options that allow our
18789    # commands through without removal of \ escapes.
18790    if test -n "${ZSH_VERSION+set}"; then
18791      setopt NO_GLOB_SUBST
18792    fi
18793
18794    cfgfile=${ofile}T
18795    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18796    $RM "$cfgfile"
18797
18798    cat <<_LT_EOF >> "$cfgfile"
18799#! $SHELL
18800# Generated automatically by $as_me ($PACKAGE) $VERSION
18801# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18802
18803# Provide generalized library-building support services.
18804# Written by Gordon Matzigkeit, 1996
18805
18806# Copyright (C) 2014 Free Software Foundation, Inc.
18807# This is free software; see the source for copying conditions.  There is NO
18808# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18809
18810# GNU Libtool is free software; you can redistribute it and/or modify
18811# it under the terms of the GNU General Public License as published by
18812# the Free Software Foundation; either version 2 of of the License, or
18813# (at your option) any later version.
18814#
18815# As a special exception to the GNU General Public License, if you
18816# distribute this file as part of a program or library that is built
18817# using GNU Libtool, you may include this file under the  same
18818# distribution terms that you use for the rest of that program.
18819#
18820# GNU Libtool is distributed in the hope that it will be useful, but
18821# WITHOUT ANY WARRANTY; without even the implied warranty of
18822# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18823# GNU General Public License for more details.
18824#
18825# You should have received a copy of the GNU General Public License
18826# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18827
18828
18829# The names of the tagged configurations supported by this script.
18830available_tags=''
18831
18832# Configured defaults for sys_lib_dlsearch_path munging.
18833: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18834
18835# ### BEGIN LIBTOOL CONFIG
18836
18837# Which release of libtool.m4 was used?
18838macro_version=$macro_version
18839macro_revision=$macro_revision
18840
18841# Whether or not to build static libraries.
18842build_old_libs=$enable_static
18843
18844# Whether or not to build shared libraries.
18845build_libtool_libs=$enable_shared
18846
18847# What type of objects to build.
18848pic_mode=$pic_mode
18849
18850# Whether or not to optimize for fast installation.
18851fast_install=$enable_fast_install
18852
18853# Shared archive member basename,for filename based shared library versioning on AIX.
18854shared_archive_member_spec=$shared_archive_member_spec
18855
18856# Shell to use when invoking shell scripts.
18857SHELL=$lt_SHELL
18858
18859# An echo program that protects backslashes.
18860ECHO=$lt_ECHO
18861
18862# The PATH separator for the build system.
18863PATH_SEPARATOR=$lt_PATH_SEPARATOR
18864
18865# The host system.
18866host_alias=$host_alias
18867host=$host
18868host_os=$host_os
18869
18870# The build system.
18871build_alias=$build_alias
18872build=$build
18873build_os=$build_os
18874
18875# A sed program that does not truncate output.
18876SED=$lt_SED
18877
18878# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18879Xsed="\$SED -e 1s/^X//"
18880
18881# A grep program that handles long lines.
18882GREP=$lt_GREP
18883
18884# An ERE matcher.
18885EGREP=$lt_EGREP
18886
18887# A literal string matcher.
18888FGREP=$lt_FGREP
18889
18890# A BSD- or MS-compatible name lister.
18891NM=$lt_NM
18892
18893# Whether we need soft or hard links.
18894LN_S=$lt_LN_S
18895
18896# What is the maximum length of a command?
18897max_cmd_len=$max_cmd_len
18898
18899# Object file suffix (normally "o").
18900objext=$ac_objext
18901
18902# Executable file suffix (normally "").
18903exeext=$exeext
18904
18905# whether the shell understands "unset".
18906lt_unset=$lt_unset
18907
18908# turn spaces into newlines.
18909SP2NL=$lt_lt_SP2NL
18910
18911# turn newlines into spaces.
18912NL2SP=$lt_lt_NL2SP
18913
18914# convert \$build file names to \$host format.
18915to_host_file_cmd=$lt_cv_to_host_file_cmd
18916
18917# convert \$build files to toolchain format.
18918to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18919
18920# An object symbol dumper.
18921OBJDUMP=$lt_OBJDUMP
18922
18923# Method to check whether dependent libraries are shared objects.
18924deplibs_check_method=$lt_deplibs_check_method
18925
18926# Command to use when deplibs_check_method = "file_magic".
18927file_magic_cmd=$lt_file_magic_cmd
18928
18929# How to find potential files when deplibs_check_method = "file_magic".
18930file_magic_glob=$lt_file_magic_glob
18931
18932# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18933want_nocaseglob=$lt_want_nocaseglob
18934
18935# DLL creation program.
18936DLLTOOL=$lt_DLLTOOL
18937
18938# Command to associate shared and link libraries.
18939sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18940
18941# The archiver.
18942AR=$lt_AR
18943
18944# Flags to create an archive.
18945AR_FLAGS=$lt_AR_FLAGS
18946
18947# How to feed a file listing to the archiver.
18948archiver_list_spec=$lt_archiver_list_spec
18949
18950# A symbol stripping program.
18951STRIP=$lt_STRIP
18952
18953# Commands used to install an old-style archive.
18954RANLIB=$lt_RANLIB
18955old_postinstall_cmds=$lt_old_postinstall_cmds
18956old_postuninstall_cmds=$lt_old_postuninstall_cmds
18957
18958# Whether to use a lock for old archive extraction.
18959lock_old_archive_extraction=$lock_old_archive_extraction
18960
18961# A C compiler.
18962LTCC=$lt_CC
18963
18964# LTCC compiler flags.
18965LTCFLAGS=$lt_CFLAGS
18966
18967# Take the output of nm and produce a listing of raw symbols and C names.
18968global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18969
18970# Transform the output of nm in a proper C declaration.
18971global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18972
18973# Transform the output of nm into a list of symbols to manually relocate.
18974global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18975
18976# Transform the output of nm in a C name address pair.
18977global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18978
18979# Transform the output of nm in a C name address pair when lib prefix is needed.
18980global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18981
18982# The name lister interface.
18983nm_interface=$lt_lt_cv_nm_interface
18984
18985# Specify filename containing input files for \$NM.
18986nm_file_list_spec=$lt_nm_file_list_spec
18987
18988# The root where to search for dependent libraries,and where our libraries should be installed.
18989lt_sysroot=$lt_sysroot
18990
18991# Command to truncate a binary pipe.
18992lt_truncate_bin=$lt_lt_cv_truncate_bin
18993
18994# The name of the directory that contains temporary libtool files.
18995objdir=$objdir
18996
18997# Used to examine libraries when file_magic_cmd begins with "file".
18998MAGIC_CMD=$MAGIC_CMD
18999
19000# Must we lock files when doing compilation?
19001need_locks=$lt_need_locks
19002
19003# Manifest tool.
19004MANIFEST_TOOL=$lt_MANIFEST_TOOL
19005
19006# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19007DSYMUTIL=$lt_DSYMUTIL
19008
19009# Tool to change global to local symbols on Mac OS X.
19010NMEDIT=$lt_NMEDIT
19011
19012# Tool to manipulate fat objects and archives on Mac OS X.
19013LIPO=$lt_LIPO
19014
19015# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19016OTOOL=$lt_OTOOL
19017
19018# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19019OTOOL64=$lt_OTOOL64
19020
19021# Old archive suffix (normally "a").
19022libext=$libext
19023
19024# Shared library suffix (normally ".so").
19025shrext_cmds=$lt_shrext_cmds
19026
19027# The commands to extract the exported symbol list from a shared archive.
19028extract_expsyms_cmds=$lt_extract_expsyms_cmds
19029
19030# Variables whose values should be saved in libtool wrapper scripts and
19031# restored at link time.
19032variables_saved_for_relink=$lt_variables_saved_for_relink
19033
19034# Do we need the "lib" prefix for modules?
19035need_lib_prefix=$need_lib_prefix
19036
19037# Do we need a version for libraries?
19038need_version=$need_version
19039
19040# Library versioning type.
19041version_type=$version_type
19042
19043# Shared library runtime path variable.
19044runpath_var=$runpath_var
19045
19046# Shared library path variable.
19047shlibpath_var=$shlibpath_var
19048
19049# Is shlibpath searched before the hard-coded library search path?
19050shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19051
19052# Format of library name prefix.
19053libname_spec=$lt_libname_spec
19054
19055# List of archive names.  First name is the real one, the rest are links.
19056# The last name is the one that the linker finds with -lNAME
19057library_names_spec=$lt_library_names_spec
19058
19059# The coded name of the library, if different from the real name.
19060soname_spec=$lt_soname_spec
19061
19062# Permission mode override for installation of shared libraries.
19063install_override_mode=$lt_install_override_mode
19064
19065# Command to use after installation of a shared archive.
19066postinstall_cmds=$lt_postinstall_cmds
19067
19068# Command to use after uninstallation of a shared archive.
19069postuninstall_cmds=$lt_postuninstall_cmds
19070
19071# Commands used to finish a libtool library installation in a directory.
19072finish_cmds=$lt_finish_cmds
19073
19074# As "finish_cmds", except a single script fragment to be evaled but
19075# not shown.
19076finish_eval=$lt_finish_eval
19077
19078# Whether we should hardcode library paths into libraries.
19079hardcode_into_libs=$hardcode_into_libs
19080
19081# Compile-time system search path for libraries.
19082sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19083
19084# Detected run-time system search path for libraries.
19085sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19086
19087# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19088configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19089
19090# Whether dlopen is supported.
19091dlopen_support=$enable_dlopen
19092
19093# Whether dlopen of programs is supported.
19094dlopen_self=$enable_dlopen_self
19095
19096# Whether dlopen of statically linked programs is supported.
19097dlopen_self_static=$enable_dlopen_self_static
19098
19099# Commands to strip libraries.
19100old_striplib=$lt_old_striplib
19101striplib=$lt_striplib
19102
19103
19104# The linker used to build libraries.
19105LD=$lt_LD
19106
19107# How to create reloadable object files.
19108reload_flag=$lt_reload_flag
19109reload_cmds=$lt_reload_cmds
19110
19111# Commands used to build an old-style archive.
19112old_archive_cmds=$lt_old_archive_cmds
19113
19114# A language specific compiler.
19115CC=$lt_compiler
19116
19117# Is the compiler the GNU compiler?
19118with_gcc=$GCC
19119
19120# Compiler flag to turn off builtin functions.
19121no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19122
19123# Additional compiler flags for building library objects.
19124pic_flag=$lt_lt_prog_compiler_pic
19125
19126# How to pass a linker flag through the compiler.
19127wl=$lt_lt_prog_compiler_wl
19128
19129# Compiler flag to prevent dynamic linking.
19130link_static_flag=$lt_lt_prog_compiler_static
19131
19132# Does compiler simultaneously support -c and -o options?
19133compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19134
19135# Whether or not to add -lc for building shared libraries.
19136build_libtool_need_lc=$archive_cmds_need_lc
19137
19138# Whether or not to disallow shared libs when runtime libs are static.
19139allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19140
19141# Compiler flag to allow reflexive dlopens.
19142export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19143
19144# Compiler flag to generate shared objects directly from archives.
19145whole_archive_flag_spec=$lt_whole_archive_flag_spec
19146
19147# Whether the compiler copes with passing no objects directly.
19148compiler_needs_object=$lt_compiler_needs_object
19149
19150# Create an old-style archive from a shared archive.
19151old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19152
19153# Create a temporary old-style archive to link instead of a shared archive.
19154old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19155
19156# Commands used to build a shared archive.
19157archive_cmds=$lt_archive_cmds
19158archive_expsym_cmds=$lt_archive_expsym_cmds
19159
19160# Commands used to build a loadable module if different from building
19161# a shared archive.
19162module_cmds=$lt_module_cmds
19163module_expsym_cmds=$lt_module_expsym_cmds
19164
19165# Whether we are building with GNU ld or not.
19166with_gnu_ld=$lt_with_gnu_ld
19167
19168# Flag that allows shared libraries with undefined symbols to be built.
19169allow_undefined_flag=$lt_allow_undefined_flag
19170
19171# Flag that enforces no undefined symbols.
19172no_undefined_flag=$lt_no_undefined_flag
19173
19174# Flag to hardcode \$libdir into a binary during linking.
19175# This must work even if \$libdir does not exist
19176hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19177
19178# Whether we need a single "-rpath" flag with a separated argument.
19179hardcode_libdir_separator=$lt_hardcode_libdir_separator
19180
19181# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19182# DIR into the resulting binary.
19183hardcode_direct=$hardcode_direct
19184
19185# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19186# DIR into the resulting binary and the resulting library dependency is
19187# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19188# library is relocated.
19189hardcode_direct_absolute=$hardcode_direct_absolute
19190
19191# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19192# into the resulting binary.
19193hardcode_minus_L=$hardcode_minus_L
19194
19195# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19196# into the resulting binary.
19197hardcode_shlibpath_var=$hardcode_shlibpath_var
19198
19199# Set to "yes" if building a shared library automatically hardcodes DIR
19200# into the library and all subsequent libraries and executables linked
19201# against it.
19202hardcode_automatic=$hardcode_automatic
19203
19204# Set to yes if linker adds runtime paths of dependent libraries
19205# to runtime path list.
19206inherit_rpath=$inherit_rpath
19207
19208# Whether libtool must link a program against all its dependency libraries.
19209link_all_deplibs=$link_all_deplibs
19210
19211# Set to "yes" if exported symbols are required.
19212always_export_symbols=$always_export_symbols
19213
19214# The commands to list exported symbols.
19215export_symbols_cmds=$lt_export_symbols_cmds
19216
19217# Symbols that should not be listed in the preloaded symbols.
19218exclude_expsyms=$lt_exclude_expsyms
19219
19220# Symbols that must always be exported.
19221include_expsyms=$lt_include_expsyms
19222
19223# Commands necessary for linking programs (against libraries) with templates.
19224prelink_cmds=$lt_prelink_cmds
19225
19226# Commands necessary for finishing linking programs.
19227postlink_cmds=$lt_postlink_cmds
19228
19229# Specify filename containing input files.
19230file_list_spec=$lt_file_list_spec
19231
19232# How to hardcode a shared library path into an executable.
19233hardcode_action=$hardcode_action
19234
19235# ### END LIBTOOL CONFIG
19236
19237_LT_EOF
19238
19239    cat <<'_LT_EOF' >> "$cfgfile"
19240
19241# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19242
19243# func_munge_path_list VARIABLE PATH
19244# -----------------------------------
19245# VARIABLE is name of variable containing _space_ separated list of
19246# directories to be munged by the contents of PATH, which is string
19247# having a format:
19248# "DIR[:DIR]:"
19249#       string "DIR[ DIR]" will be prepended to VARIABLE
19250# ":DIR[:DIR]"
19251#       string "DIR[ DIR]" will be appended to VARIABLE
19252# "DIRP[:DIRP]::[DIRA:]DIRA"
19253#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19254#       "DIRA[ DIRA]" will be appended to VARIABLE
19255# "DIR[:DIR]"
19256#       VARIABLE will be replaced by "DIR[ DIR]"
19257func_munge_path_list ()
19258{
19259    case x$2 in
19260    x)
19261        ;;
19262    *:)
19263        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19264        ;;
19265    x:*)
19266        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19267        ;;
19268    *::*)
19269        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19270        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19271        ;;
19272    *)
19273        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19274        ;;
19275    esac
19276}
19277
19278
19279# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19280func_cc_basename ()
19281{
19282    for cc_temp in $*""; do
19283      case $cc_temp in
19284        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19285        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19286        \-*) ;;
19287        *) break;;
19288      esac
19289    done
19290    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19291}
19292
19293
19294# ### END FUNCTIONS SHARED WITH CONFIGURE
19295
19296_LT_EOF
19297
19298  case $host_os in
19299  aix3*)
19300    cat <<\_LT_EOF >> "$cfgfile"
19301# AIX sometimes has problems with the GCC collect2 program.  For some
19302# reason, if we set the COLLECT_NAMES environment variable, the problems
19303# vanish in a puff of smoke.
19304if test set != "${COLLECT_NAMES+set}"; then
19305  COLLECT_NAMES=
19306  export COLLECT_NAMES
19307fi
19308_LT_EOF
19309    ;;
19310  esac
19311
19312
19313ltmain=$ac_aux_dir/ltmain.sh
19314
19315
19316  # We use sed instead of cat because bash on DJGPP gets confused if
19317  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19318  # text mode, it properly converts lines to CR/LF.  This bash problem
19319  # is reportedly fixed, but why not run on old versions too?
19320  sed '$q' "$ltmain" >> "$cfgfile" \
19321     || (rm -f "$cfgfile"; exit 1)
19322
19323   mv -f "$cfgfile" "$ofile" ||
19324    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19325  chmod +x "$ofile"
19326
19327 ;;
19328
19329  esac
19330done # for ac_tag
19331
19332
19333as_fn_exit 0
19334_ACEOF
19335ac_clean_files=$ac_clean_files_save
19336
19337test $ac_write_fail = 0 ||
19338  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19339
19340
19341# configure is writing to config.log, and then calls config.status.
19342# config.status does its own redirection, appending to config.log.
19343# Unfortunately, on DOS this fails, as config.log is still kept open
19344# by configure, so config.status won't be able to write to it; its
19345# output is simply discarded.  So we exec the FD to /dev/null,
19346# effectively closing config.log, so it can be properly (re)opened and
19347# appended to by config.status.  When coming back to configure, we
19348# need to make the FD available again.
19349if test "$no_create" != yes; then
19350  ac_cs_success=:
19351  ac_config_status_args=
19352  test "$silent" = yes &&
19353    ac_config_status_args="$ac_config_status_args --quiet"
19354  exec 5>/dev/null
19355  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19356  exec 5>>config.log
19357  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19358  # would make configure fail if this is the last instruction.
19359  $ac_cs_success || as_fn_exit 1
19360fi
19361if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19362  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19363$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19364fi
19365
19366
19367echo "---"
19368echo "Configuration summary for mod_gnutls:"
19369echo ""
19370echo "   * mod_gnutls version:	${MOD_GNUTLS_VERSION}"
19371echo "   * Apache Modules directory:	${AP_LIBEXECDIR}"
19372echo "   * GnuTLS Library version:	${LIBGNUTLS_VERSION}"
19373echo "   * CFLAGS for GnuTLS:		${LIBGNUTLS_CFLAGS}"
19374echo "   * LDFLAGS for GnuTLS:	${LIBGNUTLS_LIBS}"
19375echo "   * SRP Authentication:	${use_srp}"
19376echo "   * MSVA Client Verification:	${use_msva}"
19377echo "   * Build documentation:	${build_doc}"
19378echo ""
19379echo "---"
19380