* new version 2.11.8
[alpine.git] / autom4te.cache / output.2
blobc2b22ed52590bb1c0cadb0015e5bbe2e3dab5fa0
1 @%:@! /bin/sh
2 @%:@ From configure.ac Rev:5 by chappa@washington.edu.
3 @%:@ Guess values for system-dependent variables and create Makefiles.
4 @%:@ Generated by GNU Autoconf 2.69 for alpine 2.11.8.
5 @%:@
6 @%:@ Report bugs to <chappa@washington.edu>.
7 @%:@ 
8 @%:@ 
9 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 @%:@ 
11 @%:@ 
12 @%:@ This configure script is free software; the Free Software Foundation
13 @%:@ gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21   emulate sh
22   NULLCMD=:
23   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24   # is contrary to our usage.  Disable this feature.
25   alias -g '${1+"$@"}'='"$@"'
26   setopt NO_GLOB_SUBST
27 else
28   case `(set -o) 2>/dev/null` in @%:@(
29   *posix*) :
30     set -o posix ;; @%:@(
31   *) :
32      ;;
33 esac
37 as_nl='
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='print -r --'
49   as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51   as_echo='printf %s\n'
52   as_echo_n='printf %s'
53 else
54   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56     as_echo_n='/usr/ucb/echo -n'
57   else
58     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59     as_echo_n_body='eval
60       arg=$1;
61       case $arg in @%:@(
62       *"$as_nl"*)
63         expr "X$arg" : "X\\(.*\\)$as_nl";
64         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65       esac;
66       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67     '
68     export as_echo_n_body
69     as_echo_n='sh -c $as_echo_n_body as_echo'
70   fi
71   export as_echo_body
72   as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77   PATH_SEPARATOR=:
78   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80       PATH_SEPARATOR=';'
81   }
85 # IFS
86 # We need space, tab and new line, in precisely that order.  Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" ""        $as_nl"
92 # Find who we are.  Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in @%:@((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139   # into an infinite loop, continuously re-executing ourselves.
140   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141     _as_can_reexec=no; export _as_can_reexec;
142     # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 case $- in @%:@ ((((
150   *v*x* | *x*v* ) as_opts=-vx ;;
151   *v* ) as_opts=-v ;;
152   *x* ) as_opts=-x ;;
153   * ) as_opts= ;;
154 esac
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 as_fn_exit 255
160   fi
161   # We don't want this to propagate to other subprocesses.
162           { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165   emulate sh
166   NULLCMD=:
167   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168   # is contrary to our usage.  Disable this feature.
169   alias -g '\${1+\"\$@\"}'='\"\$@\"'
170   setopt NO_GLOB_SUBST
171 else
172   case \`(set -o) 2>/dev/null\` in @%:@(
173   *posix*) :
174     set -o posix ;; @%:@(
175   *) :
176      ;;
177 esac
180   as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
186 exitcode=0
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192   
193 else
194   exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
197 test -x / || exit 1"
198   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203   if (eval "$as_required") 2>/dev/null; then :
204   as_have_required=yes
205 else
206   as_have_required=no
208   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209   
210 else
211   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 as_found=false
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215   IFS=$as_save_IFS
216   test -z "$as_dir" && as_dir=.
217   as_found=:
218   case $as_dir in @%:@(
219          /*)
220            for as_base in sh bash ksh sh5; do
221              # Try only shells that exist, to save several forks.
222              as_shell=$as_dir/$as_base
223              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
225   CONFIG_SHELL=$as_shell as_have_required=yes
226                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
227   break 2
230            done;;
231        esac
232   as_found=false
233 done
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
236   CONFIG_SHELL=$SHELL as_have_required=yes
237 fi; }
238 IFS=$as_save_IFS
241       if test "x$CONFIG_SHELL" != x; then :
242   export CONFIG_SHELL
243              # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 case $- in @%:@ ((((
251   *v*x* | *x*v* ) as_opts=-vx ;;
252   *v* ) as_opts=-v ;;
253   *x* ) as_opts=-x ;;
254   * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
263     if test x$as_have_required = xno; then :
264   $as_echo "$0: This script requires a shell more modern than all"
265   $as_echo "$0: the shells that I found on your system."
266   if test x${ZSH_VERSION+set} = xset ; then
267     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269   else
270     $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: chappa@washington.edu about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
275   fi
276   exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 @%:@ as_fn_unset VAR
290 @%:@ ---------------
291 @%:@ Portably unset VAR.
292 as_fn_unset ()
294   { eval $1=; unset $1;}
296 as_unset=as_fn_unset
298 @%:@ as_fn_set_status STATUS
299 @%:@ -----------------------
300 @%:@ Set @S|@? to STATUS, without forking.
301 as_fn_set_status ()
303   return $1
304 } @%:@ as_fn_set_status
306 @%:@ as_fn_exit STATUS
307 @%:@ -----------------
308 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
311   set +e
312   as_fn_set_status $1
313   exit $1
314 } @%:@ as_fn_exit
316 @%:@ as_fn_mkdir_p
317 @%:@ -------------
318 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
319 as_fn_mkdir_p ()
322   case $as_dir in #(
323   -*) as_dir=./$as_dir;;
324   esac
325   test -d "$as_dir" || eval $as_mkdir_p || {
326     as_dirs=
327     while :; do
328       case $as_dir in #(
329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330       *) as_qdir=$as_dir;;
331       esac
332       as_dirs="'$as_qdir' $as_dirs"
333       as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335          X"$as_dir" : 'X\(//\)[^/]' \| \
336          X"$as_dir" : 'X\(//\)$' \| \
337          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340             s//\1/
341             q
342           }
343           /^X\(\/\/\)[^/].*/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\).*/{
352             s//\1/
353             q
354           }
355           s/.*/./; q'`
356       test -d "$as_dir" && break
357     done
358     test -z "$as_dirs" || eval "mkdir $as_dirs"
359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362 } @%:@ as_fn_mkdir_p
364 @%:@ as_fn_executable_p FILE
365 @%:@ -----------------------
366 @%:@ Test if FILE is an executable regular file.
367 as_fn_executable_p ()
369   test -f "$1" && test -x "$1"
370 } @%:@ as_fn_executable_p
371 @%:@ as_fn_append VAR VALUE
372 @%:@ ----------------------
373 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
374 @%:@ advantage of any shell optimizations that allow amortized linear growth over
375 @%:@ repeated appends, instead of the typical quadratic growth present in naive
376 @%:@ implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378   eval 'as_fn_append ()
379   {
380     eval $1+=\$2
381   }'
382 else
383   as_fn_append ()
384   {
385     eval $1=\$$1\$2
386   }
387 fi # as_fn_append
389 @%:@ as_fn_arith ARG...
390 @%:@ ------------------
391 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
392 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
393 @%:@ must be portable across @S|@(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395   eval 'as_fn_arith ()
396   {
397     as_val=$(( $* ))
398   }'
399 else
400   as_fn_arith ()
401   {
402     as_val=`expr "$@" || test $? -eq 1`
403   }
404 fi # as_fn_arith
407 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
408 @%:@ ----------------------------------------
409 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 @%:@ script with STATUS, using 1 if that was 0.
412 as_fn_error ()
414   as_status=$1; test $as_status -eq 0 && as_status=1
415   if test "$4"; then
416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418   fi
419   $as_echo "$as_me: error: $2" >&2
420   as_fn_exit $as_status
421 } @%:@ as_fn_error
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
425   as_expr=expr
426 else
427   as_expr=false
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431   as_basename=basename
432 else
433   as_basename=false
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437   as_dirname=dirname
438 else
439   as_dirname=false
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444          X"$0" : 'X\(//\)$' \| \
445          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 $as_echo X/"$0" |
447     sed '/^.*\/\([^/][^/]*\)\/*$/{
448             s//\1/
449             q
450           }
451           /^X\/\(\/\/\)$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\).*/{
456             s//\1/
457             q
458           }
459           s/.*/./; q'`
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
474   sed -n '
475     p
476     /[$]LINENO/=
477   ' <$as_myself |
478     sed '
479       s/[$]LINENO.*/&-/
480       t lineno
481       b
482       :lineno
483       N
484       :loop
485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486       t loop
487       s/-\n.*//
488     ' >$as_me.lineno &&
489   chmod +x "$as_me.lineno" ||
490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493   # already done that, so ensure we don't try to do so again and fall
494   # in an infinite loop.  This has already happened in practice.
495   _as_can_reexec=no; export _as_can_reexec
496   # Don't try to exec as it changes $[0], causing all sort of problems
497   # (the dirname of $[0] is not the place where we might find the
498   # original and so on.  Autoconf is especially sensitive to this).
499   . "./$as_me.lineno"
500   # Exit status is that of the last command.
501   exit
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in @%:@(((((
506 -n*)
507   case `echo 'xy\c'` in
508   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
509   xy)  ECHO_C='\c';;
510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
511        ECHO_T=' ';;
512   esac;;
514   ECHO_N='-n';;
515 esac
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519   rm -f conf$$.dir/conf$$.file
520 else
521   rm -f conf$$.dir
522   mkdir conf$$.dir 2>/dev/null
524 if (echo >conf$$.file) 2>/dev/null; then
525   if ln -s conf$$.file conf$$ 2>/dev/null; then
526     as_ln_s='ln -s'
527     # ... but there are two gotchas:
528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530     # In both cases, we have to default to `cp -pR'.
531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532       as_ln_s='cp -pR'
533   elif ln conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s=ln
535   else
536     as_ln_s='cp -pR'
537   fi
538 else
539   as_ln_s='cp -pR'
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
544 if mkdir -p . 2>/dev/null; then
545   as_mkdir_p='mkdir -p "$as_dir"'
546 else
547   test -d ./-p && rmdir ./-p
548   as_mkdir_p=false
551 as_test_x='test -x'
552 as_executable_p=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
562 # Check that we are running under the correct shell.
563 SHELL=${CONFIG_SHELL-/bin/sh}
565 case X$lt_ECHO in
566 X*--fallback-echo)
567   # Remove one level of quotation (which was required for Make).
568   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
569   ;;
570 esac
572 ECHO=${lt_ECHO-echo}
573 if test "X$1" = X--no-reexec; then
574   # Discard the --no-reexec flag, and continue.
575   shift
576 elif test "X$1" = X--fallback-echo; then
577   # Avoid inline document here, it may be left over
578   :
579 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
580   # Yippee, $ECHO works!
581   :
582 else
583   # Restart under the correct shell.
584   exec $SHELL "$0" --no-reexec ${1+"$@"}
587 if test "X$1" = X--fallback-echo; then
588   # used as fallback echo
589   shift
590   cat <<_LT_EOF
592 _LT_EOF
593   exit 0
596 # The HP-UX ksh and POSIX shell print the target directory to stdout
597 # if CDPATH is set.
598 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
600 if test -z "$lt_ECHO"; then
601   if test "X${echo_test_string+set}" != Xset; then
602     # find a string as large as possible, as long as the shell can cope with it
603     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
604       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
605       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
606          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
607       then
608         break
609       fi
610     done
611   fi
613   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
614      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
615      test "X$echo_testing_string" = "X$echo_test_string"; then
616     :
617   else
618     # The Solaris, AIX, and Digital Unix default echo programs unquote
619     # backslashes.  This makes it impossible to quote backslashes using
620     #   echo "$something" | sed 's/\\/\\\\/g'
621     #
622     # So, first we look for a working echo in the user's PATH.
624     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
625     for dir in $PATH /usr/ucb; do
626       IFS="$lt_save_ifs"
627       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
628          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
629          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
630          test "X$echo_testing_string" = "X$echo_test_string"; then
631         ECHO="$dir/echo"
632         break
633       fi
634     done
635     IFS="$lt_save_ifs"
637     if test "X$ECHO" = Xecho; then
638       # We didn't find a better echo, so look for alternatives.
639       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
640          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
641          test "X$echo_testing_string" = "X$echo_test_string"; then
642         # This shell has a builtin print -r that does the trick.
643         ECHO='print -r'
644       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
645            test "X$CONFIG_SHELL" != X/bin/ksh; then
646         # If we have ksh, try running configure again with it.
647         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
648         export ORIGINAL_CONFIG_SHELL
649         CONFIG_SHELL=/bin/ksh
650         export CONFIG_SHELL
651         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
652       else
653         # Try using printf.
654         ECHO='printf %s\n'
655         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
656            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
657            test "X$echo_testing_string" = "X$echo_test_string"; then
658           # Cool, printf works
659           :
660         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661              test "X$echo_testing_string" = 'X\t' &&
662              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663              test "X$echo_testing_string" = "X$echo_test_string"; then
664           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
665           export CONFIG_SHELL
666           SHELL="$CONFIG_SHELL"
667           export SHELL
668           ECHO="$CONFIG_SHELL $0 --fallback-echo"
669         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
670              test "X$echo_testing_string" = 'X\t' &&
671              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
672              test "X$echo_testing_string" = "X$echo_test_string"; then
673           ECHO="$CONFIG_SHELL $0 --fallback-echo"
674         else
675           # maybe with a smaller string...
676           prev=:
678           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
679             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
680             then
681               break
682             fi
683             prev="$cmd"
684           done
686           if test "$prev" != 'sed 50q "$0"'; then
687             echo_test_string=`eval $prev`
688             export echo_test_string
689             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
690           else
691             # Oops.  We lost completely, so just stick with echo.
692             ECHO=echo
693           fi
694         fi
695       fi
696     fi
697   fi
700 # Copy echo and quote the copy suitably for passing to libtool from
701 # the Makefile, instead of quoting the original, which is used later.
702 lt_ECHO=$ECHO
703 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
704    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
710 test -n "$DJDIR" || exec 7<&0 </dev/null
711 exec 6>&1
713 # Name of the host.
714 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
715 # so uname gets run too.
716 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
719 # Initializations.
721 ac_default_prefix=/usr/local
722 ac_clean_files=
723 ac_config_libobj_dir=.
724 LIB@&t@OBJS=
725 cross_compiling=no
726 subdirs=
727 MFLAGS=
728 MAKEFLAGS=
730 # Identity of this package.
731 PACKAGE_NAME='alpine'
732 PACKAGE_TARNAME='alpine'
733 PACKAGE_VERSION='2.11.8'
734 PACKAGE_STRING='alpine 2.11.8'
735 PACKAGE_BUGREPORT='chappa@washington.edu'
736 PACKAGE_URL=''
738 ac_unique_file="include/system.h"
739 # Factoring default headers for most tests.
740 ac_includes_default="\
741 #include <stdio.h>
742 #ifdef HAVE_SYS_TYPES_H
743 # include <sys/types.h>
744 #endif
745 #ifdef HAVE_SYS_STAT_H
746 # include <sys/stat.h>
747 #endif
748 #ifdef STDC_HEADERS
749 # include <stdlib.h>
750 # include <stddef.h>
751 #else
752 # ifdef HAVE_STDLIB_H
753 #  include <stdlib.h>
754 # endif
755 #endif
756 #ifdef HAVE_STRING_H
757 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
758 #  include <memory.h>
759 # endif
760 # include <string.h>
761 #endif
762 #ifdef HAVE_STRINGS_H
763 # include <strings.h>
764 #endif
765 #ifdef HAVE_INTTYPES_H
766 # include <inttypes.h>
767 #endif
768 #ifdef HAVE_STDINT_H
769 # include <stdint.h>
770 #endif
771 #ifdef HAVE_UNISTD_H
772 # include <unistd.h>
773 #endif"
775 gt_needs=
776 ac_subst_vars='am__EXEEXT_FALSE
777 am__EXEEXT_TRUE
778 LTLIBOBJS
779 LIB@&t@OBJS
780 AM_LDFLAGS
781 AM_CFLAGS
782 WEB_PUBCOOKIE_LINK
783 WEB_PUBCOOKIE_LIB
784 WEB_PUBCOOKIE_BUILD
785 WEB_BINDIR
786 WEB_BUILD
787 REGEX_BUILD
788 C_CLIENT_SPECIALS
789 C_CLIENT_GCCOPTLEVEL
790 C_CLIENT_LDFLAGS
791 C_CLIENT_CFLAGS
792 C_CLIENT_WITH_IPV6
793 C_CLIENT_TARGET
794 PTHREAD_CFLAGS
795 PTHREAD_LIBS
796 PTHREAD_CC
797 acx_pthread_config
798 alpine_interactive_spellcheck
799 ISPELLPROG
800 alpine_simple_spellcheck
801 SPELLPROG
802 PWPROG
803 NPA_PROG
804 SENDMAIL
805 POSUB
806 LTLIBINTL
807 LIBINTL
808 INTLLIBS
809 LTLIBICONV
810 LIBICONV
811 INTL_MACOSX_LIBS
812 MSGMERGE
813 XGETTEXT_015
814 XGETTEXT
815 GMSGFMT_015
816 MSGFMT_015
817 GMSGFMT
818 MSGFMT
819 USE_NLS
820 MAKE
824 LIBTOOL_DEPS
826 OTOOL64
827 OTOOL
828 LIPO
829 NMEDIT
830 DSYMUTIL
831 lt_ECHO
833 OBJDUMP
835 ac_ct_DUMPBIN
836 DUMPBIN
838 FGREP
839 EGREP
840 GREP
842 LIBTOOL
843 RANLIB
844 LN_S
845 am__fastdepCC_FALSE
846 am__fastdepCC_TRUE
847 CCDEPMODE
848 AMDEPBACKSLASH
849 AMDEP_FALSE
850 AMDEP_TRUE
851 am__quote
852 am__include
853 DEPDIR
854 OBJEXT
855 EXEEXT
856 ac_ct_CC
857 CPPFLAGS
858 LDFLAGS
859 CFLAGS
861 host_os
862 host_vendor
863 host_cpu
864 host
865 build_os
866 build_vendor
867 build_cpu
868 build
869 MAINT
870 MAINTAINER_MODE_FALSE
871 MAINTAINER_MODE_TRUE
872 am__untar
873 am__tar
874 AMTAR
875 am__leading_dot
876 SET_MAKE
878 mkdir_p
879 MKDIR_P
880 INSTALL_STRIP_PROGRAM
881 STRIP
882 install_sh
883 MAKEINFO
884 AUTOHEADER
885 AUTOMAKE
886 AUTOCONF
887 ACLOCAL
888 VERSION
889 PACKAGE
890 CYGPATH_W
891 am__isrc
892 INSTALL_DATA
893 INSTALL_SCRIPT
894 INSTALL_PROGRAM
895 target_alias
896 host_alias
897 build_alias
898 LIBS
899 ECHO_T
900 ECHO_N
901 ECHO_C
902 DEFS
903 mandir
904 localedir
905 libdir
906 psdir
907 pdfdir
908 dvidir
909 htmldir
910 infodir
911 docdir
912 oldIncludedir
913 Includedir
914 localstatedir
915 sharedstatedir
916 sysconfdir
917 datadir
918 datarootdir
919 libexecdir
920 sbindir
921 bindir
922 program_transform_name
923 prefix
924 exec_prefix
925 PACKAGE_URL
926 PACKAGE_BUGREPORT
927 PACKAGE_STRING
928 PACKAGE_VERSION
929 PACKAGE_TARNAME
930 PACKAGE_NAME
931 PATH_SEPARATOR
932 SHELL'
933 ac_subst_files=''
934 ac_user_opts='
935 enable_option_checking
936 enable_maintainer_mode
937 enable_dependency_tracking
938 enable_shared
939 enable_static
940 with_pic
941 enable_fast_install
942 with_gnu_ld
943 enable_libtool_lock
944 enable_nls
945 enable_rpath
946 with_libiconv_prefix
947 with_libintl_prefix
948 enable_dmalloc
949 with_dmalloc_dir
950 with_localedir
951 enable_osx_universal_binaries
952 with_include_path
953 with_lib_path
954 with_pubcookie
955 with_web_bin
956 enable_debug
957 enable_optimization
958 enable_mouse
959 enable_quotas
960 enable_from_changing
961 enable_background_post
962 enable_keyboard_lock
963 enable_from_encoding
964 with_smtp_msa
965 with_smtp_msa_flags
966 with_npa
967 with_npa_flags
968 with_password_prog
969 with_simple_spellcheck
970 with_interactive_spellcheck
971 with_system_pinerc
972 with_system_fixed_pinerc
973 with_local_support_info
974 with_mailcheck_interval
975 with_checkpoint_interval
976 with_checkpoint_frequency
977 with_display_rows
978 with_display_columns
979 with_max_display_rows
980 with_max_display_columns
981 with_fill_column
982 with_max_fill_column
983 with_debug_level
984 with_debug_files
985 with_debug_file
986 with_forwarded_keyword
987 with_display_overlap
988 with_display_margin
989 with_default_fcc
990 with_default_save_folder
991 with_default_legacy_postponed_folder
992 with_default_postponed_folder
993 with_default_trash_folder
994 with_default_interrupted_mail
995 with_default_dead_letter_folder
996 with_default_mail_directory
997 with_default_inbox_name
998 with_default_signature_file
999 with_default_elm_style_save
1000 with_default_header_in_reply
1001 with_default_old_style_reply
1002 with_default_use_only_domain_name
1003 with_default_save_by_sender
1004 with_default_sort_key
1005 with_default_addressbook_sort_rule
1006 with_default_folder_sort_rule
1007 with_default_saved_message_name_rule
1008 with_default_fcc_rule
1009 with_default_standard_printer
1010 with_default_ansi_printer
1011 with_default_addressbook
1012 with_default_local_fullname
1013 with_default_local_address
1014 with_default_keyboard_lock_count
1015 with_default_remote_addressbook_history
1016 with_smime_public_cert_directory
1017 with_smime_private_key_directory
1018 with_smime_cacert_directory
1019 with_default_printer
1020 with_passfile
1021 with_local_password_cache
1022 with_local_password_cache_method
1023 with_default_sshpath
1024 with_default_sshcmd
1025 with_ssl
1026 with_ssl_dir
1027 with_ssl_certs_dir
1028 with_ssl_include_dir
1029 with_ssl_lib_dir
1030 with_krb5
1031 with_krb5_dir
1032 with_krb5_include_dir
1033 with_krb5_lib_dir
1034 with_ldap
1035 with_ldap_dir
1036 with_ldap_include_dir
1037 with_ldap_lib_dir
1038 with_smime
1039 with_tcl
1040 with_tcl_lib
1041 with_tcl_include
1042 with_supplied_regex
1043 with_pthread
1044 with_system_mail_directory
1045 with_c_client_target
1046 with_ipv6
1048       ac_precious_vars='build_alias
1049 host_alias
1050 target_alias
1052 CFLAGS
1053 LDFLAGS
1054 LIBS
1055 CPPFLAGS
1056 CPP'
1059 # Initialize some variables set by options.
1060 ac_init_help=
1061 ac_init_version=false
1062 ac_unrecognized_opts=
1063 ac_unrecognized_sep=
1064 # The variables have the same names as the options, with
1065 # dashes changed to underlines.
1066 cache_file=/dev/null
1067 exec_prefix=NONE
1068 no_create=
1069 no_recursion=
1070 prefix=NONE
1071 program_prefix=NONE
1072 program_suffix=NONE
1073 program_transform_name=s,x,x,
1074 silent=
1075 site=
1076 srcdir=
1077 verbose=
1078 x_includes=NONE
1079 x_libraries=NONE
1081 # Installation directory options.
1082 # These are left unexpanded so users can "make install exec_prefix=/foo"
1083 # and all the variables that are supposed to be based on exec_prefix
1084 # by default will actually change.
1085 # Use braces instead of parens because sh, perl, etc. also accept them.
1086 # (The list follows the same order as the GNU Coding Standards.)
1087 bindir='${exec_prefix}/bin'
1088 sbindir='${exec_prefix}/sbin'
1089 libexecdir='${exec_prefix}/libexec'
1090 datarootdir='${prefix}/share'
1091 datadir='${datarootdir}'
1092 sysconfdir='${prefix}/etc'
1093 sharedstatedir='${prefix}/com'
1094 localstatedir='${prefix}/var'
1095 Includedir='${prefix}/include'
1096 oldIncludedir='/usr/include'
1097 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1098 infodir='${datarootdir}/info'
1099 htmldir='${docdir}'
1100 dvidir='${docdir}'
1101 pdfdir='${docdir}'
1102 psdir='${docdir}'
1103 libdir='${exec_prefix}/lib'
1104 localedir='${datarootdir}/locale'
1105 mandir='${datarootdir}/man'
1107 ac_prev=
1108 ac_dashdash=
1109 for ac_option
1111   # If the previous option needs an argument, assign it.
1112   if test -n "$ac_prev"; then
1113     eval $ac_prev=\$ac_option
1114     ac_prev=
1115     continue
1116   fi
1118   case $ac_option in
1119   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1120   *=)   ac_optarg= ;;
1121   *)    ac_optarg=yes ;;
1122   esac
1124   # Accept the important Cygnus configure options, so we can diagnose typos.
1126   case $ac_dashdash$ac_option in
1127   --)
1128     ac_dashdash=yes ;;
1130   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1131     ac_prev=bindir ;;
1132   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1133     bindir=$ac_optarg ;;
1135   -build | --build | --buil | --bui | --bu)
1136     ac_prev=build_alias ;;
1137   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1138     build_alias=$ac_optarg ;;
1140   -cache-file | --cache-file | --cache-fil | --cache-fi \
1141   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1142     ac_prev=cache_file ;;
1143   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1144   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1145     cache_file=$ac_optarg ;;
1147   --config-cache | -C)
1148     cache_file=config.cache ;;
1150   -datadir | --datadir | --datadi | --datad)
1151     ac_prev=datadir ;;
1152   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1153     datadir=$ac_optarg ;;
1155   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1156   | --dataroo | --dataro | --datar)
1157     ac_prev=datarootdir ;;
1158   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1159   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1160     datarootdir=$ac_optarg ;;
1162   -disable-* | --disable-*)
1163     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1164     # Reject names that are not valid shell variable names.
1165     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1166       as_fn_error $? "invalid feature name: $ac_useropt"
1167     ac_useropt_orig=$ac_useropt
1168     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169     case $ac_user_opts in
1170       *"
1171 "enable_$ac_useropt"
1172 "*) ;;
1173       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1174          ac_unrecognized_sep=', ';;
1175     esac
1176     eval enable_$ac_useropt=no ;;
1178   -docdir | --docdir | --docdi | --doc | --do)
1179     ac_prev=docdir ;;
1180   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1181     docdir=$ac_optarg ;;
1183   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1184     ac_prev=dvidir ;;
1185   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1186     dvidir=$ac_optarg ;;
1188   -enable-* | --enable-*)
1189     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1190     # Reject names that are not valid shell variable names.
1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1192       as_fn_error $? "invalid feature name: $ac_useropt"
1193     ac_useropt_orig=$ac_useropt
1194     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195     case $ac_user_opts in
1196       *"
1197 "enable_$ac_useropt"
1198 "*) ;;
1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1200          ac_unrecognized_sep=', ';;
1201     esac
1202     eval enable_$ac_useropt=\$ac_optarg ;;
1204   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1205   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1206   | --exec | --exe | --ex)
1207     ac_prev=exec_prefix ;;
1208   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1209   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1210   | --exec=* | --exe=* | --ex=*)
1211     exec_prefix=$ac_optarg ;;
1213   -gas | --gas | --ga | --g)
1214     # Obsolete; use --with-gas.
1215     with_gas=yes ;;
1217   -help | --help | --hel | --he | -h)
1218     ac_init_help=long ;;
1219   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1220     ac_init_help=recursive ;;
1221   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1222     ac_init_help=short ;;
1224   -host | --host | --hos | --ho)
1225     ac_prev=host_alias ;;
1226   -host=* | --host=* | --hos=* | --ho=*)
1227     host_alias=$ac_optarg ;;
1229   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1230     ac_prev=htmldir ;;
1231   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1232   | --ht=*)
1233     htmldir=$ac_optarg ;;
1235   -Includedir | --includedir | --includedi | --included | --include \
1236   | --includ | --inclu | --incl | --inc)
1237     ac_prev=Includedir ;;
1238   -Includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1239   | --includ=* | --inclu=* | --incl=* | --inc=*)
1240     Includedir=$ac_optarg ;;
1242   -infodir | --infodir | --infodi | --infod | --info | --inf)
1243     ac_prev=infodir ;;
1244   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1245     infodir=$ac_optarg ;;
1247   -libdir | --libdir | --libdi | --libd)
1248     ac_prev=libdir ;;
1249   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1250     libdir=$ac_optarg ;;
1252   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1253   | --libexe | --libex | --libe)
1254     ac_prev=libexecdir ;;
1255   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1256   | --libexe=* | --libex=* | --libe=*)
1257     libexecdir=$ac_optarg ;;
1259   -localedir | --localedir | --localedi | --localed | --locale)
1260     ac_prev=localedir ;;
1261   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1262     localedir=$ac_optarg ;;
1264   -localstatedir | --localstatedir | --localstatedi | --localstated \
1265   | --localstate | --localstat | --localsta | --localst | --locals)
1266     ac_prev=localstatedir ;;
1267   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1268   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1269     localstatedir=$ac_optarg ;;
1271   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1272     ac_prev=mandir ;;
1273   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1274     mandir=$ac_optarg ;;
1276   -nfp | --nfp | --nf)
1277     # Obsolete; use --without-fp.
1278     with_fp=no ;;
1280   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1281   | --no-cr | --no-c | -n)
1282     no_create=yes ;;
1284   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1285   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1286     no_recursion=yes ;;
1288   -oldIncludedir | --oldincludedir | --oldincludedi | --oldincluded \
1289   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1290   | --oldin | --oldi | --old | --ol | --o)
1291     ac_prev=oldIncludedir ;;
1292   -oldIncludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1293   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1294   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1295     oldIncludedir=$ac_optarg ;;
1297   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1298     ac_prev=prefix ;;
1299   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1300     prefix=$ac_optarg ;;
1302   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1303   | --program-pre | --program-pr | --program-p)
1304     ac_prev=program_prefix ;;
1305   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1306   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1307     program_prefix=$ac_optarg ;;
1309   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1310   | --program-suf | --program-su | --program-s)
1311     ac_prev=program_suffix ;;
1312   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1313   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1314     program_suffix=$ac_optarg ;;
1316   -program-transform-name | --program-transform-name \
1317   | --program-transform-nam | --program-transform-na \
1318   | --program-transform-n | --program-transform- \
1319   | --program-transform | --program-transfor \
1320   | --program-transfo | --program-transf \
1321   | --program-trans | --program-tran \
1322   | --progr-tra | --program-tr | --program-t)
1323     ac_prev=program_transform_name ;;
1324   -program-transform-name=* | --program-transform-name=* \
1325   | --program-transform-nam=* | --program-transform-na=* \
1326   | --program-transform-n=* | --program-transform-=* \
1327   | --program-transform=* | --program-transfor=* \
1328   | --program-transfo=* | --program-transf=* \
1329   | --program-trans=* | --program-tran=* \
1330   | --progr-tra=* | --program-tr=* | --program-t=*)
1331     program_transform_name=$ac_optarg ;;
1333   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1334     ac_prev=pdfdir ;;
1335   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1336     pdfdir=$ac_optarg ;;
1338   -psdir | --psdir | --psdi | --psd | --ps)
1339     ac_prev=psdir ;;
1340   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1341     psdir=$ac_optarg ;;
1343   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1344   | -silent | --silent | --silen | --sile | --sil)
1345     silent=yes ;;
1347   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1348     ac_prev=sbindir ;;
1349   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1350   | --sbi=* | --sb=*)
1351     sbindir=$ac_optarg ;;
1353   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1354   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1355   | --sharedst | --shareds | --shared | --share | --shar \
1356   | --sha | --sh)
1357     ac_prev=sharedstatedir ;;
1358   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1359   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1360   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1361   | --sha=* | --sh=*)
1362     sharedstatedir=$ac_optarg ;;
1364   -site | --site | --sit)
1365     ac_prev=site ;;
1366   -site=* | --site=* | --sit=*)
1367     site=$ac_optarg ;;
1369   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1370     ac_prev=srcdir ;;
1371   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1372     srcdir=$ac_optarg ;;
1374   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1375   | --syscon | --sysco | --sysc | --sys | --sy)
1376     ac_prev=sysconfdir ;;
1377   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1378   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1379     sysconfdir=$ac_optarg ;;
1381   -target | --target | --targe | --targ | --tar | --ta | --t)
1382     ac_prev=target_alias ;;
1383   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1384     target_alias=$ac_optarg ;;
1386   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1387     verbose=yes ;;
1389   -version | --version | --versio | --versi | --vers | -V)
1390     ac_init_version=: ;;
1392   -with-* | --with-*)
1393     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1394     # Reject names that are not valid shell variable names.
1395     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1396       as_fn_error $? "invalid package name: $ac_useropt"
1397     ac_useropt_orig=$ac_useropt
1398     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1399     case $ac_user_opts in
1400       *"
1401 "with_$ac_useropt"
1402 "*) ;;
1403       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1404          ac_unrecognized_sep=', ';;
1405     esac
1406     eval with_$ac_useropt=\$ac_optarg ;;
1408   -without-* | --without-*)
1409     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410     # Reject names that are not valid shell variable names.
1411     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1412       as_fn_error $? "invalid package name: $ac_useropt"
1413     ac_useropt_orig=$ac_useropt
1414     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1415     case $ac_user_opts in
1416       *"
1417 "with_$ac_useropt"
1418 "*) ;;
1419       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1420          ac_unrecognized_sep=', ';;
1421     esac
1422     eval with_$ac_useropt=no ;;
1424   --x)
1425     # Obsolete; use --with-x.
1426     with_x=yes ;;
1428   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1429   | --x-incl | --x-inc | --x-in | --x-i)
1430     ac_prev=x_includes ;;
1431   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1432   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1433     x_includes=$ac_optarg ;;
1435   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1436   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1437     ac_prev=x_libraries ;;
1438   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1439   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1440     x_libraries=$ac_optarg ;;
1442   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1443 Try \`$0 --help' for more information"
1444     ;;
1446   *=*)
1447     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1448     # Reject names that are not valid shell variable names.
1449     case $ac_envvar in #(
1450       '' | [0-9]* | *[!_$as_cr_alnum]* )
1451       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1452     esac
1453     eval $ac_envvar=\$ac_optarg
1454     export $ac_envvar ;;
1456   *)
1457     # FIXME: should be removed in autoconf 3.0.
1458     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1459     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1460       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1461     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1462     ;;
1464   esac
1465 done
1467 if test -n "$ac_prev"; then
1468   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1469   as_fn_error $? "missing argument to $ac_option"
1472 if test -n "$ac_unrecognized_opts"; then
1473   case $enable_option_checking in
1474     no) ;;
1475     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1476     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1477   esac
1480 # Check all directory arguments for consistency.
1481 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1482                 datadir sysconfdir sharedstatedir localstatedir Includedir \
1483                 oldIncludedir docdir infodir htmldir dvidir pdfdir psdir \
1484                 libdir localedir mandir
1486   eval ac_val=\$$ac_var
1487   # Remove trailing slashes.
1488   case $ac_val in
1489     */ )
1490       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1491       eval $ac_var=\$ac_val;;
1492   esac
1493   # Be sure to have absolute directory names.
1494   case $ac_val in
1495     [\\/$]* | ?:[\\/]* )  continue;;
1496     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1497   esac
1498   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1499 done
1501 # There might be people who depend on the old broken behavior: `$host'
1502 # used to hold the argument of --host etc.
1503 # FIXME: To remove some day.
1504 build=$build_alias
1505 host=$host_alias
1506 target=$target_alias
1508 # FIXME: To remove some day.
1509 if test "x$host_alias" != x; then
1510   if test "x$build_alias" = x; then
1511     cross_compiling=maybe
1512   elif test "x$build_alias" != "x$host_alias"; then
1513     cross_compiling=yes
1514   fi
1517 ac_tool_prefix=
1518 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1520 test "$silent" = yes && exec 6>/dev/null
1523 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1524 ac_ls_di=`ls -di .` &&
1525 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1526   as_fn_error $? "working directory cannot be determined"
1527 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1528   as_fn_error $? "pwd does not report name of working directory"
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533   ac_srcdir_defaulted=yes
1534   # Try the directory containing this script, then the parent directory.
1535   ac_confdir=`$as_dirname -- "$as_myself" ||
1536 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537          X"$as_myself" : 'X\(//\)[^/]' \| \
1538          X"$as_myself" : 'X\(//\)$' \| \
1539          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1540 $as_echo X"$as_myself" |
1541     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542             s//\1/
1543             q
1544           }
1545           /^X\(\/\/\)[^/].*/{
1546             s//\1/
1547             q
1548           }
1549           /^X\(\/\/\)$/{
1550             s//\1/
1551             q
1552           }
1553           /^X\(\/\).*/{
1554             s//\1/
1555             q
1556           }
1557           s/.*/./; q'`
1558   srcdir=$ac_confdir
1559   if test ! -r "$srcdir/$ac_unique_file"; then
1560     srcdir=..
1561   fi
1562 else
1563   ac_srcdir_defaulted=no
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1569 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1570 ac_abs_confdir=`(
1571         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1572         pwd)`
1573 # When building in place, set srcdir=.
1574 if test "$ac_abs_confdir" = "$ac_pwd"; then
1575   srcdir=.
1577 # Remove unnecessary trailing slashes from srcdir.
1578 # Double slashes in file names in object file debugging info
1579 # mess up M-x gdb in Emacs.
1580 case $srcdir in
1581 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1582 esac
1583 for ac_var in $ac_precious_vars; do
1584   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1585   eval ac_env_${ac_var}_value=\$${ac_var}
1586   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1587   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1588 done
1591 # Report the --help message.
1593 if test "$ac_init_help" = "long"; then
1594   # Omit some internal or obsolete options to make the list less imposing.
1595   # This message is too long to be a string in the A/UX 3.1 sh.
1596   cat <<_ACEOF
1597 \`configure' configures alpine 2.11.8 to adapt to many kinds of systems.
1599 Usage: $0 [OPTION]... [VAR=VALUE]...
1601 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1602 VAR=VALUE.  See below for descriptions of some of the useful variables.
1604 Defaults for the options are specified in brackets.
1606 Configuration:
1607   -h, --help              display this help and exit
1608       --help=short        display options specific to this package
1609       --help=recursive    display the short help of all the Included packages
1610   -V, --version           display version information and exit
1611   -q, --quiet, --silent   do not print \`checking ...' messages
1612       --cache-file=FILE   cache test results in FILE [disabled]
1613   -C, --config-cache      alias for \`--cache-file=config.cache'
1614   -n, --no-create         do not create output files
1615       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1617 Installation directories:
1618   --prefix=PREFIX         install architecture-independent files in PREFIX
1619                           @<:@@S|@ac_default_prefix@:>@
1620   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1621                           @<:@PREFIX@:>@
1623 By default, \`make install' will install all the files in
1624 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1625 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1626 for instance \`--prefix=\$HOME'.
1628 For better control, use the options below.
1630 Fine tuning of the installation directories:
1631   --bindir=DIR            user executables [EPREFIX/bin]
1632   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1633   --libexecdir=DIR        program executables [EPREFIX/libexec]
1634   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1635   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1636   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1637   --libdir=DIR            object code libraries [EPREFIX/lib]
1638   --Includedir=DIR        C header files [PREFIX/include]
1639   --oldIncludedir=DIR     C header files for non-gcc [/usr/include]
1640   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1641   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1642   --infodir=DIR           info documentation [DATAROOTDIR/info]
1643   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1644   --mandir=DIR            man documentation [DATAROOTDIR/man]
1645   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/alpine@:>@
1646   --htmldir=DIR           html documentation [DOCDIR]
1647   --dvidir=DIR            dvi documentation [DOCDIR]
1648   --pdfdir=DIR            pdf documentation [DOCDIR]
1649   --psdir=DIR             ps documentation [DOCDIR]
1650 _ACEOF
1652   cat <<\_ACEOF
1654 Program names:
1655   --program-prefix=PREFIX            prepend PREFIX to installed program names
1656   --program-suffix=SUFFIX            append SUFFIX to installed program names
1657   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1659 System types:
1660   --build=BUILD     configure for building on BUILD [guessed]
1661   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1662 _ACEOF
1665 if test -n "$ac_init_help"; then
1666   case $ac_init_help in
1667      short | recursive ) echo "Configuration of alpine 2.11.8:";;
1668    esac
1669   cat <<\_ACEOF
1671 Optional Features:
1672   --disable-option-checking  ignore unrecognized --enable/--with options
1673   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1674   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1675   --enable-maintainer-mode  enable make rules and dependencies not useful
1676                           (and sometimes confusing) to the casual installer
1677   --disable-dependency-tracking  speeds up one-time build
1678   --enable-dependency-tracking   do not reject slow dependency extractors
1679   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1680   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1681   --enable-fast-install@<:@=PKGS@:>@ 
1682                           optimize for fast installation @<:@default=yes@:>@
1683   --disable-libtool-lock  avoid locking (might break parallel builds)
1684   --disable-nls           do not use Native Language Support
1685   --disable-rpath         do not hardcode runtime library paths
1686   --enable-dmalloc        Enable dmalloc debugging
1687   --enable-osx-universal-binaries 
1688                           Produce universal binaries under OS X @<:@@<:@default=no@:>@@:>@
1689   --disable-debug         Exclude debug messages from source
1690   --disable-optimization  Exclude optimizing compiler flags
1691   --disable-mouse         Disable mouse support
1692   --enable-quotas         Enable disk quota checking on startup
1693   --disable-from-changing Disallow users changing From addresss
1694   --disable-background-post 
1695                           Disable background posting
1696   --disable-keyboard-lock Disable keyboard locking
1697   --enable-from-encoding  Enable From encoding in sent messages
1699 Optional Packages:
1700   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1701   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1702   --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1703                           both@:>@
1704   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1705   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1706   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1707   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1708   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1709   --without-libintl-prefix     don't search for libintl in includedir and libdir
1710   --with-dmalloc-dir=DIR  Root of dmalloc lib/include path
1711   --with-localedir=DIR    Name of gettext locale directory
1712   --with-include-path=PATHS 
1713                           Colon-separated list of directories used for include
1714                           file search
1715   --with-lib-path=PATHS   Colon-separated list of directories used for library
1716                           search
1717   --with-pubcookie        Include support for UW-Pubcookie Web Authentication
1718   --with-web-bin=PATH     Directory to hold Web Alpine component binary files
1719   --with-smtp-msa=PATH    Local Mail Submission Agent (sendmail)
1720   --with-smtp-msa-flags=FLAGS 
1721                           MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1722   --with-npa=PATH         Posting agent when no nntp-servers defined (inews)
1723   --with-npa-flags=FLAGS  Flags to allow posting via local agent (-h)
1724   --with-password-prog=PATH 
1725                           Password change program (/bin/passwd)
1726   --with-simple-spellcheck=PROG 
1727                           Spellcheck program reads stdin, emits misspellings
1728                           on stdout
1729   --with-interactive-spellcheck=PROG 
1730                           Interactive, filewise spell checker
1731   --with-system-pinerc=VALUE 
1732                           System pinerc (/usr/local/lib/pine.conf)
1733   --with-system-fixed-pinerc=VALUE 
1734                           System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1735   --with-local-support-info=VALUE 
1736                           Local Support Info File (/usr/local/lib/pine.info)
1737   --with-mailcheck-interval=VALUE 
1738                           Specify default mail-check-interval (150)
1739   --with-checkpoint-interval=VALUE 
1740                           Specify default checkpoint-interval (420)
1741   --with-checkpoint-frequency=VALUE 
1742                           State change count before checkpoint (12)
1743   --with-display-rows=VALUE 
1744                           Initial rows on display (24)
1745   --with-display-columns=VALUE 
1746                           Initial columns on display (80)
1747   --with-max-display-rows=VALUE 
1748                           Maximum display rows (200)
1749   --with-max-display-columns=VALUE 
1750                           Maximum display columns (500)
1751   --with-fill-column=VALUE 
1752                           Default fill column (74)
1753   --with-max_fill-column=VALUE 
1754                           Maximum fill column (80)
1755   --with-debug-level=VALUE 
1756                           Specify default debug verbosity level (2)
1757   --with-debug-files=VALUE 
1758                           Specify number of debug files (4)
1759   --with-debug-file=VALUE Specify debug file name (.pine-debug)
1760   --with-forwarded-keyword=VALUE 
1761                           IMAP (c-client) keyword to store forwarded status
1762                           ("\@S|@Forwarded")
1763   --with-display-overlap=VALUE 
1764                           Lines preserved while paging (2)
1765   --with-display-margin=VALUE 
1766                           Lines visible while scrolling (0)
1767   --with-default-fcc=VALUE 
1768                           Default sent mail folder (sent-mail)
1769   --with-default-save-folder=VALUE 
1770                           Default save folder (saved-messages)
1771   --with-default-legacy-postponed-folder=VALUE 
1772                           Pre Pine 3.90 postponed folder (postponed-mail)
1773   --with-default-postponed-folder=VALUE 
1774                           Default postponed folder (postponed-msgs)
1775   --with-default-trash-folder=VALUE 
1776                           Default Trash folder for Web Alpine (Trash)
1777   --with-default-interrupted-mail=VALUE 
1778                           Default folder for interrupted mail
1779                           (.pine-interrupted-mail)
1780   --with-default-dead-letter-folder=VALUE 
1781                           Default dead letter folder (dead.letter)
1782   --with-default-mail-directory=VALUE 
1783                           Default mail directory (mail)
1784   --with-default-inbox-name=VALUE 
1785                           Default inbox name (INBOX)
1786   --with-default-signature-file=VALUE 
1787                           Default signature file (.signature)
1788   --with-default-elm-style-save=VALUE 
1789                           Default to Elm style save (no)
1790   --with-default-header-in-reply=VALUE 
1791                           Include header in reply (no)
1792   --with-default-old-style-reply=VALUE 
1793                           Default to old style reply (no)
1794   --with-default-use-only-domain-name=VALUE 
1795                           Default to using only the domain name (no)
1796   --with-default-save-by-sender=VALUE 
1797                           Default to save by sender (no)
1798   --with-default-sort-key=VALUE 
1799                           Default sort key (arrival)
1800   --with-default-addressbook-sort-rule=VALUE 
1801                           Default addressbook sort rule
1802                           (fullname-with-lists-last)
1803   --with-default-folder-sort-rule=VALUE 
1804                           Default folder sort rule (alphabetical)
1805   --with-default-saved-message-name-rule=VALUE 
1806                           Default saved message name rule (default-folder)
1807   --with-default-fcc-rule=VALUE 
1808                           Default fcc rule (default-fcc)
1809   --with-default-standard-printer=VALUE 
1810                           Default standard printern (lpr)
1811   --with-default-ansi-printer=VALUE 
1812                           ANSI printer definition (attached-to-ansi)
1813   --with-default-addressbook=VALUE 
1814                           Default addressbook name (.addressbook)
1815   --with-default-local-fullname=VALUE 
1816                           Default local support fullname ("Local Support")
1817   --with-default-local-address=VALUE 
1818                           Default local support address (postmaster)
1819   --with-default-keyboard-lock-count=VALUE 
1820                           Default keyboard lock count (1)
1821   --with-default-remote-addressbook-history=VALUE 
1822                           Default address book history count (3)
1823   --with-smime-public-cert-directory=VALUE 
1824                           Default Public Cert Directory (.alpine-smime/public)
1825   --with-smime-private-key-directory=VALUE 
1826                           Default Private Key Directory
1827                           (.alpine-smime/private)
1828   --with-smime-cacert-directory=VALUE 
1829                           Default Cert Authority Directory (.alpine-smime/ca)
1830   --with-default-printer=VALUE 
1831                           Default printer (ANSI_PRINTER)
1832   --with-passfile=FILENAME 
1833                           Password cache file (NOT secure, NOT recommended)
1834   --without-local-password-cache 
1835                           Disable OS-specific password cache, if supported
1836   --with-local-password-cache-method 
1837                           OS-specific credential cache (OSX=APPLEKEYCHAIN,
1838                           Windows=WINCRED)
1839   --with-default-sshpath=FILENAME 
1840                           set default value of ssh command path (defining
1841                           should cause ssh to be preferred to rsh)
1842   --with-default-sshcmd=PERCENT_S_STRING 
1843                           set default value of ssh command string (usually "%s
1844                           %s -l %s exec /etc/r%sd")
1845   --without-ssl           Disable SSL support (OpenSSL)
1846   --with-ssl-dir=DIR      Root of SSL lib/include path
1847   --with-ssl-certs-dir=DIR 
1848                           Path to SSL certificate directory
1849   --with-ssl-include-dir=DIR 
1850                           SSL include file path
1851   --with-ssl-lib-dir=DIR  SSL library path
1852   --without-krb5          Disable Kerberos support
1853   --with-krb5-dir=DIR     Root of Kerberos lib/include path
1854   --with-krb5-include-dir=DIR 
1855                           Kerberos include file path
1856   --with-krb5-lib-dir=DIR Kerberos library path
1857   --without-ldap          Disable LDAP query support
1858   --with-ldap-dir=DIR     Root of LDAP lib/include path
1859   --with-ldap-include-dir=DIR 
1860                           Directory containing LDAP include files
1861   --with-ldap-lib-dir=DIR LDAP library path
1862   --without-smime         Disable S/MIME
1863   --without-tcl           Disable TCL, thus Web Alpine support
1864   --with-tcl-lib=LIBRARY  Specific TCL Library, like \"tcl8.6\"
1865   --with-tcl-include=DIR  Directory containing TCL include files
1866   --with-supplied-regex   Use regex library supplied with alpine
1867   --without-pthread       Do NOT test for nor build with POSIX thread support
1868   --with-system-mail-directory=DIR 
1869                           Directory where local mail is delivered
1870   --with-c-client-target=TARGET 
1871                           IMAP build target (see imap/Makefile)
1872   --without-ipv6          Disable IPv6, primarily to work around resolver
1873                           problems
1875 Some influential environment variables:
1876   CC          C compiler command
1877   CFLAGS      C compiler flags
1878   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1879               nonstandard directory <lib dir>
1880   LIBS        libraries to pass to the linker, e.g. -l<library>
1881   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1882               you have headers in a nonstandard directory <include dir>
1883   CPP         C preprocessor
1885 Use these variables to override the choices made by `configure' or to help
1886 it to find libraries and programs with nonstandard names/locations.
1888 Report bugs to <chappa@washington.edu>.
1889 _ACEOF
1890 ac_status=$?
1893 if test "$ac_init_help" = "recursive"; then
1894   # If there are subdirs, report their specific --help.
1895   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1896     test -d "$ac_dir" ||
1897       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1898       continue
1899     ac_builddir=.
1901 case "$ac_dir" in
1902 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1904   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1905   # A ".." for each directory in $ac_dir_suffix.
1906   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1907   case $ac_top_builddir_sub in
1908   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1909   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1910   esac ;;
1911 esac
1912 ac_abs_top_builddir=$ac_pwd
1913 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1914 # for backward compatibility:
1915 ac_top_builddir=$ac_top_build_prefix
1917 case $srcdir in
1918   .)  # We are building in place.
1919     ac_srcdir=.
1920     ac_top_srcdir=$ac_top_builddir_sub
1921     ac_abs_top_srcdir=$ac_pwd ;;
1922   [\\/]* | ?:[\\/]* )  # Absolute name.
1923     ac_srcdir=$srcdir$ac_dir_suffix;
1924     ac_top_srcdir=$srcdir
1925     ac_abs_top_srcdir=$srcdir ;;
1926   *) # Relative name.
1927     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1928     ac_top_srcdir=$ac_top_build_prefix$srcdir
1929     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1930 esac
1931 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1933     cd "$ac_dir" || { ac_status=$?; continue; }
1934     # Check for guested configure.
1935     if test -f "$ac_srcdir/configure.gnu"; then
1936       echo &&
1937       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1938     elif test -f "$ac_srcdir/configure"; then
1939       echo &&
1940       $SHELL "$ac_srcdir/configure" --help=recursive
1941     else
1942       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1943     fi || ac_status=$?
1944     cd "$ac_pwd" || { ac_status=$?; break; }
1945   done
1948 test -n "$ac_init_help" && exit $ac_status
1949 if $ac_init_version; then
1950   cat <<\_ACEOF
1951 alpine configure 2.11.8
1952 generated by GNU Autoconf 2.69
1954 Copyright (C) 2012 Free Software Foundation, Inc.
1955 This configure script is free software; the Free Software Foundation
1956 gives unlimited permission to copy, distribute and modify it.
1957 _ACEOF
1958   exit
1961 ## ------------------------ ##
1962 ## Autoconf initialization. ##
1963 ## ------------------------ ##
1965 @%:@ ac_fn_c_try_compile LINENO
1966 @%:@ --------------------------
1967 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1968 ac_fn_c_try_compile ()
1970   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971   rm -f conftest.$ac_objext
1972   if { { ac_try="$ac_compile"
1973 case "(($ac_try" in
1974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1975   *) ac_try_echo=$ac_try;;
1976 esac
1977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1978 $as_echo "$ac_try_echo"; } >&5
1979   (eval "$ac_compile") 2>conftest.err
1980   ac_status=$?
1981   if test -s conftest.err; then
1982     grep -v '^ *+' conftest.err >conftest.er1
1983     cat conftest.er1 >&5
1984     mv -f conftest.er1 conftest.err
1985   fi
1986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1987   test $ac_status = 0; } && {
1988          test -z "$ac_c_werror_flag" ||
1989          test ! -s conftest.err
1990        } && test -s conftest.$ac_objext; then :
1991   ac_retval=0
1992 else
1993   $as_echo "$as_me: failed program was:" >&5
1994 sed 's/^/| /' conftest.$ac_ext >&5
1996         ac_retval=1
1998   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999   as_fn_set_status $ac_retval
2001 } @%:@ ac_fn_c_try_compile
2003 @%:@ ac_fn_c_try_link LINENO
2004 @%:@ -----------------------
2005 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2006 ac_fn_c_try_link ()
2008   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009   rm -f conftest.$ac_objext conftest$ac_exeext
2010   if { { ac_try="$ac_link"
2011 case "(($ac_try" in
2012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2013   *) ac_try_echo=$ac_try;;
2014 esac
2015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2016 $as_echo "$ac_try_echo"; } >&5
2017   (eval "$ac_link") 2>conftest.err
2018   ac_status=$?
2019   if test -s conftest.err; then
2020     grep -v '^ *+' conftest.err >conftest.er1
2021     cat conftest.er1 >&5
2022     mv -f conftest.er1 conftest.err
2023   fi
2024   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2025   test $ac_status = 0; } && {
2026          test -z "$ac_c_werror_flag" ||
2027          test ! -s conftest.err
2028        } && test -s conftest$ac_exeext && {
2029          test "$cross_compiling" = yes ||
2030          test -x conftest$ac_exeext
2031        }; then :
2032   ac_retval=0
2033 else
2034   $as_echo "$as_me: failed program was:" >&5
2035 sed 's/^/| /' conftest.$ac_ext >&5
2037         ac_retval=1
2039   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2040   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2041   # interfere with the next link command; also delete a directory that is
2042   # left behind by Apple's compiler.  We do this before executing the actions.
2043   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2044   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2045   as_fn_set_status $ac_retval
2047 } @%:@ ac_fn_c_try_link
2049 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2050 @%:@ -------------------------------------------------------
2051 @%:@ Tests whether HEADER exists and can be compiled using the include files in
2052 @%:@ INCLUDES, setting the cache variable VAR accordingly.
2053 ac_fn_c_check_header_compile ()
2055   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2057 $as_echo_n "checking for $2... " >&6; }
2058 if eval \${$3+:} false; then :
2059   $as_echo_n "(cached) " >&6
2060 else
2061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h.  */
2064 @%:@include <$2>
2065 _ACEOF
2066 if ac_fn_c_try_compile "$LINENO"; then :
2067   eval "$3=yes"
2068 else
2069   eval "$3=no"
2071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073 eval ac_res=\$$3
2074                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078 } @%:@ ac_fn_c_check_header_compile
2080 @%:@ ac_fn_c_try_cpp LINENO
2081 @%:@ ----------------------
2082 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2083 ac_fn_c_try_cpp ()
2085   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086   if { { ac_try="$ac_cpp conftest.$ac_ext"
2087 case "(($ac_try" in
2088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2089   *) ac_try_echo=$ac_try;;
2090 esac
2091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2092 $as_echo "$ac_try_echo"; } >&5
2093   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2094   ac_status=$?
2095   if test -s conftest.err; then
2096     grep -v '^ *+' conftest.err >conftest.er1
2097     cat conftest.er1 >&5
2098     mv -f conftest.er1 conftest.err
2099   fi
2100   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2101   test $ac_status = 0; } > conftest.i && {
2102          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2103          test ! -s conftest.err
2104        }; then :
2105   ac_retval=0
2106 else
2107   $as_echo "$as_me: failed program was:" >&5
2108 sed 's/^/| /' conftest.$ac_ext >&5
2110     ac_retval=1
2112   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2113   as_fn_set_status $ac_retval
2115 } @%:@ ac_fn_c_try_cpp
2117 @%:@ ac_fn_c_try_run LINENO
2118 @%:@ ----------------------
2119 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2120 @%:@ that executables *can* be run.
2121 ac_fn_c_try_run ()
2123   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2124   if { { ac_try="$ac_link"
2125 case "(($ac_try" in
2126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2127   *) ac_try_echo=$ac_try;;
2128 esac
2129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2130 $as_echo "$ac_try_echo"; } >&5
2131   (eval "$ac_link") 2>&5
2132   ac_status=$?
2133   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2134   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2135   { { case "(($ac_try" in
2136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2137   *) ac_try_echo=$ac_try;;
2138 esac
2139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2140 $as_echo "$ac_try_echo"; } >&5
2141   (eval "$ac_try") 2>&5
2142   ac_status=$?
2143   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2144   test $ac_status = 0; }; }; then :
2145   ac_retval=0
2146 else
2147   $as_echo "$as_me: program exited with status $ac_status" >&5
2148        $as_echo "$as_me: failed program was:" >&5
2149 sed 's/^/| /' conftest.$ac_ext >&5
2151        ac_retval=$ac_status
2153   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2154   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2155   as_fn_set_status $ac_retval
2157 } @%:@ ac_fn_c_try_run
2159 @%:@ ac_fn_c_check_func LINENO FUNC VAR
2160 @%:@ ----------------------------------
2161 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2162 ac_fn_c_check_func ()
2164   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2166 $as_echo_n "checking for $2... " >&6; }
2167 if eval \${$3+:} false; then :
2168   $as_echo_n "(cached) " >&6
2169 else
2170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2171 /* end confdefs.h.  */
2172 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2174 #define $2 innocuous_$2
2176 /* System header to define __stub macros and hopefully few prototypes,
2177     which can conflict with char $2 (); below.
2178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2179     <limits.h> exists even on freestanding compilers.  */
2181 #ifdef __STDC__
2182 # include <limits.h>
2183 #else
2184 # include <assert.h>
2185 #endif
2187 #undef $2
2189 /* Override any GCC internal prototype to avoid an error.
2190    Use char because int might match the return type of a GCC
2191    builtin and then its argument prototype would still apply.  */
2192 #ifdef __cplusplus
2193 extern "C"
2194 #endif
2195 char $2 ();
2196 /* The GNU C library defines this for functions which it implements
2197     to always fail with ENOSYS.  Some functions are actually named
2198     something starting with __ and the normal name is an alias.  */
2199 #if defined __stub_$2 || defined __stub___$2
2200 choke me
2201 #endif
2204 main ()
2206 return $2 ();
2207   ;
2208   return 0;
2210 _ACEOF
2211 if ac_fn_c_try_link "$LINENO"; then :
2212   eval "$3=yes"
2213 else
2214   eval "$3=no"
2216 rm -f core conftest.err conftest.$ac_objext \
2217     conftest$ac_exeext conftest.$ac_ext
2219 eval ac_res=\$$3
2220                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2221 $as_echo "$ac_res" >&6; }
2222   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2224 } @%:@ ac_fn_c_check_func
2226 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2227 @%:@ -------------------------------------------------------
2228 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2229 @%:@ the include files in INCLUDES and setting the cache variable VAR
2230 @%:@ accordingly.
2231 ac_fn_c_check_header_mongrel ()
2233   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2234   if eval \${$3+:} false; then :
2235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if eval \${$3+:} false; then :
2238   $as_echo_n "(cached) " >&6
2240 eval ac_res=\$$3
2241                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2242 $as_echo "$ac_res" >&6; }
2243 else
2244   # Is the header compilable?
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2246 $as_echo_n "checking $2 usability... " >&6; }
2247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2248 /* end confdefs.h.  */
2250 @%:@include <$2>
2251 _ACEOF
2252 if ac_fn_c_try_compile "$LINENO"; then :
2253   ac_header_compiler=yes
2254 else
2255   ac_header_compiler=no
2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2259 $as_echo "$ac_header_compiler" >&6; }
2261 # Is the header present?
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2263 $as_echo_n "checking $2 presence... " >&6; }
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h.  */
2266 @%:@include <$2>
2267 _ACEOF
2268 if ac_fn_c_try_cpp "$LINENO"; then :
2269   ac_header_preproc=yes
2270 else
2271   ac_header_preproc=no
2273 rm -f conftest.err conftest.i conftest.$ac_ext
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2275 $as_echo "$ac_header_preproc" >&6; }
2277 # So?  What about this header?
2278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2279   yes:no: )
2280     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2281 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2282     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2283 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2284     ;;
2285   no:yes:* )
2286     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2287 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2288     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2289 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2290     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2291 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2292     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2293 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2294     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2295 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2296 ( $as_echo "## ------------------------------------ ##
2297 ## Report this to chappa@washington.edu ##
2298 ## ------------------------------------ ##"
2299      ) | sed "s/^/$as_me: WARNING:     /" >&2
2300     ;;
2301 esac
2302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2303 $as_echo_n "checking for $2... " >&6; }
2304 if eval \${$3+:} false; then :
2305   $as_echo_n "(cached) " >&6
2306 else
2307   eval "$3=\$ac_header_compiler"
2309 eval ac_res=\$$3
2310                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 $as_echo "$ac_res" >&6; }
2313   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2315 } @%:@ ac_fn_c_check_header_mongrel
2317 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2318 @%:@ -------------------------------------------
2319 @%:@ Tests whether TYPE exists after having Included INCLUDES, setting cache
2320 @%:@ variable VAR accordingly.
2321 ac_fn_c_check_type ()
2323   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2325 $as_echo_n "checking for $2... " >&6; }
2326 if eval \${$3+:} false; then :
2327   $as_echo_n "(cached) " >&6
2328 else
2329   eval "$3=no"
2330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2331 /* end confdefs.h.  */
2334 main ()
2336 if (sizeof ($2))
2337          return 0;
2338   ;
2339   return 0;
2341 _ACEOF
2342 if ac_fn_c_try_compile "$LINENO"; then :
2343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2344 /* end confdefs.h.  */
2347 main ()
2349 if (sizeof (($2)))
2350             return 0;
2351   ;
2352   return 0;
2354 _ACEOF
2355 if ac_fn_c_try_compile "$LINENO"; then :
2356   
2357 else
2358   eval "$3=yes"
2360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 eval ac_res=\$$3
2365                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2366 $as_echo "$ac_res" >&6; }
2367   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2369 } @%:@ ac_fn_c_check_type
2371 @%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2372 @%:@ --------------------------------------------
2373 @%:@ Tries to find the compile-time value of EXPR in a program that includes
2374 @%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
2375 @%:@ computed
2376 ac_fn_c_compute_int ()
2378   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2379   if test "$cross_compiling" = yes; then
2380     # Depending upon the size, compute the lo and hi bounds.
2381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 /* end confdefs.h.  */
2385 main ()
2387 static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
2388 test_array @<:@0@:>@ = 0;
2389 return test_array @<:@0@:>@;
2391   ;
2392   return 0;
2394 _ACEOF
2395 if ac_fn_c_try_compile "$LINENO"; then :
2396   ac_lo=0 ac_mid=0
2397   while :; do
2398     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h.  */
2402 main ()
2404 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
2405 test_array @<:@0@:>@ = 0;
2406 return test_array @<:@0@:>@;
2408   ;
2409   return 0;
2411 _ACEOF
2412 if ac_fn_c_try_compile "$LINENO"; then :
2413   ac_hi=$ac_mid; break
2414 else
2415   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2416                         if test $ac_lo -le $ac_mid; then
2417                           ac_lo= ac_hi=
2418                           break
2419                         fi
2420                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2423   done
2424 else
2425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h.  */
2429 main ()
2431 static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
2432 test_array @<:@0@:>@ = 0;
2433 return test_array @<:@0@:>@;
2435   ;
2436   return 0;
2438 _ACEOF
2439 if ac_fn_c_try_compile "$LINENO"; then :
2440   ac_hi=-1 ac_mid=-1
2441   while :; do
2442     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h.  */
2446 main ()
2448 static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
2449 test_array @<:@0@:>@ = 0;
2450 return test_array @<:@0@:>@;
2452   ;
2453   return 0;
2455 _ACEOF
2456 if ac_fn_c_try_compile "$LINENO"; then :
2457   ac_lo=$ac_mid; break
2458 else
2459   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2460                         if test $ac_mid -le $ac_hi; then
2461                           ac_lo= ac_hi=
2462                           break
2463                         fi
2464                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467   done
2468 else
2469   ac_lo= ac_hi=
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 # Binary search between lo and hi bounds.
2475 while test "x$ac_lo" != "x$ac_hi"; do
2476   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h.  */
2481 main ()
2483 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
2484 test_array @<:@0@:>@ = 0;
2485 return test_array @<:@0@:>@;
2487   ;
2488   return 0;
2490 _ACEOF
2491 if ac_fn_c_try_compile "$LINENO"; then :
2492   ac_hi=$ac_mid
2493 else
2494   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497 done
2498 case $ac_lo in @%:@((
2499 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2500 '') ac_retval=1 ;;
2501 esac
2502   else
2503     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2504 /* end confdefs.h.  */
2506 static long int longval () { return $2; }
2507 static unsigned long int ulongval () { return $2; }
2508 @%:@include <stdio.h>
2509 @%:@include <stdlib.h>
2511 main ()
2514   FILE *f = fopen ("conftest.val", "w");
2515   if (! f)
2516     return 1;
2517   if (($2) < 0)
2518     {
2519       long int i = longval ();
2520       if (i != ($2))
2521         return 1;
2522       fprintf (f, "%ld", i);
2523     }
2524   else
2525     {
2526       unsigned long int i = ulongval ();
2527       if (i != ($2))
2528         return 1;
2529       fprintf (f, "%lu", i);
2530     }
2531   /* Do not output a trailing newline, as this causes \r\n confusion
2532      on some platforms.  */
2533   return ferror (f) || fclose (f) != 0;
2535   ;
2536   return 0;
2538 _ACEOF
2539 if ac_fn_c_try_run "$LINENO"; then :
2540   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2541 else
2542   ac_retval=1
2544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2545   conftest.$ac_objext conftest.beam conftest.$ac_ext
2546 rm -f conftest.val
2548   fi
2549   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550   as_fn_set_status $ac_retval
2552 } @%:@ ac_fn_c_compute_int
2553 cat >config.log <<_ACEOF
2554 This file contains any messages produced by compilers while
2555 running configure, to aid debugging if configure makes a mistake.
2557 It was created by alpine $as_me 2.11.8, which was
2558 generated by GNU Autoconf 2.69.  Invocation command line was
2560   $ $0 $@
2562 _ACEOF
2563 exec 5>>config.log
2565 cat <<_ASUNAME
2566 ## --------- ##
2567 ## Platform. ##
2568 ## --------- ##
2570 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2571 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2572 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2573 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2574 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2576 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2577 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2579 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2580 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2581 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2582 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2583 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2584 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2585 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2587 _ASUNAME
2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 for as_dir in $PATH
2592   IFS=$as_save_IFS
2593   test -z "$as_dir" && as_dir=.
2594     $as_echo "PATH: $as_dir"
2595   done
2596 IFS=$as_save_IFS
2598 } >&5
2600 cat >&5 <<_ACEOF
2603 ## ----------- ##
2604 ## Core tests. ##
2605 ## ----------- ##
2607 _ACEOF
2610 # Keep a trace of the command line.
2611 # Strip out --no-create and --no-recursion so they do not pile up.
2612 # Strip out --silent because we don't want to record it for future runs.
2613 # Also quote any args containing shell meta-characters.
2614 # Make two passes to allow for proper duplicate-argument suppression.
2615 ac_configure_args=
2616 ac_configure_args0=
2617 ac_configure_args1=
2618 ac_must_keep_next=false
2619 for ac_pass in 1 2
2621   for ac_arg
2622   do
2623     case $ac_arg in
2624     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2625     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2626     | -silent | --silent | --silen | --sile | --sil)
2627       continue ;;
2628     *\'*)
2629       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2630     esac
2631     case $ac_pass in
2632     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2633     2)
2634       as_fn_append ac_configure_args1 " '$ac_arg'"
2635       if test $ac_must_keep_next = true; then
2636         ac_must_keep_next=false # Got value, back to normal.
2637       else
2638         case $ac_arg in
2639           *=* | --config-cache | -C | -disable-* | --disable-* \
2640           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2641           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2642           | -with-* | --with-* | -without-* | --without-* | --x)
2643             case "$ac_configure_args0 " in
2644               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2645             esac
2646             ;;
2647           -* ) ac_must_keep_next=true ;;
2648         esac
2649       fi
2650       as_fn_append ac_configure_args " '$ac_arg'"
2651       ;;
2652     esac
2653   done
2654 done
2655 { ac_configure_args0=; unset ac_configure_args0;}
2656 { ac_configure_args1=; unset ac_configure_args1;}
2658 # When interrupted or exit'd, cleanup temporary files, and complete
2659 # config.log.  We remove comments because anyway the quotes in there
2660 # would cause problems or look ugly.
2661 # WARNING: Use '\'' to represent an apostrophe within the trap.
2662 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2663 trap 'exit_status=$?
2664   # Save into config.log some information that might help in debugging.
2665   {
2666     echo
2668     $as_echo "## ---------------- ##
2669 ## Cache variables. ##
2670 ## ---------------- ##"
2671     echo
2672     # The following way of writing the cache mishandles newlines in values,
2674   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2675     eval ac_val=\$$ac_var
2676     case $ac_val in #(
2677     *${as_nl}*)
2678       case $ac_var in #(
2679       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2680 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2681       esac
2682       case $ac_var in #(
2683       _ | IFS | as_nl) ;; #(
2684       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2685       *) { eval $ac_var=; unset $ac_var;} ;;
2686       esac ;;
2687     esac
2688   done
2689   (set) 2>&1 |
2690     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2691     *${as_nl}ac_space=\ *)
2692       sed -n \
2693         "s/'\''/'\''\\\\'\'''\''/g;
2694           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2695       ;; #(
2696     *)
2697       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2698       ;;
2699     esac |
2700     sort
2702     echo
2704     $as_echo "## ----------------- ##
2705 ## Output variables. ##
2706 ## ----------------- ##"
2707     echo
2708     for ac_var in $ac_subst_vars
2709     do
2710       eval ac_val=\$$ac_var
2711       case $ac_val in
2712       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2713       esac
2714       $as_echo "$ac_var='\''$ac_val'\''"
2715     done | sort
2716     echo
2718     if test -n "$ac_subst_files"; then
2719       $as_echo "## ------------------- ##
2720 ## File substitutions. ##
2721 ## ------------------- ##"
2722       echo
2723       for ac_var in $ac_subst_files
2724       do
2725         eval ac_val=\$$ac_var
2726         case $ac_val in
2727         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2728         esac
2729         $as_echo "$ac_var='\''$ac_val'\''"
2730       done | sort
2731       echo
2732     fi
2734     if test -s confdefs.h; then
2735       $as_echo "## ----------- ##
2736 ## confdefs.h. ##
2737 ## ----------- ##"
2738       echo
2739       cat confdefs.h
2740       echo
2741     fi
2742     test "$ac_signal" != 0 &&
2743       $as_echo "$as_me: caught signal $ac_signal"
2744     $as_echo "$as_me: exit $exit_status"
2745   } >&5
2746   rm -f core *.core core.conftest.* &&
2747     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2748     exit $exit_status
2749 ' 0
2750 for ac_signal in 1 2 13 15; do
2751   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2752 done
2753 ac_signal=0
2755 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2756 rm -f -r conftest* confdefs.h
2758 $as_echo "/* confdefs.h */" > confdefs.h
2760 # Predefined preprocessor variables.
2762 cat >>confdefs.h <<_ACEOF
2763 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2764 _ACEOF
2766 cat >>confdefs.h <<_ACEOF
2767 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2768 _ACEOF
2770 cat >>confdefs.h <<_ACEOF
2771 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2772 _ACEOF
2774 cat >>confdefs.h <<_ACEOF
2775 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2776 _ACEOF
2778 cat >>confdefs.h <<_ACEOF
2779 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2780 _ACEOF
2782 cat >>confdefs.h <<_ACEOF
2783 @%:@define PACKAGE_URL "$PACKAGE_URL"
2784 _ACEOF
2787 # Let the site file select an alternate cache file if it wants to.
2788 # Prefer an explicitly selected file to automatically selected ones.
2789 ac_site_file1=NONE
2790 ac_site_file2=NONE
2791 if test -n "$CONFIG_SITE"; then
2792   # We do not want a PATH search for config.site.
2793   case $CONFIG_SITE in @%:@((
2794     -*)  ac_site_file1=./$CONFIG_SITE;;
2795     */*) ac_site_file1=$CONFIG_SITE;;
2796     *)   ac_site_file1=./$CONFIG_SITE;;
2797   esac
2798 elif test "x$prefix" != xNONE; then
2799   ac_site_file1=$prefix/share/config.site
2800   ac_site_file2=$prefix/etc/config.site
2801 else
2802   ac_site_file1=$ac_default_prefix/share/config.site
2803   ac_site_file2=$ac_default_prefix/etc/config.site
2805 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2807   test "x$ac_site_file" = xNONE && continue
2808   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2809     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2810 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2811     sed 's/^/| /' "$ac_site_file" >&5
2812     . "$ac_site_file" \
2813       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2815 as_fn_error $? "failed to load site script $ac_site_file
2816 See \`config.log' for more details" "$LINENO" 5; }
2817   fi
2818 done
2820 if test -r "$cache_file"; then
2821   # Some versions of bash will fail to source /dev/null (special files
2822   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2823   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2824     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2825 $as_echo "$as_me: loading cache $cache_file" >&6;}
2826     case $cache_file in
2827       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2828       *)                      . "./$cache_file";;
2829     esac
2830   fi
2831 else
2832   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2833 $as_echo "$as_me: creating cache $cache_file" >&6;}
2834   >$cache_file
2837 gt_needs="$gt_needs "
2838 # Check that the precious variables saved in the cache have kept the same
2839 # value.
2840 ac_cache_corrupted=false
2841 for ac_var in $ac_precious_vars; do
2842   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2843   eval ac_new_set=\$ac_env_${ac_var}_set
2844   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2845   eval ac_new_val=\$ac_env_${ac_var}_value
2846   case $ac_old_set,$ac_new_set in
2847     set,)
2848       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2849 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2850       ac_cache_corrupted=: ;;
2851     ,set)
2852       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2853 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2854       ac_cache_corrupted=: ;;
2855     ,);;
2856     *)
2857       if test "x$ac_old_val" != "x$ac_new_val"; then
2858         # differences in whitespace do not lead to failure.
2859         ac_old_val_w=`echo x $ac_old_val`
2860         ac_new_val_w=`echo x $ac_new_val`
2861         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2862           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2863 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2864           ac_cache_corrupted=:
2865         else
2866           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2867 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2868           eval $ac_var=\$ac_old_val
2869         fi
2870         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2871 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2872         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2873 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2874       fi;;
2875   esac
2876   # Pass precious variables to config.status.
2877   if test "$ac_new_set" = set; then
2878     case $ac_new_val in
2879     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2880     *) ac_arg=$ac_var=$ac_new_val ;;
2881     esac
2882     case " $ac_configure_args " in
2883       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2884       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2885     esac
2886   fi
2887 done
2888 if $ac_cache_corrupted; then
2889   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2892 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2893   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2895 ## -------------------- ##
2896 ## Main body of script. ##
2897 ## -------------------- ##
2899 ac_ext=c
2900 ac_cpp='$CPP $CPPFLAGS'
2901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2908 ac_config_headers="$ac_config_headers include/config.h"
2911 am__api_version='1.11'
2913 ac_aux_dir=
2914 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2915   if test -f "$ac_dir/install-sh"; then
2916     ac_aux_dir=$ac_dir
2917     ac_install_sh="$ac_aux_dir/install-sh -c"
2918     break
2919   elif test -f "$ac_dir/install.sh"; then
2920     ac_aux_dir=$ac_dir
2921     ac_install_sh="$ac_aux_dir/install.sh -c"
2922     break
2923   elif test -f "$ac_dir/shtool"; then
2924     ac_aux_dir=$ac_dir
2925     ac_install_sh="$ac_aux_dir/shtool install -c"
2926     break
2927   fi
2928 done
2929 if test -z "$ac_aux_dir"; then
2930   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2933 # These three variables are undocumented and unsupported,
2934 # and are intended to be withdrawn in a future Autoconf release.
2935 # They can cause serious problems if a builder's source tree is in a directory
2936 # whose full name contains unusual characters.
2937 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2938 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2939 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2942 # Find a good install program.  We prefer a C program (faster),
2943 # so one script is as good as another.  But avoid the broken or
2944 # incompatible versions:
2945 # SysV /etc/install, /usr/sbin/install
2946 # SunOS /usr/etc/install
2947 # IRIX /sbin/install
2948 # AIX /bin/install
2949 # AmigaOS /C/install, which installs bootblocks on floppy discs
2950 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2951 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2952 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2953 # OS/2's system install, which has a completely different semantic
2954 # ./install, which can be erroneously created by make from ./install.sh.
2955 # Reject install programs that cannot install multiple files.
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2957 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2958 if test -z "$INSTALL"; then
2959 if ${ac_cv_path_install+:} false; then :
2960   $as_echo_n "(cached) " >&6
2961 else
2962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 for as_dir in $PATH
2965   IFS=$as_save_IFS
2966   test -z "$as_dir" && as_dir=.
2967     # Account for people who put trailing slashes in PATH elements.
2968 case $as_dir/ in @%:@((
2969   ./ | .// | /[cC]/* | \
2970   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2971   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2972   /usr/ucb/* ) ;;
2973   *)
2974     # OSF1 and SCO ODT 3.0 have their own names for install.
2975     # Don't use installbsd from OSF since it installs stuff as root
2976     # by default.
2977     for ac_prog in ginstall scoinst install; do
2978       for ac_exec_ext in '' $ac_executable_extensions; do
2979         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2980           if test $ac_prog = install &&
2981             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2982             # AIX install.  It has an incompatible calling convention.
2983             :
2984           elif test $ac_prog = install &&
2985             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2986             # program-specific install script used by HP pwplus--don't use.
2987             :
2988           else
2989             rm -rf conftest.one conftest.two conftest.dir
2990             echo one > conftest.one
2991             echo two > conftest.two
2992             mkdir conftest.dir
2993             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2994               test -s conftest.one && test -s conftest.two &&
2995               test -s conftest.dir/conftest.one &&
2996               test -s conftest.dir/conftest.two
2997             then
2998               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2999               break 3
3000             fi
3001           fi
3002         fi
3003       done
3004     done
3005     ;;
3006 esac
3008   done
3009 IFS=$as_save_IFS
3011 rm -rf conftest.one conftest.two conftest.dir
3014   if test "${ac_cv_path_install+set}" = set; then
3015     INSTALL=$ac_cv_path_install
3016   else
3017     # As a last resort, use the slow shell script.  Don't cache a
3018     # value for INSTALL within a source directory, because that will
3019     # break other packages using the cache if that directory is
3020     # removed, or if the value is a relative name.
3021     INSTALL=$ac_install_sh
3022   fi
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3025 $as_echo "$INSTALL" >&6; }
3027 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3028 # It thinks the first close brace ends the variable substitution.
3029 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3031 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3033 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3036 $as_echo_n "checking whether build environment is sane... " >&6; }
3037 # Just in case
3038 sleep 1
3039 echo timestamp > conftest.file
3040 # Reject unsafe characters in $srcdir or the absolute working directory
3041 # name.  Accept space and tab only in the latter.
3042 am_lf='
3044 case `pwd` in
3045   *[\\\"\#\$\&\'\`$am_lf]*)
3046     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3047 esac
3048 case $srcdir in
3049   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3050     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3051 esac
3053 # Do `set' in a subshell so we don't clobber the current shell's
3054 # arguments.  Must try -L first in case configure is actually a
3055 # symlink; some systems play weird games with the mod time of symlinks
3056 # (eg FreeBSD returns the mod time of the symlink's containing
3057 # directory).
3058 if (
3059    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3060    if test "$*" = "X"; then
3061       # -L didn't work.
3062       set X `ls -t "$srcdir/configure" conftest.file`
3063    fi
3064    rm -f conftest.file
3065    if test "$*" != "X $srcdir/configure conftest.file" \
3066       && test "$*" != "X conftest.file $srcdir/configure"; then
3068       # If neither matched, then we have a broken ls.  This can happen
3069       # if, for instance, CONFIG_SHELL is bash and it inherits a
3070       # broken ls alias from the environment.  This has actually
3071       # happened.  Such a system could not be considered "sane".
3072       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3073 alias in your environment" "$LINENO" 5
3074    fi
3076    test "$2" = conftest.file
3077    )
3078 then
3079    # Ok.
3080    :
3081 else
3082    as_fn_error $? "newly created file is older than distributed files!
3083 Check your system clock" "$LINENO" 5
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3086 $as_echo "yes" >&6; }
3087 test "$program_prefix" != NONE &&
3088   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3089 # Use a double $ so make ignores it.
3090 test "$program_suffix" != NONE &&
3091   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3092 # Double any \ or $.
3093 # By default was `s,x,x', remove it if useless.
3094 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3095 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3097 # expand $ac_aux_dir to an absolute path
3098 am_aux_dir=`cd $ac_aux_dir && pwd`
3100 if test x"${MISSING+set}" != xset; then
3101   case $am_aux_dir in
3102   *\ * | *\     *)
3103     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3104   *)
3105     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3106   esac
3108 # Use eval to expand $SHELL
3109 if eval "$MISSING --run true"; then
3110   am_missing_run="$MISSING --run "
3111 else
3112   am_missing_run=
3113   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3114 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3117 if test x"${install_sh}" != xset; then
3118   case $am_aux_dir in
3119   *\ * | *\     *)
3120     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3121   *)
3122     install_sh="\${SHELL} $am_aux_dir/install-sh"
3123   esac
3126 # Installed binaries are usually stripped using `strip' when the user
3127 # run `make install-strip'.  However `strip' might not be the right
3128 # tool to use in cross-compilation environments, therefore Automake
3129 # will honor the `STRIP' environment variable to overrule this program.
3130 if test "$cross_compiling" != no; then
3131   if test -n "$ac_tool_prefix"; then
3132   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3133 set dummy ${ac_tool_prefix}strip; ac_word=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if ${ac_cv_prog_STRIP+:} false; then :
3137   $as_echo_n "(cached) " >&6
3138 else
3139   if test -n "$STRIP"; then
3140   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3141 else
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143 for as_dir in $PATH
3145   IFS=$as_save_IFS
3146   test -z "$as_dir" && as_dir=.
3147     for ac_exec_ext in '' $ac_executable_extensions; do
3148   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3149     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151     break 2
3152   fi
3153 done
3154   done
3155 IFS=$as_save_IFS
3159 STRIP=$ac_cv_prog_STRIP
3160 if test -n "$STRIP"; then
3161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3162 $as_echo "$STRIP" >&6; }
3163 else
3164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3170 if test -z "$ac_cv_prog_STRIP"; then
3171   ac_ct_STRIP=$STRIP
3172   # Extract the first word of "strip", so it can be a program name with args.
3173 set dummy strip; ac_word=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3177   $as_echo_n "(cached) " >&6
3178 else
3179   if test -n "$ac_ct_STRIP"; then
3180   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3181 else
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 for as_dir in $PATH
3185   IFS=$as_save_IFS
3186   test -z "$as_dir" && as_dir=.
3187     for ac_exec_ext in '' $ac_executable_extensions; do
3188   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3189     ac_cv_prog_ac_ct_STRIP="strip"
3190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191     break 2
3192   fi
3193 done
3194   done
3195 IFS=$as_save_IFS
3199 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3200 if test -n "$ac_ct_STRIP"; then
3201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3202 $as_echo "$ac_ct_STRIP" >&6; }
3203 else
3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3208   if test "x$ac_ct_STRIP" = x; then
3209     STRIP=":"
3210   else
3211     case $cross_compiling:$ac_tool_warned in
3212 yes:)
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3215 ac_tool_warned=yes ;;
3216 esac
3217     STRIP=$ac_ct_STRIP
3218   fi
3219 else
3220   STRIP="$ac_cv_prog_STRIP"
3224 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3227 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3228 if test -z "$MKDIR_P"; then
3229   if ${ac_cv_path_mkdir+:} false; then :
3230   $as_echo_n "(cached) " >&6
3231 else
3232   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3235   IFS=$as_save_IFS
3236   test -z "$as_dir" && as_dir=.
3237     for ac_prog in mkdir gmkdir; do
3238          for ac_exec_ext in '' $ac_executable_extensions; do
3239            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3240            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3241              'mkdir (GNU coreutils) '* | \
3242              'mkdir (coreutils) '* | \
3243              'mkdir (fileutils) '4.1*)
3244                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3245                break 3;;
3246            esac
3247          done
3248        done
3249   done
3250 IFS=$as_save_IFS
3254   test -d ./--version && rmdir ./--version
3255   if test "${ac_cv_path_mkdir+set}" = set; then
3256     MKDIR_P="$ac_cv_path_mkdir -p"
3257   else
3258     # As a last resort, use the slow shell script.  Don't cache a
3259     # value for MKDIR_P within a source directory, because that will
3260     # break other packages using the cache if that directory is
3261     # removed, or if the value is a relative name.
3262     MKDIR_P="$ac_install_sh -d"
3263   fi
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3266 $as_echo "$MKDIR_P" >&6; }
3268 mkdir_p="$MKDIR_P"
3269 case $mkdir_p in
3270   [\\/$]* | ?:[\\/]*) ;;
3271   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3272 esac
3274 for ac_prog in gawk mawk nawk awk
3276   # Extract the first word of "$ac_prog", so it can be a program name with args.
3277 set dummy $ac_prog; ac_word=$2
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3279 $as_echo_n "checking for $ac_word... " >&6; }
3280 if ${ac_cv_prog_AWK+:} false; then :
3281   $as_echo_n "(cached) " >&6
3282 else
3283   if test -n "$AWK"; then
3284   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3285 else
3286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287 for as_dir in $PATH
3289   IFS=$as_save_IFS
3290   test -z "$as_dir" && as_dir=.
3291     for ac_exec_ext in '' $ac_executable_extensions; do
3292   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3293     ac_cv_prog_AWK="$ac_prog"
3294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3295     break 2
3296   fi
3297 done
3298   done
3299 IFS=$as_save_IFS
3303 AWK=$ac_cv_prog_AWK
3304 if test -n "$AWK"; then
3305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3306 $as_echo "$AWK" >&6; }
3307 else
3308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309 $as_echo "no" >&6; }
3313   test -n "$AWK" && break
3314 done
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3317 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3318 set x ${MAKE-make}
3319 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3320 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3321   $as_echo_n "(cached) " >&6
3322 else
3323   cat >conftest.make <<\_ACEOF
3324 SHELL = /bin/sh
3325 all:
3326         @echo '@@@%%%=$(MAKE)=@@@%%%'
3327 _ACEOF
3328 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3329 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3330   *@@@%%%=?*=@@@%%%*)
3331     eval ac_cv_prog_make_${ac_make}_set=yes;;
3332   *)
3333     eval ac_cv_prog_make_${ac_make}_set=no;;
3334 esac
3335 rm -f conftest.make
3337 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3339 $as_echo "yes" >&6; }
3340   SET_MAKE=
3341 else
3342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3344   SET_MAKE="MAKE=${MAKE-make}"
3347 rm -rf .tst 2>/dev/null
3348 mkdir .tst 2>/dev/null
3349 if test -d .tst; then
3350   am__leading_dot=.
3351 else
3352   am__leading_dot=_
3354 rmdir .tst 2>/dev/null
3356 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3357   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3358   # is not polluted with repeated "-I."
3359   am__isrc=' -I$(srcdir)'
3360   # test to see if srcdir already configured
3361   if test -f $srcdir/config.status; then
3362     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3363   fi
3366 # test whether we have cygpath
3367 if test -z "$CYGPATH_W"; then
3368   if (cygpath --version) >/dev/null 2>/dev/null; then
3369     CYGPATH_W='cygpath -w'
3370   else
3371     CYGPATH_W=echo
3372   fi
3376 # Define the identity of the package.
3377  PACKAGE='alpine'
3378  VERSION='2.11.8'
3381 cat >>confdefs.h <<_ACEOF
3382 @%:@define PACKAGE "$PACKAGE"
3383 _ACEOF
3386 cat >>confdefs.h <<_ACEOF
3387 @%:@define VERSION "$VERSION"
3388 _ACEOF
3390 # Some tools Automake needs.
3392 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3395 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3398 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3401 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3404 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3406 # We need awk for the "check" target.  The system "awk" is bad on
3407 # some platforms.
3408 # Always define AMTAR for backward compatibility.
3410 AMTAR=${AMTAR-"${am_missing_run}tar"}
3412 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3421 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3422     @%:@ Check whether --enable-maintainer-mode was given.
3423 if test "${enable_maintainer_mode+set}" = set; then :
3424   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3425 else
3426   USE_MAINTAINER_MODE=no
3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3430 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3431    if test $USE_MAINTAINER_MODE = yes; then
3432   MAINTAINER_MODE_TRUE=
3433   MAINTAINER_MODE_FALSE='#'
3434 else
3435   MAINTAINER_MODE_TRUE='#'
3436   MAINTAINER_MODE_FALSE=
3439   MAINT=$MAINTAINER_MODE_TRUE
3440   
3443 # Make sure we can run config.sub.
3444 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3445   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3448 $as_echo_n "checking build system type... " >&6; }
3449 if ${ac_cv_build+:} false; then :
3450   $as_echo_n "(cached) " >&6
3451 else
3452   ac_build_alias=$build_alias
3453 test "x$ac_build_alias" = x &&
3454   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3455 test "x$ac_build_alias" = x &&
3456   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3457 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3458   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3462 $as_echo "$ac_cv_build" >&6; }
3463 case $ac_cv_build in
3464 *-*-*) ;;
3465 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3466 esac
3467 build=$ac_cv_build
3468 ac_save_IFS=$IFS; IFS='-'
3469 set x $ac_cv_build
3470 shift
3471 build_cpu=$1
3472 build_vendor=$2
3473 shift; shift
3474 # Remember, the first character of IFS is used to create $*,
3475 # except with old shells:
3476 build_os=$*
3477 IFS=$ac_save_IFS
3478 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3482 $as_echo_n "checking host system type... " >&6; }
3483 if ${ac_cv_host+:} false; then :
3484   $as_echo_n "(cached) " >&6
3485 else
3486   if test "x$host_alias" = x; then
3487   ac_cv_host=$ac_cv_build
3488 else
3489   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3490     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3495 $as_echo "$ac_cv_host" >&6; }
3496 case $ac_cv_host in
3497 *-*-*) ;;
3498 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3499 esac
3500 host=$ac_cv_host
3501 ac_save_IFS=$IFS; IFS='-'
3502 set x $ac_cv_host
3503 shift
3504 host_cpu=$1
3505 host_vendor=$2
3506 shift; shift
3507 # Remember, the first character of IFS is used to create $*,
3508 # except with old shells:
3509 host_os=$*
3510 IFS=$ac_save_IFS
3511 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3515 ac_ext=c
3516 ac_cpp='$CPP $CPPFLAGS'
3517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host))" >&5
3523 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host))" >&6;}
3525 # start out with intent to build Web Alpine
3526 WEB_BUILD=web/src/alpined.d
3529 ac_ext=c
3530 ac_cpp='$CPP $CPPFLAGS'
3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3534 if test -n "$ac_tool_prefix"; then
3535   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3536 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3538 $as_echo_n "checking for $ac_word... " >&6; }
3539 if ${ac_cv_prog_CC+:} false; then :
3540   $as_echo_n "(cached) " >&6
3541 else
3542   if test -n "$CC"; then
3543   ac_cv_prog_CC="$CC" # Let the user override the test.
3544 else
3545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546 for as_dir in $PATH
3548   IFS=$as_save_IFS
3549   test -z "$as_dir" && as_dir=.
3550     for ac_exec_ext in '' $ac_executable_extensions; do
3551   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3552     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554     break 2
3555   fi
3556 done
3557   done
3558 IFS=$as_save_IFS
3562 CC=$ac_cv_prog_CC
3563 if test -n "$CC"; then
3564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3565 $as_echo "$CC" >&6; }
3566 else
3567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 $as_echo "no" >&6; }
3573 if test -z "$ac_cv_prog_CC"; then
3574   ac_ct_CC=$CC
3575   # Extract the first word of "gcc", so it can be a program name with args.
3576 set dummy gcc; ac_word=$2
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3578 $as_echo_n "checking for $ac_word... " >&6; }
3579 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3580   $as_echo_n "(cached) " >&6
3581 else
3582   if test -n "$ac_ct_CC"; then
3583   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3588   IFS=$as_save_IFS
3589   test -z "$as_dir" && as_dir=.
3590     for ac_exec_ext in '' $ac_executable_extensions; do
3591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3592     ac_cv_prog_ac_ct_CC="gcc"
3593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3594     break 2
3595   fi
3596 done
3597   done
3598 IFS=$as_save_IFS
3602 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3603 if test -n "$ac_ct_CC"; then
3604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3605 $as_echo "$ac_ct_CC" >&6; }
3606 else
3607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3611   if test "x$ac_ct_CC" = x; then
3612     CC=""
3613   else
3614     case $cross_compiling:$ac_tool_warned in
3615 yes:)
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3618 ac_tool_warned=yes ;;
3619 esac
3620     CC=$ac_ct_CC
3621   fi
3622 else
3623   CC="$ac_cv_prog_CC"
3626 if test -z "$CC"; then
3627           if test -n "$ac_tool_prefix"; then
3628     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3629 set dummy ${ac_tool_prefix}cc; ac_word=$2
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3631 $as_echo_n "checking for $ac_word... " >&6; }
3632 if ${ac_cv_prog_CC+:} false; then :
3633   $as_echo_n "(cached) " >&6
3634 else
3635   if test -n "$CC"; then
3636   ac_cv_prog_CC="$CC" # Let the user override the test.
3637 else
3638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3639 for as_dir in $PATH
3641   IFS=$as_save_IFS
3642   test -z "$as_dir" && as_dir=.
3643     for ac_exec_ext in '' $ac_executable_extensions; do
3644   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3645     ac_cv_prog_CC="${ac_tool_prefix}cc"
3646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647     break 2
3648   fi
3649 done
3650   done
3651 IFS=$as_save_IFS
3655 CC=$ac_cv_prog_CC
3656 if test -n "$CC"; then
3657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3658 $as_echo "$CC" >&6; }
3659 else
3660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661 $as_echo "no" >&6; }
3665   fi
3667 if test -z "$CC"; then
3668   # Extract the first word of "cc", so it can be a program name with args.
3669 set dummy cc; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_CC+:} false; then :
3673   $as_echo_n "(cached) " >&6
3674 else
3675   if test -n "$CC"; then
3676   ac_cv_prog_CC="$CC" # Let the user override the test.
3677 else
3678   ac_prog_rejected=no
3679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680 for as_dir in $PATH
3682   IFS=$as_save_IFS
3683   test -z "$as_dir" && as_dir=.
3684     for ac_exec_ext in '' $ac_executable_extensions; do
3685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3686     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3687        ac_prog_rejected=yes
3688        continue
3689      fi
3690     ac_cv_prog_CC="cc"
3691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3692     break 2
3693   fi
3694 done
3695   done
3696 IFS=$as_save_IFS
3698 if test $ac_prog_rejected = yes; then
3699   # We found a bogon in the path, so make sure we never use it.
3700   set dummy $ac_cv_prog_CC
3701   shift
3702   if test $@%:@ != 0; then
3703     # We chose a different compiler from the bogus one.
3704     # However, it has the same basename, so the bogon will be chosen
3705     # first if we set CC to just the basename; use the full file name.
3706     shift
3707     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3708   fi
3712 CC=$ac_cv_prog_CC
3713 if test -n "$CC"; then
3714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3715 $as_echo "$CC" >&6; }
3716 else
3717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3718 $as_echo "no" >&6; }
3723 if test -z "$CC"; then
3724   if test -n "$ac_tool_prefix"; then
3725   for ac_prog in cl.exe
3726   do
3727     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3728 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if ${ac_cv_prog_CC+:} false; then :
3732   $as_echo_n "(cached) " >&6
3733 else
3734   if test -n "$CC"; then
3735   ac_cv_prog_CC="$CC" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740   IFS=$as_save_IFS
3741   test -z "$as_dir" && as_dir=.
3742     for ac_exec_ext in '' $ac_executable_extensions; do
3743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3744     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746     break 2
3747   fi
3748 done
3749   done
3750 IFS=$as_save_IFS
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3764     test -n "$CC" && break
3765   done
3767 if test -z "$CC"; then
3768   ac_ct_CC=$CC
3769   for ac_prog in cl.exe
3771   # Extract the first word of "$ac_prog", so it can be a program name with args.
3772 set dummy $ac_prog; ac_word=$2
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774 $as_echo_n "checking for $ac_word... " >&6; }
3775 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3776   $as_echo_n "(cached) " >&6
3777 else
3778   if test -n "$ac_ct_CC"; then
3779   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3780 else
3781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 for as_dir in $PATH
3784   IFS=$as_save_IFS
3785   test -z "$as_dir" && as_dir=.
3786     for ac_exec_ext in '' $ac_executable_extensions; do
3787   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3788     ac_cv_prog_ac_ct_CC="$ac_prog"
3789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3790     break 2
3791   fi
3792 done
3793   done
3794 IFS=$as_save_IFS
3798 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3799 if test -n "$ac_ct_CC"; then
3800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3801 $as_echo "$ac_ct_CC" >&6; }
3802 else
3803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 $as_echo "no" >&6; }
3808   test -n "$ac_ct_CC" && break
3809 done
3811   if test "x$ac_ct_CC" = x; then
3812     CC=""
3813   else
3814     case $cross_compiling:$ac_tool_warned in
3815 yes:)
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3818 ac_tool_warned=yes ;;
3819 esac
3820     CC=$ac_ct_CC
3821   fi
3827 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3829 as_fn_error $? "no acceptable C compiler found in \$PATH
3830 See \`config.log' for more details" "$LINENO" 5; }
3832 # Provide some information about the compiler.
3833 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3834 set X $ac_compile
3835 ac_compiler=$2
3836 for ac_option in --version -v -V -qversion; do
3837   { { ac_try="$ac_compiler $ac_option >&5"
3838 case "(($ac_try" in
3839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3840   *) ac_try_echo=$ac_try;;
3841 esac
3842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3843 $as_echo "$ac_try_echo"; } >&5
3844   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3845   ac_status=$?
3846   if test -s conftest.err; then
3847     sed '10a\
3848 ... rest of stderr output deleted ...
3849          10q' conftest.err >conftest.er1
3850     cat conftest.er1 >&5
3851   fi
3852   rm -f conftest.er1 conftest.err
3853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3854   test $ac_status = 0; }
3855 done
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h.  */
3861 main ()
3864   ;
3865   return 0;
3867 _ACEOF
3868 ac_clean_files_save=$ac_clean_files
3869 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3870 # Try to create an executable without -o first, disregard a.out.
3871 # It will help us diagnose broken compilers, and finding out an intuition
3872 # of exeext.
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3874 $as_echo_n "checking whether the C compiler works... " >&6; }
3875 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3877 # The possible output files:
3878 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3880 ac_rmfiles=
3881 for ac_file in $ac_files
3883   case $ac_file in
3884     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3885     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3886   esac
3887 done
3888 rm -f $ac_rmfiles
3890 if { { ac_try="$ac_link_default"
3891 case "(($ac_try" in
3892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893   *) ac_try_echo=$ac_try;;
3894 esac
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897   (eval "$ac_link_default") 2>&5
3898   ac_status=$?
3899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900   test $ac_status = 0; }; then :
3901   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3902 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3903 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3904 # so that the user can short-circuit this test for compilers unknown to
3905 # Autoconf.
3906 for ac_file in $ac_files ''
3908   test -f "$ac_file" || continue
3909   case $ac_file in
3910     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3911         ;;
3912     [ab].out )
3913         # We found the default executable, but exeext='' is most
3914         # certainly right.
3915         break;;
3916     *.* )
3917         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3918         then :; else
3919            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3920         fi
3921         # We set ac_cv_exeext here because the later test for it is not
3922         # safe: cross compilers may not add the suffix if given an `-o'
3923         # argument, so we may need to know it at that point already.
3924         # Even if this section looks crufty: it has the advantage of
3925         # actually working.
3926         break;;
3927     * )
3928         break;;
3929   esac
3930 done
3931 test "$ac_cv_exeext" = no && ac_cv_exeext=
3933 else
3934   ac_file=''
3936 if test -z "$ac_file"; then :
3937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3939 $as_echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944 as_fn_error 77 "C compiler cannot create executables
3945 See \`config.log' for more details" "$LINENO" 5; }
3946 else
3947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3948 $as_echo "yes" >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3951 $as_echo_n "checking for C compiler default output file name... " >&6; }
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3953 $as_echo "$ac_file" >&6; }
3954 ac_exeext=$ac_cv_exeext
3956 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3957 ac_clean_files=$ac_clean_files_save
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3959 $as_echo_n "checking for suffix of executables... " >&6; }
3960 if { { ac_try="$ac_link"
3961 case "(($ac_try" in
3962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963   *) ac_try_echo=$ac_try;;
3964 esac
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967   (eval "$ac_link") 2>&5
3968   ac_status=$?
3969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970   test $ac_status = 0; }; then :
3971   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3972 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3973 # work properly (i.e., refer to `conftest.exe'), while it won't with
3974 # `rm'.
3975 for ac_file in conftest.exe conftest conftest.*; do
3976   test -f "$ac_file" || continue
3977   case $ac_file in
3978     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3979     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3980           break;;
3981     * ) break;;
3982   esac
3983 done
3984 else
3985   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3988 See \`config.log' for more details" "$LINENO" 5; }
3990 rm -f conftest conftest$ac_cv_exeext
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3992 $as_echo "$ac_cv_exeext" >&6; }
3994 rm -f conftest.$ac_ext
3995 EXEEXT=$ac_cv_exeext
3996 ac_exeext=$EXEEXT
3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h.  */
3999 @%:@include <stdio.h>
4001 main ()
4003 FILE *f = fopen ("conftest.out", "w");
4004  return ferror (f) || fclose (f) != 0;
4006   ;
4007   return 0;
4009 _ACEOF
4010 ac_clean_files="$ac_clean_files conftest.out"
4011 # Check that the compiler produces executables we can run.  If not, either
4012 # the compiler is broken, or we cross compile.
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4014 $as_echo_n "checking whether we are cross compiling... " >&6; }
4015 if test "$cross_compiling" != yes; then
4016   { { ac_try="$ac_link"
4017 case "(($ac_try" in
4018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019   *) ac_try_echo=$ac_try;;
4020 esac
4021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4022 $as_echo "$ac_try_echo"; } >&5
4023   (eval "$ac_link") 2>&5
4024   ac_status=$?
4025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4026   test $ac_status = 0; }
4027   if { ac_try='./conftest$ac_cv_exeext'
4028   { { case "(($ac_try" in
4029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030   *) ac_try_echo=$ac_try;;
4031 esac
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034   (eval "$ac_try") 2>&5
4035   ac_status=$?
4036   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037   test $ac_status = 0; }; }; then
4038     cross_compiling=no
4039   else
4040     if test "$cross_compiling" = maybe; then
4041         cross_compiling=yes
4042     else
4043         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4045 as_fn_error $? "cannot run C compiled programs.
4046 If you meant to cross compile, use \`--host'.
4047 See \`config.log' for more details" "$LINENO" 5; }
4048     fi
4049   fi
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4052 $as_echo "$cross_compiling" >&6; }
4054 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4055 ac_clean_files=$ac_clean_files_save
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4057 $as_echo_n "checking for suffix of object files... " >&6; }
4058 if ${ac_cv_objext+:} false; then :
4059   $as_echo_n "(cached) " >&6
4060 else
4061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h.  */
4065 main ()
4068   ;
4069   return 0;
4071 _ACEOF
4072 rm -f conftest.o conftest.obj
4073 if { { ac_try="$ac_compile"
4074 case "(($ac_try" in
4075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076   *) ac_try_echo=$ac_try;;
4077 esac
4078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4079 $as_echo "$ac_try_echo"; } >&5
4080   (eval "$ac_compile") 2>&5
4081   ac_status=$?
4082   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4083   test $ac_status = 0; }; then :
4084   for ac_file in conftest.o conftest.obj conftest.*; do
4085   test -f "$ac_file" || continue;
4086   case $ac_file in
4087     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4088     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4089        break;;
4090   esac
4091 done
4092 else
4093   $as_echo "$as_me: failed program was:" >&5
4094 sed 's/^/| /' conftest.$ac_ext >&5
4096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4098 as_fn_error $? "cannot compute suffix of object files: cannot compile
4099 See \`config.log' for more details" "$LINENO" 5; }
4101 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4104 $as_echo "$ac_cv_objext" >&6; }
4105 OBJEXT=$ac_cv_objext
4106 ac_objext=$OBJEXT
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4108 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4109 if ${ac_cv_c_compiler_gnu+:} false; then :
4110   $as_echo_n "(cached) " >&6
4111 else
4112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h.  */
4116 main ()
4118 #ifndef __GNUC__
4119        choke me
4120 #endif
4122   ;
4123   return 0;
4125 _ACEOF
4126 if ac_fn_c_try_compile "$LINENO"; then :
4127   ac_compiler_gnu=yes
4128 else
4129   ac_compiler_gnu=no
4131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4132 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4136 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4137 if test $ac_compiler_gnu = yes; then
4138   GCC=yes
4139 else
4140   GCC=
4142 ac_test_CFLAGS=${CFLAGS+set}
4143 ac_save_CFLAGS=$CFLAGS
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4145 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4146 if ${ac_cv_prog_cc_g+:} false; then :
4147   $as_echo_n "(cached) " >&6
4148 else
4149   ac_save_c_werror_flag=$ac_c_werror_flag
4150    ac_c_werror_flag=yes
4151    ac_cv_prog_cc_g=no
4152    CFLAGS="-g"
4153    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h.  */
4157 main ()
4160   ;
4161   return 0;
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165   ac_cv_prog_cc_g=yes
4166 else
4167   CFLAGS=""
4168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h.  */
4172 main ()
4175   ;
4176   return 0;
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180   
4181 else
4182   ac_c_werror_flag=$ac_save_c_werror_flag
4183          CFLAGS="-g"
4184          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h.  */
4188 main ()
4191   ;
4192   return 0;
4194 _ACEOF
4195 if ac_fn_c_try_compile "$LINENO"; then :
4196   ac_cv_prog_cc_g=yes
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4203    ac_c_werror_flag=$ac_save_c_werror_flag
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4206 $as_echo "$ac_cv_prog_cc_g" >&6; }
4207 if test "$ac_test_CFLAGS" = set; then
4208   CFLAGS=$ac_save_CFLAGS
4209 elif test $ac_cv_prog_cc_g = yes; then
4210   if test "$GCC" = yes; then
4211     CFLAGS="-g -O2"
4212   else
4213     CFLAGS="-g"
4214   fi
4215 else
4216   if test "$GCC" = yes; then
4217     CFLAGS="-O2"
4218   else
4219     CFLAGS=
4220   fi
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4223 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4224 if ${ac_cv_prog_cc_c89+:} false; then :
4225   $as_echo_n "(cached) " >&6
4226 else
4227   ac_cv_prog_cc_c89=no
4228 ac_save_CC=$CC
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h.  */
4231 #include <stdarg.h>
4232 #include <stdio.h>
4233 struct stat;
4234 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4235 struct buf { int x; };
4236 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4237 static char *e (p, i)
4238      char **p;
4239      int i;
4241   return p[i];
4243 static char *f (char * (*g) (char **, int), char **p, ...)
4245   char *s;
4246   va_list v;
4247   va_start (v,p);
4248   s = g (p, va_arg (v,int));
4249   va_end (v);
4250   return s;
4253 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4254    function prototypes and stuff, but not '\xHH' hex character constants.
4255    These don't provoke an error unfortunately, instead are silently treated
4256    as 'x'.  The following induces an error, until -std is added to get
4257    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4258    array size at least.  It's necessary to write '\x00'==0 to get something
4259    that's true only with -std.  */
4260 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4262 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4263    inside strings and character constants.  */
4264 #define FOO(x) 'x'
4265 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4267 int test (int i, double x);
4268 struct s1 {int (*f) (int a);};
4269 struct s2 {int (*f) (double a);};
4270 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4271 int argc;
4272 char **argv;
4274 main ()
4276 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4277   ;
4278   return 0;
4280 _ACEOF
4281 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4282         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4284   CC="$ac_save_CC $ac_arg"
4285   if ac_fn_c_try_compile "$LINENO"; then :
4286   ac_cv_prog_cc_c89=$ac_arg
4288 rm -f core conftest.err conftest.$ac_objext
4289   test "x$ac_cv_prog_cc_c89" != "xno" && break
4290 done
4291 rm -f conftest.$ac_ext
4292 CC=$ac_save_CC
4295 # AC_CACHE_VAL
4296 case "x$ac_cv_prog_cc_c89" in
4297   x)
4298     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4299 $as_echo "none needed" >&6; } ;;
4300   xno)
4301     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4302 $as_echo "unsupported" >&6; } ;;
4303   *)
4304     CC="$CC $ac_cv_prog_cc_c89"
4305     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4306 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4307 esac
4308 if test "x$ac_cv_prog_cc_c89" != xno; then :
4309   
4312 ac_ext=c
4313 ac_cpp='$CPP $CPPFLAGS'
4314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4317 DEPDIR="${am__leading_dot}deps"
4319 ac_config_commands="$ac_config_commands depfiles"
4322 am_make=${MAKE-make}
4323 cat > confinc << 'END'
4324 am__doit:
4325         @echo this is the am__doit target
4326 .PHONY: am__doit
4328 # If we don't find an include directive, just comment out the code.
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4330 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4331 am__include="#"
4332 am__quote=
4333 _am_result=none
4334 # First try GNU make style include.
4335 echo "include confinc" > confmf
4336 # Ignore all kinds of additional output from `make'.
4337 case `$am_make -s -f confmf 2> /dev/null` in #(
4338 *the\ am__doit\ target*)
4339   am__include=include
4340   am__quote=
4341   _am_result=GNU
4342   ;;
4343 esac
4344 # Now try BSD make style include.
4345 if test "$am__include" = "#"; then
4346    echo '.include "confinc"' > confmf
4347    case `$am_make -s -f confmf 2> /dev/null` in #(
4348    *the\ am__doit\ target*)
4349      am__include=.include
4350      am__quote="\""
4351      _am_result=BSD
4352      ;;
4353    esac
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4358 $as_echo "$_am_result" >&6; }
4359 rm -f confinc confmf
4361 @%:@ Check whether --enable-dependency-tracking was given.
4362 if test "${enable_dependency_tracking+set}" = set; then :
4363   enableval=$enable_dependency_tracking; 
4366 if test "x$enable_dependency_tracking" != xno; then
4367   am_depcomp="$ac_aux_dir/depcomp"
4368   AMDEPBACKSLASH='\'
4370  if test "x$enable_dependency_tracking" != xno; then
4371   AMDEP_TRUE=
4372   AMDEP_FALSE='#'
4373 else
4374   AMDEP_TRUE='#'
4375   AMDEP_FALSE=
4380 depcc="$CC"   am_compiler_list=
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4383 $as_echo_n "checking dependency style of $depcc... " >&6; }
4384 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4385   $as_echo_n "(cached) " >&6
4386 else
4387   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4388   # We make a subdir and do the tests there.  Otherwise we can end up
4389   # making bogus files that we don't know about and never remove.  For
4390   # instance it was reported that on HP-UX the gcc test will end up
4391   # making a dummy file named `D' -- because `-MD' means `put the output
4392   # in D'.
4393   mkdir conftest.dir
4394   # Copy depcomp to subdir because otherwise we won't find it if we're
4395   # using a relative directory.
4396   cp "$am_depcomp" conftest.dir
4397   cd conftest.dir
4398   # We will build objects and dependencies in a subdirectory because
4399   # it helps to detect inapplicable dependency modes.  For instance
4400   # both Tru64's cc and ICC support -MD to output dependencies as a
4401   # side effect of compilation, but ICC will put the dependencies in
4402   # the current directory while Tru64 will put them in the object
4403   # directory.
4404   mkdir sub
4406   am_cv_CC_dependencies_compiler_type=none
4407   if test "$am_compiler_list" = ""; then
4408      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4409   fi
4410   am__universal=false
4411   case " $depcc " in #(
4412      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4413      esac
4415   for depmode in $am_compiler_list; do
4416     # Setup a source with many dependencies, because some compilers
4417     # like to wrap large dependency lists on column 80 (with \), and
4418     # we should not choose a depcomp mode which is confused by this.
4419     #
4420     # We need to recreate these files for each test, as the compiler may
4421     # overwrite some of them when testing with obscure command lines.
4422     # This happens at least with the AIX C compiler.
4423     : > sub/conftest.c
4424     for i in 1 2 3 4 5 6; do
4425       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4426       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4427       # Solaris 8's {/usr,}/bin/sh.
4428       touch sub/conftst$i.h
4429     done
4430     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4432     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4433     # mode.  It turns out that the SunPro C++ compiler does not properly
4434     # handle `-M -o', and we need to detect this.  Also, some Intel
4435     # versions had trouble with output in subdirs
4436     am__obj=sub/conftest.${OBJEXT-o}
4437     am__minus_obj="-o $am__obj"
4438     case $depmode in
4439     gcc)
4440       # This depmode causes a compiler race in universal mode.
4441       test "$am__universal" = false || continue
4442       ;;
4443     nosideeffect)
4444       # after this tag, mechanisms are not by side-effect, so they'll
4445       # only be used when explicitly requested
4446       if test "x$enable_dependency_tracking" = xyes; then
4447         continue
4448       else
4449         break
4450       fi
4451       ;;
4452     msvisualcpp | msvcmsys)
4453       # This compiler won't grok `-c -o', but also, the minuso test has
4454       # not run yet.  These depmodes are late enough in the game, and
4455       # so weak that their functioning should not be impacted.
4456       am__obj=conftest.${OBJEXT-o}
4457       am__minus_obj=
4458       ;;
4459     none) break ;;
4460     esac
4461     if depmode=$depmode \
4462        source=sub/conftest.c object=$am__obj \
4463        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4464        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4465          >/dev/null 2>conftest.err &&
4466        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4467        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4468        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4469        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4470       # icc doesn't choke on unknown options, it will just issue warnings
4471       # or remarks (even with -Werror).  So we grep stderr for any message
4472       # that says an option was ignored or not supported.
4473       # When given -MP, icc 7.0 and 7.1 complain thusly:
4474       #   icc: Command line warning: ignoring option '-M'; no argument required
4475       # The diagnosis changed in icc 8.0:
4476       #   icc: Command line remark: option '-MP' not supported
4477       if (grep 'ignoring option' conftest.err ||
4478           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4479         am_cv_CC_dependencies_compiler_type=$depmode
4480         break
4481       fi
4482     fi
4483   done
4485   cd ..
4486   rm -rf conftest.dir
4487 else
4488   am_cv_CC_dependencies_compiler_type=none
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4493 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4494 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4496  if 
4497   test "x$enable_dependency_tracking" != xno \
4498   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4499   am__fastdepCC_TRUE=
4500   am__fastdepCC_FALSE='#'
4501 else
4502   am__fastdepCC_TRUE='#'
4503   am__fastdepCC_FALSE=
4507    case $ac_cv_prog_cc_stdc in @%:@(
4508   no) :
4509     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; @%:@(
4510   *) :
4511     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4512 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4513 if ${ac_cv_prog_cc_c99+:} false; then :
4514   $as_echo_n "(cached) " >&6
4515 else
4516   ac_cv_prog_cc_c99=no
4517 ac_save_CC=$CC
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h.  */
4520 #include <stdarg.h>
4521 #include <stdbool.h>
4522 #include <stdlib.h>
4523 #include <wchar.h>
4524 #include <stdio.h>
4526 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4527 #define debug(...) fprintf (stderr, __VA_ARGS__)
4528 #define showlist(...) puts (#__VA_ARGS__)
4529 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4530 static void
4531 test_varargs_macros (void)
4533   int x = 1234;
4534   int y = 5678;
4535   debug ("Flag");
4536   debug ("X = %d\n", x);
4537   showlist (The first, second, and third items.);
4538   report (x>y, "x is %d but y is %d", x, y);
4541 // Check long long types.
4542 #define BIG64 18446744073709551615ull
4543 #define BIG32 4294967295ul
4544 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4545 #if !BIG_OK
4546   your preprocessor is broken;
4547 #endif
4548 #if BIG_OK
4549 #else
4550   your preprocessor is broken;
4551 #endif
4552 static long long int bignum = -9223372036854775807LL;
4553 static unsigned long long int ubignum = BIG64;
4555 struct incomplete_array
4557   int datasize;
4558   double data[];
4561 struct named_init {
4562   int number;
4563   const wchar_t *name;
4564   double average;
4567 typedef const char *ccp;
4569 static inline int
4570 test_restrict (ccp restrict text)
4572   // See if C++-style comments work.
4573   // Iterate through items via the restricted pointer.
4574   // Also check for declarations in for loops.
4575   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4576     continue;
4577   return 0;
4580 // Check varargs and va_copy.
4581 static void
4582 test_varargs (const char *format, ...)
4584   va_list args;
4585   va_start (args, format);
4586   va_list args_copy;
4587   va_copy (args_copy, args);
4589   const char *str;
4590   int number;
4591   float fnumber;
4593   while (*format)
4594     {
4595       switch (*format++)
4596         {
4597         case 's': // string
4598           str = va_arg (args_copy, const char *);
4599           break;
4600         case 'd': // int
4601           number = va_arg (args_copy, int);
4602           break;
4603         case 'f': // float
4604           fnumber = va_arg (args_copy, double);
4605           break;
4606         default:
4607           break;
4608         }
4609     }
4610   va_end (args_copy);
4611   va_end (args);
4615 main ()
4618   // Check bool.
4619   _Bool success = false;
4621   // Check restrict.
4622   if (test_restrict ("String literal") == 0)
4623     success = true;
4624   char *restrict newvar = "Another string";
4626   // Check varargs.
4627   test_varargs ("s, d' f .", "string", 65, 34.234);
4628   test_varargs_macros ();
4630   // Check flexible array members.
4631   struct incomplete_array *ia =
4632     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4633   ia->datasize = 10;
4634   for (int i = 0; i < ia->datasize; ++i)
4635     ia->data[i] = i * 1.234;
4637   // Check named initializers.
4638   struct named_init ni = {
4639     .number = 34,
4640     .name = L"Test wide string",
4641     .average = 543.34343,
4642   };
4644   ni.number = 58;
4646   int dynamic_array[ni.number];
4647   dynamic_array[ni.number - 1] = 543;
4649   // work around unused variable warnings
4650   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4651           || dynamic_array[ni.number - 1] != 543);
4653   ;
4654   return 0;
4656 _ACEOF
4657 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4659   CC="$ac_save_CC $ac_arg"
4660   if ac_fn_c_try_compile "$LINENO"; then :
4661   ac_cv_prog_cc_c99=$ac_arg
4663 rm -f core conftest.err conftest.$ac_objext
4664   test "x$ac_cv_prog_cc_c99" != "xno" && break
4665 done
4666 rm -f conftest.$ac_ext
4667 CC=$ac_save_CC
4670 # AC_CACHE_VAL
4671 case "x$ac_cv_prog_cc_c99" in
4672   x)
4673     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4674 $as_echo "none needed" >&6; } ;;
4675   xno)
4676     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4677 $as_echo "unsupported" >&6; } ;;
4678   *)
4679     CC="$CC $ac_cv_prog_cc_c99"
4680     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4681 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4682 esac
4683 if test "x$ac_cv_prog_cc_c99" != xno; then :
4684   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4685 else
4686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4687 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4688 if ${ac_cv_prog_cc_c89+:} false; then :
4689   $as_echo_n "(cached) " >&6
4690 else
4691   ac_cv_prog_cc_c89=no
4692 ac_save_CC=$CC
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h.  */
4695 #include <stdarg.h>
4696 #include <stdio.h>
4697 struct stat;
4698 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4699 struct buf { int x; };
4700 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4701 static char *e (p, i)
4702      char **p;
4703      int i;
4705   return p[i];
4707 static char *f (char * (*g) (char **, int), char **p, ...)
4709   char *s;
4710   va_list v;
4711   va_start (v,p);
4712   s = g (p, va_arg (v,int));
4713   va_end (v);
4714   return s;
4717 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4718    function prototypes and stuff, but not '\xHH' hex character constants.
4719    These don't provoke an error unfortunately, instead are silently treated
4720    as 'x'.  The following induces an error, until -std is added to get
4721    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4722    array size at least.  It's necessary to write '\x00'==0 to get something
4723    that's true only with -std.  */
4724 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4726 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4727    inside strings and character constants.  */
4728 #define FOO(x) 'x'
4729 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4731 int test (int i, double x);
4732 struct s1 {int (*f) (int a);};
4733 struct s2 {int (*f) (double a);};
4734 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4735 int argc;
4736 char **argv;
4738 main ()
4740 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4741   ;
4742   return 0;
4744 _ACEOF
4745 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4746         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4748   CC="$ac_save_CC $ac_arg"
4749   if ac_fn_c_try_compile "$LINENO"; then :
4750   ac_cv_prog_cc_c89=$ac_arg
4752 rm -f core conftest.err conftest.$ac_objext
4753   test "x$ac_cv_prog_cc_c89" != "xno" && break
4754 done
4755 rm -f conftest.$ac_ext
4756 CC=$ac_save_CC
4759 # AC_CACHE_VAL
4760 case "x$ac_cv_prog_cc_c89" in
4761   x)
4762     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4763 $as_echo "none needed" >&6; } ;;
4764   xno)
4765     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4766 $as_echo "unsupported" >&6; } ;;
4767   *)
4768     CC="$CC $ac_cv_prog_cc_c89"
4769     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4770 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4771 esac
4772 if test "x$ac_cv_prog_cc_c89" != xno; then :
4773   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4774 else
4775   ac_cv_prog_cc_stdc=no
4779  ;;
4780 esac
4781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4782 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4783   if ${ac_cv_prog_cc_stdc+:} false; then :
4784   $as_echo_n "(cached) " >&6
4787   case $ac_cv_prog_cc_stdc in @%:@(
4788   no) :
4789     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4790 $as_echo "unsupported" >&6; } ;; @%:@(
4791   '') :
4792     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4793 $as_echo "none needed" >&6; } ;; @%:@(
4794   *) :
4795     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4796 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4797 esac
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4801 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4802 set x ${MAKE-make}
4803 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4804 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4805   $as_echo_n "(cached) " >&6
4806 else
4807   cat >conftest.make <<\_ACEOF
4808 SHELL = /bin/sh
4809 all:
4810         @echo '@@@%%%=$(MAKE)=@@@%%%'
4811 _ACEOF
4812 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4813 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4814   *@@@%%%=?*=@@@%%%*)
4815     eval ac_cv_prog_make_${ac_make}_set=yes;;
4816   *)
4817     eval ac_cv_prog_make_${ac_make}_set=no;;
4818 esac
4819 rm -f conftest.make
4821 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4823 $as_echo "yes" >&6; }
4824   SET_MAKE=
4825 else
4826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4828   SET_MAKE="MAKE=${MAKE-make}"
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4832 $as_echo_n "checking whether ln -s works... " >&6; }
4833 LN_S=$as_ln_s
4834 if test "$LN_S" = "ln -s"; then
4835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4837 else
4838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4839 $as_echo "no, using $LN_S" >&6; }
4842 for ac_prog in gawk mawk nawk awk
4844   # Extract the first word of "$ac_prog", so it can be a program name with args.
4845 set dummy $ac_prog; ac_word=$2
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847 $as_echo_n "checking for $ac_word... " >&6; }
4848 if ${ac_cv_prog_AWK+:} false; then :
4849   $as_echo_n "(cached) " >&6
4850 else
4851   if test -n "$AWK"; then
4852   ac_cv_prog_AWK="$AWK" # Let the user override the test.
4853 else
4854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4855 for as_dir in $PATH
4857   IFS=$as_save_IFS
4858   test -z "$as_dir" && as_dir=.
4859     for ac_exec_ext in '' $ac_executable_extensions; do
4860   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4861     ac_cv_prog_AWK="$ac_prog"
4862     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863     break 2
4864   fi
4865 done
4866   done
4867 IFS=$as_save_IFS
4871 AWK=$ac_cv_prog_AWK
4872 if test -n "$AWK"; then
4873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4874 $as_echo "$AWK" >&6; }
4875 else
4876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877 $as_echo "no" >&6; }
4881   test -n "$AWK" && break
4882 done
4884 if test -n "$ac_tool_prefix"; then
4885   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4888 $as_echo_n "checking for $ac_word... " >&6; }
4889 if ${ac_cv_prog_RANLIB+:} false; then :
4890   $as_echo_n "(cached) " >&6
4891 else
4892   if test -n "$RANLIB"; then
4893   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4894 else
4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 for as_dir in $PATH
4898   IFS=$as_save_IFS
4899   test -z "$as_dir" && as_dir=.
4900     for ac_exec_ext in '' $ac_executable_extensions; do
4901   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4902     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4904     break 2
4905   fi
4906 done
4907   done
4908 IFS=$as_save_IFS
4912 RANLIB=$ac_cv_prog_RANLIB
4913 if test -n "$RANLIB"; then
4914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4915 $as_echo "$RANLIB" >&6; }
4916 else
4917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4923 if test -z "$ac_cv_prog_RANLIB"; then
4924   ac_ct_RANLIB=$RANLIB
4925   # Extract the first word of "ranlib", so it can be a program name with args.
4926 set dummy ranlib; ac_word=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4930   $as_echo_n "(cached) " >&6
4931 else
4932   if test -n "$ac_ct_RANLIB"; then
4933   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4934 else
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936 for as_dir in $PATH
4938   IFS=$as_save_IFS
4939   test -z "$as_dir" && as_dir=.
4940     for ac_exec_ext in '' $ac_executable_extensions; do
4941   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4942     ac_cv_prog_ac_ct_RANLIB="ranlib"
4943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4944     break 2
4945   fi
4946 done
4947   done
4948 IFS=$as_save_IFS
4952 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4953 if test -n "$ac_ct_RANLIB"; then
4954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4955 $as_echo "$ac_ct_RANLIB" >&6; }
4956 else
4957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4961   if test "x$ac_ct_RANLIB" = x; then
4962     RANLIB=":"
4963   else
4964     case $cross_compiling:$ac_tool_warned in
4965 yes:)
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4968 ac_tool_warned=yes ;;
4969 esac
4970     RANLIB=$ac_ct_RANLIB
4971   fi
4972 else
4973   RANLIB="$ac_cv_prog_RANLIB"
4976 case `pwd` in
4977   *\ * | *\     *)
4978     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4979 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4980 esac
4984 macro_version='2.2.6b'
4985 macro_revision='1.3018'
4987     
4988     
4989     
4992     
4993     
4994     
4999 ltmain="$ac_aux_dir/ltmain.sh"
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5002 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5003 if ${ac_cv_path_SED+:} false; then :
5004   $as_echo_n "(cached) " >&6
5005 else
5006             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5007      for ac_i in 1 2 3 4 5 6 7; do
5008        ac_script="$ac_script$as_nl$ac_script"
5009      done
5010      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5011      { ac_script=; unset ac_script;}
5012      if test -z "$SED"; then
5013   ac_path_SED_found=false
5014   # Loop through the user's path and test for each of PROGNAME-LIST
5015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 for as_dir in $PATH
5018   IFS=$as_save_IFS
5019   test -z "$as_dir" && as_dir=.
5020     for ac_prog in sed gsed; do
5021     for ac_exec_ext in '' $ac_executable_extensions; do
5022       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5023       as_fn_executable_p "$ac_path_SED" || continue
5024 # Check for GNU ac_path_SED and select it if it is found.
5025   # Check for GNU $ac_path_SED
5026 case `"$ac_path_SED" --version 2>&1` in
5027 *GNU*)
5028   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5030   ac_count=0
5031   $as_echo_n 0123456789 >"conftest.in"
5032   while :
5033   do
5034     cat "conftest.in" "conftest.in" >"conftest.tmp"
5035     mv "conftest.tmp" "conftest.in"
5036     cp "conftest.in" "conftest.nl"
5037     $as_echo '' >> "conftest.nl"
5038     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5039     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5040     as_fn_arith $ac_count + 1 && ac_count=$as_val
5041     if test $ac_count -gt ${ac_path_SED_max-0}; then
5042       # Best one so far, save it but keep looking for a better one
5043       ac_cv_path_SED="$ac_path_SED"
5044       ac_path_SED_max=$ac_count
5045     fi
5046     # 10*(2^10) chars as input seems more than enough
5047     test $ac_count -gt 10 && break
5048   done
5049   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5050 esac
5052       $ac_path_SED_found && break 3
5053     done
5054   done
5055   done
5056 IFS=$as_save_IFS
5057   if test -z "$ac_cv_path_SED"; then
5058     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5059   fi
5060 else
5061   ac_cv_path_SED=$SED
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5066 $as_echo "$ac_cv_path_SED" >&6; }
5067  SED="$ac_cv_path_SED"
5068   rm -f conftest.sed
5070 test -z "$SED" && SED=sed
5071 Xsed="$SED -e 1s/^X//"
5073     
5074     
5075     
5078     
5079     
5080     
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5084 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5085 if ${ac_cv_path_GREP+:} false; then :
5086   $as_echo_n "(cached) " >&6
5087 else
5088   if test -z "$GREP"; then
5089   ac_path_GREP_found=false
5090   # Loop through the user's path and test for each of PROGNAME-LIST
5091   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5094   IFS=$as_save_IFS
5095   test -z "$as_dir" && as_dir=.
5096     for ac_prog in grep ggrep; do
5097     for ac_exec_ext in '' $ac_executable_extensions; do
5098       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5099       as_fn_executable_p "$ac_path_GREP" || continue
5100 # Check for GNU ac_path_GREP and select it if it is found.
5101   # Check for GNU $ac_path_GREP
5102 case `"$ac_path_GREP" --version 2>&1` in
5103 *GNU*)
5104   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5106   ac_count=0
5107   $as_echo_n 0123456789 >"conftest.in"
5108   while :
5109   do
5110     cat "conftest.in" "conftest.in" >"conftest.tmp"
5111     mv "conftest.tmp" "conftest.in"
5112     cp "conftest.in" "conftest.nl"
5113     $as_echo 'GREP' >> "conftest.nl"
5114     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5115     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5116     as_fn_arith $ac_count + 1 && ac_count=$as_val
5117     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5118       # Best one so far, save it but keep looking for a better one
5119       ac_cv_path_GREP="$ac_path_GREP"
5120       ac_path_GREP_max=$ac_count
5121     fi
5122     # 10*(2^10) chars as input seems more than enough
5123     test $ac_count -gt 10 && break
5124   done
5125   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5126 esac
5128       $ac_path_GREP_found && break 3
5129     done
5130   done
5131   done
5132 IFS=$as_save_IFS
5133   if test -z "$ac_cv_path_GREP"; then
5134     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5135   fi
5136 else
5137   ac_cv_path_GREP=$GREP
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5142 $as_echo "$ac_cv_path_GREP" >&6; }
5143  GREP="$ac_cv_path_GREP"
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5147 $as_echo_n "checking for egrep... " >&6; }
5148 if ${ac_cv_path_EGREP+:} false; then :
5149   $as_echo_n "(cached) " >&6
5150 else
5151   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5152    then ac_cv_path_EGREP="$GREP -E"
5153    else
5154      if test -z "$EGREP"; then
5155   ac_path_EGREP_found=false
5156   # Loop through the user's path and test for each of PROGNAME-LIST
5157   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5160   IFS=$as_save_IFS
5161   test -z "$as_dir" && as_dir=.
5162     for ac_prog in egrep; do
5163     for ac_exec_ext in '' $ac_executable_extensions; do
5164       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5165       as_fn_executable_p "$ac_path_EGREP" || continue
5166 # Check for GNU ac_path_EGREP and select it if it is found.
5167   # Check for GNU $ac_path_EGREP
5168 case `"$ac_path_EGREP" --version 2>&1` in
5169 *GNU*)
5170   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5172   ac_count=0
5173   $as_echo_n 0123456789 >"conftest.in"
5174   while :
5175   do
5176     cat "conftest.in" "conftest.in" >"conftest.tmp"
5177     mv "conftest.tmp" "conftest.in"
5178     cp "conftest.in" "conftest.nl"
5179     $as_echo 'EGREP' >> "conftest.nl"
5180     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5181     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5182     as_fn_arith $ac_count + 1 && ac_count=$as_val
5183     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5184       # Best one so far, save it but keep looking for a better one
5185       ac_cv_path_EGREP="$ac_path_EGREP"
5186       ac_path_EGREP_max=$ac_count
5187     fi
5188     # 10*(2^10) chars as input seems more than enough
5189     test $ac_count -gt 10 && break
5190   done
5191   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5192 esac
5194       $ac_path_EGREP_found && break 3
5195     done
5196   done
5197   done
5198 IFS=$as_save_IFS
5199   if test -z "$ac_cv_path_EGREP"; then
5200     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5201   fi
5202 else
5203   ac_cv_path_EGREP=$EGREP
5206    fi
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5209 $as_echo "$ac_cv_path_EGREP" >&6; }
5210  EGREP="$ac_cv_path_EGREP"
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5214 $as_echo_n "checking for fgrep... " >&6; }
5215 if ${ac_cv_path_FGREP+:} false; then :
5216   $as_echo_n "(cached) " >&6
5217 else
5218   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5219    then ac_cv_path_FGREP="$GREP -F"
5220    else
5221      if test -z "$FGREP"; then
5222   ac_path_FGREP_found=false
5223   # Loop through the user's path and test for each of PROGNAME-LIST
5224   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5227   IFS=$as_save_IFS
5228   test -z "$as_dir" && as_dir=.
5229     for ac_prog in fgrep; do
5230     for ac_exec_ext in '' $ac_executable_extensions; do
5231       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5232       as_fn_executable_p "$ac_path_FGREP" || continue
5233 # Check for GNU ac_path_FGREP and select it if it is found.
5234   # Check for GNU $ac_path_FGREP
5235 case `"$ac_path_FGREP" --version 2>&1` in
5236 *GNU*)
5237   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5239   ac_count=0
5240   $as_echo_n 0123456789 >"conftest.in"
5241   while :
5242   do
5243     cat "conftest.in" "conftest.in" >"conftest.tmp"
5244     mv "conftest.tmp" "conftest.in"
5245     cp "conftest.in" "conftest.nl"
5246     $as_echo 'FGREP' >> "conftest.nl"
5247     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5248     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5249     as_fn_arith $ac_count + 1 && ac_count=$as_val
5250     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5251       # Best one so far, save it but keep looking for a better one
5252       ac_cv_path_FGREP="$ac_path_FGREP"
5253       ac_path_FGREP_max=$ac_count
5254     fi
5255     # 10*(2^10) chars as input seems more than enough
5256     test $ac_count -gt 10 && break
5257   done
5258   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5259 esac
5261       $ac_path_FGREP_found && break 3
5262     done
5263   done
5264   done
5265 IFS=$as_save_IFS
5266   if test -z "$ac_cv_path_FGREP"; then
5267     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5268   fi
5269 else
5270   ac_cv_path_FGREP=$FGREP
5273    fi
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5276 $as_echo "$ac_cv_path_FGREP" >&6; }
5277  FGREP="$ac_cv_path_FGREP"
5280 test -z "$GREP" && GREP=grep
5282     
5283     
5284     
5287     
5288     
5289     
5292     
5293     
5294     
5300 @%:@ Check whether --with-gnu-ld was given.
5301 if test "${with_gnu_ld+set}" = set; then :
5302   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5303 else
5304   with_gnu_ld=no
5307 ac_prog=ld
5308 if test "$GCC" = yes; then
5309   # Check if gcc -print-prog-name=ld gives a path.
5310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5311 $as_echo_n "checking for ld used by $CC... " >&6; }
5312   case $host in
5313   *-*-mingw*)
5314     # gcc leaves a trailing carriage return which upsets mingw
5315     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5316   *)
5317     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5318   esac
5319   case $ac_prog in
5320     # Accept absolute paths.
5321     [\\/]* | ?:[\\/]*)
5322       re_direlt='/[^/][^/]*/\.\./'
5323       # Canonicalize the pathname of ld
5324       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5325       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5326         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5327       done
5328       test -z "$LD" && LD="$ac_prog"
5329       ;;
5330   "")
5331     # If it fails, then pretend we aren't using GCC.
5332     ac_prog=ld
5333     ;;
5334   *)
5335     # If it is relative, then search for the first ld in PATH.
5336     with_gnu_ld=unknown
5337     ;;
5338   esac
5339 elif test "$with_gnu_ld" = yes; then
5340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5341 $as_echo_n "checking for GNU ld... " >&6; }
5342 else
5343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5344 $as_echo_n "checking for non-GNU ld... " >&6; }
5346 if ${lt_cv_path_LD+:} false; then :
5347   $as_echo_n "(cached) " >&6
5348 else
5349   if test -z "$LD"; then
5350   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5351   for ac_dir in $PATH; do
5352     IFS="$lt_save_ifs"
5353     test -z "$ac_dir" && ac_dir=.
5354     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5355       lt_cv_path_LD="$ac_dir/$ac_prog"
5356       # Check to see if the program is GNU ld.  I'd rather use --version,
5357       # but apparently some variants of GNU ld only accept -v.
5358       # Break only if it was the GNU/non-GNU ld that we prefer.
5359       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5360       *GNU* | *'with BFD'*)
5361         test "$with_gnu_ld" != no && break
5362         ;;
5363       *)
5364         test "$with_gnu_ld" != yes && break
5365         ;;
5366       esac
5367     fi
5368   done
5369   IFS="$lt_save_ifs"
5370 else
5371   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5375 LD="$lt_cv_path_LD"
5376 if test -n "$LD"; then
5377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5378 $as_echo "$LD" >&6; }
5379 else
5380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5383 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5385 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5386 if ${lt_cv_prog_gnu_ld+:} false; then :
5387   $as_echo_n "(cached) " >&6
5388 else
5389   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5390 case `$LD -v 2>&1 </dev/null` in
5391 *GNU* | *'with BFD'*)
5392   lt_cv_prog_gnu_ld=yes
5393   ;;
5395   lt_cv_prog_gnu_ld=no
5396   ;;
5397 esac
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5400 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5401 with_gnu_ld=$lt_cv_prog_gnu_ld
5406     
5407     
5408     
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5412 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5413 if ${lt_cv_path_NM+:} false; then :
5414   $as_echo_n "(cached) " >&6
5415 else
5416   if test -n "$NM"; then
5417   # Let the user override the test.
5418   lt_cv_path_NM="$NM"
5419 else
5420   lt_nm_to_check="${ac_tool_prefix}nm"
5421   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5422     lt_nm_to_check="$lt_nm_to_check nm"
5423   fi
5424   for lt_tmp_nm in $lt_nm_to_check; do
5425     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5426     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5427       IFS="$lt_save_ifs"
5428       test -z "$ac_dir" && ac_dir=.
5429       tmp_nm="$ac_dir/$lt_tmp_nm"
5430       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5431         # Check to see if the nm accepts a BSD-compat flag.
5432         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5433         #   nm: unknown option "B" ignored
5434         # Tru64's nm complains that /dev/null is an invalid object file
5435         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5436         */dev/null* | *'Invalid file or object type'*)
5437           lt_cv_path_NM="$tmp_nm -B"
5438           break
5439           ;;
5440         *)
5441           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5442           */dev/null*)
5443             lt_cv_path_NM="$tmp_nm -p"
5444             break
5445             ;;
5446           *)
5447             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5448             continue # so that we can try to find one that supports BSD flags
5449             ;;
5450           esac
5451           ;;
5452         esac
5453       fi
5454     done
5455     IFS="$lt_save_ifs"
5456   done
5457   : ${lt_cv_path_NM=no}
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5461 $as_echo "$lt_cv_path_NM" >&6; }
5462 if test "$lt_cv_path_NM" != "no"; then
5463   NM="$lt_cv_path_NM"
5464 else
5465   # Didn't find any BSD compatible name lister, look for dumpbin.
5466   if test -n "$ac_tool_prefix"; then
5467   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5468   do
5469     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5470 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_DUMPBIN+:} false; then :
5474   $as_echo_n "(cached) " >&6
5475 else
5476   if test -n "$DUMPBIN"; then
5477   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482   IFS=$as_save_IFS
5483   test -z "$as_dir" && as_dir=.
5484     for ac_exec_ext in '' $ac_executable_extensions; do
5485   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488     break 2
5489   fi
5490 done
5491   done
5492 IFS=$as_save_IFS
5496 DUMPBIN=$ac_cv_prog_DUMPBIN
5497 if test -n "$DUMPBIN"; then
5498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5499 $as_echo "$DUMPBIN" >&6; }
5500 else
5501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5506     test -n "$DUMPBIN" && break
5507   done
5509 if test -z "$DUMPBIN"; then
5510   ac_ct_DUMPBIN=$DUMPBIN
5511   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5513   # Extract the first word of "$ac_prog", so it can be a program name with args.
5514 set dummy $ac_prog; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5518   $as_echo_n "(cached) " >&6
5519 else
5520   if test -n "$ac_ct_DUMPBIN"; then
5521   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5526   IFS=$as_save_IFS
5527   test -z "$as_dir" && as_dir=.
5528     for ac_exec_ext in '' $ac_executable_extensions; do
5529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532     break 2
5533   fi
5534 done
5535   done
5536 IFS=$as_save_IFS
5540 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5541 if test -n "$ac_ct_DUMPBIN"; then
5542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5543 $as_echo "$ac_ct_DUMPBIN" >&6; }
5544 else
5545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5550   test -n "$ac_ct_DUMPBIN" && break
5551 done
5553   if test "x$ac_ct_DUMPBIN" = x; then
5554     DUMPBIN=":"
5555   else
5556     case $cross_compiling:$ac_tool_warned in
5557 yes:)
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5560 ac_tool_warned=yes ;;
5561 esac
5562     DUMPBIN=$ac_ct_DUMPBIN
5563   fi
5566   
5567   if test "$DUMPBIN" != ":"; then
5568     NM="$DUMPBIN"
5569   fi
5571 test -z "$NM" && NM=nm
5574     
5575     
5576     
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5579 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5580 if ${lt_cv_nm_interface+:} false; then :
5581   $as_echo_n "(cached) " >&6
5582 else
5583   lt_cv_nm_interface="BSD nm"
5584   echo "int some_variable = 0;" > conftest.$ac_ext
5585   (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5586   (eval "$ac_compile" 2>conftest.err)
5587   cat conftest.err >&5
5588   (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5589   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5590   cat conftest.err >&5
5591   (eval echo "\"\$as_me:__oline__: output\"" >&5)
5592   cat conftest.out >&5
5593   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5594     lt_cv_nm_interface="MS dumpbin"
5595   fi
5596   rm -f conftest*
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5599 $as_echo "$lt_cv_nm_interface" >&6; }
5601 # find the maximum length of command line arguments
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5603 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5604 if ${lt_cv_sys_max_cmd_len+:} false; then :
5605   $as_echo_n "(cached) " >&6
5606 else
5607     i=0
5608   teststring="ABCD"
5610   case $build_os in
5611   msdosdjgpp*)
5612     # On DJGPP, this test can blow up pretty badly due to problems in libc
5613     # (any single argument exceeding 2000 bytes causes a buffer overrun
5614     # during glob expansion).  Even if it were fixed, the result of this
5615     # check would be larger than it should be.
5616     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5617     ;;
5619   gnu*)
5620     # Under GNU Hurd, this test is not required because there is
5621     # no limit to the length of command line arguments.
5622     # Libtool will interpret -1 as no limit whatsoever
5623     lt_cv_sys_max_cmd_len=-1;
5624     ;;
5626   cygwin* | mingw* | cegcc*)
5627     # On Win9x/ME, this test blows up -- it succeeds, but takes
5628     # about 5 minutes as the teststring grows exponentially.
5629     # Worse, since 9x/ME are not pre-emptively multitasking,
5630     # you end up with a "frozen" computer, even though with patience
5631     # the test eventually succeeds (with a max line length of 256k).
5632     # Instead, let's just punt: use the minimum linelength reported by
5633     # all of the supported platforms: 8192 (on NT/2K/XP).
5634     lt_cv_sys_max_cmd_len=8192;
5635     ;;
5637   amigaos*)
5638     # On AmigaOS with pdksh, this test takes hours, literally.
5639     # So we just punt and use a minimum line length of 8192.
5640     lt_cv_sys_max_cmd_len=8192;
5641     ;;
5643   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5644     # This has been around since 386BSD, at least.  Likely further.
5645     if test -x /sbin/sysctl; then
5646       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5647     elif test -x /usr/sbin/sysctl; then
5648       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5649     else
5650       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5651     fi
5652     # And add a safety zone
5653     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5654     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5655     ;;
5657   interix*)
5658     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5659     lt_cv_sys_max_cmd_len=196608
5660     ;;
5662   osf*)
5663     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5664     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5665     # nice to cause kernel panics so lets avoid the loop below.
5666     # First set a reasonable default.
5667     lt_cv_sys_max_cmd_len=16384
5668     #
5669     if test -x /sbin/sysconfig; then
5670       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5671         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5672       esac
5673     fi
5674     ;;
5675   sco3.2v5*)
5676     lt_cv_sys_max_cmd_len=102400
5677     ;;
5678   sysv5* | sco5v6* | sysv4.2uw2*)
5679     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5680     if test -n "$kargmax"; then
5681       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5682     else
5683       lt_cv_sys_max_cmd_len=32768
5684     fi
5685     ;;
5686   *)
5687     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5688     if test -n "$lt_cv_sys_max_cmd_len"; then
5689       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5690       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5691     else
5692       # Make teststring a little bigger before we do anything with it.
5693       # a 1K string should be a reasonable start.
5694       for i in 1 2 3 4 5 6 7 8 ; do
5695         teststring=$teststring$teststring
5696       done
5697       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5698       # If test is not a shell built-in, we'll probably end up computing a
5699       # maximum length that is only half of the actual maximum length, but
5700       # we can't tell.
5701       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5702                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5703               test $i != 17 # 1/2 MB should be enough
5704       do
5705         i=`expr $i + 1`
5706         teststring=$teststring$teststring
5707       done
5708       # Only check the string length outside the loop.
5709       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5710       teststring=
5711       # Add a significant safety factor because C++ compilers can tack on
5712       # massive amounts of additional arguments before passing them to the
5713       # linker.  It appears as though 1/2 is a usable value.
5714       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5715     fi
5716     ;;
5717   esac
5721 if test -n $lt_cv_sys_max_cmd_len ; then
5722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5723 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5724 else
5725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5726 $as_echo "none" >&6; }
5728 max_cmd_len=$lt_cv_sys_max_cmd_len
5730     
5731     
5732     
5735 : ${CP="cp -f"}
5736 : ${MV="mv -f"}
5737 : ${RM="rm -f"}
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5740 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5741 # Try some XSI features
5742 xsi_shell=no
5743 ( _lt_dummy="a/b/c"
5744   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5745       = c,a/b,, \
5746     && eval 'test $(( 1 + 1 )) -eq 2 \
5747     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5748   && xsi_shell=yes
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5750 $as_echo "$xsi_shell" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5754 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5755 lt_shell_append=no
5756 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5757     >/dev/null 2>&1 \
5758   && lt_shell_append=yes
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5760 $as_echo "$lt_shell_append" >&6; }
5763 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5764   lt_unset=unset
5765 else
5766   lt_unset=false
5769     
5770     
5771     
5773 # test EBCDIC or ASCII
5774 case `echo X|tr X '\101'` in
5775  A) # ASCII based system
5776     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5777   lt_SP2NL='tr \040 \012'
5778   lt_NL2SP='tr \015\012 \040\040'
5779   ;;
5780  *) # EBCDIC based system
5781   lt_SP2NL='tr \100 \n'
5782   lt_NL2SP='tr \r\n \100\100'
5783   ;;
5784 esac
5786     
5787     
5788     
5790     
5791     
5792     
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5795 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5796 if ${lt_cv_ld_reload_flag+:} false; then :
5797   $as_echo_n "(cached) " >&6
5798 else
5799   lt_cv_ld_reload_flag='-r'
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5802 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5803 reload_flag=$lt_cv_ld_reload_flag
5804 case $reload_flag in
5805 "" | " "*) ;;
5806 *) reload_flag=" $reload_flag" ;;
5807 esac
5808 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5809 case $host_os in
5810   darwin*)
5811     if test "$GCC" = yes; then
5812       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5813     else
5814       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5815     fi
5816     ;;
5817 esac
5819     
5820     
5821     
5823     
5824     
5825     
5827 if test -n "$ac_tool_prefix"; then
5828   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5829 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831 $as_echo_n "checking for $ac_word... " >&6; }
5832 if ${ac_cv_prog_OBJDUMP+:} false; then :
5833   $as_echo_n "(cached) " >&6
5834 else
5835   if test -n "$OBJDUMP"; then
5836   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5837 else
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 for as_dir in $PATH
5841   IFS=$as_save_IFS
5842   test -z "$as_dir" && as_dir=.
5843     for ac_exec_ext in '' $ac_executable_extensions; do
5844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5847     break 2
5848   fi
5849 done
5850   done
5851 IFS=$as_save_IFS
5855 OBJDUMP=$ac_cv_prog_OBJDUMP
5856 if test -n "$OBJDUMP"; then
5857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5858 $as_echo "$OBJDUMP" >&6; }
5859 else
5860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5866 if test -z "$ac_cv_prog_OBJDUMP"; then
5867   ac_ct_OBJDUMP=$OBJDUMP
5868   # Extract the first word of "objdump", so it can be a program name with args.
5869 set dummy objdump; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5873   $as_echo_n "(cached) " >&6
5874 else
5875   if test -n "$ac_ct_OBJDUMP"; then
5876   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5877 else
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5879 for as_dir in $PATH
5881   IFS=$as_save_IFS
5882   test -z "$as_dir" && as_dir=.
5883     for ac_exec_ext in '' $ac_executable_extensions; do
5884   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5885     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887     break 2
5888   fi
5889 done
5890   done
5891 IFS=$as_save_IFS
5895 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5896 if test -n "$ac_ct_OBJDUMP"; then
5897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5898 $as_echo "$ac_ct_OBJDUMP" >&6; }
5899 else
5900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5904   if test "x$ac_ct_OBJDUMP" = x; then
5905     OBJDUMP="false"
5906   else
5907     case $cross_compiling:$ac_tool_warned in
5908 yes:)
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5912 esac
5913     OBJDUMP=$ac_ct_OBJDUMP
5914   fi
5915 else
5916   OBJDUMP="$ac_cv_prog_OBJDUMP"
5919 test -z "$OBJDUMP" && OBJDUMP=objdump
5921     
5922     
5923     
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5930 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5931 if ${lt_cv_deplibs_check_method+:} false; then :
5932   $as_echo_n "(cached) " >&6
5933 else
5934   lt_cv_file_magic_cmd='$MAGIC_CMD'
5935 lt_cv_file_magic_test_file=
5936 lt_cv_deplibs_check_method='unknown'
5937 # Need to set the preceding variable on all platforms that support
5938 # interlibrary dependencies.
5939 # 'none' -- dependencies not supported.
5940 # `unknown' -- same as none, but documents that we really don't know.
5941 # 'pass_all' -- all dependencies passed with no checks.
5942 # 'test_compile' -- check by making test program.
5943 # 'file_magic [[regex]]' -- check by looking for files in library path
5944 # which responds to the $file_magic_cmd with a given extended regex.
5945 # If you have `file' or equivalent on your system and you're not sure
5946 # whether `pass_all' will *always* work, you probably want this one.
5948 case $host_os in
5949 aix[4-9]*)
5950   lt_cv_deplibs_check_method=pass_all
5951   ;;
5953 beos*)
5954   lt_cv_deplibs_check_method=pass_all
5955   ;;
5957 bsdi[45]*)
5958   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5959   lt_cv_file_magic_cmd='/usr/bin/file -L'
5960   lt_cv_file_magic_test_file=/shlib/libc.so
5961   ;;
5963 cygwin*)
5964   # func_win32_libid is a shell function defined in ltmain.sh
5965   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5966   lt_cv_file_magic_cmd='func_win32_libid'
5967   ;;
5969 mingw* | pw32*)
5970   # Base MSYS/MinGW do not provide the 'file' command needed by
5971   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5972   # unless we find 'file', for example because we are cross-compiling.
5973   if ( file / ) >/dev/null 2>&1; then
5974     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5975     lt_cv_file_magic_cmd='func_win32_libid'
5976   else
5977     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5978     lt_cv_file_magic_cmd='$OBJDUMP -f'
5979   fi
5980   ;;
5982 cegcc)
5983   # use the weaker test based on 'objdump'. See mingw*.
5984   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5985   lt_cv_file_magic_cmd='$OBJDUMP -f'
5986   ;;
5988 darwin* | rhapsody*)
5989   lt_cv_deplibs_check_method=pass_all
5990   ;;
5992 freebsd* | dragonfly*)
5993   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5994     case $host_cpu in
5995     i*86 )
5996       # Not sure whether the presence of OpenBSD here was a mistake.
5997       # Let's accept both of them until this is cleared up.
5998       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5999       lt_cv_file_magic_cmd=/usr/bin/file
6000       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6001       ;;
6002     esac
6003   else
6004     lt_cv_deplibs_check_method=pass_all
6005   fi
6006   ;;
6008 gnu*)
6009   lt_cv_deplibs_check_method=pass_all
6010   ;;
6012 hpux10.20* | hpux11*)
6013   lt_cv_file_magic_cmd=/usr/bin/file
6014   case $host_cpu in
6015   ia64*)
6016     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6017     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6018     ;;
6019   hppa*64*)
6020     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6021     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6022     ;;
6023   *)
6024     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6025     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6026     ;;
6027   esac
6028   ;;
6030 interix[3-9]*)
6031   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6032   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6033   ;;
6035 irix5* | irix6* | nonstopux*)
6036   case $LD in
6037   *-32|*"-32 ") libmagic=32-bit;;
6038   *-n32|*"-n32 ") libmagic=N32;;
6039   *-64|*"-64 ") libmagic=64-bit;;
6040   *) libmagic=never-match;;
6041   esac
6042   lt_cv_deplibs_check_method=pass_all
6043   ;;
6045 # This must be Linux ELF.
6046 linux* | k*bsd*-gnu)
6047   lt_cv_deplibs_check_method=pass_all
6048   ;;
6050 netbsd*)
6051   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6052     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6053   else
6054     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6055   fi
6056   ;;
6058 newos6*)
6059   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6060   lt_cv_file_magic_cmd=/usr/bin/file
6061   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6062   ;;
6064 *nto* | *qnx*)
6065   lt_cv_deplibs_check_method=pass_all
6066   ;;
6068 openbsd*)
6069   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6070     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6071   else
6072     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6073   fi
6074   ;;
6076 osf3* | osf4* | osf5*)
6077   lt_cv_deplibs_check_method=pass_all
6078   ;;
6080 rdos*)
6081   lt_cv_deplibs_check_method=pass_all
6082   ;;
6084 solaris*)
6085   lt_cv_deplibs_check_method=pass_all
6086   ;;
6088 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6089   lt_cv_deplibs_check_method=pass_all
6090   ;;
6092 sysv4 | sysv4.3*)
6093   case $host_vendor in
6094   motorola)
6095     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]'
6096     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6097     ;;
6098   ncr)
6099     lt_cv_deplibs_check_method=pass_all
6100     ;;
6101   sequent)
6102     lt_cv_file_magic_cmd='/bin/file'
6103     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6104     ;;
6105   sni)
6106     lt_cv_file_magic_cmd='/bin/file'
6107     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6108     lt_cv_file_magic_test_file=/lib/libc.so
6109     ;;
6110   siemens)
6111     lt_cv_deplibs_check_method=pass_all
6112     ;;
6113   pc)
6114     lt_cv_deplibs_check_method=pass_all
6115     ;;
6116   esac
6117   ;;
6119 tpf*)
6120   lt_cv_deplibs_check_method=pass_all
6121   ;;
6122 esac
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6126 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6127 file_magic_cmd=$lt_cv_file_magic_cmd
6128 deplibs_check_method=$lt_cv_deplibs_check_method
6129 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6132     
6133     
6134     
6137     
6138     
6139     
6142 if test -n "$ac_tool_prefix"; then
6143   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6144 set dummy ${ac_tool_prefix}ar; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_AR+:} false; then :
6148   $as_echo_n "(cached) " >&6
6149 else
6150   if test -n "$AR"; then
6151   ac_cv_prog_AR="$AR" # Let the user override the test.
6152 else
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 for as_dir in $PATH
6156   IFS=$as_save_IFS
6157   test -z "$as_dir" && as_dir=.
6158     for ac_exec_ext in '' $ac_executable_extensions; do
6159   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160     ac_cv_prog_AR="${ac_tool_prefix}ar"
6161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162     break 2
6163   fi
6164 done
6165   done
6166 IFS=$as_save_IFS
6170 AR=$ac_cv_prog_AR
6171 if test -n "$AR"; then
6172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6173 $as_echo "$AR" >&6; }
6174 else
6175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6181 if test -z "$ac_cv_prog_AR"; then
6182   ac_ct_AR=$AR
6183   # Extract the first word of "ar", so it can be a program name with args.
6184 set dummy ar; ac_word=$2
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6186 $as_echo_n "checking for $ac_word... " >&6; }
6187 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6188   $as_echo_n "(cached) " >&6
6189 else
6190   if test -n "$ac_ct_AR"; then
6191   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6192 else
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194 for as_dir in $PATH
6196   IFS=$as_save_IFS
6197   test -z "$as_dir" && as_dir=.
6198     for ac_exec_ext in '' $ac_executable_extensions; do
6199   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6200     ac_cv_prog_ac_ct_AR="ar"
6201     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202     break 2
6203   fi
6204 done
6205   done
6206 IFS=$as_save_IFS
6210 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6211 if test -n "$ac_ct_AR"; then
6212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6213 $as_echo "$ac_ct_AR" >&6; }
6214 else
6215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 $as_echo "no" >&6; }
6219   if test "x$ac_ct_AR" = x; then
6220     AR="false"
6221   else
6222     case $cross_compiling:$ac_tool_warned in
6223 yes:)
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6226 ac_tool_warned=yes ;;
6227 esac
6228     AR=$ac_ct_AR
6229   fi
6230 else
6231   AR="$ac_cv_prog_AR"
6234 test -z "$AR" && AR=ar
6235 test -z "$AR_FLAGS" && AR_FLAGS=cru
6237     
6238     
6239     
6242     
6243     
6244     
6247 if test -n "$ac_tool_prefix"; then
6248   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6249 set dummy ${ac_tool_prefix}strip; ac_word=$2
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6251 $as_echo_n "checking for $ac_word... " >&6; }
6252 if ${ac_cv_prog_STRIP+:} false; then :
6253   $as_echo_n "(cached) " >&6
6254 else
6255   if test -n "$STRIP"; then
6256   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6257 else
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259 for as_dir in $PATH
6261   IFS=$as_save_IFS
6262   test -z "$as_dir" && as_dir=.
6263     for ac_exec_ext in '' $ac_executable_extensions; do
6264   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6265     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6267     break 2
6268   fi
6269 done
6270   done
6271 IFS=$as_save_IFS
6275 STRIP=$ac_cv_prog_STRIP
6276 if test -n "$STRIP"; then
6277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6278 $as_echo "$STRIP" >&6; }
6279 else
6280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6281 $as_echo "no" >&6; }
6286 if test -z "$ac_cv_prog_STRIP"; then
6287   ac_ct_STRIP=$STRIP
6288   # Extract the first word of "strip", so it can be a program name with args.
6289 set dummy strip; ac_word=$2
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6291 $as_echo_n "checking for $ac_word... " >&6; }
6292 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6293   $as_echo_n "(cached) " >&6
6294 else
6295   if test -n "$ac_ct_STRIP"; then
6296   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6297 else
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 for as_dir in $PATH
6301   IFS=$as_save_IFS
6302   test -z "$as_dir" && as_dir=.
6303     for ac_exec_ext in '' $ac_executable_extensions; do
6304   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6305     ac_cv_prog_ac_ct_STRIP="strip"
6306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6307     break 2
6308   fi
6309 done
6310   done
6311 IFS=$as_save_IFS
6315 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6316 if test -n "$ac_ct_STRIP"; then
6317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6318 $as_echo "$ac_ct_STRIP" >&6; }
6319 else
6320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6321 $as_echo "no" >&6; }
6324   if test "x$ac_ct_STRIP" = x; then
6325     STRIP=":"
6326   else
6327     case $cross_compiling:$ac_tool_warned in
6328 yes:)
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6331 ac_tool_warned=yes ;;
6332 esac
6333     STRIP=$ac_ct_STRIP
6334   fi
6335 else
6336   STRIP="$ac_cv_prog_STRIP"
6339 test -z "$STRIP" && STRIP=:
6341     
6342     
6343     
6346 if test -n "$ac_tool_prefix"; then
6347   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6348 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if ${ac_cv_prog_RANLIB+:} false; then :
6352   $as_echo_n "(cached) " >&6
6353 else
6354   if test -n "$RANLIB"; then
6355   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6356 else
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358 for as_dir in $PATH
6360   IFS=$as_save_IFS
6361   test -z "$as_dir" && as_dir=.
6362     for ac_exec_ext in '' $ac_executable_extensions; do
6363   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6364     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366     break 2
6367   fi
6368 done
6369   done
6370 IFS=$as_save_IFS
6374 RANLIB=$ac_cv_prog_RANLIB
6375 if test -n "$RANLIB"; then
6376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6377 $as_echo "$RANLIB" >&6; }
6378 else
6379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380 $as_echo "no" >&6; }
6385 if test -z "$ac_cv_prog_RANLIB"; then
6386   ac_ct_RANLIB=$RANLIB
6387   # Extract the first word of "ranlib", so it can be a program name with args.
6388 set dummy ranlib; ac_word=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6392   $as_echo_n "(cached) " >&6
6393 else
6394   if test -n "$ac_ct_RANLIB"; then
6395   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6396 else
6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 for as_dir in $PATH
6400   IFS=$as_save_IFS
6401   test -z "$as_dir" && as_dir=.
6402     for ac_exec_ext in '' $ac_executable_extensions; do
6403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6404     ac_cv_prog_ac_ct_RANLIB="ranlib"
6405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406     break 2
6407   fi
6408 done
6409   done
6410 IFS=$as_save_IFS
6414 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6415 if test -n "$ac_ct_RANLIB"; then
6416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6417 $as_echo "$ac_ct_RANLIB" >&6; }
6418 else
6419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6423   if test "x$ac_ct_RANLIB" = x; then
6424     RANLIB=":"
6425   else
6426     case $cross_compiling:$ac_tool_warned in
6427 yes:)
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6430 ac_tool_warned=yes ;;
6431 esac
6432     RANLIB=$ac_ct_RANLIB
6433   fi
6434 else
6435   RANLIB="$ac_cv_prog_RANLIB"
6438 test -z "$RANLIB" && RANLIB=:
6440     
6441     
6442     
6445 # Determine commands to create old-style static archives.
6446 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6447 old_postinstall_cmds='chmod 644 $oldlib'
6448 old_postuninstall_cmds=
6450 if test -n "$RANLIB"; then
6451   case $host_os in
6452   openbsd*)
6453     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6454     ;;
6455   *)
6456     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6457     ;;
6458   esac
6459   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6462     
6463     
6464     
6467     
6468     
6469     
6472     
6473     
6474     
6479     
6480     
6481     
6483     
6484     
6485     
6487     
6488     
6489     
6491     
6492     
6493     
6495 # If no C compiler was specified, use CC.
6496 LTCC=${LTCC-"$CC"}
6498 # If no C compiler flags were specified, use CFLAGS.
6499 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6501 # Allow CC to be a program name with arguments.
6502 compiler=$CC
6505 # Check for command to grab the raw symbol name followed by C symbol from nm.
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6507 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6508 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6509   $as_echo_n "(cached) " >&6
6510 else
6511   
6512 # These are sane defaults that work on at least a few old systems.
6513 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6515 # Character class describing NM global symbol codes.
6516 symcode='[BCDEGRST]'
6518 # Regexp to match symbols that can be accessed directly from C.
6519 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6521 # Define system-specific variables.
6522 case $host_os in
6523 aix*)
6524   symcode='[BCDT]'
6525   ;;
6526 cygwin* | mingw* | pw32* | cegcc*)
6527   symcode='[ABCDGISTW]'
6528   ;;
6529 hpux*)
6530   if test "$host_cpu" = ia64; then
6531     symcode='[ABCDEGRST]'
6532   fi
6533   ;;
6534 irix* | nonstopux*)
6535   symcode='[BCDEGRST]'
6536   ;;
6537 osf*)
6538   symcode='[BCDEGQRST]'
6539   ;;
6540 solaris*)
6541   symcode='[BDRT]'
6542   ;;
6543 sco3.2v5*)
6544   symcode='[DT]'
6545   ;;
6546 sysv4.2uw2*)
6547   symcode='[DT]'
6548   ;;
6549 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6550   symcode='[ABDT]'
6551   ;;
6552 sysv4)
6553   symcode='[DFNSTU]'
6554   ;;
6555 esac
6557 # If we're using GNU nm, then use its standard symbol codes.
6558 case `$NM -V 2>&1` in
6559 *GNU* | *'with BFD'*)
6560   symcode='[ABCDGIRSTW]' ;;
6561 esac
6563 # Transform an extracted symbol line into a proper C declaration.
6564 # Some systems (esp. on ia64) link data and code symbols differently,
6565 # so use this general approach.
6566 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6568 # Transform an extracted symbol line into symbol name and symbol address
6569 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6570 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6572 # Handle CRLF in mingw tool chain
6573 opt_cr=
6574 case $build_os in
6575 mingw*)
6576   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6577   ;;
6578 esac
6580 # Try without a prefix underscore, then with it.
6581 for ac_symprfx in "" "_"; do
6583   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6584   symxfrm="\\1 $ac_symprfx\\2 \\2"
6586   # Write the raw and C identifiers.
6587   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6588     # Fake it for dumpbin and say T for any non-static function
6589     # and D for any global variable.
6590     # Also find C++ and __fastcall symbols from MSVC++,
6591     # which start with @ or ?.
6592     lt_cv_sys_global_symbol_pipe="$AWK '"\
6593 "     {last_section=section; section=\$ 3};"\
6594 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6595 "     \$ 0!~/External *\|/{next};"\
6596 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6597 "     {if(hide[section]) next};"\
6598 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6599 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6600 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6601 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6602 "     ' prfx=^$ac_symprfx"
6603   else
6604     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6605   fi
6607   # Check to see that the pipe works correctly.
6608   pipe_works=no
6610   rm -f conftest*
6611   cat > conftest.$ac_ext <<_LT_EOF
6612 #ifdef __cplusplus
6613 extern "C" {
6614 #endif
6615 char nm_test_var;
6616 void nm_test_func(void);
6617 void nm_test_func(void){}
6618 #ifdef __cplusplus
6620 #endif
6621 int main(){nm_test_var='a';nm_test_func();return(0);}
6622 _LT_EOF
6624   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6625   (eval $ac_compile) 2>&5
6626   ac_status=$?
6627   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6628   test $ac_status = 0; }; then
6629     # Now try to grab the symbols.
6630     nlist=conftest.nm
6631     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6632   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6633   ac_status=$?
6634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6635   test $ac_status = 0; } && test -s "$nlist"; then
6636       # Try sorting and uniquifying the output.
6637       if sort "$nlist" | uniq > "$nlist"T; then
6638         mv -f "$nlist"T "$nlist"
6639       else
6640         rm -f "$nlist"T
6641       fi
6643       # Make sure that we snagged all the symbols we need.
6644       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6645         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6646           cat <<_LT_EOF > conftest.$ac_ext
6647 #ifdef __cplusplus
6648 extern "C" {
6649 #endif
6651 _LT_EOF
6652           # Now generate the symbol file.
6653           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6655           cat <<_LT_EOF >> conftest.$ac_ext
6657 /* The mapping between symbol names and symbols.  */
6658 const struct {
6659   const char *name;
6660   void       *address;
6662 lt__PROGRAM__LTX_preloaded_symbols[] =
6664   { "@PROGRAM@", (void *) 0 },
6665 _LT_EOF
6666           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6667           cat <<\_LT_EOF >> conftest.$ac_ext
6668   {0, (void *) 0}
6671 /* This works around a problem in FreeBSD linker */
6672 #ifdef FREEBSD_WORKAROUND
6673 static const void *lt_preloaded_setup() {
6674   return lt__PROGRAM__LTX_preloaded_symbols;
6676 #endif
6678 #ifdef __cplusplus
6680 #endif
6681 _LT_EOF
6682           # Now try linking the two files.
6683           mv conftest.$ac_objext conftstm.$ac_objext
6684           lt_save_LIBS="$LIBS"
6685           lt_save_CFLAGS="$CFLAGS"
6686           LIBS="conftstm.$ac_objext"
6687           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6688           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6689   (eval $ac_link) 2>&5
6690   ac_status=$?
6691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6692   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6693             pipe_works=yes
6694           fi
6695           LIBS="$lt_save_LIBS"
6696           CFLAGS="$lt_save_CFLAGS"
6697         else
6698           echo "cannot find nm_test_func in $nlist" >&5
6699         fi
6700       else
6701         echo "cannot find nm_test_var in $nlist" >&5
6702       fi
6703     else
6704       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6705     fi
6706   else
6707     echo "$progname: failed program was:" >&5
6708     cat conftest.$ac_ext >&5
6709   fi
6710   rm -rf conftest* conftst*
6712   # Do not use the global_symbol_pipe unless it works.
6713   if test "$pipe_works" = yes; then
6714     break
6715   else
6716     lt_cv_sys_global_symbol_pipe=
6717   fi
6718 done
6722 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6723   lt_cv_sys_global_symbol_to_cdecl=
6725 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6727 $as_echo "failed" >&6; }
6728 else
6729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6730 $as_echo "ok" >&6; }
6734     
6735     
6736     
6739     
6740     
6741     
6744     
6745     
6746     
6749     
6750     
6751     
6755 @%:@ Check whether --enable-libtool-lock was given.
6756 if test "${enable_libtool_lock+set}" = set; then :
6757   enableval=$enable_libtool_lock; 
6760 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6762 # Some flags need to be propagated to the compiler or linker for good
6763 # libtool support.
6764 case $host in
6765 ia64-*-hpux*)
6766   # Find out which ABI we are using.
6767   echo 'int i;' > conftest.$ac_ext
6768   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6769   (eval $ac_compile) 2>&5
6770   ac_status=$?
6771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6772   test $ac_status = 0; }; then
6773     case `/usr/bin/file conftest.$ac_objext` in
6774       *ELF-32*)
6775         HPUX_IA64_MODE="32"
6776         ;;
6777       *ELF-64*)
6778         HPUX_IA64_MODE="64"
6779         ;;
6780     esac
6781   fi
6782   rm -rf conftest*
6783   ;;
6784 *-*-irix6*)
6785   # Find out which ABI we are using.
6786   echo '#line __oline__ "configure"' > conftest.$ac_ext
6787   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6788   (eval $ac_compile) 2>&5
6789   ac_status=$?
6790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6791   test $ac_status = 0; }; then
6792     if test "$lt_cv_prog_gnu_ld" = yes; then
6793       case `/usr/bin/file conftest.$ac_objext` in
6794         *32-bit*)
6795           LD="${LD-ld} -melf32bsmip"
6796           ;;
6797         *N32*)
6798           LD="${LD-ld} -melf32bmipn32"
6799           ;;
6800         *64-bit*)
6801           LD="${LD-ld} -melf64bmip"
6802         ;;
6803       esac
6804     else
6805       case `/usr/bin/file conftest.$ac_objext` in
6806         *32-bit*)
6807           LD="${LD-ld} -32"
6808           ;;
6809         *N32*)
6810           LD="${LD-ld} -n32"
6811           ;;
6812         *64-bit*)
6813           LD="${LD-ld} -64"
6814           ;;
6815       esac
6816     fi
6817   fi
6818   rm -rf conftest*
6819   ;;
6821 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6822 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6823   # Find out which ABI we are using.
6824   echo 'int i;' > conftest.$ac_ext
6825   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6826   (eval $ac_compile) 2>&5
6827   ac_status=$?
6828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6829   test $ac_status = 0; }; then
6830     case `/usr/bin/file conftest.o` in
6831       *32-bit*)
6832         case $host in
6833           x86_64-*kfreebsd*-gnu)
6834             LD="${LD-ld} -m elf_i386_fbsd"
6835             ;;
6836           x86_64-*linux*)
6837             LD="${LD-ld} -m elf_i386"
6838             ;;
6839           ppc64-*linux*|powerpc64-*linux*)
6840             LD="${LD-ld} -m elf32ppclinux"
6841             ;;
6842           s390x-*linux*)
6843             LD="${LD-ld} -m elf_s390"
6844             ;;
6845           sparc64-*linux*)
6846             LD="${LD-ld} -m elf32_sparc"
6847             ;;
6848         esac
6849         ;;
6850       *64-bit*)
6851         case $host in
6852           x86_64-*kfreebsd*-gnu)
6853             LD="${LD-ld} -m elf_x86_64_fbsd"
6854             ;;
6855           x86_64-*linux*)
6856             LD="${LD-ld} -m elf_x86_64"
6857             ;;
6858           ppc*-*linux*|powerpc*-*linux*)
6859             LD="${LD-ld} -m elf64ppc"
6860             ;;
6861           s390*-*linux*|s390*-*tpf*)
6862             LD="${LD-ld} -m elf64_s390"
6863             ;;
6864           sparc*-*linux*)
6865             LD="${LD-ld} -m elf64_sparc"
6866             ;;
6867         esac
6868         ;;
6869     esac
6870   fi
6871   rm -rf conftest*
6872   ;;
6874 *-*-sco3.2v5*)
6875   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6876   SAVE_CFLAGS="$CFLAGS"
6877   CFLAGS="$CFLAGS -belf"
6878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6879 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6880 if ${lt_cv_cc_needs_belf+:} false; then :
6881   $as_echo_n "(cached) " >&6
6882 else
6883   ac_ext=c
6884 ac_cpp='$CPP $CPPFLAGS'
6885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6889      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h.  */
6893 main ()
6896   ;
6897   return 0;
6899 _ACEOF
6900 if ac_fn_c_try_link "$LINENO"; then :
6901   lt_cv_cc_needs_belf=yes
6902 else
6903   lt_cv_cc_needs_belf=no
6905 rm -f core conftest.err conftest.$ac_objext \
6906     conftest$ac_exeext conftest.$ac_ext
6907      ac_ext=c
6908 ac_cpp='$CPP $CPPFLAGS'
6909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6915 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6916   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6917     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6918     CFLAGS="$SAVE_CFLAGS"
6919   fi
6920   ;;
6921 sparc*-*solaris*)
6922   # Find out which ABI we are using.
6923   echo 'int i;' > conftest.$ac_ext
6924   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6925   (eval $ac_compile) 2>&5
6926   ac_status=$?
6927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6928   test $ac_status = 0; }; then
6929     case `/usr/bin/file conftest.o` in
6930     *64-bit*)
6931       case $lt_cv_prog_gnu_ld in
6932       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6933       *)
6934         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6935           LD="${LD-ld} -64"
6936         fi
6937         ;;
6938       esac
6939       ;;
6940     esac
6941   fi
6942   rm -rf conftest*
6943   ;;
6944 esac
6946 need_locks="$enable_libtool_lock"
6949   case $host_os in
6950     rhapsody* | darwin*)
6951     if test -n "$ac_tool_prefix"; then
6952   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6953 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955 $as_echo_n "checking for $ac_word... " >&6; }
6956 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6957   $as_echo_n "(cached) " >&6
6958 else
6959   if test -n "$DSYMUTIL"; then
6960   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6961 else
6962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 for as_dir in $PATH
6965   IFS=$as_save_IFS
6966   test -z "$as_dir" && as_dir=.
6967     for ac_exec_ext in '' $ac_executable_extensions; do
6968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6969     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971     break 2
6972   fi
6973 done
6974   done
6975 IFS=$as_save_IFS
6979 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6980 if test -n "$DSYMUTIL"; then
6981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6982 $as_echo "$DSYMUTIL" >&6; }
6983 else
6984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6985 $as_echo "no" >&6; }
6990 if test -z "$ac_cv_prog_DSYMUTIL"; then
6991   ac_ct_DSYMUTIL=$DSYMUTIL
6992   # Extract the first word of "dsymutil", so it can be a program name with args.
6993 set dummy dsymutil; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6997   $as_echo_n "(cached) " >&6
6998 else
6999   if test -n "$ac_ct_DSYMUTIL"; then
7000   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7001 else
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003 for as_dir in $PATH
7005   IFS=$as_save_IFS
7006   test -z "$as_dir" && as_dir=.
7007     for ac_exec_ext in '' $ac_executable_extensions; do
7008   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011     break 2
7012   fi
7013 done
7014   done
7015 IFS=$as_save_IFS
7019 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7020 if test -n "$ac_ct_DSYMUTIL"; then
7021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7022 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7023 else
7024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7028   if test "x$ac_ct_DSYMUTIL" = x; then
7029     DSYMUTIL=":"
7030   else
7031     case $cross_compiling:$ac_tool_warned in
7032 yes:)
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7035 ac_tool_warned=yes ;;
7036 esac
7037     DSYMUTIL=$ac_ct_DSYMUTIL
7038   fi
7039 else
7040   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7043     if test -n "$ac_tool_prefix"; then
7044   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7045 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7047 $as_echo_n "checking for $ac_word... " >&6; }
7048 if ${ac_cv_prog_NMEDIT+:} false; then :
7049   $as_echo_n "(cached) " >&6
7050 else
7051   if test -n "$NMEDIT"; then
7052   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7053 else
7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 for as_dir in $PATH
7057   IFS=$as_save_IFS
7058   test -z "$as_dir" && as_dir=.
7059     for ac_exec_ext in '' $ac_executable_extensions; do
7060   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7061     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7062     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7063     break 2
7064   fi
7065 done
7066   done
7067 IFS=$as_save_IFS
7071 NMEDIT=$ac_cv_prog_NMEDIT
7072 if test -n "$NMEDIT"; then
7073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7074 $as_echo "$NMEDIT" >&6; }
7075 else
7076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7077 $as_echo "no" >&6; }
7082 if test -z "$ac_cv_prog_NMEDIT"; then
7083   ac_ct_NMEDIT=$NMEDIT
7084   # Extract the first word of "nmedit", so it can be a program name with args.
7085 set dummy nmedit; ac_word=$2
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087 $as_echo_n "checking for $ac_word... " >&6; }
7088 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7089   $as_echo_n "(cached) " >&6
7090 else
7091   if test -n "$ac_ct_NMEDIT"; then
7092   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7093 else
7094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095 for as_dir in $PATH
7097   IFS=$as_save_IFS
7098   test -z "$as_dir" && as_dir=.
7099     for ac_exec_ext in '' $ac_executable_extensions; do
7100   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7101     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7103     break 2
7104   fi
7105 done
7106   done
7107 IFS=$as_save_IFS
7111 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7112 if test -n "$ac_ct_NMEDIT"; then
7113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7114 $as_echo "$ac_ct_NMEDIT" >&6; }
7115 else
7116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7120   if test "x$ac_ct_NMEDIT" = x; then
7121     NMEDIT=":"
7122   else
7123     case $cross_compiling:$ac_tool_warned in
7124 yes:)
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7127 ac_tool_warned=yes ;;
7128 esac
7129     NMEDIT=$ac_ct_NMEDIT
7130   fi
7131 else
7132   NMEDIT="$ac_cv_prog_NMEDIT"
7135     if test -n "$ac_tool_prefix"; then
7136   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7137 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139 $as_echo_n "checking for $ac_word... " >&6; }
7140 if ${ac_cv_prog_LIPO+:} false; then :
7141   $as_echo_n "(cached) " >&6
7142 else
7143   if test -n "$LIPO"; then
7144   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7145 else
7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 for as_dir in $PATH
7149   IFS=$as_save_IFS
7150   test -z "$as_dir" && as_dir=.
7151     for ac_exec_ext in '' $ac_executable_extensions; do
7152   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7153     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7155     break 2
7156   fi
7157 done
7158   done
7159 IFS=$as_save_IFS
7163 LIPO=$ac_cv_prog_LIPO
7164 if test -n "$LIPO"; then
7165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7166 $as_echo "$LIPO" >&6; }
7167 else
7168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7169 $as_echo "no" >&6; }
7174 if test -z "$ac_cv_prog_LIPO"; then
7175   ac_ct_LIPO=$LIPO
7176   # Extract the first word of "lipo", so it can be a program name with args.
7177 set dummy lipo; ac_word=$2
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179 $as_echo_n "checking for $ac_word... " >&6; }
7180 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7181   $as_echo_n "(cached) " >&6
7182 else
7183   if test -n "$ac_ct_LIPO"; then
7184   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7185 else
7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7187 for as_dir in $PATH
7189   IFS=$as_save_IFS
7190   test -z "$as_dir" && as_dir=.
7191     for ac_exec_ext in '' $ac_executable_extensions; do
7192   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7193     ac_cv_prog_ac_ct_LIPO="lipo"
7194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195     break 2
7196   fi
7197 done
7198   done
7199 IFS=$as_save_IFS
7203 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7204 if test -n "$ac_ct_LIPO"; then
7205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7206 $as_echo "$ac_ct_LIPO" >&6; }
7207 else
7208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
7212   if test "x$ac_ct_LIPO" = x; then
7213     LIPO=":"
7214   else
7215     case $cross_compiling:$ac_tool_warned in
7216 yes:)
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7219 ac_tool_warned=yes ;;
7220 esac
7221     LIPO=$ac_ct_LIPO
7222   fi
7223 else
7224   LIPO="$ac_cv_prog_LIPO"
7227     if test -n "$ac_tool_prefix"; then
7228   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7229 set dummy ${ac_tool_prefix}otool; ac_word=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if ${ac_cv_prog_OTOOL+:} false; then :
7233   $as_echo_n "(cached) " >&6
7234 else
7235   if test -n "$OTOOL"; then
7236   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7237 else
7238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 for as_dir in $PATH
7241   IFS=$as_save_IFS
7242   test -z "$as_dir" && as_dir=.
7243     for ac_exec_ext in '' $ac_executable_extensions; do
7244   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7245     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247     break 2
7248   fi
7249 done
7250   done
7251 IFS=$as_save_IFS
7255 OTOOL=$ac_cv_prog_OTOOL
7256 if test -n "$OTOOL"; then
7257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7258 $as_echo "$OTOOL" >&6; }
7259 else
7260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7266 if test -z "$ac_cv_prog_OTOOL"; then
7267   ac_ct_OTOOL=$OTOOL
7268   # Extract the first word of "otool", so it can be a program name with args.
7269 set dummy otool; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7273   $as_echo_n "(cached) " >&6
7274 else
7275   if test -n "$ac_ct_OTOOL"; then
7276   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7281   IFS=$as_save_IFS
7282   test -z "$as_dir" && as_dir=.
7283     for ac_exec_ext in '' $ac_executable_extensions; do
7284   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7285     ac_cv_prog_ac_ct_OTOOL="otool"
7286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287     break 2
7288   fi
7289 done
7290   done
7291 IFS=$as_save_IFS
7295 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7296 if test -n "$ac_ct_OTOOL"; then
7297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7298 $as_echo "$ac_ct_OTOOL" >&6; }
7299 else
7300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7304   if test "x$ac_ct_OTOOL" = x; then
7305     OTOOL=":"
7306   else
7307     case $cross_compiling:$ac_tool_warned in
7308 yes:)
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7311 ac_tool_warned=yes ;;
7312 esac
7313     OTOOL=$ac_ct_OTOOL
7314   fi
7315 else
7316   OTOOL="$ac_cv_prog_OTOOL"
7319     if test -n "$ac_tool_prefix"; then
7320   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7321 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_prog_OTOOL64+:} false; then :
7325   $as_echo_n "(cached) " >&6
7326 else
7327   if test -n "$OTOOL64"; then
7328   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7329 else
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 for as_dir in $PATH
7333   IFS=$as_save_IFS
7334   test -z "$as_dir" && as_dir=.
7335     for ac_exec_ext in '' $ac_executable_extensions; do
7336   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339     break 2
7340   fi
7341 done
7342   done
7343 IFS=$as_save_IFS
7347 OTOOL64=$ac_cv_prog_OTOOL64
7348 if test -n "$OTOOL64"; then
7349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7350 $as_echo "$OTOOL64" >&6; }
7351 else
7352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7358 if test -z "$ac_cv_prog_OTOOL64"; then
7359   ac_ct_OTOOL64=$OTOOL64
7360   # Extract the first word of "otool64", so it can be a program name with args.
7361 set dummy otool64; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7365   $as_echo_n "(cached) " >&6
7366 else
7367   if test -n "$ac_ct_OTOOL64"; then
7368   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7373   IFS=$as_save_IFS
7374   test -z "$as_dir" && as_dir=.
7375     for ac_exec_ext in '' $ac_executable_extensions; do
7376   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7377     ac_cv_prog_ac_ct_OTOOL64="otool64"
7378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379     break 2
7380   fi
7381 done
7382   done
7383 IFS=$as_save_IFS
7387 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7388 if test -n "$ac_ct_OTOOL64"; then
7389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7390 $as_echo "$ac_ct_OTOOL64" >&6; }
7391 else
7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7396   if test "x$ac_ct_OTOOL64" = x; then
7397     OTOOL64=":"
7398   else
7399     case $cross_compiling:$ac_tool_warned in
7400 yes:)
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7403 ac_tool_warned=yes ;;
7404 esac
7405     OTOOL64=$ac_ct_OTOOL64
7406   fi
7407 else
7408   OTOOL64="$ac_cv_prog_OTOOL64"
7411     
7412     
7413     
7414     
7416     
7417     
7418     
7419     
7421     
7422     
7423     
7424     
7426     
7427     
7428     
7429     
7431     
7432     
7433     
7434     
7437     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7438 $as_echo_n "checking for -single_module linker flag... " >&6; }
7439 if ${lt_cv_apple_cc_single_mod+:} false; then :
7440   $as_echo_n "(cached) " >&6
7441 else
7442   lt_cv_apple_cc_single_mod=no
7443       if test -z "${LT_MULTI_MODULE}"; then
7444         # By default we will add the -single_module flag. You can override
7445         # by either setting the environment variable LT_MULTI_MODULE
7446         # non-empty at configure time, or by adding -multi_module to the
7447         # link flags.
7448         rm -rf libconftest.dylib*
7449         echo "int foo(void){return 1;}" > conftest.c
7450         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7451 -dynamiclib -Wl,-single_module conftest.c" >&5
7452         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7453           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7454         _lt_result=$?
7455         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7456           lt_cv_apple_cc_single_mod=yes
7457         else
7458           cat conftest.err >&5
7459         fi
7460         rm -rf libconftest.dylib*
7461         rm -f conftest.*
7462       fi
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7465 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7466     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7467 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7468 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7469   $as_echo_n "(cached) " >&6
7470 else
7471   lt_cv_ld_exported_symbols_list=no
7472       save_LDFLAGS=$LDFLAGS
7473       echo "_main" > conftest.sym
7474       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7476 /* end confdefs.h.  */
7479 main ()
7482   ;
7483   return 0;
7485 _ACEOF
7486 if ac_fn_c_try_link "$LINENO"; then :
7487   lt_cv_ld_exported_symbols_list=yes
7488 else
7489   lt_cv_ld_exported_symbols_list=no
7491 rm -f core conftest.err conftest.$ac_objext \
7492     conftest$ac_exeext conftest.$ac_ext
7493         LDFLAGS="$save_LDFLAGS"
7494     
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7497 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7498     case $host_os in
7499     rhapsody* | darwin1.[012])
7500       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7501     darwin1.*)
7502       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7503     darwin*) # darwin 5.x on
7504       # if running on 10.5 or later, the deployment target defaults
7505       # to the OS version, if on x86, and 10.4, the deployment
7506       # target defaults to 10.4. Don't you love it?
7507       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7508         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7509           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7510         10.[012]*)
7511           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7512         10.*)
7513           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7514       esac
7515     ;;
7516   esac
7517     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7518       _lt_dar_single_mod='$single_module'
7519     fi
7520     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7521       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7522     else
7523       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7524     fi
7525     if test "$DSYMUTIL" != ":"; then
7526       _lt_dsymutil='~$DSYMUTIL $lib || :'
7527     else
7528       _lt_dsymutil=
7529     fi
7530     ;;
7531   esac
7533 ac_ext=c
7534 ac_cpp='$CPP $CPPFLAGS'
7535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7539 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7540 # On Suns, sometimes $CPP names a directory.
7541 if test -n "$CPP" && test -d "$CPP"; then
7542   CPP=
7544 if test -z "$CPP"; then
7545   if ${ac_cv_prog_CPP+:} false; then :
7546   $as_echo_n "(cached) " >&6
7547 else
7548       # Double quotes because CPP needs to be expanded
7549     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7550     do
7551       ac_preproc_ok=false
7552 for ac_c_preproc_warn_flag in '' yes
7554   # Use a header file that comes with gcc, so configuring glibc
7555   # with a fresh cross-compiler works.
7556   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7557   # <limits.h> exists even on freestanding compilers.
7558   # On the NeXT, cc -E runs the code through the compiler's parser,
7559   # not just through cpp. "Syntax error" is here to catch this case.
7560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7561 /* end confdefs.h.  */
7562 @%:@ifdef __STDC__
7563 @%:@ include <limits.h>
7564 @%:@else
7565 @%:@ include <assert.h>
7566 @%:@endif
7567                      Syntax error
7568 _ACEOF
7569 if ac_fn_c_try_cpp "$LINENO"; then :
7570   
7571 else
7572   # Broken: fails on valid input.
7573 continue
7575 rm -f conftest.err conftest.i conftest.$ac_ext
7577   # OK, works on sane cases.  Now check whether nonexistent headers
7578   # can be detected and how.
7579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580 /* end confdefs.h.  */
7581 @%:@include <ac_nonexistent.h>
7582 _ACEOF
7583 if ac_fn_c_try_cpp "$LINENO"; then :
7584   # Broken: success on invalid input.
7585 continue
7586 else
7587   # Passes both tests.
7588 ac_preproc_ok=:
7589 break
7591 rm -f conftest.err conftest.i conftest.$ac_ext
7593 done
7594 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7595 rm -f conftest.i conftest.err conftest.$ac_ext
7596 if $ac_preproc_ok; then :
7597   break
7600     done
7601     ac_cv_prog_CPP=$CPP
7602   
7604   CPP=$ac_cv_prog_CPP
7605 else
7606   ac_cv_prog_CPP=$CPP
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7609 $as_echo "$CPP" >&6; }
7610 ac_preproc_ok=false
7611 for ac_c_preproc_warn_flag in '' yes
7613   # Use a header file that comes with gcc, so configuring glibc
7614   # with a fresh cross-compiler works.
7615   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7616   # <limits.h> exists even on freestanding compilers.
7617   # On the NeXT, cc -E runs the code through the compiler's parser,
7618   # not just through cpp. "Syntax error" is here to catch this case.
7619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7620 /* end confdefs.h.  */
7621 @%:@ifdef __STDC__
7622 @%:@ include <limits.h>
7623 @%:@else
7624 @%:@ include <assert.h>
7625 @%:@endif
7626                      Syntax error
7627 _ACEOF
7628 if ac_fn_c_try_cpp "$LINENO"; then :
7629   
7630 else
7631   # Broken: fails on valid input.
7632 continue
7634 rm -f conftest.err conftest.i conftest.$ac_ext
7636   # OK, works on sane cases.  Now check whether nonexistent headers
7637   # can be detected and how.
7638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7639 /* end confdefs.h.  */
7640 @%:@include <ac_nonexistent.h>
7641 _ACEOF
7642 if ac_fn_c_try_cpp "$LINENO"; then :
7643   # Broken: success on invalid input.
7644 continue
7645 else
7646   # Passes both tests.
7647 ac_preproc_ok=:
7648 break
7650 rm -f conftest.err conftest.i conftest.$ac_ext
7652 done
7653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7654 rm -f conftest.i conftest.err conftest.$ac_ext
7655 if $ac_preproc_ok; then :
7656   
7657 else
7658   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7660 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7661 See \`config.log' for more details" "$LINENO" 5; }
7664 ac_ext=c
7665 ac_cpp='$CPP $CPPFLAGS'
7666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7672 $as_echo_n "checking for ANSI C header files... " >&6; }
7673 if ${ac_cv_header_stdc+:} false; then :
7674   $as_echo_n "(cached) " >&6
7675 else
7676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h.  */
7678 #include <stdlib.h>
7679 #include <stdarg.h>
7680 #include <string.h>
7681 #include <float.h>
7684 main ()
7687   ;
7688   return 0;
7690 _ACEOF
7691 if ac_fn_c_try_compile "$LINENO"; then :
7692   ac_cv_header_stdc=yes
7693 else
7694   ac_cv_header_stdc=no
7696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7698 if test $ac_cv_header_stdc = yes; then
7699   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h.  */
7702 #include <string.h>
7704 _ACEOF
7705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7706   $EGREP "memchr" >/dev/null 2>&1; then :
7707   
7708 else
7709   ac_cv_header_stdc=no
7711 rm -f conftest*
7715 if test $ac_cv_header_stdc = yes; then
7716   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h.  */
7719 #include <stdlib.h>
7721 _ACEOF
7722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7723   $EGREP "free" >/dev/null 2>&1; then :
7724   
7725 else
7726   ac_cv_header_stdc=no
7728 rm -f conftest*
7732 if test $ac_cv_header_stdc = yes; then
7733   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7734   if test "$cross_compiling" = yes; then :
7735   :
7736 else
7737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h.  */
7739 #include <ctype.h>
7740 #include <stdlib.h>
7741 #if ((' ' & 0x0FF) == 0x020)
7742 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7743 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7744 #else
7745 # define ISLOWER(c) \
7746                    (('a' <= (c) && (c) <= 'i') \
7747                      || ('j' <= (c) && (c) <= 'r') \
7748                      || ('s' <= (c) && (c) <= 'z'))
7749 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7750 #endif
7752 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7754 main ()
7756   int i;
7757   for (i = 0; i < 256; i++)
7758     if (XOR (islower (i), ISLOWER (i))
7759         || toupper (i) != TOUPPER (i))
7760       return 2;
7761   return 0;
7763 _ACEOF
7764 if ac_fn_c_try_run "$LINENO"; then :
7765   
7766 else
7767   ac_cv_header_stdc=no
7769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7770   conftest.$ac_objext conftest.beam conftest.$ac_ext
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7776 $as_echo "$ac_cv_header_stdc" >&6; }
7777 if test $ac_cv_header_stdc = yes; then
7778   
7779 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7783 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7784 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7785                   inttypes.h stdint.h unistd.h
7786 do :
7787   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7788 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7790 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7791   cat >>confdefs.h <<_ACEOF
7792 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7793 _ACEOF
7797 done
7800 for ac_header in dlfcn.h
7801 do :
7802   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7804 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7805   cat >>confdefs.h <<_ACEOF
7806 @%:@define HAVE_DLFCN_H 1
7807 _ACEOF
7811 done
7815 # Set options
7819         enable_dlopen=no
7820   
7822   enable_win32_dll=no
7823   
7825             @%:@ Check whether --enable-shared was given.
7826 if test "${enable_shared+set}" = set; then :
7827   enableval=$enable_shared; p=${PACKAGE-default}
7828     case $enableval in
7829     yes) enable_shared=yes ;;
7830     no) enable_shared=no ;;
7831     *)
7832       enable_shared=no
7833       # Look at the argument we got.  We use all the common list separators.
7834       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7835       for pkg in $enableval; do
7836         IFS="$lt_save_ifs"
7837         if test "X$pkg" = "X$p"; then
7838           enable_shared=yes
7839         fi
7840       done
7841       IFS="$lt_save_ifs"
7842       ;;
7843     esac
7844 else
7845   enable_shared=yes
7849     
7850     
7851     
7852     
7856   @%:@ Check whether --enable-static was given.
7857 if test "${enable_static+set}" = set; then :
7858   enableval=$enable_static; p=${PACKAGE-default}
7859     case $enableval in
7860     yes) enable_static=yes ;;
7861     no) enable_static=no ;;
7862     *)
7863      enable_static=no
7864       # Look at the argument we got.  We use all the common list separators.
7865       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7866       for pkg in $enableval; do
7867         IFS="$lt_save_ifs"
7868         if test "X$pkg" = "X$p"; then
7869           enable_static=yes
7870         fi
7871       done
7872       IFS="$lt_save_ifs"
7873       ;;
7874     esac
7875 else
7876   enable_static=yes
7880     
7881     
7882     
7883     
7887   
7888 @%:@ Check whether --with-pic was given.
7889 if test "${with_pic+set}" = set; then :
7890   withval=$with_pic; pic_mode="$withval"
7891 else
7892   pic_mode=default
7896 test -z "$pic_mode" && pic_mode=default
7899     
7900     
7901     
7904   @%:@ Check whether --enable-fast-install was given.
7905 if test "${enable_fast_install+set}" = set; then :
7906   enableval=$enable_fast_install; p=${PACKAGE-default}
7907     case $enableval in
7908     yes) enable_fast_install=yes ;;
7909     no) enable_fast_install=no ;;
7910     *)
7911       enable_fast_install=no
7912       # Look at the argument we got.  We use all the common list separators.
7913       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7914       for pkg in $enableval; do
7915         IFS="$lt_save_ifs"
7916         if test "X$pkg" = "X$p"; then
7917           enable_fast_install=yes
7918         fi
7919       done
7920       IFS="$lt_save_ifs"
7921       ;;
7922     esac
7923 else
7924   enable_fast_install=yes
7929     
7930     
7931     
7934   
7937 # This can be used to rebuild libtool when needed
7938 LIBTOOL_DEPS="$ltmain"
7940 # Always use our own libtool.
7941 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7944     
7945     
7946     
7948     
7949     
7950     
7952     
7953     
7954     
7956     
7957     
7958     
7960     
7961     
7962     
7964     
7965     
7966     
7967 test -z "$LN_S" && LN_S="ln -s"
7969     
7970     
7971     
7973     
7974     
7975     
7977     
7978     
7979     
7982 if test -n "${ZSH_VERSION+set}" ; then
7983    setopt NO_GLOB_SUBST
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7987 $as_echo_n "checking for objdir... " >&6; }
7988 if ${lt_cv_objdir+:} false; then :
7989   $as_echo_n "(cached) " >&6
7990 else
7991   rm -f .libs 2>/dev/null
7992 mkdir .libs 2>/dev/null
7993 if test -d .libs; then
7994   lt_cv_objdir=.libs
7995 else
7996   # MS-DOS does not allow filenames that begin with a dot.
7997   lt_cv_objdir=_libs
7999 rmdir .libs 2>/dev/null
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8002 $as_echo "$lt_cv_objdir" >&6; }
8003 objdir=$lt_cv_objdir
8005     
8006     
8007     
8009 cat >>confdefs.h <<_ACEOF
8010 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8011 _ACEOF
8018     
8019     
8020     
8023     
8024     
8025     
8029 case $host_os in
8030 aix3*)
8031   # AIX sometimes has problems with the GCC collect2 program.  For some
8032   # reason, if we set the COLLECT_NAMES environment variable, the problems
8033   # vanish in a puff of smoke.
8034   if test "X${COLLECT_NAMES+set}" != Xset; then
8035     COLLECT_NAMES=
8036     export COLLECT_NAMES
8037   fi
8038   ;;
8039 esac
8041 # Sed substitution that helps us do robust quoting.  It backslashifies
8042 # metacharacters that are still active within double-quoted strings.
8043 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8045 # Same as above, but do not quote variable references.
8046 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8048 # Sed substitution to delay expansion of an escaped shell variable in a
8049 # double_quote_subst'ed string.
8050 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8052 # Sed substitution to delay expansion of an escaped single quote.
8053 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8055 # Sed substitution to avoid accidental globbing in evaled expressions
8056 no_glob_subst='s/\*/\\\*/g'
8058 # Global variables:
8059 ofile=libtool
8060 can_build_shared=yes
8062 # All known linkers require a `.a' archive for static linking (except MSVC,
8063 # which needs '.lib').
8064 libext=a
8066 with_gnu_ld="$lt_cv_prog_gnu_ld"
8068 old_CC="$CC"
8069 old_CFLAGS="$CFLAGS"
8071 # Set sane defaults for various variables
8072 test -z "$CC" && CC=cc
8073 test -z "$LTCC" && LTCC=$CC
8074 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8075 test -z "$LD" && LD=ld
8076 test -z "$ac_objext" && ac_objext=o
8078 for cc_temp in $compiler""; do
8079   case $cc_temp in
8080     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8081     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8082     \-*) ;;
8083     *) break;;
8084   esac
8085 done
8086 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8089 # Only perform the check for file, if the check method requires it
8090 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8091 case $deplibs_check_method in
8092 file_magic*)
8093   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8094     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8095 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8096 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8097   $as_echo_n "(cached) " >&6
8098 else
8099   case $MAGIC_CMD in
8100 [\\/*] |  ?:[\\/]*)
8101   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8102   ;;
8104   lt_save_MAGIC_CMD="$MAGIC_CMD"
8105   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8106   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8107   for ac_dir in $ac_dummy; do
8108     IFS="$lt_save_ifs"
8109     test -z "$ac_dir" && ac_dir=.
8110     if test -f $ac_dir/${ac_tool_prefix}file; then
8111       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8112       if test -n "$file_magic_test_file"; then
8113         case $deplibs_check_method in
8114         "file_magic "*)
8115           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8116           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8117           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8118             $EGREP "$file_magic_regex" > /dev/null; then
8119             :
8120           else
8121             cat <<_LT_EOF 1>&2
8123 *** Warning: the command libtool uses to detect shared libraries,
8124 *** $file_magic_cmd, produces output that libtool cannot recognize.
8125 *** The result is that libtool may fail to recognize shared libraries
8126 *** as such.  This will affect the creation of libtool libraries that
8127 *** depend on shared libraries, but programs linked with such libtool
8128 *** libraries will work regardless of this problem.  Nevertheless, you
8129 *** may want to report the problem to your system manager and/or to
8130 *** bug-libtool@gnu.org
8132 _LT_EOF
8133           fi ;;
8134         esac
8135       fi
8136       break
8137     fi
8138   done
8139   IFS="$lt_save_ifs"
8140   MAGIC_CMD="$lt_save_MAGIC_CMD"
8141   ;;
8142 esac
8145 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8146 if test -n "$MAGIC_CMD"; then
8147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8148 $as_echo "$MAGIC_CMD" >&6; }
8149 else
8150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8151 $as_echo "no" >&6; }
8154     
8155     
8156     
8158 if test -z "$lt_cv_path_MAGIC_CMD"; then
8159   if test -n "$ac_tool_prefix"; then
8160     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8161 $as_echo_n "checking for file... " >&6; }
8162 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8163   $as_echo_n "(cached) " >&6
8164 else
8165   case $MAGIC_CMD in
8166 [\\/*] |  ?:[\\/]*)
8167   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8168   ;;
8170   lt_save_MAGIC_CMD="$MAGIC_CMD"
8171   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8172   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8173   for ac_dir in $ac_dummy; do
8174     IFS="$lt_save_ifs"
8175     test -z "$ac_dir" && ac_dir=.
8176     if test -f $ac_dir/file; then
8177       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8178       if test -n "$file_magic_test_file"; then
8179         case $deplibs_check_method in
8180         "file_magic "*)
8181           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8182           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8183           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8184             $EGREP "$file_magic_regex" > /dev/null; then
8185             :
8186           else
8187             cat <<_LT_EOF 1>&2
8189 *** Warning: the command libtool uses to detect shared libraries,
8190 *** $file_magic_cmd, produces output that libtool cannot recognize.
8191 *** The result is that libtool may fail to recognize shared libraries
8192 *** as such.  This will affect the creation of libtool libraries that
8193 *** depend on shared libraries, but programs linked with such libtool
8194 *** libraries will work regardless of this problem.  Nevertheless, you
8195 *** may want to report the problem to your system manager and/or to
8196 *** bug-libtool@gnu.org
8198 _LT_EOF
8199           fi ;;
8200         esac
8201       fi
8202       break
8203     fi
8204   done
8205   IFS="$lt_save_ifs"
8206   MAGIC_CMD="$lt_save_MAGIC_CMD"
8207   ;;
8208 esac
8211 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8212 if test -n "$MAGIC_CMD"; then
8213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8214 $as_echo "$MAGIC_CMD" >&6; }
8215 else
8216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217 $as_echo "no" >&6; }
8221   else
8222     MAGIC_CMD=:
8223   fi
8226   fi
8227   ;;
8228 esac
8230 # Use C for the default configuration in the libtool script
8232 lt_save_CC="$CC"
8233 ac_ext=c
8234 ac_cpp='$CPP $CPPFLAGS'
8235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8240 # Source file extension for C test sources.
8241 ac_ext=c
8243 # Object file extension for compiled C test sources.
8244 objext=o
8245 objext=$objext
8247 # Code to be used in simple compile tests
8248 lt_simple_compile_test_code="int some_variable = 0;"
8250 # Code to be used in simple link tests
8251 lt_simple_link_test_code='int main(){return(0);}'
8259 # If no C compiler was specified, use CC.
8260 LTCC=${LTCC-"$CC"}
8262 # If no C compiler flags were specified, use CFLAGS.
8263 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8265 # Allow CC to be a program name with arguments.
8266 compiler=$CC
8268 # Save the default compiler, since it gets overwritten when the other
8269 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8270 compiler_DEFAULT=$CC
8272 # save warnings/boilerplate of simple test code
8273 ac_outfile=conftest.$ac_objext
8274 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8275 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8276 _lt_compiler_boilerplate=`cat conftest.err`
8277 $RM conftest*
8279 ac_outfile=conftest.$ac_objext
8280 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8281 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8282 _lt_linker_boilerplate=`cat conftest.err`
8283 $RM -r conftest*
8286 ## CAVEAT EMPTOR:
8287 ## There is no encapsulation within the following macros, do not change
8288 ## the running order or otherwise move them around unless you know exactly
8289 ## what you are doing...
8290 if test -n "$compiler"; then
8291   
8292 lt_prog_compiler_no_builtin_flag=
8294 if test "$GCC" = yes; then
8295   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8298 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8299 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8300   $as_echo_n "(cached) " >&6
8301 else
8302   lt_cv_prog_compiler_rtti_exceptions=no
8303    ac_outfile=conftest.$ac_objext
8304    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8305    lt_compiler_flag="-fno-rtti -fno-exceptions"
8306    # Insert the option either (1) after the last *FLAGS variable, or
8307    # (2) before a word containing "conftest.", or (3) at the end.
8308    # Note that $ac_compile itself does not contain backslashes and begins
8309    # with a dollar sign (not a hyphen), so the echo should work correctly.
8310    # The option is referenced via a variable to avoid confusing sed.
8311    lt_compile=`echo "$ac_compile" | $SED \
8312    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8313    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8314    -e 's:$: $lt_compiler_flag:'`
8315    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8316    (eval "$lt_compile" 2>conftest.err)
8317    ac_status=$?
8318    cat conftest.err >&5
8319    echo "$as_me:__oline__: \$? = $ac_status" >&5
8320    if (exit $ac_status) && test -s "$ac_outfile"; then
8321      # The compiler can only warn and ignore the option if not recognized
8322      # So say no if there are warnings other than the usual output.
8323      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8324      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8325      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8326        lt_cv_prog_compiler_rtti_exceptions=yes
8327      fi
8328    fi
8329    $RM conftest*
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8333 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8335 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8336     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8337 else
8338     :
8343     
8344     
8345     
8348   lt_prog_compiler_wl=
8349 lt_prog_compiler_pic=
8350 lt_prog_compiler_static=
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8353 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8355   if test "$GCC" = yes; then
8356     lt_prog_compiler_wl='-Wl,'
8357     lt_prog_compiler_static='-static'
8359     case $host_os in
8360       aix*)
8361       # All AIX code is PIC.
8362       if test "$host_cpu" = ia64; then
8363         # AIX 5 now supports IA64 processor
8364         lt_prog_compiler_static='-Bstatic'
8365       fi
8366       ;;
8368     amigaos*)
8369       case $host_cpu in
8370       powerpc)
8371             # see comment about AmigaOS4 .so support
8372             lt_prog_compiler_pic='-fPIC'
8373         ;;
8374       m68k)
8375             # FIXME: we need at least 68020 code to build shared libraries, but
8376             # adding the `-m68020' flag to GCC prevents building anything better,
8377             # like `-m68040'.
8378             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8379         ;;
8380       esac
8381       ;;
8383     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8384       # PIC is the default for these OSes.
8385       ;;
8387     mingw* | cygwin* | pw32* | os2* | cegcc*)
8388       # This hack is so that the source file can tell whether it is being
8389       # built for inclusion in a dll (and should export symbols for example).
8390       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8391       # (--disable-auto-import) libraries
8392       lt_prog_compiler_pic='-DDLL_EXPORT'
8393       ;;
8395     darwin* | rhapsody*)
8396       # PIC is the default on this platform
8397       # Common symbols not allowed in MH_DYLIB files
8398       lt_prog_compiler_pic='-fno-common'
8399       ;;
8401     hpux*)
8402       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8403       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8404       # sets the default TLS model and affects inlining.
8405       case $host_cpu in
8406       hppa*64*)
8407         # +Z the default
8408         ;;
8409       *)
8410         lt_prog_compiler_pic='-fPIC'
8411         ;;
8412       esac
8413       ;;
8415     interix[3-9]*)
8416       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8417       # Instead, we relocate shared libraries at runtime.
8418       ;;
8420     msdosdjgpp*)
8421       # Just because we use GCC doesn't mean we suddenly get shared libraries
8422       # on systems that don't support them.
8423       lt_prog_compiler_can_build_shared=no
8424       enable_shared=no
8425       ;;
8427     *nto* | *qnx*)
8428       # QNX uses GNU C++, but need to define -shared option too, otherwise
8429       # it will coredump.
8430       lt_prog_compiler_pic='-fPIC -shared'
8431       ;;
8433     sysv4*MP*)
8434       if test -d /usr/nec; then
8435         lt_prog_compiler_pic=-Kconform_pic
8436       fi
8437       ;;
8439     *)
8440       lt_prog_compiler_pic='-fPIC'
8441       ;;
8442     esac
8443   else
8444     # PORTME Check for flag to pass linker flags through the system compiler.
8445     case $host_os in
8446     aix*)
8447       lt_prog_compiler_wl='-Wl,'
8448       if test "$host_cpu" = ia64; then
8449         # AIX 5 now supports IA64 processor
8450         lt_prog_compiler_static='-Bstatic'
8451       else
8452         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8453       fi
8454       ;;
8456     mingw* | cygwin* | pw32* | os2* | cegcc*)
8457       # This hack is so that the source file can tell whether it is being
8458       # built for inclusion in a dll (and should export symbols for example).
8459       lt_prog_compiler_pic='-DDLL_EXPORT'
8460       ;;
8462     hpux9* | hpux10* | hpux11*)
8463       lt_prog_compiler_wl='-Wl,'
8464       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8465       # not for PA HP-UX.
8466       case $host_cpu in
8467       hppa*64*|ia64*)
8468         # +Z the default
8469         ;;
8470       *)
8471         lt_prog_compiler_pic='+Z'
8472         ;;
8473       esac
8474       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8475       lt_prog_compiler_static='${wl}-a ${wl}archive'
8476       ;;
8478     irix5* | irix6* | nonstopux*)
8479       lt_prog_compiler_wl='-Wl,'
8480       # PIC (with -KPIC) is the default.
8481       lt_prog_compiler_static='-non_shared'
8482       ;;
8484     linux* | k*bsd*-gnu)
8485       case $cc_basename in
8486       # old Intel for x86_64 which still supported -KPIC.
8487       ecc*)
8488         lt_prog_compiler_wl='-Wl,'
8489         lt_prog_compiler_pic='-KPIC'
8490         lt_prog_compiler_static='-static'
8491         ;;
8492       # icc used to be incompatible with GCC.
8493       # ICC 10 doesn't accept -KPIC any more.
8494       icc* | ifort*)
8495         lt_prog_compiler_wl='-Wl,'
8496         lt_prog_compiler_pic='-fPIC'
8497         lt_prog_compiler_static='-static'
8498         ;;
8499       # Lahey Fortran 8.1.
8500       lf95*)
8501         lt_prog_compiler_wl='-Wl,'
8502         lt_prog_compiler_pic='--shared'
8503         lt_prog_compiler_static='--static'
8504         ;;
8505       pgcc* | pgf77* | pgf90* | pgf95*)
8506         # Portland Group compilers (*not* the Pentium gcc compiler,
8507         # which looks to be a dead project)
8508         lt_prog_compiler_wl='-Wl,'
8509         lt_prog_compiler_pic='-fpic'
8510         lt_prog_compiler_static='-Bstatic'
8511         ;;
8512       ccc*)
8513         lt_prog_compiler_wl='-Wl,'
8514         # All Alpha code is PIC.
8515         lt_prog_compiler_static='-non_shared'
8516         ;;
8517       xl*)
8518         # IBM XL C 8.0/Fortran 10.1 on PPC
8519         lt_prog_compiler_wl='-Wl,'
8520         lt_prog_compiler_pic='-qpic'
8521         lt_prog_compiler_static='-qstaticlink'
8522         ;;
8523       *)
8524         case `$CC -V 2>&1 | sed 5q` in
8525         *Sun\ C*)
8526           # Sun C 5.9
8527           lt_prog_compiler_pic='-KPIC'
8528           lt_prog_compiler_static='-Bstatic'
8529           lt_prog_compiler_wl='-Wl,'
8530           ;;
8531         *Sun\ F*)
8532           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8533           lt_prog_compiler_pic='-KPIC'
8534           lt_prog_compiler_static='-Bstatic'
8535           lt_prog_compiler_wl=''
8536           ;;
8537         esac
8538         ;;
8539       esac
8540       ;;
8542     newsos6)
8543       lt_prog_compiler_pic='-KPIC'
8544       lt_prog_compiler_static='-Bstatic'
8545       ;;
8547     *nto* | *qnx*)
8548       # QNX uses GNU C++, but need to define -shared option too, otherwise
8549       # it will coredump.
8550       lt_prog_compiler_pic='-fPIC -shared'
8551       ;;
8553     osf3* | osf4* | osf5*)
8554       lt_prog_compiler_wl='-Wl,'
8555       # All OSF/1 code is PIC.
8556       lt_prog_compiler_static='-non_shared'
8557       ;;
8559     rdos*)
8560       lt_prog_compiler_static='-non_shared'
8561       ;;
8563     solaris*)
8564       lt_prog_compiler_pic='-KPIC'
8565       lt_prog_compiler_static='-Bstatic'
8566       case $cc_basename in
8567       f77* | f90* | f95*)
8568         lt_prog_compiler_wl='-Qoption ld ';;
8569       *)
8570         lt_prog_compiler_wl='-Wl,';;
8571       esac
8572       ;;
8574     sunos4*)
8575       lt_prog_compiler_wl='-Qoption ld '
8576       lt_prog_compiler_pic='-PIC'
8577       lt_prog_compiler_static='-Bstatic'
8578       ;;
8580     sysv4 | sysv4.2uw2* | sysv4.3*)
8581       lt_prog_compiler_wl='-Wl,'
8582       lt_prog_compiler_pic='-KPIC'
8583       lt_prog_compiler_static='-Bstatic'
8584       ;;
8586     sysv4*MP*)
8587       if test -d /usr/nec ;then
8588         lt_prog_compiler_pic='-Kconform_pic'
8589         lt_prog_compiler_static='-Bstatic'
8590       fi
8591       ;;
8593     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8594       lt_prog_compiler_wl='-Wl,'
8595       lt_prog_compiler_pic='-KPIC'
8596       lt_prog_compiler_static='-Bstatic'
8597       ;;
8599     unicos*)
8600       lt_prog_compiler_wl='-Wl,'
8601       lt_prog_compiler_can_build_shared=no
8602       ;;
8604     uts4*)
8605       lt_prog_compiler_pic='-pic'
8606       lt_prog_compiler_static='-Bstatic'
8607       ;;
8609     *)
8610       lt_prog_compiler_can_build_shared=no
8611       ;;
8612     esac
8613   fi
8615 case $host_os in
8616   # For platforms which do not support PIC, -DPIC is meaningless:
8617   *djgpp*)
8618     lt_prog_compiler_pic=
8619     ;;
8620   *)
8621     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8622     ;;
8623 esac
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8625 $as_echo "$lt_prog_compiler_pic" >&6; }
8627     
8628     
8629     
8633 # Check to make sure the PIC flag actually works.
8635 if test -n "$lt_prog_compiler_pic"; then
8636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8637 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8638 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8639   $as_echo_n "(cached) " >&6
8640 else
8641   lt_cv_prog_compiler_pic_works=no
8642    ac_outfile=conftest.$ac_objext
8643    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8644    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8645    # Insert the option either (1) after the last *FLAGS variable, or
8646    # (2) before a word containing "conftest.", or (3) at the end.
8647    # Note that $ac_compile itself does not contain backslashes and begins
8648    # with a dollar sign (not a hyphen), so the echo should work correctly.
8649    # The option is referenced via a variable to avoid confusing sed.
8650    lt_compile=`echo "$ac_compile" | $SED \
8651    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8652    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8653    -e 's:$: $lt_compiler_flag:'`
8654    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8655    (eval "$lt_compile" 2>conftest.err)
8656    ac_status=$?
8657    cat conftest.err >&5
8658    echo "$as_me:__oline__: \$? = $ac_status" >&5
8659    if (exit $ac_status) && test -s "$ac_outfile"; then
8660      # The compiler can only warn and ignore the option if not recognized
8661      # So say no if there are warnings other than the usual output.
8662      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8663      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8664      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8665        lt_cv_prog_compiler_pic_works=yes
8666      fi
8667    fi
8668    $RM conftest*
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8672 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8674 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8675     case $lt_prog_compiler_pic in
8676      "" | " "*) ;;
8677      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8678      esac
8679 else
8680     lt_prog_compiler_pic=
8681      lt_prog_compiler_can_build_shared=no
8686     
8687     
8688     
8692 # Check to make sure the static flag actually works.
8694 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8696 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8697 if ${lt_cv_prog_compiler_static_works+:} false; then :
8698   $as_echo_n "(cached) " >&6
8699 else
8700   lt_cv_prog_compiler_static_works=no
8701    save_LDFLAGS="$LDFLAGS"
8702    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8703    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8704    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8705      # The linker can only warn and ignore the option if not recognized
8706      # So say no if there are warnings
8707      if test -s conftest.err; then
8708        # Append any errors to the config.log.
8709        cat conftest.err 1>&5
8710        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8711        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8712        if diff conftest.exp conftest.er2 >/dev/null; then
8713          lt_cv_prog_compiler_static_works=yes
8714        fi
8715      else
8716        lt_cv_prog_compiler_static_works=yes
8717      fi
8718    fi
8719    $RM -r conftest*
8720    LDFLAGS="$save_LDFLAGS"
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8724 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8726 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8727     :
8728 else
8729     lt_prog_compiler_static=
8733     
8734     
8735     
8738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8739 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8740 if ${lt_cv_prog_compiler_c_o+:} false; then :
8741   $as_echo_n "(cached) " >&6
8742 else
8743   lt_cv_prog_compiler_c_o=no
8744    $RM -r conftest 2>/dev/null
8745    mkdir conftest
8746    cd conftest
8747    mkdir out
8748    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8750    lt_compiler_flag="-o out/conftest2.$ac_objext"
8751    # Insert the option either (1) after the last *FLAGS variable, or
8752    # (2) before a word containing "conftest.", or (3) at the end.
8753    # Note that $ac_compile itself does not contain backslashes and begins
8754    # with a dollar sign (not a hyphen), so the echo should work correctly.
8755    lt_compile=`echo "$ac_compile" | $SED \
8756    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8757    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8758    -e 's:$: $lt_compiler_flag:'`
8759    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8760    (eval "$lt_compile" 2>out/conftest.err)
8761    ac_status=$?
8762    cat out/conftest.err >&5
8763    echo "$as_me:__oline__: \$? = $ac_status" >&5
8764    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8765    then
8766      # The compiler can only warn and ignore the option if not recognized
8767      # So say no if there are warnings
8768      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8769      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8770      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8771        lt_cv_prog_compiler_c_o=yes
8772      fi
8773    fi
8774    chmod u+w . 2>&5
8775    $RM conftest*
8776    # SGI C++ compiler will create directory out/ii_files/ for
8777    # template instantiation
8778    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8779    $RM out/* && rmdir out
8780    cd ..
8781    $RM -r conftest
8782    $RM conftest*
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8786 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8788     
8789     
8790     
8793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8794 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8795 if ${lt_cv_prog_compiler_c_o+:} false; then :
8796   $as_echo_n "(cached) " >&6
8797 else
8798   lt_cv_prog_compiler_c_o=no
8799    $RM -r conftest 2>/dev/null
8800    mkdir conftest
8801    cd conftest
8802    mkdir out
8803    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8805    lt_compiler_flag="-o out/conftest2.$ac_objext"
8806    # Insert the option either (1) after the last *FLAGS variable, or
8807    # (2) before a word containing "conftest.", or (3) at the end.
8808    # Note that $ac_compile itself does not contain backslashes and begins
8809    # with a dollar sign (not a hyphen), so the echo should work correctly.
8810    lt_compile=`echo "$ac_compile" | $SED \
8811    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8812    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8813    -e 's:$: $lt_compiler_flag:'`
8814    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8815    (eval "$lt_compile" 2>out/conftest.err)
8816    ac_status=$?
8817    cat out/conftest.err >&5
8818    echo "$as_me:__oline__: \$? = $ac_status" >&5
8819    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8820    then
8821      # The compiler can only warn and ignore the option if not recognized
8822      # So say no if there are warnings
8823      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8824      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8825      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8826        lt_cv_prog_compiler_c_o=yes
8827      fi
8828    fi
8829    chmod u+w . 2>&5
8830    $RM conftest*
8831    # SGI C++ compiler will create directory out/ii_files/ for
8832    # template instantiation
8833    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8834    $RM out/* && rmdir out
8835    cd ..
8836    $RM -r conftest
8837    $RM conftest*
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8841 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8846 hard_links="nottested"
8847 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8848   # do not overwrite the value of need_locks provided by the user
8849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8850 $as_echo_n "checking if we can lock with hard links... " >&6; }
8851   hard_links=yes
8852   $RM conftest*
8853   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8854   touch conftest.a
8855   ln conftest.a conftest.b 2>&5 || hard_links=no
8856   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8858 $as_echo "$hard_links" >&6; }
8859   if test "$hard_links" = no; then
8860     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8861 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8862     need_locks=warn
8863   fi
8864 else
8865   need_locks=no
8868     
8869     
8870     
8873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8874 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8876   runpath_var=
8877   allow_undefined_flag=
8878   always_export_symbols=no
8879   archive_cmds=
8880   archive_expsym_cmds=
8881   compiler_needs_object=no
8882   enable_shared_with_static_runtimes=no
8883   export_dynamic_flag_spec=
8884   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8885   hardcode_automatic=no
8886   hardcode_direct=no
8887   hardcode_direct_absolute=no
8888   hardcode_libdir_flag_spec=
8889   hardcode_libdir_flag_spec_ld=
8890   hardcode_libdir_separator=
8891   hardcode_minus_L=no
8892   hardcode_shlibpath_var=unsupported
8893   inherit_rpath=no
8894   link_all_deplibs=unknown
8895   module_cmds=
8896   module_expsym_cmds=
8897   old_archive_from_new_cmds=
8898   old_archive_from_expsyms_cmds=
8899   thread_safe_flag_spec=
8900   whole_archive_flag_spec=
8901   # include_expsyms should be a list of space-separated symbols to be *always*
8902   # included in the symbol list
8903   include_expsyms=
8904   # exclude_expsyms can be an extended regexp of symbols to exclude
8905   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8906   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8907   # as well as any symbol that contains `d'.
8908   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8909   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8910   # platforms (ab)use it in PIC code, but their linkers get confused if
8911   # the symbol is explicitly referenced.  Since portable code cannot
8912   # rely on this symbol name, it's probably fine to never include it in
8913   # preloaded symbol tables.
8914   # Exclude shared library initialization/finalization symbols.
8915   extract_expsyms_cmds=
8917   case $host_os in
8918   cygwin* | mingw* | pw32* | cegcc*)
8919     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8920     # When not using gcc, we currently assume that we are using
8921     # Microsoft Visual C++.
8922     if test "$GCC" != yes; then
8923       with_gnu_ld=no
8924     fi
8925     ;;
8926   interix*)
8927     # we just hope/assume this is gcc and not c89 (= MSVC++)
8928     with_gnu_ld=yes
8929     ;;
8930   openbsd*)
8931     with_gnu_ld=no
8932     ;;
8933   esac
8935   ld_shlibs=yes
8936   if test "$with_gnu_ld" = yes; then
8937     # If archive_cmds runs LD, not CC, wlarc should be empty
8938     wlarc='${wl}'
8940     # Set some defaults for GNU ld with shared library support. These
8941     # are reset later if shared libraries are not supported. Putting them
8942     # here allows them to be overridden if necessary.
8943     runpath_var=LD_RUN_PATH
8944     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8945     export_dynamic_flag_spec='${wl}--export-dynamic'
8946     # ancient GNU ld didn't support --whole-archive et. al.
8947     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8948       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8949     else
8950       whole_archive_flag_spec=
8951     fi
8952     supports_anon_versioning=no
8953     case `$LD -v 2>&1` in
8954       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8955       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8956       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8957       *\ 2.11.*) ;; # other 2.11 versions
8958       *) supports_anon_versioning=yes ;;
8959     esac
8961     # See if GNU ld supports shared libraries.
8962     case $host_os in
8963     aix[3-9]*)
8964       # On AIX/PPC, the GNU linker is very broken
8965       if test "$host_cpu" != ia64; then
8966         ld_shlibs=no
8967         cat <<_LT_EOF 1>&2
8969 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8970 *** to be unable to reliably create shared libraries on AIX.
8971 *** Therefore, libtool is disabling shared libraries support.  If you
8972 *** really care for shared libraries, you may want to modify your PATH
8973 *** so that a non-GNU linker is found, and then restart.
8975 _LT_EOF
8976       fi
8977       ;;
8979     amigaos*)
8980       case $host_cpu in
8981       powerpc)
8982             # see comment about AmigaOS4 .so support
8983             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8984             archive_expsym_cmds=''
8985         ;;
8986       m68k)
8987             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)'
8988             hardcode_libdir_flag_spec='-L$libdir'
8989             hardcode_minus_L=yes
8990         ;;
8991       esac
8992       ;;
8994     beos*)
8995       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8996         allow_undefined_flag=unsupported
8997         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8998         # support --undefined.  This deserves some investigation.  FIXME
8999         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9000       else
9001         ld_shlibs=no
9002       fi
9003       ;;
9005     cygwin* | mingw* | pw32* | cegcc*)
9006       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9007       # as there is no search path for DLLs.
9008       hardcode_libdir_flag_spec='-L$libdir'
9009       allow_undefined_flag=unsupported
9010       always_export_symbols=no
9011       enable_shared_with_static_runtimes=yes
9012       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9014       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9015         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9016         # If the export-symbols file already is a .def file (1st line
9017         # is EXPORTS), use it as is; otherwise, prepend...
9018         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9019           cp $export_symbols $output_objdir/$soname.def;
9020         else
9021           echo EXPORTS > $output_objdir/$soname.def;
9022           cat $export_symbols >> $output_objdir/$soname.def;
9023         fi~
9024         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9025       else
9026         ld_shlibs=no
9027       fi
9028       ;;
9030     interix[3-9]*)
9031       hardcode_direct=no
9032       hardcode_shlibpath_var=no
9033       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9034       export_dynamic_flag_spec='${wl}-E'
9035       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9036       # Instead, shared libraries are loaded at an image base (0x10000000 by
9037       # default) and relocated if they conflict, which is a slow very memory
9038       # consuming and fragmenting process.  To avoid this, we pick a random,
9039       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9040       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9041       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9042       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'
9043       ;;
9045     gnu* | linux* | tpf* | k*bsd*-gnu)
9046       tmp_diet=no
9047       if test "$host_os" = linux-dietlibc; then
9048         case $cc_basename in
9049           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9050         esac
9051       fi
9052       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9053          && test "$tmp_diet" = no
9054       then
9055         tmp_addflag=
9056         tmp_sharedflag='-shared'
9057         case $cc_basename,$host_cpu in
9058         pgcc*)                          # Portland Group C compiler
9059           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9060           tmp_addflag=' $pic_flag'
9061           ;;
9062         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9063           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9064           tmp_addflag=' $pic_flag -Mnomain' ;;
9065         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9066           tmp_addflag=' -i_dynamic' ;;
9067         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9068           tmp_addflag=' -i_dynamic -nofor_main' ;;
9069         ifc* | ifort*)                  # Intel Fortran compiler
9070           tmp_addflag=' -nofor_main' ;;
9071         lf95*)                          # Lahey Fortran 8.1
9072           whole_archive_flag_spec=
9073           tmp_sharedflag='--shared' ;;
9074         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9075           tmp_sharedflag='-qmkshrobj'
9076           tmp_addflag= ;;
9077         esac
9078         case `$CC -V 2>&1 | sed 5q` in
9079         *Sun\ C*)                       # Sun C 5.9
9080           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9081           compiler_needs_object=yes
9082           tmp_sharedflag='-G' ;;
9083         *Sun\ F*)                       # Sun Fortran 8.3
9084           tmp_sharedflag='-G' ;;
9085         esac
9086         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9088         if test "x$supports_anon_versioning" = xyes; then
9089           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9090             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9091             echo "local: *; };" >> $output_objdir/$libname.ver~
9092             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9093         fi
9095         case $cc_basename in
9096         xlf*)
9097           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9098           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9099           hardcode_libdir_flag_spec=
9100           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9101           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9102           if test "x$supports_anon_versioning" = xyes; then
9103             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9104               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9105               echo "local: *; };" >> $output_objdir/$libname.ver~
9106               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9107           fi
9108           ;;
9109         esac
9110       else
9111         ld_shlibs=no
9112       fi
9113       ;;
9115     netbsd*)
9116       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9117         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9118         wlarc=
9119       else
9120         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9121         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9122       fi
9123       ;;
9125     solaris*)
9126       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9127         ld_shlibs=no
9128         cat <<_LT_EOF 1>&2
9130 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9131 *** create shared libraries on Solaris systems.  Therefore, libtool
9132 *** is disabling shared libraries support.  We urge you to upgrade GNU
9133 *** binutils to release 2.9.1 or newer.  Another option is to modify
9134 *** your PATH or compiler configuration so that the native linker is
9135 *** used, and then restart.
9137 _LT_EOF
9138       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9139         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9140         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9141       else
9142         ld_shlibs=no
9143       fi
9144       ;;
9146     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9147       case `$LD -v 2>&1` in
9148         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9149         ld_shlibs=no
9150         cat <<_LT_EOF 1>&2
9152 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9153 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9154 *** is disabling shared libraries support.  We urge you to upgrade GNU
9155 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9156 *** your PATH or compiler configuration so that the native linker is
9157 *** used, and then restart.
9159 _LT_EOF
9160         ;;
9161         *)
9162           # For security reasons, it is highly recommended that you always
9163           # use absolute paths for naming shared libraries, and exclude the
9164           # DT_RUNPATH tag from executables and libraries.  But doing so
9165           # requires that you compile everything twice, which is a pain.
9166           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9167             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9168             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9169             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9170           else
9171             ld_shlibs=no
9172           fi
9173         ;;
9174       esac
9175       ;;
9177     sunos4*)
9178       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9179       wlarc=
9180       hardcode_direct=yes
9181       hardcode_shlibpath_var=no
9182       ;;
9184     *)
9185       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9186         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9187         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9188       else
9189         ld_shlibs=no
9190       fi
9191       ;;
9192     esac
9194     if test "$ld_shlibs" = no; then
9195       runpath_var=
9196       hardcode_libdir_flag_spec=
9197       export_dynamic_flag_spec=
9198       whole_archive_flag_spec=
9199     fi
9200   else
9201     # PORTME fill in a description of your system's linker (not GNU ld)
9202     case $host_os in
9203     aix3*)
9204       allow_undefined_flag=unsupported
9205       always_export_symbols=yes
9206       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'
9207       # Note: this linker hardcodes the directories in LIBPATH if there
9208       # are no directories specified by -L.
9209       hardcode_minus_L=yes
9210       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9211         # Neither direct hardcoding nor static linking is supported with a
9212         # broken collect2.
9213         hardcode_direct=unsupported
9214       fi
9215       ;;
9217     aix[4-9]*)
9218       if test "$host_cpu" = ia64; then
9219         # On IA64, the linker does run time linking by default, so we don't
9220         # have to do anything special.
9221         aix_use_runtimelinking=no
9222         exp_sym_flag='-Bexport'
9223         no_entry_flag=""
9224       else
9225         # If we're using GNU nm, then we don't want the "-C" option.
9226         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9227         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9228           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9229         else
9230           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9231         fi
9232         aix_use_runtimelinking=no
9234         # Test if we are trying to use run time linking or normal
9235         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9236         # need to do runtime linking.
9237         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9238           for ld_flag in $LDFLAGS; do
9239           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9240             aix_use_runtimelinking=yes
9241             break
9242           fi
9243           done
9244           ;;
9245         esac
9247         exp_sym_flag='-bexport'
9248         no_entry_flag='-bnoentry'
9249       fi
9251       # When large executables or shared objects are built, AIX ld can
9252       # have problems creating the table of contents.  If linking a library
9253       # or program results in "error TOC overflow" add -mminimal-toc to
9254       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9255       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9257       archive_cmds=''
9258       hardcode_direct=yes
9259       hardcode_direct_absolute=yes
9260       hardcode_libdir_separator=':'
9261       link_all_deplibs=yes
9262       file_list_spec='${wl}-f,'
9264       if test "$GCC" = yes; then
9265         case $host_os in aix4.[012]|aix4.[012].*)
9266         # We only want to do this on AIX 4.2 and lower, the check
9267         # below for broken collect2 doesn't work under 4.3+
9268           collect2name=`${CC} -print-prog-name=collect2`
9269           if test -f "$collect2name" &&
9270            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9271           then
9272           # We have reworked collect2
9273           :
9274           else
9275           # We have old collect2
9276           hardcode_direct=unsupported
9277           # It fails to find uninstalled libraries when the uninstalled
9278           # path is not listed in the libpath.  Setting hardcode_minus_L
9279           # to unsupported forces relinking
9280           hardcode_minus_L=yes
9281           hardcode_libdir_flag_spec='-L$libdir'
9282           hardcode_libdir_separator=
9283           fi
9284           ;;
9285         esac
9286         shared_flag='-shared'
9287         if test "$aix_use_runtimelinking" = yes; then
9288           shared_flag="$shared_flag "'${wl}-G'
9289         fi
9290       else
9291         # not using gcc
9292         if test "$host_cpu" = ia64; then
9293         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9294         # chokes on -Wl,-G. The following line is correct:
9295           shared_flag='-G'
9296         else
9297           if test "$aix_use_runtimelinking" = yes; then
9298             shared_flag='${wl}-G'
9299           else
9300             shared_flag='${wl}-bM:SRE'
9301           fi
9302         fi
9303       fi
9305       export_dynamic_flag_spec='${wl}-bexpall'
9306       # It seems that -bexpall does not export symbols beginning with
9307       # underscore (_), so it is better to generate a list of symbols to export.
9308       always_export_symbols=yes
9309       if test "$aix_use_runtimelinking" = yes; then
9310         # Warning - without using the other runtime loading flags (-brtl),
9311         # -berok will link without error, but may produce a broken library.
9312         allow_undefined_flag='-berok'
9313         # Determine the default libpath from the value encoded in an
9314         # empty executable.
9315         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h.  */
9319 main ()
9322   ;
9323   return 0;
9325 _ACEOF
9326 if ac_fn_c_try_link "$LINENO"; then :
9327   
9328 lt_aix_libpath_sed='
9329     /Import File Strings/,/^$/ {
9330         /^0/ {
9331             s/^0  *\(.*\)$/\1/
9332             p
9333         }
9334     }'
9335 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9336 # Check for a 64-bit object if we didn't find anything.
9337 if test -z "$aix_libpath"; then
9338   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9341 rm -f core conftest.err conftest.$ac_objext \
9342     conftest$ac_exeext conftest.$ac_ext
9343 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9345         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9346         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9347       else
9348         if test "$host_cpu" = ia64; then
9349           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9350           allow_undefined_flag="-z nodefs"
9351           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"
9352         else
9353          # Determine the default libpath from the value encoded in an
9354          # empty executable.
9355          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h.  */
9359 main ()
9362   ;
9363   return 0;
9365 _ACEOF
9366 if ac_fn_c_try_link "$LINENO"; then :
9367   
9368 lt_aix_libpath_sed='
9369     /Import File Strings/,/^$/ {
9370         /^0/ {
9371             s/^0  *\(.*\)$/\1/
9372             p
9373         }
9374     }'
9375 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9376 # Check for a 64-bit object if we didn't find anything.
9377 if test -z "$aix_libpath"; then
9378   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9381 rm -f core conftest.err conftest.$ac_objext \
9382     conftest$ac_exeext conftest.$ac_ext
9383 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9385          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9386           # Warning - without using the other run time loading flags,
9387           # -berok will link without error, but may produce a broken library.
9388           no_undefined_flag=' ${wl}-bernotok'
9389           allow_undefined_flag=' ${wl}-berok'
9390           # Exported symbols can be pulled into shared objects from archives
9391           whole_archive_flag_spec='$convenience'
9392           archive_cmds_need_lc=yes
9393           # This is similar to how AIX traditionally builds its shared libraries.
9394           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9395         fi
9396       fi
9397       ;;
9399     amigaos*)
9400       case $host_cpu in
9401       powerpc)
9402             # see comment about AmigaOS4 .so support
9403             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9404             archive_expsym_cmds=''
9405         ;;
9406       m68k)
9407             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)'
9408             hardcode_libdir_flag_spec='-L$libdir'
9409             hardcode_minus_L=yes
9410         ;;
9411       esac
9412       ;;
9414     bsdi[45]*)
9415       export_dynamic_flag_spec=-rdynamic
9416       ;;
9418     cygwin* | mingw* | pw32* | cegcc*)
9419       # When not using gcc, we currently assume that we are using
9420       # Microsoft Visual C++.
9421       # hardcode_libdir_flag_spec is actually meaningless, as there is
9422       # no search path for DLLs.
9423       hardcode_libdir_flag_spec=' '
9424       allow_undefined_flag=unsupported
9425       # Tell ltmain to make .lib files, not .a files.
9426       libext=lib
9427       # Tell ltmain to make .dll files, not .so files.
9428       shrext_cmds=".dll"
9429       # FIXME: Setting linknames here is a bad hack.
9430       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9431       # The linker will automatically build a .lib file if we build a DLL.
9432       old_archive_from_new_cmds='true'
9433       # FIXME: Should let the user specify the lib program.
9434       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9435       fix_srcfile_path='`cygpath -w "$srcfile"`'
9436       enable_shared_with_static_runtimes=yes
9437       ;;
9439     darwin* | rhapsody*)
9440       
9441   
9442   archive_cmds_need_lc=no
9443   hardcode_direct=no
9444   hardcode_automatic=yes
9445   hardcode_shlibpath_var=unsupported
9446   whole_archive_flag_spec=''
9447   link_all_deplibs=yes
9448   allow_undefined_flag="$_lt_dar_allow_undefined"
9449   case $cc_basename in
9450      ifort*) _lt_dar_can_shared=yes ;;
9451      *) _lt_dar_can_shared=$GCC ;;
9452   esac
9453   if test "$_lt_dar_can_shared" = "yes"; then
9454     output_verbose_link_cmd=echo
9455     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9456     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9457     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}"
9458     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}"
9459     
9460   else
9461   ld_shlibs=no
9462   fi
9464       ;;
9466     dgux*)
9467       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9468       hardcode_libdir_flag_spec='-L$libdir'
9469       hardcode_shlibpath_var=no
9470       ;;
9472     freebsd1*)
9473       ld_shlibs=no
9474       ;;
9476     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9477     # support.  Future versions do this automatically, but an explicit c++rt0.o
9478     # does not break anything, and helps significantly (at the cost of a little
9479     # extra space).
9480     freebsd2.2*)
9481       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9482       hardcode_libdir_flag_spec='-R$libdir'
9483       hardcode_direct=yes
9484       hardcode_shlibpath_var=no
9485       ;;
9487     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9488     freebsd2*)
9489       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9490       hardcode_direct=yes
9491       hardcode_minus_L=yes
9492       hardcode_shlibpath_var=no
9493       ;;
9495     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9496     freebsd* | dragonfly*)
9497       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9498       hardcode_libdir_flag_spec='-R$libdir'
9499       hardcode_direct=yes
9500       hardcode_shlibpath_var=no
9501       ;;
9503     hpux9*)
9504       if test "$GCC" = yes; then
9505         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9506       else
9507         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9508       fi
9509       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9510       hardcode_libdir_separator=:
9511       hardcode_direct=yes
9513       # hardcode_minus_L: Not really in the search PATH,
9514       # but as the default location of the library.
9515       hardcode_minus_L=yes
9516       export_dynamic_flag_spec='${wl}-E'
9517       ;;
9519     hpux10*)
9520       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9521         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9522       else
9523         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9524       fi
9525       if test "$with_gnu_ld" = no; then
9526         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9527         hardcode_libdir_flag_spec_ld='+b $libdir'
9528         hardcode_libdir_separator=:
9529         hardcode_direct=yes
9530         hardcode_direct_absolute=yes
9531         export_dynamic_flag_spec='${wl}-E'
9532         # hardcode_minus_L: Not really in the search PATH,
9533         # but as the default location of the library.
9534         hardcode_minus_L=yes
9535       fi
9536       ;;
9538     hpux11*)
9539       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9540         case $host_cpu in
9541         hppa*64*)
9542           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9543           ;;
9544         ia64*)
9545           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9546           ;;
9547         *)
9548           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9549           ;;
9550         esac
9551       else
9552         case $host_cpu in
9553         hppa*64*)
9554           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9555           ;;
9556         ia64*)
9557           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9558           ;;
9559         *)
9560           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9561           ;;
9562         esac
9563       fi
9564       if test "$with_gnu_ld" = no; then
9565         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9566         hardcode_libdir_separator=:
9568         case $host_cpu in
9569         hppa*64*|ia64*)
9570           hardcode_direct=no
9571           hardcode_shlibpath_var=no
9572           ;;
9573         *)
9574           hardcode_direct=yes
9575           hardcode_direct_absolute=yes
9576           export_dynamic_flag_spec='${wl}-E'
9578           # hardcode_minus_L: Not really in the search PATH,
9579           # but as the default location of the library.
9580           hardcode_minus_L=yes
9581           ;;
9582         esac
9583       fi
9584       ;;
9586     irix5* | irix6* | nonstopux*)
9587       if test "$GCC" = yes; then
9588         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9589         # Try to use the -exported_symbol ld option, if it does not
9590         # work, assume that -exports_file does not work either and
9591         # implicitly export all symbols.
9592         save_LDFLAGS="$LDFLAGS"
9593         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9594         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h.  */
9596 int foo (void) { return 0; }
9597 _ACEOF
9598 if ac_fn_c_try_link "$LINENO"; then :
9599   
9600           archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9601         
9603 rm -f core conftest.err conftest.$ac_objext \
9604     conftest$ac_exeext conftest.$ac_ext
9605         LDFLAGS="$save_LDFLAGS"
9606       else
9607         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9608         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9609       fi
9610       archive_cmds_need_lc='no'
9611       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9612       hardcode_libdir_separator=:
9613       inherit_rpath=yes
9614       link_all_deplibs=yes
9615       ;;
9617     netbsd*)
9618       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9619         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9620       else
9621         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9622       fi
9623       hardcode_libdir_flag_spec='-R$libdir'
9624       hardcode_direct=yes
9625       hardcode_shlibpath_var=no
9626       ;;
9628     newsos6)
9629       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9630       hardcode_direct=yes
9631       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9632       hardcode_libdir_separator=:
9633       hardcode_shlibpath_var=no
9634       ;;
9636     *nto* | *qnx*)
9637       ;;
9639     openbsd*)
9640       if test -f /usr/libexec/ld.so; then
9641         hardcode_direct=yes
9642         hardcode_shlibpath_var=no
9643         hardcode_direct_absolute=yes
9644         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9645           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9646           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9647           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9648           export_dynamic_flag_spec='${wl}-E'
9649         else
9650           case $host_os in
9651            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9652              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9653              hardcode_libdir_flag_spec='-R$libdir'
9654              ;;
9655            *)
9656              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9657              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9658              ;;
9659           esac
9660         fi
9661       else
9662         ld_shlibs=no
9663       fi
9664       ;;
9666     os2*)
9667       hardcode_libdir_flag_spec='-L$libdir'
9668       hardcode_minus_L=yes
9669       allow_undefined_flag=unsupported
9670       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9671       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9672       ;;
9674     osf3*)
9675       if test "$GCC" = yes; then
9676         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9677         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9678       else
9679         allow_undefined_flag=' -expect_unresolved \*'
9680         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9681       fi
9682       archive_cmds_need_lc='no'
9683       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9684       hardcode_libdir_separator=:
9685       ;;
9687     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9688       if test "$GCC" = yes; then
9689         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9690         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9691         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9692       else
9693         allow_undefined_flag=' -expect_unresolved \*'
9694         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9695         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~
9696         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9698         # Both c and cxx compiler support -rpath directly
9699         hardcode_libdir_flag_spec='-rpath $libdir'
9700       fi
9701       archive_cmds_need_lc='no'
9702       hardcode_libdir_separator=:
9703       ;;
9705     solaris*)
9706       no_undefined_flag=' -z defs'
9707       if test "$GCC" = yes; then
9708         wlarc='${wl}'
9709         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9710         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9711           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9712       else
9713         case `$CC -V 2>&1` in
9714         *"Compilers 5.0"*)
9715           wlarc=''
9716           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9717           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9718           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9719           ;;
9720         *)
9721           wlarc='${wl}'
9722           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9723           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9724           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9725           ;;
9726         esac
9727       fi
9728       hardcode_libdir_flag_spec='-R$libdir'
9729       hardcode_shlibpath_var=no
9730       case $host_os in
9731       solaris2.[0-5] | solaris2.[0-5].*) ;;
9732       *)
9733         # The compiler driver will combine and reorder linker options,
9734         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9735         # but is careful enough not to reorder.
9736         # Supported since Solaris 2.6 (maybe 2.5.1?)
9737         if test "$GCC" = yes; then
9738           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9739         else
9740           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9741         fi
9742         ;;
9743       esac
9744       link_all_deplibs=yes
9745       ;;
9747     sunos4*)
9748       if test "x$host_vendor" = xsequent; then
9749         # Use $CC to link under sequent, because it throws in some extra .o
9750         # files that make .init and .fini sections work.
9751         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9752       else
9753         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9754       fi
9755       hardcode_libdir_flag_spec='-L$libdir'
9756       hardcode_direct=yes
9757       hardcode_minus_L=yes
9758       hardcode_shlibpath_var=no
9759       ;;
9761     sysv4)
9762       case $host_vendor in
9763         sni)
9764           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9765           hardcode_direct=yes # is this really true???
9766         ;;
9767         siemens)
9768           ## LD is ld it makes a PLAMLIB
9769           ## CC just makes a GrossModule.
9770           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9771           reload_cmds='$CC -r -o $output$reload_objs'
9772           hardcode_direct=no
9773         ;;
9774         motorola)
9775           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9776           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9777         ;;
9778       esac
9779       runpath_var='LD_RUN_PATH'
9780       hardcode_shlibpath_var=no
9781       ;;
9783     sysv4.3*)
9784       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9785       hardcode_shlibpath_var=no
9786       export_dynamic_flag_spec='-Bexport'
9787       ;;
9789     sysv4*MP*)
9790       if test -d /usr/nec; then
9791         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9792         hardcode_shlibpath_var=no
9793         runpath_var=LD_RUN_PATH
9794         hardcode_runpath_var=yes
9795         ld_shlibs=yes
9796       fi
9797       ;;
9799     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9800       no_undefined_flag='${wl}-z,text'
9801       archive_cmds_need_lc=no
9802       hardcode_shlibpath_var=no
9803       runpath_var='LD_RUN_PATH'
9805       if test "$GCC" = yes; then
9806         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9807         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9808       else
9809         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9810         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9811       fi
9812       ;;
9814     sysv5* | sco3.2v5* | sco5v6*)
9815       # Note: We can NOT use -z defs as we might desire, because we do not
9816       # link with -lc, and that would cause any symbols used from libc to
9817       # always be unresolved, which means just about no library would
9818       # ever link correctly.  If we're not using GNU ld we use -z text
9819       # though, which does catch some bad symbols but isn't as heavy-handed
9820       # as -z defs.
9821       no_undefined_flag='${wl}-z,text'
9822       allow_undefined_flag='${wl}-z,nodefs'
9823       archive_cmds_need_lc=no
9824       hardcode_shlibpath_var=no
9825       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9826       hardcode_libdir_separator=':'
9827       link_all_deplibs=yes
9828       export_dynamic_flag_spec='${wl}-Bexport'
9829       runpath_var='LD_RUN_PATH'
9831       if test "$GCC" = yes; then
9832         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9833         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9834       else
9835         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9836         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9837       fi
9838       ;;
9840     uts4*)
9841       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9842       hardcode_libdir_flag_spec='-L$libdir'
9843       hardcode_shlibpath_var=no
9844       ;;
9846     *)
9847       ld_shlibs=no
9848       ;;
9849     esac
9851     if test x$host_vendor = xsni; then
9852       case $host in
9853       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9854         export_dynamic_flag_spec='${wl}-Blargedynsym'
9855         ;;
9856       esac
9857     fi
9858   fi
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9861 $as_echo "$ld_shlibs" >&6; }
9862 test "$ld_shlibs" = no && can_build_shared=no
9864 with_gnu_ld=$with_gnu_ld
9867     
9868     
9869     
9871     
9872     
9873     
9875     
9876     
9877     
9881 # Do we need to explicitly link libc?
9883 case "x$archive_cmds_need_lc" in
9884 x|xyes)
9885   # Assume -lc should be added
9886   archive_cmds_need_lc=yes
9888   if test "$enable_shared" = yes && test "$GCC" = yes; then
9889     case $archive_cmds in
9890     *'~'*)
9891       # FIXME: we may have to deal with multi-command sequences.
9892       ;;
9893     '$CC '*)
9894       # Test whether the compiler implicitly links with -lc since on some
9895       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9896       # to ld, don't add -lc before -lgcc.
9897       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9898 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9899       $RM conftest*
9900       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9902       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9903   (eval $ac_compile) 2>&5
9904   ac_status=$?
9905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9906   test $ac_status = 0; } 2>conftest.err; then
9907         soname=conftest
9908         lib=conftest
9909         libobjs=conftest.$ac_objext
9910         deplibs=
9911         wl=$lt_prog_compiler_wl
9912         pic_flag=$lt_prog_compiler_pic
9913         compiler_flags=-v
9914         linker_flags=-v
9915         verstring=
9916         output_objdir=.
9917         libname=conftest
9918         lt_save_allow_undefined_flag=$allow_undefined_flag
9919         allow_undefined_flag=
9920         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9921   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9922   ac_status=$?
9923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9924   test $ac_status = 0; }
9925         then
9926           archive_cmds_need_lc=no
9927         else
9928           archive_cmds_need_lc=yes
9929         fi
9930         allow_undefined_flag=$lt_save_allow_undefined_flag
9931       else
9932         cat conftest.err 1>&5
9933       fi
9934       $RM conftest*
9935       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9936 $as_echo "$archive_cmds_need_lc" >&6; }
9937       ;;
9938     esac
9939   fi
9940   ;;
9941 esac
9944     
9945     
9946     
9949     
9950     
9951     
9954     
9955     
9956     
9959     
9960     
9961     
9964     
9965     
9966     
9969     
9970     
9971     
9974     
9975     
9976     
9979     
9980     
9981     
9984     
9985     
9986     
9989     
9990     
9991     
9994     
9995     
9996     
9999     
10000     
10001     
10004     
10005     
10006     
10009     
10010     
10011     
10014     
10015     
10016     
10019     
10020     
10021     
10024     
10025     
10026     
10029     
10030     
10031     
10034     
10035     
10036     
10039     
10040     
10041     
10044     
10045     
10046     
10049     
10050     
10051     
10054     
10055     
10056     
10059     
10060     
10061     
10064     
10065     
10066     
10069     
10070     
10071     
10074     
10075     
10076     
10079     
10080     
10081     
10084     
10085     
10086     
10089     
10090     
10091     
10094     
10095     
10096     
10099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10100 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10102 if test "$GCC" = yes; then
10103   case $host_os in
10104     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10105     *) lt_awk_arg="/^libraries:/" ;;
10106   esac
10107   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10108   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10109     # if the path contains ";" then we assume it to be the separator
10110     # otherwise default to the standard path separator (i.e. ":") - it is
10111     # assumed that no part of a normal pathname contains ";" but that should
10112     # okay in the real world where ";" in dirpaths is itself problematic.
10113     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10114   else
10115     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10116   fi
10117   # Ok, now we have the path, separated by spaces, we can step through it
10118   # and add multilib dir if necessary.
10119   lt_tmp_lt_search_path_spec=
10120   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10121   for lt_sys_path in $lt_search_path_spec; do
10122     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10123       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10124     else
10125       test -d "$lt_sys_path" && \
10126         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10127     fi
10128   done
10129   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10130 BEGIN {RS=" "; FS="/|\n";} {
10131   lt_foo="";
10132   lt_count=0;
10133   for (lt_i = NF; lt_i > 0; lt_i--) {
10134     if ($lt_i != "" && $lt_i != ".") {
10135       if ($lt_i == "..") {
10136         lt_count++;
10137       } else {
10138         if (lt_count == 0) {
10139           lt_foo="/" $lt_i lt_foo;
10140         } else {
10141           lt_count--;
10142         }
10143       }
10144     }
10145   }
10146   if (lt_foo != "") { lt_freq[lt_foo]++; }
10147   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10149   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10150 else
10151   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10153 library_names_spec=
10154 libname_spec='lib$name'
10155 soname_spec=
10156 shrext_cmds=".so"
10157 postinstall_cmds=
10158 postuninstall_cmds=
10159 finish_cmds=
10160 finish_eval=
10161 shlibpath_var=
10162 shlibpath_overrides_runpath=unknown
10163 version_type=none
10164 dynamic_linker="$host_os ld.so"
10165 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10166 need_lib_prefix=unknown
10167 hardcode_into_libs=no
10169 # when you set need_version to no, make sure it does not cause -set_version
10170 # flags to be left without arguments
10171 need_version=unknown
10173 case $host_os in
10174 aix3*)
10175   version_type=linux
10176   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10177   shlibpath_var=LIBPATH
10179   # AIX 3 has no versioning support, so we append a major version to the name.
10180   soname_spec='${libname}${release}${shared_ext}$major'
10181   ;;
10183 aix[4-9]*)
10184   version_type=linux
10185   need_lib_prefix=no
10186   need_version=no
10187   hardcode_into_libs=yes
10188   if test "$host_cpu" = ia64; then
10189     # AIX 5 supports IA64
10190     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10191     shlibpath_var=LD_LIBRARY_PATH
10192   else
10193     # With GCC up to 2.95.x, collect2 would create an import file
10194     # for dependence libraries.  The import file would start with
10195     # the line `#! .'.  This would cause the generated library to
10196     # depend on `.', always an invalid library.  This was fixed in
10197     # development snapshots of GCC prior to 3.0.
10198     case $host_os in
10199       aix4 | aix4.[01] | aix4.[01].*)
10200       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10201            echo ' yes '
10202            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10203         :
10204       else
10205         can_build_shared=no
10206       fi
10207       ;;
10208     esac
10209     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10210     # soname into executable. Probably we can add versioning support to
10211     # collect2, so additional links can be useful in future.
10212     if test "$aix_use_runtimelinking" = yes; then
10213       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10214       # instead of lib<name>.a to let people know that these are not
10215       # typical AIX shared libraries.
10216       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10217     else
10218       # We preserve .a as extension for shared libraries through AIX4.2
10219       # and later when we are not doing run time linking.
10220       library_names_spec='${libname}${release}.a $libname.a'
10221       soname_spec='${libname}${release}${shared_ext}$major'
10222     fi
10223     shlibpath_var=LIBPATH
10224   fi
10225   ;;
10227 amigaos*)
10228   case $host_cpu in
10229   powerpc)
10230     # Since July 2007 AmigaOS4 officially supports .so libraries.
10231     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10232     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10233     ;;
10234   m68k)
10235     library_names_spec='$libname.ixlibrary $libname.a'
10236     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10237     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10238     ;;
10239   esac
10240   ;;
10242 beos*)
10243   library_names_spec='${libname}${shared_ext}'
10244   dynamic_linker="$host_os ld.so"
10245   shlibpath_var=LIBRARY_PATH
10246   ;;
10248 bsdi[45]*)
10249   version_type=linux
10250   need_version=no
10251   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10252   soname_spec='${libname}${release}${shared_ext}$major'
10253   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10254   shlibpath_var=LD_LIBRARY_PATH
10255   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10256   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10257   # the default ld.so.conf also contains /usr/contrib/lib and
10258   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10259   # libtool to hard-code these into programs
10260   ;;
10262 cygwin* | mingw* | pw32* | cegcc*)
10263   version_type=windows
10264   shrext_cmds=".dll"
10265   need_version=no
10266   need_lib_prefix=no
10268   case $GCC,$host_os in
10269   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10270     library_names_spec='$libname.dll.a'
10271     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10272     postinstall_cmds='base_file=`basename \${file}`~
10273       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10274       dldir=$destdir/`dirname \$dlpath`~
10275       test -d \$dldir || mkdir -p \$dldir~
10276       $install_prog $dir/$dlname \$dldir/$dlname~
10277       chmod a+x \$dldir/$dlname~
10278       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10279         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10280       fi'
10281     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10282       dlpath=$dir/\$dldll~
10283        $RM \$dlpath'
10284     shlibpath_overrides_runpath=yes
10286     case $host_os in
10287     cygwin*)
10288       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10289       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10290       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10291       ;;
10292     mingw* | cegcc*)
10293       # MinGW DLLs use traditional 'lib' prefix
10294       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10295       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10296       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10297         # It is most probably a Windows format PATH printed by
10298         # mingw gcc, but we are running on Cygwin. Gcc prints its search
10299         # path with ; separators, and with drive letters. We can handle the
10300         # drive letters (cygwin fileutils understands them), so leave them,
10301         # especially as we might pass files found there to a mingw objdump,
10302         # which wouldn't understand a cygwinified path. Ahh.
10303         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10304       else
10305         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10306       fi
10307       ;;
10308     pw32*)
10309       # pw32 DLLs use 'pw' prefix rather than 'lib'
10310       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10311       ;;
10312     esac
10313     ;;
10315   *)
10316     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10317     ;;
10318   esac
10319   dynamic_linker='Win32 ld.exe'
10320   # FIXME: first we should search . and the directory the executable is in
10321   shlibpath_var=PATH
10322   ;;
10324 darwin* | rhapsody*)
10325   dynamic_linker="$host_os dyld"
10326   version_type=darwin
10327   need_lib_prefix=no
10328   need_version=no
10329   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10330   soname_spec='${libname}${release}${major}$shared_ext'
10331   shlibpath_overrides_runpath=yes
10332   shlibpath_var=DYLD_LIBRARY_PATH
10333   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10335   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10336   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10337   ;;
10339 dgux*)
10340   version_type=linux
10341   need_lib_prefix=no
10342   need_version=no
10343   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10344   soname_spec='${libname}${release}${shared_ext}$major'
10345   shlibpath_var=LD_LIBRARY_PATH
10346   ;;
10348 freebsd1*)
10349   dynamic_linker=no
10350   ;;
10352 freebsd* | dragonfly*)
10353   # DragonFly does not have aout.  When/if they implement a new
10354   # versioning mechanism, adjust this.
10355   if test -x /usr/bin/objformat; then
10356     objformat=`/usr/bin/objformat`
10357   else
10358     case $host_os in
10359     freebsd[123]*) objformat=aout ;;
10360     *) objformat=elf ;;
10361     esac
10362   fi
10363   version_type=freebsd-$objformat
10364   case $version_type in
10365     freebsd-elf*)
10366       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10367       need_version=no
10368       need_lib_prefix=no
10369       ;;
10370     freebsd-*)
10371       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10372       need_version=yes
10373       ;;
10374   esac
10375   shlibpath_var=LD_LIBRARY_PATH
10376   case $host_os in
10377   freebsd2*)
10378     shlibpath_overrides_runpath=yes
10379     ;;
10380   freebsd3.[01]* | freebsdelf3.[01]*)
10381     shlibpath_overrides_runpath=yes
10382     hardcode_into_libs=yes
10383     ;;
10384   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10385   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10386     shlibpath_overrides_runpath=no
10387     hardcode_into_libs=yes
10388     ;;
10389   *) # from 4.6 on, and DragonFly
10390     shlibpath_overrides_runpath=yes
10391     hardcode_into_libs=yes
10392     ;;
10393   esac
10394   ;;
10396 gnu*)
10397   version_type=linux
10398   need_lib_prefix=no
10399   need_version=no
10400   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10401   soname_spec='${libname}${release}${shared_ext}$major'
10402   shlibpath_var=LD_LIBRARY_PATH
10403   hardcode_into_libs=yes
10404   ;;
10406 hpux9* | hpux10* | hpux11*)
10407   # Give a soname corresponding to the major version so that dld.sl refuses to
10408   # link against other versions.
10409   version_type=sunos
10410   need_lib_prefix=no
10411   need_version=no
10412   case $host_cpu in
10413   ia64*)
10414     shrext_cmds='.so'
10415     hardcode_into_libs=yes
10416     dynamic_linker="$host_os dld.so"
10417     shlibpath_var=LD_LIBRARY_PATH
10418     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10419     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10420     soname_spec='${libname}${release}${shared_ext}$major'
10421     if test "X$HPUX_IA64_MODE" = X32; then
10422       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10423     else
10424       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10425     fi
10426     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10427     ;;
10428   hppa*64*)
10429     shrext_cmds='.sl'
10430     hardcode_into_libs=yes
10431     dynamic_linker="$host_os dld.sl"
10432     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10433     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10434     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10435     soname_spec='${libname}${release}${shared_ext}$major'
10436     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10437     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10438     ;;
10439   *)
10440     shrext_cmds='.sl'
10441     dynamic_linker="$host_os dld.sl"
10442     shlibpath_var=SHLIB_PATH
10443     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10444     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445     soname_spec='${libname}${release}${shared_ext}$major'
10446     ;;
10447   esac
10448   # HP-UX runs *really* slowly unless shared libraries are mode 555.
10449   postinstall_cmds='chmod 555 $lib'
10450   ;;
10452 interix[3-9]*)
10453   version_type=linux
10454   need_lib_prefix=no
10455   need_version=no
10456   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10457   soname_spec='${libname}${release}${shared_ext}$major'
10458   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10459   shlibpath_var=LD_LIBRARY_PATH
10460   shlibpath_overrides_runpath=no
10461   hardcode_into_libs=yes
10462   ;;
10464 irix5* | irix6* | nonstopux*)
10465   case $host_os in
10466     nonstopux*) version_type=nonstopux ;;
10467     *)
10468         if test "$lt_cv_prog_gnu_ld" = yes; then
10469                 version_type=linux
10470         else
10471                 version_type=irix
10472         fi ;;
10473   esac
10474   need_lib_prefix=no
10475   need_version=no
10476   soname_spec='${libname}${release}${shared_ext}$major'
10477   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10478   case $host_os in
10479   irix5* | nonstopux*)
10480     libsuff= shlibsuff=
10481     ;;
10482   *)
10483     case $LD in # libtool.m4 will add one of these switches to LD
10484     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10485       libsuff= shlibsuff= libmagic=32-bit;;
10486     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10487       libsuff=32 shlibsuff=N32 libmagic=N32;;
10488     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10489       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10490     *) libsuff= shlibsuff= libmagic=never-match;;
10491     esac
10492     ;;
10493   esac
10494   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10495   shlibpath_overrides_runpath=no
10496   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10497   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10498   hardcode_into_libs=yes
10499   ;;
10501 # No shared lib support for Linux oldld, aout, or coff.
10502 linux*oldld* | linux*aout* | linux*coff*)
10503   dynamic_linker=no
10504   ;;
10506 # This must be Linux ELF.
10507 linux* | k*bsd*-gnu)
10508   version_type=linux
10509   need_lib_prefix=no
10510   need_version=no
10511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10512   soname_spec='${libname}${release}${shared_ext}$major'
10513   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10514   shlibpath_var=LD_LIBRARY_PATH
10515   shlibpath_overrides_runpath=no
10516   # Some binutils ld are patched to set DT_RUNPATH
10517   save_LDFLAGS=$LDFLAGS
10518   save_libdir=$libdir
10519   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10520        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h.  */
10525 main ()
10528   ;
10529   return 0;
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10534   shlibpath_overrides_runpath=yes
10537 rm -f core conftest.err conftest.$ac_objext \
10538     conftest$ac_exeext conftest.$ac_ext
10539   LDFLAGS=$save_LDFLAGS
10540   libdir=$save_libdir
10542   # This implies no fast_install, which is unacceptable.
10543   # Some rework will be needed to allow for fast_install
10544   # before this can be enabled.
10545   hardcode_into_libs=yes
10547   # Append ld.so.conf contents to the search path
10548   if test -f /etc/ld.so.conf; then
10549     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10550     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10551   fi
10553   # We used to test for /lib/ld.so.1 and disable shared libraries on
10554   # powerpc, because MkLinux only supported shared libraries with the
10555   # GNU dynamic linker.  Since this was broken with cross compilers,
10556   # most powerpc-linux boxes support dynamic linking these days and
10557   # people can always --disable-shared, the test was removed, and we
10558   # assume the GNU/Linux dynamic linker is in use.
10559   dynamic_linker='GNU/Linux ld.so'
10560   ;;
10562 netbsd*)
10563   version_type=sunos
10564   need_lib_prefix=no
10565   need_version=no
10566   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10567     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10568     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10569     dynamic_linker='NetBSD (a.out) ld.so'
10570   else
10571     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10572     soname_spec='${libname}${release}${shared_ext}$major'
10573     dynamic_linker='NetBSD ld.elf_so'
10574   fi
10575   shlibpath_var=LD_LIBRARY_PATH
10576   shlibpath_overrides_runpath=yes
10577   hardcode_into_libs=yes
10578   ;;
10580 newsos6)
10581   version_type=linux
10582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10583   shlibpath_var=LD_LIBRARY_PATH
10584   shlibpath_overrides_runpath=yes
10585   ;;
10587 *nto* | *qnx*)
10588   version_type=qnx
10589   need_lib_prefix=no
10590   need_version=no
10591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592   soname_spec='${libname}${release}${shared_ext}$major'
10593   shlibpath_var=LD_LIBRARY_PATH
10594   shlibpath_overrides_runpath=no
10595   hardcode_into_libs=yes
10596   dynamic_linker='ldqnx.so'
10597   ;;
10599 openbsd*)
10600   version_type=sunos
10601   sys_lib_dlsearch_path_spec="/usr/lib"
10602   need_lib_prefix=no
10603   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10604   case $host_os in
10605     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10606     *)                          need_version=no  ;;
10607   esac
10608   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10609   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10610   shlibpath_var=LD_LIBRARY_PATH
10611   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10612     case $host_os in
10613       openbsd2.[89] | openbsd2.[89].*)
10614         shlibpath_overrides_runpath=no
10615         ;;
10616       *)
10617         shlibpath_overrides_runpath=yes
10618         ;;
10619       esac
10620   else
10621     shlibpath_overrides_runpath=yes
10622   fi
10623   ;;
10625 os2*)
10626   libname_spec='$name'
10627   shrext_cmds=".dll"
10628   need_lib_prefix=no
10629   library_names_spec='$libname${shared_ext} $libname.a'
10630   dynamic_linker='OS/2 ld.exe'
10631   shlibpath_var=LIBPATH
10632   ;;
10634 osf3* | osf4* | osf5*)
10635   version_type=osf
10636   need_lib_prefix=no
10637   need_version=no
10638   soname_spec='${libname}${release}${shared_ext}$major'
10639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640   shlibpath_var=LD_LIBRARY_PATH
10641   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10642   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10643   ;;
10645 rdos*)
10646   dynamic_linker=no
10647   ;;
10649 solaris*)
10650   version_type=linux
10651   need_lib_prefix=no
10652   need_version=no
10653   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10654   soname_spec='${libname}${release}${shared_ext}$major'
10655   shlibpath_var=LD_LIBRARY_PATH
10656   shlibpath_overrides_runpath=yes
10657   hardcode_into_libs=yes
10658   # ldd complains unless libraries are executable
10659   postinstall_cmds='chmod +x $lib'
10660   ;;
10662 sunos4*)
10663   version_type=sunos
10664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10665   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10666   shlibpath_var=LD_LIBRARY_PATH
10667   shlibpath_overrides_runpath=yes
10668   if test "$with_gnu_ld" = yes; then
10669     need_lib_prefix=no
10670   fi
10671   need_version=yes
10672   ;;
10674 sysv4 | sysv4.3*)
10675   version_type=linux
10676   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677   soname_spec='${libname}${release}${shared_ext}$major'
10678   shlibpath_var=LD_LIBRARY_PATH
10679   case $host_vendor in
10680     sni)
10681       shlibpath_overrides_runpath=no
10682       need_lib_prefix=no
10683       runpath_var=LD_RUN_PATH
10684       ;;
10685     siemens)
10686       need_lib_prefix=no
10687       ;;
10688     motorola)
10689       need_lib_prefix=no
10690       need_version=no
10691       shlibpath_overrides_runpath=no
10692       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10693       ;;
10694   esac
10695   ;;
10697 sysv4*MP*)
10698   if test -d /usr/nec ;then
10699     version_type=linux
10700     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10701     soname_spec='$libname${shared_ext}.$major'
10702     shlibpath_var=LD_LIBRARY_PATH
10703   fi
10704   ;;
10706 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10707   version_type=freebsd-elf
10708   need_lib_prefix=no
10709   need_version=no
10710   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10711   soname_spec='${libname}${release}${shared_ext}$major'
10712   shlibpath_var=LD_LIBRARY_PATH
10713   shlibpath_overrides_runpath=yes
10714   hardcode_into_libs=yes
10715   if test "$with_gnu_ld" = yes; then
10716     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10717   else
10718     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10719     case $host_os in
10720       sco3.2v5*)
10721         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10722         ;;
10723     esac
10724   fi
10725   sys_lib_dlsearch_path_spec='/usr/lib'
10726   ;;
10728 tpf*)
10729   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10730   version_type=linux
10731   need_lib_prefix=no
10732   need_version=no
10733   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734   shlibpath_var=LD_LIBRARY_PATH
10735   shlibpath_overrides_runpath=no
10736   hardcode_into_libs=yes
10737   ;;
10739 uts4*)
10740   version_type=linux
10741   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742   soname_spec='${libname}${release}${shared_ext}$major'
10743   shlibpath_var=LD_LIBRARY_PATH
10744   ;;
10747   dynamic_linker=no
10748   ;;
10749 esac
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10751 $as_echo "$dynamic_linker" >&6; }
10752 test "$dynamic_linker" = no && can_build_shared=no
10754 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10755 if test "$GCC" = yes; then
10756   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10759 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10760   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10762 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10763   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10767     
10768     
10769     
10772     
10773     
10774     
10777     
10778     
10779     
10782     
10783     
10784     
10787     
10788     
10789     
10792     
10793     
10794     
10797     
10798     
10799     
10802     
10803     
10804     
10807     
10808     
10809     
10812     
10813     
10814     
10817     
10818     
10819     
10822     
10823     
10824     
10827     
10828     
10829     
10832     
10833     
10834     
10837     
10838     
10839     
10842     
10843     
10844     
10847     
10848     
10849     
10852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10853 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10854 hardcode_action=
10855 if test -n "$hardcode_libdir_flag_spec" ||
10856    test -n "$runpath_var" ||
10857    test "X$hardcode_automatic" = "Xyes" ; then
10859   # We can hardcode non-existent directories.
10860   if test "$hardcode_direct" != no &&
10861      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10862      # have to relink, otherwise we might link with an installed library
10863      # when we should be linking with a yet-to-be-installed one
10864      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10865      test "$hardcode_minus_L" != no; then
10866     # Linking always hardcodes the temporary library directory.
10867     hardcode_action=relink
10868   else
10869     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10870     hardcode_action=immediate
10871   fi
10872 else
10873   # We cannot hardcode anything, or else we can only hardcode existing
10874   # directories.
10875   hardcode_action=unsupported
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10878 $as_echo "$hardcode_action" >&6; }
10880 if test "$hardcode_action" = relink ||
10881    test "$inherit_rpath" = yes; then
10882   # Fast installation is not supported
10883   enable_fast_install=no
10884 elif test "$shlibpath_overrides_runpath" = yes ||
10885      test "$enable_shared" = no; then
10886   # Fast installation is not necessary
10887   enable_fast_install=needless
10890     
10891     
10892     
10895   if test "x$enable_dlopen" != xyes; then
10896   enable_dlopen=unknown
10897   enable_dlopen_self=unknown
10898   enable_dlopen_self_static=unknown
10899 else
10900   lt_cv_dlopen=no
10901   lt_cv_dlopen_libs=
10903   case $host_os in
10904   beos*)
10905     lt_cv_dlopen="load_add_on"
10906     lt_cv_dlopen_libs=
10907     lt_cv_dlopen_self=yes
10908     ;;
10910   mingw* | pw32* | cegcc*)
10911     lt_cv_dlopen="LoadLibrary"
10912     lt_cv_dlopen_libs=
10913     ;;
10915   cygwin*)
10916     lt_cv_dlopen="dlopen"
10917     lt_cv_dlopen_libs=
10918     ;;
10920   darwin*)
10921   # if libdl is installed we need to link against it
10922     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10923 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10924 if ${ac_cv_lib_dl_dlopen+:} false; then :
10925   $as_echo_n "(cached) " >&6
10926 else
10927   ac_check_lib_save_LIBS=$LIBS
10928 LIBS="-ldl  $LIBS"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h.  */
10932 /* Override any GCC internal prototype to avoid an error.
10933    Use char because int might match the return type of a GCC
10934    builtin and then its argument prototype would still apply.  */
10935 #ifdef __cplusplus
10936 extern "C"
10937 #endif
10938 char dlopen ();
10940 main ()
10942 return dlopen ();
10943   ;
10944   return 0;
10946 _ACEOF
10947 if ac_fn_c_try_link "$LINENO"; then :
10948   ac_cv_lib_dl_dlopen=yes
10949 else
10950   ac_cv_lib_dl_dlopen=no
10952 rm -f core conftest.err conftest.$ac_objext \
10953     conftest$ac_exeext conftest.$ac_ext
10954 LIBS=$ac_check_lib_save_LIBS
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10957 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10958 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10959   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10960 else
10961   
10962     lt_cv_dlopen="dyld"
10963     lt_cv_dlopen_libs=
10964     lt_cv_dlopen_self=yes
10965     
10968     ;;
10970   *)
10971     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10972 if test "x$ac_cv_func_shl_load" = xyes; then :
10973   lt_cv_dlopen="shl_load"
10974 else
10975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10976 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10977 if ${ac_cv_lib_dld_shl_load+:} false; then :
10978   $as_echo_n "(cached) " >&6
10979 else
10980   ac_check_lib_save_LIBS=$LIBS
10981 LIBS="-ldld  $LIBS"
10982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h.  */
10985 /* Override any GCC internal prototype to avoid an error.
10986    Use char because int might match the return type of a GCC
10987    builtin and then its argument prototype would still apply.  */
10988 #ifdef __cplusplus
10989 extern "C"
10990 #endif
10991 char shl_load ();
10993 main ()
10995 return shl_load ();
10996   ;
10997   return 0;
10999 _ACEOF
11000 if ac_fn_c_try_link "$LINENO"; then :
11001   ac_cv_lib_dld_shl_load=yes
11002 else
11003   ac_cv_lib_dld_shl_load=no
11005 rm -f core conftest.err conftest.$ac_objext \
11006     conftest$ac_exeext conftest.$ac_ext
11007 LIBS=$ac_check_lib_save_LIBS
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11010 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11011 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11012   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11013 else
11014   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11015 if test "x$ac_cv_func_dlopen" = xyes; then :
11016   lt_cv_dlopen="dlopen"
11017 else
11018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11019 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11020 if ${ac_cv_lib_dl_dlopen+:} false; then :
11021   $as_echo_n "(cached) " >&6
11022 else
11023   ac_check_lib_save_LIBS=$LIBS
11024 LIBS="-ldl  $LIBS"
11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h.  */
11028 /* Override any GCC internal prototype to avoid an error.
11029    Use char because int might match the return type of a GCC
11030    builtin and then its argument prototype would still apply.  */
11031 #ifdef __cplusplus
11032 extern "C"
11033 #endif
11034 char dlopen ();
11036 main ()
11038 return dlopen ();
11039   ;
11040   return 0;
11042 _ACEOF
11043 if ac_fn_c_try_link "$LINENO"; then :
11044   ac_cv_lib_dl_dlopen=yes
11045 else
11046   ac_cv_lib_dl_dlopen=no
11048 rm -f core conftest.err conftest.$ac_objext \
11049     conftest$ac_exeext conftest.$ac_ext
11050 LIBS=$ac_check_lib_save_LIBS
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11053 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11054 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11055   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11056 else
11057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11058 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11059 if ${ac_cv_lib_svld_dlopen+:} false; then :
11060   $as_echo_n "(cached) " >&6
11061 else
11062   ac_check_lib_save_LIBS=$LIBS
11063 LIBS="-lsvld  $LIBS"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h.  */
11067 /* Override any GCC internal prototype to avoid an error.
11068    Use char because int might match the return type of a GCC
11069    builtin and then its argument prototype would still apply.  */
11070 #ifdef __cplusplus
11071 extern "C"
11072 #endif
11073 char dlopen ();
11075 main ()
11077 return dlopen ();
11078   ;
11079   return 0;
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083   ac_cv_lib_svld_dlopen=yes
11084 else
11085   ac_cv_lib_svld_dlopen=no
11087 rm -f core conftest.err conftest.$ac_objext \
11088     conftest$ac_exeext conftest.$ac_ext
11089 LIBS=$ac_check_lib_save_LIBS
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11092 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11093 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11094   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11095 else
11096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11097 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11098 if ${ac_cv_lib_dld_dld_link+:} false; then :
11099   $as_echo_n "(cached) " >&6
11100 else
11101   ac_check_lib_save_LIBS=$LIBS
11102 LIBS="-ldld  $LIBS"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h.  */
11106 /* Override any GCC internal prototype to avoid an error.
11107    Use char because int might match the return type of a GCC
11108    builtin and then its argument prototype would still apply.  */
11109 #ifdef __cplusplus
11110 extern "C"
11111 #endif
11112 char dld_link ();
11114 main ()
11116 return dld_link ();
11117   ;
11118   return 0;
11120 _ACEOF
11121 if ac_fn_c_try_link "$LINENO"; then :
11122   ac_cv_lib_dld_dld_link=yes
11123 else
11124   ac_cv_lib_dld_dld_link=no
11126 rm -f core conftest.err conftest.$ac_objext \
11127     conftest$ac_exeext conftest.$ac_ext
11128 LIBS=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11131 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11132 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11133   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11136               
11139             
11142           
11145         
11148       
11151     ;;
11152   esac
11154   if test "x$lt_cv_dlopen" != xno; then
11155     enable_dlopen=yes
11156   else
11157     enable_dlopen=no
11158   fi
11160   case $lt_cv_dlopen in
11161   dlopen)
11162     save_CPPFLAGS="$CPPFLAGS"
11163     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11165     save_LDFLAGS="$LDFLAGS"
11166     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11168     save_LIBS="$LIBS"
11169     LIBS="$lt_cv_dlopen_libs $LIBS"
11171     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11172 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11173 if ${lt_cv_dlopen_self+:} false; then :
11174   $as_echo_n "(cached) " >&6
11175 else
11176           if test "$cross_compiling" = yes; then :
11177   lt_cv_dlopen_self=cross
11178 else
11179   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11180   lt_status=$lt_dlunknown
11181   cat > conftest.$ac_ext <<_LT_EOF
11182 #line __oline__ "configure"
11183 #include "confdefs.h"
11185 #if HAVE_DLFCN_H
11186 #include <dlfcn.h>
11187 #endif
11189 #include <stdio.h>
11191 #ifdef RTLD_GLOBAL
11192 #  define LT_DLGLOBAL           RTLD_GLOBAL
11193 #else
11194 #  ifdef DL_GLOBAL
11195 #    define LT_DLGLOBAL         DL_GLOBAL
11196 #  else
11197 #    define LT_DLGLOBAL         0
11198 #  endif
11199 #endif
11201 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11202    find out it does not work in some platform. */
11203 #ifndef LT_DLLAZY_OR_NOW
11204 #  ifdef RTLD_LAZY
11205 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11206 #  else
11207 #    ifdef DL_LAZY
11208 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11209 #    else
11210 #      ifdef RTLD_NOW
11211 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11212 #      else
11213 #        ifdef DL_NOW
11214 #          define LT_DLLAZY_OR_NOW      DL_NOW
11215 #        else
11216 #          define LT_DLLAZY_OR_NOW      0
11217 #        endif
11218 #      endif
11219 #    endif
11220 #  endif
11221 #endif
11223 void fnord() { int i=42;}
11224 int main ()
11226   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11227   int status = $lt_dlunknown;
11229   if (self)
11230     {
11231       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11232       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11233       /* dlclose (self); */
11234     }
11235   else
11236     puts (dlerror ());
11238   return status;
11240 _LT_EOF
11241   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11242   (eval $ac_link) 2>&5
11243   ac_status=$?
11244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11245   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11246     (./conftest; exit; ) >&5 2>/dev/null
11247     lt_status=$?
11248     case x$lt_status in
11249       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11250       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11251       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11252     esac
11253   else :
11254     # compilation failed
11255     lt_cv_dlopen_self=no
11256   fi
11258 rm -fr conftest*
11260     
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11263 $as_echo "$lt_cv_dlopen_self" >&6; }
11265     if test "x$lt_cv_dlopen_self" = xyes; then
11266       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11267       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11268 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11269 if ${lt_cv_dlopen_self_static+:} false; then :
11270   $as_echo_n "(cached) " >&6
11271 else
11272           if test "$cross_compiling" = yes; then :
11273   lt_cv_dlopen_self_static=cross
11274 else
11275   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11276   lt_status=$lt_dlunknown
11277   cat > conftest.$ac_ext <<_LT_EOF
11278 #line __oline__ "configure"
11279 #include "confdefs.h"
11281 #if HAVE_DLFCN_H
11282 #include <dlfcn.h>
11283 #endif
11285 #include <stdio.h>
11287 #ifdef RTLD_GLOBAL
11288 #  define LT_DLGLOBAL           RTLD_GLOBAL
11289 #else
11290 #  ifdef DL_GLOBAL
11291 #    define LT_DLGLOBAL         DL_GLOBAL
11292 #  else
11293 #    define LT_DLGLOBAL         0
11294 #  endif
11295 #endif
11297 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11298    find out it does not work in some platform. */
11299 #ifndef LT_DLLAZY_OR_NOW
11300 #  ifdef RTLD_LAZY
11301 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11302 #  else
11303 #    ifdef DL_LAZY
11304 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11305 #    else
11306 #      ifdef RTLD_NOW
11307 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11308 #      else
11309 #        ifdef DL_NOW
11310 #          define LT_DLLAZY_OR_NOW      DL_NOW
11311 #        else
11312 #          define LT_DLLAZY_OR_NOW      0
11313 #        endif
11314 #      endif
11315 #    endif
11316 #  endif
11317 #endif
11319 void fnord() { int i=42;}
11320 int main ()
11322   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11323   int status = $lt_dlunknown;
11325   if (self)
11326     {
11327       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11328       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11329       /* dlclose (self); */
11330     }
11331   else
11332     puts (dlerror ());
11334   return status;
11336 _LT_EOF
11337   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11338   (eval $ac_link) 2>&5
11339   ac_status=$?
11340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11341   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11342     (./conftest; exit; ) >&5 2>/dev/null
11343     lt_status=$?
11344     case x$lt_status in
11345       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11346       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11347       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11348     esac
11349   else :
11350     # compilation failed
11351     lt_cv_dlopen_self_static=no
11352   fi
11354 rm -fr conftest*
11356       
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11359 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11360     fi
11362     CPPFLAGS="$save_CPPFLAGS"
11363     LDFLAGS="$save_LDFLAGS"
11364     LIBS="$save_LIBS"
11365     ;;
11366   esac
11368   case $lt_cv_dlopen_self in
11369   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11370   *) enable_dlopen_self=unknown ;;
11371   esac
11373   case $lt_cv_dlopen_self_static in
11374   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11375   *) enable_dlopen_self_static=unknown ;;
11376   esac
11379     
11380     
11381     
11384     
11385     
11386     
11389     
11390     
11391     
11394   
11395 striplib=
11396 old_striplib=
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11398 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11399 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11400   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11401   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11403 $as_echo "yes" >&6; }
11404 else
11405 # FIXME - insert some real tests, host_os isn't really good enough
11406   case $host_os in
11407   darwin*)
11408     if test -n "$STRIP" ; then
11409       striplib="$STRIP -x"
11410       old_striplib="$STRIP -S"
11411       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11412 $as_echo "yes" >&6; }
11413     else
11414       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11415 $as_echo "no" >&6; }
11416     fi
11417     ;;
11418   *)
11419     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11420 $as_echo "no" >&6; }
11421     ;;
11422   esac
11425     
11426     
11427     
11430     
11431     
11432     
11436   # Report which library types will actually be built
11437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11438 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11440 $as_echo "$can_build_shared" >&6; }
11442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11443 $as_echo_n "checking whether to build shared libraries... " >&6; }
11444   test "$can_build_shared" = "no" && enable_shared=no
11446   # On AIX, shared libraries and static libraries use the same namespace, and
11447   # are all built from PIC.
11448   case $host_os in
11449   aix3*)
11450     test "$enable_shared" = yes && enable_static=no
11451     if test -n "$RANLIB"; then
11452       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11453       postinstall_cmds='$RANLIB $lib'
11454     fi
11455     ;;
11457   aix[4-9]*)
11458     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11459       test "$enable_shared" = yes && enable_static=no
11460     fi
11461     ;;
11462   esac
11463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11464 $as_echo "$enable_shared" >&6; }
11466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11467 $as_echo_n "checking whether to build static libraries... " >&6; }
11468   # Make sure either enable_shared or enable_static is yes.
11469   test "$enable_shared" = yes || enable_static=yes
11470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11471 $as_echo "$enable_static" >&6; }
11473   
11477 ac_ext=c
11478 ac_cpp='$CPP $CPPFLAGS'
11479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11483 CC="$lt_save_CC"
11492        
11493        
11497         ac_config_commands="$ac_config_commands libtool"
11502 # Only expand once:
11507 # Extract the first word of "ar", so it can be a program name with args.
11508 set dummy ar; ac_word=$2
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11510 $as_echo_n "checking for $ac_word... " >&6; }
11511 if ${ac_cv_path_AR+:} false; then :
11512   $as_echo_n "(cached) " >&6
11513 else
11514   case $AR in
11515   [\\/]* | ?:[\\/]*)
11516   ac_cv_path_AR="$AR" # Let the user override the test with a path.
11517   ;;
11518   *)
11519   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11520 for as_dir in $PATH
11522   IFS=$as_save_IFS
11523   test -z "$as_dir" && as_dir=.
11524     for ac_exec_ext in '' $ac_executable_extensions; do
11525   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11526     ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
11527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11528     break 2
11529   fi
11530 done
11531   done
11532 IFS=$as_save_IFS
11534   test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
11535   ;;
11536 esac
11538 AR=$ac_cv_path_AR
11539 if test -n "$AR"; then
11540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
11541 $as_echo "$AR" >&6; }
11542 else
11543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11544 $as_echo "no" >&6; }
11548 # Extract the first word of "rm", so it can be a program name with args.
11549 set dummy rm; ac_word=$2
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11551 $as_echo_n "checking for $ac_word... " >&6; }
11552 if ${ac_cv_path_RM+:} false; then :
11553   $as_echo_n "(cached) " >&6
11554 else
11555   case $RM in
11556   [\\/]* | ?:[\\/]*)
11557   ac_cv_path_RM="$RM" # Let the user override the test with a path.
11558   ;;
11559   *)
11560   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11561 for as_dir in $PATH
11563   IFS=$as_save_IFS
11564   test -z "$as_dir" && as_dir=.
11565     for ac_exec_ext in '' $ac_executable_extensions; do
11566   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11567     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
11568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11569     break 2
11570   fi
11571 done
11572   done
11573 IFS=$as_save_IFS
11575   test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
11576   ;;
11577 esac
11579 RM=$ac_cv_path_RM
11580 if test -n "$RM"; then
11581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
11582 $as_echo "$RM" >&6; }
11583 else
11584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11585 $as_echo "no" >&6; }
11589 # Extract the first word of "cp", so it can be a program name with args.
11590 set dummy cp; ac_word=$2
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11592 $as_echo_n "checking for $ac_word... " >&6; }
11593 if ${ac_cv_path_CP+:} false; then :
11594   $as_echo_n "(cached) " >&6
11595 else
11596   case $CP in
11597   [\\/]* | ?:[\\/]*)
11598   ac_cv_path_CP="$CP" # Let the user override the test with a path.
11599   ;;
11600   *)
11601   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11602 for as_dir in $PATH
11604   IFS=$as_save_IFS
11605   test -z "$as_dir" && as_dir=.
11606     for ac_exec_ext in '' $ac_executable_extensions; do
11607   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11608     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
11609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11610     break 2
11611   fi
11612 done
11613   done
11614 IFS=$as_save_IFS
11616   test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
11617   ;;
11618 esac
11620 CP=$ac_cv_path_CP
11621 if test -n "$CP"; then
11622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
11623 $as_echo "$CP" >&6; }
11624 else
11625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11626 $as_echo "no" >&6; }
11630 # Extract the first word of "ln", so it can be a program name with args.
11631 set dummy ln; ac_word=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11633 $as_echo_n "checking for $ac_word... " >&6; }
11634 if ${ac_cv_path_LN+:} false; then :
11635   $as_echo_n "(cached) " >&6
11636 else
11637   case $LN in
11638   [\\/]* | ?:[\\/]*)
11639   ac_cv_path_LN="$LN" # Let the user override the test with a path.
11640   ;;
11641   *)
11642   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11643 for as_dir in $PATH
11645   IFS=$as_save_IFS
11646   test -z "$as_dir" && as_dir=.
11647     for ac_exec_ext in '' $ac_executable_extensions; do
11648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11649     ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
11650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11651     break 2
11652   fi
11653 done
11654   done
11655 IFS=$as_save_IFS
11657   test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
11658   ;;
11659 esac
11661 LN=$ac_cv_path_LN
11662 if test -n "$LN"; then
11663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
11664 $as_echo "$LN" >&6; }
11665 else
11666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11667 $as_echo "no" >&6; }
11671 # Extract the first word of "sed", so it can be a program name with args.
11672 set dummy sed; ac_word=$2
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11674 $as_echo_n "checking for $ac_word... " >&6; }
11675 if ${ac_cv_path_SED+:} false; then :
11676   $as_echo_n "(cached) " >&6
11677 else
11678   case $SED in
11679   [\\/]* | ?:[\\/]*)
11680   ac_cv_path_SED="$SED" # Let the user override the test with a path.
11681   ;;
11682   *)
11683   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11684 for as_dir in $PATH
11686   IFS=$as_save_IFS
11687   test -z "$as_dir" && as_dir=.
11688     for ac_exec_ext in '' $ac_executable_extensions; do
11689   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11690     ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
11691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11692     break 2
11693   fi
11694 done
11695   done
11696 IFS=$as_save_IFS
11698   test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
11699   ;;
11700 esac
11702 SED=$ac_cv_path_SED
11703 if test -n "$SED"; then
11704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
11705 $as_echo "$SED" >&6; }
11706 else
11707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11708 $as_echo "no" >&6; }
11712 # Extract the first word of "make", so it can be a program name with args.
11713 set dummy make; ac_word=$2
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11715 $as_echo_n "checking for $ac_word... " >&6; }
11716 if ${ac_cv_path_MAKE+:} false; then :
11717   $as_echo_n "(cached) " >&6
11718 else
11719   case $MAKE in
11720   [\\/]* | ?:[\\/]*)
11721   ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path.
11722   ;;
11723   *)
11724   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11725 for as_dir in $PATH
11727   IFS=$as_save_IFS
11728   test -z "$as_dir" && as_dir=.
11729     for ac_exec_ext in '' $ac_executable_extensions; do
11730   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11731     ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
11732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11733     break 2
11734   fi
11735 done
11736   done
11737 IFS=$as_save_IFS
11739   ;;
11740 esac
11742 MAKE=$ac_cv_path_MAKE
11743 if test -n "$MAKE"; then
11744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
11745 $as_echo "$MAKE" >&6; }
11746 else
11747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11748 $as_echo "no" >&6; }
11756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11757 $as_echo_n "checking whether NLS is requested... " >&6; }
11758     @%:@ Check whether --enable-nls was given.
11759 if test "${enable_nls+set}" = set; then :
11760   enableval=$enable_nls; USE_NLS=$enableval
11761 else
11762   USE_NLS=yes
11765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11766 $as_echo "$USE_NLS" >&6; }
11767   
11770         
11771     
11772         
11773 # Prepare PATH_SEPARATOR.
11774 # The user is always right.
11775 if test "${PATH_SEPARATOR+set}" != set; then
11776   echo "#! /bin/sh" >conf$$.sh
11777   echo  "exit 0"   >>conf$$.sh
11778   chmod +x conf$$.sh
11779   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11780     PATH_SEPARATOR=';'
11781   else
11782     PATH_SEPARATOR=:
11783   fi
11784   rm -f conf$$.sh
11787 # Find out how to test for executable files. Don't use a zero-byte file,
11788 # as systems may use methods other than mode bits to determine executability.
11789 cat >conf$$.file <<_ASEOF
11790 #! /bin/sh
11791 exit 0
11792 _ASEOF
11793 chmod +x conf$$.file
11794 if test -x conf$$.file >/dev/null 2>&1; then
11795   ac_executable_p="test -x"
11796 else
11797   ac_executable_p="test -f"
11799 rm -f conf$$.file
11801 # Extract the first word of "msgfmt", so it can be a program name with args.
11802 set dummy msgfmt; ac_word=$2
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11804 $as_echo_n "checking for $ac_word... " >&6; }
11805 if ${ac_cv_path_MSGFMT+:} false; then :
11806   $as_echo_n "(cached) " >&6
11807 else
11808   case "$MSGFMT" in
11809   [\\/]* | ?:[\\/]*)
11810     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11811     ;;
11812   *)
11813     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11814     for ac_dir in $PATH; do
11815       IFS="$ac_save_IFS"
11816       test -z "$ac_dir" && ac_dir=.
11817       for ac_exec_ext in '' $ac_executable_extensions; do
11818         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11819           echo "$as_me: trying $ac_dir/$ac_word..." >&5
11820           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
11821      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11822             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11823             break 2
11824           fi
11825         fi
11826       done
11827     done
11828     IFS="$ac_save_IFS"
11829   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11830     ;;
11831 esac
11833 MSGFMT="$ac_cv_path_MSGFMT"
11834 if test "$MSGFMT" != ":"; then
11835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11836 $as_echo "$MSGFMT" >&6; }
11837 else
11838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11839 $as_echo "no" >&6; }
11842   # Extract the first word of "gmsgfmt", so it can be a program name with args.
11843 set dummy gmsgfmt; ac_word=$2
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11845 $as_echo_n "checking for $ac_word... " >&6; }
11846 if ${ac_cv_path_GMSGFMT+:} false; then :
11847   $as_echo_n "(cached) " >&6
11848 else
11849   case $GMSGFMT in
11850   [\\/]* | ?:[\\/]*)
11851   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11852   ;;
11853   *)
11854   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11855 for as_dir in $PATH
11857   IFS=$as_save_IFS
11858   test -z "$as_dir" && as_dir=.
11859     for ac_exec_ext in '' $ac_executable_extensions; do
11860   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11861     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11862     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11863     break 2
11864   fi
11865 done
11866   done
11867 IFS=$as_save_IFS
11869   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11870   ;;
11871 esac
11873 GMSGFMT=$ac_cv_path_GMSGFMT
11874 if test -n "$GMSGFMT"; then
11875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11876 $as_echo "$GMSGFMT" >&6; }
11877 else
11878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11879 $as_echo "no" >&6; }
11884     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11885     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
11886     *) MSGFMT_015=$MSGFMT ;;
11887   esac
11888   
11889   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11890     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
11891     *) GMSGFMT_015=$GMSGFMT ;;
11892   esac
11893   
11895         
11896 # Prepare PATH_SEPARATOR.
11897 # The user is always right.
11898 if test "${PATH_SEPARATOR+set}" != set; then
11899   echo "#! /bin/sh" >conf$$.sh
11900   echo  "exit 0"   >>conf$$.sh
11901   chmod +x conf$$.sh
11902   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11903     PATH_SEPARATOR=';'
11904   else
11905     PATH_SEPARATOR=:
11906   fi
11907   rm -f conf$$.sh
11910 # Find out how to test for executable files. Don't use a zero-byte file,
11911 # as systems may use methods other than mode bits to determine executability.
11912 cat >conf$$.file <<_ASEOF
11913 #! /bin/sh
11914 exit 0
11915 _ASEOF
11916 chmod +x conf$$.file
11917 if test -x conf$$.file >/dev/null 2>&1; then
11918   ac_executable_p="test -x"
11919 else
11920   ac_executable_p="test -f"
11922 rm -f conf$$.file
11924 # Extract the first word of "xgettext", so it can be a program name with args.
11925 set dummy xgettext; ac_word=$2
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11927 $as_echo_n "checking for $ac_word... " >&6; }
11928 if ${ac_cv_path_XGETTEXT+:} false; then :
11929   $as_echo_n "(cached) " >&6
11930 else
11931   case "$XGETTEXT" in
11932   [\\/]* | ?:[\\/]*)
11933     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11934     ;;
11935   *)
11936     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11937     for ac_dir in $PATH; do
11938       IFS="$ac_save_IFS"
11939       test -z "$ac_dir" && ac_dir=.
11940       for ac_exec_ext in '' $ac_executable_extensions; do
11941         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11942           echo "$as_me: trying $ac_dir/$ac_word..." >&5
11943           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
11944      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11945             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11946             break 2
11947           fi
11948         fi
11949       done
11950     done
11951     IFS="$ac_save_IFS"
11952   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11953     ;;
11954 esac
11956 XGETTEXT="$ac_cv_path_XGETTEXT"
11957 if test "$XGETTEXT" != ":"; then
11958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11959 $as_echo "$XGETTEXT" >&6; }
11960 else
11961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11962 $as_echo "no" >&6; }
11965     rm -f messages.po
11967     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11968     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
11969     *) XGETTEXT_015=$XGETTEXT ;;
11970   esac
11971   
11973     
11974 # Prepare PATH_SEPARATOR.
11975 # The user is always right.
11976 if test "${PATH_SEPARATOR+set}" != set; then
11977   echo "#! /bin/sh" >conf$$.sh
11978   echo  "exit 0"   >>conf$$.sh
11979   chmod +x conf$$.sh
11980   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11981     PATH_SEPARATOR=';'
11982   else
11983     PATH_SEPARATOR=:
11984   fi
11985   rm -f conf$$.sh
11988 # Find out how to test for executable files. Don't use a zero-byte file,
11989 # as systems may use methods other than mode bits to determine executability.
11990 cat >conf$$.file <<_ASEOF
11991 #! /bin/sh
11992 exit 0
11993 _ASEOF
11994 chmod +x conf$$.file
11995 if test -x conf$$.file >/dev/null 2>&1; then
11996   ac_executable_p="test -x"
11997 else
11998   ac_executable_p="test -f"
12000 rm -f conf$$.file
12002 # Extract the first word of "msgmerge", so it can be a program name with args.
12003 set dummy msgmerge; ac_word=$2
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12005 $as_echo_n "checking for $ac_word... " >&6; }
12006 if ${ac_cv_path_MSGMERGE+:} false; then :
12007   $as_echo_n "(cached) " >&6
12008 else
12009   case "$MSGMERGE" in
12010   [\\/]* | ?:[\\/]*)
12011     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12012     ;;
12013   *)
12014     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12015     for ac_dir in $PATH; do
12016       IFS="$ac_save_IFS"
12017       test -z "$ac_dir" && ac_dir=.
12018       for ac_exec_ext in '' $ac_executable_extensions; do
12019         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12020           echo "$as_me: trying $ac_dir/$ac_word..." >&5
12021           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12022             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12023             break 2
12024           fi
12025         fi
12026       done
12027     done
12028     IFS="$ac_save_IFS"
12029   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12030     ;;
12031 esac
12033 MSGMERGE="$ac_cv_path_MSGMERGE"
12034 if test "$MSGMERGE" != ":"; then
12035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12036 $as_echo "$MSGMERGE" >&6; }
12037 else
12038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12039 $as_echo "no" >&6; }
12043         test -n "$localedir" || localedir='${datadir}/locale'
12044   
12046   ac_config_commands="$ac_config_commands po-directories"
12050       if test "X$prefix" = "XNONE"; then
12051     acl_final_prefix="$ac_default_prefix"
12052   else
12053     acl_final_prefix="$prefix"
12054   fi
12055   if test "X$exec_prefix" = "XNONE"; then
12056     acl_final_exec_prefix='${prefix}'
12057   else
12058     acl_final_exec_prefix="$exec_prefix"
12059   fi
12060   acl_save_prefix="$prefix"
12061   prefix="$acl_final_prefix"
12062   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12063   prefix="$acl_save_prefix"
12066 @%:@ Check whether --with-gnu-ld was given.
12067 if test "${with_gnu_ld+set}" = set; then :
12068   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12069 else
12070   with_gnu_ld=no
12073 # Prepare PATH_SEPARATOR.
12074 # The user is always right.
12075 if test "${PATH_SEPARATOR+set}" != set; then
12076   echo "#! /bin/sh" >conf$$.sh
12077   echo  "exit 0"   >>conf$$.sh
12078   chmod +x conf$$.sh
12079   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12080     PATH_SEPARATOR=';'
12081   else
12082     PATH_SEPARATOR=:
12083   fi
12084   rm -f conf$$.sh
12086 ac_prog=ld
12087 if test "$GCC" = yes; then
12088   # Check if gcc -print-prog-name=ld gives a path.
12089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12090 $as_echo_n "checking for ld used by GCC... " >&6; }
12091   case $host in
12092   *-*-mingw*)
12093     # gcc leaves a trailing carriage return which upsets mingw
12094     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12095   *)
12096     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12097   esac
12098   case $ac_prog in
12099     # Accept absolute paths.
12100     [\\/]* | [A-Za-z]:[\\/]*)
12101       re_direlt='/[^/][^/]*/\.\./'
12102       # Canonicalize the path of ld
12103       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12104       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12105         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12106       done
12107       test -z "$LD" && LD="$ac_prog"
12108       ;;
12109   "")
12110     # If it fails, then pretend we aren't using GCC.
12111     ac_prog=ld
12112     ;;
12113   *)
12114     # If it is relative, then search for the first ld in PATH.
12115     with_gnu_ld=unknown
12116     ;;
12117   esac
12118 elif test "$with_gnu_ld" = yes; then
12119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12120 $as_echo_n "checking for GNU ld... " >&6; }
12121 else
12122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12123 $as_echo_n "checking for non-GNU ld... " >&6; }
12125 if ${acl_cv_path_LD+:} false; then :
12126   $as_echo_n "(cached) " >&6
12127 else
12128   if test -z "$LD"; then
12129   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12130   for ac_dir in $PATH; do
12131     test -z "$ac_dir" && ac_dir=.
12132     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12133       acl_cv_path_LD="$ac_dir/$ac_prog"
12134       # Check to see if the program is GNU ld.  I'd rather use --version,
12135       # but apparently some GNU ld's only accept -v.
12136       # Break only if it was the GNU/non-GNU ld that we prefer.
12137       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12138       *GNU* | *'with BFD'*)
12139         test "$with_gnu_ld" != no && break ;;
12140       *)
12141         test "$with_gnu_ld" != yes && break ;;
12142       esac
12143     fi
12144   done
12145   IFS="$ac_save_ifs"
12146 else
12147   acl_cv_path_LD="$LD" # Let the user override the test with a path.
12151 LD="$acl_cv_path_LD"
12152 if test -n "$LD"; then
12153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12154 $as_echo "$LD" >&6; }
12155 else
12156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12157 $as_echo "no" >&6; }
12159 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12161 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12162 if ${acl_cv_prog_gnu_ld+:} false; then :
12163   $as_echo_n "(cached) " >&6
12164 else
12165   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12166 case `$LD -v 2>&1 </dev/null` in
12167 *GNU* | *'with BFD'*)
12168   acl_cv_prog_gnu_ld=yes ;;
12170   acl_cv_prog_gnu_ld=no ;;
12171 esac
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12174 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12175 with_gnu_ld=$acl_cv_prog_gnu_ld
12179     
12180                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12181 $as_echo_n "checking for shared library run path origin... " >&6; }
12182 if ${acl_cv_rpath+:} false; then :
12183   $as_echo_n "(cached) " >&6
12184 else
12185   
12186     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12187     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12188     . ./conftest.sh
12189     rm -f ./conftest.sh
12190     acl_cv_rpath=done
12191   
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12194 $as_echo "$acl_cv_rpath" >&6; }
12195   wl="$acl_cv_wl"
12196   libext="$acl_cv_libext"
12197   shlibext="$acl_cv_shlibext"
12198   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12199   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12200   hardcode_direct="$acl_cv_hardcode_direct"
12201   hardcode_minus_L="$acl_cv_hardcode_minus_L"
12202     @%:@ Check whether --enable-rpath was given.
12203 if test "${enable_rpath+set}" = set; then :
12204   enableval=$enable_rpath; :
12205 else
12206   enable_rpath=yes
12211                   acl_libdirstem=lib
12212   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12213   if test -n "$searchpath"; then
12214     acl_save_IFS="${IFS=        }"; IFS=":"
12215     for searchdir in $searchpath; do
12216       if test -d "$searchdir"; then
12217         case "$searchdir" in
12218           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12219           *) searchdir=`cd "$searchdir" && pwd`
12220              case "$searchdir" in
12221                */lib64 ) acl_libdirstem=lib64 ;;
12222              esac ;;
12223         esac
12224       fi
12225     done
12226     IFS="$acl_save_IFS"
12227   fi
12230     
12231   
12233       
12234   
12235   
12236     use_additional=yes
12237   
12238   acl_save_prefix="$prefix"
12239   prefix="$acl_final_prefix"
12240   acl_save_exec_prefix="$exec_prefix"
12241   exec_prefix="$acl_final_exec_prefix"
12242   
12243     eval additional_includedir=\"$includedir\"
12244     eval additional_libdir=\"$libdir\"
12245   
12246   exec_prefix="$acl_save_exec_prefix"
12247   prefix="$acl_save_prefix"
12249   
12250 @%:@ Check whether --with-libiconv-prefix was given.
12251 if test "${with_libiconv_prefix+set}" = set; then :
12252   withval=$with_libiconv_prefix; 
12253     if test "X$withval" = "Xno"; then
12254       use_additional=no
12255     else
12256       if test "X$withval" = "X"; then
12257         
12258   acl_save_prefix="$prefix"
12259   prefix="$acl_final_prefix"
12260   acl_save_exec_prefix="$exec_prefix"
12261   exec_prefix="$acl_final_exec_prefix"
12262   
12263           eval additional_includedir=\"$includedir\"
12264           eval additional_libdir=\"$libdir\"
12265         
12266   exec_prefix="$acl_save_exec_prefix"
12267   prefix="$acl_save_prefix"
12269       else
12270         additional_includedir="$withval/include"
12271         additional_libdir="$withval/$acl_libdirstem"
12272       fi
12273     fi
12277       LIBICONV=
12278   LTLIBICONV=
12279   INCICONV=
12280   rpathdirs=
12281   ltrpathdirs=
12282   names_already_handled=
12283   names_next_round='iconv '
12284   while test -n "$names_next_round"; do
12285     names_this_round="$names_next_round"
12286     names_next_round=
12287     for name in $names_this_round; do
12288       already_handled=
12289       for n in $names_already_handled; do
12290         if test "$n" = "$name"; then
12291           already_handled=yes
12292           break
12293         fi
12294       done
12295       if test -z "$already_handled"; then
12296         names_already_handled="$names_already_handled $name"
12297                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12298         eval value=\"\$HAVE_LIB$uppername\"
12299         if test -n "$value"; then
12300           if test "$value" = yes; then
12301             eval value=\"\$LIB$uppername\"
12302             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12303             eval value=\"\$LTLIB$uppername\"
12304             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12305           else
12306                                     :
12307           fi
12308         else
12309                               found_dir=
12310           found_la=
12311           found_so=
12312           found_a=
12313           if test $use_additional = yes; then
12314             if test -n "$shlibext" \
12315                && { test -f "$additional_libdir/lib$name.$shlibext" \
12316                     || { test "$shlibext" = dll \
12317                          && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
12318               found_dir="$additional_libdir"
12319               if test -f "$additional_libdir/lib$name.$shlibext"; then
12320                 found_so="$additional_libdir/lib$name.$shlibext"
12321               else
12322                 found_so="$additional_libdir/lib$name.dll.a"
12323               fi
12324               if test -f "$additional_libdir/lib$name.la"; then
12325                 found_la="$additional_libdir/lib$name.la"
12326               fi
12327             else
12328               if test -f "$additional_libdir/lib$name.$libext"; then
12329                 found_dir="$additional_libdir"
12330                 found_a="$additional_libdir/lib$name.$libext"
12331                 if test -f "$additional_libdir/lib$name.la"; then
12332                   found_la="$additional_libdir/lib$name.la"
12333                 fi
12334               fi
12335             fi
12336           fi
12337           if test "X$found_dir" = "X"; then
12338             for x in $LDFLAGS $LTLIBICONV; do
12339               
12340   acl_save_prefix="$prefix"
12341   prefix="$acl_final_prefix"
12342   acl_save_exec_prefix="$exec_prefix"
12343   exec_prefix="$acl_final_exec_prefix"
12344   eval x=\"$x\"
12345   exec_prefix="$acl_save_exec_prefix"
12346   prefix="$acl_save_prefix"
12348               case "$x" in
12349                 -L*)
12350                   dir=`echo "X$x" | sed -e 's/^X-L//'`
12351                   if test -n "$shlibext" \
12352                      && { test -f "$dir/lib$name.$shlibext" \
12353                           || { test "$shlibext" = dll \
12354                                && test -f "$dir/lib$name.dll.a"; }; }; then
12355                     found_dir="$dir"
12356                     if test -f "$dir/lib$name.$shlibext"; then
12357                       found_so="$dir/lib$name.$shlibext"
12358                     else
12359                       found_so="$dir/lib$name.dll.a"
12360                     fi
12361                     if test -f "$dir/lib$name.la"; then
12362                       found_la="$dir/lib$name.la"
12363                     fi
12364                   else
12365                     if test -f "$dir/lib$name.$libext"; then
12366                       found_dir="$dir"
12367                       found_a="$dir/lib$name.$libext"
12368                       if test -f "$dir/lib$name.la"; then
12369                         found_la="$dir/lib$name.la"
12370                       fi
12371                     fi
12372                   fi
12373                   ;;
12374               esac
12375               if test "X$found_dir" != "X"; then
12376                 break
12377               fi
12378             done
12379           fi
12380           if test "X$found_dir" != "X"; then
12381                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12382             if test "X$found_so" != "X"; then
12383                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12384                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12385               else
12386                                                                                 haveit=
12387                 for x in $ltrpathdirs; do
12388                   if test "X$x" = "X$found_dir"; then
12389                     haveit=yes
12390                     break
12391                   fi
12392                 done
12393                 if test -z "$haveit"; then
12394                   ltrpathdirs="$ltrpathdirs $found_dir"
12395                 fi
12396                                 if test "$hardcode_direct" = yes; then
12397                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12398                 else
12399                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
12400                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12401                                                             haveit=
12402                     for x in $rpathdirs; do
12403                       if test "X$x" = "X$found_dir"; then
12404                         haveit=yes
12405                         break
12406                       fi
12407                     done
12408                     if test -z "$haveit"; then
12409                       rpathdirs="$rpathdirs $found_dir"
12410                     fi
12411                   else
12412                                                                                 haveit=
12413                     for x in $LDFLAGS $LIBICONV; do
12414                       
12415   acl_save_prefix="$prefix"
12416   prefix="$acl_final_prefix"
12417   acl_save_exec_prefix="$exec_prefix"
12418   exec_prefix="$acl_final_exec_prefix"
12419   eval x=\"$x\"
12420   exec_prefix="$acl_save_exec_prefix"
12421   prefix="$acl_save_prefix"
12423                       if test "X$x" = "X-L$found_dir"; then
12424                         haveit=yes
12425                         break
12426                       fi
12427                     done
12428                     if test -z "$haveit"; then
12429                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12430                     fi
12431                     if test "$hardcode_minus_L" != no; then
12432                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12433                     else
12434                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12435                     fi
12436                   fi
12437                 fi
12438               fi
12439             else
12440               if test "X$found_a" != "X"; then
12441                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12442               else
12443                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12444               fi
12445             fi
12446                         additional_includedir=
12447             case "$found_dir" in
12448               */$acl_libdirstem | */$acl_libdirstem/)
12449                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12450                 additional_includedir="$basedir/include"
12451                 ;;
12452             esac
12453             if test "X$additional_includedir" != "X"; then
12454                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
12455                 haveit=
12456                 if test "X$additional_includedir" = "X/usr/local/include"; then
12457                   if test -n "$GCC"; then
12458                     case $host_os in
12459                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12460                     esac
12461                   fi
12462                 fi
12463                 if test -z "$haveit"; then
12464                   for x in $CPPFLAGS $INCICONV; do
12465                     
12466   acl_save_prefix="$prefix"
12467   prefix="$acl_final_prefix"
12468   acl_save_exec_prefix="$exec_prefix"
12469   exec_prefix="$acl_final_exec_prefix"
12470   eval x=\"$x\"
12471   exec_prefix="$acl_save_exec_prefix"
12472   prefix="$acl_save_prefix"
12474                     if test "X$x" = "X-I$additional_includedir"; then
12475                       haveit=yes
12476                       break
12477                     fi
12478                   done
12479                   if test -z "$haveit"; then
12480                     if test -d "$additional_includedir"; then
12481                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12482                     fi
12483                   fi
12484                 fi
12485               fi
12486             fi
12487                         if test -n "$found_la"; then
12488                                                         save_libdir="$libdir"
12489               case "$found_la" in
12490                 */* | *\\*) . "$found_la" ;;
12491                 *) . "./$found_la" ;;
12492               esac
12493               libdir="$save_libdir"
12494                             for dep in $dependency_libs; do
12495                 case "$dep" in
12496                   -L*)
12497                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12498                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12499                       haveit=
12500                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12501                         if test -n "$GCC"; then
12502                           case $host_os in
12503                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12504                           esac
12505                         fi
12506                       fi
12507                       if test -z "$haveit"; then
12508                         haveit=
12509                         for x in $LDFLAGS $LIBICONV; do
12510                           
12511   acl_save_prefix="$prefix"
12512   prefix="$acl_final_prefix"
12513   acl_save_exec_prefix="$exec_prefix"
12514   exec_prefix="$acl_final_exec_prefix"
12515   eval x=\"$x\"
12516   exec_prefix="$acl_save_exec_prefix"
12517   prefix="$acl_save_prefix"
12519                           if test "X$x" = "X-L$additional_libdir"; then
12520                             haveit=yes
12521                             break
12522                           fi
12523                         done
12524                         if test -z "$haveit"; then
12525                           if test -d "$additional_libdir"; then
12526                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12527                           fi
12528                         fi
12529                         haveit=
12530                         for x in $LDFLAGS $LTLIBICONV; do
12531                           
12532   acl_save_prefix="$prefix"
12533   prefix="$acl_final_prefix"
12534   acl_save_exec_prefix="$exec_prefix"
12535   exec_prefix="$acl_final_exec_prefix"
12536   eval x=\"$x\"
12537   exec_prefix="$acl_save_exec_prefix"
12538   prefix="$acl_save_prefix"
12540                           if test "X$x" = "X-L$additional_libdir"; then
12541                             haveit=yes
12542                             break
12543                           fi
12544                         done
12545                         if test -z "$haveit"; then
12546                           if test -d "$additional_libdir"; then
12547                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12548                           fi
12549                         fi
12550                       fi
12551                     fi
12552                     ;;
12553                   -R*)
12554                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
12555                     if test "$enable_rpath" != no; then
12556                                                                   haveit=
12557                       for x in $rpathdirs; do
12558                         if test "X$x" = "X$dir"; then
12559                           haveit=yes
12560                           break
12561                         fi
12562                       done
12563                       if test -z "$haveit"; then
12564                         rpathdirs="$rpathdirs $dir"
12565                       fi
12566                                                                   haveit=
12567                       for x in $ltrpathdirs; do
12568                         if test "X$x" = "X$dir"; then
12569                           haveit=yes
12570                           break
12571                         fi
12572                       done
12573                       if test -z "$haveit"; then
12574                         ltrpathdirs="$ltrpathdirs $dir"
12575                       fi
12576                     fi
12577                     ;;
12578                   -l*)
12579                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12580                     ;;
12581                   *.la)
12582                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12583                     ;;
12584                   *)
12585                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12586                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12587                     ;;
12588                 esac
12589               done
12590             fi
12591           else
12592                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12593             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12594           fi
12595         fi
12596       fi
12597     done
12598   done
12599   if test "X$rpathdirs" != "X"; then
12600     if test -n "$hardcode_libdir_separator"; then
12601                         alldirs=
12602       for found_dir in $rpathdirs; do
12603         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12604       done
12605             acl_save_libdir="$libdir"
12606       libdir="$alldirs"
12607       eval flag=\"$hardcode_libdir_flag_spec\"
12608       libdir="$acl_save_libdir"
12609       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12610     else
12611             for found_dir in $rpathdirs; do
12612         acl_save_libdir="$libdir"
12613         libdir="$found_dir"
12614         eval flag=\"$hardcode_libdir_flag_spec\"
12615         libdir="$acl_save_libdir"
12616         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12617       done
12618     fi
12619   fi
12620   if test "X$ltrpathdirs" != "X"; then
12621             for found_dir in $ltrpathdirs; do
12622       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12623     done
12624   fi
12628     
12629   
12630   
12631   
12632   
12633   
12634   
12636   
12637   
12640     
12642     
12643   
12645                         
12646     
12647   
12649     
12650     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12651 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12652 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
12653   $as_echo_n "(cached) " >&6
12654 else
12655   gt_save_LIBS="$LIBS"
12656      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12657      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h.  */
12659 #include <CoreFoundation/CFPreferences.h>
12661 main ()
12663 CFPreferencesCopyAppValue(NULL, NULL)
12664   ;
12665   return 0;
12667 _ACEOF
12668 if ac_fn_c_try_link "$LINENO"; then :
12669   gt_cv_func_CFPreferencesCopyAppValue=yes
12670 else
12671   gt_cv_func_CFPreferencesCopyAppValue=no
12673 rm -f core conftest.err conftest.$ac_objext \
12674     conftest$ac_exeext conftest.$ac_ext
12675      LIBS="$gt_save_LIBS"
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12678 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12679   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12680     
12681 $as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12683   fi
12684     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12685 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12686 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
12687   $as_echo_n "(cached) " >&6
12688 else
12689   gt_save_LIBS="$LIBS"
12690      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12691      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h.  */
12693 #include <CoreFoundation/CFLocale.h>
12695 main ()
12697 CFLocaleCopyCurrent();
12698   ;
12699   return 0;
12701 _ACEOF
12702 if ac_fn_c_try_link "$LINENO"; then :
12703   gt_cv_func_CFLocaleCopyCurrent=yes
12704 else
12705   gt_cv_func_CFLocaleCopyCurrent=no
12707 rm -f core conftest.err conftest.$ac_objext \
12708     conftest$ac_exeext conftest.$ac_ext
12709      LIBS="$gt_save_LIBS"
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12712 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12713   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12714     
12715 $as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12717   fi
12718   INTL_MACOSX_LIBS=
12719   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12720     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12721   fi
12722   
12725     
12727   
12728   LIBINTL=
12729   LTLIBINTL=
12730   POSUB=
12732     case " $gt_needs " in
12733     *" need-formatstring-macros "*) gt_api_version=3 ;;
12734     *" need-ngettext "*) gt_api_version=2 ;;
12735     *) gt_api_version=1 ;;
12736   esac
12737   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12738   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12740     if test "$USE_NLS" = "yes"; then
12741     gt_use_preinstalled_gnugettext=no
12742     
12743                         
12744         if test $gt_api_version -ge 3; then
12745           gt_revision_test_code='
12746 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12747 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12748 #endif
12749 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12751         else
12752           gt_revision_test_code=
12753         fi
12754         if test $gt_api_version -ge 2; then
12755           gt_expression_test_code=' + * ngettext ("", "", 0)'
12756         else
12757           gt_expression_test_code=
12758         fi
12760         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12761 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12762 if eval \${$gt_func_gnugettext_libc+:} false; then :
12763   $as_echo_n "(cached) " >&6
12764 else
12765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h.  */
12767 #include <libintl.h>
12768 $gt_revision_test_code
12769 extern int _nl_msg_cat_cntr;
12770 extern int *_nl_domain_bindings;
12772 main ()
12774 bindtextdomain ("", "");
12775 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12776   ;
12777   return 0;
12779 _ACEOF
12780 if ac_fn_c_try_link "$LINENO"; then :
12781   eval "$gt_func_gnugettext_libc=yes"
12782 else
12783   eval "$gt_func_gnugettext_libc=no"
12785 rm -f core conftest.err conftest.$ac_objext \
12786     conftest$ac_exeext conftest.$ac_ext
12788 eval ac_res=\$$gt_func_gnugettext_libc
12789                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12790 $as_echo "$ac_res" >&6; }
12792         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12793                     
12794             
12795     
12796       
12798           am_save_CPPFLAGS="$CPPFLAGS"
12799   
12800   for element in $INCICONV; do
12801     haveit=
12802     for x in $CPPFLAGS; do
12803       
12804   acl_save_prefix="$prefix"
12805   prefix="$acl_final_prefix"
12806   acl_save_exec_prefix="$exec_prefix"
12807   exec_prefix="$acl_final_exec_prefix"
12808   eval x=\"$x\"
12809   exec_prefix="$acl_save_exec_prefix"
12810   prefix="$acl_save_prefix"
12812       if test "X$x" = "X$element"; then
12813         haveit=yes
12814         break
12815       fi
12816     done
12817     if test -z "$haveit"; then
12818       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12819     fi
12820   done
12823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12824 $as_echo_n "checking for iconv... " >&6; }
12825 if ${am_cv_func_iconv+:} false; then :
12826   $as_echo_n "(cached) " >&6
12827 else
12828   
12829     am_cv_func_iconv="no, consider installing GNU libiconv"
12830     am_cv_lib_iconv=no
12831     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h.  */
12833 #include <stdlib.h>
12834 #include <iconv.h>
12836 main ()
12838 iconv_t cd = iconv_open("","");
12839        iconv(cd,NULL,NULL,NULL,NULL);
12840        iconv_close(cd);
12841   ;
12842   return 0;
12844 _ACEOF
12845 if ac_fn_c_try_link "$LINENO"; then :
12846   am_cv_func_iconv=yes
12848 rm -f core conftest.err conftest.$ac_objext \
12849     conftest$ac_exeext conftest.$ac_ext
12850     if test "$am_cv_func_iconv" != yes; then
12851       am_save_LIBS="$LIBS"
12852       LIBS="$LIBS $LIBICONV"
12853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h.  */
12855 #include <stdlib.h>
12856 #include <iconv.h>
12858 main ()
12860 iconv_t cd = iconv_open("","");
12861          iconv(cd,NULL,NULL,NULL,NULL);
12862          iconv_close(cd);
12863   ;
12864   return 0;
12866 _ACEOF
12867 if ac_fn_c_try_link "$LINENO"; then :
12868   am_cv_lib_iconv=yes
12869         am_cv_func_iconv=yes
12871 rm -f core conftest.err conftest.$ac_objext \
12872     conftest$ac_exeext conftest.$ac_ext
12873       LIBS="$am_save_LIBS"
12874     fi
12875   
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12878 $as_echo "$am_cv_func_iconv" >&6; }
12879   if test "$am_cv_func_iconv" = yes; then
12880     
12881 $as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h
12883   fi
12884   if test "$am_cv_lib_iconv" = yes; then
12885     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12886 $as_echo_n "checking how to link with libiconv... " >&6; }
12887     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12888 $as_echo "$LIBICONV" >&6; }
12889   else
12890             CPPFLAGS="$am_save_CPPFLAGS"
12891     LIBICONV=
12892     LTLIBICONV=
12893   fi
12894   
12895   
12897           
12898                                                   
12899   
12900   
12901     use_additional=yes
12902   
12903   acl_save_prefix="$prefix"
12904   prefix="$acl_final_prefix"
12905   acl_save_exec_prefix="$exec_prefix"
12906   exec_prefix="$acl_final_exec_prefix"
12907   
12908     eval additional_includedir=\"$includedir\"
12909     eval additional_libdir=\"$libdir\"
12910   
12911   exec_prefix="$acl_save_exec_prefix"
12912   prefix="$acl_save_prefix"
12914   
12915 @%:@ Check whether --with-libintl-prefix was given.
12916 if test "${with_libintl_prefix+set}" = set; then :
12917   withval=$with_libintl_prefix; 
12918     if test "X$withval" = "Xno"; then
12919       use_additional=no
12920     else
12921       if test "X$withval" = "X"; then
12922         
12923   acl_save_prefix="$prefix"
12924   prefix="$acl_final_prefix"
12925   acl_save_exec_prefix="$exec_prefix"
12926   exec_prefix="$acl_final_exec_prefix"
12927   
12928           eval additional_includedir=\"$includedir\"
12929           eval additional_libdir=\"$libdir\"
12930         
12931   exec_prefix="$acl_save_exec_prefix"
12932   prefix="$acl_save_prefix"
12934       else
12935         additional_includedir="$withval/include"
12936         additional_libdir="$withval/$acl_libdirstem"
12937       fi
12938     fi
12942       LIBINTL=
12943   LTLIBINTL=
12944   INCINTL=
12945   rpathdirs=
12946   ltrpathdirs=
12947   names_already_handled=
12948   names_next_round='intl '
12949   while test -n "$names_next_round"; do
12950     names_this_round="$names_next_round"
12951     names_next_round=
12952     for name in $names_this_round; do
12953       already_handled=
12954       for n in $names_already_handled; do
12955         if test "$n" = "$name"; then
12956           already_handled=yes
12957           break
12958         fi
12959       done
12960       if test -z "$already_handled"; then
12961         names_already_handled="$names_already_handled $name"
12962                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12963         eval value=\"\$HAVE_LIB$uppername\"
12964         if test -n "$value"; then
12965           if test "$value" = yes; then
12966             eval value=\"\$LIB$uppername\"
12967             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
12968             eval value=\"\$LTLIB$uppername\"
12969             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
12970           else
12971                                     :
12972           fi
12973         else
12974                               found_dir=
12975           found_la=
12976           found_so=
12977           found_a=
12978           if test $use_additional = yes; then
12979             if test -n "$shlibext" \
12980                && { test -f "$additional_libdir/lib$name.$shlibext" \
12981                     || { test "$shlibext" = dll \
12982                          && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
12983               found_dir="$additional_libdir"
12984               if test -f "$additional_libdir/lib$name.$shlibext"; then
12985                 found_so="$additional_libdir/lib$name.$shlibext"
12986               else
12987                 found_so="$additional_libdir/lib$name.dll.a"
12988               fi
12989               if test -f "$additional_libdir/lib$name.la"; then
12990                 found_la="$additional_libdir/lib$name.la"
12991               fi
12992             else
12993               if test -f "$additional_libdir/lib$name.$libext"; then
12994                 found_dir="$additional_libdir"
12995                 found_a="$additional_libdir/lib$name.$libext"
12996                 if test -f "$additional_libdir/lib$name.la"; then
12997                   found_la="$additional_libdir/lib$name.la"
12998                 fi
12999               fi
13000             fi
13001           fi
13002           if test "X$found_dir" = "X"; then
13003             for x in $LDFLAGS $LTLIBINTL; do
13004               
13005   acl_save_prefix="$prefix"
13006   prefix="$acl_final_prefix"
13007   acl_save_exec_prefix="$exec_prefix"
13008   exec_prefix="$acl_final_exec_prefix"
13009   eval x=\"$x\"
13010   exec_prefix="$acl_save_exec_prefix"
13011   prefix="$acl_save_prefix"
13013               case "$x" in
13014                 -L*)
13015                   dir=`echo "X$x" | sed -e 's/^X-L//'`
13016                   if test -n "$shlibext" \
13017                      && { test -f "$dir/lib$name.$shlibext" \
13018                           || { test "$shlibext" = dll \
13019                                && test -f "$dir/lib$name.dll.a"; }; }; then
13020                     found_dir="$dir"
13021                     if test -f "$dir/lib$name.$shlibext"; then
13022                       found_so="$dir/lib$name.$shlibext"
13023                     else
13024                       found_so="$dir/lib$name.dll.a"
13025                     fi
13026                     if test -f "$dir/lib$name.la"; then
13027                       found_la="$dir/lib$name.la"
13028                     fi
13029                   else
13030                     if test -f "$dir/lib$name.$libext"; then
13031                       found_dir="$dir"
13032                       found_a="$dir/lib$name.$libext"
13033                       if test -f "$dir/lib$name.la"; then
13034                         found_la="$dir/lib$name.la"
13035                       fi
13036                     fi
13037                   fi
13038                   ;;
13039               esac
13040               if test "X$found_dir" != "X"; then
13041                 break
13042               fi
13043             done
13044           fi
13045           if test "X$found_dir" != "X"; then
13046                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13047             if test "X$found_so" != "X"; then
13048                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13049                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13050               else
13051                                                                                 haveit=
13052                 for x in $ltrpathdirs; do
13053                   if test "X$x" = "X$found_dir"; then
13054                     haveit=yes
13055                     break
13056                   fi
13057                 done
13058                 if test -z "$haveit"; then
13059                   ltrpathdirs="$ltrpathdirs $found_dir"
13060                 fi
13061                                 if test "$hardcode_direct" = yes; then
13062                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13063                 else
13064                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
13065                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13066                                                             haveit=
13067                     for x in $rpathdirs; do
13068                       if test "X$x" = "X$found_dir"; then
13069                         haveit=yes
13070                         break
13071                       fi
13072                     done
13073                     if test -z "$haveit"; then
13074                       rpathdirs="$rpathdirs $found_dir"
13075                     fi
13076                   else
13077                                                                                 haveit=
13078                     for x in $LDFLAGS $LIBINTL; do
13079                       
13080   acl_save_prefix="$prefix"
13081   prefix="$acl_final_prefix"
13082   acl_save_exec_prefix="$exec_prefix"
13083   exec_prefix="$acl_final_exec_prefix"
13084   eval x=\"$x\"
13085   exec_prefix="$acl_save_exec_prefix"
13086   prefix="$acl_save_prefix"
13088                       if test "X$x" = "X-L$found_dir"; then
13089                         haveit=yes
13090                         break
13091                       fi
13092                     done
13093                     if test -z "$haveit"; then
13094                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13095                     fi
13096                     if test "$hardcode_minus_L" != no; then
13097                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13098                     else
13099                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13100                     fi
13101                   fi
13102                 fi
13103               fi
13104             else
13105               if test "X$found_a" != "X"; then
13106                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13107               else
13108                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13109               fi
13110             fi
13111                         additional_includedir=
13112             case "$found_dir" in
13113               */$acl_libdirstem | */$acl_libdirstem/)
13114                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13115                 additional_includedir="$basedir/include"
13116                 ;;
13117             esac
13118             if test "X$additional_includedir" != "X"; then
13119                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13120                 haveit=
13121                 if test "X$additional_includedir" = "X/usr/local/include"; then
13122                   if test -n "$GCC"; then
13123                     case $host_os in
13124                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13125                     esac
13126                   fi
13127                 fi
13128                 if test -z "$haveit"; then
13129                   for x in $CPPFLAGS $INCINTL; do
13130                     
13131   acl_save_prefix="$prefix"
13132   prefix="$acl_final_prefix"
13133   acl_save_exec_prefix="$exec_prefix"
13134   exec_prefix="$acl_final_exec_prefix"
13135   eval x=\"$x\"
13136   exec_prefix="$acl_save_exec_prefix"
13137   prefix="$acl_save_prefix"
13139                     if test "X$x" = "X-I$additional_includedir"; then
13140                       haveit=yes
13141                       break
13142                     fi
13143                   done
13144                   if test -z "$haveit"; then
13145                     if test -d "$additional_includedir"; then
13146                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13147                     fi
13148                   fi
13149                 fi
13150               fi
13151             fi
13152                         if test -n "$found_la"; then
13153                                                         save_libdir="$libdir"
13154               case "$found_la" in
13155                 */* | *\\*) . "$found_la" ;;
13156                 *) . "./$found_la" ;;
13157               esac
13158               libdir="$save_libdir"
13159                             for dep in $dependency_libs; do
13160                 case "$dep" in
13161                   -L*)
13162                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13163                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13164                       haveit=
13165                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13166                         if test -n "$GCC"; then
13167                           case $host_os in
13168                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13169                           esac
13170                         fi
13171                       fi
13172                       if test -z "$haveit"; then
13173                         haveit=
13174                         for x in $LDFLAGS $LIBINTL; do
13175                           
13176   acl_save_prefix="$prefix"
13177   prefix="$acl_final_prefix"
13178   acl_save_exec_prefix="$exec_prefix"
13179   exec_prefix="$acl_final_exec_prefix"
13180   eval x=\"$x\"
13181   exec_prefix="$acl_save_exec_prefix"
13182   prefix="$acl_save_prefix"
13184                           if test "X$x" = "X-L$additional_libdir"; then
13185                             haveit=yes
13186                             break
13187                           fi
13188                         done
13189                         if test -z "$haveit"; then
13190                           if test -d "$additional_libdir"; then
13191                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13192                           fi
13193                         fi
13194                         haveit=
13195                         for x in $LDFLAGS $LTLIBINTL; do
13196                           
13197   acl_save_prefix="$prefix"
13198   prefix="$acl_final_prefix"
13199   acl_save_exec_prefix="$exec_prefix"
13200   exec_prefix="$acl_final_exec_prefix"
13201   eval x=\"$x\"
13202   exec_prefix="$acl_save_exec_prefix"
13203   prefix="$acl_save_prefix"
13205                           if test "X$x" = "X-L$additional_libdir"; then
13206                             haveit=yes
13207                             break
13208                           fi
13209                         done
13210                         if test -z "$haveit"; then
13211                           if test -d "$additional_libdir"; then
13212                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13213                           fi
13214                         fi
13215                       fi
13216                     fi
13217                     ;;
13218                   -R*)
13219                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13220                     if test "$enable_rpath" != no; then
13221                                                                   haveit=
13222                       for x in $rpathdirs; do
13223                         if test "X$x" = "X$dir"; then
13224                           haveit=yes
13225                           break
13226                         fi
13227                       done
13228                       if test -z "$haveit"; then
13229                         rpathdirs="$rpathdirs $dir"
13230                       fi
13231                                                                   haveit=
13232                       for x in $ltrpathdirs; do
13233                         if test "X$x" = "X$dir"; then
13234                           haveit=yes
13235                           break
13236                         fi
13237                       done
13238                       if test -z "$haveit"; then
13239                         ltrpathdirs="$ltrpathdirs $dir"
13240                       fi
13241                     fi
13242                     ;;
13243                   -l*)
13244                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13245                     ;;
13246                   *.la)
13247                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13248                     ;;
13249                   *)
13250                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13251                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13252                     ;;
13253                 esac
13254               done
13255             fi
13256           else
13257                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13258             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13259           fi
13260         fi
13261       fi
13262     done
13263   done
13264   if test "X$rpathdirs" != "X"; then
13265     if test -n "$hardcode_libdir_separator"; then
13266                         alldirs=
13267       for found_dir in $rpathdirs; do
13268         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13269       done
13270             acl_save_libdir="$libdir"
13271       libdir="$alldirs"
13272       eval flag=\"$hardcode_libdir_flag_spec\"
13273       libdir="$acl_save_libdir"
13274       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13275     else
13276             for found_dir in $rpathdirs; do
13277         acl_save_libdir="$libdir"
13278         libdir="$found_dir"
13279         eval flag=\"$hardcode_libdir_flag_spec\"
13280         libdir="$acl_save_libdir"
13281         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13282       done
13283     fi
13284   fi
13285   if test "X$ltrpathdirs" != "X"; then
13286             for found_dir in $ltrpathdirs; do
13287       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13288     done
13289   fi
13291           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13292 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13293 if eval \${$gt_func_gnugettext_libintl+:} false; then :
13294   $as_echo_n "(cached) " >&6
13295 else
13296   gt_save_CPPFLAGS="$CPPFLAGS"
13297             CPPFLAGS="$CPPFLAGS $INCINTL"
13298             gt_save_LIBS="$LIBS"
13299             LIBS="$LIBS $LIBINTL"
13300                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13301 /* end confdefs.h.  */
13302 #include <libintl.h>
13303 $gt_revision_test_code
13304 extern int _nl_msg_cat_cntr;
13305 extern
13306 #ifdef __cplusplus
13308 #endif
13309 const char *_nl_expand_alias (const char *);
13311 main ()
13313 bindtextdomain ("", "");
13314 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13315   ;
13316   return 0;
13318 _ACEOF
13319 if ac_fn_c_try_link "$LINENO"; then :
13320   eval "$gt_func_gnugettext_libintl=yes"
13321 else
13322   eval "$gt_func_gnugettext_libintl=no"
13324 rm -f core conftest.err conftest.$ac_objext \
13325     conftest$ac_exeext conftest.$ac_ext
13326                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13327               LIBS="$LIBS $LIBICONV"
13328               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13329 /* end confdefs.h.  */
13330 #include <libintl.h>
13331 $gt_revision_test_code
13332 extern int _nl_msg_cat_cntr;
13333 extern
13334 #ifdef __cplusplus
13336 #endif
13337 const char *_nl_expand_alias (const char *);
13339 main ()
13341 bindtextdomain ("", "");
13342 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13343   ;
13344   return 0;
13346 _ACEOF
13347 if ac_fn_c_try_link "$LINENO"; then :
13348   LIBINTL="$LIBINTL $LIBICONV"
13349                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13350                 eval "$gt_func_gnugettext_libintl=yes"
13351                
13353 rm -f core conftest.err conftest.$ac_objext \
13354     conftest$ac_exeext conftest.$ac_ext
13355             fi
13356             CPPFLAGS="$gt_save_CPPFLAGS"
13357             LIBS="$gt_save_LIBS"
13359 eval ac_res=\$$gt_func_gnugettext_libintl
13360                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13361 $as_echo "$ac_res" >&6; }
13362         fi
13364                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13365            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13366                 && test "$PACKAGE" != gettext-runtime \
13367                 && test "$PACKAGE" != gettext-tools; }; then
13368           gt_use_preinstalled_gnugettext=yes
13369         else
13370                     LIBINTL=
13371           LTLIBINTL=
13372           INCINTL=
13373         fi
13375     
13377     if test -n "$INTL_MACOSX_LIBS"; then
13378       if test "$gt_use_preinstalled_gnugettext" = "yes" \
13379          || test "$nls_cv_use_gnu_gettext" = "yes"; then
13380                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13381         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13382       fi
13383     fi
13385     if test "$gt_use_preinstalled_gnugettext" = "yes" \
13386        || test "$nls_cv_use_gnu_gettext" = "yes"; then
13387       
13388 $as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h
13390     else
13391       USE_NLS=no
13392     fi
13393   fi
13395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13396 $as_echo_n "checking whether to use NLS... " >&6; }
13397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13398 $as_echo "$USE_NLS" >&6; }
13399   if test "$USE_NLS" = "yes"; then
13400     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13401 $as_echo_n "checking where the gettext function comes from... " >&6; }
13402     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13403       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13404         gt_source="external libintl"
13405       else
13406         gt_source="libc"
13407       fi
13408     else
13409       gt_source="included intl directory"
13410     fi
13411     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13412 $as_echo "$gt_source" >&6; }
13413   fi
13415   if test "$USE_NLS" = "yes"; then
13417     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13418       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13419         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13420 $as_echo_n "checking how to link with libintl... " >&6; }
13421         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13422 $as_echo "$LIBINTL" >&6; }
13423         
13424   for element in $INCINTL; do
13425     haveit=
13426     for x in $CPPFLAGS; do
13427       
13428   acl_save_prefix="$prefix"
13429   prefix="$acl_final_prefix"
13430   acl_save_exec_prefix="$exec_prefix"
13431   exec_prefix="$acl_final_exec_prefix"
13432   eval x=\"$x\"
13433   exec_prefix="$acl_save_exec_prefix"
13434   prefix="$acl_save_prefix"
13436       if test "X$x" = "X$element"; then
13437         haveit=yes
13438         break
13439       fi
13440     done
13441     if test -z "$haveit"; then
13442       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13443     fi
13444   done
13446       fi
13448             
13449 $as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h
13451       
13452 $as_echo "@%:@define HAVE_DCGETTEXT 1" >>confdefs.h
13454     fi
13456         POSUB=po
13457   fi
13459   
13461     INTLLIBS="$LIBINTL"
13462   
13464     
13465   
13466   
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
13470 $as_echo_n "checking option: dmalloc enabled... " >&6; }
13471 @%:@ Check whether --enable-dmalloc was given.
13472 if test "${enable_dmalloc+set}" = set; then :
13473   enableval=$enable_dmalloc; 
13476 if test x$enable_dmalloc = "xyes" ; then
13477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13478 $as_echo "yes" >&6; }
13479 else
13480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13481 $as_echo "no" >&6; }
13485 @%:@ Check whether --with-dmalloc-dir was given.
13486 if test "${with_dmalloc_dir+set}" = set; then :
13487   withval=$with_dmalloc_dir; 
13488     if test "x$withval" != "xno" ; then
13489       enable_dmalloc = "yes"
13490       CPPFLAGS="$CPPFLAGS -I${withval}"
13491       LDFLAGS="$LDFLAGS -L${withval}"
13492     fi
13493   
13497 if test x$enable_dmalloc = "xyes" ; then
13498   
13499 $as_echo "@%:@define ENABLE_DMALLOC 1" >>confdefs.h
13503 localedir="\${datadir}/locale"
13505 @%:@ Check whether --with-localedir was given.
13506 if test "${with_localedir+set}" = set; then :
13507   withval=$with_localedir; 
13508     case $withval in
13509       yes)
13510         ;;
13511       no)
13512         ;;
13513       *)
13514         localedir=$withval
13515         ;;
13516     esac
13517   
13520 localedir="$localedir"
13523 # Setup OS-Specific features
13524 case "$host" in
13525   *darwin*)
13526         @%:@ Check whether --enable-osx-universal-binaries was given.
13527 if test "${enable_osx_universal_binaries+set}" = set; then :
13528   enableval=$enable_osx_universal_binaries; 
13531     if test "x$enable_osx_universal_binaries" = "xyes" ; then
13532       if test "x$enable_dependency_tracking" != xno ; then
13533         as_fn_error $? "--enable-osx-universal-binary requires --disable-dependency-tracking.
13534 Please re-run configure with these options:
13535     --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
13536       fi
13537       if test -d /Developer/SDKs/MacOSX10.5.sdk ; then
13538         alpine_sysroot=/Developer/SDKs/MacOSX10.5.sdk
13539       elif test -d /Developer/SDKs/MacOSX10.4u.sdk ; then
13540         alpine_sysroot=/Developer/SDKs/MacOSX10.4u.sdk
13541       else
13542         as_fn_error $? "No suitable MacOSX SDK found.  Make sure Xcode tools are installed" "$LINENO" 5
13543       fi
13544       ub_cflags="-isysroot $alpine_sysroot -arch ppc -arch i386"
13545       ub_ldflags="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
13546       AM_CFLAGS="$AM_CFLAGS $ub_cflags"
13547       AM_LDFLAGS="$AM_LDFLAGS $ub_ldflags"
13548       alpine_c_client_cflags="$alpine_c_client_cflags $ub_cflags"
13549       alpine_c_client_ldflags="$alpine_c_client_ldflags $ub_ldflags"
13550     fi
13551     ;;
13552 esac
13555 @%:@ Check whether --with-include-path was given.
13556 if test "${with_include_path+set}" = set; then :
13557   withval=$with_include_path; 
13558     case $withval in
13559       no)
13560         ;;
13561       yes)
13562         ;;
13563       *)
13564         new_cppflags="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
13565         CPPFLAGS="$CPPFLAGS ${new_cppflags}"
13566         alpine_c_client_cflags="$alpine_c_client_cflags ${new_cppflags}"
13567         ;;
13568     esac
13569   
13574 @%:@ Check whether --with-lib-path was given.
13575 if test "${with_lib_path+set}" = set; then :
13576   withval=$with_lib_path; 
13577     case $withval in
13578       no)
13579         ;;
13580       yes)
13581         ;;
13582       *)
13583         new_ldflags="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
13584         LDFLAGS="$LDFLAGS $new_ldflags"
13585         alpine_c_client_ldflags="$alpine_c_client_ldflags ${new_ldflags}"
13586         ;;
13587     esac
13588   
13593 @%:@ Check whether --with-pubcookie was given.
13594 if test "${with_pubcookie+set}" = set; then :
13595   withval=$with_pubcookie; 
13596     if test "x$withval" != "xno" ; then
13597       WEB_PUBCOOKIE_BUILD=web/src/pubcookie
13598     fi
13599   
13605 @%:@ Check whether --with-web-bin was given.
13606 if test "${with_web_bin+set}" = set; then :
13607   withval=$with_web_bin; 
13608     case "$withval" in
13609       no)
13610         ;;
13611       yes)
13612         ;;
13613       *)
13614         WEB_BINDIR=$withval
13615         ;;
13616     esac
13617   
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
13622 $as_echo_n "checking option: debugging is enabled... " >&6; }
13623 @%:@ Check whether --enable-debug was given.
13624 if test "${enable_debug+set}" = set; then :
13625   enableval=$enable_debug; 
13628 if test x$enable_debug != "xno" ; then
13629   AM_CFLAGS="$AM_CFLAGS -g"
13630   
13631 $as_echo "@%:@define DEBUG 1" >>confdefs.h
13633   
13634 $as_echo "@%:@define DEBUGJOURNAL 1" >>confdefs.h
13636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13637 $as_echo "yes" >&6; }
13638 else
13639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13640 $as_echo "no" >&6; }
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
13644 $as_echo_n "checking option: optimization is enabled... " >&6; }
13645 @%:@ Check whether --enable-optimization was given.
13646 if test "${enable_optimization+set}" = set; then :
13647   enableval=$enable_optimization; 
13650 if test x$enable_optimization != "xno" ; then
13651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13652 $as_echo "yes" >&6; }
13653 else
13654   CFLAGS="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
13655   alpine_c_client_gccoptlevel="-O0"
13656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13657 $as_echo "no" >&6; }
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
13661 $as_echo_n "checking option: mouse support enabled... " >&6; }
13662 @%:@ Check whether --enable-mouse was given.
13663 if test "${enable_mouse+set}" = set; then :
13664   enableval=$enable_mouse; 
13667 if test x$enable_mouse != "xno" ; then
13668   
13669 $as_echo "@%:@define MOUSE /**/" >>confdefs.h
13671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13672 $as_echo "yes" >&6; }
13673 else
13674    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13675 $as_echo "no" >&6; }
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
13679 $as_echo_n "checking option: quotas enabled... " >&6; }
13680 @%:@ Check whether --enable-quotas was given.
13681 if test "${enable_quotas+set}" = set; then :
13682   enableval=$enable_quotas; 
13685 if test x$enable_quotas = "xyes" ; then
13686   
13687 $as_echo "@%:@define USE_QUOTAS /**/" >>confdefs.h
13689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13690 $as_echo "yes" >&6; }
13691 else
13692    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13693 $as_echo "no" >&6; }
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
13697 $as_echo_n "checking option: From changing enabled... " >&6; }
13698 @%:@ Check whether --enable-from_changing was given.
13699 if test "${enable_from_changing+set}" = set; then :
13700   enableval=$enable_from_changing; 
13703 if test x$enable_from_changing != "xno" ; then
13704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13705 $as_echo "yes" >&6; }
13706 else
13707   
13708 $as_echo "@%:@define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
13710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13711 $as_echo "no" >&6; }
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
13715 $as_echo_n "checking option: background post enabled... " >&6; }
13716 @%:@ Check whether --enable-background-post was given.
13717 if test "${enable_background_post+set}" = set; then :
13718   enableval=$enable_background_post; 
13721 if test x$enable_background_post != "xno" ; then
13722   
13723 $as_echo "@%:@define BACKGROUND_POST /**/" >>confdefs.h
13725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13726 $as_echo "yes" >&6; }
13727 else
13728     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13729 $as_echo "no" >&6; }
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
13733 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
13734 @%:@ Check whether --enable-keyboard-lock was given.
13735 if test "${enable_keyboard_lock+set}" = set; then :
13736   enableval=$enable_keyboard_lock; 
13739 if test x$enable_keyboard_lock != "xno" ; then
13740   
13741 $as_echo "@%:@define KEYBOARD_LOCK /**/" >>confdefs.h
13743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13744 $as_echo "yes" >&6; }
13745 else
13746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13747 $as_echo "no" >&6; }
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
13751 $as_echo_n "checking option: from encoding enabled... " >&6; }
13752 @%:@ Check whether --enable-from-encoding was given.
13753 if test "${enable_from_encoding+set}" = set; then :
13754   enableval=$enable_from_encoding; 
13757 if test x$enable_from_encoding = "xyes" ; then
13758   
13759 $as_echo "@%:@define ENCODE_FROMS /**/" >>confdefs.h
13761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13762 $as_echo "yes" >&6; }
13763 else
13764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13765 $as_echo "no" >&6; }
13769 @%:@ Check whether --with-smtp-msa was given.
13770 if test "${with_smtp_msa+set}" = set; then :
13771   withval=$with_smtp_msa; 
13772       case "$withval" in
13773         no)
13774           ;;
13775         yes)
13776           # Extract the first word of "sendmail", so it can be a program name with args.
13777 set dummy sendmail; ac_word=$2
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13779 $as_echo_n "checking for $ac_word... " >&6; }
13780 if ${ac_cv_path_SENDMAIL+:} false; then :
13781   $as_echo_n "(cached) " >&6
13782 else
13783   case $SENDMAIL in
13784   [\\/]* | ?:[\\/]*)
13785   ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
13786   ;;
13787   *)
13788   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13789 as_dummy="$PATH:/usr/sbin:/usr/lib"
13790 for as_dir in $as_dummy
13792   IFS=$as_save_IFS
13793   test -z "$as_dir" && as_dir=.
13794     for ac_exec_ext in '' $ac_executable_extensions; do
13795   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13796     ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
13797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13798     break 2
13799   fi
13800 done
13801   done
13802 IFS=$as_save_IFS
13804   test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL=""""
13805   ;;
13806 esac
13808 SENDMAIL=$ac_cv_path_SENDMAIL
13809 if test -n "$SENDMAIL"; then
13810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13811 $as_echo "$SENDMAIL" >&6; }
13812 else
13813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13814 $as_echo "no" >&6; }
13818           ;;
13819         *)
13820           SENDMAIL=$withval
13821           ;;
13822       esac
13823     
13824 else
13825   
13826           # Extract the first word of "sendmail", so it can be a program name with args.
13827 set dummy sendmail; ac_word=$2
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13829 $as_echo_n "checking for $ac_word... " >&6; }
13830 if ${ac_cv_path_SENDMAIL+:} false; then :
13831   $as_echo_n "(cached) " >&6
13832 else
13833   case $SENDMAIL in
13834   [\\/]* | ?:[\\/]*)
13835   ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
13836   ;;
13837   *)
13838   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13839 as_dummy="$PATH:/usr/sbin:/usr/lib"
13840 for as_dir in $as_dummy
13842   IFS=$as_save_IFS
13843   test -z "$as_dir" && as_dir=.
13844     for ac_exec_ext in '' $ac_executable_extensions; do
13845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13846     ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
13847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13848     break 2
13849   fi
13850 done
13851   done
13852 IFS=$as_save_IFS
13854   test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL=""""
13855   ;;
13856 esac
13858 SENDMAIL=$ac_cv_path_SENDMAIL
13859 if test -n "$SENDMAIL"; then
13860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13861 $as_echo "$SENDMAIL" >&6; }
13862 else
13863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13864 $as_echo "no" >&6; }
13868     
13871 if test -n "$SENDMAIL" ; then
13872     
13873 cat >>confdefs.h <<_ACEOF
13874 @%:@define SENDMAIL "$SENDMAIL"
13875 _ACEOF
13879 smtp_msa_flags="-bs -odb -oem"
13881 @%:@ Check whether --with-smtp-msa-flags was given.
13882 if test "${with_smtp_msa_flags+set}" = set; then :
13883   withval=$with_smtp_msa_flags; 
13884     if test "x$withval" != "xno" ; then
13885       smtp_msa_flags=$withval
13886     fi
13887   
13891 cat >>confdefs.h <<_ACEOF
13892 @%:@define SENDMAILFLAGS "$smtp_msa_flags"
13893 _ACEOF
13896 npa="inews"
13898 @%:@ Check whether --with-npa was given.
13899 if test "${with_npa+set}" = set; then :
13900   withval=$with_npa; 
13901       case "$withval" in
13902         no)
13903           ;;
13904         yes)
13905           # Extract the first word of "inews", so it can be a program name with args.
13906 set dummy inews; ac_word=$2
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13908 $as_echo_n "checking for $ac_word... " >&6; }
13909 if ${ac_cv_path_NPA_PROG+:} false; then :
13910   $as_echo_n "(cached) " >&6
13911 else
13912   case $NPA_PROG in
13913   [\\/]* | ?:[\\/]*)
13914   ac_cv_path_NPA_PROG="$NPA_PROG" # Let the user override the test with a path.
13915   ;;
13916   *)
13917   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13918 as_dummy="$PATH:/usr/sbin:/usr/lib"
13919 for as_dir in $as_dummy
13921   IFS=$as_save_IFS
13922   test -z "$as_dir" && as_dir=.
13923     for ac_exec_ext in '' $ac_executable_extensions; do
13924   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13925     ac_cv_path_NPA_PROG="$as_dir/$ac_word$ac_exec_ext"
13926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13927     break 2
13928   fi
13929 done
13930   done
13931 IFS=$as_save_IFS
13933   test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG=""""
13934   ;;
13935 esac
13937 NPA_PROG=$ac_cv_path_NPA_PROG
13938 if test -n "$NPA_PROG"; then
13939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
13940 $as_echo "$NPA_PROG" >&6; }
13941 else
13942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13943 $as_echo "no" >&6; }
13947           ;;
13948         *)
13949           NPA_PROG=$withval
13950           ;;
13951       esac
13952     
13953 else
13954   
13955           # Extract the first word of "inews", so it can be a program name with args.
13956 set dummy inews; ac_word=$2
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13958 $as_echo_n "checking for $ac_word... " >&6; }
13959 if ${ac_cv_path_NPA_PROG+:} false; then :
13960   $as_echo_n "(cached) " >&6
13961 else
13962   case $NPA_PROG in
13963   [\\/]* | ?:[\\/]*)
13964   ac_cv_path_NPA_PROG="$NPA_PROG" # Let the user override the test with a path.
13965   ;;
13966   *)
13967   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13968 as_dummy="$PATH:/usr/sbin:/usr/lib"
13969 for as_dir in $as_dummy
13971   IFS=$as_save_IFS
13972   test -z "$as_dir" && as_dir=.
13973     for ac_exec_ext in '' $ac_executable_extensions; do
13974   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13975     ac_cv_path_NPA_PROG="$as_dir/$ac_word$ac_exec_ext"
13976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13977     break 2
13978   fi
13979 done
13980   done
13981 IFS=$as_save_IFS
13983   test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG=""""
13984   ;;
13985 esac
13987 NPA_PROG=$ac_cv_path_NPA_PROG
13988 if test -n "$NPA_PROG"; then
13989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
13990 $as_echo "$NPA_PROG" >&6; }
13991 else
13992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13993 $as_echo "no" >&6; }
13997     
14001 npa_flags="-h"
14003 @%:@ Check whether --with-npa-flags was given.
14004 if test "${with_npa_flags+set}" = set; then :
14005   withval=$with_npa_flags; 
14006     if test "x$withval" != "xno" ; then
14007       npa_flags=$withval
14008     fi
14009   
14012 if test -n "$NPA_PROG" ; then
14013   
14014 cat >>confdefs.h <<_ACEOF
14015 @%:@define SENDNEWS "$NPA_PROG $npa_flags"
14016 _ACEOF
14021 @%:@ Check whether --with-password-prog was given.
14022 if test "${with_password_prog+set}" = set; then :
14023   withval=$with_password_prog; 
14024       case "$withval" in
14025         no)
14026           ;;
14027         yes)
14028           # Extract the first word of "passwd", so it can be a program name with args.
14029 set dummy passwd; ac_word=$2
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14031 $as_echo_n "checking for $ac_word... " >&6; }
14032 if ${ac_cv_path_PWPROG+:} false; then :
14033   $as_echo_n "(cached) " >&6
14034 else
14035   case $PWPROG in
14036   [\\/]* | ?:[\\/]*)
14037   ac_cv_path_PWPROG="$PWPROG" # Let the user override the test with a path.
14038   ;;
14039   *)
14040   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14041 as_dummy="$PATH:/usr/sbin:/usr/lib"
14042 for as_dir in $as_dummy
14044   IFS=$as_save_IFS
14045   test -z "$as_dir" && as_dir=.
14046     for ac_exec_ext in '' $ac_executable_extensions; do
14047   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14048     ac_cv_path_PWPROG="$as_dir/$ac_word$ac_exec_ext"
14049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14050     break 2
14051   fi
14052 done
14053   done
14054 IFS=$as_save_IFS
14056   test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG=""""
14057   ;;
14058 esac
14060 PWPROG=$ac_cv_path_PWPROG
14061 if test -n "$PWPROG"; then
14062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14063 $as_echo "$PWPROG" >&6; }
14064 else
14065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14066 $as_echo "no" >&6; }
14070           ;;
14071         *)
14072           # Extract the first word of "$withval", so it can be a program name with args.
14073 set dummy $withval; ac_word=$2
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14075 $as_echo_n "checking for $ac_word... " >&6; }
14076 if ${ac_cv_path_PWPROG+:} false; then :
14077   $as_echo_n "(cached) " >&6
14078 else
14079   case $PWPROG in
14080   [\\/]* | ?:[\\/]*)
14081   ac_cv_path_PWPROG="$PWPROG" # Let the user override the test with a path.
14082   ;;
14083   *)
14084   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14085 as_dummy="$PATH:/usr/sbin:/usr/lib"
14086 for as_dir in $as_dummy
14088   IFS=$as_save_IFS
14089   test -z "$as_dir" && as_dir=.
14090     for ac_exec_ext in '' $ac_executable_extensions; do
14091   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14092     ac_cv_path_PWPROG="$as_dir/$ac_word$ac_exec_ext"
14093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14094     break 2
14095   fi
14096 done
14097   done
14098 IFS=$as_save_IFS
14100   test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG=""""
14101   ;;
14102 esac
14104 PWPROG=$ac_cv_path_PWPROG
14105 if test -n "$PWPROG"; then
14106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14107 $as_echo "$PWPROG" >&6; }
14108 else
14109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14110 $as_echo "no" >&6; }
14114           ;;
14115       esac
14116     
14117 else
14118   
14119           # Extract the first word of "passwd", so it can be a program name with args.
14120 set dummy passwd; ac_word=$2
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14122 $as_echo_n "checking for $ac_word... " >&6; }
14123 if ${ac_cv_path_PWPROG+:} false; then :
14124   $as_echo_n "(cached) " >&6
14125 else
14126   case $PWPROG in
14127   [\\/]* | ?:[\\/]*)
14128   ac_cv_path_PWPROG="$PWPROG" # Let the user override the test with a path.
14129   ;;
14130   *)
14131   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14132 as_dummy="$PATH:/usr/sbin:/usr/lib"
14133 for as_dir in $as_dummy
14135   IFS=$as_save_IFS
14136   test -z "$as_dir" && as_dir=.
14137     for ac_exec_ext in '' $ac_executable_extensions; do
14138   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14139     ac_cv_path_PWPROG="$as_dir/$ac_word$ac_exec_ext"
14140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14141     break 2
14142   fi
14143 done
14144   done
14145 IFS=$as_save_IFS
14147   test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG=""""
14148   ;;
14149 esac
14151 PWPROG=$ac_cv_path_PWPROG
14152 if test -n "$PWPROG"; then
14153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14154 $as_echo "$PWPROG" >&6; }
14155 else
14156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14157 $as_echo "no" >&6; }
14161     
14164 if test -n "$PWPROG" ; then
14165     
14166 cat >>confdefs.h <<_ACEOF
14167 @%:@define PASSWD_PROG "$PWPROG"
14168 _ACEOF
14173 @%:@ Check whether --with-simple-spellcheck was given.
14174 if test "${with_simple_spellcheck+set}" = set; then :
14175   withval=$with_simple_spellcheck; 
14176       if test "x$withval" != "xno" ; then
14177         SPELLPROG=$withval
14178       fi
14179     
14180 else
14181   
14182       # Extract the first word of "hunspell", so it can be a program name with args.
14183 set dummy hunspell; ac_word=$2
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14185 $as_echo_n "checking for $ac_word... " >&6; }
14186 if ${ac_cv_prog_SPELLPROG+:} false; then :
14187   $as_echo_n "(cached) " >&6
14188 else
14189   if test -n "$SPELLPROG"; then
14190   ac_cv_prog_SPELLPROG="$SPELLPROG" # Let the user override the test.
14191 else
14192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14193 for as_dir in $PATH
14195   IFS=$as_save_IFS
14196   test -z "$as_dir" && as_dir=.
14197     for ac_exec_ext in '' $ac_executable_extensions; do
14198   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14199     ac_cv_prog_SPELLPROG="hunspell"
14200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14201     break 2
14202   fi
14203 done
14204   done
14205 IFS=$as_save_IFS
14209 SPELLPROG=$ac_cv_prog_SPELLPROG
14210 if test -n "$SPELLPROG"; then
14211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14212 $as_echo "$SPELLPROG" >&6; }
14213 else
14214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14215 $as_echo "no" >&6; }
14219       if test -z "$SPELLPROG" ; then
14220         # Extract the first word of "aspell", so it can be a program name with args.
14221 set dummy aspell; ac_word=$2
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14223 $as_echo_n "checking for $ac_word... " >&6; }
14224 if ${ac_cv_prog_SPELLPROG+:} false; then :
14225   $as_echo_n "(cached) " >&6
14226 else
14227   if test -n "$SPELLPROG"; then
14228   ac_cv_prog_SPELLPROG="$SPELLPROG" # Let the user override the test.
14229 else
14230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14231 for as_dir in $PATH
14233   IFS=$as_save_IFS
14234   test -z "$as_dir" && as_dir=.
14235     for ac_exec_ext in '' $ac_executable_extensions; do
14236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14237     ac_cv_prog_SPELLPROG="aspell"
14238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14239     break 2
14240   fi
14241 done
14242   done
14243 IFS=$as_save_IFS
14247 SPELLPROG=$ac_cv_prog_SPELLPROG
14248 if test -n "$SPELLPROG"; then
14249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14250 $as_echo "$SPELLPROG" >&6; }
14251 else
14252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14253 $as_echo "no" >&6; }
14257         if test -z "$SPELLPROG" ; then
14258           # Extract the first word of "ispell", so it can be a program name with args.
14259 set dummy ispell; ac_word=$2
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14261 $as_echo_n "checking for $ac_word... " >&6; }
14262 if ${ac_cv_prog_SPELLPROG+:} false; then :
14263   $as_echo_n "(cached) " >&6
14264 else
14265   if test -n "$SPELLPROG"; then
14266   ac_cv_prog_SPELLPROG="$SPELLPROG" # Let the user override the test.
14267 else
14268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14269 for as_dir in $PATH
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_prog_SPELLPROG="ispell"
14276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14277     break 2
14278   fi
14279 done
14280   done
14281 IFS=$as_save_IFS
14285 SPELLPROG=$ac_cv_prog_SPELLPROG
14286 if test -n "$SPELLPROG"; then
14287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14288 $as_echo "$SPELLPROG" >&6; }
14289 else
14290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14291 $as_echo "no" >&6; }
14295           if test -z "$SPELLPROG" ; then
14296            SPELLPROG="spell"
14297           fi
14298         fi
14299       fi
14300     
14304 if test "x$SPELLPROG" != "xno" ; then
14305   # Extract the first word of "$SPELLPROG", so it can be a program name with args.
14306 set dummy $SPELLPROG; ac_word=$2
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14308 $as_echo_n "checking for $ac_word... " >&6; }
14309 if ${ac_cv_path_alpine_simple_spellcheck+:} false; then :
14310   $as_echo_n "(cached) " >&6
14311 else
14312   case $alpine_simple_spellcheck in
14313   [\\/]* | ?:[\\/]*)
14314   ac_cv_path_alpine_simple_spellcheck="$alpine_simple_spellcheck" # Let the user override the test with a path.
14315   ;;
14316   *)
14317   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14318 for as_dir in $PATH
14320   IFS=$as_save_IFS
14321   test -z "$as_dir" && as_dir=.
14322     for ac_exec_ext in '' $ac_executable_extensions; do
14323   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14324     ac_cv_path_alpine_simple_spellcheck="$as_dir/$ac_word$ac_exec_ext"
14325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14326     break 2
14327   fi
14328 done
14329   done
14330 IFS=$as_save_IFS
14332   ;;
14333 esac
14335 alpine_simple_spellcheck=$ac_cv_path_alpine_simple_spellcheck
14336 if test -n "$alpine_simple_spellcheck"; then
14337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
14338 $as_echo "$alpine_simple_spellcheck" >&6; }
14339 else
14340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14341 $as_echo "no" >&6; }
14345   if test -n "$alpine_simple_spellcheck" ; then
14346     case "$SPELLPROG" in
14347       hunspell)
14348         alpine_simple_spellcheck="$alpine_simple_spellcheck -l"
14349         ;;
14350       aspell)
14351         alpine_simple_spellcheck="$alpine_simple_spellcheck --dont-backup --mode=email list"
14352         ;;
14353       ispell)
14354         alpine_simple_spellcheck="$alpine_simple_spellcheck -l"
14355         ;;
14356       *)
14357         ;;
14358     esac
14359   fi
14363 @%:@ Check whether --with-interactive-spellcheck was given.
14364 if test "${with_interactive_spellcheck+set}" = set; then :
14365   withval=$with_interactive_spellcheck; 
14366       if test "x$withval" != "xno" ; then
14367         ISPELLPROG=$withval
14368       fi
14369     
14370 else
14371   
14372       # Extract the first word of "hunspell", so it can be a program name with args.
14373 set dummy hunspell; ac_word=$2
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14375 $as_echo_n "checking for $ac_word... " >&6; }
14376 if ${ac_cv_prog_ISPELLPROG+:} false; then :
14377   $as_echo_n "(cached) " >&6
14378 else
14379   if test -n "$ISPELLPROG"; then
14380   ac_cv_prog_ISPELLPROG="$ISPELLPROG" # Let the user override the test.
14381 else
14382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14383 for as_dir in $PATH
14385   IFS=$as_save_IFS
14386   test -z "$as_dir" && as_dir=.
14387     for ac_exec_ext in '' $ac_executable_extensions; do
14388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14389     ac_cv_prog_ISPELLPROG="hunspell"
14390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14391     break 2
14392   fi
14393 done
14394   done
14395 IFS=$as_save_IFS
14399 ISPELLPROG=$ac_cv_prog_ISPELLPROG
14400 if test -n "$ISPELLPROG"; then
14401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14402 $as_echo "$ISPELLPROG" >&6; }
14403 else
14404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14405 $as_echo "no" >&6; }
14409       if test -z "$ISPELLPROG" ; then
14410         # Extract the first word of "aspell", so it can be a program name with args.
14411 set dummy aspell; ac_word=$2
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14413 $as_echo_n "checking for $ac_word... " >&6; }
14414 if ${ac_cv_prog_ISPELLPROG+:} false; then :
14415   $as_echo_n "(cached) " >&6
14416 else
14417   if test -n "$ISPELLPROG"; then
14418   ac_cv_prog_ISPELLPROG="$ISPELLPROG" # Let the user override the test.
14419 else
14420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14421 for as_dir in $PATH
14423   IFS=$as_save_IFS
14424   test -z "$as_dir" && as_dir=.
14425     for ac_exec_ext in '' $ac_executable_extensions; do
14426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14427     ac_cv_prog_ISPELLPROG="aspell"
14428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14429     break 2
14430   fi
14431 done
14432   done
14433 IFS=$as_save_IFS
14437 ISPELLPROG=$ac_cv_prog_ISPELLPROG
14438 if test -n "$ISPELLPROG"; then
14439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14440 $as_echo "$ISPELLPROG" >&6; }
14441 else
14442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14443 $as_echo "no" >&6; }
14447         if test -z "$SPELLPROG" ; then
14448           ISPELLPROG="ispell"
14449         fi
14450       fi
14451     
14455 if test "x$ISPELLPROG" != "xno" ; then
14456   # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
14457 set dummy $ISPELLPROG; ac_word=$2
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14459 $as_echo_n "checking for $ac_word... " >&6; }
14460 if ${ac_cv_path_alpine_interactive_spellcheck+:} false; then :
14461   $as_echo_n "(cached) " >&6
14462 else
14463   case $alpine_interactive_spellcheck in
14464   [\\/]* | ?:[\\/]*)
14465   ac_cv_path_alpine_interactive_spellcheck="$alpine_interactive_spellcheck" # Let the user override the test with a path.
14466   ;;
14467   *)
14468   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14469 for as_dir in $PATH
14471   IFS=$as_save_IFS
14472   test -z "$as_dir" && as_dir=.
14473     for ac_exec_ext in '' $ac_executable_extensions; do
14474   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14475     ac_cv_path_alpine_interactive_spellcheck="$as_dir/$ac_word$ac_exec_ext"
14476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14477     break 2
14478   fi
14479 done
14480   done
14481 IFS=$as_save_IFS
14483   ;;
14484 esac
14486 alpine_interactive_spellcheck=$ac_cv_path_alpine_interactive_spellcheck
14487 if test -n "$alpine_interactive_spellcheck"; then
14488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
14489 $as_echo "$alpine_interactive_spellcheck" >&6; }
14490 else
14491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14492 $as_echo "no" >&6; }
14496   if test -n "$alpine_interactive_spellcheck" ; then
14497     case "$ISPELLPROG" in
14498       aspell)
14499         alpine_interactive_spellcheck="$alpine_interactive_spellcheck --dont-backup --mode=email check"
14500         ;;
14501       *)
14502         ;;
14503     esac
14504   fi
14507 if test -n "$alpine_interactive_spellcheck" ; then
14508     
14509 cat >>confdefs.h <<_ACEOF
14510 @%:@define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
14511 _ACEOF
14515 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
14516   alpine_simple_spellcheck=test
14519 cat >>confdefs.h <<_ACEOF
14520 @%:@define SPELLER "$alpine_simple_spellcheck"
14521 _ACEOF
14524 case "$prefix" in
14525   NONE) dpv=/usr/local/lib/pine.conf ;;
14526   *) dpv=${prefix}/lib/pine.conf ;;
14527 esac
14529 @%:@ Check whether --with-system-pinerc was given.
14530 if test "${with_system_pinerc+set}" = set; then :
14531   withval=$with_system_pinerc; 
14532       case "$withval" in
14533         no)
14534           ;;
14535         yes)
14536           ;;
14537         *)
14538           dpv=$withval
14539           ;;
14540       esac
14541     
14545 cat >>confdefs.h <<_ACEOF
14546 @%:@define SYSTEM_PINERC "$dpv"
14547 _ACEOF
14550 case "$prefix" in
14551   NONE) dpv=/usr/local/lib/pine.conf.fixed ;;
14552   *) dpv=${prefix}/lib/pine.conf.fixed ;;
14553 esac
14555 @%:@ Check whether --with-system-fixed-pinerc was given.
14556 if test "${with_system_fixed_pinerc+set}" = set; then :
14557   withval=$with_system_fixed_pinerc; 
14558       case "$withval" in
14559         no)
14560           ;;
14561         yes)
14562           ;;
14563         *)
14564           dpv=$withval
14565           ;;
14566       esac
14567     
14571 cat >>confdefs.h <<_ACEOF
14572 @%:@define SYSTEM_PINERC_FIXED "$dpv"
14573 _ACEOF
14576 case "$prefix" in
14577   NONE) dpv=/usr/local/lib/pine.info ;;
14578   *) dpv=${prefix}/lib/pine.info ;;
14579 esac
14581 @%:@ Check whether --with-local-support-info was given.
14582 if test "${with_local_support_info+set}" = set; then :
14583   withval=$with_local_support_info; 
14584       case "$withval" in
14585         no)
14586           ;;
14587         yes)
14588           ;;
14589         *)
14590           dpv=$withval
14591           ;;
14592       esac
14593     
14597 cat >>confdefs.h <<_ACEOF
14598 @%:@define SYSTEM_PINE_INFO_PATH "$dpv"
14599 _ACEOF
14607     dpv=150
14608     
14609 @%:@ Check whether --with-mailcheck-interval was given.
14610 if test "${with_mailcheck_interval+set}" = set; then :
14611   withval=$with_mailcheck_interval; 
14612         if test "x$withval" != "xno" ; then
14613           dpv=$withval
14614         fi
14615       
14618     
14619 cat >>confdefs.h <<_ACEOF
14620 @%:@define DF_MAILCHECK "$dpv"
14621 _ACEOF
14623   
14625     dpv=420
14626     
14627 @%:@ Check whether --with-checkpoint-interval was given.
14628 if test "${with_checkpoint_interval+set}" = set; then :
14629   withval=$with_checkpoint_interval; 
14630         if test "x$withval" != "xno" ; then
14631           dpv=$withval
14632         fi
14633       
14636     
14637 cat >>confdefs.h <<_ACEOF
14638 @%:@define CHECK_POINT_TIME $dpv
14639 _ACEOF
14641   
14643     dpv=12
14644     
14645 @%:@ Check whether --with-checkpoint-frequency was given.
14646 if test "${with_checkpoint_frequency+set}" = set; then :
14647   withval=$with_checkpoint_frequency; 
14648         if test "x$withval" != "xno" ; then
14649           dpv=$withval
14650         fi
14651       
14654     
14655 cat >>confdefs.h <<_ACEOF
14656 @%:@define CHECK_POINT_FREQ $dpv
14657 _ACEOF
14659   
14661     dpv=24
14662     
14663 @%:@ Check whether --with-display-rows was given.
14664 if test "${with_display_rows+set}" = set; then :
14665   withval=$with_display_rows; 
14666         if test "x$withval" != "xno" ; then
14667           dpv=$withval
14668         fi
14669       
14672     
14673 cat >>confdefs.h <<_ACEOF
14674 @%:@define DEFAULT_LINES_ON_TERMINAL $dpv
14675 _ACEOF
14677   
14679     dpv=80
14680     
14681 @%:@ Check whether --with-display-columns was given.
14682 if test "${with_display_columns+set}" = set; then :
14683   withval=$with_display_columns; 
14684         if test "x$withval" != "xno" ; then
14685           dpv=$withval
14686         fi
14687       
14690     
14691 cat >>confdefs.h <<_ACEOF
14692 @%:@define DEFAULT_COLUMNS_ON_TERMINAL $dpv
14693 _ACEOF
14695   
14697     dpv=200
14698     
14699 @%:@ Check whether --with-max-display-rows was given.
14700 if test "${with_max_display_rows+set}" = set; then :
14701   withval=$with_max_display_rows; 
14702         if test "x$withval" != "xno" ; then
14703           dpv=$withval
14704         fi
14705       
14708     
14709 cat >>confdefs.h <<_ACEOF
14710 @%:@define MAX_SCREEN_ROWS $dpv
14711 _ACEOF
14713   
14715     dpv=500
14716     
14717 @%:@ Check whether --with-max-display-columns was given.
14718 if test "${with_max_display_columns+set}" = set; then :
14719   withval=$with_max_display_columns; 
14720         if test "x$withval" != "xno" ; then
14721           dpv=$withval
14722         fi
14723       
14726     
14727 cat >>confdefs.h <<_ACEOF
14728 @%:@define MAX_SCREEN_COLS $dpv
14729 _ACEOF
14731   
14733     dpv=74
14734     
14735 @%:@ Check whether --with-fill-column was given.
14736 if test "${with_fill_column+set}" = set; then :
14737   withval=$with_fill_column; 
14738         if test "x$withval" != "xno" ; then
14739           dpv=$withval
14740         fi
14741       
14744     
14745 cat >>confdefs.h <<_ACEOF
14746 @%:@define DF_FILLCOL "$dpv"
14747 _ACEOF
14749   
14751     dpv=80
14752     
14753 @%:@ Check whether --with-max_fill-column was given.
14754 if test "${with_max_fill_column+set}" = set; then :
14755   withval=$with_max_fill_column; 
14756         if test "x$withval" != "xno" ; then
14757           dpv=$withval
14758         fi
14759       
14762     
14763 cat >>confdefs.h <<_ACEOF
14764 @%:@define MAX_FILLCOL $dpv
14765 _ACEOF
14767   
14769     dpv=2
14770     
14771 @%:@ Check whether --with-debug-level was given.
14772 if test "${with_debug_level+set}" = set; then :
14773   withval=$with_debug_level; 
14774         if test "x$withval" != "xno" ; then
14775           dpv=$withval
14776         fi
14777       
14780     
14781 cat >>confdefs.h <<_ACEOF
14782 @%:@define DEFAULT_DEBUG $dpv
14783 _ACEOF
14785   
14787     dpv=4
14788     
14789 @%:@ Check whether --with-debug-files was given.
14790 if test "${with_debug_files+set}" = set; then :
14791   withval=$with_debug_files; 
14792         if test "x$withval" != "xno" ; then
14793           dpv=$withval
14794         fi
14795       
14798     
14799 cat >>confdefs.h <<_ACEOF
14800 @%:@define NUMDEBUGFILES $dpv
14801 _ACEOF
14803   
14805     dpv=.pine-debug
14806     
14807 @%:@ Check whether --with-debug-file was given.
14808 if test "${with_debug_file+set}" = set; then :
14809   withval=$with_debug_file; 
14810         if test "x$withval" != "xno" ; then
14811           dpv=$withval
14812         fi
14813       
14816     
14817 cat >>confdefs.h <<_ACEOF
14818 @%:@define DEBUGFILE "$dpv"
14819 _ACEOF
14821   
14823     dpv="\$Forwarded"
14824     
14825 @%:@ Check whether --with-forwarded-keyword was given.
14826 if test "${with_forwarded_keyword+set}" = set; then :
14827   withval=$with_forwarded_keyword; 
14828         if test "x$withval" != "xno" ; then
14829           dpv=$withval
14830         fi
14831       
14834     
14835 cat >>confdefs.h <<_ACEOF
14836 @%:@define FORWARDED_FLAG "$dpv"
14837 _ACEOF
14839   
14841     dpv=2
14842     
14843 @%:@ Check whether --with-display-overlap was given.
14844 if test "${with_display_overlap+set}" = set; then :
14845   withval=$with_display_overlap; 
14846         if test "x$withval" != "xno" ; then
14847           dpv=$withval
14848         fi
14849       
14852     
14853 cat >>confdefs.h <<_ACEOF
14854 @%:@define DF_OVERLAP "$dpv"
14855 _ACEOF
14857   
14859     dpv=0
14860     
14861 @%:@ Check whether --with-display-margin was given.
14862 if test "${with_display_margin+set}" = set; then :
14863   withval=$with_display_margin; 
14864         if test "x$withval" != "xno" ; then
14865           dpv=$withval
14866         fi
14867       
14870     
14871 cat >>confdefs.h <<_ACEOF
14872 @%:@define DF_MARGIN "$dpv"
14873 _ACEOF
14875   
14877     dpv=sent-mail
14878     
14879 @%:@ Check whether --with-default-fcc was given.
14880 if test "${with_default_fcc+set}" = set; then :
14881   withval=$with_default_fcc; 
14882         if test "x$withval" != "xno" ; then
14883           dpv=$withval
14884         fi
14885       
14888     
14889 cat >>confdefs.h <<_ACEOF
14890 @%:@define DF_DEFAULT_FCC "$dpv"
14891 _ACEOF
14893   
14895     dpv=saved-messages
14896     
14897 @%:@ Check whether --with-default-save-folder was given.
14898 if test "${with_default_save_folder+set}" = set; then :
14899   withval=$with_default_save_folder; 
14900         if test "x$withval" != "xno" ; then
14901           dpv=$withval
14902         fi
14903       
14906     
14907 cat >>confdefs.h <<_ACEOF
14908 @%:@define DEFAULT_SAVE "$dpv"
14909 _ACEOF
14911   
14913     dpv=postponed-mail
14914     
14915 @%:@ Check whether --with-default-legacy-postponed-folder was given.
14916 if test "${with_default_legacy_postponed_folder+set}" = set; then :
14917   withval=$with_default_legacy_postponed_folder; 
14918         if test "x$withval" != "xno" ; then
14919           dpv=$withval
14920         fi
14921       
14924     
14925 cat >>confdefs.h <<_ACEOF
14926 @%:@define POSTPONED_MAIL "$dpv"
14927 _ACEOF
14929   
14931     dpv=postponed-msgs
14932     
14933 @%:@ Check whether --with-default-postponed-folder was given.
14934 if test "${with_default_postponed_folder+set}" = set; then :
14935   withval=$with_default_postponed_folder; 
14936         if test "x$withval" != "xno" ; then
14937           dpv=$withval
14938         fi
14939       
14942     
14943 cat >>confdefs.h <<_ACEOF
14944 @%:@define POSTPONED_MSGS "$dpv"
14945 _ACEOF
14947   
14949     dpv=Trash
14950     
14951 @%:@ Check whether --with-default-trash-folder was given.
14952 if test "${with_default_trash_folder+set}" = set; then :
14953   withval=$with_default_trash_folder; 
14954         if test "x$withval" != "xno" ; then
14955           dpv=$withval
14956         fi
14957       
14960     
14961 cat >>confdefs.h <<_ACEOF
14962 @%:@define TRASH_FOLDER "$dpv"
14963 _ACEOF
14965   
14967     dpv=.pine-interrupted-mail
14968     
14969 @%:@ Check whether --with-default-interrupted-mail was given.
14970 if test "${with_default_interrupted_mail+set}" = set; then :
14971   withval=$with_default_interrupted_mail; 
14972         if test "x$withval" != "xno" ; then
14973           dpv=$withval
14974         fi
14975       
14978     
14979 cat >>confdefs.h <<_ACEOF
14980 @%:@define INTERRUPTED_MAIL "$dpv"
14981 _ACEOF
14983   
14985     dpv=dead.letter
14986     
14987 @%:@ Check whether --with-default-dead-letter-folder was given.
14988 if test "${with_default_dead_letter_folder+set}" = set; then :
14989   withval=$with_default_dead_letter_folder; 
14990         if test "x$withval" != "xno" ; then
14991           dpv=$withval
14992         fi
14993       
14996     
14997 cat >>confdefs.h <<_ACEOF
14998 @%:@define DEADLETTER "$dpv"
14999 _ACEOF
15001   
15003     dpv=mail
15004     
15005 @%:@ Check whether --with-default-mail-directory was given.
15006 if test "${with_default_mail_directory+set}" = set; then :
15007   withval=$with_default_mail_directory; 
15008         if test "x$withval" != "xno" ; then
15009           dpv=$withval
15010         fi
15011       
15014     
15015 cat >>confdefs.h <<_ACEOF
15016 @%:@define DF_MAIL_DIRECTORY "$dpv"
15017 _ACEOF
15019   
15021     dpv=INBOX
15022     
15023 @%:@ Check whether --with-default-inbox-name was given.
15024 if test "${with_default_inbox_name+set}" = set; then :
15025   withval=$with_default_inbox_name; 
15026         if test "x$withval" != "xno" ; then
15027           dpv=$withval
15028         fi
15029       
15032     
15033 cat >>confdefs.h <<_ACEOF
15034 @%:@define INBOX_NAME "$dpv"
15035 _ACEOF
15037   
15039     dpv=.signature
15040     
15041 @%:@ Check whether --with-default-signature-file was given.
15042 if test "${with_default_signature_file+set}" = set; then :
15043   withval=$with_default_signature_file; 
15044         if test "x$withval" != "xno" ; then
15045           dpv=$withval
15046         fi
15047       
15050     
15051 cat >>confdefs.h <<_ACEOF
15052 @%:@define DF_SIGNATURE_FILE "$dpv"
15053 _ACEOF
15055   
15057     dpv=no
15058     
15059 @%:@ Check whether --with-default-elm-style-save was given.
15060 if test "${with_default_elm_style_save+set}" = set; then :
15061   withval=$with_default_elm_style_save; 
15062         if test "x$withval" != "xno" ; then
15063           dpv=$withval
15064         fi
15065       
15068     
15069 cat >>confdefs.h <<_ACEOF
15070 @%:@define DF_ELM_STYLE_SAVE "$dpv"
15071 _ACEOF
15073   
15075     dpv=no
15076     
15077 @%:@ Check whether --with-default-header-in-reply was given.
15078 if test "${with_default_header_in_reply+set}" = set; then :
15079   withval=$with_default_header_in_reply; 
15080         if test "x$withval" != "xno" ; then
15081           dpv=$withval
15082         fi
15083       
15086     
15087 cat >>confdefs.h <<_ACEOF
15088 @%:@define DF_HEADER_IN_REPLY "$dpv"
15089 _ACEOF
15091   
15093     dpv=no
15094     
15095 @%:@ Check whether --with-default-old-style-reply was given.
15096 if test "${with_default_old_style_reply+set}" = set; then :
15097   withval=$with_default_old_style_reply; 
15098         if test "x$withval" != "xno" ; then
15099           dpv=$withval
15100         fi
15101       
15104     
15105 cat >>confdefs.h <<_ACEOF
15106 @%:@define DF_OLD_STYLE_REPLY "$dpv"
15107 _ACEOF
15109   
15111     dpv=no
15112     
15113 @%:@ Check whether --with-default-use-only-domain-name was given.
15114 if test "${with_default_use_only_domain_name+set}" = set; then :
15115   withval=$with_default_use_only_domain_name; 
15116         if test "x$withval" != "xno" ; then
15117           dpv=$withval
15118         fi
15119       
15122     
15123 cat >>confdefs.h <<_ACEOF
15124 @%:@define DF_USE_ONLY_DOMAIN_NAME "$dpv"
15125 _ACEOF
15127   
15129     dpv=no
15130     
15131 @%:@ Check whether --with-default-save-by-sender was given.
15132 if test "${with_default_save_by_sender+set}" = set; then :
15133   withval=$with_default_save_by_sender; 
15134         if test "x$withval" != "xno" ; then
15135           dpv=$withval
15136         fi
15137       
15140     
15141 cat >>confdefs.h <<_ACEOF
15142 @%:@define DF_SAVE_BY_SENDER "$dpv"
15143 _ACEOF
15145   
15147     dpv=arrival
15148     
15149 @%:@ Check whether --with-default-sort-key was given.
15150 if test "${with_default_sort_key+set}" = set; then :
15151   withval=$with_default_sort_key; 
15152         if test "x$withval" != "xno" ; then
15153           dpv=$withval
15154         fi
15155       
15158     
15159 cat >>confdefs.h <<_ACEOF
15160 @%:@define DF_SORT_KEY "$dpv"
15161 _ACEOF
15163   
15165     dpv=fullname-with-lists-last
15166     
15167 @%:@ Check whether --with-default-addressbook-sort-rule was given.
15168 if test "${with_default_addressbook_sort_rule+set}" = set; then :
15169   withval=$with_default_addressbook_sort_rule; 
15170         if test "x$withval" != "xno" ; then
15171           dpv=$withval
15172         fi
15173       
15176     
15177 cat >>confdefs.h <<_ACEOF
15178 @%:@define DF_AB_SORT_RULE "$dpv"
15179 _ACEOF
15181   
15183     dpv=alphabetical
15184     
15185 @%:@ Check whether --with-default-folder-sort-rule was given.
15186 if test "${with_default_folder_sort_rule+set}" = set; then :
15187   withval=$with_default_folder_sort_rule; 
15188         if test "x$withval" != "xno" ; then
15189           dpv=$withval
15190         fi
15191       
15194     
15195 cat >>confdefs.h <<_ACEOF
15196 @%:@define DF_FLD_SORT_RULE "$dpv"
15197 _ACEOF
15199   
15201     dpv=default-folder
15202     
15203 @%:@ Check whether --with-default-saved-message-name-rule was given.
15204 if test "${with_default_saved_message_name_rule+set}" = set; then :
15205   withval=$with_default_saved_message_name_rule; 
15206         if test "x$withval" != "xno" ; then
15207           dpv=$withval
15208         fi
15209       
15212     
15213 cat >>confdefs.h <<_ACEOF
15214 @%:@define DF_SAVED_MSG_NAME_RULE "$dpv"
15215 _ACEOF
15217   
15219     dpv=default-fcc
15220     
15221 @%:@ Check whether --with-default-fcc-rule was given.
15222 if test "${with_default_fcc_rule+set}" = set; then :
15223   withval=$with_default_fcc_rule; 
15224         if test "x$withval" != "xno" ; then
15225           dpv=$withval
15226         fi
15227       
15230     
15231 cat >>confdefs.h <<_ACEOF
15232 @%:@define DF_FCC_RULE "$dpv"
15233 _ACEOF
15235   
15237     dpv=lpr
15238     
15239 @%:@ Check whether --with-default-standard-printer was given.
15240 if test "${with_default_standard_printer+set}" = set; then :
15241   withval=$with_default_standard_printer; 
15242         if test "x$withval" != "xno" ; then
15243           dpv=$withval
15244         fi
15245       
15248     
15249 cat >>confdefs.h <<_ACEOF
15250 @%:@define DF_STANDARD_PRINTER "$dpv"
15251 _ACEOF
15253   
15255     dpv=attached-to-ansi
15256     
15257 @%:@ Check whether --with-default-ansi-printer was given.
15258 if test "${with_default_ansi_printer+set}" = set; then :
15259   withval=$with_default_ansi_printer; 
15260         if test "x$withval" != "xno" ; then
15261           dpv=$withval
15262         fi
15263       
15266     
15267 cat >>confdefs.h <<_ACEOF
15268 @%:@define ANSI_PRINTER "$dpv"
15269 _ACEOF
15271   
15273     dpv=.addressbook
15274     
15275 @%:@ Check whether --with-default-addressbook was given.
15276 if test "${with_default_addressbook+set}" = set; then :
15277   withval=$with_default_addressbook; 
15278         if test "x$withval" != "xno" ; then
15279           dpv=$withval
15280         fi
15281       
15284     
15285 cat >>confdefs.h <<_ACEOF
15286 @%:@define DF_ADDRESSBOOK "$dpv"
15287 _ACEOF
15289   
15291     dpv="Local Support"
15292     
15293 @%:@ Check whether --with-default-local-fullname was given.
15294 if test "${with_default_local_fullname+set}" = set; then :
15295   withval=$with_default_local_fullname; 
15296         if test "x$withval" != "xno" ; then
15297           dpv=$withval
15298         fi
15299       
15302     
15303 cat >>confdefs.h <<_ACEOF
15304 @%:@define DF_LOCAL_FULLNAME "$dpv"
15305 _ACEOF
15307   
15309     dpv=postmaster
15310     
15311 @%:@ Check whether --with-default-local-address was given.
15312 if test "${with_default_local_address+set}" = set; then :
15313   withval=$with_default_local_address; 
15314         if test "x$withval" != "xno" ; then
15315           dpv=$withval
15316         fi
15317       
15320     
15321 cat >>confdefs.h <<_ACEOF
15322 @%:@define DF_LOCAL_ADDRESS "$dpv"
15323 _ACEOF
15325   
15327     dpv=1
15328     
15329 @%:@ Check whether --with-default-keyboard-lock-count was given.
15330 if test "${with_default_keyboard_lock_count+set}" = set; then :
15331   withval=$with_default_keyboard_lock_count; 
15332         if test "x$withval" != "xno" ; then
15333           dpv=$withval
15334         fi
15335       
15338     
15339 cat >>confdefs.h <<_ACEOF
15340 @%:@define DF_KBLOCK_PASSWD_COUNT "$dpv"
15341 _ACEOF
15343   
15345     dpv=3
15346     
15347 @%:@ Check whether --with-default-remote-addressbook-history was given.
15348 if test "${with_default_remote_addressbook_history+set}" = set; then :
15349   withval=$with_default_remote_addressbook_history; 
15350         if test "x$withval" != "xno" ; then
15351           dpv=$withval
15352         fi
15353       
15356     
15357 cat >>confdefs.h <<_ACEOF
15358 @%:@define DF_REMOTE_ABOOK_HISTORY "$dpv"
15359 _ACEOF
15361   
15363     dpv=.alpine-smime/public
15364     
15365 @%:@ Check whether --with-smime-public-cert-directory was given.
15366 if test "${with_smime_public_cert_directory+set}" = set; then :
15367   withval=$with_smime_public_cert_directory; 
15368         if test "x$withval" != "xno" ; then
15369           dpv=$withval
15370         fi
15371       
15374     
15375 cat >>confdefs.h <<_ACEOF
15376 @%:@define DF_PUBLICCERT_DIR "$dpv"
15377 _ACEOF
15379   
15381     dpv=.alpine-smime/private
15382     
15383 @%:@ Check whether --with-smime-private-key-directory was given.
15384 if test "${with_smime_private_key_directory+set}" = set; then :
15385   withval=$with_smime_private_key_directory; 
15386         if test "x$withval" != "xno" ; then
15387           dpv=$withval
15388         fi
15389       
15392     
15393 cat >>confdefs.h <<_ACEOF
15394 @%:@define DF_PRIVATEKEY_DIR "$dpv"
15395 _ACEOF
15397   
15399     dpv=.alpine-smime/ca
15400     
15401 @%:@ Check whether --with-smime-cacert-directory was given.
15402 if test "${with_smime_cacert_directory+set}" = set; then :
15403   withval=$with_smime_cacert_directory; 
15404         if test "x$withval" != "xno" ; then
15405           dpv=$withval
15406         fi
15407       
15410     
15411 cat >>confdefs.h <<_ACEOF
15412 @%:@define DF_CACERT_DIR "$dpv"
15413 _ACEOF
15415   
15417     dpv=ANSI_PRINTER
15418     
15419 @%:@ Check whether --with-default-printer was given.
15420 if test "${with_default_printer+set}" = set; then :
15421   withval=$with_default_printer; 
15422         if test "x$withval" != "xno" ; then
15423           dpv=$withval
15424         fi
15425       
15428     
15429 cat >>confdefs.h <<_ACEOF
15430 @%:@define DF_DEFAULT_PRINTER $dpv
15431 _ACEOF
15433   
15436 @%:@ Check whether --with-passfile was given.
15437 if test "${with_passfile+set}" = set; then :
15438   withval=$with_passfile; 
15439       case "$withval" in
15440         no)
15441           ;;
15442         yes)
15443           ;;
15444         *)
15445           alpine_PASSFILE=$withval
15446           ;;
15447       esac
15448     
15453 @%:@ Check whether --with-local-password-cache was given.
15454 if test "${with_local_password_cache+set}" = set; then :
15455   withval=$with_local_password_cache; 
15456      alpine_os_credential_cache=$withval
15457    
15462 @%:@ Check whether --with-local-password-cache-method was given.
15463 if test "${with_local_password_cache_method+set}" = set; then :
15464   withval=$with_local_password_cache_method; 
15465      alpine_os_credential_cache_method=$withval
15466    
15470 if test -n "$alpine_PASSFILE" ; then
15471   case $alpine_os_credential_cache in
15472     no)
15473       ;;
15474     *)
15475       alpine_os_credential_cache="no"
15476       { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
15477 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
15478       ;;
15479   esac
15480   
15481 cat >>confdefs.h <<_ACEOF
15482 @%:@define PASSFILE "$alpine_PASSFILE"
15483 _ACEOF
15488 @%:@ Check whether --with-default-sshpath was given.
15489 if test "${with_default_sshpath+set}" = set; then :
15490   withval=$with_default_sshpath; 
15491       case "$withval" in
15492         no)
15493           ;;
15494         yes)
15495           ;;
15496         *)
15497           
15498 cat >>confdefs.h <<_ACEOF
15499 @%:@define DF_SSHPATH "$withval"
15500 _ACEOF
15502           ;;
15503       esac
15504     
15509 @%:@ Check whether --with-default-sshcmd was given.
15510 if test "${with_default_sshcmd+set}" = set; then :
15511   withval=$with_default_sshcmd; 
15512       case "$withval" in
15513         no)
15514           ;;
15515         yes)
15516           ;;
15517         *)
15518           
15519 cat >>confdefs.h <<_ACEOF
15520 @%:@define DF_SSHCMD "$withval"
15521 _ACEOF
15523           ;;
15524       esac
15525     
15530 @%:@ Check whether --with-ssl was given.
15531 if test "${with_ssl+set}" = set; then :
15532   withval=$with_ssl;  with_ssl=$withval 
15536 if test "x$with_ssl" = "xno" ; then
15537   alpine_SSLTYPE="none"
15538 else
15539     case $host in
15540     *-linux-gnu*)
15541       if test -f /etc/fedora-release -o -f /etc/redhat-release -o -f /etc/redhat_version ; then  
15542         alpine_SSLTYPE="nopwd"
15543         if test -d /etc/pki/tls ; then  
15544           alpine_SSLDIR="/etc/pki/tls"
15545         else
15546           alpine_SSLDIR="/usr/share/ssl"
15547         fi
15548         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15549         alpine_SSLKEYS="$alpine_SSLDIR/private"
15550         alpine_SSLINCLUDE="/usr/include/openssl" 
15551         alpine_SSLLIB="/usr/lib"
15552       elif test -f /etc/mandrake-release ; then
15553         alpine_SSLDIR="/usr/lib/ssl"
15554         alpine_SSLCERTS="$alpine_SSLDIR/certs" 
15555         alpine_SSLKEYS="$alpine_SSLDIR/private"
15556         alpine_SSLINCLUDE="/usr/include/openssl" 
15557         alpine_SSLLIB="/usr/lib"
15558       elif test -f /etc/SuSE-release ; then
15559         alpine_SSLTYPE="nopwd"
15560         alpine_SSLDIR="/etc/ssl"
15561         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15562         alpine_SSLKEYS="$alpine_SSLDIR/private"
15563         alpine_SSLINCLUDE="/usr/include/openssl" 
15564         alpine_SSLLIB="/usr/lib"
15565       elif test -d /etc/osso-af-init ; then
15566         alpine_SSLTYPE="nopwd"
15567         alpine_SSLDIR="/usr"
15568         alpine_SSLCERTS="/usr/share/certs"
15569         alpine_SSLINCLUDE="/usr/include/openssl"
15570         alpine_SSLLIB="/usr/lib"
15571       elif test -f /etc/debian_release -o -f /etc/debian_version ; then
15572         if test ! -d /etc/osso-af-init ; then
15573            alpine_SSLDIR="/etc/ssl"
15574            alpine_SSLCERTS="$alpine_SSLDIR/certs"
15575            alpine_SSLKEYS="$alpine_SSLDIR/private"
15576            alpine_SSLINCLUDE="/usr/include/openssl" 
15577            alpine_SSLLIB="/usr/lib"
15578         fi
15579       else
15580         alpine_SSLTYPE="nopwd"
15581         alpine_SSLDIR="/usr"
15582         alpine_SSLCERTS="/etc/ssl/certs"
15583       fi
15584       ;;
15585     *-apple-darwin*)
15586       alpine_SSLTYPE="nopwd"
15587       if test -d /opt/local/etc/openssl ; then
15588         alpine_SSLDIR="/opt/local/etc/openssl"
15589         alpine_SSLCERTS="$alpine_SSLDIR"
15590         alpine_SSLKEYS="$alpine_SSLDIR"
15591         alpine_SSLLIB="/usr/lib"
15592         alpine_SSLINCLUDE="/usr/include/openssl"
15593       elif test -d /System/Library/OpenSSL ; then
15594         alpine_SSLDIR="/System/Library/OpenSSL"
15595         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15596         alpine_SSLKEYS="$alpine_SSLDIR/private"
15597         alpine_SSLLIB="/usr/lib"
15598         alpine_SSLINCLUDE="/usr/include/openssl"
15599       fi
15600       ;;
15601     *-*-netbsd*)
15602         alpine_SSLDIR="/etc/openssl"
15603         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15604         alpine_SSLKEYS="$alpine_SSLDIR/private"
15605         alpine_SSLINCLUDE="/usr/include/openssl"
15606         alpine_SSLLIB="/usr/lib"
15607       ;;
15608     *-*-dragonfly*)
15609         alpine_SSLDIR="/etc/openssl"
15610         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15611         alpine_SSLKEYS="$alpine_SSLDIR/private"
15612         alpine_SSLINCLUDE="/usr/include/openssl"
15613         alpine_SSLLIB="/usr/lib"
15614       ;;
15615     *-openbsd*)
15616         alpine_SSLTYPE="nopwd"
15617         alpine_SSLDIR="/usr"
15618         alpine_SSLCERTS="/etc/ssl/certs"
15619       ;;
15620     *-*-freebsd*)
15621         alpine_SSLDIR="/etc/ssl"
15622         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15623         alpine_SSLKEYS="$alpine_SSLDIR/private"
15624         alpine_SSLINCLUDE="/usr/include/openssl" 
15625         alpine_SSLLIB="/usr/lib"
15626       ;;
15627     *-*-openbsd*)
15628         alpine_SSLDIR="/etc/ssl"
15629         alpine_SSLINCLUDE="/usr/include/openssl"
15630         alpine_SSLLIB="/usr/lib"
15631         alpine_SSLCERTS="/etc/ssl" 
15632         alpine_SSLKEYS="/etc/ssl/private"
15633       ;;
15634     *-*-cygwin)
15635         alpine_SSLDIR="/usr/ssl"
15636         alpine_SSLCERTS="$alpine_SSLDIR/certs" 
15637         alpine_SSLKEYS="$alpine_SSLDIR/certs"
15638         alpine_SSLINCLUDE="/usr/include/openssl" 
15639         alpine_SSLLIB="/usr/lib"
15640       ;;
15641     *-sco-sysv* | *-sysv*UnixWare | *-sysv*OpenUNIX)
15642         alpine_SSLTYPE="sco.nopwd"
15643         alpine_SSLDIR="/usr/local/ssl"
15644       ;;
15645     *-*-solaris*)
15646       if test -d /usr/sfw/include/openssl ; then
15647         alpine_SSLDIR="/usr/sfw"
15648       elif test -d /opt/csw/include/openssl ; then
15649         alpine_SSLDIR="/opt/csw"
15650         if test -d /opt/csw/ssl/certs ; then
15651           alpine_SSLCERTS="/opt/csw/ssl/certs"
15652         fi
15653       fi
15654       if test -z "$alpine_SSLCERTS" -a -d /etc/certs ; then
15655         alpine_SSLCERTS="/etc/certs"
15656       fi
15657       ;;
15658     *)
15659       alpine_SSLTYPE="nopwd"
15660       alpine_SSLDIR="/usr/local/ssl"
15661       ;;
15662   esac
15664   
15665 @%:@ Check whether --with-ssl-dir was given.
15666 if test "${with_ssl_dir+set}" = set; then :
15667   withval=$with_ssl_dir; 
15668       if test "x$withval" != "xno" ; then
15669         alpine_SSLDIR=$withval
15670         alpine_SSLINCLUDE=$alpine_SSLDIR/include
15671         alpine_SSLLIB=$alpine_SSLDIR/lib
15672       fi
15673     
15677   
15678 @%:@ Check whether --with-ssl-certs-dir was given.
15679 if test "${with_ssl_certs_dir+set}" = set; then :
15680   withval=$with_ssl_certs_dir; 
15681       if test "x$withval" != "xno" ; then
15682         alpine_SSLCERTS=$withval
15683       fi
15684     
15688   
15689 @%:@ Check whether --with-ssl-include-dir was given.
15690 if test "${with_ssl_include_dir+set}" = set; then :
15691   withval=$with_ssl_include_dir; 
15692       if test "x$withval" != "xno" ; then
15693         alpine_SSLINCLUDE=$withval
15694       fi
15695     
15699   
15700 @%:@ Check whether --with-ssl-lib-dir was given.
15701 if test "${with_ssl_lib_dir+set}" = set; then :
15702   withval=$with_ssl_lib_dir; 
15703       if test "x$withval" != "xno" ; then
15704         alpine_SSLLIB=$withval
15705       fi
15706     
15709     if test -n "$alpine_SSLINCLUDE" ; then
15710     CPPFLAGS="-I$alpine_SSLINCLUDE $CPPFLAGS"
15711   elif test -n "$alpine_SSLDIR" ; then
15712     CPPFLAGS="-I${alpine_SSLDIR}/include $CPPFLAGS"
15713   fi
15714   if test -n "$alpine_SSLLIB" ; then
15715     LDFLAGS="-L$alpine_SSLLIB $LDFLAGS"
15716   elif test -n "$alpine_SSLDIR" ; then
15717     LDFLAGS="-L${alpine_SSLDIR}/lib $LDFLAGS"
15718   fi
15722 @%:@ Check whether --with-krb5 was given.
15723 if test "${with_krb5+set}" = set; then :
15724   withval=$with_krb5;  with_krb5=$withval 
15728 if test "x$with_krb5" = "xno" ; then
15729   alpine_GSSTYPE="none"
15730 else
15731   alpine_GSSTYPE=
15733   
15734 @%:@ Check whether --with-krb5-dir was given.
15735 if test "${with_krb5_dir+set}" = set; then :
15736   withval=$with_krb5_dir; 
15737       if test "x$withval" != "xno" ; then
15738         CPPFLAGS="$CPPFLAGS -I${withval}/include"
15739         LDFLAGS="$LDFLAGS -L${withval}/lib"
15740       fi
15741     
15745   
15746 @%:@ Check whether --with-krb5-include-dir was given.
15747 if test "${with_krb5_include_dir+set}" = set; then :
15748   withval=$with_krb5_include_dir; 
15749       if test "x$withval" != "xno" ; then
15750         CPPFLAGS="$CPPFLAGS -I$withval"
15751       fi
15752     
15756   
15757 @%:@ Check whether --with-krb5-lib-dir was given.
15758 if test "${with_krb5_lib_dir+set}" = set; then :
15759   withval=$with_krb5_lib_dir; 
15760       if test "x$withval" != "xno" ; then
15761         LDFLAGS="$LDFLAGS -L$withval"
15762       fi
15763     
15769 @%:@ Check whether --with-ldap was given.
15770 if test "${with_ldap+set}" = set; then :
15771   withval=$with_ldap;  with_ldap=$withval 
15775 if test "x$with_ldap" = "xno" ; then
15776   alpine_with_ldap=
15777   { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
15778 $as_echo "$as_me: Excluding LDAP Support" >&6;}
15779 else
15780   
15781   alpine_with_ldap=yes
15782   
15783 @%:@ Check whether --with-ldap-dir was given.
15784 if test "${with_ldap_dir+set}" = set; then :
15785   withval=$with_ldap_dir; 
15786       if test "x$withval" != "xno" ; then 
15787         CPPFLAGS="$CPPFLAGS -I${withval}/include"
15788         LDFLAGS="$LDFLAGS -L${withval}/lib"
15789       fi
15790     
15794   
15795 @%:@ Check whether --with-ldap-include-dir was given.
15796 if test "${with_ldap_include_dir+set}" = set; then :
15797   withval=$with_ldap_include_dir; 
15798       if test "x$withval" != "xno" ; then
15799         CPPFLAGS="$CPPFLAGS -I$withval"
15800       fi
15801     
15805   
15806 @%:@ Check whether --with-ldap-lib-dir was given.
15807 if test "${with_ldap_lib_dir+set}" = set; then :
15808   withval=$with_ldap_lib_dir; 
15809       if test "x$withval" != "xno" ; then
15810         LDFLAGS="$LDFLAGS -L$withval"
15811       fi
15812     
15818 @%:@ Check whether --with-smime was given.
15819 if test "${with_smime+set}" = set; then :
15820   withval=$with_smime;  with_smime=$withval 
15825 @%:@ Check whether --with-tcl was given.
15826 if test "${with_tcl+set}" = set; then :
15827   withval=$with_tcl;  with_tcl=$withval 
15831 if test "x$with_tcl" = "xno" ; then
15832   WEB_BUILD=
15833   { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
15834 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
15835 else
15836   
15837 @%:@ Check whether --with-tcl-lib was given.
15838 if test "${with_tcl_lib+set}" = set; then :
15839   withval=$with_tcl_lib; 
15840       if test "x$withval" != "xno" ; then 
15841         alpine_TCLLIB=$withval
15842       fi
15843     
15846   
15847 @%:@ Check whether --with-tcl-include was given.
15848 if test "${with_tcl_include+set}" = set; then :
15849   withval=$with_tcl_include; 
15850       if test "x$withval" != "xno" ; then
15851         CPPFLAGS="$CPPFLAGS -I$withval"
15852         alpine_TCLINC=$withval
15853       fi
15854     
15860 @%:@ Check whether --with-supplied-regex was given.
15861 if test "${with_supplied_regex+set}" = set; then :
15862   withval=$with_supplied_regex;  alpine_REGEX=$withval 
15867 @%:@ Check whether --with-pthread was given.
15868 if test "${with_pthread+set}" = set; then :
15869   withval=$with_pthread;  with_pthread=$withval 
15874 @%:@ Check whether --with-system-mail-directory was given.
15875 if test "${with_system_mail_directory+set}" = set; then :
15876   withval=$with_system_mail_directory; 
15877     if test "x$withval" != "xno" ; then
15878       alpine_with_local_maildir="$withval"
15879     fi
15880   
15885 @%:@ Check whether --with-c-client-target was given.
15886 if test "${with_c_client_target+set}" = set; then :
15887   withval=$with_c_client_target; 
15888     if test "x$withval" != "xno" ;then
15889       alpine_with_c_client_target="$withval"
15890     fi
15891   
15896 alpine_PAM="none"
15898 case "$host" in
15899   *-linux-gnu*|*-k*bsd*-gnu*)
15900     alpine_path_delim="/"
15901     alpine_mode_readonly="(0600)"
15902     if test -f /etc/fedora-release ; then  
15903       systype="LFD"
15904       alpine_PAM="yes"
15905       if test -d /etc/pki/tls ; then  
15906         alpine_c_client_target="lfd"
15907       else
15908         alpine_c_client_target="lrh"
15909       fi
15910     elif test -f /etc/mandrake-release ; then
15911       systype="LMD"
15912       alpine_c_client_target="lmd"
15913       alpine_PAM="yes"
15914     elif test -f /etc/redhat-release -o -f /etc/redhat_version ; then
15915       systype="LRH"
15916       alpine_PAM="yes"
15917       if test -d /etc/pki/tls ; then  
15918         alpine_c_client_target="lr5"
15919       else
15920         alpine_c_client_target="lrh"
15921       fi
15922     elif test -f /etc/debian_release -o -f /etc/debian_version ; then
15923       if test -d /etc/osso-af-init ; then
15924         systype="LN8"
15925         alpine_c_client_target="ln8"
15926       else
15927         systype="DEB"
15928         alpine_c_client_target="ldb"
15929         alpine_PAM="yes"
15930       fi
15931     elif test -f /etc/SuSE-release ; then
15932       systype="LSU"
15933       alpine_c_client_target="lsu"
15934       alpine_PAM="yes"
15935     else
15936       systype="LNX"
15937       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
15938 $as_echo_n "checking for pam_start in -lpam... " >&6; }
15939 if ${ac_cv_lib_pam_pam_start+:} false; then :
15940   $as_echo_n "(cached) " >&6
15941 else
15942   ac_check_lib_save_LIBS=$LIBS
15943 LIBS="-lpam  $LIBS"
15944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15945 /* end confdefs.h.  */
15947 /* Override any GCC internal prototype to avoid an error.
15948    Use char because int might match the return type of a GCC
15949    builtin and then its argument prototype would still apply.  */
15950 #ifdef __cplusplus
15951 extern "C"
15952 #endif
15953 char pam_start ();
15955 main ()
15957 return pam_start ();
15958   ;
15959   return 0;
15961 _ACEOF
15962 if ac_fn_c_try_link "$LINENO"; then :
15963   ac_cv_lib_pam_pam_start=yes
15964 else
15965   ac_cv_lib_pam_pam_start=no
15967 rm -f core conftest.err conftest.$ac_objext \
15968     conftest$ac_exeext conftest.$ac_ext
15969 LIBS=$ac_check_lib_save_LIBS
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
15972 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
15973 if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
15974   
15975           alpine_c_client_target="lnp"
15976           alpine_PAM="yes"
15977         
15978 else
15979   
15980           if test -f /etc/shadow ; then
15981             alpine_c_client_target="slx"
15982           else
15983             alpine_c_client_target="lnx"
15984           fi
15985         
15988     fi
15989     ;;
15990   *-apple-darwin*)
15991     systype="OSX"
15992     alpine_path_delim="/"
15993     alpine_mode_readonly="(0600)"
15994     LIBS="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
15995     AM_CFLAGS="$AM_CFLAGS -Dbsd"
15996         
15997 $as_echo "@%:@define OSX_TARGET 1" >>confdefs.h
15999     case "$alpine_os_credential_cache" in
16000       no)
16001         ;;
16002       *)
16003         
16004 $as_echo "@%:@define APPLEKEYCHAIN 1" >>confdefs.h
16006         ;;
16007     esac
16008     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
16009 $as_echo_n "checking for pam_start in -lpam... " >&6; }
16010 if ${ac_cv_lib_pam_pam_start+:} false; then :
16011   $as_echo_n "(cached) " >&6
16012 else
16013   ac_check_lib_save_LIBS=$LIBS
16014 LIBS="-lpam  $LIBS"
16015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h.  */
16018 /* Override any GCC internal prototype to avoid an error.
16019    Use char because int might match the return type of a GCC
16020    builtin and then its argument prototype would still apply.  */
16021 #ifdef __cplusplus
16022 extern "C"
16023 #endif
16024 char pam_start ();
16026 main ()
16028 return pam_start ();
16029   ;
16030   return 0;
16032 _ACEOF
16033 if ac_fn_c_try_link "$LINENO"; then :
16034   ac_cv_lib_pam_pam_start=yes
16035 else
16036   ac_cv_lib_pam_pam_start=no
16038 rm -f core conftest.err conftest.$ac_objext \
16039     conftest$ac_exeext conftest.$ac_ext
16040 LIBS=$ac_check_lib_save_LIBS
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
16043 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
16044 if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
16045   
16046         ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
16047 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
16048   
16049           alpine_PAM="yes"
16050           alpine_c_client_target="oxs"
16051         
16052 else
16053         ac_fn_c_check_header_mongrel "$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
16054 if test "x$ac_cv_header_pam_pam_appl_h" = xyes; then :
16055   
16056                    alpine_PAM="yes"
16057                    alpine_c_client_target="oxp" 
16058                 
16059 else
16060   
16061                   alpine_PAM="none"
16062                   alpine_pam_none_reason="header files not found"
16063                 
16067         
16071       
16072 else
16073   
16074         alpine_c_client_target="osx"
16075       
16078     ;;
16079   *-*-solaris*)
16080     if test x$GCC = "xyes" ; then
16081       systype="GSO"
16082       alpine_c_client_target="gso"
16083     else
16084       systype="SOC"
16085       alpine_c_client_target="soc"
16086       
16087 $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
16089     fi
16090     alpine_path_delim="/"
16091     alpine_mode_readonly="(0600)"
16092             ;;
16093   *-*-sunos4*)
16094     systype="SUN"
16095     alpine_path_delim="/"
16096     alpine_mode_readonly="(0600)"
16097     alpine_c_client_target="s40"
16098     ;;
16099   *-*-sco3.2v5*)
16100     if test x$GCC = "xyes" ; then
16101       systype="GO5"
16102       alpine_c_client_target="go5"
16103     else
16104       systype="SC5"
16105       alpine_c_client_target="sc5"
16106     fi
16107     alpine_path_delim="/"
16108     alpine_mode_readonly="(0600)"
16109             ;;
16110   *-next-*)
16111     systype="NXT"
16112     alpine_path_delim="/"
16113     alpine_mode_readonly="(0600)"
16114     alpine_c_client_target="nx3"
16115     ;;
16116   *-*-netbsd*)
16117     systype="NEB"
16118     alpine_path_delim="/"
16119     alpine_mode_readonly="(0600)"
16120     alpine_c_client_target="neb"
16121     ;;
16122   *-*-dragonfly*)
16123     systype="DFB"
16124     alpine_path_delim="/"
16125     alpine_mode_readonly="(0600)"
16126     alpine_c_client_target="neb"
16127     ;;
16128   *-*-bsdi*)
16129     systype="BSI"
16130     alpine_path_delim="/"
16131     alpine_mode_readonly="(0600)"
16132     alpine_c_client_target="bsi"
16133     ;;
16134   *-*-freebsd*)
16135     systype="BSF"
16136     alpine_path_delim="/"
16137     alpine_mode_readonly="(0600)"
16138     alpine_c_client_target="bsf"
16139     LIBS="$LIBS $LIBINTL"
16140     ;;
16141   *-*-openbsd*)
16142     systype="BSO"
16143     alpine_path_delim="/"
16144     alpine_mode_readonly="(0600)"
16145     alpine_c_client_target="bso"
16146     LIBS="$LIBS $LIBINTL"
16147     ;;
16148   *-*-aix5*)
16149     systype="A52"
16150     alpine_path_delim="/"
16151     alpine_mode_readonly="(0600)"
16152     alpine_c_client_target="a52"
16153     ;;
16154   *-*-aix4*)
16155     systype="A41"
16156     alpine_path_delim="/"
16157     alpine_mode_readonly="(0600)"
16158     alpine_c_client_target="a41"
16159     ;;
16160   *-*-aix3*)
16161     systype="A32"
16162     alpine_path_delim="/"
16163     alpine_mode_readonly="(0600)"
16164     alpine_c_client_target="a32"
16165     ;;
16166   *-*UNIX_SV | *-*-sysv5UnixWare7* | *-*OpenUNIX*)
16167     systype="UW2"
16168     alpine_path_delim="/"
16169     alpine_mode_readonly="(0600)"
16170     alpine_c_client_target="uw2"
16171     ;;
16172   *-*-osf5*)
16173     systype="OSF"
16174     alpine_path_delim="/"
16175     alpine_mode_readonly="(0600)"
16176     alpine_c_client_target="osf"
16177     ;;
16178   *-*-cygwin)
16179     systype="CYG"
16180     alpine_path_delim="/"
16181     alpine_mode_readonly="(S_IREAD | S_IWRITE)"
16182     alpine_c_client_target="cyg"
16183     LIBS="$LIBS $LIBINTL"
16184     ;;
16185   windows* | *-*-pw32*)
16186     systype="WNT"
16187     alpine_path_delim="\\"
16188     alpine_mode_readonly="(S_IREAD | S_IWRITE)"
16189     alpine_c_client_target="wnt"
16190     
16191 $as_echo "@%:@define _WINDOWS 1" >>confdefs.h
16193     ;;
16194   *)
16195     as_fn_error $? "Unrecognized system: $host" "$LINENO" 5
16196     ;;
16197 esac
16200 @%:@ Check whether --with-ipv6 was given.
16201 if test "${with_ipv6+set}" = set; then :
16202   withval=$with_ipv6;  with_ipv6=$withval 
16206 if test "x$with_ipv6" = "xno" ; then
16207   { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
16208 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
16209   c_client_specials="${c_client_specials}IP6=4 "
16210   c_client_ip6="true"
16211 else
16212   c_client_ip6="touch imap/ip6"
16217 if test x$enable_dmalloc = "xyes" ; then
16218   if test "x$with_pthread" = "xyes" ; then
16219     dmalloc_lib=dmallocth
16220   else
16221     dmalloc_lib=dmalloc
16222   fi
16224   as_ac_Lib=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
16226 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
16227 if eval \${$as_ac_Lib+:} false; then :
16228   $as_echo_n "(cached) " >&6
16229 else
16230   ac_check_lib_save_LIBS=$LIBS
16231 LIBS="-l$dmalloc_lib  $LIBS"
16232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16233 /* end confdefs.h.  */
16235 /* Override any GCC internal prototype to avoid an error.
16236    Use char because int might match the return type of a GCC
16237    builtin and then its argument prototype would still apply.  */
16238 #ifdef __cplusplus
16239 extern "C"
16240 #endif
16241 char dmalloc_shutdown ();
16243 main ()
16245 return dmalloc_shutdown ();
16246   ;
16247   return 0;
16249 _ACEOF
16250 if ac_fn_c_try_link "$LINENO"; then :
16251   eval "$as_ac_Lib=yes"
16252 else
16253   eval "$as_ac_Lib=no"
16255 rm -f core conftest.err conftest.$ac_objext \
16256     conftest$ac_exeext conftest.$ac_ext
16257 LIBS=$ac_check_lib_save_LIBS
16259 eval ac_res=\$$as_ac_Lib
16260                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16261 $as_echo "$ac_res" >&6; }
16262 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16263   cat >>confdefs.h <<_ACEOF
16264 @%:@define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
16265 _ACEOF
16267   LIBS="-l$dmalloc_lib $LIBS"
16269 else
16270   
16271       as_fn_error but -ldmalloc not found "$dmalloc_lib requested" "$LINENO" 5
16272     
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
16278 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
16279 if ${ac_cv_lib_tinfo_setupterm+:} false; then :
16280   $as_echo_n "(cached) " >&6
16281 else
16282   ac_check_lib_save_LIBS=$LIBS
16283 LIBS="-ltinfo  $LIBS"
16284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16285 /* end confdefs.h.  */
16287 /* Override any GCC internal prototype to avoid an error.
16288    Use char because int might match the return type of a GCC
16289    builtin and then its argument prototype would still apply.  */
16290 #ifdef __cplusplus
16291 extern "C"
16292 #endif
16293 char setupterm ();
16295 main ()
16297 return setupterm ();
16298   ;
16299   return 0;
16301 _ACEOF
16302 if ac_fn_c_try_link "$LINENO"; then :
16303   ac_cv_lib_tinfo_setupterm=yes
16304 else
16305   ac_cv_lib_tinfo_setupterm=no
16307 rm -f core conftest.err conftest.$ac_objext \
16308     conftest$ac_exeext conftest.$ac_ext
16309 LIBS=$ac_check_lib_save_LIBS
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
16312 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
16313 if test "x$ac_cv_lib_tinfo_setupterm" = xyes; then :
16314   
16315     alpine_termdata=info
16316     LIBS="$LIBS -ltinfo"
16317   
16318 else
16319   
16320     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
16321 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
16322 if ${ac_cv_lib_ncurses_setupterm+:} false; then :
16323   $as_echo_n "(cached) " >&6
16324 else
16325   ac_check_lib_save_LIBS=$LIBS
16326 LIBS="-lncurses  $LIBS"
16327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h.  */
16330 /* Override any GCC internal prototype to avoid an error.
16331    Use char because int might match the return type of a GCC
16332    builtin and then its argument prototype would still apply.  */
16333 #ifdef __cplusplus
16334 extern "C"
16335 #endif
16336 char setupterm ();
16338 main ()
16340 return setupterm ();
16341   ;
16342   return 0;
16344 _ACEOF
16345 if ac_fn_c_try_link "$LINENO"; then :
16346   ac_cv_lib_ncurses_setupterm=yes
16347 else
16348   ac_cv_lib_ncurses_setupterm=no
16350 rm -f core conftest.err conftest.$ac_objext \
16351     conftest$ac_exeext conftest.$ac_ext
16352 LIBS=$ac_check_lib_save_LIBS
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
16355 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
16356 if test "x$ac_cv_lib_ncurses_setupterm" = xyes; then :
16357   
16358         alpine_termdata=info
16359         LIBS="$LIBS -lncurses"
16360       
16361 else
16362   
16363         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
16364 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
16365 if ${ac_cv_lib_curses_setupterm+:} false; then :
16366   $as_echo_n "(cached) " >&6
16367 else
16368   ac_check_lib_save_LIBS=$LIBS
16369 LIBS="-lcurses  $LIBS"
16370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h.  */
16373 /* Override any GCC internal prototype to avoid an error.
16374    Use char because int might match the return type of a GCC
16375    builtin and then its argument prototype would still apply.  */
16376 #ifdef __cplusplus
16377 extern "C"
16378 #endif
16379 char setupterm ();
16381 main ()
16383 return setupterm ();
16384   ;
16385   return 0;
16387 _ACEOF
16388 if ac_fn_c_try_link "$LINENO"; then :
16389   ac_cv_lib_curses_setupterm=yes
16390 else
16391   ac_cv_lib_curses_setupterm=no
16393 rm -f core conftest.err conftest.$ac_objext \
16394     conftest$ac_exeext conftest.$ac_ext
16395 LIBS=$ac_check_lib_save_LIBS
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
16398 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
16399 if test "x$ac_cv_lib_curses_setupterm" = xyes; then :
16400   
16401             alpine_termdata=info
16402             LIBS="$LIBS -lcurses"
16403           
16404 else
16405   
16406             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
16407 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
16408 if ${ac_cv_lib_termlib_tgetent+:} false; then :
16409   $as_echo_n "(cached) " >&6
16410 else
16411   ac_check_lib_save_LIBS=$LIBS
16412 LIBS="-ltermlib  $LIBS"
16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h.  */
16416 /* Override any GCC internal prototype to avoid an error.
16417    Use char because int might match the return type of a GCC
16418    builtin and then its argument prototype would still apply.  */
16419 #ifdef __cplusplus
16420 extern "C"
16421 #endif
16422 char tgetent ();
16424 main ()
16426 return tgetent ();
16427   ;
16428   return 0;
16430 _ACEOF
16431 if ac_fn_c_try_link "$LINENO"; then :
16432   ac_cv_lib_termlib_tgetent=yes
16433 else
16434   ac_cv_lib_termlib_tgetent=no
16436 rm -f core conftest.err conftest.$ac_objext \
16437     conftest$ac_exeext conftest.$ac_ext
16438 LIBS=$ac_check_lib_save_LIBS
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
16441 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
16442 if test "x$ac_cv_lib_termlib_tgetent" = xyes; then :
16443   
16444                 alpine_termdata=cap
16445                 LIBS="$LIBS -ltermlib"
16446               
16447 else
16448   
16449                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
16450 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
16451 if ${ac_cv_lib_termcap_tgetent+:} false; then :
16452   $as_echo_n "(cached) " >&6
16453 else
16454   ac_check_lib_save_LIBS=$LIBS
16455 LIBS="-ltermcap  $LIBS"
16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h.  */
16459 /* Override any GCC internal prototype to avoid an error.
16460    Use char because int might match the return type of a GCC
16461    builtin and then its argument prototype would still apply.  */
16462 #ifdef __cplusplus
16463 extern "C"
16464 #endif
16465 char tgetent ();
16467 main ()
16469 return tgetent ();
16470   ;
16471   return 0;
16473 _ACEOF
16474 if ac_fn_c_try_link "$LINENO"; then :
16475   ac_cv_lib_termcap_tgetent=yes
16476 else
16477   ac_cv_lib_termcap_tgetent=no
16479 rm -f core conftest.err conftest.$ac_objext \
16480     conftest$ac_exeext conftest.$ac_ext
16481 LIBS=$ac_check_lib_save_LIBS
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
16484 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
16485 if test "x$ac_cv_lib_termcap_tgetent" = xyes; then :
16486   
16487                     alpine_termdata=cap
16488                     LIBS="$LIBS -ltermcap"
16489                   
16490 else
16491   
16492                     as_fn_error $? "Terminfo/termcap not found" "$LINENO" 5
16493                   
16496               
16499           
16502       
16505   
16508 case $alpine_termdata in
16509   info)
16510     
16511 $as_echo "@%:@define HAS_TERMINFO 1" >>confdefs.h
16513     ;;
16514   cap)
16515     
16516 $as_echo "@%:@define HAS_TERMCAP 1" >>confdefs.h
16518     ;;
16519 esac
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16522 $as_echo_n "checking for library containing dlopen... " >&6; }
16523 if ${ac_cv_search_dlopen+:} false; then :
16524   $as_echo_n "(cached) " >&6
16525 else
16526   ac_func_search_save_LIBS=$LIBS
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h.  */
16530 /* Override any GCC internal prototype to avoid an error.
16531    Use char because int might match the return type of a GCC
16532    builtin and then its argument prototype would still apply.  */
16533 #ifdef __cplusplus
16534 extern "C"
16535 #endif
16536 char dlopen ();
16538 main ()
16540 return dlopen ();
16541   ;
16542   return 0;
16544 _ACEOF
16545 for ac_lib in '' dl dld; do
16546   if test -z "$ac_lib"; then
16547     ac_res="none required"
16548   else
16549     ac_res=-l$ac_lib
16550     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16551   fi
16552   if ac_fn_c_try_link "$LINENO"; then :
16553   ac_cv_search_dlopen=$ac_res
16555 rm -f core conftest.err conftest.$ac_objext \
16556     conftest$ac_exeext
16557   if ${ac_cv_search_dlopen+:} false; then :
16558   break
16560 done
16561 if ${ac_cv_search_dlopen+:} false; then :
16562   
16563 else
16564   ac_cv_search_dlopen=no
16566 rm conftest.$ac_ext
16567 LIBS=$ac_func_search_save_LIBS
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16570 $as_echo "$ac_cv_search_dlopen" >&6; }
16571 ac_res=$ac_cv_search_dlopen
16572 if test "$ac_res" != no; then :
16573   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16574   
16575 else
16576    alpine_DL="none" 
16579 if test "x$alpine_DL" = "xnone" ; then
16580     as_fn_error $? "No library containing dlopen found" "$LINENO" 5
16581     exit 1      
16584 if test "x$alpine_SSLTYPE" != "xnone" ; then
16585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
16586 $as_echo_n "checking for library containing SSLeay... " >&6; }
16587 if ${ac_cv_search_SSLeay+:} false; then :
16588   $as_echo_n "(cached) " >&6
16589 else
16590   ac_func_search_save_LIBS=$LIBS
16591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h.  */
16594 /* Override any GCC internal prototype to avoid an error.
16595    Use char because int might match the return type of a GCC
16596    builtin and then its argument prototype would still apply.  */
16597 #ifdef __cplusplus
16598 extern "C"
16599 #endif
16600 char SSLeay ();
16602 main ()
16604 return SSLeay ();
16605   ;
16606   return 0;
16608 _ACEOF
16609 for ac_lib in '' crypto; do
16610   if test -z "$ac_lib"; then
16611     ac_res="none required"
16612   else
16613     ac_res=-l$ac_lib
16614     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16615   fi
16616   if ac_fn_c_try_link "$LINENO"; then :
16617   ac_cv_search_SSLeay=$ac_res
16619 rm -f core conftest.err conftest.$ac_objext \
16620     conftest$ac_exeext
16621   if ${ac_cv_search_SSLeay+:} false; then :
16622   break
16624 done
16625 if ${ac_cv_search_SSLeay+:} false; then :
16626   
16627 else
16628   ac_cv_search_SSLeay=no
16630 rm conftest.$ac_ext
16631 LIBS=$ac_func_search_save_LIBS
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
16634 $as_echo "$ac_cv_search_SSLeay" >&6; }
16635 ac_res=$ac_cv_search_SSLeay
16636 if test "$ac_res" != no; then :
16637   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16638   
16639 else
16640    alpine_CRYPTO="none" 
16643   if test "x$alpine_CRYPTO" = "xnone" ; then
16644      as_fn_error $? "crypto library NOT found" "$LINENO" 5
16645      exit 1
16646   fi
16649 if test "x$alpine_SSLTYPE" != "xnone" ; then
16650    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
16651 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
16652 if ${ac_cv_search_SSL_library_init+:} false; then :
16653   $as_echo_n "(cached) " >&6
16654 else
16655   ac_func_search_save_LIBS=$LIBS
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h.  */
16659 /* Override any GCC internal prototype to avoid an error.
16660    Use char because int might match the return type of a GCC
16661    builtin and then its argument prototype would still apply.  */
16662 #ifdef __cplusplus
16663 extern "C"
16664 #endif
16665 char SSL_library_init ();
16667 main ()
16669 return SSL_library_init ();
16670   ;
16671   return 0;
16673 _ACEOF
16674 for ac_lib in '' ssl; do
16675   if test -z "$ac_lib"; then
16676     ac_res="none required"
16677   else
16678     ac_res=-l$ac_lib
16679     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16680   fi
16681   if ac_fn_c_try_link "$LINENO"; then :
16682   ac_cv_search_SSL_library_init=$ac_res
16684 rm -f core conftest.err conftest.$ac_objext \
16685     conftest$ac_exeext
16686   if ${ac_cv_search_SSL_library_init+:} false; then :
16687   break
16689 done
16690 if ${ac_cv_search_SSL_library_init+:} false; then :
16691   
16692 else
16693   ac_cv_search_SSL_library_init=no
16695 rm conftest.$ac_ext
16696 LIBS=$ac_func_search_save_LIBS
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
16699 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
16700 ac_res=$ac_cv_search_SSL_library_init
16701 if test "$ac_res" != no; then :
16702   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16703   
16704 else
16705    alpine_SSLTYPE="none" 
16709   if test "x$alpine_SSLTYPE" = "xnone" ; then
16710      as_fn_error $? "No library containing SSL_library_init found in your path" "$LINENO" 5
16711      exit 1
16712   fi
16714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
16715 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
16716   if test "$cross_compiling" = yes; then :
16717   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16719 as_fn_error $? "cannot run test program while cross compiling
16720 See \`config.log' for more details" "$LINENO" 5; }
16721 else
16722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h.  */
16725 #include <stdio.h>
16726 #include <stdlib.h>
16727 #include <openssl/ssl.h>
16728 int main(void) {
16730         if (OPENSSL_VERSION_NUMBER >= 0x1000003f)
16731                 exit(0);
16733         exit(2);
16735         
16736 _ACEOF
16737 if ac_fn_c_try_run "$LINENO"; then :
16738    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16739 $as_echo "yes" >&6; } 
16740 else
16741    alpine_SSLTYPE="none" 
16743 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16744   conftest.$ac_objext conftest.beam conftest.$ac_ext
16748     if test "x$alpine_SSLTYPE" = "xnone" ; then
16749         as_fn_error $? "Install openssl version >= 1.0.0c" "$LINENO" 5
16750         exit 1
16751     fi
16752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
16753 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
16754 if ${ac_cv_search_TLSv1_2_client_method+:} false; then :
16755   $as_echo_n "(cached) " >&6
16756 else
16757   ac_func_search_save_LIBS=$LIBS
16758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16759 /* end confdefs.h.  */
16761 /* Override any GCC internal prototype to avoid an error.
16762    Use char because int might match the return type of a GCC
16763    builtin and then its argument prototype would still apply.  */
16764 #ifdef __cplusplus
16765 extern "C"
16766 #endif
16767 char TLSv1_2_client_method ();
16769 main ()
16771 return TLSv1_2_client_method ();
16772   ;
16773   return 0;
16775 _ACEOF
16776 for ac_lib in '' ssl; do
16777   if test -z "$ac_lib"; then
16778     ac_res="none required"
16779   else
16780     ac_res=-l$ac_lib
16781     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16782   fi
16783   if ac_fn_c_try_link "$LINENO"; then :
16784   ac_cv_search_TLSv1_2_client_method=$ac_res
16786 rm -f core conftest.err conftest.$ac_objext \
16787     conftest$ac_exeext
16788   if ${ac_cv_search_TLSv1_2_client_method+:} false; then :
16789   break
16791 done
16792 if ${ac_cv_search_TLSv1_2_client_method+:} false; then :
16793   
16794 else
16795   ac_cv_search_TLSv1_2_client_method=no
16797 rm conftest.$ac_ext
16798 LIBS=$ac_func_search_save_LIBS
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
16801 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
16802 ac_res=$ac_cv_search_TLSv1_2_client_method
16803 if test "$ac_res" != no; then :
16804   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16805    alpine_c_client_cflags="$alpine_c_client_cflags -DTLSV1_2"
16806           
16807 $as_echo "@%:@define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
16809         
16814 if test "$alpine_with_ldap" = "yes" ; then
16815   alpine_has_ldap=
16816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
16817 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
16818 if ${ac_cv_lib_lber_ber_alloc+:} false; then :
16819   $as_echo_n "(cached) " >&6
16820 else
16821   ac_check_lib_save_LIBS=$LIBS
16822 LIBS="-llber  $LIBS"
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h.  */
16826 /* Override any GCC internal prototype to avoid an error.
16827    Use char because int might match the return type of a GCC
16828    builtin and then its argument prototype would still apply.  */
16829 #ifdef __cplusplus
16830 extern "C"
16831 #endif
16832 char ber_alloc ();
16834 main ()
16836 return ber_alloc ();
16837   ;
16838   return 0;
16840 _ACEOF
16841 if ac_fn_c_try_link "$LINENO"; then :
16842   ac_cv_lib_lber_ber_alloc=yes
16843 else
16844   ac_cv_lib_lber_ber_alloc=no
16846 rm -f core conftest.err conftest.$ac_objext \
16847     conftest$ac_exeext conftest.$ac_ext
16848 LIBS=$ac_check_lib_save_LIBS
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
16851 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
16852 if test "x$ac_cv_lib_lber_ber_alloc" = xyes; then :
16853   
16854       LIBS="$LIBS -llber"
16855     
16858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_init" >&5
16859 $as_echo_n "checking for library containing ldap_init... " >&6; }
16860 if ${ac_cv_search_ldap_init+:} false; then :
16861   $as_echo_n "(cached) " >&6
16862 else
16863   ac_func_search_save_LIBS=$LIBS
16864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h.  */
16867 /* Override any GCC internal prototype to avoid an error.
16868    Use char because int might match the return type of a GCC
16869    builtin and then its argument prototype would still apply.  */
16870 #ifdef __cplusplus
16871 extern "C"
16872 #endif
16873 char ldap_init ();
16875 main ()
16877 return ldap_init ();
16878   ;
16879   return 0;
16881 _ACEOF
16882 for ac_lib in '' ldap; do
16883   if test -z "$ac_lib"; then
16884     ac_res="none required"
16885   else
16886     ac_res=-l$ac_lib
16887     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16888   fi
16889   if ac_fn_c_try_link "$LINENO"; then :
16890   ac_cv_search_ldap_init=$ac_res
16892 rm -f core conftest.err conftest.$ac_objext \
16893     conftest$ac_exeext
16894   if ${ac_cv_search_ldap_init+:} false; then :
16895   break
16897 done
16898 if ${ac_cv_search_ldap_init+:} false; then :
16899   
16900 else
16901   ac_cv_search_ldap_init=no
16903 rm conftest.$ac_ext
16904 LIBS=$ac_func_search_save_LIBS
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_init" >&5
16907 $as_echo "$ac_cv_search_ldap_init" >&6; }
16908 ac_res=$ac_cv_search_ldap_init
16909 if test "$ac_res" != no; then :
16910   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16911   
16912       alpine_has_ldap=yes
16913     
16914 else
16915   
16916       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
16917 $as_echo_n "checking for library containing ldap_open... " >&6; }
16918 if ${ac_cv_search_ldap_open+:} false; then :
16919   $as_echo_n "(cached) " >&6
16920 else
16921   ac_func_search_save_LIBS=$LIBS
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h.  */
16925 /* Override any GCC internal prototype to avoid an error.
16926    Use char because int might match the return type of a GCC
16927    builtin and then its argument prototype would still apply.  */
16928 #ifdef __cplusplus
16929 extern "C"
16930 #endif
16931 char ldap_open ();
16933 main ()
16935 return ldap_open ();
16936   ;
16937   return 0;
16939 _ACEOF
16940 for ac_lib in '' ldap; do
16941   if test -z "$ac_lib"; then
16942     ac_res="none required"
16943   else
16944     ac_res=-l$ac_lib
16945     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16946   fi
16947   if ac_fn_c_try_link "$LINENO"; then :
16948   ac_cv_search_ldap_open=$ac_res
16950 rm -f core conftest.err conftest.$ac_objext \
16951     conftest$ac_exeext
16952   if ${ac_cv_search_ldap_open+:} false; then :
16953   break
16955 done
16956 if ${ac_cv_search_ldap_open+:} false; then :
16957   
16958 else
16959   ac_cv_search_ldap_open=no
16961 rm conftest.$ac_ext
16962 LIBS=$ac_func_search_save_LIBS
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
16965 $as_echo "$ac_cv_search_ldap_open" >&6; }
16966 ac_res=$ac_cv_search_ldap_open
16967 if test "$ac_res" != no; then :
16968   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16969   
16970           alpine_has_ldap=yes
16971         
16974     
16978   if test "$alpine_has_ldap" = "yes" ; then
16979     { $as_echo "$as_me:${as_lineno-$LINENO}: Including LDAP Support" >&5
16980 $as_echo "$as_me: Including LDAP Support" >&6;}
16981     
16982 $as_echo "@%:@define ENABLE_LDAP /**/" >>confdefs.h
16985             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should define LDAP_DEPRECATED" >&5
16986 $as_echo_n "checking if we should define LDAP_DEPRECATED... " >&6; }
16987     if test "$cross_compiling" = yes; then :
16988   
16989                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
16990 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
16991         
16992     
16993 else
16994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h.  */
16997 #include <stdio.h>
16998 #include <stdlib.h>
16999 #include <ldap.h>
17000 int main(void) {
17002         if (LDAP_VENDOR_VERSION >= 20300)
17003                 exit(0);
17005         exit(2);
17007         
17008 _ACEOF
17009 if ac_fn_c_try_run "$LINENO"; then :
17010   
17011                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17012 $as_echo "yes" >&6; }
17013                 
17014 $as_echo "@%:@define LDAP_DEPRECATED 1" >>confdefs.h
17017         
17018 else
17019   
17020                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17021 $as_echo "no" >&6; }
17022         
17024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17025   conftest.$ac_objext conftest.beam conftest.$ac_ext
17029   else
17030     { $as_echo "$as_me:${as_lineno-$LINENO}: Cannot find LDAP functions!  Excluding LDAP support." >&5
17031 $as_echo "$as_me: Cannot find LDAP functions!  Excluding LDAP support." >&6;}
17032   fi
17035 if test "x$alpine_PAM" != "xnone" ; then
17036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
17037 $as_echo_n "checking for library containing pam_start... " >&6; }
17038 if ${ac_cv_search_pam_start+:} false; then :
17039   $as_echo_n "(cached) " >&6
17040 else
17041   ac_func_search_save_LIBS=$LIBS
17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h.  */
17045 /* Override any GCC internal prototype to avoid an error.
17046    Use char because int might match the return type of a GCC
17047    builtin and then its argument prototype would still apply.  */
17048 #ifdef __cplusplus
17049 extern "C"
17050 #endif
17051 char pam_start ();
17053 main ()
17055 return pam_start ();
17056   ;
17057   return 0;
17059 _ACEOF
17060 for ac_lib in '' pam; do
17061   if test -z "$ac_lib"; then
17062     ac_res="none required"
17063   else
17064     ac_res=-l$ac_lib
17065     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17066   fi
17067   if ac_fn_c_try_link "$LINENO"; then :
17068   ac_cv_search_pam_start=$ac_res
17070 rm -f core conftest.err conftest.$ac_objext \
17071     conftest$ac_exeext
17072   if ${ac_cv_search_pam_start+:} false; then :
17073   break
17075 done
17076 if ${ac_cv_search_pam_start+:} false; then :
17077   
17078 else
17079   ac_cv_search_pam_start=no
17081 rm conftest.$ac_ext
17082 LIBS=$ac_func_search_save_LIBS
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
17085 $as_echo "$ac_cv_search_pam_start" >&6; }
17086 ac_res=$ac_cv_search_pam_start
17087 if test "$ac_res" != no; then :
17088   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17089   
17090         LIBS="$LIBS -lpam"
17091         ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17092 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
17093   
17094           alpine_PAM="yes"
17095         
17096 else
17097          ac_fn_c_check_header_mongrel "$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
17098 if test "x$ac_cv_header_pam_pam_appl_h" = xyes; then :
17099   
17100                 alpine_PAM="yes"
17101                 if test "x$alpine_c_client_target" != "xoxp" ; then
17102                    alpine_PAM="none"
17103                    alpine_pam_none_reason="header files not in security/ directory"
17104                 fi
17105           
17106 else
17107   
17108                 alpine_PAM="none"
17109                 alpine_pam_none_reason="header files not found"
17110           
17114         
17118       
17119 else
17120   
17121         alpine_PAM="none"
17122         alpine_pam_none_reason="library files not found"
17123       
17126     if test -n "$alpine_pam_none_reason" ; then
17127       as_fn_error $? "No PAM support: $alpine_pam_none_reason" "$LINENO" 5
17128   fi
17132 if test "x$alpine_GSSTYPE" != "xnone" ; then
17133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
17134 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
17135 if ${ac_cv_search_gss_init_sec_context+:} false; then :
17136   $as_echo_n "(cached) " >&6
17137 else
17138   ac_func_search_save_LIBS=$LIBS
17139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h.  */
17142 /* Override any GCC internal prototype to avoid an error.
17143    Use char because int might match the return type of a GCC
17144    builtin and then its argument prototype would still apply.  */
17145 #ifdef __cplusplus
17146 extern "C"
17147 #endif
17148 char gss_init_sec_context ();
17150 main ()
17152 return gss_init_sec_context ();
17153   ;
17154   return 0;
17156 _ACEOF
17157 for ac_lib in '' gss gssapi gssapi_krb5; do
17158   if test -z "$ac_lib"; then
17159     ac_res="none required"
17160   else
17161     ac_res=-l$ac_lib
17162     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17163   fi
17164   if ac_fn_c_try_link "$LINENO"; then :
17165   ac_cv_search_gss_init_sec_context=$ac_res
17167 rm -f core conftest.err conftest.$ac_objext \
17168     conftest$ac_exeext
17169   if ${ac_cv_search_gss_init_sec_context+:} false; then :
17170   break
17172 done
17173 if ${ac_cv_search_gss_init_sec_context+:} false; then :
17174   
17175 else
17176   ac_cv_search_gss_init_sec_context=no
17178 rm conftest.$ac_ext
17179 LIBS=$ac_func_search_save_LIBS
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
17182 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
17183 ac_res=$ac_cv_search_gss_init_sec_context
17184 if test "$ac_res" != no; then :
17185   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17186   
17187             LIBS="$LIBS -lkrb5"
17188       ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
17189 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes; then :
17190   
17191 else
17192   
17193           if test ! -d /usr/kerberos/include ; then
17194             alpine_GSSTYPE="none"
17195             alpine_gss_none_reason="header files not found"
17196           fi
17197         
17201     
17202 else
17203   
17204       alpine_GSSTYPE="none"
17205       alpine_gss_none_reason="libraries not found"
17206     
17209   if test -n "$alpine_gss_none_reason" ; then
17210     { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
17211 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
17212   fi
17215 if test -n "$WEB_BUILD" ; then
17216 TCL_VERSIONS_DOT="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
17217 TCL_VERSIONS_NODOT="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
17218 TCL_VERSIONS="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
17219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
17220 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
17221 if ${ac_cv_search_Tcl_Eval+:} false; then :
17222   $as_echo_n "(cached) " >&6
17223 else
17224   ac_func_search_save_LIBS=$LIBS
17225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h.  */
17228 /* Override any GCC internal prototype to avoid an error.
17229    Use char because int might match the return type of a GCC
17230    builtin and then its argument prototype would still apply.  */
17231 #ifdef __cplusplus
17232 extern "C"
17233 #endif
17234 char Tcl_Eval ();
17236 main ()
17238 return Tcl_Eval ();
17239   ;
17240   return 0;
17242 _ACEOF
17243 for ac_lib in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
17244   if test -z "$ac_lib"; then
17245     ac_res="none required"
17246   else
17247     ac_res=-l$ac_lib
17248     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17249   fi
17250   if ac_fn_c_try_link "$LINENO"; then :
17251   ac_cv_search_Tcl_Eval=$ac_res
17253 rm -f core conftest.err conftest.$ac_objext \
17254     conftest$ac_exeext
17255   if ${ac_cv_search_Tcl_Eval+:} false; then :
17256   break
17258 done
17259 if ${ac_cv_search_Tcl_Eval+:} false; then :
17260   
17261 else
17262   ac_cv_search_Tcl_Eval=no
17264 rm conftest.$ac_ext
17265 LIBS=$ac_func_search_save_LIBS
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
17268 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
17269 ac_res=$ac_cv_search_Tcl_Eval
17270 if test "$ac_res" != no; then :
17271   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17272   
17273 else
17274   
17275       WEB_BUILD=
17276     
17280     if test -n "$alpine_TCLINC" ; then
17281     as_ac_Header=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
17282 ac_fn_c_check_header_mongrel "$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
17283 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17284   
17285 else
17286   
17287         WEB_BUILD=
17288       
17292     if test -z "$WEB_BUILD" ; then
17293       { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
17294 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
17295     fi
17296   else
17297     ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
17298 if test "x$ac_cv_header_tcl_h" = xyes; then :
17299   
17300 else
17301   
17302         for base in /usr /usr/local ; do
17303          for dir in ${TCL_VERSIONS} ; do
17304           as_ac_File=`$as_echo "ac_cv_file_$base/include/$dir/tcl.h" | $as_tr_sh`
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $base/include/$dir/tcl.h" >&5
17306 $as_echo_n "checking for $base/include/$dir/tcl.h... " >&6; }
17307 if eval \${$as_ac_File+:} false; then :
17308   $as_echo_n "(cached) " >&6
17309 else
17310   test "$cross_compiling" = yes &&
17311   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17312 if test -r "$base/include/$dir/tcl.h"; then
17313   eval "$as_ac_File=yes"
17314 else
17315   eval "$as_ac_File=no"
17318 eval ac_res=\$$as_ac_File
17319                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17320 $as_echo "$ac_res" >&6; }
17321 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
17322   
17323               found=yes
17324             
17327           if test "$found" = "yes" ; then
17328             CPPFLAGS="$CPPFLAGS -I$base/include/$dir"
17329             break
17330           fi
17331          done
17332          if test "$found" = "yes" ; then
17333             break
17334          fi
17335         done
17336         if test "$found" != "yes" ; then
17337             WEB_BUILD=
17338             { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
17339 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
17340         fi
17341       
17345   fi
17348 if test "x$alpine_REGEX" != "xyes" ; then
17349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
17350 $as_echo_n "checking for library containing regcomp... " >&6; }
17351 if ${ac_cv_search_regcomp+:} false; then :
17352   $as_echo_n "(cached) " >&6
17353 else
17354   ac_func_search_save_LIBS=$LIBS
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h.  */
17358 /* Override any GCC internal prototype to avoid an error.
17359    Use char because int might match the return type of a GCC
17360    builtin and then its argument prototype would still apply.  */
17361 #ifdef __cplusplus
17362 extern "C"
17363 #endif
17364 char regcomp ();
17366 main ()
17368 return regcomp ();
17369   ;
17370   return 0;
17372 _ACEOF
17373 for ac_lib in '' posix regexp regex re; do
17374   if test -z "$ac_lib"; then
17375     ac_res="none required"
17376   else
17377     ac_res=-l$ac_lib
17378     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17379   fi
17380   if ac_fn_c_try_link "$LINENO"; then :
17381   ac_cv_search_regcomp=$ac_res
17383 rm -f core conftest.err conftest.$ac_objext \
17384     conftest$ac_exeext
17385   if ${ac_cv_search_regcomp+:} false; then :
17386   break
17388 done
17389 if ${ac_cv_search_regcomp+:} false; then :
17390   
17391 else
17392   ac_cv_search_regcomp=no
17394 rm conftest.$ac_ext
17395 LIBS=$ac_func_search_save_LIBS
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
17398 $as_echo "$ac_cv_search_regcomp" >&6; }
17399 ac_res=$ac_cv_search_regcomp
17400 if test "$ac_res" != no; then :
17401   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17402   
17403 else
17404   
17405       if test x$alpine_REGEX = "xno" ; then
17406         as_fn_error $? "Unable to find system regex library" "$LINENO" 5
17407       else
17408         alpine_REGEX=yes
17409       fi
17410     
17414 if test "x$alpine_REGEX" != "xyes" ; then
17415   ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
17416 if test "x$ac_cv_header_regex_h" = xyes; then :
17417   
17418 else
17419   
17420       if test x$alpine_REGEX = "xno" ; then
17421         as_fn_error $? "Unable to find system regex include file" "$LINENO" 5
17422       else
17423         alpine_REGEX=yes
17424       fi
17425     
17431 $as_echo "@%:@define HAVE_REGEX_H 1" >>confdefs.h
17433 if test "x$alpine_REGEX" = "xyes" ; then
17434   CPPFLAGS="$CPPFLAGS -I${top_builddir}/regex"
17435   LDFLAGS="$LDFLAGS -L${top_builddir}/regex -lregex"
17436   REGEX_BUILD=regex
17437   REGEX_MAKEFILE="$REGEX_BUILD/Makefile"
17440 if test "x$with_pthread" != "xno" ; then
17441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
17442 $as_echo_n "checking for pthread support... " >&6; }
17443   
17446 ac_ext=c
17447 ac_cpp='$CPP $CPPFLAGS'
17448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17452 acx_pthread_ok=no
17454 # We used to check for pthread.h first, but this fails if pthread.h
17455 # requires special compiler flags (e.g. on True64 or Sequent).
17456 # It gets checked for in the link test anyway.
17458 # First of all, check if the user has set any of the PTHREAD_LIBS,
17459 # etcetera environment variables, and if threads linking works using
17460 # them:
17461 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17462         save_CFLAGS="$CFLAGS"
17463         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17464         save_LIBS="$LIBS"
17465         LIBS="$PTHREAD_LIBS $LIBS"
17466         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17467 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17468         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h.  */
17471 /* Override any GCC internal prototype to avoid an error.
17472    Use char because int might match the return type of a GCC
17473    builtin and then its argument prototype would still apply.  */
17474 #ifdef __cplusplus
17475 extern "C"
17476 #endif
17477 char pthread_join ();
17479 main ()
17481 return pthread_join ();
17482   ;
17483   return 0;
17485 _ACEOF
17486 if ac_fn_c_try_link "$LINENO"; then :
17487   acx_pthread_ok=yes
17489 rm -f core conftest.err conftest.$ac_objext \
17490     conftest$ac_exeext conftest.$ac_ext
17491         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17492 $as_echo "$acx_pthread_ok" >&6; }
17493         if test x"$acx_pthread_ok" = xno; then
17494                 PTHREAD_LIBS=""
17495                 PTHREAD_CFLAGS=""
17496         fi
17497         LIBS="$save_LIBS"
17498         CFLAGS="$save_CFLAGS"
17501 # We must check for the threads library under a number of different
17502 # names; the ordering is very important because some systems
17503 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17504 # libraries is broken (non-POSIX).
17506 # Create a list of thread flags to try.  Items starting with a "-" are
17507 # C compiler flags, and other items are library names, except for "none"
17508 # which indicates that we try without any flags at all, and "pthread-config"
17509 # which is a program returning the flags for the Pth emulation library.
17511 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17513 # The ordering *is* (sometimes) important.  Some notes on the
17514 # individual items follow:
17516 # pthreads: AIX (must check this before -lpthread)
17517 # none: in case threads are in libc; should be tried before -Kthread and
17518 #       other compiler flags to prevent continual compiler warnings
17519 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17520 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17521 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17522 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17523 # -pthreads: Solaris/gcc
17524 # -mthreads: Mingw32/gcc, Lynx/gcc
17525 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17526 #      doesn't hurt to check since this sometimes defines pthreads too;
17527 #      also defines -D_REENTRANT)
17528 #      ... -mt is also the pthreads flag for HP/aCC
17529 # pthread: Linux, etcetera
17530 # --thread-safe: KAI C++
17531 # pthread-config: use pthread-config program (for GNU Pth library)
17533 case "${host_cpu}-${host_os}" in
17534         *solaris*)
17536         # On Solaris (at least, for some versions), libc contains stubbed
17537         # (non-functional) versions of the pthreads routines, so link-based
17538         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
17539         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
17540         # a function called by this macro, so we could check for that, but
17541         # who knows whether they'll stub that too in a future libc.)  So,
17542         # we'll just look for -pthreads and -lpthread first:
17544         acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
17545         ;;
17546 esac
17548 if test x"$acx_pthread_ok" = xno; then
17549 for flag in $acx_pthread_flags; do
17551         case $flag in
17552                 none)
17553                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17554 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17555                 ;;
17557                 -*)
17558                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17559 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17560                 PTHREAD_CFLAGS="$flag"
17561                 ;;
17563                 pthread-config)
17564                 # Extract the first word of "pthread-config", so it can be a program name with args.
17565 set dummy pthread-config; ac_word=$2
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17567 $as_echo_n "checking for $ac_word... " >&6; }
17568 if ${ac_cv_prog_acx_pthread_config+:} false; then :
17569   $as_echo_n "(cached) " >&6
17570 else
17571   if test -n "$acx_pthread_config"; then
17572   ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
17573 else
17574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17575 for as_dir in $PATH
17577   IFS=$as_save_IFS
17578   test -z "$as_dir" && as_dir=.
17579     for ac_exec_ext in '' $ac_executable_extensions; do
17580   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17581     ac_cv_prog_acx_pthread_config="yes"
17582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17583     break 2
17584   fi
17585 done
17586   done
17587 IFS=$as_save_IFS
17589   test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
17592 acx_pthread_config=$ac_cv_prog_acx_pthread_config
17593 if test -n "$acx_pthread_config"; then
17594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17595 $as_echo "$acx_pthread_config" >&6; }
17596 else
17597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17598 $as_echo "no" >&6; }
17602                 if test x"$acx_pthread_config" = xno; then continue; fi
17603                 PTHREAD_CFLAGS="`pthread-config --cflags`"
17604                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17605                 ;;
17607                 *)
17608                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17609 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17610                 PTHREAD_LIBS="-l$flag"
17611                 ;;
17612         esac
17614         save_LIBS="$LIBS"
17615         save_CFLAGS="$CFLAGS"
17616         LIBS="$PTHREAD_LIBS $LIBS"
17617         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17619         # Check for various functions.  We must include pthread.h,
17620         # since some functions may be macros.  (On the Sequent, we
17621         # need a special flag -Kthread to make this header compile.)
17622         # We check for pthread_join because it is in -lpthread on IRIX
17623         # while pthread_create is in libc.  We check for pthread_attr_init
17624         # due to DEC craziness with -lpthreads.  We check for
17625         # pthread_cleanup_push because it is one of the few pthread
17626         # functions on Solaris that doesn't have a non-functional libc stub.
17627         # We try pthread_create on general principles.
17628         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h.  */
17630 #include <pthread.h>
17632 main ()
17634 pthread_t th; pthread_join(th, 0);
17635                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
17636                      pthread_create(0,0,0,0); pthread_cleanup_pop(0); 
17637   ;
17638   return 0;
17640 _ACEOF
17641 if ac_fn_c_try_link "$LINENO"; then :
17642   acx_pthread_ok=yes
17644 rm -f core conftest.err conftest.$ac_objext \
17645     conftest$ac_exeext conftest.$ac_ext
17647         LIBS="$save_LIBS"
17648         CFLAGS="$save_CFLAGS"
17650         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17651 $as_echo "$acx_pthread_ok" >&6; }
17652         if test "x$acx_pthread_ok" = xyes; then
17653                 break;
17654         fi
17656         PTHREAD_LIBS=""
17657         PTHREAD_CFLAGS=""
17658 done
17661 # Various other checks:
17662 if test "x$acx_pthread_ok" = xyes; then
17663         save_LIBS="$LIBS"
17664         LIBS="$PTHREAD_LIBS $LIBS"
17665         save_CFLAGS="$CFLAGS"
17666         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17668         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17669         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17670 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17671         attr_name=unknown
17672         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17673             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h.  */
17675 #include <pthread.h>
17677 main ()
17679 int attr=$attr; return attr;
17680   ;
17681   return 0;
17683 _ACEOF
17684 if ac_fn_c_try_link "$LINENO"; then :
17685   attr_name=$attr; break
17687 rm -f core conftest.err conftest.$ac_objext \
17688     conftest$ac_exeext conftest.$ac_ext
17689         done
17690         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17691 $as_echo "$attr_name" >&6; }
17692         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17693             
17694 cat >>confdefs.h <<_ACEOF
17695 @%:@define PTHREAD_CREATE_JOINABLE $attr_name
17696 _ACEOF
17698         fi
17700         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17701 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17702         flag=no
17703         case "${host_cpu}-${host_os}" in
17704             *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
17705             *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
17706         esac
17707         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17708 $as_echo "${flag}" >&6; }
17709         if test "x$flag" != xno; then
17710             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17711         fi
17713         LIBS="$save_LIBS"
17714         CFLAGS="$save_CFLAGS"
17716         # More AIX lossage: must compile with xlc_r or cc_r
17717         if test x"$GCC" != xyes; then
17718           for ac_prog in xlc_r cc_r
17720   # Extract the first word of "$ac_prog", so it can be a program name with args.
17721 set dummy $ac_prog; ac_word=$2
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17723 $as_echo_n "checking for $ac_word... " >&6; }
17724 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
17725   $as_echo_n "(cached) " >&6
17726 else
17727   if test -n "$PTHREAD_CC"; then
17728   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17729 else
17730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17731 for as_dir in $PATH
17733   IFS=$as_save_IFS
17734   test -z "$as_dir" && as_dir=.
17735     for ac_exec_ext in '' $ac_executable_extensions; do
17736   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17737     ac_cv_prog_PTHREAD_CC="$ac_prog"
17738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17739     break 2
17740   fi
17741 done
17742   done
17743 IFS=$as_save_IFS
17747 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17748 if test -n "$PTHREAD_CC"; then
17749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17750 $as_echo "$PTHREAD_CC" >&6; }
17751 else
17752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17753 $as_echo "no" >&6; }
17757   test -n "$PTHREAD_CC" && break
17758 done
17759 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17761         else
17762           PTHREAD_CC=$CC
17763         fi
17764 else
17765         PTHREAD_CC="$CC"
17772 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17773 if test x"$acx_pthread_ok" = xyes; then
17774         
17775       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17776 $as_echo "yes" >&6; }
17777       case "$target" in
17778           *openbsd*)
17779             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
17780 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
17781             AM_CFLAGS="$AM_CFLAGS -pthread"
17782             ;;
17783       esac
17784       LIBS="$PTHREAD_LIBS $LIBS"
17785       AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS"
17786       CC="$PTHREAD_CC"
17787       
17788 $as_echo "@%:@define HAVE_PTHREAD 1" >>confdefs.h
17790     
17791         :
17792 else
17793         acx_pthread_ok=no
17794         
17795       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17796 $as_echo "no" >&6; }
17797     
17799 ac_ext=c
17800 ac_cpp='$CPP $CPPFLAGS'
17801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
17808 $as_echo_n "checking for library containing nanosleep... " >&6; }
17809 if ${ac_cv_search_nanosleep+:} false; then :
17810   $as_echo_n "(cached) " >&6
17811 else
17812   ac_func_search_save_LIBS=$LIBS
17813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h.  */
17816 /* Override any GCC internal prototype to avoid an error.
17817    Use char because int might match the return type of a GCC
17818    builtin and then its argument prototype would still apply.  */
17819 #ifdef __cplusplus
17820 extern "C"
17821 #endif
17822 char nanosleep ();
17824 main ()
17826 return nanosleep ();
17827   ;
17828   return 0;
17830 _ACEOF
17831 for ac_lib in '' rt posix4; do
17832   if test -z "$ac_lib"; then
17833     ac_res="none required"
17834   else
17835     ac_res=-l$ac_lib
17836     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17837   fi
17838   if ac_fn_c_try_link "$LINENO"; then :
17839   ac_cv_search_nanosleep=$ac_res
17841 rm -f core conftest.err conftest.$ac_objext \
17842     conftest$ac_exeext
17843   if ${ac_cv_search_nanosleep+:} false; then :
17844   break
17846 done
17847 if ${ac_cv_search_nanosleep+:} false; then :
17848   
17849 else
17850   ac_cv_search_nanosleep=no
17852 rm conftest.$ac_ext
17853 LIBS=$ac_func_search_save_LIBS
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
17856 $as_echo "$ac_cv_search_nanosleep" >&6; }
17857 ac_res=$ac_cv_search_nanosleep
17858 if test "$ac_res" != no; then :
17859   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17860   
17861       
17862 $as_echo "@%:@define HAVE_NANOSLEEP 1" >>confdefs.h
17864     
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17873 $as_echo_n "checking for ANSI C header files... " >&6; }
17874 if ${ac_cv_header_stdc+:} false; then :
17875   $as_echo_n "(cached) " >&6
17876 else
17877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h.  */
17879 #include <stdlib.h>
17880 #include <stdarg.h>
17881 #include <string.h>
17882 #include <float.h>
17885 main ()
17888   ;
17889   return 0;
17891 _ACEOF
17892 if ac_fn_c_try_compile "$LINENO"; then :
17893   ac_cv_header_stdc=yes
17894 else
17895   ac_cv_header_stdc=no
17897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17899 if test $ac_cv_header_stdc = yes; then
17900   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17902 /* end confdefs.h.  */
17903 #include <string.h>
17905 _ACEOF
17906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17907   $EGREP "memchr" >/dev/null 2>&1; then :
17908   
17909 else
17910   ac_cv_header_stdc=no
17912 rm -f conftest*
17916 if test $ac_cv_header_stdc = yes; then
17917   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h.  */
17920 #include <stdlib.h>
17922 _ACEOF
17923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17924   $EGREP "free" >/dev/null 2>&1; then :
17925   
17926 else
17927   ac_cv_header_stdc=no
17929 rm -f conftest*
17933 if test $ac_cv_header_stdc = yes; then
17934   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17935   if test "$cross_compiling" = yes; then :
17936   :
17937 else
17938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h.  */
17940 #include <ctype.h>
17941 #include <stdlib.h>
17942 #if ((' ' & 0x0FF) == 0x020)
17943 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17944 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17945 #else
17946 # define ISLOWER(c) \
17947                    (('a' <= (c) && (c) <= 'i') \
17948                      || ('j' <= (c) && (c) <= 'r') \
17949                      || ('s' <= (c) && (c) <= 'z'))
17950 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17951 #endif
17953 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17955 main ()
17957   int i;
17958   for (i = 0; i < 256; i++)
17959     if (XOR (islower (i), ISLOWER (i))
17960         || toupper (i) != TOUPPER (i))
17961       return 2;
17962   return 0;
17964 _ACEOF
17965 if ac_fn_c_try_run "$LINENO"; then :
17966   
17967 else
17968   ac_cv_header_stdc=no
17970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17971   conftest.$ac_objext conftest.beam conftest.$ac_ext
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17977 $as_echo "$ac_cv_header_stdc" >&6; }
17978 if test $ac_cv_header_stdc = yes; then
17979   
17980 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
17984 ac_header_dirent=no
17985 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
17986   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
17988 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
17989 if eval \${$as_ac_Header+:} false; then :
17990   $as_echo_n "(cached) " >&6
17991 else
17992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17993 /* end confdefs.h.  */
17994 #include <sys/types.h>
17995 #include <$ac_hdr>
17998 main ()
18000 if ((DIR *) 0)
18001 return 0;
18002   ;
18003   return 0;
18005 _ACEOF
18006 if ac_fn_c_try_compile "$LINENO"; then :
18007   eval "$as_ac_Header=yes"
18008 else
18009   eval "$as_ac_Header=no"
18011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18013 eval ac_res=\$$as_ac_Header
18014                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18015 $as_echo "$ac_res" >&6; }
18016 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18017   cat >>confdefs.h <<_ACEOF
18018 @%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
18019 _ACEOF
18021 ac_header_dirent=$ac_hdr; break
18024 done
18025 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
18026 if test $ac_header_dirent = dirent.h; then
18027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18028 $as_echo_n "checking for library containing opendir... " >&6; }
18029 if ${ac_cv_search_opendir+:} false; then :
18030   $as_echo_n "(cached) " >&6
18031 else
18032   ac_func_search_save_LIBS=$LIBS
18033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h.  */
18036 /* Override any GCC internal prototype to avoid an error.
18037    Use char because int might match the return type of a GCC
18038    builtin and then its argument prototype would still apply.  */
18039 #ifdef __cplusplus
18040 extern "C"
18041 #endif
18042 char opendir ();
18044 main ()
18046 return opendir ();
18047   ;
18048   return 0;
18050 _ACEOF
18051 for ac_lib in '' dir; do
18052   if test -z "$ac_lib"; then
18053     ac_res="none required"
18054   else
18055     ac_res=-l$ac_lib
18056     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18057   fi
18058   if ac_fn_c_try_link "$LINENO"; then :
18059   ac_cv_search_opendir=$ac_res
18061 rm -f core conftest.err conftest.$ac_objext \
18062     conftest$ac_exeext
18063   if ${ac_cv_search_opendir+:} false; then :
18064   break
18066 done
18067 if ${ac_cv_search_opendir+:} false; then :
18068   
18069 else
18070   ac_cv_search_opendir=no
18072 rm conftest.$ac_ext
18073 LIBS=$ac_func_search_save_LIBS
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18076 $as_echo "$ac_cv_search_opendir" >&6; }
18077 ac_res=$ac_cv_search_opendir
18078 if test "$ac_res" != no; then :
18079   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18080   
18083 else
18084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18085 $as_echo_n "checking for library containing opendir... " >&6; }
18086 if ${ac_cv_search_opendir+:} false; then :
18087   $as_echo_n "(cached) " >&6
18088 else
18089   ac_func_search_save_LIBS=$LIBS
18090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h.  */
18093 /* Override any GCC internal prototype to avoid an error.
18094    Use char because int might match the return type of a GCC
18095    builtin and then its argument prototype would still apply.  */
18096 #ifdef __cplusplus
18097 extern "C"
18098 #endif
18099 char opendir ();
18101 main ()
18103 return opendir ();
18104   ;
18105   return 0;
18107 _ACEOF
18108 for ac_lib in '' x; do
18109   if test -z "$ac_lib"; then
18110     ac_res="none required"
18111   else
18112     ac_res=-l$ac_lib
18113     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18114   fi
18115   if ac_fn_c_try_link "$LINENO"; then :
18116   ac_cv_search_opendir=$ac_res
18118 rm -f core conftest.err conftest.$ac_objext \
18119     conftest$ac_exeext
18120   if ${ac_cv_search_opendir+:} false; then :
18121   break
18123 done
18124 if ${ac_cv_search_opendir+:} false; then :
18125   
18126 else
18127   ac_cv_search_opendir=no
18129 rm conftest.$ac_ext
18130 LIBS=$ac_func_search_save_LIBS
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18133 $as_echo "$ac_cv_search_opendir" >&6; }
18134 ac_res=$ac_cv_search_opendir
18135 if test "$ac_res" != no; then :
18136   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18137   
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
18143 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
18144 if ${ac_cv_header_stat_broken+:} false; then :
18145   $as_echo_n "(cached) " >&6
18146 else
18147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h.  */
18149 #include <sys/types.h>
18150 #include <sys/stat.h>
18152 #if defined S_ISBLK && defined S_IFDIR
18153 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
18154 #endif
18156 #if defined S_ISBLK && defined S_IFCHR
18157 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
18158 #endif
18160 #if defined S_ISLNK && defined S_IFREG
18161 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
18162 #endif
18164 #if defined S_ISSOCK && defined S_IFREG
18165 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
18166 #endif
18168 _ACEOF
18169 if ac_fn_c_try_compile "$LINENO"; then :
18170   ac_cv_header_stat_broken=no
18171 else
18172   ac_cv_header_stat_broken=yes
18174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
18177 $as_echo "$ac_cv_header_stat_broken" >&6; }
18178 if test $ac_cv_header_stat_broken = yes; then
18179   
18180 $as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
18185 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
18186 if ${ac_cv_header_sys_wait_h+:} false; then :
18187   $as_echo_n "(cached) " >&6
18188 else
18189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h.  */
18191 #include <sys/types.h>
18192 #include <sys/wait.h>
18193 #ifndef WEXITSTATUS
18194 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
18195 #endif
18196 #ifndef WIFEXITED
18197 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
18198 #endif
18201 main ()
18203   int s;
18204   wait (&s);
18205   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
18206   ;
18207   return 0;
18209 _ACEOF
18210 if ac_fn_c_try_compile "$LINENO"; then :
18211   ac_cv_header_sys_wait_h=yes
18212 else
18213   ac_cv_header_sys_wait_h=no
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
18218 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
18219 if test $ac_cv_header_sys_wait_h = yes; then
18220   
18221 $as_echo "@%:@define HAVE_SYS_WAIT_H 1" >>confdefs.h
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be Included" >&5
18226 $as_echo_n "checking whether time.h and sys/time.h may both be Included... " >&6; }
18227 if ${ac_cv_header_time+:} false; then :
18228   $as_echo_n "(cached) " >&6
18229 else
18230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18231 /* end confdefs.h.  */
18232 #include <sys/types.h>
18233 #include <sys/time.h>
18234 #include <time.h>
18237 main ()
18239 if ((struct tm *) 0)
18240 return 0;
18241   ;
18242   return 0;
18244 _ACEOF
18245 if ac_fn_c_try_compile "$LINENO"; then :
18246   ac_cv_header_time=yes
18247 else
18248   ac_cv_header_time=no
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
18253 $as_echo "$ac_cv_header_time" >&6; }
18254 if test $ac_cv_header_time = yes; then
18255   
18256 $as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
18261 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
18262 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false; then :
18263   $as_echo_n "(cached) " >&6
18264 else
18265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18266 /* end confdefs.h.  */
18267 #include <sys/types.h>
18268 #include <termios.h>
18269 #ifdef TIOCGWINSZ
18270   yes
18271 #endif
18273 _ACEOF
18274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18275   $EGREP "yes" >/dev/null 2>&1; then :
18276   ac_cv_sys_tiocgwinsz_in_termios_h=yes
18277 else
18278   ac_cv_sys_tiocgwinsz_in_termios_h=no
18280 rm -f conftest*
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
18284 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
18286 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
18287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
18288 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
18289 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false; then :
18290   $as_echo_n "(cached) " >&6
18291 else
18292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h.  */
18294 #include <sys/types.h>
18295 #include <sys/ioctl.h>
18296 #ifdef TIOCGWINSZ
18297   yes
18298 #endif
18300 _ACEOF
18301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18302   $EGREP "yes" >/dev/null 2>&1; then :
18303   ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes
18304 else
18305   ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no
18307 rm -f conftest*
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
18311 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
18313   if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
18314     
18315 $as_echo "@%:@define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
18317   fi
18321 for ac_header in unistd.h
18322 do :
18323   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
18324 if test "x$ac_cv_header_unistd_h" = xyes; then :
18325   cat >>confdefs.h <<_ACEOF
18326 @%:@define HAVE_UNISTD_H 1
18327 _ACEOF
18331 done
18334 for ac_header in errno.h \
18335                   ctype.h \
18336                   fcntl.h \
18337                   signal.h \
18338                   setjmp.h \
18339                   memory.h \
18340                   sys/param.h \
18341                   sys/socket.h \
18342                   sys/uio.h \
18343                   sys/un.h \
18344                   limits.h \
18345                   wchar.h \
18346                   sys/poll.h \
18347                   stropts.h \
18348                   netdb.h \
18349                   syslog.h \
18350                   sys/syslog.h \
18351                   locale.h \
18352                   langinfo.h \
18353                   utime.h \
18354                   sys/utime.h \
18355                   pthread.h \
18356                   pwd.h \
18357                   assert.h
18358 do :
18359   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18360 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18361 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18362   cat >>confdefs.h <<_ACEOF
18363 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18364 _ACEOF
18368 done
18371 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
18372 if test "x$ac_cv_header_termios_h" = xyes; then :
18373   
18374 $as_echo "@%:@define HAS_TERMIOS 1" >>confdefs.h
18376 else
18377   
18378     ac_fn_c_check_header_mongrel "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
18379 if test "x$ac_cv_header_termio_h" = xyes; then :
18380   
18381 $as_echo "@%:@define HAS_TERMIO 1" >>confdefs.h
18383 else
18384   
18385         ac_fn_c_check_header_mongrel "$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
18386 if test "x$ac_cv_header_sgtty_h" = xyes; then :
18387   
18388 $as_echo "@%:@define HAS_SGTTY 1" >>confdefs.h
18390 else
18391   
18392           as_fn_error $? "Unable to figure out terminal control method" "$LINENO" 5
18393         
18397       
18401   
18408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
18409 $as_echo_n "checking return type of signal handlers... " >&6; }
18410 if ${ac_cv_type_signal+:} false; then :
18411   $as_echo_n "(cached) " >&6
18412 else
18413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18414 /* end confdefs.h.  */
18415 #include <sys/types.h>
18416 #include <signal.h>
18419 main ()
18421 return *(signal (0, 0)) (0) == 1;
18422   ;
18423   return 0;
18425 _ACEOF
18426 if ac_fn_c_try_compile "$LINENO"; then :
18427   ac_cv_type_signal=int
18428 else
18429   ac_cv_type_signal=void
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
18434 $as_echo "$ac_cv_type_signal" >&6; }
18436 cat >>confdefs.h <<_ACEOF
18437 @%:@define RETSIGTYPE $ac_cv_type_signal
18438 _ACEOF
18441 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18442 if test "x$ac_cv_type_size_t" = xyes; then :
18443   
18444 else
18445   
18446 cat >>confdefs.h <<_ACEOF
18447 @%:@define size_t unsigned int
18448 _ACEOF
18452 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
18453 if test "x$ac_cv_type_mode_t" = xyes; then :
18454   
18455 else
18456   
18457 cat >>confdefs.h <<_ACEOF
18458 @%:@define mode_t int
18459 _ACEOF
18463 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
18464 if test "x$ac_cv_type_pid_t" = xyes; then :
18465   
18466 else
18467   
18468 cat >>confdefs.h <<_ACEOF
18469 @%:@define pid_t int
18470 _ACEOF
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
18475 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
18476 if ${ac_cv_type_uid_t+:} false; then :
18477   $as_echo_n "(cached) " >&6
18478 else
18479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h.  */
18481 #include <sys/types.h>
18483 _ACEOF
18484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18485   $EGREP "uid_t" >/dev/null 2>&1; then :
18486   ac_cv_type_uid_t=yes
18487 else
18488   ac_cv_type_uid_t=no
18490 rm -f conftest*
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
18494 $as_echo "$ac_cv_type_uid_t" >&6; }
18495 if test $ac_cv_type_uid_t = no; then
18496   
18497 $as_echo "@%:@define uid_t int" >>confdefs.h
18499   
18500 $as_echo "@%:@define gid_t int" >>confdefs.h
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
18505 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
18506 if ${ac_cv_struct_tm+:} false; then :
18507   $as_echo_n "(cached) " >&6
18508 else
18509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18510 /* end confdefs.h.  */
18511 #include <sys/types.h>
18512 #include <time.h>
18515 main ()
18517 struct tm tm;
18518                                      int *p = &tm.tm_sec;
18519                                      return !p;
18520   ;
18521   return 0;
18523 _ACEOF
18524 if ac_fn_c_try_compile "$LINENO"; then :
18525   ac_cv_struct_tm=time.h
18526 else
18527   ac_cv_struct_tm=sys/time.h
18529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
18532 $as_echo "$ac_cv_struct_tm" >&6; }
18533 if test $ac_cv_struct_tm = sys/time.h; then
18534   
18535 $as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
18540 ac_fn_c_check_type "$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
18541 if test "x$ac_cv_type_union_wait" = xyes; then :
18542   
18543 cat >>confdefs.h <<_ACEOF
18544 @%:@define HAVE_UNION_WAIT 1
18545 _ACEOF
18551 for ac_header in stdint.h
18552 do :
18553   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18554 if test "x$ac_cv_header_stdint_h" = xyes; then :
18555   cat >>confdefs.h <<_ACEOF
18556 @%:@define HAVE_STDINT_H 1
18557 _ACEOF
18558  uint16=uint16_t
18559 else
18560   
18561   for ac_header in inttypes.h
18562 do :
18563   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18564 if test "x$ac_cv_header_inttypes_h" = xyes; then :
18565   cat >>confdefs.h <<_ACEOF
18566 @%:@define HAVE_INTTYPES_H 1
18567 _ACEOF
18568  uint16=uint16_t
18569 else
18570   
18571     for ac_header in sys/types.h
18572 do :
18573   ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18574 if test "x$ac_cv_header_sys_types_h" = xyes; then :
18575   cat >>confdefs.h <<_ACEOF
18576 @%:@define HAVE_SYS_TYPES_H 1
18577 _ACEOF
18578  uint16=u_int16_t
18579 else
18580   
18581       # The cast to long int works around a bug in the HP C Compiler
18582 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18583 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18584 # This bug is HP SR number 8606223364.
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
18586 $as_echo_n "checking size of unsigned short... " >&6; }
18587 if ${ac_cv_sizeof_unsigned_short+:} false; then :
18588   $as_echo_n "(cached) " >&6
18589 else
18590   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short"        "$ac_includes_default"; then :
18591   
18592 else
18593   if test "$ac_cv_type_unsigned_short" = yes; then
18594      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18596 as_fn_error 77 "cannot compute sizeof (unsigned short)
18597 See \`config.log' for more details" "$LINENO" 5; }
18598    else
18599      ac_cv_sizeof_unsigned_short=0
18600    fi
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
18605 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
18609 cat >>confdefs.h <<_ACEOF
18610 @%:@define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
18611 _ACEOF
18614       if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
18615         uint16="unsigned short"
18616       else
18617         # The cast to long int works around a bug in the HP C Compiler
18618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18620 # This bug is HP SR number 8606223364.
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18622 $as_echo_n "checking size of unsigned int... " >&6; }
18623 if ${ac_cv_sizeof_unsigned_int+:} false; then :
18624   $as_echo_n "(cached) " >&6
18625 else
18626   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int"        "$ac_includes_default"; then :
18627   
18628 else
18629   if test "$ac_cv_type_unsigned_int" = yes; then
18630      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18632 as_fn_error 77 "cannot compute sizeof (unsigned int)
18633 See \`config.log' for more details" "$LINENO" 5; }
18634    else
18635      ac_cv_sizeof_unsigned_int=0
18636    fi
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18641 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18645 cat >>confdefs.h <<_ACEOF
18646 @%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18647 _ACEOF
18650         if $ac_cv_sizeof_unsigned_int -eq 2 ; then
18651           uint16="unsigned int"
18652         else
18653           as_fn_error $? "Unable to determine 16 bit integer type" "$LINENO" 5
18654         fi
18655       fi
18656     
18659 done
18661   
18664 done
18669 done
18672 cat >>confdefs.h <<_ACEOF
18673 @%:@define UINT16 $uint16
18674 _ACEOF
18677 for ac_header in stdint.h
18678 do :
18679   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18680 if test "x$ac_cv_header_stdint_h" = xyes; then :
18681   cat >>confdefs.h <<_ACEOF
18682 @%:@define HAVE_STDINT_H 1
18683 _ACEOF
18684  uint32=uint32_t
18685 else
18686   
18687   for ac_header in inttypes.h
18688 do :
18689   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18690 if test "x$ac_cv_header_inttypes_h" = xyes; then :
18691   cat >>confdefs.h <<_ACEOF
18692 @%:@define HAVE_INTTYPES_H 1
18693 _ACEOF
18694  uint32=uint32_t
18695 else
18696   
18697     for ac_header in sys/types.h
18698 do :
18699   ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18700 if test "x$ac_cv_header_sys_types_h" = xyes; then :
18701   cat >>confdefs.h <<_ACEOF
18702 @%:@define HAVE_SYS_TYPES_H 1
18703 _ACEOF
18704  uint32=u_int32_t
18705 else
18706   
18707       # The cast to long int works around a bug in the HP C Compiler
18708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18710 # This bug is HP SR number 8606223364.
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18712 $as_echo_n "checking size of unsigned int... " >&6; }
18713 if ${ac_cv_sizeof_unsigned_int+:} false; then :
18714   $as_echo_n "(cached) " >&6
18715 else
18716   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int"        "$ac_includes_default"; then :
18717   
18718 else
18719   if test "$ac_cv_type_unsigned_int" = yes; then
18720      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18722 as_fn_error 77 "cannot compute sizeof (unsigned int)
18723 See \`config.log' for more details" "$LINENO" 5; }
18724    else
18725      ac_cv_sizeof_unsigned_int=0
18726    fi
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18731 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18735 cat >>confdefs.h <<_ACEOF
18736 @%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18737 _ACEOF
18740       if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
18741         uint32="unsigned int"
18742       else
18743         # The cast to long int works around a bug in the HP C Compiler
18744 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18745 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18746 # This bug is HP SR number 8606223364.
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
18748 $as_echo_n "checking size of unsigned long... " >&6; }
18749 if ${ac_cv_sizeof_unsigned_long+:} false; then :
18750   $as_echo_n "(cached) " >&6
18751 else
18752   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long"        "$ac_includes_default"; then :
18753   
18754 else
18755   if test "$ac_cv_type_unsigned_long" = yes; then
18756      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18758 as_fn_error 77 "cannot compute sizeof (unsigned long)
18759 See \`config.log' for more details" "$LINENO" 5; }
18760    else
18761      ac_cv_sizeof_unsigned_long=0
18762    fi
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
18767 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
18771 cat >>confdefs.h <<_ACEOF
18772 @%:@define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
18773 _ACEOF
18776         if $ac_cv_sizeof_unsigned_long -eq 4 ; then
18777           uint32="unsigned long"
18778         else
18779           as_fn_error $? "Unable to determine 32 bit integer type" "$LINENO" 5
18780         fi
18781       fi
18782     
18785 done
18787   
18790 done
18795 done
18798 cat >>confdefs.h <<_ACEOF
18799 @%:@define UINT32 $uint32
18800 _ACEOF
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
18804 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
18805 if ${ac_cv_func_qsort_argtype+:} false; then :
18806   $as_echo_n "(cached) " >&6
18807 else
18808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h.  */
18811 #if     HAVE_STDLIB_H
18812 #include "stdlib.h"
18813 #endif
18815 extern void *base;
18816 extern sortf(const void *, const void *);
18817 int sortf(a, b)
18818   const void *a;
18819   const void *b; { return 0; }
18822 main ()
18825 qsort(base, 2, sizeof(char *), sortf);
18827   ;
18828   return 0;
18830 _ACEOF
18831 if ac_fn_c_try_compile "$LINENO"; then :
18832   ac_cv_func_qsort_argtype=void
18833 else
18834   ac_cv_func_qsort_argtype=char
18836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
18840 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
18842 cat >>confdefs.h <<_ACEOF
18843 @%:@define qsort_t $ac_cv_func_qsort_argtype
18844 _ACEOF
18848 for ac_header in sys/select.h sys/socket.h
18849 do :
18850   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18851 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18852 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18853   cat >>confdefs.h <<_ACEOF
18854 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18855 _ACEOF
18859 done
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
18862 $as_echo_n "checking types of arguments for select... " >&6; }
18863 if ${ac_cv_func_select_args+:} false; then :
18864   $as_echo_n "(cached) " >&6
18865 else
18866   for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
18867  for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
18868   for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
18869    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h.  */
18871 $ac_includes_default
18872 #ifdef HAVE_SYS_SELECT_H
18873 # include <sys/select.h>
18874 #endif
18875 #ifdef HAVE_SYS_SOCKET_H
18876 # include <sys/socket.h>
18877 #endif
18880 main ()
18882 extern int select ($ac_arg1,
18883                                             $ac_arg234, $ac_arg234, $ac_arg234,
18884                                             $ac_arg5);
18885   ;
18886   return 0;
18888 _ACEOF
18889 if ac_fn_c_try_compile "$LINENO"; then :
18890   ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
18892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18893   done
18894  done
18895 done
18896 # Provide a safe default value.
18897 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
18901 $as_echo "$ac_cv_func_select_args" >&6; }
18902 ac_save_IFS=$IFS; IFS=','
18903 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
18904 IFS=$ac_save_IFS
18905 shift
18907 cat >>confdefs.h <<_ACEOF
18908 @%:@define SELECT_TYPE_ARG1 $1
18909 _ACEOF
18912 cat >>confdefs.h <<_ACEOF
18913 @%:@define SELECT_TYPE_ARG234 ($2)
18914 _ACEOF
18917 cat >>confdefs.h <<_ACEOF
18918 @%:@define SELECT_TYPE_ARG5 ($3)
18919 _ACEOF
18921 rm -f conftest*
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
18925 $as_echo_n "checking for working strcoll... " >&6; }
18926 if ${ac_cv_func_strcoll_works+:} false; then :
18927   $as_echo_n "(cached) " >&6
18928 else
18929   if test "$cross_compiling" = yes; then :
18930   ac_cv_func_strcoll_works=no
18931 else
18932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h.  */
18934 $ac_includes_default
18936 main ()
18938 return (strcoll ("abc", "def") >= 0 ||
18939          strcoll ("ABC", "DEF") >= 0 ||
18940          strcoll ("123", "456") >= 0)
18941   ;
18942   return 0;
18944 _ACEOF
18945 if ac_fn_c_try_run "$LINENO"; then :
18946   ac_cv_func_strcoll_works=yes
18947 else
18948   ac_cv_func_strcoll_works=no
18950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18951   conftest.$ac_objext conftest.beam conftest.$ac_ext
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
18956 $as_echo "$ac_cv_func_strcoll_works" >&6; }
18957 if test $ac_cv_func_strcoll_works = yes; then
18958   
18959 $as_echo "@%:@define HAVE_STRCOLL 1" >>confdefs.h
18965 for ac_header in vfork.h
18966 do :
18967   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
18968 if test "x$ac_cv_header_vfork_h" = xyes; then :
18969   cat >>confdefs.h <<_ACEOF
18970 @%:@define HAVE_VFORK_H 1
18971 _ACEOF
18975 done
18977 for ac_func in fork vfork
18978 do :
18979   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18981 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18982   cat >>confdefs.h <<_ACEOF
18983 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18984 _ACEOF
18987 done
18989 if test "x$ac_cv_func_fork" = xyes; then
18990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
18991 $as_echo_n "checking for working fork... " >&6; }
18992 if ${ac_cv_func_fork_works+:} false; then :
18993   $as_echo_n "(cached) " >&6
18994 else
18995   if test "$cross_compiling" = yes; then :
18996   ac_cv_func_fork_works=cross
18997 else
18998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h.  */
19000 $ac_includes_default
19002 main ()
19005           /* By Ruediger Kuhlmann. */
19006           return fork () < 0;
19007         
19008   ;
19009   return 0;
19011 _ACEOF
19012 if ac_fn_c_try_run "$LINENO"; then :
19013   ac_cv_func_fork_works=yes
19014 else
19015   ac_cv_func_fork_works=no
19017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19018   conftest.$ac_objext conftest.beam conftest.$ac_ext
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
19023 $as_echo "$ac_cv_func_fork_works" >&6; }
19025 else
19026   ac_cv_func_fork_works=$ac_cv_func_fork
19028 if test "x$ac_cv_func_fork_works" = xcross; then
19029   case $host in
19030     *-*-amigaos* | *-*-msdosdjgpp*)
19031       # Override, as these systems have only a dummy fork() stub
19032       ac_cv_func_fork_works=no
19033       ;;
19034     *)
19035       ac_cv_func_fork_works=yes
19036       ;;
19037   esac
19038   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
19039 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
19041 ac_cv_func_vfork_works=$ac_cv_func_vfork
19042 if test "x$ac_cv_func_vfork" = xyes; then
19043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
19044 $as_echo_n "checking for working vfork... " >&6; }
19045 if ${ac_cv_func_vfork_works+:} false; then :
19046   $as_echo_n "(cached) " >&6
19047 else
19048   if test "$cross_compiling" = yes; then :
19049   ac_cv_func_vfork_works=cross
19050 else
19051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h.  */
19053 /* Thanks to Paul Eggert for this test.  */
19054 $ac_includes_default
19055 #include <sys/wait.h>
19056 #ifdef HAVE_VFORK_H
19057 # include <vfork.h>
19058 #endif
19059 /* On some sparc systems, changes by the child to local and incoming
19060    argument registers are propagated back to the parent.  The compiler
19061    is told about this with #include <vfork.h>, but some compilers
19062    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
19063    static variable whose address is put into a register that is
19064    clobbered by the vfork.  */
19065 static void
19066 #ifdef __cplusplus
19067 sparc_address_test (int arg)
19068 # else
19069 sparc_address_test (arg) int arg;
19070 #endif
19072   static pid_t child;
19073   if (!child) {
19074     child = vfork ();
19075     if (child < 0) {
19076       perror ("vfork");
19077       _exit(2);
19078     }
19079     if (!child) {
19080       arg = getpid();
19081       write(-1, "", 0);
19082       _exit (arg);
19083     }
19084   }
19088 main ()
19090   pid_t parent = getpid ();
19091   pid_t child;
19093   sparc_address_test (0);
19095   child = vfork ();
19097   if (child == 0) {
19098     /* Here is another test for sparc vfork register problems.  This
19099        test uses lots of local variables, at least as many local
19100        variables as main has allocated so far including compiler
19101        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
19102        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
19103        reuse the register of parent for one of the local variables,
19104        since it will think that parent can't possibly be used any more
19105        in this routine.  Assigning to the local variable will thus
19106        munge parent in the parent process.  */
19107     pid_t
19108       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
19109       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
19110     /* Convince the compiler that p..p7 are live; otherwise, it might
19111        use the same hardware register for all 8 local variables.  */
19112     if (p != p1 || p != p2 || p != p3 || p != p4
19113         || p != p5 || p != p6 || p != p7)
19114       _exit(1);
19116     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
19117        from child file descriptors.  If the child closes a descriptor
19118        before it execs or exits, this munges the parent's descriptor
19119        as well.  Test for this by closing stdout in the child.  */
19120     _exit(close(fileno(stdout)) != 0);
19121   } else {
19122     int status;
19123     struct stat st;
19125     while (wait(&status) != child)
19126       ;
19127     return (
19128          /* Was there some problem with vforking?  */
19129          child < 0
19131          /* Did the child fail?  (This shouldn't happen.)  */
19132          || status
19134          /* Did the vfork/compiler bug occur?  */
19135          || parent != getpid()
19137          /* Did the file descriptor bug occur?  */
19138          || fstat(fileno(stdout), &st) != 0
19139          );
19140   }
19142 _ACEOF
19143 if ac_fn_c_try_run "$LINENO"; then :
19144   ac_cv_func_vfork_works=yes
19145 else
19146   ac_cv_func_vfork_works=no
19148 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19149   conftest.$ac_objext conftest.beam conftest.$ac_ext
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
19154 $as_echo "$ac_cv_func_vfork_works" >&6; }
19157 if test "x$ac_cv_func_fork_works" = xcross; then
19158   ac_cv_func_vfork_works=$ac_cv_func_vfork
19159   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
19160 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
19163 if test "x$ac_cv_func_vfork_works" = xyes; then
19164   
19165 $as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
19167 else
19168   
19169 $as_echo "@%:@define vfork fork" >>confdefs.h
19172 if test "x$ac_cv_func_fork_works" = xyes; then
19173   
19174 $as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
19178 for ac_func in strchr \
19179                 memcpy \
19180                 strtol \
19181                 strtoul \
19182                 select \
19183                 poll \
19184                 qsort \
19185                 getuid \
19186                 getpwuid \
19187                 getpwnam \
19188                 gettimeofday \
19189                 tmpfile \
19190                 uname \
19191                 rename \
19192                 read \
19193                 signal \
19194                 setjmp \
19195                 chown \
19196                 wait4 \
19197                 waitpid \
19198                 wait \
19199                 srandom \
19200                 popen \
19201                 pclose \
19202                 fsync \
19203                 truncate \
19204                 listen \
19205                 wcwidth \
19206                 mbstowcs \
19207                 wcrtomb \
19208                 putenv \
19209                 setenv
19210 do :
19211   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19212 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19213 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19214   cat >>confdefs.h <<_ACEOF
19215 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19216 _ACEOF
19219 done
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
19223 $as_echo_n "checking for library containing gethostname... " >&6; }
19224 if ${ac_cv_search_gethostname+:} false; then :
19225   $as_echo_n "(cached) " >&6
19226 else
19227   ac_func_search_save_LIBS=$LIBS
19228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19229 /* end confdefs.h.  */
19231 /* Override any GCC internal prototype to avoid an error.
19232    Use char because int might match the return type of a GCC
19233    builtin and then its argument prototype would still apply.  */
19234 #ifdef __cplusplus
19235 extern "C"
19236 #endif
19237 char gethostname ();
19239 main ()
19241 return gethostname ();
19242   ;
19243   return 0;
19245 _ACEOF
19246 for ac_lib in '' nsl; do
19247   if test -z "$ac_lib"; then
19248     ac_res="none required"
19249   else
19250     ac_res=-l$ac_lib
19251     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19252   fi
19253   if ac_fn_c_try_link "$LINENO"; then :
19254   ac_cv_search_gethostname=$ac_res
19256 rm -f core conftest.err conftest.$ac_objext \
19257     conftest$ac_exeext
19258   if ${ac_cv_search_gethostname+:} false; then :
19259   break
19261 done
19262 if ${ac_cv_search_gethostname+:} false; then :
19263   
19264 else
19265   ac_cv_search_gethostname=no
19267 rm conftest.$ac_ext
19268 LIBS=$ac_func_search_save_LIBS
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
19271 $as_echo "$ac_cv_search_gethostname" >&6; }
19272 ac_res=$ac_cv_search_gethostname
19273 if test "$ac_res" != no; then :
19274   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19275   
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
19280 $as_echo_n "checking for library containing socket... " >&6; }
19281 if ${ac_cv_search_socket+:} false; then :
19282   $as_echo_n "(cached) " >&6
19283 else
19284   ac_func_search_save_LIBS=$LIBS
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h.  */
19288 /* Override any GCC internal prototype to avoid an error.
19289    Use char because int might match the return type of a GCC
19290    builtin and then its argument prototype would still apply.  */
19291 #ifdef __cplusplus
19292 extern "C"
19293 #endif
19294 char socket ();
19296 main ()
19298 return socket ();
19299   ;
19300   return 0;
19302 _ACEOF
19303 for ac_lib in '' socket; do
19304   if test -z "$ac_lib"; then
19305     ac_res="none required"
19306   else
19307     ac_res=-l$ac_lib
19308     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19309   fi
19310   if ac_fn_c_try_link "$LINENO"; then :
19311   ac_cv_search_socket=$ac_res
19313 rm -f core conftest.err conftest.$ac_objext \
19314     conftest$ac_exeext
19315   if ${ac_cv_search_socket+:} false; then :
19316   break
19318 done
19319 if ${ac_cv_search_socket+:} false; then :
19320   
19321 else
19322   ac_cv_search_socket=no
19324 rm conftest.$ac_ext
19325 LIBS=$ac_func_search_save_LIBS
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
19328 $as_echo "$ac_cv_search_socket" >&6; }
19329 ac_res=$ac_cv_search_socket
19330 if test "$ac_res" != no; then :
19331   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19332   
19333 else
19334   
19335     WEB_BUILD=
19336   
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
19341 $as_echo_n "checking for library containing bind... " >&6; }
19342 if ${ac_cv_search_bind+:} false; then :
19343   $as_echo_n "(cached) " >&6
19344 else
19345   ac_func_search_save_LIBS=$LIBS
19346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19347 /* end confdefs.h.  */
19349 /* Override any GCC internal prototype to avoid an error.
19350    Use char because int might match the return type of a GCC
19351    builtin and then its argument prototype would still apply.  */
19352 #ifdef __cplusplus
19353 extern "C"
19354 #endif
19355 char bind ();
19357 main ()
19359 return bind ();
19360   ;
19361   return 0;
19363 _ACEOF
19364 for ac_lib in '' bind; do
19365   if test -z "$ac_lib"; then
19366     ac_res="none required"
19367   else
19368     ac_res=-l$ac_lib
19369     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19370   fi
19371   if ac_fn_c_try_link "$LINENO"; then :
19372   ac_cv_search_bind=$ac_res
19374 rm -f core conftest.err conftest.$ac_objext \
19375     conftest$ac_exeext
19376   if ${ac_cv_search_bind+:} false; then :
19377   break
19379 done
19380 if ${ac_cv_search_bind+:} false; then :
19381   
19382 else
19383   ac_cv_search_bind=no
19385 rm conftest.$ac_ext
19386 LIBS=$ac_func_search_save_LIBS
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
19389 $as_echo "$ac_cv_search_bind" >&6; }
19390 ac_res=$ac_cv_search_bind
19391 if test "$ac_res" != no; then :
19392   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19393   
19394 else
19395   
19396     WEB_BUILD=
19397   
19401 for ac_func in sigaction sigemptyset sigaddset sigprocmask
19402 do :
19403   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19405 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19406   cat >>confdefs.h <<_ACEOF
19407 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19408 _ACEOF
19410     
19411 $as_echo "@%:@define POSIX_SIGNALS /**/" >>confdefs.h
19413   
19414 else
19415   
19416     for ac_func in sigset sigrelse
19417 do :
19418   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19420 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19421   cat >>confdefs.h <<_ACEOF
19422 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19423 _ACEOF
19425         
19426 $as_echo "@%:@define SYSV_SIGNALS /**/" >>confdefs.h
19428       
19430 done
19432   
19434 done
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
19438 $as_echo_n "checking for library containing syslog... " >&6; }
19439 if ${ac_cv_search_syslog+:} false; then :
19440   $as_echo_n "(cached) " >&6
19441 else
19442   ac_func_search_save_LIBS=$LIBS
19443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19444 /* end confdefs.h.  */
19446 /* Override any GCC internal prototype to avoid an error.
19447    Use char because int might match the return type of a GCC
19448    builtin and then its argument prototype would still apply.  */
19449 #ifdef __cplusplus
19450 extern "C"
19451 #endif
19452 char syslog ();
19454 main ()
19456 return syslog ();
19457   ;
19458   return 0;
19460 _ACEOF
19461 for ac_lib in '' bsd socket inet; do
19462   if test -z "$ac_lib"; then
19463     ac_res="none required"
19464   else
19465     ac_res=-l$ac_lib
19466     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19467   fi
19468   if ac_fn_c_try_link "$LINENO"; then :
19469   ac_cv_search_syslog=$ac_res
19471 rm -f core conftest.err conftest.$ac_objext \
19472     conftest$ac_exeext
19473   if ${ac_cv_search_syslog+:} false; then :
19474   break
19476 done
19477 if ${ac_cv_search_syslog+:} false; then :
19478   
19479 else
19480   ac_cv_search_syslog=no
19482 rm conftest.$ac_ext
19483 LIBS=$ac_func_search_save_LIBS
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
19486 $as_echo "$ac_cv_search_syslog" >&6; }
19487 ac_res=$ac_cv_search_syslog
19488 if test "$ac_res" != no; then :
19489   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19490   
19491     
19492 $as_echo "@%:@define HAVE_SYSLOG 1" >>confdefs.h
19494   
19499 if test -n "$alpine_with_local_maildir" ; then
19500     alpine_local_maildir=$alpine_with_local_maildir
19501 elif test -d /var/spool/mail ; then
19502     alpine_local_maildir="/var/spool/mail"
19503 elif test -d /var/mail ; then
19504     alpine_local_maildir="/var/mail"
19505 else
19506     alpine_local_maildir="/usr/spool/mail"
19509 if test -n "$alpine_with_c_client_target" ; then
19510     alpine_c_client_target=$alpine_with_c_client_target
19514 cat >>confdefs.h <<_ACEOF
19515 @%:@define SYSTYPE "$systype"
19516 _ACEOF
19519 cat >>confdefs.h <<_ACEOF
19520 @%:@define C_FILESEP '$alpine_path_delim'
19521 _ACEOF
19524 cat >>confdefs.h <<_ACEOF
19525 @%:@define S_FILESEP "$alpine_path_delim"
19526 _ACEOF
19529 cat >>confdefs.h <<_ACEOF
19530 @%:@define MAILDIR "$alpine_local_maildir"
19531 _ACEOF
19534 cat >>confdefs.h <<_ACEOF
19535 @%:@define MODE_READONLY $alpine_mode_readonly
19536 _ACEOF
19539 C_CLIENT_TARGET=$alpine_c_client_target
19541 C_CLIENT_WITH_IPV6=$c_client_ip6
19543 if test "x$alpine_SSLTYPE" = "xnone" ; then 
19544   { $as_echo "$as_me:${as_lineno-$LINENO}: * * *  NOT Including SSL Support" >&5
19545 $as_echo "$as_me: * * *  NOT Including SSL Support" >&6;}
19546   c_client_specials="${c_client_specials}SSLTYPE=none "
19547 else
19548   
19549   if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
19550     certdir="$alpine_SSLCERTS"
19551   elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
19552     certdir="${alpine_SSLDIR}/certs"
19553   elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
19554     certdir="${alpine_SSLDIR}/ssl/certs"
19555   else
19556     { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
19557 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
19558   fi
19560   if test "x$with_smime" != "xno" ; then
19561     if test -n "$certdir" ; then
19562       
19563 $as_echo "@%:@define SMIME /**/" >>confdefs.h
19565       
19566 cat >>confdefs.h <<_ACEOF
19567 @%:@define SMIME_SSLCERTS "$certdir"
19568 _ACEOF
19570     fi
19571   fi
19573   if test ! -f ${certdir}/factory.pem ; then
19574     { $as_echo "$as_me:${as_lineno-$LINENO}: * * * SSL file \"${certdir}/factory.pem\" is missing." >&5
19575 $as_echo "$as_me: * * * SSL file \"${certdir}/factory.pem\" is missing." >&6;}
19576     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   This might indicate that CA certs did not get properly" >&5
19577 $as_echo "$as_me: * * *   This might indicate that CA certs did not get properly" >&6;}
19578     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   installed.  If you get certificate validation failures" >&5
19579 $as_echo "$as_me: * * *   installed.  If you get certificate validation failures" >&6;}
19580     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   in Alpine, this might be the reason for them." >&5
19581 $as_echo "$as_me: * * *   in Alpine, this might be the reason for them." >&6;}
19582   fi
19584   if test -z "`ls ${certdir} | $EGREP '^@<:@0-9A-Fa-f@:>@{8}\.@<:@0-9@:>@'`" ; then
19585     { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&5
19586 $as_echo "$as_me: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&6;}
19587     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   This might indicate that CA certs did not get properly" >&5
19588 $as_echo "$as_me: * * *   This might indicate that CA certs did not get properly" >&6;}
19589     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   installed.  If you get certificate validation failures" >&5
19590 $as_echo "$as_me: * * *   installed.  If you get certificate validation failures" >&6;}
19591     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   in Alpine, this might be the reason for them." >&5
19592 $as_echo "$as_me: * * *   in Alpine, this might be the reason for them." >&6;}
19593   fi
19595   if test -n "$alpine_SSLINCLUDE" ; then
19596     c_client_specials="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
19597   fi
19599   if test -n "$alpine_SSLLIB" ; then
19600     c_client_specials="${c_client_specials}SSLLIB=$alpine_SSLLIB "
19601   fi
19603   if test -n "$alpine_SSLDIR" ; then
19604     c_client_specials="${c_client_specials}SSLDIR=$alpine_SSLDIR "
19605   fi
19607   if test -n "$alpine_SSLCERTS" ; then
19608     c_client_specials="${c_client_specials}SSLCERTS=$alpine_SSLCERTS "
19609   fi
19611   if test -n "$alpine_SSLKEYS" ; then
19612       c_client_specials="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
19613   fi
19616 if test "x$alpine_GSSTYPE" != "xnone" ; then
19617   c_client_specials="${c_client_specials}EXTRAAUTHENTICATORS=gss "
19618   { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
19619 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
19622 if test -n "$CPPFLAGS" ; then
19623   alpine_c_client_cflags="$alpine_c_client_cflags ${CPPFLAGS}"
19625 if test -n "$CFLAGS" ; then
19626   alpine_c_client_cflags="$alpine_c_client_cflags ${CFLAGS}"
19629 if test -n "$alpine_c_client_cflags" ; then
19630   C_CLIENT_CFLAGS=EXTRACFLAGS=\"$alpine_c_client_cflags\"
19634 if test -n "$LDFLAGS" ; then
19635   alpine_c_client_ldflags="$alpine_c_client_ldflags ${LDFLAGS}"
19637 if test -n "$LIBS" ; then
19638   alpine_c_client_ldflags="$alpine_c_client_ldflags ${LIBS}"
19641 if test -n "$alpine_c_client_ldflags" ; then
19642   C_CLIENT_LDFLAGS=EXTRALDFLAGS=\"$alpine_c_client_ldflags\"
19646 if test -n "$alpine_c_client_gccoptlevel" ; then
19647   C_CLIENT_GCCOPTLEVEL=GCCOPTLEVEL=\"$alpine_c_client_gccoptlevel\"
19651 C_CLIENT_SPECIALS=$c_client_specials
19654 if test -z "$WEB_BUILD" ; then
19655   WEB_PUBCOOKIE_BUILD=
19656   { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
19657 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
19658   { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
19659 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
19660 else
19661   if test -n "$WEB_PUBCOOKIE_BUILD" ; then
19662     if test "x$alpine_GSSTYPE" = "xnone" ; then
19663       WEB_PUBCOOKIE_BUILD=
19664       { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
19665 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
19666       { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
19667 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
19668     elif test -z "$WEB_BINDIR" ; then
19669       WEB_PUBCOOKIE_BUILD=
19670       { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
19671 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
19672         as_fn_error $? "* * * --with-pubcookie requires --with-web-bin=PATH.
19673         Please re-run configure with these options:
19674         --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
19675     else
19676       
19677 $as_echo "@%:@define PUBCOOKIE 1" >>confdefs.h
19679       WEB_PUBCOOKIE_LIB=../pubcookie/libauthgssproxy.a
19680       WEB_PUBCOOKIE_LINK=gssapi_proxy.l
19681     fi
19682   fi
19696 ac_config_files="$ac_config_files m4/Makefile po/Makefile.in $REGEX_MAKEFILE pith/osdep/Makefile pith/charconv/Makefile pith/Makefile pico/osdep/Makefile pico/Makefile alpine/osdep/Makefile alpine/Makefile web/src/Makefile web/src/pubcookie/Makefile web/src/alpined.d/Makefile Makefile"
19698 cat >confcache <<\_ACEOF
19699 # This file is a shell script that caches the results of configure
19700 # tests run on this system so they can be shared between configure
19701 # scripts and configure runs, see configure's option --config-cache.
19702 # It is not useful on other systems.  If it contains results you don't
19703 # want to keep, you may remove or edit it.
19705 # config.status only pays attention to the cache file if you give it
19706 # the --recheck option to rerun configure.
19708 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19709 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19710 # following values.
19712 _ACEOF
19714 # The following way of writing the cache mishandles newlines in values,
19715 # but we know of no workaround that is simple, portable, and efficient.
19716 # So, we kill variables containing newlines.
19717 # Ultrix sh set writes to stderr and can't be redirected directly,
19718 # and sets the high bit in the cache file unless we assign to the vars.
19720   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19721     eval ac_val=\$$ac_var
19722     case $ac_val in #(
19723     *${as_nl}*)
19724       case $ac_var in #(
19725       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19726 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19727       esac
19728       case $ac_var in #(
19729       _ | IFS | as_nl) ;; #(
19730       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19731       *) { eval $ac_var=; unset $ac_var;} ;;
19732       esac ;;
19733     esac
19734   done
19736   (set) 2>&1 |
19737     case $as_nl`(ac_space=' '; set) 2>&1` in #(
19738     *${as_nl}ac_space=\ *)
19739       # `set' does not quote correctly, so add quotes: double-quote
19740       # substitution turns \\\\ into \\, and sed turns \\ into \.
19741       sed -n \
19742         "s/'/'\\\\''/g;
19743           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19744       ;; #(
19745     *)
19746       # `set' quotes correctly as required by POSIX, so do not add quotes.
19747       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19748       ;;
19749     esac |
19750     sort
19751 ) |
19752   sed '
19753      /^ac_cv_env_/b end
19754      t clear
19755      :clear
19756      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19757      t end
19758      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19759      :end' >>confcache
19760 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19761   if test -w "$cache_file"; then
19762     if test "x$cache_file" != "x/dev/null"; then
19763       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19764 $as_echo "$as_me: updating cache $cache_file" >&6;}
19765       if test ! -f "$cache_file" || test -h "$cache_file"; then
19766         cat confcache >"$cache_file"
19767       else
19768         case $cache_file in #(
19769         */* | ?:*)
19770           mv -f confcache "$cache_file"$$ &&
19771           mv -f "$cache_file"$$ "$cache_file" ;; #(
19772         *)
19773           mv -f confcache "$cache_file" ;;
19774         esac
19775       fi
19776     fi
19777   else
19778     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19779 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19780   fi
19782 rm -f confcache
19784 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19785 # Let make expand exec_prefix.
19786 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19788 DEFS=-DHAVE_CONFIG_H
19790 ac_libobjs=
19791 ac_ltlibobjs=
19793 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
19794   # 1. Remove the extension, and $U if already installed.
19795   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19796   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19797   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19798   #    will be set to the directory where LIBOBJS objects are built.
19799   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19800   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19801 done
19802 LIB@&t@OBJS=$ac_libobjs
19804 LTLIBOBJS=$ac_ltlibobjs
19807  if test -n "$EXEEXT"; then
19808   am__EXEEXT_TRUE=
19809   am__EXEEXT_FALSE='#'
19810 else
19811   am__EXEEXT_TRUE='#'
19812   am__EXEEXT_FALSE=
19815 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19816   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19819 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19820   as_fn_error $? "conditional \"AMDEP\" was never defined.
19821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19823 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19824   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19828 : "${CONFIG_STATUS=./config.status}"
19829 ac_write_fail=0
19830 ac_clean_files_save=$ac_clean_files
19831 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19833 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19834 as_write_fail=0
19835 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19836 #! $SHELL
19837 # Generated by $as_me.
19838 # Run this file to recreate the current configuration.
19839 # Compiler output produced by configure, useful for debugging
19840 # configure, is in config.log if it exists.
19842 debug=false
19843 ac_cs_recheck=false
19844 ac_cs_silent=false
19846 SHELL=\${CONFIG_SHELL-$SHELL}
19847 export SHELL
19848 _ASEOF
19849 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19850 ## -------------------- ##
19851 ## M4sh Initialization. ##
19852 ## -------------------- ##
19854 # Be more Bourne compatible
19855 DUALCASE=1; export DUALCASE # for MKS sh
19856 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19857   emulate sh
19858   NULLCMD=:
19859   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19860   # is contrary to our usage.  Disable this feature.
19861   alias -g '${1+"$@"}'='"$@"'
19862   setopt NO_GLOB_SUBST
19863 else
19864   case `(set -o) 2>/dev/null` in @%:@(
19865   *posix*) :
19866     set -o posix ;; @%:@(
19867   *) :
19868      ;;
19869 esac
19873 as_nl='
19875 export as_nl
19876 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19877 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19879 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19880 # Prefer a ksh shell builtin over an external printf program on Solaris,
19881 # but without wasting forks for bash or zsh.
19882 if test -z "$BASH_VERSION$ZSH_VERSION" \
19883     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19884   as_echo='print -r --'
19885   as_echo_n='print -rn --'
19886 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19887   as_echo='printf %s\n'
19888   as_echo_n='printf %s'
19889 else
19890   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19891     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19892     as_echo_n='/usr/ucb/echo -n'
19893   else
19894     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19895     as_echo_n_body='eval
19896       arg=$1;
19897       case $arg in @%:@(
19898       *"$as_nl"*)
19899         expr "X$arg" : "X\\(.*\\)$as_nl";
19900         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19901       esac;
19902       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19903     '
19904     export as_echo_n_body
19905     as_echo_n='sh -c $as_echo_n_body as_echo'
19906   fi
19907   export as_echo_body
19908   as_echo='sh -c $as_echo_body as_echo'
19911 # The user is always right.
19912 if test "${PATH_SEPARATOR+set}" != set; then
19913   PATH_SEPARATOR=:
19914   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19915     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19916       PATH_SEPARATOR=';'
19917   }
19921 # IFS
19922 # We need space, tab and new line, in precisely that order.  Quoting is
19923 # there to prevent editors from complaining about space-tab.
19924 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19925 # splitting by setting IFS to empty value.)
19926 IFS=" ""        $as_nl"
19928 # Find who we are.  Look in the path if we contain no directory separator.
19929 as_myself=
19930 case $0 in @%:@((
19931   *[\\/]* ) as_myself=$0 ;;
19932   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19933 for as_dir in $PATH
19935   IFS=$as_save_IFS
19936   test -z "$as_dir" && as_dir=.
19937     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19938   done
19939 IFS=$as_save_IFS
19941      ;;
19942 esac
19943 # We did not find ourselves, most probably we were run as `sh COMMAND'
19944 # in which case we are not to be found in the path.
19945 if test "x$as_myself" = x; then
19946   as_myself=$0
19948 if test ! -f "$as_myself"; then
19949   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19950   exit 1
19953 # Unset variables that we do not need and which cause bugs (e.g. in
19954 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19955 # suppresses any "Segmentation fault" message there.  '((' could
19956 # trigger a bug in pdksh 5.2.14.
19957 for as_var in BASH_ENV ENV MAIL MAILPATH
19958 do eval test x\${$as_var+set} = xset \
19959   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19960 done
19961 PS1='$ '
19962 PS2='> '
19963 PS4='+ '
19965 # NLS nuisances.
19966 LC_ALL=C
19967 export LC_ALL
19968 LANGUAGE=C
19969 export LANGUAGE
19971 # CDPATH.
19972 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19975 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
19976 @%:@ ----------------------------------------
19977 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19978 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19979 @%:@ script with STATUS, using 1 if that was 0.
19980 as_fn_error ()
19982   as_status=$1; test $as_status -eq 0 && as_status=1
19983   if test "$4"; then
19984     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19985     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19986   fi
19987   $as_echo "$as_me: error: $2" >&2
19988   as_fn_exit $as_status
19989 } @%:@ as_fn_error
19992 @%:@ as_fn_set_status STATUS
19993 @%:@ -----------------------
19994 @%:@ Set @S|@? to STATUS, without forking.
19995 as_fn_set_status ()
19997   return $1
19998 } @%:@ as_fn_set_status
20000 @%:@ as_fn_exit STATUS
20001 @%:@ -----------------
20002 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20003 as_fn_exit ()
20005   set +e
20006   as_fn_set_status $1
20007   exit $1
20008 } @%:@ as_fn_exit
20010 @%:@ as_fn_unset VAR
20011 @%:@ ---------------
20012 @%:@ Portably unset VAR.
20013 as_fn_unset ()
20015   { eval $1=; unset $1;}
20017 as_unset=as_fn_unset
20018 @%:@ as_fn_append VAR VALUE
20019 @%:@ ----------------------
20020 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
20021 @%:@ advantage of any shell optimizations that allow amortized linear growth over
20022 @%:@ repeated appends, instead of the typical quadratic growth present in naive
20023 @%:@ implementations.
20024 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20025   eval 'as_fn_append ()
20026   {
20027     eval $1+=\$2
20028   }'
20029 else
20030   as_fn_append ()
20031   {
20032     eval $1=\$$1\$2
20033   }
20034 fi # as_fn_append
20036 @%:@ as_fn_arith ARG...
20037 @%:@ ------------------
20038 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
20039 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
20040 @%:@ must be portable across @S|@(()) and expr.
20041 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20042   eval 'as_fn_arith ()
20043   {
20044     as_val=$(( $* ))
20045   }'
20046 else
20047   as_fn_arith ()
20048   {
20049     as_val=`expr "$@" || test $? -eq 1`
20050   }
20051 fi # as_fn_arith
20054 if expr a : '\(a\)' >/dev/null 2>&1 &&
20055    test "X`expr 00001 : '.*\(...\)'`" = X001; then
20056   as_expr=expr
20057 else
20058   as_expr=false
20061 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20062   as_basename=basename
20063 else
20064   as_basename=false
20067 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20068   as_dirname=dirname
20069 else
20070   as_dirname=false
20073 as_me=`$as_basename -- "$0" ||
20074 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20075          X"$0" : 'X\(//\)$' \| \
20076          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20077 $as_echo X/"$0" |
20078     sed '/^.*\/\([^/][^/]*\)\/*$/{
20079             s//\1/
20080             q
20081           }
20082           /^X\/\(\/\/\)$/{
20083             s//\1/
20084             q
20085           }
20086           /^X\/\(\/\).*/{
20087             s//\1/
20088             q
20089           }
20090           s/.*/./; q'`
20092 # Avoid depending upon Character Ranges.
20093 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20094 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20095 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20096 as_cr_digits='0123456789'
20097 as_cr_alnum=$as_cr_Letters$as_cr_digits
20099 ECHO_C= ECHO_N= ECHO_T=
20100 case `echo -n x` in @%:@(((((
20101 -n*)
20102   case `echo 'xy\c'` in
20103   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
20104   xy)  ECHO_C='\c';;
20105   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
20106        ECHO_T=' ';;
20107   esac;;
20109   ECHO_N='-n';;
20110 esac
20112 rm -f conf$$ conf$$.exe conf$$.file
20113 if test -d conf$$.dir; then
20114   rm -f conf$$.dir/conf$$.file
20115 else
20116   rm -f conf$$.dir
20117   mkdir conf$$.dir 2>/dev/null
20119 if (echo >conf$$.file) 2>/dev/null; then
20120   if ln -s conf$$.file conf$$ 2>/dev/null; then
20121     as_ln_s='ln -s'
20122     # ... but there are two gotchas:
20123     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20124     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20125     # In both cases, we have to default to `cp -pR'.
20126     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20127       as_ln_s='cp -pR'
20128   elif ln conf$$.file conf$$ 2>/dev/null; then
20129     as_ln_s=ln
20130   else
20131     as_ln_s='cp -pR'
20132   fi
20133 else
20134   as_ln_s='cp -pR'
20136 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20137 rmdir conf$$.dir 2>/dev/null
20140 @%:@ as_fn_mkdir_p
20141 @%:@ -------------
20142 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
20143 as_fn_mkdir_p ()
20146   case $as_dir in #(
20147   -*) as_dir=./$as_dir;;
20148   esac
20149   test -d "$as_dir" || eval $as_mkdir_p || {
20150     as_dirs=
20151     while :; do
20152       case $as_dir in #(
20153       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20154       *) as_qdir=$as_dir;;
20155       esac
20156       as_dirs="'$as_qdir' $as_dirs"
20157       as_dir=`$as_dirname -- "$as_dir" ||
20158 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20159          X"$as_dir" : 'X\(//\)[^/]' \| \
20160          X"$as_dir" : 'X\(//\)$' \| \
20161          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20162 $as_echo X"$as_dir" |
20163     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20164             s//\1/
20165             q
20166           }
20167           /^X\(\/\/\)[^/].*/{
20168             s//\1/
20169             q
20170           }
20171           /^X\(\/\/\)$/{
20172             s//\1/
20173             q
20174           }
20175           /^X\(\/\).*/{
20176             s//\1/
20177             q
20178           }
20179           s/.*/./; q'`
20180       test -d "$as_dir" && break
20181     done
20182     test -z "$as_dirs" || eval "mkdir $as_dirs"
20183   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20186 } @%:@ as_fn_mkdir_p
20187 if mkdir -p . 2>/dev/null; then
20188   as_mkdir_p='mkdir -p "$as_dir"'
20189 else
20190   test -d ./-p && rmdir ./-p
20191   as_mkdir_p=false
20195 @%:@ as_fn_executable_p FILE
20196 @%:@ -----------------------
20197 @%:@ Test if FILE is an executable regular file.
20198 as_fn_executable_p ()
20200   test -f "$1" && test -x "$1"
20201 } @%:@ as_fn_executable_p
20202 as_test_x='test -x'
20203 as_executable_p=as_fn_executable_p
20205 # Sed expression to map a string onto a valid CPP name.
20206 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20208 # Sed expression to map a string onto a valid variable name.
20209 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20212 exec 6>&1
20213 ## ----------------------------------- ##
20214 ## Main body of $CONFIG_STATUS script. ##
20215 ## ----------------------------------- ##
20216 _ASEOF
20217 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20220 # Save the log message, to keep $0 and so on meaningful, and to
20221 # report actual input values of CONFIG_FILES etc. instead of their
20222 # values after options handling.
20223 ac_log="
20224 This file was extended by alpine $as_me 2.11.8, which was
20225 generated by GNU Autoconf 2.69.  Invocation command line was
20227   CONFIG_FILES    = $CONFIG_FILES
20228   CONFIG_HEADERS  = $CONFIG_HEADERS
20229   CONFIG_LINKS    = $CONFIG_LINKS
20230   CONFIG_COMMANDS = $CONFIG_COMMANDS
20231   $ $0 $@
20233 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20236 _ACEOF
20238 case $ac_config_files in *"
20239 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20240 esac
20242 case $ac_config_headers in *"
20243 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20244 esac
20247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20248 # Files that config.status was made for.
20249 config_files="$ac_config_files"
20250 config_headers="$ac_config_headers"
20251 config_commands="$ac_config_commands"
20253 _ACEOF
20255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20256 ac_cs_usage="\
20257 \`$as_me' instantiates files and other configuration actions
20258 from templates according to the current configuration.  Unless the files
20259 and actions are specified as TAGs, all are instantiated by default.
20261 Usage: $0 [OPTION]... [TAG]...
20263   -h, --help       print this help, then exit
20264   -V, --version    print version number and configuration settings, then exit
20265       --config     print configuration, then exit
20266   -q, --quiet, --silent
20267                    do not print progress messages
20268   -d, --debug      don't remove temporary files
20269       --recheck    update $as_me by reconfiguring in the same conditions
20270       --file=FILE[:TEMPLATE] 
20271                    instantiate the configuration file FILE
20272       --header=FILE[:TEMPLATE] 
20273                    instantiate the configuration header FILE
20275 Configuration files:
20276 $config_files
20278 Configuration headers:
20279 $config_headers
20281 Configuration commands:
20282 $config_commands
20284 Report bugs to <chappa@washington.edu>."
20286 _ACEOF
20287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20288 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20289 ac_cs_version="\\
20290 alpine config.status 2.11.8
20291 configured by $0, generated by GNU Autoconf 2.69,
20292   with options \\"\$ac_cs_config\\"
20294 Copyright (C) 2012 Free Software Foundation, Inc.
20295 This config.status script is free software; the Free Software Foundation
20296 gives unlimited permission to copy, distribute and modify it."
20298 ac_pwd='$ac_pwd'
20299 srcdir='$srcdir'
20300 INSTALL='$INSTALL'
20301 MKDIR_P='$MKDIR_P'
20302 AWK='$AWK'
20303 test -n "\$AWK" || AWK=awk
20304 _ACEOF
20306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20307 # The default lists apply if the user does not specify any file.
20308 ac_need_defaults=:
20309 while test $# != 0
20311   case $1 in
20312   --*=?*)
20313     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20314     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20315     ac_shift=:
20316     ;;
20317   --*=)
20318     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20319     ac_optarg=
20320     ac_shift=:
20321     ;;
20322   *)
20323     ac_option=$1
20324     ac_optarg=$2
20325     ac_shift=shift
20326     ;;
20327   esac
20329   case $ac_option in
20330   # Handling of the options.
20331   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20332     ac_cs_recheck=: ;;
20333   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20334     $as_echo "$ac_cs_version"; exit ;;
20335   --config | --confi | --conf | --con | --co | --c )
20336     $as_echo "$ac_cs_config"; exit ;;
20337   --debug | --debu | --deb | --de | --d | -d )
20338     debug=: ;;
20339   --file | --fil | --fi | --f )
20340     $ac_shift
20341     case $ac_optarg in
20342     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20343     '') as_fn_error $? "missing file argument" ;;
20344     esac
20345     as_fn_append CONFIG_FILES " '$ac_optarg'"
20346     ac_need_defaults=false;;
20347   --header | --heade | --head | --hea )
20348     $ac_shift
20349     case $ac_optarg in
20350     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20351     esac
20352     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20353     ac_need_defaults=false;;
20354   --he | --h)
20355     # Conflict between --help and --header
20356     as_fn_error $? "ambiguous option: \`$1'
20357 Try \`$0 --help' for more information.";;
20358   --help | --hel | -h )
20359     $as_echo "$ac_cs_usage"; exit ;;
20360   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20361   | -silent | --silent | --silen | --sile | --sil | --si | --s)
20362     ac_cs_silent=: ;;
20364   # This is an error.
20365   -*) as_fn_error $? "unrecognized option: \`$1'
20366 Try \`$0 --help' for more information." ;;
20368   *) as_fn_append ac_config_targets " $1"
20369      ac_need_defaults=false ;;
20371   esac
20372   shift
20373 done
20375 ac_configure_extra_args=
20377 if $ac_cs_silent; then
20378   exec 6>/dev/null
20379   ac_configure_extra_args="$ac_configure_extra_args --silent"
20382 _ACEOF
20383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20384 if \$ac_cs_recheck; then
20385   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20386   shift
20387   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20388   CONFIG_SHELL='$SHELL'
20389   export CONFIG_SHELL
20390   exec "\$@"
20393 _ACEOF
20394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20395 exec 5>>config.log
20397   echo
20398   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
20399 @%:@@%:@ Running $as_me. @%:@@%:@
20400 _ASBOX
20401   $as_echo "$ac_log"
20402 } >&5
20404 _ACEOF
20405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20407 # INIT-COMMANDS
20409 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20412 # The HP-UX ksh and POSIX shell print the target directory to stdout
20413 # if CDPATH is set.
20414 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20416 sed_quote_subst='$sed_quote_subst'
20417 double_quote_subst='$double_quote_subst'
20418 delay_variable_subst='$delay_variable_subst'
20419 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20420 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20421 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20422 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20423 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20424 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20425 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20426 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20427 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20428 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20429 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20430 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20431 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20432 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20433 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20434 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20435 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20436 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20437 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20438 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20439 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20440 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20441 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20442 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20443 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20444 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20445 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20446 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20447 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20448 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20449 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20450 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20451 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20452 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20453 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20454 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20455 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20456 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20457 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20458 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20459 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20460 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20461 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20462 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20463 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
20464 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20465 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20466 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20467 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20468 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20469 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20470 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20471 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20472 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20473 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20474 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20475 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20476 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20477 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20478 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20479 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20480 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20481 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20482 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20483 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20484 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20485 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20486 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20487 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20488 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20489 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20490 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20491 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20492 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20493 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20494 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20495 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20496 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20497 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20498 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20499 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20500 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20501 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20502 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20503 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20504 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20505 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20506 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20507 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20508 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20509 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20510 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20511 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20512 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20513 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20514 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20515 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20516 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20517 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20518 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20519 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20520 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20521 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20522 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20523 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20524 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20525 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20526 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20527 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20528 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20529 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20530 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20531 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20532 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20533 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20534 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20535 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20536 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20538 LTCC='$LTCC'
20539 LTCFLAGS='$LTCFLAGS'
20540 compiler='$compiler_DEFAULT'
20542 # Quote evaled strings.
20543 for var in SED \
20544 GREP \
20545 EGREP \
20546 FGREP \
20547 LD \
20548 NM \
20549 LN_S \
20550 lt_SP2NL \
20551 lt_NL2SP \
20552 reload_flag \
20553 OBJDUMP \
20554 deplibs_check_method \
20555 file_magic_cmd \
20556 AR \
20557 AR_FLAGS \
20558 STRIP \
20559 RANLIB \
20560 CC \
20561 CFLAGS \
20562 compiler \
20563 lt_cv_sys_global_symbol_pipe \
20564 lt_cv_sys_global_symbol_to_cdecl \
20565 lt_cv_sys_global_symbol_to_c_name_address \
20566 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20567 SHELL \
20568 ECHO \
20569 lt_prog_compiler_no_builtin_flag \
20570 lt_prog_compiler_wl \
20571 lt_prog_compiler_pic \
20572 lt_prog_compiler_static \
20573 lt_cv_prog_compiler_c_o \
20574 need_locks \
20575 DSYMUTIL \
20576 NMEDIT \
20577 LIPO \
20578 OTOOL \
20579 OTOOL64 \
20580 shrext_cmds \
20581 export_dynamic_flag_spec \
20582 whole_archive_flag_spec \
20583 compiler_needs_object \
20584 with_gnu_ld \
20585 allow_undefined_flag \
20586 no_undefined_flag \
20587 hardcode_libdir_flag_spec \
20588 hardcode_libdir_flag_spec_ld \
20589 hardcode_libdir_separator \
20590 fix_srcfile_path \
20591 exclude_expsyms \
20592 include_expsyms \
20593 file_list_spec \
20594 variables_saved_for_relink \
20595 libname_spec \
20596 library_names_spec \
20597 soname_spec \
20598 finish_eval \
20599 old_striplib \
20600 striplib; do
20601     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20602     *[\\\\\\\`\\"\\\$]*)
20603       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20604       ;;
20605     *)
20606       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20607       ;;
20608     esac
20609 done
20611 # Double-quote double-evaled strings.
20612 for var in reload_cmds \
20613 old_postinstall_cmds \
20614 old_postuninstall_cmds \
20615 old_archive_cmds \
20616 extract_expsyms_cmds \
20617 old_archive_from_new_cmds \
20618 old_archive_from_expsyms_cmds \
20619 archive_cmds \
20620 archive_expsym_cmds \
20621 module_cmds \
20622 module_expsym_cmds \
20623 export_symbols_cmds \
20624 prelink_cmds \
20625 postinstall_cmds \
20626 postuninstall_cmds \
20627 finish_cmds \
20628 sys_lib_search_path_spec \
20629 sys_lib_dlsearch_path_spec; do
20630     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20631     *[\\\\\\\`\\"\\\$]*)
20632       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20633       ;;
20634     *)
20635       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20636       ;;
20637     esac
20638 done
20640 # Fix-up fallback echo if it was mangled by the above quoting rules.
20641 case \$lt_ECHO in
20642 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20643   ;;
20644 esac
20646 ac_aux_dir='$ac_aux_dir'
20647 xsi_shell='$xsi_shell'
20648 lt_shell_append='$lt_shell_append'
20650 # See if we are running on zsh, and set the options which allow our
20651 # commands through without removal of \ escapes INIT.
20652 if test -n "\${ZSH_VERSION+set}" ; then
20653    setopt NO_GLOB_SUBST
20657     PACKAGE='$PACKAGE'
20658     VERSION='$VERSION'
20659     TIMESTAMP='$TIMESTAMP'
20660     RM='$RM'
20661     ofile='$ofile'
20665 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20666     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
20667     # from automake < 1.5.
20668     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20669     # Capture the value of LINGUAS because we need it to compute CATALOGS.
20670     LINGUAS="${LINGUAS-%UNSET%}"
20671    
20673 _ACEOF
20675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20677 # Handling of arguments.
20678 for ac_config_target in $ac_config_targets
20680   case $ac_config_target in
20681     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20682     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20683     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20684     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
20685     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
20686     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
20687     "$REGEX_MAKEFILE") CONFIG_FILES="$CONFIG_FILES $REGEX_MAKEFILE" ;;
20688     "pith/osdep/Makefile") CONFIG_FILES="$CONFIG_FILES pith/osdep/Makefile" ;;
20689     "pith/charconv/Makefile") CONFIG_FILES="$CONFIG_FILES pith/charconv/Makefile" ;;
20690     "pith/Makefile") CONFIG_FILES="$CONFIG_FILES pith/Makefile" ;;
20691     "pico/osdep/Makefile") CONFIG_FILES="$CONFIG_FILES pico/osdep/Makefile" ;;
20692     "pico/Makefile") CONFIG_FILES="$CONFIG_FILES pico/Makefile" ;;
20693     "alpine/osdep/Makefile") CONFIG_FILES="$CONFIG_FILES alpine/osdep/Makefile" ;;
20694     "alpine/Makefile") CONFIG_FILES="$CONFIG_FILES alpine/Makefile" ;;
20695     "web/src/Makefile") CONFIG_FILES="$CONFIG_FILES web/src/Makefile" ;;
20696     "web/src/pubcookie/Makefile") CONFIG_FILES="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
20697     "web/src/alpined.d/Makefile") CONFIG_FILES="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
20698     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20700   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20701   esac
20702 done
20705 # If the user did not use the arguments to specify the items to instantiate,
20706 # then the envvar interface is used.  Set only those that are not.
20707 # We use the long form for the default assignment because of an extremely
20708 # bizarre bug on SunOS 4.1.3.
20709 if $ac_need_defaults; then
20710   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20711   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20712   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20715 # Have a temporary directory for convenience.  Make it in the build tree
20716 # simply because there is no reason against having it here, and in addition,
20717 # creating and moving files from /tmp can sometimes cause problems.
20718 # Hook for its removal unless debugging.
20719 # Note that there is a small window in which the directory will not be cleaned:
20720 # after its creation but before its name has been assigned to `$tmp'.
20721 $debug ||
20723   tmp= ac_tmp=
20724   trap 'exit_status=$?
20725   : "${ac_tmp:=$tmp}"
20726   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20727 ' 0
20728   trap 'as_fn_exit 1' 1 2 13 15
20730 # Create a (secure) tmp directory for tmp files.
20733   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20734   test -d "$tmp"
20735 }  ||
20737   tmp=./conf$$-$RANDOM
20738   (umask 077 && mkdir "$tmp")
20739 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20740 ac_tmp=$tmp
20742 # Set up the scripts for CONFIG_FILES section.
20743 # No need to generate them if there are no CONFIG_FILES.
20744 # This happens for instance with `./config.status config.h'.
20745 if test -n "$CONFIG_FILES"; then
20748 ac_cr=`echo X | tr X '\015'`
20749 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20750 # But we know of no other shell where ac_cr would be empty at this
20751 # point, so we can use a bashism as a fallback.
20752 if test "x$ac_cr" = x; then
20753   eval ac_cr=\$\'\\r\'
20755 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20756 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20757   ac_cs_awk_cr='\\r'
20758 else
20759   ac_cs_awk_cr=$ac_cr
20762 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20763 _ACEOF
20767   echo "cat >conf$$subs.awk <<_ACEOF" &&
20768   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20769   echo "_ACEOF"
20770 } >conf$$subs.sh ||
20771   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20772 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20773 ac_delim='%!_!# '
20774 for ac_last_try in false false false false false :; do
20775   . ./conf$$subs.sh ||
20776     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20778   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20779   if test $ac_delim_n = $ac_delim_num; then
20780     break
20781   elif $ac_last_try; then
20782     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20783   else
20784     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20785   fi
20786 done
20787 rm -f conf$$subs.sh
20789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20790 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20791 _ACEOF
20792 sed -n '
20794 s/^/S["/; s/!.*/"]=/
20797 s/^[^!]*!//
20798 :repl
20799 t repl
20800 s/'"$ac_delim"'$//
20801 t delim
20804 s/\(.\{148\}\)..*/\1/
20805 t more1
20806 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20809 b repl
20810 :more1
20811 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20814 s/.\{148\}//
20815 t nl
20816 :delim
20818 s/\(.\{148\}\)..*/\1/
20819 t more2
20820 s/["\\]/\\&/g; s/^/"/; s/$/"/
20823 :more2
20824 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20827 s/.\{148\}//
20828 t delim
20829 ' <conf$$subs.awk | sed '
20830 /^[^""]/{
20831   N
20832   s/\n//
20834 ' >>$CONFIG_STATUS || ac_write_fail=1
20835 rm -f conf$$subs.awk
20836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20837 _ACAWK
20838 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20839   for (key in S) S_is_set[key] = 1
20840   FS = "\a"
20844   line = $ 0
20845   nfields = split(line, field, "@")
20846   substed = 0
20847   len = length(field[1])
20848   for (i = 2; i < nfields; i++) {
20849     key = field[i]
20850     keylen = length(key)
20851     if (S_is_set[key]) {
20852       value = S[key]
20853       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20854       len += length(value) + length(field[++i])
20855       substed = 1
20856     } else
20857       len += 1 + keylen
20858   }
20860   print line
20863 _ACAWK
20864 _ACEOF
20865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20866 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20867   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20868 else
20869   cat
20870 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20871   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20872 _ACEOF
20874 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20875 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20876 # trailing colons and then remove the whole line if VPATH becomes empty
20877 # (actually we leave an empty line to preserve line numbers).
20878 if test "x$srcdir" = x.; then
20879   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
20881 s///
20882 s/^/:/
20883 s/[      ]*$/:/
20884 s/:\$(srcdir):/:/g
20885 s/:\${srcdir}:/:/g
20886 s/:@srcdir@:/:/g
20887 s/^:*//
20888 s/:*$//
20890 s/\(=[   ]*\).*/\1/
20892 s/\n//
20893 s/^[^=]*=[       ]*$//
20897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20898 fi # test -n "$CONFIG_FILES"
20900 # Set up the scripts for CONFIG_HEADERS section.
20901 # No need to generate them if there are no CONFIG_HEADERS.
20902 # This happens for instance with `./config.status Makefile'.
20903 if test -n "$CONFIG_HEADERS"; then
20904 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20905 BEGIN {
20906 _ACEOF
20908 # Transform confdefs.h into an awk script `defines.awk', embedded as
20909 # here-document in config.status, that substitutes the proper values into
20910 # config.h.in to produce config.h.
20912 # Create a delimiter string that does not exist in confdefs.h, to ease
20913 # handling of long lines.
20914 ac_delim='%!_!# '
20915 for ac_last_try in false false :; do
20916   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20917   if test -z "$ac_tt"; then
20918     break
20919   elif $ac_last_try; then
20920     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20921   else
20922     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20923   fi
20924 done
20926 # For the awk script, D is an array of macro values keyed by name,
20927 # likewise P contains macro parameters if any.  Preserve backslash
20928 # newline sequences.
20930 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20931 sed -n '
20932 s/.\{148\}/&'"$ac_delim"'/g
20933 t rset
20934 :rset
20935 s/^[     ]*#[    ]*define[       ][      ]*/ /
20936 t def
20938 :def
20939 s/\\$//
20940 t bsnl
20941 s/["\\]/\\&/g
20942 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20943 D["\1"]=" \3"/p
20944 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
20946 :bsnl
20947 s/["\\]/\\&/g
20948 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20949 D["\1"]=" \3\\\\\\n"\\/p
20950 t cont
20951 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20952 t cont
20954 :cont
20956 s/.\{148\}/&'"$ac_delim"'/g
20957 t clear
20958 :clear
20959 s/\\$//
20960 t bsnlc
20961 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20963 :bsnlc
20964 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20965 b cont
20966 ' <confdefs.h | sed '
20967 s/'"$ac_delim"'/"\\\
20968 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20971   for (key in D) D_is_set[key] = 1
20972   FS = "\a"
20974 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20975   line = \$ 0
20976   split(line, arg, " ")
20977   if (arg[1] == "#") {
20978     defundef = arg[2]
20979     mac1 = arg[3]
20980   } else {
20981     defundef = substr(arg[1], 2)
20982     mac1 = arg[2]
20983   }
20984   split(mac1, mac2, "(") #)
20985   macro = mac2[1]
20986   prefix = substr(line, 1, index(line, defundef) - 1)
20987   if (D_is_set[macro]) {
20988     # Preserve the white space surrounding the "#".
20989     print prefix "define", macro P[macro] D[macro]
20990     next
20991   } else {
20992     # Replace #undef with comments.  This is necessary, for example,
20993     # in the case of _POSIX_SOURCE, which is predefined and required
20994     # on some systems where configure will not decide to define it.
20995     if (defundef == "undef") {
20996       print "/*", prefix defundef, macro, "*/"
20997       next
20998     }
20999   }
21001 { print }
21002 _ACAWK
21003 _ACEOF
21004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21005   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21006 fi # test -n "$CONFIG_HEADERS"
21009 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
21010 shift
21011 for ac_tag
21013   case $ac_tag in
21014   :[FHLC]) ac_mode=$ac_tag; continue;;
21015   esac
21016   case $ac_mode$ac_tag in
21017   :[FHL]*:*);;
21018   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21019   :[FH]-) ac_tag=-:-;;
21020   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21021   esac
21022   ac_save_IFS=$IFS
21023   IFS=:
21024   set x $ac_tag
21025   IFS=$ac_save_IFS
21026   shift
21027   ac_file=$1
21028   shift
21030   case $ac_mode in
21031   :L) ac_source=$1;;
21032   :[FH])
21033     ac_file_inputs=
21034     for ac_f
21035     do
21036       case $ac_f in
21037       -) ac_f="$ac_tmp/stdin";;
21038       *) # Look for the file first in the build tree, then in the source tree
21039          # (if the path is not absolute).  The absolute path cannot be DOS-style,
21040          # because $ac_f cannot contain `:'.
21041          test -f "$ac_f" ||
21042            case $ac_f in
21043            [\\/$]*) false;;
21044            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21045            esac ||
21046            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21047       esac
21048       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21049       as_fn_append ac_file_inputs " '$ac_f'"
21050     done
21052     # Let's still pretend it is `configure' which instantiates (i.e., don't
21053     # use $as_me), people would be surprised to read:
21054     #    /* config.h.  Generated by config.status.  */
21055     configure_input='Generated from '`
21056           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21057         `' by configure.'
21058     if test x"$ac_file" != x-; then
21059       configure_input="$ac_file.  $configure_input"
21060       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21061 $as_echo "$as_me: creating $ac_file" >&6;}
21062     fi
21063     # Neutralize special characters interpreted by sed in replacement strings.
21064     case $configure_input in #(
21065     *\&* | *\|* | *\\* )
21066        ac_sed_conf_input=`$as_echo "$configure_input" |
21067        sed 's/[\\\\&|]/\\\\&/g'`;; #(
21068     *) ac_sed_conf_input=$configure_input;;
21069     esac
21071     case $ac_tag in
21072     *:-:* | *:-) cat >"$ac_tmp/stdin" \
21073       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21074     esac
21075     ;;
21076   esac
21078   ac_dir=`$as_dirname -- "$ac_file" ||
21079 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21080          X"$ac_file" : 'X\(//\)[^/]' \| \
21081          X"$ac_file" : 'X\(//\)$' \| \
21082          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21083 $as_echo X"$ac_file" |
21084     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21085             s//\1/
21086             q
21087           }
21088           /^X\(\/\/\)[^/].*/{
21089             s//\1/
21090             q
21091           }
21092           /^X\(\/\/\)$/{
21093             s//\1/
21094             q
21095           }
21096           /^X\(\/\).*/{
21097             s//\1/
21098             q
21099           }
21100           s/.*/./; q'`
21101   as_dir="$ac_dir"; as_fn_mkdir_p
21102   ac_builddir=.
21104 case "$ac_dir" in
21105 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21107   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21108   # A ".." for each directory in $ac_dir_suffix.
21109   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21110   case $ac_top_builddir_sub in
21111   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21112   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21113   esac ;;
21114 esac
21115 ac_abs_top_builddir=$ac_pwd
21116 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21117 # for backward compatibility:
21118 ac_top_builddir=$ac_top_build_prefix
21120 case $srcdir in
21121   .)  # We are building in place.
21122     ac_srcdir=.
21123     ac_top_srcdir=$ac_top_builddir_sub
21124     ac_abs_top_srcdir=$ac_pwd ;;
21125   [\\/]* | ?:[\\/]* )  # Absolute name.
21126     ac_srcdir=$srcdir$ac_dir_suffix;
21127     ac_top_srcdir=$srcdir
21128     ac_abs_top_srcdir=$srcdir ;;
21129   *) # Relative name.
21130     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21131     ac_top_srcdir=$ac_top_build_prefix$srcdir
21132     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21133 esac
21134 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21137   case $ac_mode in
21138   :F)
21139   #
21140   # CONFIG_FILE
21141   #
21143   case $INSTALL in
21144   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21145   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21146   esac
21147   ac_MKDIR_P=$MKDIR_P
21148   case $MKDIR_P in
21149   [\\/$]* | ?:[\\/]* ) ;;
21150   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21151   esac
21152 _ACEOF
21154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21155 # If the template does not know about datarootdir, expand it.
21156 # FIXME: This hack should be removed a few years after 2.60.
21157 ac_datarootdir_hack=; ac_datarootdir_seen=
21158 ac_sed_dataroot='
21159 /datarootdir/ {
21160   p
21161   q
21163 /@datadir@/p
21164 /@docdir@/p
21165 /@infodir@/p
21166 /@localedir@/p
21167 /@mandir@/p'
21168 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21169 *datarootdir*) ac_datarootdir_seen=yes;;
21170 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21171   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21172 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21173 _ACEOF
21174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21175   ac_datarootdir_hack='
21176   s&@datadir@&$datadir&g
21177   s&@docdir@&$docdir&g
21178   s&@infodir@&$infodir&g
21179   s&@localedir@&$localedir&g
21180   s&@mandir@&$mandir&g
21181   s&\\\${datarootdir}&$datarootdir&g' ;;
21182 esac
21183 _ACEOF
21185 # Neutralize VPATH when `$srcdir' = `.'.
21186 # Shell code in configure.ac might set extrasub.
21187 # FIXME: do we really want to maintain this feature?
21188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21189 ac_sed_extra="$ac_vpsub
21190 $extrasub
21191 _ACEOF
21192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21194 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21195 s|@configure_input@|$ac_sed_conf_input|;t t
21196 s&@top_builddir@&$ac_top_builddir_sub&;t t
21197 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21198 s&@srcdir@&$ac_srcdir&;t t
21199 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21200 s&@top_srcdir@&$ac_top_srcdir&;t t
21201 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21202 s&@builddir@&$ac_builddir&;t t
21203 s&@abs_builddir@&$ac_abs_builddir&;t t
21204 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21205 s&@INSTALL@&$ac_INSTALL&;t t
21206 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21207 $ac_datarootdir_hack
21209 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21210   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21212 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21213   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21214   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
21215       "$ac_tmp/out"`; test -z "$ac_out"; } &&
21216   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21217 which seems to be undefined.  Please make sure it is defined" >&5
21218 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21219 which seems to be undefined.  Please make sure it is defined" >&2;}
21221   rm -f "$ac_tmp/stdin"
21222   case $ac_file in
21223   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21224   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21225   esac \
21226   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21227  ;;
21228   :H)
21229   #
21230   # CONFIG_HEADER
21231   #
21232   if test x"$ac_file" != x-; then
21233     {
21234       $as_echo "/* $configure_input  */" \
21235       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21236     } >"$ac_tmp/config.h" \
21237       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21238     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21239       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21240 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21241     else
21242       rm -f "$ac_file"
21243       mv "$ac_tmp/config.h" "$ac_file" \
21244         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21245     fi
21246   else
21247     $as_echo "/* $configure_input  */" \
21248       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21249       || as_fn_error $? "could not create -" "$LINENO" 5
21250   fi
21251 # Compute "$ac_file"'s index in $config_headers.
21252 _am_arg="$ac_file"
21253 _am_stamp_count=1
21254 for _am_header in $config_headers :; do
21255   case $_am_header in
21256     $_am_arg | $_am_arg:* )
21257       break ;;
21258     * )
21259       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21260   esac
21261 done
21262 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21263 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21264          X"$_am_arg" : 'X\(//\)[^/]' \| \
21265          X"$_am_arg" : 'X\(//\)$' \| \
21266          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21267 $as_echo X"$_am_arg" |
21268     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21269             s//\1/
21270             q
21271           }
21272           /^X\(\/\/\)[^/].*/{
21273             s//\1/
21274             q
21275           }
21276           /^X\(\/\/\)$/{
21277             s//\1/
21278             q
21279           }
21280           /^X\(\/\).*/{
21281             s//\1/
21282             q
21283           }
21284           s/.*/./; q'`/stamp-h$_am_stamp_count
21285  ;;
21286   
21287   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21288 $as_echo "$as_me: executing $ac_file commands" >&6;}
21289  ;;
21290   esac
21293   case $ac_file$ac_mode in
21294     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21295   # Autoconf 2.62 quotes --file arguments for eval, but not when files
21296   # are listed without --file.  Let's play safe and only enable the eval
21297   # if we detect the quoting.
21298   case $CONFIG_FILES in
21299   *\'*) eval set x "$CONFIG_FILES" ;;
21300   *)   set x $CONFIG_FILES ;;
21301   esac
21302   shift
21303   for mf
21304   do
21305     # Strip MF so we end up with the name of the file.
21306     mf=`echo "$mf" | sed -e 's/:.*$//'`
21307     # Check whether this is an Automake generated Makefile or not.
21308     # We used to match only the files named `Makefile.in', but
21309     # some people rename them; so instead we look at the file content.
21310     # Grep'ing the first line is not enough: some people post-process
21311     # each Makefile.in and add a new line on top of each file to say so.
21312     # Grep'ing the whole file is not good either: AIX grep has a line
21313     # limit of 2048, but all sed's we know have understand at least 4000.
21314     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21315       dirpart=`$as_dirname -- "$mf" ||
21316 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21317          X"$mf" : 'X\(//\)[^/]' \| \
21318          X"$mf" : 'X\(//\)$' \| \
21319          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21320 $as_echo X"$mf" |
21321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21322             s//\1/
21323             q
21324           }
21325           /^X\(\/\/\)[^/].*/{
21326             s//\1/
21327             q
21328           }
21329           /^X\(\/\/\)$/{
21330             s//\1/
21331             q
21332           }
21333           /^X\(\/\).*/{
21334             s//\1/
21335             q
21336           }
21337           s/.*/./; q'`
21338     else
21339       continue
21340     fi
21341     # Extract the definition of DEPDIR, am__include, and am__quote
21342     # from the Makefile without running `make'.
21343     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21344     test -z "$DEPDIR" && continue
21345     am__include=`sed -n 's/^am__include = //p' < "$mf"`
21346     test -z "am__include" && continue
21347     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21348     # When using ansi2knr, U may be empty or an underscore; expand it
21349     U=`sed -n 's/^U = //p' < "$mf"`
21350     # Find all dependency output files, they are included files with
21351     # $(DEPDIR) in their names.  We invoke sed twice because it is the
21352     # simplest approach to changing $(DEPDIR) to its actual value in the
21353     # expansion.
21354     for file in `sed -n "
21355       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21356          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21357       # Make sure the directory exists.
21358       test -f "$dirpart/$file" && continue
21359       fdir=`$as_dirname -- "$file" ||
21360 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21361          X"$file" : 'X\(//\)[^/]' \| \
21362          X"$file" : 'X\(//\)$' \| \
21363          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21364 $as_echo X"$file" |
21365     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21366             s//\1/
21367             q
21368           }
21369           /^X\(\/\/\)[^/].*/{
21370             s//\1/
21371             q
21372           }
21373           /^X\(\/\/\)$/{
21374             s//\1/
21375             q
21376           }
21377           /^X\(\/\).*/{
21378             s//\1/
21379             q
21380           }
21381           s/.*/./; q'`
21382       as_dir=$dirpart/$fdir; as_fn_mkdir_p
21383       # echo "creating $dirpart/$file"
21384       echo '# dummy' > "$dirpart/$file"
21385     done
21386   done
21388  ;;
21389     "libtool":C) 
21390     
21391     # See if we are running on zsh, and set the options which allow our
21392     # commands through without removal of \ escapes.
21393     if test -n "${ZSH_VERSION+set}" ; then
21394       setopt NO_GLOB_SUBST
21395     fi
21397     cfgfile="${ofile}T"
21398     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21399     $RM "$cfgfile"
21401     cat <<_LT_EOF >> "$cfgfile"
21402 #! $SHELL
21404 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21405 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21406 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21408 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21409 #                 2006, 2007, 2008 Free Software Foundation, Inc.
21410 #   Written by Gordon Matzigkeit, 1996
21412 #   This file is part of GNU Libtool.
21414 # GNU Libtool is free software; you can redistribute it and/or
21415 # modify it under the terms of the GNU General Public License as
21416 # published by the Free Software Foundation; either version 2 of
21417 # the License, or (at your option) any later version.
21419 # As a special exception to the GNU General Public License,
21420 # if you distribute this file as part of a program or library that
21421 # is built using GNU Libtool, you may include this file under the
21422 # same distribution terms that you use for the rest of that program.
21424 # GNU Libtool is distributed in the hope that it will be useful,
21425 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21426 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21427 # GNU General Public License for more details.
21429 # You should have received a copy of the GNU General Public License
21430 # along with GNU Libtool; see the file COPYING.  If not, a copy
21431 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21432 # obtained by writing to the Free Software Foundation, Inc.,
21433 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21436 # The names of the tagged configurations supported by this script.
21437 available_tags=""
21439 # ### BEGIN LIBTOOL CONFIG
21441 # Which release of libtool.m4 was used?
21442 macro_version=$macro_version
21443 macro_revision=$macro_revision
21445 # Whether or not to build shared libraries.
21446 build_libtool_libs=$enable_shared
21448 # Whether or not to build static libraries.
21449 build_old_libs=$enable_static
21451 # What type of objects to build.
21452 pic_mode=$pic_mode
21454 # Whether or not to optimize for fast installation.
21455 fast_install=$enable_fast_install
21457 # The host system.
21458 host_alias=$host_alias
21459 host=$host
21460 host_os=$host_os
21462 # The build system.
21463 build_alias=$build_alias
21464 build=$build
21465 build_os=$build_os
21467 # A sed program that does not truncate output.
21468 SED=$lt_SED
21470 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21471 Xsed="\$SED -e 1s/^X//"
21473 # A grep program that handles long lines.
21474 GREP=$lt_GREP
21476 # An ERE matcher.
21477 EGREP=$lt_EGREP
21479 # A literal string matcher.
21480 FGREP=$lt_FGREP
21482 # A BSD- or MS-compatible name lister.
21483 NM=$lt_NM
21485 # Whether we need soft or hard links.
21486 LN_S=$lt_LN_S
21488 # What is the maximum length of a command?
21489 max_cmd_len=$max_cmd_len
21491 # Object file suffix (normally "o").
21492 objext=$ac_objext
21494 # Executable file suffix (normally "").
21495 exeext=$exeext
21497 # whether the shell understands "unset".
21498 lt_unset=$lt_unset
21500 # turn spaces into newlines.
21501 SP2NL=$lt_lt_SP2NL
21503 # turn newlines into spaces.
21504 NL2SP=$lt_lt_NL2SP
21506 # How to create reloadable object files.
21507 reload_flag=$lt_reload_flag
21508 reload_cmds=$lt_reload_cmds
21510 # An object symbol dumper.
21511 OBJDUMP=$lt_OBJDUMP
21513 # Method to check whether dependent libraries are shared objects.
21514 deplibs_check_method=$lt_deplibs_check_method
21516 # Command to use when deplibs_check_method == "file_magic".
21517 file_magic_cmd=$lt_file_magic_cmd
21519 # The archiver.
21520 AR=$lt_AR
21521 AR_FLAGS=$lt_AR_FLAGS
21523 # A symbol stripping program.
21524 STRIP=$lt_STRIP
21526 # Commands used to install an old-style archive.
21527 RANLIB=$lt_RANLIB
21528 old_postinstall_cmds=$lt_old_postinstall_cmds
21529 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21531 # A C compiler.
21532 LTCC=$lt_CC
21534 # LTCC compiler flags.
21535 LTCFLAGS=$lt_CFLAGS
21537 # Take the output of nm and produce a listing of raw symbols and C names.
21538 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21540 # Transform the output of nm in a proper C declaration.
21541 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21543 # Transform the output of nm in a C name address pair.
21544 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21546 # Transform the output of nm in a C name address pair when lib prefix is needed.
21547 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21549 # The name of the directory that contains temporary libtool files.
21550 objdir=$objdir
21552 # Shell to use when invoking shell scripts.
21553 SHELL=$lt_SHELL
21555 # An echo program that does not interpret backslashes.
21556 ECHO=$lt_ECHO
21558 # Used to examine libraries when file_magic_cmd begins with "file".
21559 MAGIC_CMD=$MAGIC_CMD
21561 # Must we lock files when doing compilation?
21562 need_locks=$lt_need_locks
21564 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21565 DSYMUTIL=$lt_DSYMUTIL
21567 # Tool to change global to local symbols on Mac OS X.
21568 NMEDIT=$lt_NMEDIT
21570 # Tool to manipulate fat objects and archives on Mac OS X.
21571 LIPO=$lt_LIPO
21573 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21574 OTOOL=$lt_OTOOL
21576 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21577 OTOOL64=$lt_OTOOL64
21579 # Old archive suffix (normally "a").
21580 libext=$libext
21582 # Shared library suffix (normally ".so").
21583 shrext_cmds=$lt_shrext_cmds
21585 # The commands to extract the exported symbol list from a shared archive.
21586 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21588 # Variables whose values should be saved in libtool wrapper scripts and
21589 # restored at link time.
21590 variables_saved_for_relink=$lt_variables_saved_for_relink
21592 # Do we need the "lib" prefix for modules?
21593 need_lib_prefix=$need_lib_prefix
21595 # Do we need a version for libraries?
21596 need_version=$need_version
21598 # Library versioning type.
21599 version_type=$version_type
21601 # Shared library runtime path variable.
21602 runpath_var=$runpath_var
21604 # Shared library path variable.
21605 shlibpath_var=$shlibpath_var
21607 # Is shlibpath searched before the hard-coded library search path?
21608 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21610 # Format of library name prefix.
21611 libname_spec=$lt_libname_spec
21613 # List of archive names.  First name is the real one, the rest are links.
21614 # The last name is the one that the linker finds with -lNAME
21615 library_names_spec=$lt_library_names_spec
21617 # The coded name of the library, if different from the real name.
21618 soname_spec=$lt_soname_spec
21620 # Command to use after installation of a shared archive.
21621 postinstall_cmds=$lt_postinstall_cmds
21623 # Command to use after uninstallation of a shared archive.
21624 postuninstall_cmds=$lt_postuninstall_cmds
21626 # Commands used to finish a libtool library installation in a directory.
21627 finish_cmds=$lt_finish_cmds
21629 # As "finish_cmds", except a single script fragment to be evaled but
21630 # not shown.
21631 finish_eval=$lt_finish_eval
21633 # Whether we should hardcode library paths into libraries.
21634 hardcode_into_libs=$hardcode_into_libs
21636 # Compile-time system search path for libraries.
21637 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21639 # Run-time system search path for libraries.
21640 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21642 # Whether dlopen is supported.
21643 dlopen_support=$enable_dlopen
21645 # Whether dlopen of programs is supported.
21646 dlopen_self=$enable_dlopen_self
21648 # Whether dlopen of statically linked programs is supported.
21649 dlopen_self_static=$enable_dlopen_self_static
21651 # Commands to strip libraries.
21652 old_striplib=$lt_old_striplib
21653 striplib=$lt_striplib
21656 # The linker used to build libraries.
21657 LD=$lt_LD
21659 # Commands used to build an old-style archive.
21660 old_archive_cmds=$lt_old_archive_cmds
21662 # A language specific compiler.
21663 CC=$lt_compiler
21665 # Is the compiler the GNU compiler?
21666 with_gcc=$GCC
21668 # Compiler flag to turn off builtin functions.
21669 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21671 # How to pass a linker flag through the compiler.
21672 wl=$lt_lt_prog_compiler_wl
21674 # Additional compiler flags for building library objects.
21675 pic_flag=$lt_lt_prog_compiler_pic
21677 # Compiler flag to prevent dynamic linking.
21678 link_static_flag=$lt_lt_prog_compiler_static
21680 # Does compiler simultaneously support -c and -o options?
21681 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21683 # Whether or not to add -lc for building shared libraries.
21684 build_libtool_need_lc=$archive_cmds_need_lc
21686 # Whether or not to disallow shared libs when runtime libs are static.
21687 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21689 # Compiler flag to allow reflexive dlopens.
21690 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21692 # Compiler flag to generate shared objects directly from archives.
21693 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21695 # Whether the compiler copes with passing no objects directly.
21696 compiler_needs_object=$lt_compiler_needs_object
21698 # Create an old-style archive from a shared archive.
21699 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21701 # Create a temporary old-style archive to link instead of a shared archive.
21702 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21704 # Commands used to build a shared archive.
21705 archive_cmds=$lt_archive_cmds
21706 archive_expsym_cmds=$lt_archive_expsym_cmds
21708 # Commands used to build a loadable module if different from building
21709 # a shared archive.
21710 module_cmds=$lt_module_cmds
21711 module_expsym_cmds=$lt_module_expsym_cmds
21713 # Whether we are building with GNU ld or not.
21714 with_gnu_ld=$lt_with_gnu_ld
21716 # Flag that allows shared libraries with undefined symbols to be built.
21717 allow_undefined_flag=$lt_allow_undefined_flag
21719 # Flag that enforces no undefined symbols.
21720 no_undefined_flag=$lt_no_undefined_flag
21722 # Flag to hardcode \$libdir into a binary during linking.
21723 # This must work even if \$libdir does not exist
21724 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21726 # If ld is used when linking, flag to hardcode \$libdir into a binary
21727 # during linking.  This must work even if \$libdir does not exist.
21728 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21730 # Whether we need a single "-rpath" flag with a separated argument.
21731 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21733 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21734 # DIR into the resulting binary.
21735 hardcode_direct=$hardcode_direct
21737 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21738 # DIR into the resulting binary and the resulting library dependency is
21739 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21740 # library is relocated.
21741 hardcode_direct_absolute=$hardcode_direct_absolute
21743 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21744 # into the resulting binary.
21745 hardcode_minus_L=$hardcode_minus_L
21747 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21748 # into the resulting binary.
21749 hardcode_shlibpath_var=$hardcode_shlibpath_var
21751 # Set to "yes" if building a shared library automatically hardcodes DIR
21752 # into the library and all subsequent libraries and executables linked
21753 # against it.
21754 hardcode_automatic=$hardcode_automatic
21756 # Set to yes if linker adds runtime paths of dependent libraries
21757 # to runtime path list.
21758 inherit_rpath=$inherit_rpath
21760 # Whether libtool must link a program against all its dependency libraries.
21761 link_all_deplibs=$link_all_deplibs
21763 # Fix the shell variable \$srcfile for the compiler.
21764 fix_srcfile_path=$lt_fix_srcfile_path
21766 # Set to "yes" if exported symbols are required.
21767 always_export_symbols=$always_export_symbols
21769 # The commands to list exported symbols.
21770 export_symbols_cmds=$lt_export_symbols_cmds
21772 # Symbols that should not be listed in the preloaded symbols.
21773 exclude_expsyms=$lt_exclude_expsyms
21775 # Symbols that must always be exported.
21776 include_expsyms=$lt_include_expsyms
21778 # Commands necessary for linking programs (against libraries) with templates.
21779 prelink_cmds=$lt_prelink_cmds
21781 # Specify filename containing input files.
21782 file_list_spec=$lt_file_list_spec
21784 # How to hardcode a shared library path into an executable.
21785 hardcode_action=$hardcode_action
21787 # ### END LIBTOOL CONFIG
21789 _LT_EOF
21791   case $host_os in
21792   aix3*)
21793     cat <<\_LT_EOF >> "$cfgfile"
21794 # AIX sometimes has problems with the GCC collect2 program.  For some
21795 # reason, if we set the COLLECT_NAMES environment variable, the problems
21796 # vanish in a puff of smoke.
21797 if test "X${COLLECT_NAMES+set}" != Xset; then
21798   COLLECT_NAMES=
21799   export COLLECT_NAMES
21801 _LT_EOF
21802     ;;
21803   esac
21805   
21806 ltmain="$ac_aux_dir/ltmain.sh"
21809   # We use sed instead of cat because bash on DJGPP gets confused if
21810   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21811   # text mode, it properly converts lines to CR/LF.  This bash problem
21812   # is reportedly fixed, but why not run on old versions too?
21813   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21814     || (rm -f "$cfgfile"; exit 1)
21816   case $xsi_shell in
21817   yes)
21818     cat << \_LT_EOF >> "$cfgfile"
21820 # func_dirname file append nondir_replacement
21821 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
21822 # otherwise set result to NONDIR_REPLACEMENT.
21823 func_dirname ()
21825   case ${1} in
21826     */*) func_dirname_result="${1%/*}${2}" ;;
21827     *  ) func_dirname_result="${3}" ;;
21828   esac
21831 # func_basename file
21832 func_basename ()
21834   func_basename_result="${1##*/}"
21837 # func_dirname_and_basename file append nondir_replacement
21838 # perform func_basename and func_dirname in a single function
21839 # call:
21840 #   dirname:  Compute the dirname of FILE.  If nonempty,
21841 #             add APPEND to the result, otherwise set result
21842 #             to NONDIR_REPLACEMENT.
21843 #             value returned in "$func_dirname_result"
21844 #   basename: Compute filename of FILE.
21845 #             value retuned in "$func_basename_result"
21846 # Implementation must be kept synchronized with func_dirname
21847 # and func_basename. For efficiency, we do not delegate to
21848 # those functions but instead duplicate the functionality here.
21849 func_dirname_and_basename ()
21851   case ${1} in
21852     */*) func_dirname_result="${1%/*}${2}" ;;
21853     *  ) func_dirname_result="${3}" ;;
21854   esac
21855   func_basename_result="${1##*/}"
21858 # func_stripname prefix suffix name
21859 # strip PREFIX and SUFFIX off of NAME.
21860 # PREFIX and SUFFIX must not contain globbing or regex special
21861 # characters, hashes, percent signs, but SUFFIX may contain a leading
21862 # dot (in which case that matches only a dot).
21863 func_stripname ()
21865   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21866   # positional parameters, so assign one to ordinary parameter first.
21867   func_stripname_result=${3}
21868   func_stripname_result=${func_stripname_result#"${1}"}
21869   func_stripname_result=${func_stripname_result%"${2}"}
21872 # func_opt_split
21873 func_opt_split ()
21875   func_opt_split_opt=${1%%=*}
21876   func_opt_split_arg=${1#*=}
21879 # func_lo2o object
21880 func_lo2o ()
21882   case ${1} in
21883     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
21884     *)    func_lo2o_result=${1} ;;
21885   esac
21888 # func_xform libobj-or-source
21889 func_xform ()
21891   func_xform_result=${1%.*}.lo
21894 # func_arith arithmetic-term...
21895 func_arith ()
21897   func_arith_result=$(( $* ))
21900 # func_len string
21901 # STRING may not start with a hyphen.
21902 func_len ()
21904   func_len_result=${#1}
21907 _LT_EOF
21908     ;;
21909   *) # Bourne compatible functions.
21910     cat << \_LT_EOF >> "$cfgfile"
21912 # func_dirname file append nondir_replacement
21913 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
21914 # otherwise set result to NONDIR_REPLACEMENT.
21915 func_dirname ()
21917   # Extract subdirectory from the argument.
21918   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21919   if test "X$func_dirname_result" = "X${1}"; then
21920     func_dirname_result="${3}"
21921   else
21922     func_dirname_result="$func_dirname_result${2}"
21923   fi
21926 # func_basename file
21927 func_basename ()
21929   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
21933 # func_stripname prefix suffix name
21934 # strip PREFIX and SUFFIX off of NAME.
21935 # PREFIX and SUFFIX must not contain globbing or regex special
21936 # characters, hashes, percent signs, but SUFFIX may contain a leading
21937 # dot (in which case that matches only a dot).
21938 # func_strip_suffix prefix name
21939 func_stripname ()
21941   case ${2} in
21942     .*) func_stripname_result=`$ECHO "X${3}" \
21943            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21944     *)  func_stripname_result=`$ECHO "X${3}" \
21945            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21946   esac
21949 # sed scripts:
21950 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
21951 my_sed_long_arg='1s/^-[^=]*=//'
21953 # func_opt_split
21954 func_opt_split ()
21956   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21957   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21960 # func_lo2o object
21961 func_lo2o ()
21963   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21966 # func_xform libobj-or-source
21967 func_xform ()
21969   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21972 # func_arith arithmetic-term...
21973 func_arith ()
21975   func_arith_result=`expr "$@"`
21978 # func_len string
21979 # STRING may not start with a hyphen.
21980 func_len ()
21982   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21985 _LT_EOF
21986 esac
21988 case $lt_shell_append in
21989   yes)
21990     cat << \_LT_EOF >> "$cfgfile"
21992 # func_append var value
21993 # Append VALUE to the end of shell variable VAR.
21994 func_append ()
21996   eval "$1+=\$2"
21998 _LT_EOF
21999     ;;
22000   *)
22001     cat << \_LT_EOF >> "$cfgfile"
22003 # func_append var value
22004 # Append VALUE to the end of shell variable VAR.
22005 func_append ()
22007   eval "$1=\$$1\$2"
22010 _LT_EOF
22011     ;;
22012   esac
22015   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22016     || (rm -f "$cfgfile"; exit 1)
22018   mv -f "$cfgfile" "$ofile" ||
22019     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22020   chmod +x "$ofile"
22022  ;;
22023     "po-directories":C) 
22024     for ac_file in $CONFIG_FILES; do
22025       # Support "outfile[:infile[:infile...]]"
22026       case "$ac_file" in
22027         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22028       esac
22029       # PO directories have a Makefile.in generated from Makefile.in.in.
22030       case "$ac_file" in */Makefile.in)
22031         # Adjust a relative srcdir.
22032         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22033         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
22034         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22035         # In autoconf-2.13 it is called $ac_given_srcdir.
22036         # In autoconf-2.50 it is called $srcdir.
22037         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
22038         case "$ac_given_srcdir" in
22039           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
22040           /*) top_srcdir="$ac_given_srcdir" ;;
22041           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
22042         esac
22043         # Treat a directory as a PO directory if and only if it has a
22044         # POTFILES.in file. This allows packages to have multiple PO
22045         # directories under different names or in different locations.
22046         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22047           rm -f "$ac_dir/POTFILES"
22048           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
22049           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22050           POMAKEFILEDEPS="POTFILES.in"
22051           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
22052           # on $ac_dir but don't depend on user-specified configuration
22053           # parameters.
22054           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22055             # The LINGUAS file contains the set of available languages.
22056             if test -n "$OBSOLETE_ALL_LINGUAS"; then
22057               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
22058             fi
22059             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22060             # Hide the ALL_LINGUAS assigment from automake < 1.5.
22061             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22062             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
22063           else
22064             # The set of available languages was given in configure.in.
22065             # Hide the ALL_LINGUAS assigment from automake < 1.5.
22066             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22067           fi
22068           # Compute POFILES
22069           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
22070           # Compute UPDATEPOFILES
22071           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
22072           # Compute DUMMYPOFILES
22073           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
22074           # Compute GMOFILES
22075           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
22076           case "$ac_given_srcdir" in
22077             .) srcdirpre= ;;
22078             *) srcdirpre='$(srcdir)/' ;;
22079           esac
22080           POFILES=
22081           UPDATEPOFILES=
22082           DUMMYPOFILES=
22083           GMOFILES=
22084           for lang in $ALL_LINGUAS; do
22085             POFILES="$POFILES $srcdirpre$lang.po"
22086             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
22087             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
22088             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
22089           done
22090           # CATALOGS depends on both $ac_dir and the user's LINGUAS
22091           # environment variable.
22092           INST_LINGUAS=
22093           if test -n "$ALL_LINGUAS"; then
22094             for presentlang in $ALL_LINGUAS; do
22095               useit=no
22096               if test "%UNSET%" != "$LINGUAS"; then
22097                 desiredlanguages="$LINGUAS"
22098               else
22099                 desiredlanguages="$ALL_LINGUAS"
22100               fi
22101               for desiredlang in $desiredlanguages; do
22102                 # Use the presentlang catalog if desiredlang is
22103                 #   a. equal to presentlang, or
22104                 #   b. a variant of presentlang (because in this case,
22105                 #      presentlang can be used as a fallback for messages
22106                 #      which are not translated in the desiredlang catalog).
22107                 case "$desiredlang" in
22108                   "$presentlang"*) useit=yes;;
22109                 esac
22110               done
22111               if test $useit = yes; then
22112                 INST_LINGUAS="$INST_LINGUAS $presentlang"
22113               fi
22114             done
22115           fi
22116           CATALOGS=
22117           if test -n "$INST_LINGUAS"; then
22118             for lang in $INST_LINGUAS; do
22119               CATALOGS="$CATALOGS $lang.gmo"
22120             done
22121           fi
22122           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
22123           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
22124           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
22125             if test -f "$f"; then
22126               case "$f" in
22127                 *.orig | *.bak | *~) ;;
22128                 *) cat "$f" >> "$ac_dir/Makefile" ;;
22129               esac
22130             fi
22131           done
22132         fi
22133         ;;
22134       esac
22135     done ;;
22137   esac
22138 done # for ac_tag
22141 as_fn_exit 0
22142 _ACEOF
22143 ac_clean_files=$ac_clean_files_save
22145 test $ac_write_fail = 0 ||
22146   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22149 # configure is writing to config.log, and then calls config.status.
22150 # config.status does its own redirection, appending to config.log.
22151 # Unfortunately, on DOS this fails, as config.log is still kept open
22152 # by configure, so config.status won't be able to write to it; its
22153 # output is simply discarded.  So we exec the FD to /dev/null,
22154 # effectively closing config.log, so it can be properly (re)opened and
22155 # appended to by config.status.  When coming back to configure, we
22156 # need to make the FD available again.
22157 if test "$no_create" != yes; then
22158   ac_cs_success=:
22159   ac_config_status_args=
22160   test "$silent" = yes &&
22161     ac_config_status_args="$ac_config_status_args --quiet"
22162   exec 5>/dev/null
22163   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22164   exec 5>>config.log
22165   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22166   # would make configure fail if this is the last instruction.
22167   $ac_cs_success || as_fn_exit 1
22169 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22170   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22171 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}